/* ============================================================
   Crossmark CMS — Design System
   Colors: Navy #0A2C80 · Orange #E8440A · Cream #F8F5EF
   Fonts: Roboto (display) · DM Sans (body)
   ============================================================ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --navy:#0A2C80;
  --navy-mid:#1A3872;
  --navy-card:#243D80;
  --navy-border:rgba(10,44,128,0.12);
  --orange:#E8440A;
  --orange-light:#F26B35;
  --cream:#F8F5EF;
  --warm-white:#FDFCF9;
  --text-dark:#1A1714;
  --text-mid:#4A4540;
  --text-muted:#6E6860;
  --green:#1B7A4A;
  --gold:#F8C84A;
  --font-display:'Roboto',system-ui,sans-serif;
  --font-body:'DM Sans',system-ui,sans-serif;
  --max-w:1140px;
  --transition:all .2s ease;
}

html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font-body);background:var(--warm-white);color:var(--text-dark);line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}

/* === ANIMATIONS === */
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:sticky;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 40px;height:68px;
  background:var(--navy);
  box-shadow:0 2px 16px rgba(0,0,0,.18);
}
.nav.scrolled{box-shadow:0 4px 24px rgba(0,0,0,.25)}
.nav-logo img{display:block;height:36px;width:auto;object-fit:contain}
.nav-links{display:flex;align-items:center;gap:28px;list-style:none}
.nav-links a{color:rgba(255,255,255,.82);font-size:14px;text-decoration:none;transition:color .2s;font-weight:400}
.nav-links a:hover,.nav-links a.active{color:#fff}
.nav-cta{
  background:var(--orange)!important;color:#fff!important;
  padding:10px 22px;border-radius:7px;font-weight:600!important;font-size:14px!important;
  transition:background .2s!important;
}
.nav-cta:hover{background:var(--orange-light)!important}
.mobile-toggle{display:none;background:none;border:none;cursor:pointer;color:#fff;padding:4px}

@media(max-width:900px){
  .nav{padding:0 24px}
  .nav-links{display:none;position:absolute;top:68px;left:0;right:0;background:var(--navy);flex-direction:column;align-items:flex-start;gap:0;padding:1rem 0;border-top:1px solid rgba(255,255,255,.1)}
  .nav-links.open{display:flex}
  .nav-links li{width:100%}
  .nav-links a{display:block;padding:12px 24px;border-bottom:1px solid rgba(255,255,255,.06);font-size:15px}
  .nav-links li:last-child a{border-bottom:none}
  .mobile-toggle{display:block}
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--orange);color:#fff;
  font-family:var(--font-body);font-weight:700;font-size:15px;
  padding:14px 28px;border-radius:8px;text-decoration:none;
  border:none;cursor:pointer;transition:background .2s,transform .1s;
}
.btn-primary:hover{background:var(--orange-light);transform:translateY(-1px)}
.btn-secondary{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.1);color:#fff;
  border:1.5px solid rgba(255,255,255,.3);
  font-family:var(--font-body);font-weight:500;font-size:15px;
  padding:13px 26px;border-radius:8px;text-decoration:none;
  transition:background .2s;cursor:pointer;
}
.btn-secondary:hover{background:rgba(255,255,255,.2)}
.btn-outline{
  display:inline-flex;align-items:center;gap:8px;
  background:transparent;color:var(--navy);
  border:1.5px solid var(--navy-border);
  font-family:var(--font-body);font-weight:500;font-size:15px;
  padding:12px 24px;border-radius:8px;text-decoration:none;
  transition:all .2s;cursor:pointer;
}
.btn-outline:hover{border-color:var(--orange);color:var(--orange)}

/* ============================================================
   PAGE HERO (interior pages with breadcrumb + form)
   ============================================================ */
.page-hero-wrap{background:var(--navy);padding:72px 40px 64px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
@media(max-width:900px){.page-hero-wrap{grid-template-columns:1fr;padding:48px 24px 40px}}
.page-hero-text h1{font-family:var(--font-display);font-size:clamp(28px,3.5vw,46px);font-weight:900;color:#fff;line-height:1.08;margin-bottom:18px}
.page-hero-text h1 em{color:var(--gold);font-style:normal}
.page-hero-text .hero-desc{color:rgba(255,255,255,.78);font-size:16px;line-height:1.7;margin-bottom:28px;max-width:480px}
.trust-list{display:flex;flex-direction:column;gap:10px;margin-top:24px}
.trust-item{display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.65);font-size:13px}
.trust-item svg{flex-shrink:0}

/* Specs strip */
.specs-strip{background:var(--cream);border-bottom:1px solid var(--navy-border);padding:20px 40px;display:grid;grid-template-columns:repeat(4,1fr)}
@media(max-width:768px){.specs-strip{grid-template-columns:repeat(2,1fr);padding:20px 24px}}
.spec-item{padding:10px 20px;border-right:1px solid var(--navy-border)}
.spec-item:last-child{border-right:none}
.spec-label{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--text-muted);font-weight:600;margin-bottom:4px}
.spec-value{font-size:15px;font-weight:600;color:var(--navy)}

