/*
Theme Name: The Science & Innovation Review
Theme URI: https://sciencereview.example
Author: TSIR Editorial
Author URI: https://sciencereview.example
Description: A premium editorial WordPress theme for The Science & Innovation Review — a global digital magazine. Matches the official TSIR web design: navy/teal/amber palette, Poppins + Inter + Fraunces typography, glass effects, hero with cover image, stats counters, category grid, innovation spotlight, events and newsletter CTA.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tsir
Tags: magazine, news, editorial, blog, science, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* =================================================
   THE SCIENCE & INNOVATION REVIEW — Design Tokens
   Mirrors the React app's src/styles.css exactly.
   ================================================= */
:root{
  --radius: .75rem;

  --background:#F8FAFC;
  --foreground:#0F172A;
  --ink:#0B1220;
  --paper:#FFFFFF;

  --card:#FFFFFF;
  --card-foreground:#0F172A;

  --primary:#0F4C81;           /* navy */
  --primary-foreground:#FFFFFF;

  --secondary:#00897B;         /* teal */
  --secondary-foreground:#FFFFFF;

  --muted:#EEF2F7;
  --muted-foreground:#5B6776;

  --accent:#FF9800;            /* amber */
  --accent-foreground:#0F172A;

  --border:#E3E8EF;
  --ring:#0F4C81;

  --gradient-hero: linear-gradient(135deg,#152038 0%,#1d2e55 50%,#1f6883 100%);
  --gradient-accent: linear-gradient(135deg,var(--primary),var(--secondary));
  --gradient-warm:  linear-gradient(135deg,var(--accent),#FF6F2C);

  --shadow-soft: 0 4px 24px -8px rgba(15,76,129,.18);
  --shadow-card: 0 10px 40px -16px rgba(15,76,129,.22);
  --shadow-glow: 0 20px 60px -20px rgba(255,152,0,.40);

  --font-display:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --font-sans:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --font-serif:"Fraunces",Georgia,serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  background:var(--background);
  color:var(--foreground);
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  font-feature-settings:"ss01","cv11";
}
img{max-width:100%;height:auto;display:block}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--secondary)}

h1,h2,h3,h4,h5,h6{font-family:var(--font-display);letter-spacing:-.02em;color:var(--ink);margin:0 0 .5em}
.font-editorial{font-family:var(--font-serif);font-feature-settings:"ss01"}

.container{width:100%;max-width:1280px;margin-inline:auto;padding-inline:1.25rem}
@media(min-width:768px){.container{padding-inline:2rem}}

.eyebrow{font-family:var(--font-sans);font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--secondary)}
.eyebrow.amber{color:var(--accent)}

.btn{display:inline-flex;align-items:center;gap:.5rem;height:48px;padding:0 1.75rem;border-radius:9999px;font-weight:600;font-size:.875rem;transition:all .25s ease;border:0;cursor:pointer}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:#0c3d68;color:#fff}
.btn-accent{background:var(--accent);color:var(--ink);box-shadow:var(--shadow-glow)}
.btn-accent:hover{background:#f08e00;color:var(--ink)}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,.30);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.10);color:#fff}

.story-link{position:relative;display:inline-block}
.story-link::after{content:"";position:absolute;left:0;bottom:-2px;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .4s ease}
.story-link:hover::after{transform:scaleX(1);transform-origin:left}

.hover-lift{transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease}
.hover-lift:hover{transform:translateY(-4px);box-shadow:var(--shadow-card)}

.glass-card{background:rgba(255,255,255,.7);backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);border:1px solid rgba(255,255,255,.6)}

