/* Sheikh Yahya heritage site — additions on top of the Itqan Design System */
:root { --heritage: #5b4a2e; --heritage-100: #f3ede2; }

.hero--sheikh .container { grid-template-columns: 1.15fr .85fr; }
.hero__portrait { justify-self: center; width: min(360px, 100%); aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(185,151,91,.55), 0 0 0 10px rgba(255,255,255,.05), 0 30px 60px -30px rgba(0,0,0,.7); background: var(--green-800); }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* audio player */
.player { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 12px; }
.player__head { display: flex; align-items: center; gap: 14px; }
.player__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--green-800); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.player__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-900); margin: 0; line-height: 1.4; }
.player__meta { font-size: .84rem; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.player audio { width: 100%; height: 44px; }
.player__tools { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .82rem; color: var(--muted); }
.player__tools button { border: 1px solid var(--line); background: var(--ivory); border-radius: var(--radius-sm); padding: 4px 10px; font-family: inherit; font-size: .82rem; cursor: pointer; color: var(--ink-2); }
.player__tools button.is-active { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.player--featured { border-top: 4px solid var(--gold-500); box-shadow: var(--shadow); padding: 24px 26px; }

.daily-band { background: var(--green-900); color: #fff; position: relative; overflow: hidden; }
.daily-band .section-head h2, .daily-band .section-head p { color: #fff; }
.daily-band .section-head p { color: rgba(255,255,255,.8); }
.daily-band .eyebrow { color: var(--gold-200); }
.daily-list { display: grid; gap: 10px; }
.daily-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); color: #fff; }
.daily-item:hover { background: rgba(255,255,255,.1); color: #fff; }
.daily-item i { color: var(--gold-500); }
.daily-item small { color: rgba(255,255,255,.65); margin-inline-start: auto; white-space: nowrap; }
.daily-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); color: inherit; }
.daily-row:hover { background: #fcfbf7; color: inherit; }
.daily-row:last-child { border-bottom: 0; }
.daily-date { width: 64px; flex-shrink: 0; text-align: center; border: 1px solid var(--gold-200); border-radius: var(--radius-sm); background: var(--gold-100); padding: 6px 4px; line-height: 1.2; }
.daily-date strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--green-900); }
.daily-date span { font-size: .72rem; color: var(--gold-700); }

/* fatwa */
.fatwa-item { display: block; padding: 18px 22px; border-bottom: 1px solid var(--line); color: inherit; }
.fatwa-item:hover { background: #fcfbf7; color: inherit; }
.fatwa-item:last-child { border-bottom: 0; }
.fatwa-item__q { font-family: var(--font-display); font-size: 1.15rem; color: var(--green-900); margin: 6px 0 4px; line-height: 1.6; }
.fatwa-item p { color: var(--muted); margin: 0; font-size: .93rem; }
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qa__q { padding: 26px 30px; background: var(--heritage-100); border-bottom: 1px solid var(--line); }
.qa__q h2 { font-size: 1.45rem; margin: 6px 0 0; line-height: 1.7; }
.qa__a { padding: 26px 30px; font-size: 1.08rem; line-height: 2; white-space: pre-line; color: var(--ink-2); }
.qa__label { font-size: .8rem; font-weight: 700; color: var(--gold-700); }

.side-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h3 { font-size: 1.1rem; margin-bottom: 12px; }
.side-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.side-box li a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink-2); }
.side-box li a:hover, .side-box li a.is-active { background: var(--green-100); color: var(--green-800); }

.video-frame { aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.prose-text { font-size: 1.07rem; line-height: 2.05; color: var(--ink-2); white-space: pre-line; }

@media (max-width: 960px) {
  .hero--sheikh .container { grid-template-columns: 1fr; }
  .hero__portrait { width: 220px; order: -1; }
  .side-layout { grid-template-columns: 1fr; }
}
@media print {
  .topbar, .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
  .qa { border: 0; }
}