/* Contact form card */
.hero-form-wrap{background:#fff;border-radius:16px;padding:32px 28px;box-shadow:0 24px 48px rgba(0,0,0,.18)}
.hero-form-wrap h3{font-family:var(--font-display);font-size:20px;font-weight:700;color:var(--navy);margin-bottom:4px}
.form-sub{font-size:14px;color:var(--text-muted);margin-bottom:20px}
.form-group{margin-bottom:14px}
.form-group label{display:block;font-size:12px;font-weight:600;color:var(--text-mid);letter-spacing:.4px;text-transform:uppercase;margin-bottom:5px}
.form-group input,.form-group select,.form-group textarea{
  width:100%;padding:10px 14px;
  border:1.5px solid rgba(10,44,128,.15);border-radius:8px;
  font-family:var(--font-body);font-size:14px;color:var(--text-dark);
  background:var(--warm-white);transition:border-color .2s;outline:none;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--navy);background:#fff}
.form-group textarea{resize:vertical;min-height:72px}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:480px){.form-row-2{grid-template-columns:1fr}}
.form-submit{
  width:100%;background:var(--orange);color:#fff;border:none;
  padding:13px 24px;border-radius:8px;font-family:var(--font-body);
  font-size:15px;font-weight:700;cursor:pointer;transition:background .2s,transform .1s;margin-top:4px;
}
.form-submit:hover{background:var(--orange-light);transform:translateY(-1px)}
.form-privacy{font-size:11px;color:var(--text-muted);text-align:center;margin-top:10px}

/* ============================================================
   HOME HERO (full-width)
   ============================================================ */
