/* ===== FOUNDATIONS BANNER: ONE look for every banner page (overview, Quick Look, Digging Deeper, audio, previews) =====
   Rick 2026-11-25. The overview settings are the master. Each page uses:
   <div class="fbanner fN [right|leftt|long|wide|dark]"><img src="../../images/qlNNbanner.jpg" alt=""><div class="fb-text"><h1 class="fb-title">Title</h1></div></div>
   and links this file last in <head>: <link rel="stylesheet" href="../banner.css">  */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@900&display=swap");
.fbanner { position: relative; margin: 8px 0 16px !important; border-radius: 10px; overflow: hidden; line-height: 0; }
.hero .fbanner { margin-top: 0 !important; }
.fbanner img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 680; object-fit: fill; }
.fb-text { position: absolute; left: 0; right: 0; top: 12%; padding: 0 16%; text-align: center; line-height: 1.15; }
h1.fb-title { margin: 0 !important; padding: 0 !important; font-family: Merriweather, Georgia, serif !important; font-weight: 900 !important; font-size: clamp(24px, 3.4vw, 44px) !important; line-height: 1.15 !important; color: #2F4F6F !important; letter-spacing: 1px !important; text-align: center !important; text-shadow: 0 0 6px rgba(255,255,255,0.95), 0 0 16px rgba(255,255,255,0.8); text-wrap: balance; border: none !important; background: none !important; }
.fbanner.right .fb-text { padding: 0 3% 0 38%; }
.fbanner.leftt .fb-text { padding: 0 38% 0 3%; top: 8%; }
.fbanner.leftt h1.fb-title { font-size: clamp(20px, 3.2vw, 40px) !important; }
.fbanner.long .fb-text { top: 6%; padding: 0 10%; }
.fbanner.long h1.fb-title { font-size: clamp(20px, 2.9vw, 36px) !important; }
.fbanner.wide .fb-text { padding: 0 4%; top: 4%; }
.fbanner.dark h1.fb-title { color: #FFFFFF !important; text-shadow: 0 2px 4px rgba(0,0,0,0.85), 0 0 14px rgba(0,0,0,0.6); }
/* computer title positions Rick set on 2026-11-25 */
@media screen and (min-width: 701px) {
  .fbanner.f1 .fb-text { top: 9%; } .fbanner.f4 .fb-text { top: 6%; } .fbanner.f5 .fb-text { top: 8%; }
  .fbanner.f6 .fb-text { top: 9%; padding: 0 4%; } .fbanner.f6 .fb-title .l1 { white-space: nowrap; } .fbanner.f6 h1.fb-title { font-size: clamp(22px, 3.2vw, 40px) !important; }
  .fbanner.f7 .fb-text { top: 4.5%; } .fbanner.f8 .fb-text { top: 4%; } .fbanner.f9 .fb-text { top: 6%; }
  .fbanner.f10 .fb-text { top: 4%; } .fbanner.f11 .fb-text { top: 8%; } .fbanner.f14 .fb-text { top: 5.3%; }
}
@media screen and (max-width: 700px) {
  html, body { overflow-x: hidden; }
  .fbanner { margin: -2px calc(50% - 50vw) 14px !important; width: 100vw !important; max-width: 100vw !important; border-radius: 0 !important; }
  .page > .fbanner { zoom: 1 !important; }
  .fbanner img { height: 180px; aspect-ratio: auto; object-fit: cover; object-position: center center; }
  .fb-text { padding: 0 5%; top: 9%; }
  h1.fb-title { font-size: 28px !important; }
  .fbanner.right .fb-text { padding: 0 3% 0 34%; }
  .fbanner.leftt img { object-position: right center; } .fbanner.leftt .fb-text { top: 3%; padding: 0 33% 0 1%; } .fbanner.leftt h1.fb-title { font-size: 21px !important; line-height: 1.12 !important; }
  .fbanner.long .fb-text { top: 3%; padding: 0 4%; } .fbanner.long h1.fb-title { font-size: 20px !important; }
  .fbanner.f8 h1.fb-title { font-size: 23px !important; line-height: 1.12 !important; }
  .fbanner.wide .fb-text { padding: 0 2%; top: 4%; } .fbanner.wide h1.fb-title { font-size: 24px !important; }
  .fbanner.dark .fb-text { top: 4.5%; }
  .fbanner.f4 .fb-text { top: 4.5%; }
  .fbanner.f6 .fb-title br.cbr { display: none; }
  /* ONE phone top bar height on every page (halfway between the old audio and overview bars) */
  .phone-top-bar { height: 40px !important; min-height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; box-sizing: border-box !important; }
  body:has(.phone-top-bar) { padding-top: 40px !important; }
  .hero { margin-top: 0 !important; }
  .navbar.top { height: 40px !important; min-height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; box-sizing: border-box !important; align-items: center !important; }
  body:has(.navbar.top) { padding-top: 0 !important; }
  body:has(.navbar.top) .page { padding-top: 40px !important; }
}
.fc, .qh { width: 28px !important; height: 28px !important; font-size: 16px !important; }
/* audio pages: audio icon + Foundation number + audio icon */
.fnum { display: flex; align-items: center; justify-content: center; gap: 26px; margin: 6px 0 0; line-height: 1; }
.fnum img.nb, .fnum img.ai { height: 43px; width: auto; display: block; }
@media screen and (max-width: 700px) { .fnum img.nb, .fnum img.ai { height: 34px; } .fnum { gap: 17px; } }
/* Foundation 10 phone title: 1px smaller, half the left padding (Rick 2026-11-25) */
@media screen and (max-width: 700px) { .fbanner.f10 .fb-text { padding-left: 0.5% !important; } .fbanner.f10 h1.fb-title { font-size: 20px !important; } }
/* ===== Digging Deeper + Quick Look tops (Rick 2026-11-25) ===== */
.ddnum { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 0; font-size: 21px; font-weight: bold; color: #2F4F6F; letter-spacing: 1px; line-height: 1; }
.ddnum img { height: 32px; width: auto; display: block; }
.mainthing.mtbig .lab { font-size: 26px !important; letter-spacing: 2px !important; }
@media screen and (max-width: 700px) { .ddnum { font-size: 17px; } .ddnum img { height: 26px; } .mainthing.mtbig .lab { font-size: 20px !important; letter-spacing: 1px !important; } .mainthing.mtbig .big { font-size: 17px !important; } }
.navbar a.fmap, .navbar a.qhelp { display: flex; align-items: center; justify-content: center; }
.fc, .qh { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #8A6F45; color: #8A6F45; font-family: Georgia, "Times New Roman", serif; font-weight: bold; line-height: 1; box-sizing: border-box; }
@media screen and (max-width: 700px) { .navbar a.fmap, .navbar a.qhelp { flex: 0 0 38px; padding: 2px 0; background: none; border: none; } .fc, .qh { border-color: #D9C49E; color: #D9C49E; } }
.navrow { justify-content: flex-start !important; }
/* Quick Look / Digging Deeper two-part box */
.qlseg { display: inline-flex; border: 1px solid #E3D6BC; border-radius: 7px; overflow: hidden; font-style: italic; font-size: 14px; line-height: 1.3; white-space: nowrap; vertical-align: middle; }
.qlseg .qlhere { padding: 5px 12px; background: #FBF6EC; color: #8A6E43; }
.qlseg a.qlgo { padding: 5px 12px; background: #FFFFFF; color: #8A6E43; text-decoration: underline; border-left: 1px solid #E3D6BC; font-weight: 400; }
.qlseg a.qlgo:hover { background: #FBF6EC; }
@media screen and (max-width: 700px) { .qlseg { font-size: 13px; } .qlseg .qlhere, .qlseg a.qlgo { padding: 5px 8px; } }
@media screen and (max-width: 370px) { .qlseg { font-size: 12px; } .qlseg .qlhere, .qlseg a.qlgo { padding: 5px 6px; } }
.deeper-link { text-align: center; }
/* Phone title fixes (Rick 2026-11-25, evening) */
.fb-title br.pbr { display: none; }
@media screen and (max-width: 700px) {
  .fbanner.f5 .fb-text { padding-right: 1.5% !important; }
  .fbanner.f7 h1.fb-title { font-size: 19.5px !important; }
  .fbanner.f10 .fb-text { padding-left: 0 !important; }
  .fb-title br.pbr { display: inline; }
}
/* Overviews: the text-size setting zooms the whole page; undo that zoom on the banner so it stays edge to edge
   and the same size as on every other page (Rick 2026-11-25) */
@media screen and (max-width: 700px) {
  html.ts1 .zoomable .fbanner { zoom: 0.8696 !important; }
  html.ts2 .zoomable .fbanner { zoom: 0.7692 !important; }
  html.tsm1 .zoomable .fbanner { zoom: 1.1364 !important; }
}
@media screen and (max-width: 700px) {
  .fbanner.f5 .fb-text { padding-right: 0.75% !important; }
  .fbanner.f7 .fb-text { top: 1.5% !important; }
}
@media screen and (max-width: 700px) { .fbanner.f7 .fb-text { padding-left: 1% !important; padding-right: 1% !important; } }
@media screen and (max-width: 700px) { .fbanner.f7 h1.fb-title { font-size: 18px !important; } }
@media screen and (max-width: 700px) { .fbanner.f8 h1.fb-title { font-size: 21.5px !important; } }
@media screen and (max-width: 700px) { .fbanner.f13 .fb-text { top: 2% !important; } .fbanner.f13 h1.fb-title { font-size: 23.5px !important; } }
