/* ==========================================================================
   THE FOOTER IN TWO SECTIONS (user, 2026-11-22, lab/footer-01.html, option A):
   "the footer is just ginormous ... condense it to two".
     1. a compact info column (the shield with the name, the note, contact, the
        two link lists, socials, Staff sign-in) beside the inquiry form;
     2. one slim strip: today's prayer times as a plain row of six, the verse or
        hadith of the day beside it (sized for the longest of the 100, 164
        letters), then the copyright line.
   Markup: SHELL:FOOTER of index.html (<footer class="footer ft2">). Every rule
   is .footer.ft2-scoped, one class stronger than the seasonal themes' own
   `.footer .pt__table {...!important}` rules, so the compact strip holds in all
   four. The older looks it lays out again: daily.css (.footer .today),
   prayer.css, inquiry.css.
   ========================================================================== */
.footer.ft2{padding:clamp(2.6rem,6vh,3.6rem) 0 1.4rem}

/* ---- section 1: info | form ---- */
.ft2__top{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr);gap:clamp(2rem,5vw,4.5rem);align-items:start}

.ft2__brand{display:flex;align-items:center;gap:.8rem;text-decoration:none;color:#FBF7F1}
.ft2__brand img{width:54px;height:auto;flex:none}
.ft2__brand span{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:1.6rem;line-height:1.05}
.ft2__note{margin:.9rem 0 0;max-width:26rem;font-size:.86rem;line-height:1.55;color:rgba(244,238,228,.68)}
.ft2__contact{margin:1.3rem 0 0;font-style:normal;font-size:.9rem;line-height:1.65;color:rgba(244,238,228,.85)}
.ft2__contact a{color:rgba(244,238,228,.9);text-decoration:none}
.ft2__contact a:hover{color:#FFFFFF;text-decoration:underline;text-underline-offset:3px}
.ft2__dir{color:var(--gold)!important}
.ft2__links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem;margin:1.4rem 0 0;padding:1.3rem 0 0;border-top:1px solid rgba(244,238,228,.12)}
.footer.ft2 .ft2__links h3{margin:0 0 .55rem;font-size:.7rem}
.footer.ft2 .ft2__links li{margin-bottom:.32rem}
.footer.ft2 .ft2__links li a{font-size:.86rem}
.ft2__row{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.2rem;margin:1.3rem 0 0}
.ft2__row .footer__social{margin:0 0 0 -.5rem}
.footer.ft2 .soc svg[fill="none"]{fill:none}
.ft2__row .footer__staff{margin:0;min-height:40px;padding:.55rem 1.05rem;font-size:.84rem}

/* the form fills its column: heading above, no second grid, no rule of its own */
.footer.ft2 .inq{display:block;padding:0;margin:0;border:0}
.footer.ft2 .inq__intro{margin:0 0 1rem}
.footer.ft2 .inq__kicker{display:none}
.footer.ft2 .inq__h{margin:0;font-size:clamp(1.7rem,2.6vw,2.2rem)}
.footer.ft2 .inq__lead{margin:.35rem 0 0;max-width:none;font-size:.9rem;color:rgba(244,238,228,.66)}
.footer.ft2 .inq__alt{display:none}
.footer.ft2 .inq__kind{margin:0 0 1rem}
.footer.ft2 .inq__f textarea{min-height:5.6rem}
.footer.ft2 .inq__foot{margin-top:1rem}

/* ---- section 2: one slim strip. Prayer times as a plain row of six (no boxes), the verse or hadith beside ---- */
.ft2__strip{display:block;margin-top:clamp(2rem,5vh,2.8rem);padding:1.5rem 0;border-top:1px solid rgba(244,238,228,.12);border-bottom:1px solid rgba(244,238,228,.12)}
.footer.ft2 .ft2__strip > .today__in{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;gap:clamp(1.5rem,4vw,3.5rem)!important;align-items:center!important;max-width:none!important;margin:0!important;padding:0!important}
.footer.ft2 .pt,.footer.ft2 .daily{padding:0!important;margin:0;background:none;width:100%;min-width:0}
.footer.ft2 .pt .wrap,.footer.ft2 .daily .wrap{max-width:none;padding:0;margin:0}
.footer.ft2 .kicker{color:var(--gold)}
.footer.ft2 .pt__in{display:block}
.footer.ft2 .pt__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .9rem;margin:0 0 .9rem;max-width:none}
.footer.ft2 .pt__head .kicker{margin:0;font-size:.68rem}
.footer.ft2 .pt__place{margin:0;font-family:Inter,system-ui,sans-serif;font-size:.8rem;line-height:1.35;color:rgba(244,238,228,.62)}
.footer.ft2 .pt__place a{color:rgba(244,238,228,.8)}
.footer.ft2 .pt__next{margin:0;font-size:.8rem;color:rgba(244,238,228,.62)}
.footer.ft2 .pt__next strong{color:var(--gold)}
.footer.ft2 .pt__table{display:block;width:100%;max-width:none;margin:0;border:0;background:none!important;box-shadow:none;border-radius:0}
.footer.ft2 .pt__table thead{display:none}
.footer.ft2 .pt__table tbody{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.footer.ft2 .pt__table tr{display:flex;flex-direction:column;gap:.15rem;padding:0 .9rem;border-left:1px solid rgba(244,238,228,.12);background:none!important}
.footer.ft2 .pt__table tr:first-child{padding-left:0;border-left:0}
.footer.ft2 .pt__table tr>*{display:block;padding:0!important;border:0!important;background:none!important;text-align:left;line-height:1.2;box-shadow:none!important}
.footer.ft2 .pt__table tbody th{font-size:.66rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(244,238,228,.55)!important}
.footer.ft2 .pt__table td[data-pt-iq]{order:2;font-size:1.05rem;font-weight:600;color:#FBF7F1!important}
.footer.ft2 .pt__table td[data-pt-time]{order:3;font-size:.72rem;color:rgba(244,238,228,.5)!important}
.footer.ft2 .pt__table td[data-pt-iq]:not(:empty) + *{}
.footer.ft2 .pt__table td[data-pt-time]::before{content:"Adhan ";opacity:.8}
.footer.ft2 .pt__table td[data-pt-iq]:empty{display:none}
.footer.ft2 .pt__sun td[data-pt-time]{order:2;font-size:1.05rem;font-weight:500;color:rgba(244,238,228,.55)!important}
.footer.ft2 .pt__sun td[data-pt-time]::before{content:none}
/* the next prayer: gold name and a short gold rule, not a red box */
.footer.ft2 .pt__table tr.is-next th{color:var(--gold)!important}
.footer.ft2 .pt__table tr.is-next td[data-pt-iq]{color:#FFFFFF!important}
.footer.ft2 .pt__table tr.is-next th::after{content:"";display:block;width:1.4rem;height:2px;margin-top:.3rem;background:var(--gold);border-radius:1px}
/* the iftar countdown: hidden in every version but Ramadan, whose look shows it (ramadan-theme.css) */
.footer.ft2 .pt__iftar{display:none;margin:0}
/* the Ramadan timetable card, when it is on: its own line under the heading row */
.footer.ft2 .pt__head .rt{flex:1 1 100%;order:9;margin:.4rem 0 .2rem}
.footer.ft2 .pt__table tbody th,.footer.ft2 .pt__sun th{font-size:.66rem!important;font-weight:700!important;letter-spacing:.12em!important}
.footer.ft2 .pt__table tr>*{white-space:nowrap}
/* not enough room for the word on every prayer: the times alone, the word once in the heading row */
@media (max-width:1360px) and (min-width:981px){
  .footer.ft2 .pt__table td[data-pt-time]::before{content:none}
  .footer.ft2 .pt__table tr{padding:0 .65rem}
}

/* the verse or hadith: sized for the longest of the 100 (164 letters) */
.footer.ft2 .daily,.footer.ft2 .daily__in,.footer.ft2 .daily__q,.footer.ft2 .daily__card,.footer.ft2 .daily__en{max-width:none!important}
.footer.ft2 .daily__in{display:block;text-align:left;padding-left:clamp(1rem,2.5vw,2.2rem);border-left:1px solid rgba(244,238,228,.12)}
.footer.ft2 .daily .kicker{margin:0 0 .4rem;font-size:.68rem}
.footer.ft2 .daily__card{margin:0;padding:0;border:0;background:none}
.footer.ft2 .daily__card::before,.footer.ft2 .daily__card::after,.footer.ft2 .daily::before,.footer.ft2 .daily__in::before{display:none!important}
.footer.ft2 .daily__q{margin:0}
.footer.ft2 .daily__en{margin:0;font-size:1.08rem;line-height:1.45;color:var(--cream);text-wrap:pretty}
.footer.ft2 .daily__cite{display:block;margin-top:.35rem;font-size:.66rem}

.footer.ft2 .footer__bottom{margin-top:1.1rem;padding-top:0;border-top:0}

/* ---- smaller screens ---- */
@media (max-width:980px){
  .ft2__top{grid-template-columns:1fr}
  .footer.ft2 .daily__in{padding-left:0;border-left:0}
  .ft2__info{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 2rem}
  .ft2__brand,.ft2__note,.ft2__row{grid-column:1/-1}
  .ft2__links{margin-top:1.3rem}
  .footer.ft2 .ft2__strip > .today__in{grid-template-columns:1fr!important;gap:1.2rem!important}
}
@media (max-width:640px){
  .ft2__info{display:block}
  .footer.ft2 .daily{margin-top:.4rem}
  .footer.ft2 .pt__table tbody{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:1rem}
  .footer.ft2 .pt__table tr:nth-child(4){padding-left:0;border-left:0}
  .footer.ft2 .pt__table tr{padding:0 .7rem}
}