.home-hero{
  position:relative;min-height:580px;display:flex;align-items:center;
  overflow:hidden;background:var(--navy);
}
.home-hero-bg{
  position:absolute;inset:0;
  background-image:linear-gradient(105deg,rgba(10,44,128,.85) 40%,rgba(10,44,128,.48) 100%),
    url('https://crossmark.no/wp-content/uploads/2021/11/oppheng-rema-crossmark.jpg');
  background-size:cover;background-position:center 30%;
}
.home-hero-content{position:relative;z-index:2;max-width:780px;margin:0 auto;padding:100px 40px;text-align:center;width:100%}
.home-hero h1{font-family:var(--font-display);font-size:clamp(36px,5vw,64px);font-weight:900;color:#fff;line-height:1.05;margin-bottom:22px}
.home-hero h1 em{color:var(--gold);font-style:normal}
.home-hero .hero-sub{font-size:19px;color:rgba(255,255,255,.80);line-height:1.7;max-width:580px;margin:0 auto 40px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}

/* Stats strip (home) */
.stats-strip{background:var(--cream);border-bottom:1px solid var(--navy-border);padding:24px 40px;display:grid;grid-template-columns:repeat(4,1fr)}
@media(max-width:768px){.stats-strip{grid-template-columns:repeat(2,1fr);padding:20px 24px}}
.stat-item{padding:12px 24px;border-right:1px solid var(--navy-border);text-align:center}
.stat-item:last-child{border-right:none}
.stat-item .num{font-family:var(--font-display);font-size:30px;font-weight:900;color:var(--navy);line-height:1}
.stat-item .label{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:var(--text-muted);margin-top:4px}

/* ============================================================
   SECTIONS (content pages)
   ============================================================ */
main{width:100%}
.section{padding:72px 0;border-bottom:1px solid var(--navy-border)}
.section:last-of-type{border-bottom:none}
.section-label{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:var(--orange);font-weight:600;margin-bottom:12px}
h2{font-family:var(--font-display);font-size:clamp(22px,2.8vw,34px);font-weight:700;color:var(--navy);line-height:1.2;margin-bottom:16px}
.lead{font-size:17px;color:var(--text-mid);max-width:640px;margin-bottom:40px;line-height:1.7}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb{background:var(--cream);border-bottom:1px solid var(--navy-border);padding:10px 40px}
.breadcrumb ol{list-style:none;display:flex;gap:6px;font-size:13px;color:var(--text-muted)}
.breadcrumb li:not(:last-child)::after{content:"›";margin-left:6px}
.breadcrumb a{color:var(--navy-mid);text-decoration:none}
.breadcrumb a:hover{color:var(--orange)}
@media(max-width:768px){.breadcrumb{padding:10px 20px}}

/* ============================================================
   CARDS GRID
   ============================================================ */
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:900px){.cards-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.cards-grid{grid-template-columns:1fr}}
.card{background:var(--cream);border:1px solid var(--navy-border);border-radius:12px;padding:24px;transition:transform .2s,box-shadow .2s}
.card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(10,44,128,.08)}
.card-icon{width:48px;height:48px;background:var(--navy);border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.card h3{font-size:16px;font-weight:600;color:var(--navy);margin-bottom:8px}
.card p{font-size:14px;color:var(--text-muted);line-height:1.6}

/* Two-column layout */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
@media(max-width:768px){.two-col{grid-template-columns:1fr;gap:32px}}

/* Benefits list */
.benefits-list{list-style:none;display:flex;flex-direction:column;gap:12px}
.benefit-item{display:flex;gap:14px;align-items:flex-start;padding:16px 20px;background:var(--cream);border-radius:10px;border:1px solid var(--navy-border);transition:border-color .2s}
.benefit-item:hover{border-color:rgba(232,68,10,.3)}
.benefit-icon{width:36px;height:36px;background:var(--navy);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.benefit-text{font-size:15px;color:var(--text-mid);line-height:1.55}
.benefit-text strong{color:var(--text-dark);font-weight:600;display:block;margin-bottom:2px}

/* Prop grid */
.prop-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:560px){.prop-grid{grid-template-columns:1fr}}
.prop-card{background:var(--navy);color:#fff;border-radius:10px;padding:20px}
.prop-card .prop-title{font-size:13px;font-weight:600;color:var(--gold);margin-bottom:6px}
.prop-card .prop-desc{font-size:14px;color:rgba(255,255,255,.82);line-height:1.55}

/* Image block placeholder */
.img-block{background:var(--cream);border-radius:16px;border:1px solid var(--navy-border);min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}
.img-block img{width:100%;height:100%;object-fit:cover;border-radius:16px}
.img-caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(10,44,128,.8));padding:20px;color:rgba(255,255,255,.9);font-size:13px}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
@media(max-width:700px){.faq-grid{grid-template-columns:1fr}}
.faq-col{display:flex;flex-direction:column;gap:12px}
.faq-item{border:1px solid var(--navy-border);border-radius:10px;overflow:hidden}
.faq-q{
  width:100%;background:none;border:none;padding:18px 20px;
  display:flex;justify-content:space-between;align-items:center;
  cursor:pointer;font-family:var(--font-body);font-size:15px;font-weight:600;
  color:var(--navy);text-align:left;transition:background .15s;gap:12px;
}
.faq-q:hover,.faq-item.open .faq-q{background:var(--cream)}
.faq-arrow{
  width:22px;height:22px;flex-shrink:0;border:1.5px solid var(--orange);border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:var(--orange);
  font-size:16px;font-style:normal;transition:transform .2s,background .15s;line-height:1;
}
.faq-item.open .faq-arrow{transform:rotate(45deg);background:var(--orange);color:#fff}
.faq-a{display:none;padding:0 20px 18px;font-size:14px;color:var(--text-mid);line-height:1.7;border-top:1px solid var(--navy-border);background:var(--cream)}
.faq-item.open .faq-a{display:block}

/* FAQ section block (Norse Env faq-section) */
.faq-section{background:var(--navy);padding:80px 5%}
.faq-section .section-tag{color:var(--gold);justify-content:center}
.faq-section .section-title{color:#fff;text-align:center}
.faq-section .section-sub{color:rgba(255,255,255,.7);text-align:center;margin:0 auto 2.5rem}
.faq-section .faq-item{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.04)}
.faq-section .faq-q{color:#fff}
.faq-section .faq-q:hover,.faq-section .faq-item.open .faq-q{background:rgba(255,255,255,.06)}
.faq-section .faq-a{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.1);color:rgba(255,255,255,.75)}
.faq-section .faq-arrow{border-color:var(--gold);color:var(--gold)}
.faq-section .faq-item.open .faq-arrow{background:var(--gold);color:var(--navy)}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner{background:var(--navy);border-radius:16px;padding:56px 60px;text-align:center;margin:0 0 80px}
.cta-banner h2{color:#fff;margin-bottom:12px;font-family:var(--font-display)}
.cta-banner p{color:rgba(255,255,255,.75);font-size:17px;margin-bottom:32px;max-width:480px;margin-left:auto;margin-right:auto}
.cta-btn{display:inline-block;background:var(--orange);color:#fff;padding:16px 36px;border-radius:8px;font-weight:700;font-size:16px;text-decoration:none;transition:background .2s,transform .1s}
.cta-btn:hover{background:var(--orange-light);transform:translateY(-1px)}
.cta-sub{margin-top:16px;font-size:13px;color:rgba(255,255,255,.5)}
.cta-banner-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:28px}
@media(max-width:600px){.cta-banner{padding:40px 24px}}

/* ============================================================
   SECTION HEADER (Norse Env blocks)
   ============================================================ */
.section-tag{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;font-weight:600;color:var(--orange);text-transform:uppercase;letter-spacing:.08em;margin-bottom:1rem}
.section-tag::before{content:'';display:block;width:18px;height:2px;background:var(--orange);border-radius:2px}
.section-title{font-family:var(--font-display);font-size:clamp(1.6rem,2.8vw,2.6rem);font-weight:800;color:var(--navy);line-height:1.15;margin-bottom:.75rem}
.section-sub{font-size:1rem;color:var(--text-mid);max-width:540px;line-height:1.7}
.link-arrow{font-size:.9rem;color:var(--orange);text-decoration:none;display:inline-flex;align-items:center;gap:6px;font-weight:600;transition:gap .2s}
.link-arrow:hover{gap:10px}

/* ============================================================
   CONTENT SECTION (interior pages)
   ============================================================ */
.content-section{margin-bottom:3.5rem}
.content-section .section-label{margin-bottom:.75rem}
.content-section h2{font-family:var(--font-display);font-size:clamp(1.4rem,2.5vw,1.9rem);font-weight:700;color:var(--navy);margin-bottom:1rem}
.content-section p{font-size:.97rem;color:var(--text-mid);line-height:1.8;margin-bottom:1rem}

/* ============================================================
   DIFF GRID (2x2 cards)
   ============================================================ */
.diff-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.5rem}
@media(max-width:600px){.diff-grid{grid-template-columns:1fr}}
.diff-card{background:var(--cream);border:1px solid var(--navy-border);border-radius:14px;padding:1.5rem;display:flex;gap:1rem;align-items:flex-start}
.diff-icon{width:44px;height:44px;flex-shrink:0;background:var(--navy);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--gold)}
.diff-icon svg{width:20px;height:20px}
.diff-title{font-family:var(--font-display);font-size:.95rem;font-weight:700;color:var(--navy);margin-bottom:.35rem}
.diff-desc{font-size:.85rem;color:var(--text-muted);line-height:1.6}

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin-top:2.5rem}
@media(max-width:900px){.steps-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){.steps-grid{grid-template-columns:1fr}}
.step{text-align:center;position:relative}
.step-num{width:52px;height:52px;border-radius:50%;background:var(--navy);border:2px solid var(--orange);display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;font-family:var(--font-display);font-size:1rem;font-weight:800;color:#fff;position:relative;z-index:1}
.step-title{font-family:var(--font-display);font-size:.95rem;font-weight:700;color:var(--navy);margin-bottom:8px}
.step-desc{font-size:.82rem;color:var(--text-muted);line-height:1.6}
.steps-list{display:flex;flex-direction:column;gap:1.25rem;margin-top:1.5rem}
.step-row{display:flex;gap:1.25rem;align-items:flex-start}
.step-num-circle{width:44px;height:44px;border-radius:50%;background:var(--cream);border:2px solid var(--orange);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:.9rem;font-weight:800;color:var(--orange);flex-shrink:0}
.step-content h4{font-family:var(--font-display);font-size:.95rem;font-weight:700;color:var(--navy);margin-bottom:.35rem}
.step-content p{font-size:.85rem;color:var(--text-mid);line-height:1.6;margin:0}

/* ============================================================
   INFO / WARN BOXES
   ============================================================ */
.info-box{background:rgba(10,44,128,.06);border:1px solid rgba(10,44,128,.2);border-radius:10px;padding:1.25rem 1.5rem;margin:1.5rem 0;display:flex;gap:1rem;align-items:flex-start}
.info-box-icon{font-size:1.1rem;flex-shrink:0;margin-top:2px}
.info-box p{margin:0;font-size:.92rem;line-height:1.7;color:var(--text-dark)}
.warn-box{background:rgba(248,200,74,.1);border:1px solid rgba(248,200,74,.4);border-radius:10px;padding:1.25rem 1.5rem;margin:1.5rem 0;display:flex;gap:1rem;align-items:flex-start}
.warn-box p{margin:0;font-size:.92rem;line-height:1.7;color:var(--text-dark)}

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap{overflow-x:auto;margin:1.5rem 0}
.table-wrap table{width:100%;border-collapse:collapse;font-size:.9rem;border:1px solid var(--navy-border);border-radius:10px;overflow:hidden}
.table-wrap thead th{background:var(--navy);color:#fff;padding:12px 18px;text-align:left;font-family:var(--font-display);font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.table-wrap tbody td{padding:12px 18px;border-bottom:1px solid var(--navy-border);color:var(--text-mid);vertical-align:middle;line-height:1.6}
.table-wrap tbody tr:last-child td{border-bottom:none}
.table-wrap tbody tr:hover td{background:var(--cream)}
.table-wrap tbody td strong{color:var(--text-dark);font-weight:600}

/* ============================================================
   INLINE CTA
   ============================================================ */
.inline-cta{background:var(--cream);border:1.5px solid var(--navy-border);border-radius:16px;padding:2.5rem;text-align:center;margin:2rem 0}
.inline-cta h3{font-family:var(--font-display);font-size:1.4rem;font-weight:700;color:var(--navy);margin-bottom:.75rem}
.inline-cta p{color:var(--text-mid);margin-bottom:1.5rem}
.inline-cta-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ============================================================
   PAGE HEADER (interior pages — Norse Env block)
   ============================================================ */
.page-header{background:var(--navy);padding:80px 5% 56px}
.page-header-inner{max-width:var(--max-w);margin:0 auto}
.breadcrumb-row{display:flex;align-items:center;gap:8px;font-size:.78rem;color:rgba(255,255,255,.5);margin-bottom:1.5rem}
.breadcrumb-row a{color:rgba(255,255,255,.65);text-decoration:none}
.breadcrumb-row a:hover{color:#fff}
.page-tag{display:inline-flex;align-items:center;gap:6px;background:rgba(248,200,74,.15);border:1px solid rgba(248,200,74,.3);border-radius:100px;padding:4px 14px;font-size:.72rem;font-weight:600;color:var(--gold);letter-spacing:.08em;text-transform:uppercase;margin-bottom:1rem}
.page-title{font-family:var(--font-display);font-size:clamp(1.8rem,4vw,3rem);font-weight:900;color:#fff;line-height:1.1;margin-bottom:.75rem}
.page-title span{color:var(--gold)}
.page-lead{font-size:1rem;color:rgba(255,255,255,.72);font-weight:300;line-height:1.75;max-width:600px}

/* ============================================================
   BLOG
   ============================================================ */
.blog-layout{max-width:var(--max-w);margin:0 auto;padding:3rem 40px 5rem;display:grid;grid-template-columns:1fr 300px;gap:3.5rem;align-items:start}
@media(max-width:900px){.blog-layout{grid-template-columns:1fr;padding:2rem 24px 4rem}}
.posts-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
@media(max-width:600px){.posts-grid{grid-template-columns:1fr}}
.post-card{background:#fff;border:1px solid var(--navy-border);border-radius:14px;overflow:hidden;transition:all .25s;text-decoration:none;color:inherit;display:flex;flex-direction:column}
.post-card:hover{border-color:rgba(232,68,10,.3);transform:translateY(-3px);box-shadow:0 8px 24px rgba(10,44,128,.08)}
.post-img{height:160px;background:var(--cream);display:flex;align-items:center;justify-content:center;overflow:hidden}
.post-img img{width:100%;height:100%;object-fit:cover}
.post-body{padding:1.25rem;flex:1;display:flex;flex-direction:column}
.post-cat{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--orange);margin-bottom:.5rem}
.post-body h3{font-family:var(--font-display);font-size:.95rem;font-weight:700;color:var(--navy);line-height:1.35;margin-bottom:.5rem}
.post-body p{font-size:.82rem;color:var(--text-muted);line-height:1.6;flex:1}
.post-footer{display:flex;align-items:center;justify-content:space-between;margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--navy-border);font-size:.72rem;color:var(--text-muted)}
.sidebar-widget{background:#fff;border:1px solid var(--navy-border);border-radius:14px;padding:1.5rem;margin-bottom:1.5rem}
.widget-title{font-family:var(--font-display);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--navy);margin-bottom:1.25rem}

/* Article (legacy stubs — full rules in ARTICLE PAGE section below) */
.article-title{font-family:var(--font-display);font-size:clamp(1.8rem,4vw,3rem);font-weight:900;color:#fff;line-height:1.1;margin-bottom:1rem}
.content-img{margin:1.5rem 0}
.content-img img{width:100%;border-radius:12px;display:block}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:3rem}
@media(max-width:768px){.contact-grid{grid-template-columns:1fr}}
.contact-card{background:#fff;border:1px solid var(--navy-border);border-radius:14px;padding:2rem;text-align:center;transition:all .25s}
.contact-card:hover{border-color:rgba(232,68,10,.3);transform:translateY(-3px)}
.contact-card-icon{width:52px;height:52px;background:var(--navy);border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;color:var(--gold)}
.contact-card h3{font-family:var(--font-display);font-size:1rem;font-weight:700;color:var(--navy);margin-bottom:.5rem}
.contact-card p{font-size:.85rem;color:var(--text-muted);line-height:1.6;margin-bottom:.75rem}
.contact-card a{color:var(--orange);text-decoration:none;font-size:.88rem;font-weight:600}

/* ============================================================
   COMPAT BOX
   ============================================================ */
.compat-box{background:#fff;border:1px solid var(--navy-border);border-radius:16px;padding:1.75rem}
.compat-box-header{display:flex;align-items:center;gap:12px;margin-bottom:1.25rem;padding-bottom:1.25rem;border-bottom:1px solid var(--navy-border)}
.compat-box-icon{width:40px;height:40px;background:var(--navy);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--gold)}
.compat-box-title{font-family:var(--font-display);font-size:1rem;font-weight:700;color:var(--navy)}
.compat-box-sub{font-size:.78rem;color:var(--text-muted)}
.device-list{display:flex;flex-direction:column;gap:.5rem}
.device-item{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;background:var(--cream);border-radius:8px;font-size:.85rem}
.device-name{font-weight:500;color:var(--text-dark)}
.device-model{color:var(--text-muted);font-size:.78rem}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{background:var(--navy);color:rgba(255,255,255,.65);padding:56px 40px 32px;margin-top:0}
@media(max-width:768px){.footer{padding:40px 24px 24px}}
.footer-inner{max-width:var(--max-w);margin:0 auto}
.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
@media(max-width:900px){.footer-top{grid-template-columns:1fr 1fr;gap:28px}}
@media(max-width:480px){.footer-top{grid-template-columns:1fr}}
.footer-logo{text-decoration:none;display:block;margin-bottom:14px}
.footer-brand-desc{font-size:.88rem;color:rgba(255,255,255,.55);line-height:1.7;max-width:280px}
.footer-col-title{font-family:var(--font-display);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#fff;margin-bottom:1.25rem}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.footer-links a{font-size:.85rem;color:rgba(255,255,255,.55);text-decoration:none;transition:color .2s}
.footer-links a:hover{color:#fff}
.footer-bottom{padding-top:24px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;font-size:13px;color:rgba(255,255,255,.38);flex-wrap:wrap;gap:8px}

/* ============================================================
   HOME BLOG GRID (blog-grid block)
   ============================================================ */
.home-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
@media(max-width:768px){.home-blog-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.home-blog-grid{grid-template-columns:1fr}}
.blog-card{background:#fff;border:1px solid var(--navy-border);border-radius:14px;overflow:hidden;transition:all .25s;text-decoration:none;color:inherit;display:block}
.blog-card:hover{border-color:rgba(232,68,10,.3);transform:translateY(-3px);box-shadow:0 8px 24px rgba(10,44,128,.08)}
.blog-img{height:160px;background:var(--cream);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.blog-img img{width:100%;height:100%;object-fit:cover}
.blog-content{padding:1.25rem}
.blog-cat{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--orange);margin-bottom:.6rem;display:block}
.blog-title{font-family:var(--font-display);font-size:.95rem;font-weight:700;color:var(--navy);line-height:1.35;margin-bottom:.6rem}
.blog-excerpt{font-size:.82rem;color:var(--text-muted);line-height:1.6}
.blog-footer{display:flex;align-items:center;justify-content:space-between;margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--navy-border);font-size:.72rem;color:var(--text-muted)}

/* ============================================================
   SECTION: content rendered by generic.php
   ============================================================ */
.page-content-wrap{width:100%;overflow-x:hidden}
.section-inner{max-width:var(--max-w);margin:0 auto}

/* ============================================================
   OPERATORS GRID
   ============================================================ */
.operators-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;margin-top:2rem}
@media(max-width:900px){.operators-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.operators-grid{grid-template-columns:1fr}}
.operator-card{background:#fff;border:1px solid var(--navy-border);border-radius:14px;padding:1.75rem 1.5rem;text-align:center;transition:all .25s;position:relative;overflow:hidden}
.operator-card:hover{border-color:rgba(232,68,10,.3);transform:translateY(-3px);box-shadow:0 8px 24px rgba(10,44,128,.08)}
a.operator-card-link{text-decoration:none;color:inherit;display:block}
.op-logo{width:60px;height:40px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.op-logo img{max-width:100%;max-height:100%;object-fit:contain}
.op-name{font-family:var(--font-display);font-size:.95rem;font-weight:700;color:var(--navy);margin-bottom:4px}
.op-desc{font-size:.78rem;color:var(--text-muted);line-height:1.5}
.op-badge{display:inline-block;background:var(--cream);border:1px solid var(--navy-border);color:var(--text-muted);font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding:3px 10px;border-radius:100px;margin-top:10px}

/* ============================================================
   404
   ============================================================ */
.not-found{text-align:center;padding:10rem 2rem;min-height:60vh}
.not-found h1{font-family:var(--font-display);font-size:5rem;font-weight:900;color:var(--orange);line-height:1;margin-bottom:1rem}
.not-found h2{font-family:var(--font-display);font-size:1.5rem;color:var(--navy);margin-bottom:1rem}
.not-found p{color:var(--text-muted);margin-bottom:2rem}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:2.5rem}
.page-num{width:36px;height:36px;border-radius:8px;background:var(--cream);border:1px solid var(--navy-border);display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:500;color:var(--text-mid);cursor:pointer;transition:all .2s;text-decoration:none}
.page-num:hover,.page-num.active{background:var(--orange);border-color:var(--orange);color:#fff}

/* ============================================================
   NAV DROPDOWNS & FLYOUTS
   ============================================================ */
.has-dropdown,.has-flyout{position:relative}

/* Desktop dropdown arrow */
.nav-arrow{font-size:11px;margin-left:4px;opacity:.8;display:inline-block;transition:transform .2s;vertical-align:middle}
.has-dropdown:hover .nav-arrow,.has-dropdown.open .nav-arrow{transform:rotate(180deg)}
/* Mobile expand icon — hidden on desktop, shown on mobile */
.mobile-expand-icon{display:none}

/* Dropdown panel */
.dropdown-menu{
  display:none;position:absolute;top:calc(100% + 6px);left:0;
  background:#fff;border-radius:10px;
  box-shadow:0 12px 40px rgba(0,0,0,.18);
  list-style:none;min-width:230px;padding:6px 0;
  z-index:200;border:1px solid rgba(10,44,128,.1);
}
.has-dropdown:hover .dropdown-menu,.has-dropdown.open .dropdown-menu{display:block}
.dropdown-menu>li>a{
  display:flex;align-items:center;justify-content:space-between;
  padding:11px 20px;color:var(--text-dark);font-size:13.5px;
  text-decoration:none;transition:background .15s,color .15s;
  white-space:nowrap;gap:8px;
}
.dropdown-menu>li>a:hover{background:var(--cream);color:var(--orange)}
.dropdown-menu>li>a.active{color:var(--text-dark);font-weight:700}

/* Flyout arrow */
.flyout-arrow{font-size:13px;opacity:.5;flex-shrink:0}
.has-flyout>a{position:relative}

/* Flyout panel */
.flyout-menu{
  display:none;position:absolute;left:100%;top:-6px;
  background:#fff;border-radius:10px;
  box-shadow:0 12px 40px rgba(0,0,0,.18);
  list-style:none;min-width:210px;padding:6px 0;
  z-index:201;border:1px solid rgba(10,44,128,.1);
}
.has-flyout:hover .flyout-menu,.has-flyout.open .flyout-menu{display:block}
.flyout-menu a{
  display:block;padding:11px 20px;color:var(--text-dark);font-size:13.5px;
  text-decoration:none;transition:background .15s,color .15s;white-space:nowrap;
}
.flyout-menu a:hover{background:var(--cream);color:var(--orange)}
.flyout-menu a.active{color:var(--text-dark);font-weight:700}

/* Mobile overrides */
@media(max-width:900px){
  .has-dropdown,.has-flyout{width:100%}
  .nav-arrow,.flyout-arrow{display:none}
  .dropdown-menu{
    position:static;display:none;box-shadow:none;border:none;border-radius:0;
    background:rgba(255,255,255,.07);padding:0;min-width:auto;margin:0;
  }
  .has-dropdown.open .dropdown-menu{display:block}
  .dropdown-menu>li>a{
    padding:11px 24px 11px 44px;font-size:14px;
    color:rgba(255,255,255,.72);border-bottom:1px solid rgba(255,255,255,.05);
    justify-content:flex-start;
  }
  .dropdown-menu>li>a:hover{background:rgba(255,255,255,.08);color:#fff}
  .dropdown-menu>li>a.active{color:#fff;font-weight:700}
  .flyout-menu{
    position:static;display:none;box-shadow:none;border:none;border-radius:0;
    background:rgba(255,255,255,.05);padding:0;min-width:auto;
  }
  .has-flyout.open .flyout-menu{display:block}
  .flyout-menu a{
    padding:10px 24px 10px 64px;font-size:13.5px;
    color:rgba(255,255,255,.65);border-bottom:1px solid rgba(255,255,255,.04);
  }
  .flyout-menu a:hover{background:rgba(255,255,255,.07);color:#fff}
  /* Mobile dropdown trigger tap area */
  .has-dropdown>a,.has-flyout>a{
    display:flex;align-items:center;justify-content:space-between;
  }
  .mobile-expand-icon{display:inline-block;margin-left:auto;font-size:18px;opacity:.6;padding-left:12px}
}

/* ============================================================
   NAV PROTECTION — #mainNav ID beats any page-injected class styles.
   These rules are last in the cascade AND use ID specificity (100).
   ============================================================ */
#mainNav{overflow:visible!important}
#mainNav .nav-links{display:flex!important}
#mainNav .nav-links li{width:auto!important;border:none!important}
#mainNav .nav-links>li>a{display:flex!important;align-items:center!important;border:none!important}
#mainNav .nav-cta{padding:10px 22px!important;border-radius:7px!important;line-height:1!important}
#mainNav .mobile-expand-icon{display:none!important}

/* Force dropdown + flyout hidden by default */
#mainNav .dropdown-menu{
  display:none!important;
  position:absolute!important;
  top:100%!important;
  left:0!important;
}
#mainNav .flyout-menu{
  display:none!important;
  position:absolute!important;
  left:100%!important;
  top:-6px!important;
}

/* Show on hover (desktop) */
#mainNav .has-dropdown:hover>.dropdown-menu,
#mainNav .has-dropdown.open>.dropdown-menu{display:block!important}
#mainNav .has-flyout:hover>.flyout-menu,
#mainNav .has-flyout.open>.flyout-menu{display:block!important}

/* Mobile overrides */
@media(max-width:900px){
  #mainNav .nav-links{display:none!important;flex-direction:column!important}
  #mainNav .nav-links.open{display:flex!important}
  #mainNav .nav-links li{width:100%!important}
  #mainNav .nav-links>li>a{display:flex!important;padding:12px 24px!important}
  #mainNav .dropdown-menu,
  #mainNav .flyout-menu{position:static!important;top:auto!important;left:auto!important}
  #mainNav .has-dropdown.open>.dropdown-menu{display:block!important}
  #mainNav .has-flyout.open>.flyout-menu{display:block!important}
  #mainNav .mobile-expand-icon{display:inline-block!important;margin-left:auto;font-size:18px;opacity:.6;padding-left:12px}
}

/* ============================================================
   BLOG INDEX — category bar
   ============================================================ */
.category-bar{display:flex;flex-wrap:wrap;gap:.5rem;padding:20px 40px;background:#fff;border-bottom:1px solid var(--navy-border);max-width:100%;overflow-x:auto}
@media(max-width:768px){.category-bar{padding:14px 20px}}
.cat-btn{display:inline-flex;align-items:center;padding:7px 16px;border-radius:100px;border:1.5px solid var(--navy-border);font-size:.78rem;font-weight:600;color:var(--text-mid);text-decoration:none;transition:all .2s;white-space:nowrap;background:#fff}
.cat-btn:hover{border-color:var(--orange);color:var(--orange)}
.cat-btn.active{background:var(--navy);border-color:var(--navy);color:#fff}

/* ============================================================
   BLOG INDEX — featured post card
   ============================================================ */
.featured-post{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#fff;border:1px solid var(--navy-border);border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;margin-bottom:2.5rem;transition:box-shadow .25s,border-color .25s}
.featured-post:hover{border-color:rgba(232,68,10,.3);box-shadow:0 12px 36px rgba(10,44,128,.1)}
@media(max-width:700px){.featured-post{grid-template-columns:1fr}}
.featured-img{position:relative;min-height:280px;background:linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 100%);display:flex;align-items:center;justify-content:center;overflow:hidden}
.featured-img img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.featured-badge{position:absolute;top:16px;left:16px;background:var(--orange);color:#fff;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:5px 12px;border-radius:100px;z-index:1}
.featured-content{padding:2rem 2rem 2rem;display:flex;flex-direction:column;justify-content:center}
.featured-content .post-cat{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--orange);margin-bottom:.75rem}
.featured-content h2{font-family:var(--font-display);font-size:clamp(1.1rem,2vw,1.5rem);font-weight:800;color:var(--navy);line-height:1.25;margin-bottom:.75rem}
.featured-content p{font-size:.9rem;color:var(--text-muted);line-height:1.65;margin-bottom:1.25rem;flex:1}
.featured-content .post-meta{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.featured-content .read-link{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:700;color:var(--orange);text-decoration:none}

/* ============================================================
   BLOG INDEX — posts section header
   ============================================================ */
.posts-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}
.posts-header h3{font-family:var(--font-display);font-size:1.1rem;font-weight:800;color:var(--navy)}
.posts-count{font-size:.78rem;color:var(--text-muted)}

/* ============================================================
   BLOG INDEX / POST — author avatar small
   ============================================================ */
.author-avatar{width:32px;height:32px;border-radius:50%;background:var(--navy);color:var(--gold);font-size:.8rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
.author-avatar img{width:100%;height:100%;object-fit:cover}
.post-meta{display:flex;align-items:center;gap:.5rem;font-size:.78rem;color:var(--text-muted)}
.post-meta-author{display:flex;align-items:center;gap:.5rem}

/* ============================================================
   BLOG SIDEBAR — search
   ============================================================ */
.search-input-wrap{display:flex;border:1.5px solid var(--navy-border);border-radius:9px;overflow:hidden;transition:border-color .2s}
.search-input-wrap:focus-within{border-color:var(--orange)}
.search-input{flex:1;padding:10px 14px;font-size:.85rem;border:none;outline:none;background:#fff;color:var(--text-dark);font-family:var(--font-body)}
.search-btn{background:none;border:none;padding:0 14px;cursor:pointer;color:var(--text-muted);display:flex;align-items:center;transition:color .2s}
.search-btn:hover{color:var(--orange)}

/* ============================================================
   BLOG SIDEBAR — popular list
   ============================================================ */
.popular-list{display:flex;flex-direction:column;gap:.75rem}
.popular-item{display:flex;align-items:flex-start;gap:.75rem;text-decoration:none;color:inherit;transition:opacity .2s}
.popular-item:hover{opacity:.8}
.popular-num{width:22px;height:22px;border-radius:50%;background:var(--cream);border:1.5px solid var(--navy-border);font-size:.68rem;font-weight:700;color:var(--navy-mid);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}
.popular-text{font-size:.82rem;font-weight:600;color:var(--navy);line-height:1.4;margin-bottom:2px}
.popular-meta{font-size:.72rem;color:var(--text-muted)}

/* ============================================================
   BLOG SIDEBAR — category list
   ============================================================ */
.cat-list{display:flex;flex-direction:column;gap:2px}
.cat-list-item{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--navy-border);font-size:.85rem;color:var(--text-mid);text-decoration:none;transition:color .2s}
.cat-list-item:last-child{border-bottom:none}
.cat-list-item:hover{color:var(--orange)}
.cat-count{background:var(--cream);border:1px solid var(--navy-border);border-radius:100px;font-size:.68rem;font-weight:700;padding:2px 9px;color:var(--text-muted)}

/* ============================================================
   ARTICLE PAGE — hero
   ============================================================ */
.article-hero{position:relative;background:var(--navy);background-size:cover;background-position:center;padding:80px 0 60px;min-height:420px;display:flex;align-items:flex-end}
.article-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,44,128,.4) 0%,rgba(10,44,128,.88) 100%)}
.article-hero-inner{position:relative;z-index:1;width:100%;max-width:var(--max-w);margin:0 auto;padding:0 40px}
@media(max-width:768px){.article-hero-inner{padding:0 24px}}
.article-hero-content{max-width:760px}

/* Breadcrumb inside hero */
.article-hero .breadcrumb{background:transparent;border:none;padding:0;display:flex;align-items:center;gap:6px;font-size:.78rem;color:rgba(255,255,255,.5);margin-bottom:1.25rem}
.article-hero .breadcrumb a{color:rgba(255,255,255,.65);text-decoration:none}
.article-hero .breadcrumb a:hover{color:#fff}
.article-hero .breadcrumb span{color:rgba(255,255,255,.4)}

/* Article category pills */
.article-cats{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1rem}
.article-cat{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:100px;padding:4px 14px;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.85);text-decoration:none;transition:background .2s}
.article-cat:hover{background:rgba(255,255,255,.22)}

/* Article title */
.article-title{font-family:var(--font-display);font-size:clamp(1.6rem,4vw,2.6rem);font-weight:900;color:#fff;line-height:1.15;margin-bottom:1.25rem}

/* Article byline */
.article-byline{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
.byline-author{display:flex;align-items:center;gap:.65rem;text-decoration:none;color:inherit}
.author-avatar-md{width:42px;height:42px;border-radius:50%;background:var(--navy-mid);color:var(--gold);font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;border:2px solid rgba(255,255,255,.2)}
.author-avatar-md img{width:100%;height:100%;object-fit:cover}
.byline-name{font-size:.88rem;font-weight:700;color:#fff}
.byline-role{font-size:.72rem;color:rgba(255,255,255,.55)}
.byline-sep{width:1px;height:32px;background:rgba(255,255,255,.2)}
.byline-meta{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.byline-item{display:flex;align-items:center;gap:5px;font-size:.78rem;color:rgba(255,255,255,.6)}
.byline-item svg{opacity:.7}

/* ============================================================
   ARTICLE PAGE — layout
   ============================================================ */
.article-layout{max-width:var(--max-w);margin:0 auto;padding:3rem 40px 5rem;display:grid;grid-template-columns:1fr 300px;gap:3.5rem;align-items:start}
@media(max-width:900px){.article-layout{grid-template-columns:1fr;padding:2rem 24px 4rem}}

/* ============================================================
   ARTICLE PAGE — prose (content)
   ============================================================ */
.prose{font-size:1rem;line-height:1.8;color:var(--text-mid);max-width:680px}
.prose h2{font-family:var(--font-display);font-size:1.5rem;font-weight:800;color:var(--navy);margin:2.5rem 0 .9rem;line-height:1.2}
.prose h3{font-family:var(--font-display);font-size:1.15rem;font-weight:700;color:var(--navy);margin:2rem 0 .7rem}
.prose h4{font-family:var(--font-display);font-size:1rem;font-weight:700;color:var(--navy);margin:1.5rem 0 .5rem}
.prose p{margin-bottom:1.3rem}
.prose ul,.prose ol{margin:1rem 0 1.3rem 1.5rem}
.prose li{margin-bottom:.4rem}
.prose a{color:var(--orange);text-decoration:underline;text-underline-offset:2px}
.prose a:hover{color:var(--orange-dark,#c23800)}
.prose strong{font-weight:700;color:var(--text-dark)}
.prose blockquote{border-left:4px solid var(--orange);padding:.75rem 1.25rem;margin:1.5rem 0;background:var(--cream);border-radius:0 8px 8px 0;font-style:italic;color:var(--text-mid)}
.prose img{max-width:100%;border-radius:12px;margin:1.5rem 0}
.prose hr{border:none;border-top:1px solid var(--navy-border);margin:2.5rem 0}
.prose code{background:var(--cream);border:1px solid var(--navy-border);border-radius:4px;padding:1px 6px;font-size:.88em;font-family:monospace}
.prose pre{background:var(--navy);color:#e2e8f0;border-radius:10px;padding:1.25rem;overflow-x:auto;margin:1.5rem 0}
.prose pre code{background:none;border:none;color:inherit}
.prose table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.9rem}
.prose th{background:var(--cream);font-weight:700;color:var(--navy);padding:10px 14px;border:1px solid var(--navy-border);text-align:left}
.prose td{padding:10px 14px;border:1px solid var(--navy-border);color:var(--text-mid)}
.prose tr:nth-child(even) td{background:var(--cream)}

/* ============================================================
   ARTICLE PAGE — tags, author bio, share
   ============================================================ */
.article-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--navy-border)}
.tag{display:inline-flex;padding:5px 14px;background:var(--cream);border:1.5px solid var(--navy-border);border-radius:100px;font-size:.75rem;font-weight:600;color:var(--text-mid);text-decoration:none;transition:all .2s}
.tag:hover{border-color:var(--orange);color:var(--orange)}

.author-bio{display:flex;gap:1.25rem;align-items:flex-start;background:var(--cream);border:1px solid var(--navy-border);border-radius:14px;padding:1.5rem;margin-top:2rem}
.author-bio-avatar{width:60px;height:60px;border-radius:50%;background:var(--navy);color:var(--gold);font-size:1.3rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
.author-bio-avatar img{width:100%;height:100%;object-fit:cover}
.author-bio-name{font-family:var(--font-display);font-size:1rem;font-weight:800;color:var(--navy);margin-bottom:2px}
.author-bio-role{font-size:.75rem;color:var(--text-muted);margin-bottom:.5rem}
.author-bio-text{font-size:.85rem;line-height:1.65;color:var(--text-mid);margin-bottom:.75rem}
.author-bio-link{font-size:.8rem;font-weight:700;color:var(--orange);text-decoration:none}
.author-bio-link:hover{text-decoration:underline}

.share-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border:1.5px solid var(--navy-border);border-radius:8px;font-size:.82rem;font-weight:700;color:var(--text-mid);text-decoration:none;transition:all .2s;background:#fff}
.share-btn:hover{border-color:var(--orange);color:var(--orange)}

.footer-legal a{color:inherit;text-decoration:none}
.footer-legal a:hover{color:#fff;text-decoration:underline}