@keyframes fade-up{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes fade-in{from{opacity:0}to{opacity:1}}
@keyframes float-slow{0%,100%{transform:translateY(0) rotate(2deg)}50%{transform:translateY(-10px) rotate(2deg)}}
.animate-fade-up{animation:fade-up .8s cubic-bezier(.2,.8,.2,1) both}
.animate-fade-in{animation:fade-in 1s ease-out both}
.animate-float{animation:float-slow 6s ease-in-out infinite}
.delay-100{animation-delay:.1s}.delay-200{animation-delay:.2s}.delay-300{animation-delay:.3s}.delay-500{animation-delay:.5s}

/* ===== Header ===== */
.site-header{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(227,232,239,.7);background:rgba(255,255,255,.85);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.site-header .bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:64px}
@media(min-width:768px){.site-header .bar{height:80px}}
.brand{display:flex;align-items:center;gap:.75rem;color:var(--ink)}
.brand .mark{height:40px;width:40px;border-radius:.5rem;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:700;font-size:18px;box-shadow:var(--shadow-soft)}
.brand .title{font-family:var(--font-display);font-weight:600;font-size:15px;line-height:1.1;letter-spacing:-.01em}
.brand .tagline{font-size:10px;text-transform:uppercase;letter-spacing:.2em;color:var(--secondary);font-weight:500;margin-top:2px}
.primary-nav{display:none;gap:1.4rem;font-size:13px;font-weight:500;color:var(--muted-foreground)}
@media(min-width:1200px){.primary-nav{display:flex;align-items:center}}
.primary-nav a{color:inherit}
.primary-nav a:hover,.primary-nav .current-menu-item>a{color:var(--primary)}
.header-cta{display:none}
@media(min-width:768px){.header-cta{display:inline-flex;height:36px;padding:0 1rem;border-radius:9999px;background:var(--primary);color:#fff;font-size:12px;font-weight:600;align-items:center;box-shadow:var(--shadow-soft)}}
.menu-toggle{display:inline-flex;align-items:center;justify-content:center;height:36px;width:36px;border-radius:9999px;background:transparent;border:0;cursor:pointer;color:var(--ink)}
@media(min-width:1200px){.menu-toggle{display:none}}
.mobile-nav{display:none;border-top:1px solid var(--border);background:#fff}
.mobile-nav.open{display:block}
.mobile-nav ul{list-style:none;margin:0;padding:1rem 0;display:flex;flex-direction:column}
.mobile-nav a{padding:.6rem 0;color:var(--foreground);font-size:14px}
.mobile-nav a:hover{color:var(--primary)}

/* ===== Hero ===== */
.hero{position:relative;overflow:hidden;background:var(--ink);color:#fff}
.hero .bg{position:absolute;inset:0}
.hero .bg img{height:100%;width:100%;object-fit:cover;opacity:.5}
.hero .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,var(--ink),rgba(11,18,32,.85) 50%,rgba(15,76,129,.4))}
.hero-grid{position:relative;display:grid;gap:4rem;align-items:center;padding:5rem 0 6rem}
@media(min-width:1024px){.hero-grid{grid-template-columns:1.4fr 1fr;padding:7rem 0 9rem}}
.hero h1{font-family:var(--font-serif);font-size:clamp(2.5rem,6vw,5rem);line-height:.95;letter-spacing:-.02em;color:#fff;font-weight:500}
.hero h1 em{color:var(--accent);font-style:normal}
.hero p.lead{margin-top:2rem;max-width:36rem;font-size:1.125rem;color:rgba(255,255,255,.8);line-height:1.6}
.hero .cta{margin-top:2.5rem;display:flex;flex-wrap:wrap;gap:.75rem}
.hero .featured{margin-top:3rem;max-width:28rem}
.hero .featured .divider{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}
.hero .featured .divider span{flex:1;height:1px;background:rgba(255,255,255,.2)}
.hero .featured .divider strong{font-size:11px;text-transform:uppercase;letter-spacing:.2em;color:rgba(255,255,255,.6);font-weight:500}
.hero .featured h3{font-family:var(--font-serif);font-size:1.75rem;line-height:1.25;color:#fff;font-weight:500;margin-top:.5rem}
.hero .featured a:hover h3{color:var(--accent)}
.hero .cover{position:relative;display:none}
@media(min-width:1024px){.hero .cover{display:block}}
.hero .cover .glow{position:absolute;inset:-2rem;background:rgba(255,152,0,.2);filter:blur(80px);border-radius:9999px}
.hero .cover .img{position:relative;transform:rotate(2deg);transition:transform .7s ease}
.hero .cover .img:hover{transform:rotate(0)}
.hero .cover img{width:100%;border-radius:.5rem;box-shadow:0 25px 50px -12px rgba(0,0,0,.6);outline:1px solid rgba(255,255,255,.1)}
.hero .cover .pill{position:absolute;bottom:-1.5rem;left:-1.5rem;padding:.6rem 1.25rem;border-radius:9999px;font-size:11px;text-transform:uppercase;letter-spacing:.2em;font-weight:600;color:var(--ink);display:inline-flex;align-items:center;gap:.5rem}
.pill-dot{width:8px;height:8px;border-radius:9999px;background:var(--accent)}

/* ===== Sections ===== */
.section{padding:6rem 0}
.section-muted{background:rgba(238,242,247,.6);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.section-paper{background:var(--paper);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.section-dark{background:var(--ink);color:#fff}
.section-dark h2,.section-dark h3,.section-dark h4{color:#fff}

.section-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:1.5rem;margin-bottom:3rem}
.section-head h2{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);line-height:1.1;font-weight:500;max-width:42rem;margin:.75rem 0 0}

.about-grid{display:grid;gap:3rem;align-items:start}
@media(min-width:768px){.about-grid{grid-template-columns:1fr 1.4fr;gap:5rem}}
.about-grid h2{font-family:var(--font-serif);font-size:clamp(2rem,4vw,3rem);line-height:1.15;font-weight:500}
.about-grid p{color:var(--muted-foreground);font-size:1.125rem;line-height:1.7;margin:0 0 1.25rem}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:2.5rem;text-align:center}
@media(min-width:1024px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat-num{font-family:var(--font-display);font-weight:700;font-size:3rem;color:var(--primary);font-variant-numeric:tabular-nums}
@media(min-width:768px){.stat-num{font-size:3.75rem}}
.stat-label{margin-top:.75rem;font-size:12px;text-transform:uppercase;letter-spacing:.2em;color:var(--muted-foreground);font-weight:500}

/* Category cards */
.cat-grid{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:640px){.cat-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.cat-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1280px){.cat-grid{grid-template-columns:repeat(4,1fr)}}
.cat-card{position:relative;background:var(--card);border-radius:1rem;padding:1.5rem;border:1px solid var(--border);overflow:hidden;display:block;color:inherit}
.cat-card .blob{position:absolute;right:-2rem;top:-2rem;height:7rem;width:7rem;border-radius:9999px;background:rgba(0,137,123,.10);transition:background .5s ease}
.cat-card:hover .blob{background:rgba(255,152,0,.2)}
.cat-card .icon{position:relative;height:44px;width:44px;border-radius:.75rem;background:rgba(15,76,129,.10);color:var(--primary);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;transition:all .25s}
.cat-card:hover .icon{background:var(--primary);color:#fff}
.cat-card h3{position:relative;font-size:1rem;font-weight:600;margin:0 0 .5rem;color:var(--ink)}
.cat-card p{position:relative;font-size:.875rem;color:var(--muted-foreground);margin:0;line-height:1.55}

/* Article cards */
.article-grid{display:grid;gap:2rem;grid-template-columns:1fr}
@media(min-width:768px){.article-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.article-grid{grid-template-columns:repeat(3,1fr)}}
.article-card .thumb{overflow:hidden;border-radius:.75rem;background:var(--muted);aspect-ratio:4/3;margin-bottom:1.25rem;display:block}
.article-card .thumb img{height:100%;width:100%;object-fit:cover;transition:transform .7s ease}
.article-card:hover .thumb img{transform:scale(1.05)}
.article-card h3{font-family:var(--font-display);font-weight:600;font-size:1.25rem;line-height:1.3;margin:.5rem 0 .75rem}
.article-card h3 a{color:var(--ink)}
.article-card:hover h3 a{color:var(--primary)}
.article-card p{font-size:.875rem;color:var(--muted-foreground);margin:0 0 1rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font-size:12px;color:var(--muted-foreground)}
.article-meta .author{font-weight:600;color:var(--ink)}

/* Editor's choice */
.editor-grid{display:grid;gap:3rem;align-items:center}
@media(min-width:1024px){.editor-grid{grid-template-columns:1fr 1fr}}
.editor-img{position:relative;border-radius:1rem;overflow:hidden;aspect-ratio:5/4}
.editor-img img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}
.editor-img::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(11,18,32,.8),transparent 60%)}
.editor-img .tag{position:absolute;left:1.5rem;bottom:1.5rem;color:var(--accent);font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;z-index:1}
.editor-quote h2{font-family:var(--font-serif);font-weight:500;font-size:clamp(1.75rem,3.5vw,3rem);line-height:1.15;color:var(--ink);margin:1.5rem 0}

/* Innovation Spotlight (dark) */
.inno-grid{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media(min-width:768px){.inno-grid{grid-template-columns:repeat(3,1fr)}}
.inno-card{background:rgba(255,255,255,.05);backdrop-filter:blur(6px);border-radius:.75rem;overflow:hidden;border:1px solid rgba(255,255,255,.1);transition:border-color .3s}
.inno-card:hover{border-color:rgba(255,152,0,.4)}
.inno-card .thumb{aspect-ratio:4/3;overflow:hidden}
.inno-card .thumb img{height:100%;width:100%;object-fit:cover;transition:transform .7s}
.inno-card:hover .thumb img{transform:scale(1.1)}
.inno-card .body{padding:1.5rem}
.inno-card .tag{font-size:10px;text-transform:uppercase;letter-spacing:.2em;color:var(--accent);font-weight:600;margin-bottom:.75rem;display:block}
.inno-card h3{font-family:var(--font-display);font-weight:600;font-size:1.125rem;line-height:1.35;color:#fff;margin:0}

/* Two-up: case study + expert */
.two-up{display:grid;gap:2.5rem}
@media(min-width:1024px){.two-up{grid-template-columns:1fr 1fr}}
.panel{padding:2.5rem;border-radius:1rem;border:1px solid var(--border);background:var(--card)}
.panel h3{font-family:var(--font-serif);font-weight:500;font-size:clamp(1.5rem,2.5vw,1.875rem);line-height:1.2;margin:1rem 0}
.panel p{color:var(--muted-foreground);line-height:1.7;margin:0 0 1.5rem}
.panel-gradient{background:var(--gradient-accent);color:#fff;border:0}
.panel-gradient h3,.panel-gradient p{color:#fff}
.panel-gradient p{color:rgba(255,255,255,.85)}
.panel-gradient .eyebrow{color:var(--accent)}
.panel-gradient a{color:var(--accent);font-weight:600}

/* Events */
.events{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:640px){.events{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.events{grid-template-columns:repeat(4,1fr)}}
.event{background:#fff;border-radius:.75rem;border:1px solid var(--border);padding:1.5rem}
.event .type{font-size:10px;text-transform:uppercase;letter-spacing:.2em;color:var(--accent);font-weight:600;margin-bottom:.75rem;display:block}
.event h4{font-family:var(--font-display);font-weight:600;font-size:1rem;line-height:1.3;margin:0 0 .5rem;color:var(--ink)}
.event .when{font-size:12px;color:var(--muted-foreground);margin-bottom:.75rem}
.event p{font-size:.875rem;color:var(--muted-foreground);margin:0;line-height:1.55}

/* Newsletter big CTA */
.newsletter{position:relative;overflow:hidden;border-radius:1.5rem;background:var(--gradient-hero);color:#fff;padding:4rem 2.5rem}
@media(min-width:768px){.newsletter{padding:4rem}}
.newsletter::before{content:"";position:absolute;right:-5rem;top:-5rem;height:20rem;width:20rem;border-radius:9999px;background:rgba(255,152,0,.2);filter:blur(80px)}
.newsletter .grid{position:relative;display:grid;gap:2.5rem;align-items:center}
@media(min-width:768px){.newsletter .grid{grid-template-columns:1.4fr 1fr}}
.newsletter h2{font-family:var(--font-serif);font-weight:500;font-size:clamp(1.75rem,4vw,3rem);line-height:1.15;color:#fff;margin:.75rem 0}
.newsletter p{color:rgba(255,255,255,.85);max-width:34rem}
.newsletter form{display:flex;flex-direction:column;gap:.75rem}
.newsletter input{height:48px;border-radius:9999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3);padding:0 1.25rem;color:#fff;outline:none;font:inherit}
.newsletter input::placeholder{color:rgba(255,255,255,.55)}
.newsletter input:focus{border-color:var(--accent)}
.newsletter button{height:48px;border-radius:9999px;background:var(--accent);color:var(--ink);font-weight:600;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}
.newsletter .fine{font-size:11px;color:rgba(255,255,255,.6);text-align:center}

/* Footer */
.site-footer{margin-top:6rem;background:var(--ink);color:#fff}
.site-footer .cols{padding:4rem 0;display:grid;gap:3rem;grid-template-columns:1fr}
@media(min-width:768px){.site-footer .cols{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.site-footer .cols{grid-template-columns:repeat(4,1fr)}}
.site-footer h4{font-family:var(--font-display);font-size:13px;text-transform:uppercase;letter-spacing:.15em;color:var(--accent);margin:0 0 1rem}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem;font-size:14px;color:rgba(255,255,255,.75)}
.site-footer a{color:rgba(255,255,255,.75)}
.site-footer a:hover{color:var(--accent)}
.site-footer .brand .title{color:#fff}
.site-footer .brand .tagline{color:rgba(255,255,255,.6)}
.socials{display:flex;gap:.75rem;margin-top:1rem}
.socials a{height:36px;width:36px;border-radius:9999px;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px}
.socials a:hover{background:var(--accent);color:var(--ink);border-color:var(--accent)}
.foot-form{display:flex;gap:.5rem;margin-top:1rem}
.foot-form input{flex:1;height:40px;border-radius:9999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);padding:0 1rem;color:#fff;outline:none;font:inherit;font-size:14px}
.foot-form button{height:40px;padding:0 1rem;border-radius:9999px;background:var(--accent);color:var(--ink);font-weight:600;border:0;cursor:pointer}
.legal{border-top:1px solid rgba(255,255,255,.1)}
.legal .row{padding:1.5rem 0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:.75rem;font-size:12px;color:rgba(255,255,255,.5)}
@media(min-width:768px){.legal .row{flex-direction:row}}
.legal a{color:rgba(255,255,255,.5)}
.legal a:hover{color:var(--accent)}

/* Page hero (interior) */
.page-hero{background:var(--gradient-hero);color:#fff;padding:5rem 0 6rem}
.page-hero .eyebrow{color:var(--accent);margin-bottom:1rem}
.page-hero h1{font-family:var(--font-serif);font-weight:500;font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.05;color:#fff;max-width:54rem}
.page-hero p{margin-top:1.5rem;color:rgba(255,255,255,.8);max-width:36rem;font-size:1.05rem;line-height:1.6}

/* Single / Page content */
.entry{max-width:760px;margin:0 auto;padding:3rem 0}
.entry h1{font-family:var(--font-serif);font-weight:500;font-size:clamp(2.25rem,4vw,3.5rem);line-height:1.1}
.entry .meta{color:var(--muted-foreground);font-size:.85rem;margin:.5rem 0 2rem}
.entry .featured-img{border-radius:1rem;overflow:hidden;margin:2rem 0;aspect-ratio:16/9;background:var(--muted)}
.entry .featured-img img{width:100%;height:100%;object-fit:cover}
.entry-content{font-size:1.075rem;line-height:1.75;color:#283142}
.entry-content p,.entry-content ul,.entry-content ol,.entry-content blockquote{margin:0 0 1.25em}
.entry-content blockquote{border-left:3px solid var(--accent);padding-left:1.25rem;font-family:var(--font-serif);font-style:italic;color:var(--ink)}
.entry-content a{color:var(--primary);border-bottom:1px solid rgba(15,76,129,.3)}

/* Archive grid */
.archive-grid{padding:4rem 0}
.archive-head{margin-bottom:2.5rem}
.archive-head h1{font-family:var(--font-serif);font-weight:500;font-size:clamp(2rem,4vw,3rem);line-height:1.1}

/* Comments */
.comments-area{max-width:760px;margin:0 auto;padding:2rem 0 4rem}
.comments-area h3{font-family:var(--font-display);font-weight:600;font-size:1.25rem;margin-bottom:1rem}
.commentlist{list-style:none;padding:0;margin:0}
.commentlist li{padding:1rem 0;border-bottom:1px solid var(--border)}

/* Pagination */
.pagination{display:flex;gap:.5rem;justify-content:center;padding:2rem 0}
.pagination a,.pagination span{padding:.5rem .9rem;border:1px solid var(--border);border-radius:9999px;font-size:.875rem;color:var(--ink)}
.pagination .current{background:var(--primary);color:#fff;border-color:var(--primary)}

/* Search form */
.search-form{display:flex;gap:.5rem;max-width:480px}
.search-form input{flex:1;height:44px;border-radius:9999px;border:1px solid var(--border);padding:0 1rem;font:inherit;outline:none}
.search-form input:focus{border-color:var(--primary)}
.search-form button{height:44px;padding:0 1.25rem;border-radius:9999px;background:var(--primary);color:#fff;border:0;font-weight:600;cursor:pointer}

/* Utilities */
.flex{display:flex}.grid{display:grid}.gap-2{gap:.5rem}.gap-4{gap:1rem}
.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}
.text-center{text-align:center}
.divider{height:1px;background:var(--border);width:100%}

/* ===== Page Templates (v1.1) ===== */
.page-hero{background:linear-gradient(135deg,#0F4C81 0%,#00897B 100%);color:#fff;padding:80px 0 60px;position:relative;overflow:hidden}
.page-hero::after{content:"";position:absolute;right:-120px;top:-120px;width:340px;height:340px;border-radius:50%;background:rgba(255,152,0,.18);filter:blur(60px)}
.page-hero .eyebrow{color:#FF9800;font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:600;margin-bottom:14px;position:relative}
.page-hero .page-title{font-family:'Fraunces',Georgia,serif;font-size:clamp(2.2rem,5vw,4rem);line-height:1.05;margin:0 0 18px;font-weight:600;position:relative}
.page-hero .page-intro{max-width:720px;font-size:1.1rem;line-height:1.6;color:rgba(255,255,255,.85);position:relative}
.page-body{padding:64px 0 80px;background:#fff}
.page-body .entry-content{max-width:780px;margin:0 auto;font-size:1.05rem;line-height:1.75;color:#1f2937}
.section-title{font-family:'Fraunces',Georgia,serif;font-size:1.6rem;font-weight:600;color:#0F4C81;margin:0 0 18px}
.list-bullets{padding-left:20px}.list-bullets li{margin:8px 0;line-height:1.65}
.list-numbered{padding-left:22px}.list-numbered li{margin:10px 0;line-height:1.65}
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:36px}
.prose{max-width:780px;margin:0 auto;line-height:1.75;color:#1f2937}
.btn-primary{display:inline-flex;align-items:center;gap:6px;background:#0F4C81;color:#fff;padding:12px 22px;border-radius:999px;font-weight:600;font-size:.9rem;text-decoration:none;border:none;cursor:pointer}
.btn-primary:hover{background:#00897B}
.btn-outline{display:inline-block;border:1px solid #0F4C81;color:#0F4C81;padding:10px 18px;border-radius:999px;font-weight:600;font-size:.85rem;text-decoration:none}
.btn-outline:hover{background:#0F4C81;color:#fff}
.issue-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:48px;align-items:center;max-width:1000px;margin:0 auto}
.issue-cover img{width:100%;border-radius:8px;box-shadow:0 30px 60px -20px rgba(15,76,129,.4)}
@media(max-width:780px){.issue-grid{grid-template-columns:1fr}}
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px}
.issue-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:24px;transition:.3s}
.issue-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px -12px rgba(15,76,129,.18)}
.issue-card h3{font-family:'Fraunces',Georgia,serif;font-size:1.3rem;margin:6px 0 10px;color:#0F1B2D}
.issue-card a{color:#0F4C81;font-weight:600;text-decoration:none}
.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.category-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:24px;text-decoration:none;color:inherit;transition:.3s;display:block}
.category-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px -12px rgba(15,76,129,.18);border-color:#0F4C81}
.icon-bubble{display:inline-flex;width:44px;height:44px;border-radius:12px;background:rgba(15,76,129,.08);color:#0F4C81;align-items:center;justify-content:center;margin-bottom:14px}
.category-card h3{font-family:'Poppins',sans-serif;font-size:1rem;margin:0 0 8px;color:#0F1B2D}
.category-card p{font-size:.88rem;color:#5b6471;line-height:1.55;margin:0}
.innovation-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;transition:.3s}
.innovation-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px -12px rgba(15,76,129,.18)}
.innovation-card .thumb{aspect-ratio:4/3;overflow:hidden}
.innovation-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.innovation-card:hover .thumb img{transform:scale(1.08)}
.innovation-card .body{padding:20px}
.innovation-card .eyebrow{color:#FF9800;font-size:10px;letter-spacing:.2em;text-transform:uppercase;font-weight:700;margin-bottom:10px}
.innovation-card h3{font-family:'Poppins',sans-serif;font-size:1.05rem;line-height:1.35;margin:0;color:#0F1B2D}
.people-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}
.person-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:24px;text-align:center;transition:.3s}
.person-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px -12px rgba(15,76,129,.18)}
.person-card .avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#0F4C81,#00897B);color:#fff;font-family:'Fraunces',serif;font-size:1.6rem;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.person-card h3{font-family:'Poppins',sans-serif;font-size:1rem;margin:0 0 4px;color:#0F1B2D}
.person-card .role{color:#FF9800;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;margin-bottom:8px}
.person-card p{font-size:.85rem;color:#5b6471;margin:0;line-height:1.5}
.info-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:26px}
.info-card p{color:#4b5563;line-height:1.6;margin:0 0 14px}
.contact-form label,.newsletter-form label{display:block;font-size:.85rem;font-weight:600;color:#0F1B2D;margin-bottom:14px}
.contact-form input,.contact-form textarea,.newsletter-form input{width:100%;padding:11px 14px;border:1px solid #d1d5db;border-radius:10px;font-size:.95rem;font-family:inherit;margin-top:6px;background:#fff}
.contact-form input:focus,.contact-form textarea:focus,.newsletter-form input:focus{outline:none;border-color:#0F4C81;box-shadow:0 0 0 3px rgba(15,76,129,.12)}
.search-form{display:flex;gap:10px;margin-bottom:32px;max-width:600px}
.search-form input{flex:1;padding:12px 16px;border:1px solid #d1d5db;border-radius:999px;font-size:.95rem}
.newsletter-form{max-width:480px;margin:0 auto;display:grid;gap:14px}
