/* Panama City HVAC Co. - v2.0
   Palette: cobalt #1D4ED8 / navy #0E2A78 / ice #EFF6FF / slate / white
   Type: Manrope (display) + IBM Plex Sans (body) */

:root {
  --cobalt: #1D4ED8;
  --cobalt-dark: #1E40AF;
  --navy: #0E2A78;
  --navy-deep: #0A1F5C;
  --ice: #EFF6FF;
  --ice-border: #DBEAFE;
  --sky: #60A5FA;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --white: #FFFFFF;
  --radius: 8px;
  --max: 1120px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.08), 0 4px 14px rgba(15,23,42,.06);
  --shadow-md: 0 4px 10px rgba(15,23,42,.10), 0 12px 28px rgba(29,78,216,.12);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { margin: 0 !important; padding: 0 !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
}

img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--cobalt); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; color: var(--cobalt); font-size: .95rem; margin-bottom: .75rem; }
.kicker::before { content: ""; width: 2rem; height: 3px; background: var(--cobalt); border-radius: 2px; }

ul.checks { list-style: none; margin: 0 0 1rem; }
ul.checks li { padding-left: 1.75rem; position: relative; margin-bottom: 0.65rem; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 0.85rem; height: 0.45rem;
  border-left: 3px solid var(--cobalt); border-bottom: 3px solid var(--cobalt);
  transform: rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--cobalt); color: var(--white);
  font-family: var(--font-display); font-weight: 800; text-decoration: none;
  padding: 0.85rem 1.6rem; border-radius: var(--radius); border: none;
  font-size: 1.02rem; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { background: var(--cobalt-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn.light { background: var(--white); color: var(--cobalt); }
.btn.light:hover { background: var(--ice); }
.btn.big { font-size: 1.12rem; padding: 0.95rem 1.8rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
header.site {
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--white);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(10,31,92,.35);
}
.announce { font-size: .85rem; text-align: center; padding: .4rem 1rem; background: var(--navy-deep); color: #B9CBFB; }
.announce strong { color: var(--white); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand .n { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.brand .n span { display: block; font-size: .66rem; font-weight: 700; color: var(--sky); letter-spacing: .04em; }
nav.primary ul { list-style: none; display: flex; gap: 1.3rem; }
nav.primary a { text-decoration: none; color: #DCE7FE; font-weight: 600; font-size: .95rem; }
nav.primary a:hover, nav.primary a[aria-current="page"] { color: var(--white); }
nav.primary a[aria-current="page"] { border-bottom: 2px solid var(--sky); padding-bottom: 2px; }
.nav-phone { white-space: nowrap; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.menu-toggle span { display: block; width: 24px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 2px; }

/* Hero - full-bleed image slot with navy overlay.
   IMAGE SLOT: replace the repeating-linear-gradient layer with url(/images/hero.jpg)
   per page via the body class, e.g. .p-home .hero { background: ..., url(...) center/cover; } */
.hero {
  position: relative; color: var(--white); padding: 5rem 0 4.5rem;
  background:
    linear-gradient(100deg, rgba(10,31,92,.92) 0%, rgba(14,42,120,.82) 45%, rgba(29,78,216,.55) 100%),
    repeating-linear-gradient(115deg, #12307e 0 22px, #0f2a70 22px 44px);
  background-size: cover; background-position: center;
}
.hero h1 { color: var(--white); }
.hero .lede { font-size: 1.15rem; color: #DCE7FE; max-width: 660px; margin: 1rem 0 1.6rem; }
.hero-note { font-size: .95rem; color: #AFC4F9; margin-top: 1rem; }
/* v3.1: compact hero on guides/content pages */
.p-guide .hero, .p-guides .hero, .p-glossary .hero, .p-calc .hero { padding: 2.6rem 0 2.3rem; }
.p-guide .hero .lede, .p-guides .hero .lede, .p-glossary .hero .lede, .p-calc .hero .lede { margin: .85rem 0 0; }

/* Trust strip - dark credentials with dividers */
.trustline { background: linear-gradient(90deg, var(--navy-deep), var(--navy)); color: var(--white); }
.trustline .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding: 1.35rem 1.25rem; gap: 0; }
.cred { display: flex; gap: .9rem; align-items: center; padding: 0 1.4rem; border-left: 1px solid rgba(255,255,255,.15); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred svg { width: 34px; height: 34px; flex: none; color: var(--sky); }
.cred b { display: block; font-family: var(--font-display); font-size: .96rem; line-height: 1.25; }
.cred small { font-size: .81rem; color: #AFC4F9; line-height: 1.35; display: block; }

/* Sections */
section.block { padding: 3.75rem 0; }
section.block.tint { background: linear-gradient(180deg, #F6FAFF, #EDF4FE); }
.lead-max { max-width: 780px; }

/* Service panels - flat gradient, watermark icon */
.svc-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 1.9rem; }
.panel {
  background: linear-gradient(160deg, #F3F8FF, #E8F1FE);
  border-radius: 14px; padding: 1.9rem;
  position: relative; overflow: hidden; transition: transform .15s;
}
.panel:hover { transform: translateY(-3px); }
.panel .bigico { position: absolute; right: -18px; bottom: -18px; width: 120px; height: 120px; opacity: .10; pointer-events: none; }
.panel .bigico svg { width: 100%; height: 100%; color: var(--navy); }
.panel .chip { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); align-items: center; justify-content: center; margin-bottom: 1rem; }
.panel .chip svg { width: 26px; height: 26px; color: var(--white); }
.panel h3 a { color: var(--slate-900); text-decoration: none; }
.panel h3 a:hover { color: var(--cobalt); }
.panel .more { font-family: var(--font-display); font-weight: 800; font-size: .94rem; color: var(--cobalt); text-decoration: none; position: relative; z-index: 1; }
.panel .more:hover { text-decoration: underline; }

/* Generic feature cards (why-us etc.) - soft, no border-box look */
.grid { display: grid; gap: 1.4rem; margin-top: 1.9rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); border-left: 4px solid var(--ice-border); }
.tint .card { border-left-color: var(--sky); }

/* Split with image slot */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; margin-top: 1.5rem; }
/* IMAGE SLOT: give the .ph a real image with background-image: url(...) center/cover; */
.ph {
  border-radius: var(--radius); min-height: 340px;
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--navy) 100%);
  background-size: cover; background-position: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
}
.ph::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 26px, transparent 26px 52px); }
.ph.has-img::after { display: none; }

/* Process steps - ghost numbers */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.9rem; }
.step { counter-increment: s; background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); position: relative; }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem;
  color: var(--ice-border); position: absolute; top: .6rem; right: 1rem; line-height: 1;
}
.step h3 { padding-right: 3rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 1.9rem; }
.quote { background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.stars { color: #F59E0B; letter-spacing: .12em; font-size: 1rem; margin-bottom: .6rem; }
.quote p { font-style: italic; }
.quote cite { font-style: normal; font-weight: 700; color: var(--slate-900); font-size: .94rem; }

/* Areas */
.towns { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem 1.5rem; margin: 1rem 0; }
.towns li { padding-left: 1.4rem; position: relative; font-weight: 600; color: var(--slate-900); }
.towns li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--cobalt); }

/* FAQ */
.faq { margin-top: 1.5rem; max-width: 860px; }
.faq details { border-radius: var(--radius); background: var(--white); margin-bottom: 0.8rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--slate-900); padding: 1rem 1.25rem; list-style: none; position: relative; padding-right: 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--cobalt); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 1.25rem 1.25rem; }

/* CTA band - image slot behind overlay.
   IMAGE SLOT: swap the repeating gradient for url(/images/cta.jpg) sitewide or per page. */
.cta-band {
  position: relative; color: var(--white); padding: 4rem 0;
  background:
    linear-gradient(100deg, rgba(10,31,92,.94), rgba(29,78,216,.86)),
    repeating-linear-gradient(115deg, #12307e 0 22px, #0f2a70 22px 44px);
  background-size: cover; background-position: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #DCE7FE; max-width: 720px; }
.cta-band a:not(.btn) { color: var(--white); }

/* Content pages */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1rem 1.3rem; }
.prose ul li { margin-bottom: 0.5rem; }
.callout { background: var(--ice); border-left: 4px solid var(--cobalt); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin: 1.5rem 0; }
.callout strong { color: var(--slate-900); }

table.spec { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.98rem; }
table.spec th, table.spec td { text-align: left; padding: 0.7rem 0.9rem; border: 1px solid var(--ice-border); vertical-align: top; }
table.spec th { background: var(--ice); font-family: var(--font-display); color: var(--slate-900); }

.map-embed { border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Footer */
footer.site { background: var(--slate-900); color: #B9C4D8; padding: 3rem 0 2rem; font-size: 0.95rem; }
footer.site h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.8rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 2.5rem; }
footer.site a { color: #DCE7FE; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 0.45rem; }
.foot-towns { color: #8B99B5; }
.foot-bottom { border-top: 1px solid #24324B; margin-top: 2.25rem; padding-top: 1.25rem; color: #8B99B5; font-size: 0.88rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 2rem; }
.foot-bottom p { margin: 0; }
.foot-social { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 1.15rem; margin: 0; }
.foot-social a { color: #8B99B5; }
.foot-social a:hover { color: #DCE7FE; }
.related-links { padding: 0 1.25rem 2.75rem; color: var(--slate-700); font-size: 0.95rem; }
.related-links .rl-label { font-family: var(--font-display); font-weight: 800; color: var(--slate-900); margin-bottom: .75rem; }
.related-links .pills { display: flex; flex-wrap: wrap; gap: .55rem; }
.related-links .pill { display: inline-block; padding: .5rem .95rem; border-radius: 999px; background: var(--ice); border: 1px solid var(--ice-border); color: var(--cobalt); text-decoration: none; font-size: .9rem; font-weight: 600; line-height: 1.2; transition: background .15s, border-color .15s; }
.related-links .pill:hover { background: #E0ECFF; border-color: var(--sky); }

/* Sticky mobile call bar */
.callbar { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .towns { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .trustline .wrap { grid-template-columns: repeat(2, 1fr); gap: .9rem 0; }
  .cred { border-left: 0; padding: .35rem 0; }
  .split { grid-template-columns: 1fr; }
  .svc-panels { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  nav.primary {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 1rem 1.25rem 1.5rem;
  }
  nav.primary.open { display: block; }
  nav.primary ul { flex-direction: column; gap: 0.9rem; }
  .menu-toggle { display: block; }
  .nav-phone { display: none; }
  .grid.cols-2, .quotes { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .foot-social { justify-content: flex-start; }
  body { padding-bottom: 64px; }
  .callbar {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--cobalt); text-align: center; box-shadow: 0 -2px 12px rgba(15,23,42,.25);
  }
  .callbar a {
    display: block; color: var(--white); text-decoration: none;
    font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
    padding: 1rem;
  }
}


/* v2.1: page hero images */
.p-home .hero { background: linear-gradient(100deg, rgba(10,31,92,.90) 0%, rgba(14,42,120,.78) 45%, rgba(29,78,216,.45) 100%), url(/images/hvac-technician-repair.webp) center/cover; }
.p-acr .hero { background: linear-gradient(100deg, rgba(10,31,92,.90) 0%, rgba(14,42,120,.78) 45%, rgba(29,78,216,.45) 100%), url(/images/ac-repair-gauges.webp) center/cover; }
.p-aci .hero { background: linear-gradient(100deg, rgba(10,31,92,.90) 0%, rgba(14,42,120,.78) 45%, rgba(29,78,216,.45) 100%), url(/images/new-ac-installation.webp) center/cover; }
.p-heating .hero { background: linear-gradient(100deg, rgba(10,31,92,.90) 0%, rgba(14,42,120,.78) 45%, rgba(29,78,216,.45) 100%), url(/images/evening-neighborhood.webp) center/cover; }
.p-commercial .hero { background: linear-gradient(100deg, rgba(10,31,92,.90) 0%, rgba(14,42,120,.78) 45%, rgba(29,78,216,.45) 100%), url(/images/commercial-rooftop-units.webp) center/cover; }
.cta-band { background: linear-gradient(100deg, rgba(10,31,92,.93), rgba(29,78,216,.82)), url(/images/bay-county-street.webp) center/cover; }

/* v2.1: content images */
img.media { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split img.media { min-height: 340px; object-fit: cover; }

/* v2.5: sizing calculator and guide sources */
.sc-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.6rem; margin-top: 1.9rem; align-items: start; }
.sc-form label { display: block; font-family: var(--font-display); font-weight: 700; color: var(--slate-900); margin: 1.1rem 0 .35rem; }
.sc-form label:first-child { margin-top: 0; }
.sc-form input, .sc-form select { width: 100%; font: inherit; font-size: 1rem; padding: .65rem .8rem; border: 1px solid #C7D2E3; border-radius: var(--radius); background: var(--white); color: var(--slate-900); }
.sc-form select { appearance: auto; }
.sc-form input:focus, .sc-form select:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--cobalt); }
.sc-form .help { font-size: .88rem; color: var(--slate-500); margin: .35rem 0 0; }
.sc-result { position: sticky; top: 92px; border-left-color: var(--cobalt); }
.sc-label { font-family: var(--font-display); font-weight: 700; color: var(--cobalt); font-size: .95rem; margin-bottom: .2rem; }
.sc-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--slate-900); line-height: 1.1; margin-bottom: .8rem; letter-spacing: -0.02em; }
.sc-note { background: var(--ice); border-left: 4px solid var(--cobalt); border-radius: var(--radius); padding: .85rem 1rem; margin: .9rem 0; font-size: .96rem; }
.sc-result h3 { margin-top: 1.4rem; }
.sc-result ul.checks li { font-size: .95rem; }
.sc-fine { font-size: .86rem; color: var(--slate-500); margin-top: 1rem; }
.sc-empty { color: var(--slate-500); }
ul.sources { margin: 0 0 1rem 1.3rem; font-size: .95rem; }
ul.sources li { margin-bottom: .55rem; }
@media (max-width: 900px) { .sc-grid { grid-template-columns: 1fr; } .sc-result { position: static; } }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.25rem 0; }
.table-scroll table.spec { margin: 0; min-width: 480px; }
@media (max-width: 720px) { .table-scroll table.spec { font-size: .9rem; } .table-scroll table.spec th, .table-scroll table.spec td { padding: .55rem .65rem; } }
/* v2.6: glossary */
.gl-nav { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin-bottom: 1.5rem; }
.gl-nav a { font-family: var(--font-display); font-weight: 700; font-size: .92rem; text-decoration: none; background: var(--ice); color: var(--cobalt); padding: .4rem .8rem; border-radius: 999px; }
.gl-nav a:hover { background: var(--ice-border); }
.gl-toc { background: var(--ice); border: 1px solid var(--ice-border); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 0 0 2rem; }
.gl-toc-title { font-family: var(--font-display); font-weight: 800; color: var(--slate-900); font-size: 1.05rem; margin-bottom: .9rem; }
.gl-toc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem 1.6rem; }
.gl-toc-group .gl-toc-h { display: block; font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--cobalt); text-decoration: none; margin-bottom: .45rem; }
.gl-toc-group .gl-toc-h:hover { text-decoration: underline; }
.gl-toc-group ul { list-style: none; margin: 0; padding: 0; }
.gl-toc-group li { margin: 0 0 .2rem; }
.gl-toc-group li a { font-size: .9rem; color: var(--slate-700); text-decoration: none; }
.gl-toc-group li a:hover { color: var(--cobalt); text-decoration: underline; }
@media (max-width: 760px) { .gl-toc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .gl-toc-grid { grid-template-columns: 1fr; } }
dl.gl + h2, .prose h2[id] { scroll-margin-top: 90px; }
dl.gl { margin: 0 0 2rem; }
dl.gl dt { font-family: var(--font-display); font-weight: 800; color: var(--slate-900); font-size: 1.08rem; margin-top: 1.4rem; scroll-margin-top: 110px; }
dl.gl dd { margin: .35rem 0 0; }
dl.gl dd em { color: var(--slate-900); font-style: normal; font-weight: 600; }
.prose code { font-size: .92em; background: var(--ice); padding: .1em .35em; border-radius: 4px; }
ol.qlist { margin: 0 0 1rem 1.3rem; } ol.qlist li { margin-bottom: .8rem; } ol.qlist li strong { color: var(--slate-900); display: block; }
.prose h3 { margin-top: 1.6rem; }

/* v2.7: four-column footer */
.foot-grid { grid-template-columns: 1.8fr 1fr 1.2fr 1.3fr; gap: 2rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; } }
.src-note { font-size: .92rem; color: var(--slate-500); margin-bottom: 1rem; }
.foot-social { margin-left: auto; }
@media (max-width: 720px) { .foot-social { margin-left: 0; } }
/* v2.8: guides hub */
ul.guide-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin: 1.2rem 0 2.4rem; padding: 0; }
.guide-card a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); border-top: 4px solid var(--cobalt); text-decoration: none; color: var(--slate-700); transition: transform .15s, box-shadow .15s; }
.guide-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.guide-title { font-family: var(--font-display); font-weight: 800; color: var(--slate-900); font-size: 1.1rem; line-height: 1.25; }
.guide-blurb { font-size: .96rem; }
.guide-more { margin-top: auto; font-family: var(--font-display); font-weight: 800; font-size: .92rem; color: var(--cobalt); }
@media (max-width: 720px) { ul.guide-list { grid-template-columns: 1fr; } }
/* v2.9: breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .86rem; color: #AFC4F9; margin-bottom: 1.1rem; }
.crumbs a { color: #DCE7FE; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: #AFC4F9; }

/* v3.0: in-article figures */
.prose h2 { clear: both; }
.fig { margin: 1.6rem 0 1.8rem; }
.fig img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.fig figcaption { margin-top: .5rem; font-size: .86rem; color: var(--slate-500); line-height: 1.45; }
.fig-right { float: right; width: min(40%, 320px); margin: .35rem 0 1.2rem 1.6rem; }
@media (max-width: 680px) { .fig-right { float: none; width: 100%; margin: 1.4rem 0 1.6rem; } }
