/* Flat Fee Group Alabama — HYBRID theme (Nov 24, 2026)
   Dark navy band at top (hero, review strip, pricing) + white reading sections below.
   Loaded AFTER al-2026.css. Only affects markup inside .ffg-al-2026.ffg-hybrid .hy-light
   (and two small hero fixes). Remove this <link> or the ffg-hybrid class to go back to all-dark. */
.ffg-al-2026.ffg-hybrid .hy-light{background:#fff!important;color:#1f2933!important;font-size:1.08rem;line-height:1.65}
.ffg-al-2026.ffg-hybrid .hy-light section,
.ffg-al-2026.ffg-hybrid .hy-light nav.guides,
.ffg-al-2026.ffg-hybrid .hy-light .broker-proof,
.ffg-al-2026.ffg-hybrid .hy-light .al-broker-band{background:#fff!important;color:#1f2933!important;background-image:none!important;border-color:#e3e8f0!important}
.ffg-al-2026.ffg-hybrid .hy-light section.alt{background:#f5f7fb!important}
.ffg-al-2026.ffg-hybrid .hy-light section{border-top:1px solid #e3e8f0}
.ffg-al-2026.ffg-hybrid .hy-light :is(p,li,span,td,th,dd,dt,label,small,em,strong,b,summary,div,legend,figcaption){color:#1f2933!important;-webkit-text-fill-color:#1f2933}
.ffg-al-2026.ffg-hybrid .hy-light :is(h2,h3,h4){color:#0d2556!important;-webkit-text-fill-color:#0d2556;background:none!important}
.ffg-al-2026.ffg-hybrid .hy-light h2{font-size:clamp(1.7rem,3.4vw,2.35rem);font-weight:800;letter-spacing:-.01em}
.ffg-al-2026.ffg-hybrid .hy-light :is(.small,.tnote,.muted,.ffg-guides-intro){color:#3d4a5c!important;-webkit-text-fill-color:#3d4a5c}
.ffg-al-2026.ffg-hybrid .hy-light a:not(.btn){color:#0b5cad!important;-webkit-text-fill-color:#0b5cad;text-decoration:underline;text-underline-offset:2px}
.ffg-al-2026.ffg-hybrid .hy-light a:not(.btn):hover{color:#083f78!important;-webkit-text-fill-color:#083f78}
/* cards, tools, review tiles, compare card */
.ffg-al-2026.ffg-hybrid .hy-light :is(.tool,.card,.fsbo,.rv-grid>*,.ffg-guides-grid>div,.trust .wrap>div,.grid>div,.pill-list a,details,.faq .wrap>div>div){background:#fff!important;border:1px solid #d9e1ec!important;box-shadow:0 6px 18px rgba(13,37,86,.07)!important;color:#1f2933!important}
.ffg-al-2026.ffg-hybrid .hy-light .pill-list a{border-radius:999px;text-decoration:none}
/* form controls inside the tools */
.ffg-al-2026.ffg-hybrid .hy-light :is(input,select,textarea){background:#fff!important;color:#1f2933!important;-webkit-text-fill-color:#1f2933;border:1px solid #9aa9bd!important}
.ffg-al-2026.ffg-hybrid .hy-light :is(.fhelp label,.fcalc label.chip,.chip,.opt){background:#f1f5fb!important;border:1px solid #b9c6d8!important;color:#1f2933!important}
.ffg-al-2026.ffg-hybrid .hy-light :is(.wout,output,.res,.result,table){background:#f8fafd!important;color:#1f2933!important}
.ffg-al-2026.ffg-hybrid .hy-light :is(th,td){border-color:#d9e1ec!important}
/* buttons: keep the brand blue; outline/ghost buttons become navy-on-white */
.ffg-al-2026.ffg-hybrid .hy-light :is(.btn-outline,.btn-ghost){background:#fff!important;color:#0d2556!important;-webkit-text-fill-color:#0d2556;border:2px solid #0d2556!important}
.ffg-al-2026.ffg-hybrid .hy-light :is(.btn-primary,.btn-blue){color:#fff!important;-webkit-text-fill-color:#fff}
.ffg-al-2026.ffg-hybrid .hy-light :is(.btn-primary,.btn-blue) *{color:#fff!important;-webkit-text-fill-color:#fff}
/* image + text rows: images now visible on white; stack cleanly on phones */
.ffg-al-2026.ffg-hybrid .hy-light .sec-media img{background:#fff;border:1px solid #e3e8f0}
/* stars stay gold */
.ffg-al-2026.ffg-hybrid .hy-light .stars,.ffg-al-2026.ffg-hybrid .hy-light .star{color:#b7860b!important;-webkit-text-fill-color:#b7860b}
/* "What's included" parity block */
.ffg-al-2026.ffg-hybrid .hy-light .incl-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-top:14px}
.ffg-al-2026.ffg-hybrid .hy-light .incl-grid>div{background:#fff;border:1px solid #d9e1ec;border-radius:14px;padding:18px 20px}
.ffg-al-2026.ffg-hybrid .hy-light .incl-grid ul{margin:8px 0 0;padding-left:20px}
/* PHONE: headline first, compact broker card (photo was filling the whole first screen) */
@media (max-width:860px){
 .ffg-al-2026.ffg-hybrid .hhero-grid{display:flex!important;flex-direction:column}
 .ffg-al-2026.ffg-hybrid .hhero-grid>div{order:1}
 .ffg-al-2026.ffg-hybrid .hhero-grid>aside.promo-photo{order:2;display:flex!important;align-items:center;gap:14px;padding:12px 14px!important;max-width:none;width:100%;text-align:left}
 .ffg-al-2026.ffg-hybrid .hhero-grid>aside.promo-photo img.broker{width:92px!important;height:92px!important;max-width:92px!important;border-radius:50%!important;object-fit:cover;flex:0 0 92px;margin:0!important}
 .ffg-al-2026.ffg-hybrid .hhero-grid>aside.promo-photo .cap{margin:0!important;text-align:left!important;font-size:1rem}
 .ffg-al-2026.ffg-hybrid .hhero .eyebrow{line-height:1.6}
 .ffg-al-2026.ffg-hybrid .hy-light{font-size:1.05rem}
}
/* ---- Fit the new design into the CMS "Introduction Alabama" section (homepage + city pages) ----
   The template puts section 1028 inside a half-width Bootstrap column under its own H1 + photo card.
   These rules make that column full width, hide the template badge + old photo cards, and style the
   template H1 (from the section title "Flat Fee MLS [City, State]") as the big hero headline. */
body > div:has(> .container .ffg-al-2026.ffg-hybrid){margin-top:0!important;padding-top:82px!important;background:#06122e!important}
body > div:has(> .container .ffg-al-2026.ffg-hybrid) > .container{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body > div:has(> .container .ffg-al-2026.ffg-hybrid) > .container > .row{margin:0!important;display:block!important}
body > div:has(> .container .ffg-al-2026.ffg-hybrid) > .container > .row > div:has(.ffg-al-2026){width:100%!important;max-width:100%!important;flex:none!important;padding:0!important}
body > div:has(> .container .ffg-al-2026.ffg-hybrid) > .container > .row > div:not(:has(.ffg-al-2026)){display:none!important}
body > div:has(> .container .ffg-al-2026.ffg-hybrid) .badge-trust,
body > div:has(> .container .ffg-al-2026.ffg-hybrid) .row > div > .col-12.d-xl-none{display:none!important}
body > div:has(> .container .ffg-al-2026.ffg-hybrid) h1.header-title{max-width:1320px;margin:0 auto!important;padding:36px 24px 6px!important;text-align:left!important;color:#fff!important;font-family:inherit;font-size:clamp(36px,5vw,64px)!important;line-height:1.12!important;font-weight:850!important;letter-spacing:-.02em}
body > div:has(> .container .ffg-al-2026.ffg-hybrid) h1.header-title:empty{display:none}
.ffg-al-2026.ffg-hybrid .hhero{padding-top:6px!important}
@media (max-width:600px){body > div:has(> .container .ffg-al-2026.ffg-hybrid) h1.header-title{padding:22px 16px 4px!important;font-size:38px!important}}
@media (max-width:991px){body > div:has(> .container .ffg-al-2026.ffg-hybrid){padding-top:76px!important}}
/* contrast fixes found by the automated check (dark tiles left over from the all-dark theme) */
.ffg-al-2026.ffg-hybrid .hy-light :is(.stat,.stats>div){background:#f5f8fd!important;border:1px solid #d9e1ec!important;box-shadow:none!important}
.ffg-al-2026.ffg-hybrid .hy-light .stat b{color:#0d2556!important;-webkit-text-fill-color:#0d2556}
.ffg-al-2026.ffg-hybrid .hy-light .opts label{background:#f1f5fb!important;border:1px solid #b9c6d8!important;color:#1f2933!important;-webkit-text-fill-color:#1f2933}
.ffg-al-2026.ffg-hybrid .hy-light .opts label:has(input:checked){background:#dcebff!important;border-color:#1565c0!important}
.ffg-al-2026.ffg-hybrid .hy-light :is(td,th){background:#fff!important}
.ffg-al-2026.ffg-hybrid .hy-light :is(td.us,th.us){background:#eaf3ff!important;font-weight:650}
.ffg-al-2026.ffg-hybrid .hy-light th{color:#0d2556!important;-webkit-text-fill-color:#0d2556}
.ffg-al-2026.ffg-hybrid .hy-light :is(a.btn-blue,button.btn-blue,a.btn-primary,button.btn-primary,button.btn){background:#1565c0!important;background-image:none!important;border-color:#1565c0!important;color:#fff!important;-webkit-text-fill-color:#fff}
.ffg-al-2026.ffg-hybrid .hy-light :is(button.btn-outline){background:#fff!important;color:#0d2556!important;-webkit-text-fill-color:#0d2556}
/* utility classes replacing inline styles in the slim section-1028 body */
.ffg-al-2026.ffg-hybrid li.no{opacity:.6}
.ffg-al-2026.ffg-hybrid .mt12{margin-top:12px}.ffg-al-2026.ffg-hybrid .mt14{margin-top:14px}.ffg-al-2026.ffg-hybrid .mt18{margin-top:18px}.ffg-al-2026.ffg-hybrid .mt24{margin-top:24px}
.ffg-al-2026.ffg-hybrid .fx{display:flex;gap:10px;flex-wrap:wrap}
.ffg-al-2026.ffg-hybrid .sp2{grid-column:span 2}
.ffg-al-2026.ffg-hybrid .wrap.mw860{max-width:860px}

/* tighten gap under hero (Jeff 11/24) */
.ffg-al-2026.ffg-hybrid .hhero{padding-bottom:14px!important}
.ffg-al-2026.ffg-hybrid .hhero .hero-card,.ffg-al-2026.ffg-hybrid .hhero-grid>div{margin-bottom:0!important}
.ffg-al-2026.ffg-hybrid section.reviews-compact{padding-top:14px!important;margin-top:0!important}

/* ---- Plans: compact 3-across comparison + tap to expand features (Jeff 11/24, v=20261124p) ---- */
.ffg-al-2026.ffg-hybrid #plans .plans{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px;margin-top:14px}
.ffg-al-2026.ffg-hybrid #plans .plans .plan{text-align:center;align-items:center;padding:22px 16px}
.ffg-al-2026.ffg-hybrid #plans .amt-note{margin:6px 0 10px;font-size:.92rem;font-weight:650;color:#cfe3ff}
.ffg-al-2026.ffg-hybrid #plans .plans .plan form{margin-top:auto;width:100%}
.ffg-al-2026.ffg-hybrid #plans .plans .plan .btn{width:100%;white-space:normal;line-height:1.2}
.ffg-al-2026.ffg-hybrid #plans .pf-t{display:none;color:#9fd6ff;font-weight:700;font-size:.85rem;margin:0 0 10px;text-decoration:underline;text-underline-offset:2px}
.ffg-al-2026.ffg-hybrid #plans .plan.on{border-color:#45b6ff;box-shadow:0 0 0 2px #45b6ff inset}
.ffg-al-2026.ffg-hybrid #plans .plan-feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:14px;align-items:start}
.ffg-al-2026.ffg-hybrid #plans details.pf{display:block;padding:0;text-align:left}
.ffg-al-2026.ffg-hybrid #plans details.pf>summary{list-style:none;cursor:pointer;padding:12px 22px 12px 16px!important;font-weight:800;color:#5cc2ff;display:flex;justify-content:space-between;align-items:center;gap:8px}
.ffg-al-2026.ffg-hybrid #plans details.pf>summary::-webkit-details-marker{display:none}
.ffg-al-2026.ffg-hybrid #plans details.pf>summary::after{content:"+";position:static;font-size:1.3rem;line-height:1;color:#fff}
.ffg-al-2026.ffg-hybrid #plans details.pf[open]>summary::after{content:"\2212"}
.ffg-al-2026.ffg-hybrid #plans details.pf>p.fine{margin:0 16px 6px;color:#e8eefc}
.ffg-al-2026.ffg-hybrid #plans details.pf>ul{margin:0;padding:0 16px 14px;list-style:none}
@media (max-width:860px){
 .ffg-al-2026.ffg-hybrid #plans .plans{gap:8px;margin-top:16px}
 .ffg-al-2026.ffg-hybrid #plans .plans .plan{padding:16px 6px 10px;border-radius:12px;min-width:0}
 .ffg-al-2026.ffg-hybrid #plans .plans .plan h3{font-size:.86rem!important;letter-spacing:0;margin:0 0 6px;line-height:1.15;overflow-wrap:anywhere}
 .ffg-al-2026.ffg-hybrid #plans .plans .plan .amt{font-size:1.6rem!important}
 .ffg-al-2026.ffg-hybrid #plans .amt-note{font-size:.72rem;line-height:1.25;margin:4px 0 8px;min-height:2.5em}
 .ffg-al-2026.ffg-hybrid #plans .pf-t{display:block;font-size:.78rem}
 .ffg-al-2026.ffg-hybrid #plans .plans .plan .btn{font-size:.76rem;padding:9px 4px;border-radius:9px}
 .ffg-al-2026.ffg-hybrid #plans .plan.best:before{font-size:.6rem;padding:3px 7px;top:-10px;left:50%;transform:translateX(-50%);white-space:nowrap}
 .ffg-al-2026.ffg-hybrid #plans .plan-feats{grid-template-columns:1fr;gap:8px;margin-top:12px}
 .ffg-al-2026.ffg-hybrid #plans details.pf{border-radius:12px}
 .ffg-al-2026.ffg-hybrid #plans details.pf>ul li{font-size:.95rem}
}
