/*
Theme Name: ColoradoPharma
Theme URI: https://coloradopharma.com/
Author: ColoradoPharma
Description: A clean, responsive health-information theme for ColoradoPharma.
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: coloradopharma
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --cp-navy: #12304a;
  --cp-navy-2: #173d5d;
  --cp-blue: #2d6ea3;
  --cp-blue-dark: #235a87;
  --cp-teal: #2e8c87;
  --cp-teal-soft: #eaf7f5;
  --cp-sky: #eef8fc;
  --cp-soft: #f5f8fa;
  --cp-soft-2: #f8fbfc;
  --cp-line: #d9e6ed;
  --cp-text: #213340;
  --cp-muted: #627583;
  --cp-white: #ffffff;
  --cp-danger: #b94a48;
  --cp-shadow: 0 18px 50px rgba(18, 48, 74, .08);
  --cp-shadow-sm: 0 10px 28px rgba(18, 48, 74, .06);
  --cp-radius: 20px;
  --cp-radius-sm: 12px;
  --cp-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cp-text);
  background: var(--cp-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
a { color: var(--cp-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible { outline: 3px solid rgba(45,110,163,.3); outline-offset: 2px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--cp-container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--cp-navy);
  color: var(--cp-white);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 10000;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(217,230,237,.9);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cp-navy);
  flex: 0 0 auto;
}
.brand-lockup:hover { text-decoration: none; }
.brand-mark { width: 48px; height: 48px; flex: 0 0 48px; }
.brand-copy { display: block; min-width: 0; }
.brand-name {
  display: block;
  font-weight: 850;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand-name span { color: var(--cp-teal); }
.brand-tagline {
  display: block;
  margin-top: 5px;
  color: var(--cp-muted);
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: .01em;
  max-width: 225px;
}
.brand-lockup--footer .brand-tagline { color: rgba(255,255,255,.66); }
.brand-lockup--footer .brand-name { color: #fff; }
.brand-lockup--footer .brand-name span { color: #69c5bf; }

.main-nav {
  margin-left: auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.main-nav > .primary-menu,
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}
.primary-menu > .menu-item { position: relative; }
.primary-menu > .menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 9px 10px;
  color: var(--cp-navy);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 10px;
}
.primary-menu > .menu-item > a:hover,
.primary-menu > .menu-item.current-menu-item > a,
.primary-menu > .menu-item.current-menu-ancestor > a {
  color: var(--cp-blue);
  background: #f2f8fb;
  text-decoration: none;
}
.primary-menu > .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--cp-line);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(18,48,74,.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.primary-menu .sub-menu li a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--cp-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.primary-menu .sub-menu li a:hover,
.primary-menu .sub-menu li.current-menu-item a {
  background: #f2f8fb;
  color: var(--cp-blue);
  text-decoration: none;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--cp-navy);
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(18,48,74,.14);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.header-cta:hover { background: var(--cp-blue-dark); text-decoration: none; }
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--cp-line);
  background: #fff;
  color: var(--cp-navy);
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
.menu-toggle span { display:block; width:18px; height:2px; background:currentColor; margin:3px auto; border-radius:2px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef8fc 0%, #f8fcfd 58%, #eaf7f7 100%);
}
.hero-orb { position:absolute; border-radius:50%; pointer-events:none; }
.hero-orb--one { width:450px; height:450px; right:-80px; top:-180px; background:rgba(45,110,163,.08); }
.hero-orb--two { width:320px; height:320px; right:15%; bottom:-220px; background:rgba(46,140,135,.07); }
.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr);
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.hero-content { padding: 72px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cp-teal);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}
.eyebrow::before { content:""; width:28px; height:2px; background:currentColor; border-radius:999px; }
.hero h1 {
  margin: 16px 0 20px;
  max-width: 720px;
  color: var(--cp-navy);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.052em;
  font-weight: 850;
}
.hero-copy {
  margin: 0;
  max-width: 700px;
  color: #506675;
  font-size: 18px;
}
.hero-support {
  margin: 14px 0 0;
  max-width: 680px;
  color: var(--cp-muted);
  font-size: 15px;
}
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.actions--center { justify-content:center; }
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}
.btn-primary { background:var(--cp-blue); color:#fff; box-shadow:0 12px 24px rgba(45,110,163,.18); }
.btn-primary:hover { background:var(--cp-navy); color:#fff; text-decoration:none; }
.btn-secondary { background:#fff; color:var(--cp-blue); border-color:#afd0e2; }
.btn-secondary:hover { background:#f6fbfd; text-decoration:none; }
.hero-microcopy { display:flex; align-items:center; gap:8px; margin-top:18px; color:#6b7d89; font-size:12px; }
.hero-microcopy span { color:var(--cp-teal); font-weight:900; }

.hero-visual { display:flex; justify-content:center; align-items:center; min-height:520px; padding:40px 0; }
.hero-panel {
  position:relative;
  width:min(510px, 100%);
  min-height:400px;
  border:1px solid rgba(255,255,255,.9);
  border-radius:34px;
  background:linear-gradient(145deg,#fff 0%,#eff8fb 100%);
  box-shadow:var(--cp-shadow);
  padding:28px;
  overflow:visible;
}
.hero-illustration { position:relative; width:78%; aspect-ratio:1/1; margin:auto; border-radius:50%; background:radial-gradient(circle at 50% 30%, #f9fcfd 0%, #dceff5 72%, #c9e4ed 100%); overflow:hidden; }
.hero-person-body { position:absolute; width:58%; height:60%; left:21%; bottom:-2%; background:#fff; border-radius:45% 45% 10% 10%; box-shadow:0 16px 28px rgba(18,48,74,.08); }
.hero-person-head { position:absolute; width:30%; height:31%; left:35%; top:22%; background:#f3cfba; border-radius:50% 50% 47% 47%; z-index:3; }
.hero-person-hair { position:absolute; width:41%; height:32%; left:29%; top:15%; background:#594740; border-radius:50% 50% 35% 35%; z-index:2; }
.hero-person-body::before { content:""; position:absolute; width:28%; height:28%; left:36%; top:9%; background:#dfedf2; clip-path:polygon(50% 0, 78% 25%, 63% 60%, 37% 60%, 22% 25%); }
.hero-tablet { position:absolute; width:39%; height:24%; right:14%; bottom:17%; z-index:5; background:var(--cp-navy); border:6px solid #fff; border-radius:13px; transform:rotate(-7deg); box-shadow:0 15px 28px rgba(18,48,74,.18); }
.hero-badge-stack { position:absolute; right:-34px; top:54px; z-index:8; display:grid; gap:11px; }
.hero-badge { min-width:185px; display:flex; align-items:center; gap:10px; padding:12px 13px; background:#fff; border:1px solid rgba(217,230,237,.72); border-radius:13px; box-shadow:0 12px 25px rgba(18,48,74,.12); color:var(--cp-navy); font-size:12px; }
.hero-badge span { display:grid; place-items:center; width:30px; height:30px; border-radius:9px; background:#ecf8f7; color:var(--cp-teal); font-weight:900; flex:0 0 30px; }

/* Trust */
.trust-strip { background:#fff; border-bottom:1px solid var(--cp-line); }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.trust-item { display:flex; align-items:center; gap:12px; min-height:86px; padding:17px 16px; border-right:1px solid var(--cp-line); }
.trust-item:last-child { border-right:0; }
.trust-icon { width:38px; height:38px; flex:0 0 38px; border-radius:10px; background:var(--cp-teal-soft); color:var(--cp-teal); display:grid; place-items:center; font-weight:900; }
.trust-item strong { display:block; color:var(--cp-navy); font-size:13px; }
.trust-item span span { display:block; margin-top:1px; color:var(--cp-muted); font-size:11px; line-height:1.35; }

/* Sections */
.section { padding:82px 0; }
.section-large { padding:96px 0; }
.section-soft { background:var(--cp-soft); }
.section-header { max-width:780px; margin:0 auto 42px; text-align:center; }
.section-header--wide { max-width:900px; }
.section-header--left { max-width:none; display:flex; align-items:flex-end; justify-content:space-between; gap:30px; text-align:left; }
.section-header h2 { margin:10px 0 13px; color:var(--cp-navy); font-size:clamp(31px,4vw,44px); line-height:1.12; letter-spacing:-.035em; font-weight:850; }
.section-header p { margin:0; color:var(--cp-muted); font-size:16px; }

/* Category cards */
.card-grid { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:16px; }
.info-card { display:flex; flex-direction:column; min-height:330px; padding:24px; border:1px solid var(--cp-line); border-radius:var(--cp-radius); background:#fff; box-shadow:var(--cp-shadow-sm); }
.info-card:hover { transform:translateY(-2px); box-shadow:0 16px 36px rgba(18,48,74,.08); }
.info-icon { width:52px; height:52px; display:grid; place-items:center; margin-bottom:18px; border-radius:16px; background:linear-gradient(135deg,#eaf7f5,#eef8fc); color:var(--cp-blue); font-size:22px; font-weight:800; }
.info-card h3 { margin:0 0 10px; color:var(--cp-navy); font-size:19px; line-height:1.24; letter-spacing:-.015em; }
.info-card p { margin:0 0 20px; color:var(--cp-muted); font-size:14px; line-height:1.65; }
.card-link { margin-top:auto; color:var(--cp-blue); font-size:13px; font-weight:850; }
.card-link:hover { color:var(--cp-navy); text-decoration:none; }

/* Information pillars */
.pillars { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--cp-line); border-radius:var(--cp-radius); overflow:hidden; background:#fff; box-shadow:var(--cp-shadow-sm); }
.pillar { min-height:245px; padding:30px; border-right:1px solid var(--cp-line); }
.pillar:last-child { border-right:0; }
.pillar-icon { margin-bottom:10px; color:var(--cp-teal); font-size:23px; }
.pillar h3 { margin:0 0 9px; color:var(--cp-navy); font-size:18px; line-height:1.3; }
.pillar p { margin:0 0 18px; color:var(--cp-muted); font-size:14px; line-height:1.65; }
.pillar a { font-size:13px; font-weight:800; }

/* Split section */
.split-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:60px; align-items:center; }
.split-media { position:relative; min-height:400px; overflow:hidden; border-radius:30px; background:linear-gradient(145deg,#eef8fa,#d9edf3); box-shadow:var(--cp-shadow); }
.split-media::before { content:""; position:absolute; width:230px; height:230px; left:11%; top:12%; border-radius:50%; background:#fff; box-shadow:0 18px 40px rgba(18,48,74,.08); }
.book-stack { position:absolute; left:18%; bottom:24%; width:190px; height:112px; transform:rotate(-8deg); }
.book { position:absolute; left:0; width:100%; height:29px; border-radius:6px; box-shadow:0 7px 14px rgba(18,48,74,.08); }
.book:nth-child(1){bottom:0;background:#2d6ea3}.book:nth-child(2){bottom:24px;background:#e2f1f4}.book:nth-child(3){bottom:48px;background:#12304a}.book:nth-child(4){bottom:72px;background:#fff;border:1px solid #dbe7ee}
.note { position:absolute; right:9%; bottom:12%; padding:17px 20px; border-radius:16px; background:#fff; box-shadow:0 14px 28px rgba(18,48,74,.12); color:var(--cp-navy); font-weight:850; transform:rotate(4deg); }
.split-content h2 { margin:0 0 18px; color:var(--cp-navy); font-size:clamp(34px,4vw,47px); line-height:1.08; letter-spacing:-.04em; font-weight:850; }
.split-content p { color:var(--cp-muted); }

/* Posts */
.posts-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px; }
.mini-post-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:18px; }
.post-card { overflow:hidden; border:1px solid var(--cp-line); border-radius:var(--cp-radius); background:#fff; box-shadow:0 10px 28px rgba(18,48,74,.04); }
.post-card:hover { box-shadow:0 16px 34px rgba(18,48,74,.08); }
.post-thumb-link { display:block; }
.post-thumb { aspect-ratio:16/9; overflow:hidden; display:grid; place-items:center; background:linear-gradient(135deg,#dceff6,#eff8f9); color:var(--cp-teal); font-size:42px; }
.post-thumb img { width:100%; height:100%; object-fit:cover; }
.post-thumb--graphic { background:linear-gradient(135deg,#e9f6fa,#d9edf3); }
.post-thumb--graphic span { font-size:48px; }
.post-body { padding:22px; }
.post-meta { color:var(--cp-teal); font-size:10px; font-weight:850; text-transform:uppercase; letter-spacing:.07em; }
.post-card h3 { margin:8px 0 9px; color:var(--cp-navy); font-size:20px; line-height:1.3; letter-spacing:-.01em; }
.post-card h3 a { color:inherit; }
.post-card h3 a:hover { color:var(--cp-blue); text-decoration:none; }
.post-card p { margin:0 0 14px; color:var(--cp-muted); font-size:14px; line-height:1.65; }
.post-date { display:block; margin-bottom:10px; color:#82929d; font-size:12px; }

/* Health banner */
.health-banner { position:relative; overflow:hidden; background:linear-gradient(135deg,#edf8fb,#f7fbfb); }
.health-banner::before,
.health-banner::after { content:""; position:absolute; width:380px; height:180px; bottom:-125px; border-radius:50%; background:rgba(45,110,163,.07); }
.health-banner::before { left:-70px; transform:rotate(-12deg); }
.health-banner::after { right:-50px; transform:rotate(12deg); }
.health-banner-inner { position:relative; z-index:1; text-align:center; }
.health-banner h2 { margin:12px 0 13px; color:var(--cp-navy); font-size:clamp(32px,4vw,42px); line-height:1.12; letter-spacing:-.035em; }
.health-banner p { max-width:850px; margin:0 auto; color:var(--cp-muted); }

/* Pages */
.page-hero { border-bottom:1px solid var(--cp-line); background:linear-gradient(135deg,#eef8fc,#f6fbfc); padding:66px 0; }
.page-hero--large { padding:82px 0; }
.page-hero--article { padding-bottom:54px; }
.breadcrumb { margin-bottom:13px; color:#778894; font-size:12px; line-height:1.5; }
.breadcrumb a { color:var(--cp-blue); }
.page-hero h1 { max-width:920px; margin:12px 0 16px; color:var(--cp-navy); font-size:clamp(38px,5vw,60px); line-height:1.06; letter-spacing:-.045em; font-weight:850; }
.page-hero p { max-width:900px; margin:0; color:var(--cp-muted); font-size:18px; }
.hero-topic-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:21px; }
.hero-topic-meta span,
.article-meta span { display:inline-flex; align-items:center; min-height:30px; padding:6px 10px; border:1px solid var(--cp-line); border-radius:999px; background:rgba(255,255,255,.72); color:#6b7b86; font-size:12px; }
.article-meta { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }

.content-shell { padding:76px 0; }
.content-grid { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:48px; align-items:start; }
.entry-content { max-width:900px; }
.entry-content > :first-child { margin-top:0; }
.entry-content h2 { margin:45px 0 14px; color:var(--cp-navy); font-size:32px; line-height:1.18; letter-spacing:-.03em; font-weight:850; }
.entry-content h3 { margin:30px 0 11px; color:var(--cp-navy); font-size:23px; line-height:1.3; font-weight:800; }
.entry-content p,
.entry-content li { color:#506472; }
.entry-content p { margin:0 0 18px; }
.entry-content ul,
.entry-content ol { padding-left:22px; }
.entry-content li + li { margin-top:9px; }
.entry-content a { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.lead { font-size:20px; line-height:1.7; color:#425764 !important; }

.feature-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:22px 0 14px; }
.feature-list--single { grid-template-columns:1fr; }
.feature-list > div { padding:20px; border:1px solid var(--cp-line); border-radius:16px; background:#fbfdfe; }
.feature-list strong { display:block; margin-bottom:6px; color:var(--cp-navy); font-size:16px; }
.feature-list p { margin:0; font-size:14px; line-height:1.6; }
.check-list { list-style:none; padding-left:0 !important; }
.check-list li { position:relative; padding-left:30px; }
.check-list li::before { content:"✓"; position:absolute; left:0; top:.1em; color:var(--cp-teal); font-weight:900; }
.step-list { list-style:none; padding:0 !important; counter-reset:steps; }
.step-list li { position:relative; min-height:48px; padding-left:56px; }
.step-list li::before { counter-increment:steps; content:counter(steps); position:absolute; left:0; top:0; width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#edf7f8; color:var(--cp-teal); font-weight:850; }

.sidebar-box { margin-bottom:18px; padding:23px; border:1px solid var(--cp-line); border-radius:18px; background:#fff; box-shadow:0 10px 24px rgba(18,48,74,.04); }
.sidebar-box--sticky { position:sticky; top:108px; }
.sidebar-box h3 { margin:0 0 12px; color:var(--cp-navy); font-size:18px; }
.sidebar-box p { margin:0; color:var(--cp-muted); font-size:14px; line-height:1.65; }
.sidebar-box ul { list-style:none; padding:0; margin:0; }
.sidebar-box li + li { border-top:1px solid var(--cp-line); }
.sidebar-box a { display:block; padding:11px 0; color:var(--cp-navy); font-size:14px; font-weight:750; }
.sidebar-box a:hover { color:var(--cp-blue); text-decoration:none; }

.notice { margin:26px 0; padding:18px 20px; border-left:4px solid var(--cp-teal); border-radius:0 13px 13px 0; background:#eff9f8; color:#49626e; }
.notice strong { color:var(--cp-navy); }
.notice--soft { background:#f2f7fa; border-left-color:var(--cp-blue); }
.notice--error { background:#fff3f2; border-left-color:var(--cp-danger); }

.faq-list { margin-top:20px; }
.faq-list details { border:1px solid var(--cp-line); border-radius:13px; padding:17px 18px; margin-bottom:11px; background:#fff; }
.faq-list summary { cursor:pointer; color:var(--cp-navy); font-weight:800; list-style:none; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"+"; float:right; color:var(--cp-teal); font-size:20px; line-height:1; }
.faq-list details[open] summary::after { content:"–"; }
.faq-list details p { margin:12px 0 0; font-size:14px; }
.related-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:18px; }
.related-links a { display:block; padding:15px 16px; border:1px solid var(--cp-line); border-radius:14px; background:#fbfdfe; color:var(--cp-navy); font-size:13px; font-weight:800; text-decoration:none; }
.related-links a:hover { background:#f1f8fb; color:var(--cp-blue); }
.topic-map { display:grid; grid-template-columns:1fr 1fr; gap:12px; align-content:start; padding-top:6px; }
.topic-map-card { padding:22px; border:1px solid var(--cp-line); border-radius:18px; background:#fff; box-shadow:var(--cp-shadow-sm); }
.topic-map-card strong { display:block; margin-bottom:4px; color:var(--cp-navy); }
.topic-map-card span { color:var(--cp-muted); font-size:13px; }
.two-col-content { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr); gap:60px; align-items:start; }
.article-featured-image { margin-bottom:30px; border-radius:20px; overflow:hidden; box-shadow:var(--cp-shadow-sm); }
.article-featured-image img { width:100%; height:auto; }

/* Forms */
.contact-grid { display:grid; grid-template-columns:minmax(0,.95fr) minmax(360px,1.05fr); gap:48px; align-items:start; }
.form-card { padding:30px; border:1px solid var(--cp-line); border-radius:20px; background:#fff; box-shadow:var(--cp-shadow); }
.form-card label { display:block; margin-bottom:7px; color:var(--cp-navy); font-size:14px; font-weight:800; }
.form-card input,
.form-card textarea,
.form-card select { width:100%; min-height:48px; margin:0 0 17px; padding:11px 13px; border:1px solid #cbdbe4; border-radius:11px; background:#fff; color:var(--cp-text); }
.form-card textarea { min-height:170px; resize:vertical; }
.form-card .btn { border:0; }

/* Blog/archive */
.archive-header { padding:68px 0 35px; }
.archive-header h1 { margin:0 0 12px; color:var(--cp-navy); font-size:48px; line-height:1.1; letter-spacing:-.04em; }
.archive-header p { max-width:820px; margin:0; color:var(--cp-muted); }
.search-form { display:flex; gap:8px; }
.search-form input { flex:1; min-height:46px; padding:10px 12px; border:1px solid #cbdbe4; border-radius:10px; }
.search-form button { min-height:46px; padding:10px 17px; border:0; border-radius:10px; background:var(--cp-navy); color:#fff; font-weight:800; }

/* Footer */
.site-footer { margin-top:0; background:var(--cp-navy); color:#dbe8ef; }
.footer-main { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:36px; padding:62px 0 38px; }
.footer-brand .brand-lockup { color:#fff; }
.footer-description { max-width:390px; margin:17px 0 0; color:#bdd0db; font-size:13px; line-height:1.7; }
.footer-title { margin:0 0 14px; color:#fff; font-size:14px; font-weight:850; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer li + li { margin-top:7px; }
.site-footer a { color:#c9dbe5; font-size:13px; }
.site-footer a:hover { color:#fff; text-decoration:none; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding:17px 0 24px; color:#a9c0cc; font-size:11px; }
.footer-bottom-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; }

/* Gutenberg / common */
.wp-block-button__link { border-radius:999px; }
.wp-caption { max-width:100%; }
.alignwide { width:min(1240px, calc(100% - 40px)); margin-inline:auto; }
.screen-reader-text { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

/* Responsive */
@media (max-width: 1180px) {
  .header-inner { gap:18px; }
  .brand-mark { width:44px; height:44px; flex-basis:44px; }
  .brand-name { font-size:20px; }
  .brand-tagline { max-width:205px; }
  .main-nav { gap:12px; }
  .primary-menu > .menu-item > a { padding-inline:8px; font-size:13px; }
  .header-cta { padding-inline:15px; }
  .card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .info-card { min-height:300px; }
}

@media (max-width: 960px) {
  .header-inner { min-height:72px; }
  .menu-toggle { display:block; }
  .main-nav { position:absolute; left:0; right:0; top:72px; display:none; margin:0; padding:12px 20px 18px; background:#fff; border-bottom:1px solid var(--cp-line); box-shadow:0 18px 26px rgba(18,48,74,.08); }
  .main-nav.is-open { display:block; }
  .main-nav > .primary-menu { display:block; }
  .primary-menu > .menu-item > a { width:100%; justify-content:space-between; min-height:46px; padding:11px 10px; }
  .primary-menu .sub-menu { position:static; min-width:0; display:none; padding:6px 8px 8px 16px; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0; border-left:2px solid #e2edf3; border-radius:0; }
  .primary-menu .menu-item-has-children.submenu-open > .sub-menu { display:block; }
  .primary-menu .sub-menu li a { padding:10px; }
  .header-cta { display:none; }
  .hero-grid { grid-template-columns:1fr; min-height:0; gap:16px; }
  .hero-content { padding:68px 0 22px; }
  .hero-visual { min-height:420px; padding:20px 0 66px; }
  .hero-panel { width:min(560px,100%); }
  .hero-badge-stack { right:-18px; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right:0; }
  .trust-item:nth-child(-n+2) { border-bottom:1px solid var(--cp-line); }
  .pillars { grid-template-columns:repeat(2,1fr); }
  .pillar:nth-child(2) { border-right:0; }
  .pillar:nth-child(-n+2) { border-bottom:1px solid var(--cp-line); }
  .content-grid { grid-template-columns:1fr; }
  .sidebar-box--sticky { position:static; }
  .contact-grid, .two-col-content { grid-template-columns:1fr; }
  .two-col-content { gap:34px; }
  .footer-main { grid-template-columns:1.5fr 1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
}

@media (max-width: 720px) {
  .container { width:min(var(--cp-container), calc(100% - 28px)); }
  .hero h1 { font-size:clamp(37px,10vw,52px); }
  .hero-copy { font-size:17px; }
  .hero-panel { min-height:360px; border-radius:28px; padding:24px; }
  .hero-badge-stack { right:-8px; top:40px; transform:scale(.88); transform-origin:top right; }
  .hero-illustration { width:80%; }
  .card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .posts-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .mini-post-grid { grid-template-columns:1fr; }
  .section, .section-large { padding:70px 0; }
  .section-header--left { align-items:flex-start; flex-direction:column; }
  .feature-list { grid-template-columns:1fr; }
  .related-links { grid-template-columns:1fr; }
  .topic-map { grid-template-columns:1fr 1fr; }
  .footer-main { grid-template-columns:1fr 1fr; }
}

@media (max-width: 520px) {
  .brand-tagline { display:none; }
  .brand-mark { width:42px; height:42px; flex-basis:42px; }
  .brand-name { font-size:19px; }
  .hero-content { padding-top:52px; }
  .hero h1 { margin-top:13px; font-size:39px; }
  .actions { align-items:stretch; flex-direction:column; }
  .btn { width:100%; }
  .hero-visual { min-height:330px; padding-top:6px; }
  .hero-panel { min-height:292px; padding:18px; }
  .hero-badge-stack { transform:scale(.69); right:-10px; top:28px; }
  .hero-illustration { width:76%; }
  .trust-grid { grid-template-columns:1fr; }
  .trust-item { border-right:0!important; border-bottom:1px solid var(--cp-line); }
  .trust-item:last-child { border-bottom:0; }
  .card-grid, .posts-grid, .pillars, .topic-map, .footer-main { grid-template-columns:1fr; }
  .pillar { border-right:0!important; border-bottom:1px solid var(--cp-line); }
  .pillar:last-child { border-bottom:0; }
  .section-header h2 { font-size:31px; }
  .split-media { min-height:300px; }
  .split-content h2 { font-size:34px; }
  .page-hero { padding:54px 0; }
  .page-hero--large { padding:62px 0; }
  .page-hero h1 { font-size:38px; }
  .content-shell { padding:60px 0; }
  .entry-content h2 { font-size:29px; }
  .lead { font-size:18px; }
  .form-card { padding:22px; }
  .footer-bottom-inner { align-items:flex-start; flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}

/* Pagination, menus, and utility refinements */
.category-nav { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 30px; }
.category-nav a { display:inline-flex; align-items:center; min-height:36px; padding:7px 12px; border:1px solid var(--cp-line); border-radius:999px; background:#fff; color:var(--cp-navy); font-size:12px; font-weight:800; }
.category-nav a:hover { background:#eef8fb; color:var(--cp-blue); text-decoration:none; }
.navigation.pagination { margin-top:38px; }
.nav-links { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:7px; }
.nav-links .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:40px; min-height:40px; padding:7px 10px; border:1px solid var(--cp-line); border-radius:10px; color:var(--cp-navy); background:#fff; font-size:13px; font-weight:800; }
.nav-links .page-numbers.current { background:var(--cp-navy); color:#fff; border-color:var(--cp-navy); }
.nav-links .page-numbers:hover { background:#eef8fb; color:var(--cp-blue); text-decoration:none; }
.nav-links .next, .nav-links .prev { padding-inline:13px; }
.hp-field { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; overflow:hidden !important; }

@media (max-width: 520px) {
  .nav-links .page-numbers { min-width:36px; }
}
