
:root{--navy:#102C4A;--teal:#176B87;--gold:#F2B544;--grey:#F3F6FA;--ink:#16283f;--muted:#4a5a6e}
*{box-sizing:border-box}html,body{overflow-x:hidden}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);line-height:1.65;background:#fff}
a{color:var(--teal)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.skip{position:absolute;left:-9999px}.skip:focus{left:8px;top:8px;background:var(--gold);color:var(--navy);padding:8px;z-index:99}
header.site{background:var(--navy);color:#fff;position:sticky;top:0;z-index:50}.topbar{max-width:1180px;margin:0 auto;padding:10px 16px;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.brand{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none}.brand img{width:48px;height:48px}.brand b{font-size:20px;line-height:1.1}.brand span{display:block;font-size:13px;color:#cfe3ee}
nav.main ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;flex-wrap:wrap}nav.main a{color:#fff;text-decoration:none;padding:8px 10px;border-radius:6px;display:inline-block}nav.main a:hover,nav.main a:focus{background:var(--teal)}
.dropdown{position:relative}.dropdown>button{background:none;border:0;color:#fff;padding:8px 10px;font-size:16px;cursor:pointer;border-radius:6px}.dropdown>button:hover{background:var(--teal)}
.dropdown-menu{display:none;position:absolute;left:0;top:100%;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.2);border-radius:8px;min-width:230px;padding:8px;z-index:60}.dropdown-menu a{color:var(--navy);display:block}.dropdown-menu a:hover{background:var(--grey)}
.dropdown.open .dropdown-menu{display:block}
.hamburger{display:none;background:var(--gold);color:var(--navy);border:0;padding:10px 14px;border-radius:8px;font-weight:700;cursor:pointer}
.searchbox{display:flex;gap:6px}.searchbox input{padding:9px;border-radius:8px;border:1px solid #ccc;min-width:200px}.searchbox button,.btn{background:var(--gold);color:var(--navy);border:0;padding:10px 16px;border-radius:8px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}.btn.secondary{background:var(--teal);color:#fff}.btn.ghost{background:#fff;color:var(--navy);border:2px solid var(--navy)}
main{max-width:1180px;margin:0 auto;padding:16px}.hero{background:var(--grey);border:1px solid #dbe6f0;border-radius:16px;padding:28px}.hero h1{color:var(--navy);font-size:38px;line-height:1.2;margin:0 0 10px}.hero p{font-size:18px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{border:1px solid #dbe6f0;border-radius:14px;padding:18px;background:#fff}.card h3{margin-top:0;color:var(--navy)}.card img{width:100%;height:auto;border-radius:10px;background:var(--grey)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tool{border:2px solid var(--teal);border-radius:14px;padding:18px;background:#fff}.tool h3{color:var(--navy);margin-top:0}.tool label{display:block;margin:10px 0 4px;font-weight:600}.tool input,.tool select,.tool textarea{width:100%;padding:10px;border:1px solid #9fb3c8;border-radius:8px;font-size:16px}.tool .result{margin-top:12px;background:var(--grey);border-radius:10px;padding:12px}
.warn{background:#fff8e1;border:2px solid var(--gold);border-radius:12px;padding:14px;margin:16px 0}.info{background:var(--grey);border-left:5px solid var(--teal);border-radius:8px;padding:14px;margin:16px 0}
.breadcrumb{font-size:14px;color:var(--muted);margin-bottom:8px}.breadcrumb a{color:var(--teal)}
.article{max-width:820px;margin:0 auto}.article h1{color:var(--navy);font-size:34px;line-height:1.25}.article h2{color:var(--navy);border-bottom:3px solid var(--gold);padding-bottom:6px;margin-top:32px}.article h3{color:var(--teal)}
.table-wrap{overflow-x:auto}.table-wrap table{border-collapse:collapse;width:100%;min-width:520px}.table-wrap th{background:var(--navy);color:#fff;padding:10px;text-align:left}.table-wrap td{border:1px solid #dbe6f0;padding:10px;vertical-align:top}
.toc{background:var(--grey);border-radius:12px;padding:16px}.toc a{color:var(--navy)}
.faq{border:1px solid #dbe6f0;border-radius:12px;padding:14px;margin:12px 0}.faq h3{margin-top:0}
footer.site{background:var(--navy);color:#fff;margin-top:40px}footer.site a{color:#cfe3ee}footer.site .foot{max-width:1180px;margin:0 auto;padding:28px 16px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:20px}
.catlabel{display:inline-block;background:var(--teal);color:#fff;padding:4px 10px;border-radius:20px;font-size:13px;font-weight:700;text-decoration:none}
.checklist li{list-style:none;margin:6px 0}.checklist input{width:auto;margin-right:8px}
.pagination{display:flex;gap:10px;align-items:center;justify-content:center;margin:24px 0}.pagination a,.pagination span{padding:8px 14px;border:1px solid #dbe6f0;border-radius:8px;text-decoration:none}
@media(max-width:1024px){.cards{grid-template-columns:1fr 1fr}footer.site .foot{grid-template-columns:1fr 1fr}}
@media(max-width:768px){.cards,.grid2{grid-template-columns:1fr}footer.site .foot{grid-template-columns:1fr}.hero h1{font-size:30px}.article h1{font-size:28px}
.hamburger{display:inline-block}nav.main{display:none}nav.main.open{display:block}nav.main ul{flex-direction:column}.dropdown-menu{position:static;box-shadow:none;background:var(--grey)}.searchbox input{min-width:140px}}

.dropdown-menu.mega{min-width:720px;max-width:920px;max-height:80vh;overflow:auto}.dropdown.open .dropdown-menu.mega{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;padding:16px}.mega-cat{margin-bottom:8px}.mega-cat h4{margin:0 0 4px;color:var(--navy);border-bottom:2px solid var(--gold);padding-bottom:4px;font-size:16px}.mega-cat h4 a{color:var(--navy);padding:0}.mega-cat a{display:block;padding:5px 6px;color:var(--navy)}.mega-cat a:hover{background:var(--grey)}.mega-cat a.all{font-weight:700}@media(max-width:768px){.dropdown-menu.mega{min-width:0;max-width:none;max-height:none}.dropdown.open .dropdown-menu.mega{grid-template-columns:1fr}}

/* Stylish heading + content design, 2026-11-01 */
/* Headings first: a clear H1 / H2 / H3 system in the locked palette */
.hero h1{font-size:42px}
.hero h1::after{content:"";display:block;width:84px;height:5px;background:var(--gold);border-radius:3px;margin-top:12px}
.article h1,.article-home>h2{font-size:36px;line-height:1.2;color:var(--navy);margin:8px 0 6px}
.article h1::after{content:"";display:block;width:84px;height:5px;background:var(--gold);border-radius:3px;margin-top:12px}
.article h2,.article-home h2{color:var(--navy);background:var(--grey);border-left:6px solid var(--gold);border-bottom:0;border-radius:0 12px 12px 0;padding:13px 16px;margin-top:38px;font-size:26px;line-height:1.3}
.article h3,.article-home h3{color:var(--teal);font-size:21px;border-bottom:2px solid #dbe6f0;padding-bottom:5px;margin-top:28px}
.article h3::before,.article-home h3::before{content:"";display:inline-block;width:10px;height:10px;background:var(--gold);border-radius:2px;margin-right:9px;vertical-align:middle}
/* Content under each heading: readable, card-like, consistent */
.article p,.article-home p{font-size:17px;line-height:1.8;margin:14px 0}
.article ul,.article-home ul,.article ol,.article-home ol{margin:14px 0;padding-left:26px}
.article li,.article-home li{margin:9px 0;line-height:1.7}
.article ul li::marker,.article-home ul li::marker{color:var(--teal);font-weight:700}
.article img,.article-home img{border-radius:14px;box-shadow:0 8px 24px rgba(16,44,74,.15);width:100%;height:auto}
.table-wrap{border:1px solid #dbe6f0;border-radius:14px;box-shadow:0 6px 18px rgba(16,44,74,.08);overflow-x:auto;margin:18px 0}
.table-wrap table{border-collapse:collapse;width:100%;min-width:520px}
.table-wrap th{background:var(--navy);color:#fff;padding:13px;text-align:left}
.table-wrap td{border:1px solid #dbe6f0;padding:12px;vertical-align:top}
.table-wrap tr:nth-child(even) td{background:var(--grey)}
.faq{background:#fff;border:1px solid #dbe6f0;border-left:5px solid var(--gold);border-radius:12px;padding:16px;margin:14px 0;box-shadow:0 4px 14px rgba(16,44,74,.07)}
.faq h3{border-bottom:0;margin-top:0;color:var(--navy)}
.faq h3::before{display:none}
.info,.warn{box-shadow:0 4px 14px rgba(16,44,74,.07)}
.card{transition:transform .15s ease,box-shadow .15s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(16,44,74,.12)}
.btn{box-shadow:0 3px 10px rgba(16,44,74,.15)}
.btn:hover{filter:brightness(.96)}
/* Scroll buttons: fixed, always reachable, top-to-bottom and bottom-to-top */
.scroll-btns{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:8px;z-index:90}
.scroll-btns button{background:var(--navy);color:#fff;border:2px solid var(--gold);padding:10px 14px;border-radius:10px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px rgba(16,44,74,.25)}
.scroll-btns button:hover{background:var(--teal)}
@media(max-width:768px){.hero h1{font-size:32px}.article h1,.article-home>h2{font-size:29px}.article h2,.article-home h2{font-size:22px;padding:11px 13px}.article p,.article-home p{font-size:16px}.scroll-btns{right:10px;bottom:10px}.scroll-btns button{padding:9px 11px;font-size:14px}}

/* Batch 2 design, 2026-11-01 */
body{font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
h1,h2,h3,h4,.brand b,.foot-logo b{font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.brand img{width:56px;height:56px}
/* Hero like the reference layout, in the locked navy/teal/gold palette */
.hero-new{background:linear-gradient(135deg,#102C4A 0%,#176B87 100%);color:#fff;border:0;padding:44px 36px 30px;box-shadow:0 12px 32px rgba(16,44,74,.25)}
.hero-new h1{color:#fff;font-size:52px;line-height:1.05}
.hero-new h1 span{color:var(--gold)}
.hero-new h1::after{background:var(--gold)}
.hero-new .hero-pill{display:inline-block;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;padding:7px 14px;border-radius:20px;font-size:14px;font-weight:700;margin:0 0 18px}
.hero-new .hero-sub{color:#dbe6f0;font-size:19px;line-height:1.6;max-width:640px}
.hero-new .hero-cta{margin:24px 0 14px}
.hero-new .hero-outline{background:transparent;color:#fff;border:2px solid #fff}
.hero-new .hero-note{color:#cfe3ee;font-size:14px;max-width:640px}
.hero-new .searchbox input{background:#fff}
.hero-services{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;background:#fff;border-radius:16px;padding:18px;margin-top:26px;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.hero-service{color:var(--navy);text-decoration:none;border-right:1px solid #dbe6f0;padding-right:14px}
.hero-service:last-child{border-right:0;padding-right:0}
.hero-service-title{display:block;font-weight:800;font-size:17px;color:var(--navy)}
.hero-service-desc{display:block;font-size:14px;color:var(--muted);margin-top:4px;line-height:1.45}
/* H2 centred, with a centred gold accent */
main h2{text-align:center}
.article h2,.article-home h2{text-align:center;border-left:0;border-radius:12px;padding:16px}
.article h2::after,.article-home h2::after{content:"";display:block;width:64px;height:4px;background:var(--gold);margin:12px auto 0;border-radius:2px}
main h2::after{content:"";display:block;width:64px;height:4px;background:var(--gold);margin:12px auto 0;border-radius:2px}
/* Numbered category listings in the header mega-menu */
.mega-cat ol{list-style:decimal;margin:6px 0;padding-left:24px}
.mega-cat ol li{margin:5px 0;color:var(--navy)}
.mega-cat ol li a{display:inline;padding:0}
/* Professional footer with a prominent logo */
.foot-brand img,.foot-logo img{width:72px;height:72px}
.foot-logo{display:flex;gap:14px;align-items:center;color:#fff;text-decoration:none}
.foot-logo b{font-size:22px;line-height:1.1}
.foot-logo span{display:block;font-size:13px;color:#cfe3ee}
footer.site .foot{align-items:start}
footer.site h3{color:#fff;border-bottom:2px solid var(--gold);padding-bottom:7px}
.foot-disclaimer{font-size:14px;color:#cfe3ee}
.foot-bottom{border-top:1px solid rgba(255,255,255,.2);text-align:center;padding:14px 16px;color:#cfe3ee;font-size:14px}
.foot-bottom p{margin:0}
@media(max-width:1024px){.hero-services{grid-template-columns:1fr 1fr}.hero-service:nth-child(2){border-right:0}}
@media(max-width:768px){.hero-new{padding:30px 20px}.hero-new h1{font-size:36px}.hero-services{grid-template-columns:1fr}.hero-service{border-right:0;border-bottom:1px solid #dbe6f0;padding-bottom:12px}.hero-service:last-child{border-bottom:0;padding-bottom:0}}

/* Batch 3 header dropdowns */
.dropdown-menu.cat-dropdown{min-width:340px;max-height:80vh;overflow:auto}
.dropdown-menu.cat-dropdown ol{list-style:decimal;margin:8px 0;padding-left:26px}
.dropdown-menu.cat-dropdown ol li{margin:6px 0;color:var(--navy)}
.dropdown-menu.cat-dropdown ol li a{display:inline;padding:0;color:var(--navy)}
.dropdown-menu.cat-dropdown a.all{display:block;font-weight:700;color:var(--navy);margin-top:8px}
@media(max-width:768px){.dropdown-menu.cat-dropdown{min-width:0;max-width:none;max-height:none}}

/* FAQ accordion */
.faq h3{cursor:pointer}
.faq h3::after{content:"+";float:right;color:var(--gold);font-weight:800;font-size:22px;line-height:1}
.faq.open h3::after{content:"\2212"}
.faq.closed > :not(h3){display:none}
.faq.open > :not(h3){display:block}

/* Homepage article images: fit mobile and desktop, never overflow */
.article-image{margin:24px auto;max-width:900px}
.article-image.portrait{max-width:420px}
.article-image img{width:100%;height:auto;display:block;border-radius:14px;box-shadow:0 8px 24px rgba(16,44,74,.15);border:1px solid #dbe6f0}
.article-image figcaption{font-size:14px;color:var(--muted);text-align:center;margin-top:10px;line-height:1.5}
/* Homepage numbering under headings: numbered badge cards */
.article-home ol{counter-reset:step;list-style:none;padding-left:0;margin:16px 0}
.article-home ol li{counter-increment:step;position:relative;background:#fff;border:1px solid #dbe6f0;border-left:5px solid var(--teal);border-radius:12px;padding:15px 16px 15px 62px;margin:12px 0;box-shadow:0 4px 14px rgba(16,44,74,.06);line-height:1.6}
.article-home ol li::before{content:counter(step);position:absolute;left:14px;top:14px;width:34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;border:2px solid var(--gold);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;line-height:1}
@media(max-width:768px){.article-home ol li{padding:13px 14px 13px 54px}.article-home ol li::before{left:12px;top:12px;width:30px;height:30px;font-size:15px}}

/* Header dropdown: proper menu, categories + posts + important pages */
.dropdown-menu.pages-menu{min-width:260px}
.dropdown-menu.pages-menu ul{list-style:none;margin:8px 0;padding:0}
.dropdown-menu.pages-menu ul li{margin:6px 0}
.dropdown-menu.pages-menu ul li a{display:block;padding:6px 8px;color:var(--navy)}
.dropdown:last-child .dropdown-menu{left:auto;right:0}
@media(max-width:768px){.dropdown>button{width:100%;text-align:left}.dropdown-menu{background:#fff;border:1px solid #dbe6f0;border-radius:8px;padding:12px;margin:4px 0 12px}.dropdown:last-child .dropdown-menu{left:0;right:auto}}

footer.site h3 a{color:#fff;text-decoration:none}

/* Hero status tool: white card on the dark hero, fits mobile and desktop */
.hero-tool{margin:22px 0;color:var(--ink)}
.hero-tool h3{margin-top:0}
.hero-tool select{width:100%;padding:11px;border:1px solid #9fb3c8;border-radius:8px;font-size:16px;background:#fff;color:var(--ink)}
.hero-tool .result{margin-top:12px}

/* Stylish H2 design v2, site-wide for posts and pages (article title H2 excluded) */
.article h2,.article-home .article-body h2,main h2{background:linear-gradient(90deg,var(--navy),var(--teal));border-left:6px solid var(--gold);border-radius:0 14px 14px 0;padding:16px 20px 14px;margin-top:38px;font-size:26px;line-height:1.3;color:#fff;box-shadow:0 8px 22px rgba(16,44,74,.22)}
.article h2::after,.article-home .article-body h2::after,main h2::after{content:"";display:block;width:72px;height:5px;background:var(--gold);border-radius:3px;margin:12px 0 0}
.article-home>h2{background:none;border:none;box-shadow:none;color:var(--navy);padding:0;margin:8px 0 6px;font-size:36px}
.article-home>h2::after{content:"";display:block;width:64px;height:4px;background:var(--gold);border-radius:2px;margin:12px 0 0}
.hero-image{max-width:900px;margin:28px auto 0}
.hero-image img{width:100%;height:auto;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.25);display:block}
.hero-image figcaption{color:rgba(255,255,255,.85);text-align:center;font-size:14px;margin-top:10px}
@media(max-width:768px){.article h2,.article-home .article-body h2,main h2{font-size:22px;padding:12px 16px 10px}.article-home>h2{font-size:28px}}

/* Category intro + related categories */
.cat-intro{font-size:17px;line-height:1.7;max-width:820px}
.cat-related{list-style:none;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px 24px}
.cat-related li a{color:var(--navy)}
@media(max-width:768px){.cat-related{grid-template-columns:1fr}}
.hero-new .hero-top{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center;margin-bottom:24px}
.hero-new .hero-image{margin:0;max-width:none}
.hero-new .hero-image img{width:100%;height:auto;border-radius:16px;box-shadow:0 12px 30px rgba(0,0,0,.25);display:block}
@media(max-width:768px){.hero-new .hero-top{grid-template-columns:1fr;gap:20px}}
.article h1{background:#F3F6FA;color:var(--navy);font-size:38px;line-height:1.2;padding:18px 20px;border-left:6px solid var(--gold);border-radius:0 12px 12px 0;box-shadow:0 4px 16px rgba(16,44,74,.08);margin:8px 0 18px}
@media(max-width:768px){.article h1{font-size:29px;padding:14px 16px}}
/* Post H1 — more stylish, distinct from H2 (user 2026-11-01): light gradient card, full rounded corners, navy text, gold left bar + teal top accent, larger type and softer shadow. H2 stays dark navy-to-teal gradient with white text. */
.article h1{background:linear-gradient(180deg,#ffffff 0%,#F3F6FA 100%);font-size:42px;line-height:1.15;padding:26px 28px 24px;border:1px solid #dbe6f0;border-left:6px solid var(--gold);border-top:4px solid var(--teal);border-radius:16px;box-shadow:0 12px 30px rgba(16,44,74,.14);margin:10px 0 22px}
.article h1::after{width:96px;height:6px;margin-top:16px}
@media(max-width:768px){.article h1{font-size:32px;padding:20px 18px 18px}}


/* ---- CAO Design plugin hardening (appended at migration; preview rules above are untouched) ---- */
/* Mobile overflow hardening: never let a wide table push the page wider than the phone screen. */
html, body { overflow-x: hidden; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Constrain any stray WordPress emoji image so it can never blow up the layout. */
img.emoji { width: 1em !important; height: 1em !important; }

/* ---- v1.0.2: mobile no-swipe + responsive hardening (desktop rules above untouched) ---- */
/* Why the phone still swiped: (1) tables keep min-width:520px, so on a ~390px
   phone the wrapper scrolls AND iOS lets the whole page be dragged sideways
   despite overflow-x:hidden; (2) portrait figures cap at 420px, wider than a
   phone screen; (3) grid children default min-width:auto, so a wide child can
   push its grid past the viewport. Fixes, in order: clip (not just hidden)
   so the page itself can never be dragged sideways; tables REFLOW to phone
   width instead of scrolling (no inner scroll, no swipe at all); portrait
   figures capped to the screen; grid children allowed to shrink; every image
   capped to its container as a safety net. No new requests, no new assets,
   no JS change — the page stays exactly as fast as before. */
html, body { overflow-x: clip; }
body { overflow-wrap: break-word; }
img, video { max-width: 100%; height: auto; }
.hero-top > *, .hero-new .hero-top > *, .cards > *, .grid2 > *, footer.site .foot > * { min-width: 0; }
@media (max-width: 640px) {
  main { padding: 12px; }
  .article-image.portrait { max-width: 100%; }
  .table-wrap { border-radius: 10px; }
  .table-wrap table { min-width: 0; table-layout: fixed; width: 100%; }
  .table-wrap th, .table-wrap td { white-space: normal; overflow-wrap: anywhere; word-break: break-word; padding: 8px; font-size: 14px; line-height: 1.5; }
  .hero-new { padding: 24px 16px; }
}
