/* Nusantara Ramadan pages: the imsakiyah table as the printed Ramadan timetable mosques hand out.
   Batik band on top, navy header with gold labels, ruled cells, Imsak and Maghrib (iftar) columns stressed, today and Fridays marked. */
.nu-imsak-batik{margin:34px 0 0}
.nu-imsak h2{margin-top:8px!important}
body .nu-imsak .rm-table-wrap{border:3px double var(--line);border-radius:6px;background:var(--bg);max-width:100%;overflow-x:auto}
body .nu-imsak .rm-table-wrap table{border:0;border-radius:0;font-variant-numeric:tabular-nums}
body .nu-imsak .rm-table-wrap th{background:var(--nu-sea);color:#F6D365;font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;padding:10px;border-bottom:0}
body .nu-imsak .rm-table-wrap :is(th,td){border-inline-end:1px solid var(--line)}
body .nu-imsak .rm-table-wrap :is(th,td):last-child{border-inline-end:0}
body .nu-imsak .rm-table-wrap td{padding:8px 10px;border-bottom:1px solid var(--line);font-family:var(--font);font-weight:600}
body .nu-imsak .rm-table-wrap td:first-child{font-weight:700}
/* columns that matter at dawn and dusk: /ramadan (date, hijri, imsak, fajr, sunrise, maghrib, isha, fast) and the city table (day, date, hijri, imsak, fajr, iftar, isha) */
body .nu-imsak .rm-table:not(.rmc-table) :is(th,td):is(:nth-child(3),:nth-child(6)),
body .nu-imsak .rmc-table :is(th,td):is(:nth-child(4),:nth-child(6)){background-color:color-mix(in srgb,var(--nu-gold) 9%,var(--bg))}
body .nu-imsak .rm-table:not(.rmc-table) th:is(:nth-child(3),:nth-child(6)),
body .nu-imsak .rmc-table th:is(:nth-child(4),:nth-child(6)){background:#1A2E55;color:#FFE08A}
body .nu-imsak .rm-table:not(.rmc-table) td:is(:nth-child(3),:nth-child(6)),
body .nu-imsak .rmc-table td:is(:nth-child(4),:nth-child(6)){font-weight:800;color:var(--text)}
body .nu-imsak .rm-table tr.is-fri td{background-color:color-mix(in srgb,var(--nu-jade) 13%,var(--bg))}
body .nu-imsak .rm-table tr.is-fri td:first-child{box-shadow:inset 4px 0 0 var(--nu-jade)}
body .nu-imsak .rm-table tr:is(.is-today,[aria-current]) td{background-color:color-mix(in srgb,var(--nu-gold) 30%,var(--bg));color:var(--text);font-weight:800}
body .nu-imsak .rm-table tr:is(.is-today,[aria-current]) td:first-child{box-shadow:inset 4px 0 0 var(--nu-gold)}
@media (max-width:480px){body .nu-imsak .rm-table-wrap td{padding:7px 8px}body .nu-imsak .rm-table{font-size:14px}}
@media print{
  .nu-imsak-batik{display:none!important}
  body .nu-imsak .rm-table-wrap th{background:#fff!important;color:#000!important;border-bottom:2px solid #000}
}

/* general Ramadan page: the countdown and today cards as a mosque board (gold frame, gold digits, batik band) */
body .sa-rm .sa-rm-hero{background:linear-gradient(#0A1630,#0E1B33)!important;border:1px solid rgba(232,185,49,.45);position:relative}
body .sa-rm .sa-rm-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:14px;opacity:.7;background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2714%27 viewBox=%270 0 24 14%27%3E%3Cg fill=%27none%27 stroke=%27%23B8862F%27 stroke-width=%271%27%3E%3Cellipse cx=%2712%27 cy=%273%27 rx=%272.4%27 ry=%273%27/%3E%3Cellipse cx=%2712%27 cy=%2711%27 rx=%272.4%27 ry=%273%27/%3E%3Cellipse cx=%276%27 cy=%277%27 rx=%273%27 ry=%272.4%27/%3E%3Cellipse cx=%2718%27 cy=%277%27 rx=%273%27 ry=%272.4%27/%3E%3C/g%3E%3C/svg%3E") repeat-x}
body .sa-rm .sa-rm-count b,body .sa-rm .sa-rm-today .rm-si-time{color:#F6D365!important;font-variant-numeric:tabular-nums}
body .sa-rm .sa-rm-today .rm-si-box{border-color:rgba(232,185,49,.35)!important;border-top-color:#E8B931!important;background:rgba(232,185,49,.06)!important}
body .sa-rm .sa-rm-hero{padding-bottom:14px}
