/*
Theme Name: CMAAA Assam
Theme URI: https://cmaaaassam.com/
Author: Manuj Saikia
Description: Lightweight, mobile-first CMAAA Assam theme with a CMAAA 3.0 homepage, application guidance, SEO metadata, FAQ and responsive navigation.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: cmaaa-assam
*/

:root{--ink:#1f2937;--tea:#ea580c;--tea-d:#111827;--mist:#fff7ed;--red:#ea580c;--gold:#fb923c;--paper:#f8fafc;--line:#e5e7eb;--mut:#4b5563;--w:1180px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px;-webkit-text-size-adjust:100%}
body{margin:0;font:17px/1.75 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Bengali",Arial,sans-serif;color:var(--ink);background:var(--paper)}
img,svg,video{max-width:100%;height:auto}
a{color:var(--tea);text-underline-offset:3px}
a:hover{color:var(--red)}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
h1,h2,h3,h4{font-weight:800;line-height:1.25;color:var(--tea-d);margin:1.6em 0 .55em}
h1{font-size:clamp(1.9rem,5vw,3rem);margin-top:0}
h2{font-size:clamp(1.45rem,3.2vw,2rem)}
h3{font-size:1.25rem}
p,ul,ol{margin:0 0 1.1em}
.wrap{max-width:var(--w);margin:0 auto;padding:0 18px}
.skip{position:absolute;left:-999px;top:8px;background:#fff;padding:8px 14px;z-index:999}
.skip:focus{left:8px}
#progress{position:fixed;left:0;top:0;height:3px;width:0;background:var(--gold);z-index:200;transition:width .1s linear}

/* Gamosa weave: the one signature element */
.weave{height:10px;background:repeating-linear-gradient(90deg,var(--red) 0 22px,#fff 22px 30px,var(--red) 30px 52px,var(--tea-d) 52px 60px)}

/* Header */
.hdr{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);z-index:100}
.hdr-in{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--tea-d);font:800 1.2rem system-ui,sans-serif}
.brand img{width:42px;height:42px;display:block}
.burger{display:none;background:var(--tea-d);color:#fff;border:0;border-radius:8px;padding:9px 14px;font:600 .95rem system-ui,sans-serif;cursor:pointer}
.nav .menu{list-style:none;margin:0;padding:0;display:flex;gap:4px;flex-wrap:wrap}
.nav .menu a{display:block;padding:10px 13px;text-decoration:none;color:var(--ink);font-weight:600;font-size:.97rem;border-radius:8px}
.nav .menu a:hover,.nav .current-menu-item>a{background:var(--mist);color:var(--tea-d)}
.nav .menu li{position:relative}
.nav .sub-menu{display:none;position:absolute;left:0;top:100%;min-width:210px;background:#fff;border:1px solid var(--line);border-radius:8px;list-style:none;margin:0;padding:6px;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{display:block}

/* Hero */
.hero{background:var(--tea-d);color:#eef5f0;padding:44px 0 40px}
.hero-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:34px;align-items:center}
.hero h1{color:#fff}
.hero p{font-size:1.1rem;max-width:62ch}
.btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.btn{display:inline-block;padding:13px 22px;border-radius:8px;font-weight:700;text-decoration:none;border:2px solid transparent}
.btn-1{background:var(--gold);color:#201400}
.btn-1:hover{background:#f0b232;color:#201400}
.btn-2{border-color:#9bc2ae;color:#fff}
.btn-2:hover{background:#fff;color:var(--tea-d)}
.glance{background:#fff;color:var(--ink);border-radius:var(--r);padding:6px 18px 10px;border-top:6px solid var(--red)}
.glance h2{font-size:1.15rem;margin:.8em 0 .3em}
.glance table{width:100%;border-collapse:collapse;font-size:.95rem}
.glance th,.glance td{text-align:left;padding:9px 0;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.45}
.glance th{width:34%;color:var(--mut);font-weight:600;padding-right:10px}
.glance tr:last-child th,.glance tr:last-child td{border-bottom:0}

/* Layout */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:38px;padding:34px 0 20px}
.article{min-width:0}
.article>section{margin-bottom:8px}
.article h2:first-child{margin-top:0}
.side{position:sticky;top:84px;align-self:start;display:grid;gap:18px;max-height:calc(100vh - 100px);overflow:auto}
.box{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px 18px}
.box h2,.box h3{font-size:1.05rem;margin:0 0 .6em}
.box ul,.toc ol{margin:0;padding-left:1.1em}
.box li,.toc li{margin:.28em 0;line-height:1.45;font-size:.96rem}
.toc a{text-decoration:none}
.toc a.on{color:var(--red);font-weight:700}
.toc li.l3{margin-left:1em;font-size:.92rem}
.toc{background:var(--mist);border-radius:var(--r);padding:14px 18px;margin:0 0 1.5em}
.toc summary{font-weight:700;cursor:pointer;color:var(--tea-d)}
.mtoc{display:none}

/* Content blocks */
.tbl{overflow-x:auto;margin:0 0 1.3em;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.tbl table{width:100%;border-collapse:collapse;min-width:520px;font-size:.97rem}
.tbl th,.tbl td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.tbl th{background:var(--tea-d);color:#fff;font-weight:600}
.tbl tr:last-child td{border-bottom:0}
.note{border-left:5px solid var(--gold);background:#fff8e6;padding:14px 18px;border-radius:0 var(--r) var(--r) 0;margin:0 0 1.3em}
.warn{border-left-color:var(--red);background:#fdeeed}
.steps{list-style:none;counter-reset:s;padding:0}
.steps li{counter-increment:s;position:relative;padding:4px 0 14px 54px;margin:0}
.steps li::before{content:counter(s);position:absolute;left:0;top:2px;width:36px;height:36px;border-radius:50%;background:var(--tea);color:#fff;display:grid;place-items:center;font-weight:700}
.steps li::after{content:"";position:absolute;left:17px;top:42px;bottom:2px;width:2px;background:var(--line)}
.steps li:last-child::after{display:none}
.steps strong{display:block;color:var(--tea-d)}
.ticks{list-style:none;padding:0}
.ticks li{padding-left:28px;position:relative;margin:.45em 0}
.ticks li::before{content:"";position:absolute;left:3px;top:.62em;width:11px;height:6px;border-left:3px solid var(--tea);border-bottom:3px solid var(--tea);transform:rotate(-45deg)}
.checker{background:var(--mist);border-radius:var(--r);padding:20px;margin:0 0 1.4em}
.checker label{display:flex;gap:10px;align-items:flex-start;padding:7px 0;cursor:pointer;line-height:1.45}
.checker input{width:20px;height:20px;margin-top:2px;accent-color:var(--tea);flex:none}
.res{margin-top:12px;padding:12px 16px;background:#fff;border-radius:8px;border:2px solid var(--tea);font-weight:600}
.res[hidden]{display:none}
.bar{height:8px;background:#fff;border-radius:8px;overflow:hidden;margin-top:10px}
.bar i{display:block;height:100%;width:0;background:var(--tea);transition:width .25s}

/* FAQ */
.faq details{background:#fff;border:1px solid var(--line);border-radius:var(--r);margin:0 0 10px}
.faq summary{padding:15px 48px 15px 18px;font-weight:700;cursor:pointer;position:relative;list-style:none;color:var(--tea-d)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:1.5rem;color:var(--red)}
.faq details[open] summary::after{content:"\2212"}
.faq details[open]{border-color:var(--tea)}
.faq .a{padding:0 18px 6px}

/* Cards */
.sec-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:34px 0 14px}
.sec-h h2{margin:0}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.card .th{display:block;aspect-ratio:16/9;background:var(--mist)}
.card .th img{width:100%;height:100%;object-fit:cover;display:block}
.card .ph{display:grid;place-items:center;height:100%;color:var(--tea);font:800 1.4rem system-ui,sans-serif}
.card .bd{padding:14px 16px 16px}
.card h3{font-size:1.08rem;margin:0 0 .4em}
.card h3 a{text-decoration:none;color:var(--tea-d)}
.card h3 a:hover{color:var(--red)}
.meta{font-size:.86rem;color:var(--mut)}
.card p{font-size:.95rem;margin:.3em 0 0;color:var(--mut)}

/* Posts and pages */
.page-top{background:var(--mist);padding:26px 0 22px;border-bottom:1px solid var(--line)}
.page-top h1{font-size:clamp(1.7rem,4.5vw,2.5rem);margin:.2em 0 .3em}
.crumbs{font-size:.88rem;color:var(--mut)}
.crumbs a{color:var(--mut)}
.entry img{border-radius:8px}
.entry h2{margin-top:1.8em}
.entry table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.entry th,.entry td{border:1px solid var(--line);padding:9px 12px}
.entry blockquote{border-left:4px solid var(--gold);margin:1.2em 0;padding:.4em 1.2em;background:#fff}
.entry pre{overflow:auto;background:#10201a;color:#e7f1ea;padding:14px;border-radius:8px}
.hero-img{margin:0 0 1.4em}
.hero-img img{width:100%;border-radius:var(--r)}
.pager{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:30px 0}
.pager a,.pager span{padding:9px 15px;border:1px solid var(--line);border-radius:8px;text-decoration:none;background:#fff}
.pager .current{background:var(--tea-d);color:#fff;border-color:var(--tea-d)}
.search-form{display:flex;gap:8px}
.search-form input[type=search]{flex:1;padding:11px 14px;border:1px solid var(--line);border-radius:8px;font:inherit}
.search-form input[type=submit]{background:var(--tea-d);color:#fff;border:0;border-radius:8px;padding:0 18px;font-weight:700;cursor:pointer}
.prevnext{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:26px 0}
.prevnext a{display:block;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r);background:#fff;text-decoration:none;font-weight:600}
.prevnext .nx{text-align:right}
.alignleft{float:left;margin:0 1em 1em 0}.alignright{float:right;margin:0 0 1em 1em}.aligncenter{display:block;margin:0 auto 1em}
.wp-caption{max-width:100%}.wp-caption-text,figcaption{font-size:.88rem;color:var(--mut)}

/* Footer */
.ftr{background:var(--tea-d);color:#d5e4db;margin-top:40px}
.ftr-in{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px;padding:36px 18px 24px}
.ftr h2{color:#fff;font-size:1.1rem;margin:0 0 .7em}
.ftr a{color:#d5e4db}
.ftr a:hover{color:var(--gold)}
.ftr ul{list-style:none;margin:0;padding:0}
.ftr li{margin:.4em 0}
.ftr p{font-size:.95rem}
.copy{border-top:1px solid rgba(255,255,255,.15);padding:16px 18px;font-size:.88rem;text-align:center}
.totop{position:fixed;right:16px;bottom:16px;width:44px;height:44px;border-radius:50%;border:0;background:var(--red);color:#fff;font-size:1.3rem;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .2s;z-index:90}
.totop.show{opacity:1;pointer-events:auto}

/* Responsive */
@media (max-width:980px){
.layout{grid-template-columns:1fr}
.side{position:static;max-height:none;grid-template-columns:1fr 1fr}
.side .toc-box{display:none}
.mtoc{display:block}
.grid{grid-template-columns:repeat(2,1fr)}
.hero-grid{grid-template-columns:1fr}
.ftr-in{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
body{font-size:16.5px}
.burger{display:block}
.nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:8px 14px 14px;box-shadow:0 12px 24px rgba(0,0,0,.08)}
.nav.open{display:block}
.nav .menu{flex-direction:column;gap:0}
.nav .sub-menu{display:block;position:static;border:0;box-shadow:none;padding:0 0 0 14px}
.hdr{position:sticky}
.hero{padding:30px 0}
.side{grid-template-columns:1fr}
.grid{grid-template-columns:1fr}
.ftr-in{grid-template-columns:1fr}
.prevnext{grid-template-columns:1fr}
.btn{flex:1;text-align:center}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* ===== Homepage (orange reference design) ===== */
.hp-top{background:#16a34a;color:#fff;text-align:center;font-size:13px;font-weight:600;padding:7px 10px}
.hp-top a{color:#fff;text-decoration:none}
.hp-hero{background:linear-gradient(135deg,#f97316,#ea580c 60%,#fb923c);color:#fff;padding:46px 0 100px}
.hp-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:center}
.hp-badge{display:inline-block;background:rgba(255,255,255,.22);padding:5px 14px;border-radius:99px;font-size:.85rem;font-weight:600;margin-bottom:14px}
.hp-hero h1{color:#fff;font-size:clamp(1.9rem,4.8vw,2.9rem);margin:0 0 .45em}
.hp-hero p{color:#fff3e8;font-size:1.05rem;max-width:60ch}
.hp-btns{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.hp-btn{display:inline-block;background:#fff;color:#c2410c;padding:12px 20px;border-radius:9px;font-weight:700;text-decoration:none;font-size:.95rem;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.hp-btn:hover{background:#111827;color:#fff}
.hp-btn.o{background:rgba(255,255,255,.18);color:#fff;box-shadow:none;border:1px solid rgba(255,255,255,.5)}
.hp-img{justify-self:center;width:100%;max-width:400px}
.hp-img img{display:block;width:100%;height:auto;border-radius:16px;border:5px solid #111827;box-shadow:0 18px 40px rgba(0,0,0,.28)}
.hp-stats{position:relative;margin-top:-64px;background:#fff;border-radius:14px;box-shadow:0 10px 30px rgba(17,24,39,.12);display:grid;grid-template-columns:repeat(4,1fr);padding:22px 10px;text-align:center}
.hp-stats b{display:block;font-size:1.7rem;color:#111827;line-height:1.2}
.hp-stats span{font-size:.88rem;color:var(--mut)}
.hp-feat{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:26px 0 10px}
.hp-feat a{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 16px;text-align:center;text-decoration:none;color:var(--ink);box-shadow:0 4px 14px rgba(17,24,39,.05)}
.hp-feat a:hover{border-color:#ea580c}
.hp-ic{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;margin:0 auto 10px;font-size:1.4rem;background:#ffedd5}
.hp-feat b{display:block;color:#111827;margin-bottom:4px}
.hp-feat small{color:var(--mut);font-size:.86rem;line-height:1.4;display:block}
.hp-dark{background:linear-gradient(180deg,#14203b,#0b1220);color:#fff;padding:56px 0;margin-top:40px}
.hp-form{max-width:580px;margin:0 auto;background:#17233f;border:1px solid #28365a;border-radius:16px;padding:30px 28px}
.hp-form h2{color:#fff;text-align:center;font-size:1.5rem;margin:0 0 .3em}
.hp-form .sub{text-align:center;color:#c7d2e8;font-size:.95rem;margin:0 0 20px}
.hp-form label{display:block;font-weight:700;font-size:.92rem;margin:16px 0 6px}
.hp-form select{width:100%;padding:12px 14px;border-radius:8px;border:1px solid #cbd5e1;background:#fff;color:#111827;font:inherit;font-size:.95rem}
.hp-form button{width:100%;margin-top:22px;padding:14px;border:0;border-radius:9px;background:#f97316;color:#fff;font:800 1rem system-ui,sans-serif;cursor:pointer}
.hp-form button:hover{background:#ea580c}
.hp-result{margin-top:18px;padding:14px 16px;border-radius:10px;background:#fff;color:#111827;font-weight:600;line-height:1.5}
.hp-result[hidden]{display:none}
.hp-result.ok{border-left:6px solid #16a34a}
.hp-result.no{border-left:6px solid #ea580c}
.hp-sec{padding:44px 0 6px;text-align:center}
.hp-sec>.wrap>h2{margin:0 0 .25em;font-size:1.7rem}
.hp-sec .sub{color:var(--mut);margin:0 0 22px}
.hp-sec .grid{text-align:left}
.hp-more{display:inline-block;margin-top:22px;background:#16a34a;color:#fff;padding:11px 24px;border-radius:99px;font-weight:700;text-decoration:none}
.hp-more:hover{background:#111827;color:#fff}
.hp-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;text-align:left}
.hp-tools a{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;text-decoration:none;color:var(--ink)}
.hp-tools a:hover{border-color:#ea580c}
.hp-tools .hp-ic{margin:0;flex:none;width:40px;height:40px;font-size:1.15rem}
.hp-tools b{display:block;font-size:.95rem;color:#111827}
.hp-tools small{color:var(--mut);font-size:.82rem}
.hp-art{max-width:900px;margin:0 auto;padding:44px 18px 10px}
.hp-art>h2.big{text-align:left;font-size:1.7rem;margin-top:0}
.hp-art section{margin-bottom:6px}
.hp-art .faq{margin-top:26px}
.oi-pad{max-width:900px;margin:0 auto;padding:0 18px 10px}
@media (max-width:980px){.hp-hero-grid{grid-template-columns:1fr}.hp-img{max-width:340px}.hp-tools{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){.hp-hero{padding:32px 0 90px}.hp-stats{grid-template-columns:repeat(2,1fr);row-gap:16px}.hp-feat{grid-template-columns:repeat(2,1fr)}.hp-tools{grid-template-columns:1fr}.hp-form{padding:24px 16px}.hp-btn{flex:1;text-align:center}}
@media (max-width:420px){.hp-feat{grid-template-columns:1fr}}

/* ===== Pixel-match pass vs. reference ===== */
.hp-top{background:linear-gradient(90deg,#16a34a,#22c55e 50%,#16a34a);padding:6px 10px;font-size:12px}
.hdr{border-bottom:1px solid #eef0f3;box-shadow:0 1px 6px rgba(17,24,39,.04)}
.hdr-in{min-height:52px;gap:10px}
.brand{font:800 1.15rem system-ui,sans-serif;color:#111827}
.brand img{width:32px;height:32px}
.brand .bn em{font-style:normal;color:#ea580c}
.nav{margin-left:auto}
.nav .menu a{padding:7px 10px;font-size:12.5px;font-weight:500;color:#374151;border-radius:6px}
.hdr-cta{background:#ea580c;color:#fff;padding:8px 14px;border-radius:8px;font-size:12.5px;font-weight:700;text-decoration:none;white-space:nowrap}
.hdr-cta:hover{background:#c2410c;color:#fff}
.hp-hero{padding:40px 0 96px}
.hp-hero-grid{grid-template-columns:1.25fr .75fr}
.hp-hero h1{font-size:clamp(1.8rem,4.2vw,2.6rem);line-height:1.15}
.hp-hero p{font-size:.95rem;line-height:1.65}
.hp-btns{flex-wrap:wrap}
.hp-btn{padding:11px 16px;border-radius:8px;font-size:.86rem;min-width:150px;text-align:center}
.hp-img img{border:4px solid #0f172a;border-radius:10px}
.hp-stats{border-radius:12px;padding:20px 10px}
.hp-stats b{font-size:1.5rem;font-weight:800}
.hp-feat{gap:16px;margin-top:30px}
.hp-feat a{border-radius:12px;padding:26px 14px;box-shadow:0 2px 10px rgba(17,24,39,.05)}
.hp-ic{border-radius:10px}
.hp-ic.t1{background:#ffedd5}.hp-ic.t2{background:#dcfce7}.hp-ic.t3{background:#ede9fe}
.hp-feat b{font-size:.92rem}
.hp-dark{background:linear-gradient(180deg,#15233f 0,#0b1424 100%);padding:60px 0 64px;margin-top:44px}
.hp-form{background:#16233f;border:1px solid #243457;max-width:560px}
.hp-form h2{font-size:1.25rem}
.hp-form label{font-size:.82rem}
.hp-form select{border-radius:6px;padding:11px 12px;font-size:.88rem}
.hp-form button{background:#f97316;border-radius:8px;font-size:.92rem}
.hp-sec{padding:50px 0 6px}
.hp-sec>.wrap>h2{font-size:1.45rem}
.hp-sec .sub{font-size:.88rem}
.card{border-radius:12px;box-shadow:0 2px 10px rgba(17,24,39,.05)}
.card .bd{padding:14px 16px 16px}
.card .pill{display:inline-block;background:#fff1e6;color:#c2410c;font-size:10px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;padding:3px 9px;border-radius:5px;margin-bottom:8px}
.card h3{font-size:.98rem;line-height:1.35}
.card .meta{font-size:.76rem;color:#6b7280}
.grid.c2{max-width:760px;margin-left:auto;margin-right:auto;grid-template-columns:repeat(2,1fr)}
.grid.c1{max-width:370px;margin-left:auto;margin-right:auto;grid-template-columns:1fr}
.hp-more{background:#16a34a;font-size:.85rem;padding:10px 22px}
.hp-tools a{border-radius:10px;padding:12px 14px;box-shadow:none}
.hp-tools .hp-ic{border-radius:8px}
.hp-art{max-width:1000px;padding-top:48px}
.hp-art>h2.big{font-size:1.2rem}
.faq summary::after{content:"\25BE";font-size:1rem;color:#6b7280}
.faq details[open] summary::after{content:"\25B4"}
.faq details{border-radius:8px}
.faq summary{font-size:.92rem;color:#111827}
.ftr{background:#0f172a;margin-top:46px;color:#aab4c4}
.ftr-in{padding:46px 18px 30px;grid-template-columns:1.3fr 1fr 1fr;max-width:1000px}
.ftr h2{font-size:.9rem;color:#fff}
.ftr p,.ftr li,.ftr a{font-size:.82rem;color:#aab4c4}
.ftr a:hover{color:#fb923c}
.copy{border-top:1px solid #1e293b;color:#7c8798;font-size:.78rem;padding:20px 18px}
@media (max-width:760px){.hdr-cta{display:none}.nav{margin-left:0}.hp-btn{min-width:0}.grid.c2{grid-template-columns:1fr}}

/* ===== Eligibility checker: exact dark glass card ===== */
.hp-dark{background:linear-gradient(135deg,#1b1e36 0,#161a2e 55%,#12162a 100%);padding:56px 0 60px}
.hp-form{max-width:700px;width:100%;background:linear-gradient(135deg,#2a2f49 0,#222640 100%);border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:44px 40px 40px;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.hp-form h2{font:800 1.85rem/1.25 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#fff;text-align:center;margin:0 0 .45em}
.hp-form .sub{color:#b4b8c9;font-size:1rem;text-align:center;margin:0 0 26px}
.hp-form label{display:block;color:#fff;font-weight:700;font-size:.9rem;margin:20px 0 9px}
.hp-form select{display:block;width:100%;height:52px;padding:0 16px;background:#3d4155;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:10px;font:400 1rem system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;cursor:pointer}
.hp-form select:focus{outline:2px solid #ff7a1a;outline-offset:1px}
.hp-form select option{background:#2f3347;color:#fff}
.hp-form button{display:block;width:100%;height:62px;margin-top:30px;border:0;border-radius:8px;background:linear-gradient(90deg,#ff6a00,#ff8a3d);color:#fff;font:700 1.05rem system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;cursor:pointer;transition:filter .15s}
.hp-form button:hover{filter:brightness(1.07)}
@media (max-width:560px){.hp-form{padding:30px 18px 28px}.hp-form h2{font-size:1.45rem}.hp-form select{height:50px}.hp-form button{height:56px}}

/* ===== Hero: exact match ===== */
.hp-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#ff7a14 0%,#ff8b2c 50%,#ffa45e 100%);padding:44px 0 104px}
.hp-hero::before{content:"";position:absolute;right:-90px;top:-130px;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.09)}
.hp-hero::after{content:"";position:absolute;left:-110px;bottom:-150px;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.07)}
.hp-hero .wrap{position:relative;z-index:1}
.hp-hero-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,.85fr);gap:40px;align-items:center}
.hp-hero h1{font:800 clamp(2rem,4.4vw,3rem)/1.17 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#fff;margin:0 0 .5em;letter-spacing:-.01em}
.hp-hero p{font-size:1.06rem;line-height:1.75;color:rgba(255,255,255,.93);max-width:none;margin:0}
.hp-btns{gap:16px;margin-top:30px}
.hp-btns .hp-btn{flex:1 1 170px;max-width:250px;min-width:0;padding:19px 18px;font-size:.98rem;font-weight:700;border-radius:10px;box-shadow:none}
.hp-btns .hp-btn:not(.o){background:#fff;color:#ea580c}
.hp-btns .hp-btn.o{background:rgba(255,255,255,.14);border:2px solid rgba(255,255,255,.42);color:#fff}
.hp-btns .hp-btn:hover{background:#111827;color:#fff;border-color:#111827}
.hp-img{justify-self:end;width:100%;max-width:350px;margin-right:24px}
.hp-img img{border:4px solid #fff;border-radius:14px;box-shadow:0 18px 44px rgba(120,40,0,.35)}
@media (max-width:980px){.hp-hero-grid{grid-template-columns:1fr}.hp-img{justify-self:center;margin:6px auto 0;max-width:320px}}
@media (max-width:560px){.hp-hero{padding:30px 0 92px}.hp-hero p{font-size:1rem}.hp-btns .hp-btn{flex:1 1 100%;max-width:none;padding:16px}}

/* Orunodoi homepage refinements */
.brand .bn{font-size:1.04rem;letter-spacing:-.35px}
.brand .bn em{font-style:normal;color:#ea580c}
.hp-img{max-width:330px}
.hp-img img{border:4px solid #fff;border-radius:14px}
.hp-hero{background:linear-gradient(115deg,#ff7a18 0%,#ff8b2b 58%,#ff9b50 100%)}
.hp-sec.faq-wrap{padding:34px 0 14px}
.faq-wrap .faq{max-width:100%;text-align:left}
.oi-pad{padding-top:10px;padding-bottom:28px}
@media(max-width:760px){.hp-img{max-width:270px}}

.trust-intro{padding:24px 0 0!important}.trust-intro .sub{max-width:850px;margin-left:auto;margin-right:auto}

/* CMAAA 3.0 long-form homepage */
.hp-art{line-height:1.8}.hp-art p{margin-bottom:1.05em}.hp-art h2{scroll-margin-top:90px}.hp-art h3{margin-top:1.35em}.hp-art .note{margin:18px 0}.hp-art ol,.hp-art ul{padding-left:1.35em}.hp-art .steps{padding-left:0}

/* ===== Hero image: never cropped, border always complete ===== */
.hp-hero{overflow:hidden}
.hp-hero-grid>*{min-width:0}
.hp-img{justify-self:end;width:100%;max-width:350px;margin:0 24px 0 0;padding:4px;background:#fff;border-radius:16px;box-shadow:0 18px 44px rgba(120,40,0,.35);line-height:0}
.hp-img img{display:block;width:100%;height:auto;max-width:100%;border:0;border-radius:12px;box-shadow:none;aspect-ratio:auto;object-fit:contain}
@media (max-width:980px){.hp-img{justify-self:center;margin:6px auto 0;max-width:320px}}
@media (max-width:560px){.hp-img{max-width:280px}}

/* ===== Hero: full landscape image, no crop ===== */
.hp-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px}
.hp-img{justify-self:end;width:100%;max-width:580px;margin:0;padding:4px;background:#fff;border-radius:16px;box-shadow:0 18px 44px rgba(120,40,0,.35);line-height:0}
.hp-img img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;border-radius:12px}
@media (max-width:980px){.hp-hero-grid{grid-template-columns:1fr}.hp-img{justify-self:center;max-width:620px;margin:8px auto 0}}
@media (max-width:560px){.hp-img{max-width:100%}}

/* ===== FINAL hero image: full 16:9 image, never cropped (keep last) ===== */
.hp-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:center}
.hp-hero .hp-img{justify-self:end;width:100%;max-width:600px;margin:0;padding:5px;background:#fff;border-radius:18px;box-shadow:0 18px 44px rgba(120,40,0,.35);line-height:0;overflow:visible}
.hp-hero .hp-img img{display:block;width:100%;height:auto;max-width:100%;max-height:none;aspect-ratio:1672/941;object-fit:contain;object-position:center;border:0;border-radius:13px;box-shadow:none}
@media (max-width:980px){.hp-hero-grid{grid-template-columns:1fr}.hp-hero .hp-img{justify-self:center;max-width:640px;margin:10px auto 0}}
@media (max-width:560px){.hp-hero .hp-img{max-width:100%;padding:4px;border-radius:14px}.hp-hero .hp-img img{border-radius:10px}}

/* ===== Home article heading centred ===== */
.hp-art>h2.big{text-align:center}

/* ===== Sticky footer: no blank space below footer on short pages ===== */
html{height:100%}
body{min-height:100vh;display:flex;flex-direction:column}
body.admin-bar{min-height:calc(100vh - 32px)}
@media (max-width:782px){body.admin-bar{min-height:calc(100vh - 46px)}}
body>main#main{flex:1 0 auto;width:100%}
body>.ftr{flex-shrink:0;margin-top:46px}
body>.totop{flex-shrink:0}
