/* صفحة مواقيت المدينة: يظهر التاريخ الميلادي ومقابله الهجري معًا لكل يوم،
   بعد إزالة مفتاح اختيار التقويم. لا يؤثر على بقية جداول الموقع. */
html body .month-table.pt-mtable[data-pt-dual-dates] .day-num { display: none !important; }
html body .month-table.pt-mtable[data-pt-dual-dates] .pt-calendar-date {
  display: block !important;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
html body .month-table.pt-mtable[data-pt-dual-dates] [data-calendar-date="gregorian"] { color: #6e44a2; }
html body .month-table.pt-mtable[data-pt-dual-dates] [data-calendar-date="hijri"] { color: #08734f; }
html body .month-table.pt-mtable[data-pt-dual-dates] .mh-year { display: inline !important; }
html body .month-table.pt-mtable[data-pt-dual-dates] thead th:first-child {
  width: 30% !important;
  white-space: normal;
  line-height: 1.45;
  overflow-wrap: normal;
  word-break: normal;
}
@media screen and (max-width: 760px) {
  html body .month-table.pt-mtable[data-pt-dual-dates] .pt-calendar-date { font-size: 11px; line-height: 1.45; }
  html body .month-table.pt-mtable[data-pt-dual-dates] .day-name { margin-top: 2px; }
  html body .month-table.pt-mtable[data-pt-dual-dates] thead th:first-child { width: 30%; }
}
@media screen and (max-width: 360px) {
  html body .month-table.pt-mtable[data-pt-dual-dates] .pt-calendar-date { font-size: 10.5px; line-height: 1.4; }
  html body .month-table.pt-mtable[data-pt-dual-dates] thead th:first-child { width: 31%; }
}
@media print {
  html body .month-table.pt-mtable[data-pt-dual-dates] .day-num { display: none !important; }
  html body.pt-month-view .month-table.pt-mtable[data-pt-dual-dates] .day-name {
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    font-size: 6.3pt !important;
    line-height: 1.08 !important;
  }
  html body .month-table.pt-mtable[data-pt-dual-dates] .pt-calendar-date {
    font-size: 5.8pt !important;
    line-height: 1.08 !important;
    margin: 0 !important;
  }
  html body .month-table.pt-mtable[data-pt-dual-dates] tbody th,
  html body .month-table.pt-mtable[data-pt-dual-dates] tbody td { padding: 1px 3px !important; }
}

@media print {
 html[lang] body .month-table.pt-mtable[data-pt-dual-dates] .pt-calendar-date {font-size:5.8pt!important;line-height:1!important;margin:0!important}
 html[lang] body .month-table.pt-mtable[data-pt-dual-dates] .day-name {display:block!important;font-size:6.3pt!important;line-height:1!important;margin:0!important}
 html[lang] body .month-table.pt-mtable[data-pt-dual-dates] tbody th,
 html[lang] body .month-table.pt-mtable[data-pt-dual-dates] tbody td {padding:0 3px!important}
}

/* Keep legacy monthly date cells in normal document flow, including narrow screens. */
@media screen {
 html body.pt-month-view .month-table.pt-mtable[data-pt-dual-dates] { min-width: 540px !important; table-layout: fixed !important; }
 html body.pt-month-view .month-table.pt-mtable[data-pt-dual-dates] thead th:first-child { width: 28% !important; }
 html body.pt-month-view .month-table.pt-mtable[data-pt-dual-dates] tbody th[scope="row"] { height: auto !important; vertical-align: middle !important; padding: 10px 8px !important; }
 html body.pt-month-view .month-table.pt-mtable[data-pt-dual-dates] tbody th[scope="row"] > :is(.day-name,.pt-calendar-date,.d-date) {
   display: block !important; position: static !important; float: none !important;
   inset: auto !important; transform: none !important; width: auto !important; height: auto !important;
   min-height: 0 !important; max-height: none !important; margin: 0 !important; padding: 0 !important;
   line-height: 1.6 !important; white-space: normal !important; overflow: visible !important;
   overflow-wrap: normal !important; word-break: normal !important; letter-spacing: normal !important;
   visibility: visible !important; font-size: 12px !important;
 }
 html body.pt-month-view .month-table.pt-mtable[data-pt-dual-dates] tbody th[scope="row"] > .day-name { font-weight: 700 !important; margin-bottom: 4px !important; }
 html body.pt-month-view .month-table.pt-mtable[data-pt-dual-dates] tbody th[scope="row"] > [data-calendar-date="hijri"] { margin-top: 3px !important; }
 html body.pt-month-view .table-scroll { max-width: 100% !important; overflow-x: auto !important; }
}
