/* ============================================================
   Androvix CMS — front-end helper styles
   (H1–H6 tag stand-ins + section utility classes)
   Loaded AFTER style.css. These only take effect when a heading
   has been re-tagged in admin (it then carries .hx .hx-hN); the
   approved markup emits no .hx classes, so the design is unchanged.
   ============================================================ */

/* Global stand-ins: a re-tagged heading keeps a heading look. */
:where(.hx-h1){font-size:clamp(2.1rem,4.4vw,3.2rem);line-height:1.12;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
:where(.hx-h2){font-size:clamp(1.7rem,3.4vw,2.6rem);line-height:1.15;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
:where(.hx-h3){font-size:clamp(1.25rem,2vw,1.6rem);line-height:1.2;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
:where(.hx-h4){font-size:1.15rem;font-weight:800;color:var(--ink)}
:where(.hx-h5){font-size:1rem;font-weight:800;color:var(--ink)}
:where(.hx-h6){font-size:.9rem;font-weight:800;color:var(--ink)}

/* Context stand-ins: keep the LOCAL size when a title is re-tagged.
   `.ctx .hx` (specificity 0,2,0) beats `.ctx hN` (0,1,1). */
.sec-head .hx{font-size:clamp(1.7rem,3.4vw,2.6rem)}
.svc-body .hx{font-size:1.2rem;margin:0}
.feat .hx{font-size:1.12rem;margin-bottom:8px}
.type .hx{font-size:1.08rem;margin-bottom:6px}
.step .hx{font-size:1.1rem;margin-bottom:6px}
.info-card .hx{font-size:1.25rem;margin-bottom:8px}
.cta-band .hx{color:#fff;margin-bottom:12px;font-size:clamp(1.7rem,3.4vw,2.6rem)}
.page-hero .hx{color:#fff;font-size:clamp(2rem,4.6vw,3.2rem);margin-bottom:14px;position:relative}
.split .hx{margin-bottom:8px}

/* Hero slide: slides 2..n render their title as a styled element that
   looks exactly like the first slide's <h1>. */
.hfs-content .hx-h1{color:#fff;font-size:clamp(2.4rem,5.6vw,4.5rem);line-height:1.04;letter-spacing:-.03em;margin-bottom:20px;display:block;font-weight:800}
.hfs-content .hx-h1 em{font-style:normal;color:var(--green-l)}

/* FAQ question when promoted to a real heading */
.faq-q{font:inherit;margin:0;display:inline}

/* ---------- Section advanced-box utilities (kit K6) ---------- */
.sec-pad-tight{padding-top:clamp(36px,5vw,64px)!important;padding-bottom:clamp(36px,5vw,64px)!important}
.sec-pad-loose{padding-top:clamp(72px,10vw,132px)!important;padding-bottom:clamp(72px,10vw,132px)!important}
.sec-pad-notop{padding-top:0!important}
.sec-pad-nobottom{padding-bottom:0!important}
.sec-pad-none{padding-top:0!important;padding-bottom:0!important}
.sec-bg-sand{background:#f6f1e7}
.sec-bg-white{background:#fff}
.sec-bg-dark{background:var(--navy);color:#c7d6ef}
.sec-bg-dark :where(h1,h2,h3,h4,h5,.hx){color:#fff}
@media(max-width:640px){.sec-hide-mobile{display:none!important}}

/* single-column grid used by info cards */
.g-1{grid-template-columns:1fr}

/* prose content block */
.prose p{margin-bottom:16px;color:var(--body)}
.prose h2{margin:28px 0 12px}
.prose h3{margin:22px 0 10px}
.prose ul,.prose ol{margin:0 0 16px 22px;color:var(--body);display:flex;flex-direction:column;gap:8px}
.prose a{color:var(--green);font-weight:600}
.prose img{border-radius:12px;margin:14px 0}
.prose img.img-left{float:left;margin:4px 20px 12px 0;max-width:45%}
.prose img.img-right{float:right;margin:4px 0 12px 20px;max-width:45%}
.prose img.img-center{margin:14px auto}
.prose table{width:100%;border-collapse:collapse;margin:16px 0}
.prose th,.prose td{border:1px solid var(--line);padding:10px 12px;text-align:left}
.prose blockquote{border-left:3px solid var(--green);padding:6px 0 6px 18px;margin:16px 0;color:var(--ink);font-style:italic}
