/* ==========================================================================
   Huda Academy — today's prayer times, the home-page band under "By the numbers"
   Approved as lab/prayer-01.html (client, 2026-10-09). Behaviour and the full
   account of where the times come from: assets/js/prayer-times.js.

   Light paper ground between the taupe stat band and the Experience mosaic.
   One small red element, the next prayer, is the only colour. Its own file
   (linked from index.html only) because no other page carries the band.
   ========================================================================== */
.pt{background:var(--paper);padding:clamp(2.4rem,6vh,3.8rem) 0}
/* Two columns that line up with the stat band's two figures above: that band
   is a 2-column grid beside the accreditation seal, so the same seal-sized
   space is reserved on the right (site.css .stats__row gap + .stats__accred
   padding + its image width) and the table takes the stat's own inset. */
.pt__in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 0;align-items:center;
  padding-right:calc(2 * clamp(1.2rem,3vw,2.5rem) + clamp(82px,7.5vw,116px))}
.pt__head .kicker{margin:0 0 .75rem}
.pt__place{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;
  font-size:clamp(1.4rem,1.8vw,1.65rem);line-height:1.2;color:var(--ink)}
/* breaks only between the phrases, never inside "Islamic Center" */
.pt__place a span{white-space:nowrap}
.pt__place a{color:inherit;text-decoration:underline;text-decoration-color:rgba(168,50,38,.45);
  text-decoration-thickness:1px;text-underline-offset:4px}
.pt__place a:hover{text-decoration-color:var(--terracotta)}
.pt__next{margin:.6rem 0 0;font-size:.92rem;color:var(--ink-soft)}
.pt__next strong{color:var(--terracotta);font-weight:600}

.pt__table{width:calc(100% - clamp(1rem,3vw,2.5rem));max-width:560px;justify-self:start;
  margin-left:clamp(1rem,3vw,2.5rem);border-collapse:separate;border-spacing:0;
  font-variant-numeric:tabular-nums;background:rgba(255,255,255,.55);
  border:1px solid rgba(52,35,26,.12);border-radius:14px;overflow:hidden}
.pt__table th,.pt__table td{padding:.62rem 1.3rem;text-align:left;white-space:nowrap;
  border-top:1px solid rgba(52,35,26,.07)}
.pt__table thead th{padding:.85rem 1.3rem .7rem;border-top:0;border-bottom:1px solid rgba(52,35,26,.14);
  font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
.pt__table thead th.pt__iqcol{color:var(--terracotta)}
.pt__table tbody tr:first-child>*{border-top:0}
.pt__table tbody th{font-weight:600;font-size:.98rem;color:var(--ink)}
/* adhan quiet, iqamah bold: iqamah is the time people come for */
.pt__table td[data-pt-time]{font-size:1rem;color:var(--ink-soft)}
.pt__table td[data-pt-iq]{font-size:1.08rem;font-weight:700;color:var(--ink)}
.pt__sun>*{padding-block:.42rem;font-size:.84rem!important;font-weight:500!important;color:var(--ink-soft)!important}
/* the next prayer: a two-stop red, never a flat fill. Vertical, so the
   gradient is the same in every cell and the row reads as one band. */
.pt__table tr.is-next>*{background:linear-gradient(180deg,var(--terracotta),var(--terracotta-deep));
  color:var(--cream);border-top-color:transparent}
.pt__table tr.is-next+tr>*{border-top-color:transparent}
.pt__table tr.is-next td[data-pt-time]{color:rgba(244,238,228,.85)}
/* no iqamah for the day (feed down): the column goes, not five blank cells */
.pt:not(.has-iq) .pt__iqcol{display:none}

@media (max-width:980px){
  .pt__in{grid-template-columns:1fr;gap:1.2rem;padding-right:0}
  .pt__table{width:100%;max-width:none;margin-left:0;justify-self:stretch}
}
@media (max-width:620px){
  .pt__table th,.pt__table td{padding:.58rem .9rem}
  .pt__table thead th{padding:.75rem .9rem .6rem;font-size:.75rem}
}
