:root {
  --navy: #0d1726;
  --ink: #121826;
  --teal: #1f63b4;
  --aqua: #42bfd9;
  --copilot-blue: #2f80d8;
  --copilot-blue-dark: #1f63b4;
  --green: #42bfd9;
  --paper: #f4f7f6;
  --white: #ffffff;
  --muted: #516071;
  --line: rgba(18, 24, 38, 0.12);
  --shadow: 0 22px 60px rgba(13, 23, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 0 32px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-solid {
  background: rgba(13, 23, 38, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

body:not(.home) .site-header {
  background: rgba(13, 23, 38, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.single-post-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: var(--white) !important;
  background: var(--copilot-blue) !important;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.single-post-content .wp-block-button__link:hover {
  background: var(--copilot-blue-dark) !important;
}

.single-post-content .wp-block-table,
.single-post-content table {
  width: 100%;
  overflow-x: auto;
}

.single-post-content table {
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(13, 23, 38, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}

.brand-image-link {
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-copilot {
  height: 50px;
  max-width: 180px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: var(--white);
  background: var(--copilot-blue);
}

.brand-text {
  font-size: 19px;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 800;
}

.primary-nav a,
.site-footer nav a {
  text-decoration: none;
}

.primary-nav a:hover,
.site-footer nav a:hover {
  color: var(--aqua);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 21px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.header-cta,
.button-primary {
  color: var(--white);
  background: var(--copilot-blue);
  border-color: rgba(255, 255, 255, 0.12);
}

.header-cta:hover,
.button-primary:hover {
  background: var(--copilot-blue-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
}

.text-link:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/copilot-kpi-command-center-hero.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 72% 50%;
  filter: saturate(0.92);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 30, 0.94) 0%, rgba(8, 18, 30, 0.82) 44%, rgba(8, 18, 30, 0.34) 100%),
    linear-gradient(0deg, rgba(8, 18, 30, 0.72) 0%, rgba(8, 18, 30, 0.08) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 124px 0 84px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--teal);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 850px;
  font-size: 68px;
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 760px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  max-width: 850px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(111, 215, 234, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(13, 23, 38, 0.38);
  font-size: 13px;
  font-weight: 800;
}

.booking-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
  max-width: 620px;
}

.booking-proof span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(111, 215, 234, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

.walkthrough-hero {
  padding: 142px 0 78px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 23, 38, 0.97), rgba(18, 98, 127, 0.9)),
    var(--navy);
}

.walkthrough-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}

.walkthrough-copy h1 {
  font-size: 58px;
}

.video-shell {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #08121e;
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 34px;
  text-align: center;
  background: linear-gradient(180deg, rgba(8, 18, 30, 0.04), rgba(8, 18, 30, 0.74));
}

.play-mark {
  display: inline-flex;
  justify-self: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--copilot-blue);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.play-mark::before {
  content: "";
  align-self: center;
  margin-left: 27px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 18px solid var(--white);
}

.video-overlay strong {
  font-size: 24px;
  line-height: 1.15;
}

.video-overlay p {
  max-width: 430px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
}

.hero-product-shot {
  align-self: stretch;
}

.hero-product-shot img {
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.intro-band {
  padding: 56px 0;
  background: var(--white);
}

.intro-grid,
.split,
.comparison-grid,
.adoption-grid,
.final-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}

.intro-grid p:last-child,
.section-copy p,
.adoption-grid > div p,
.pricing-panel p,
.final-grid p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.metric-strip {
  padding: 18px 0;
  background: #102231;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-grid article {
  min-height: 166px;
  padding: 24px;
  background: #102231;
}

.metric-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.2;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.section {
  padding: 92px 0;
}

.section.alt,
.adoption-section,
.referral-story-section {
  background: var(--white);
}

.section-copy {
  display: grid;
  gap: 22px;
}

.section-copy h2,
.section-head h2,
.adoption-grid h2,
.faq-grid h2 {
  color: var(--teal);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #26354a;
  font-weight: 760;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--copilot-blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 216, 0.18);
}

.product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 98, 127, 0.16);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-shot img {
  width: 100%;
  height: auto;
}

.product-shot figcaption {
  padding: 14px 18px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  border-top: 1px solid var(--line);
}

.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.role-grid article {
  padding: 24px;
  min-height: 254px;
  border: 1px solid rgba(18, 98, 127, 0.15);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(13, 23, 38, 0.06);
}

.role-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.role-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.referral-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  padding: 28px;
  border: 1px solid rgba(31, 99, 180, 0.16);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(13, 23, 38, 0.07);
}

.story-card-risk {
  border-color: rgba(214, 78, 92, 0.22);
}

.story-card-solution {
  border-color: rgba(31, 99, 180, 0.26);
}

.story-label {
  margin: 0 0 16px;
  color: var(--copilot-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card h3 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.18;
}

.story-card ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.story-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.story-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copilot-blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 216, 0.12);
}

.feature-rows {
  display: grid;
  gap: 12px;
}

.feature-rows div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feature-rows strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.feature-rows span {
  color: var(--muted);
}

.comparison-section {
  background: #eef5fb;
}

.comparison-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comparison-preview-grid article {
  min-height: 214px;
  padding: 22px;
  border: 1px solid rgba(31, 99, 180, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(13, 23, 38, 0.07);
}

.comparison-preview-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--white);
  background: var(--copilot-blue);
  font-weight: 900;
}

.comparison-preview-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
}

.comparison-preview-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 2px 18px;
  padding: 24px;
  border: 1px solid rgba(18, 98, 127, 0.16);
  border-radius: 8px;
  background: var(--paper);
}

.steps span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--copilot-blue);
  font-weight: 900;
}

.steps strong {
  color: var(--ink);
  font-size: 18px;
}

.steps p {
  margin: 3px 0 0;
  color: var(--muted);
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.moment-grid article {
  min-height: 286px;
  padding: 24px;
  border: 1px solid rgba(18, 98, 127, 0.15);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(13, 23, 38, 0.06);
}

.moment-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--copilot-blue);
  font-weight: 900;
}

.moment-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.feature-expand-section {
  background: var(--paper);
}

.feature-expansion-grid,
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-expansion-grid article,
.advantage-grid article {
  min-height: 224px;
  padding: 24px;
  border: 1px solid rgba(18, 98, 127, 0.15);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(13, 23, 38, 0.06);
}

.feature-expansion-grid p,
.advantage-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.comparison-deep {
  background: #eef5fb;
}

.comparison-hero .hero-copy {
  max-width: 690px;
}

.comparison-matrix {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(18, 98, 127, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(13, 23, 38, 0.07);
}

.comparison-matrix [role="row"] {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, minmax(0, 1fr));
}

.comparison-matrix [role="row"] + [role="row"] {
  border-top: 1px solid var(--line);
}

.comparison-matrix span {
  padding: 18px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
}

.comparison-matrix span:last-child {
  border-right: 0;
}

.comparison-matrix [role="columnheader"] {
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.comparison-matrix [role="cell"]:first-child {
  color: var(--ink);
  font-weight: 850;
  background: #f8fbfa;
}

.comparison-matrix [role="cell"]:last-child {
  color: #143f6f;
  background: rgba(47, 128, 216, 0.11);
  font-weight: 760;
}

.long-matrix span {
  padding: 16px;
}

.advantage-section {
  background: var(--white);
}

.pricing-section,
.final-cta {
  background: var(--navy);
  color: var(--white);
}

.pricing-panel,
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 38px;
  align-items: center;
}

.pricing-panel h2,
.final-grid h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.pricing-panel p,
.final-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-points {
  display: grid;
  gap: 10px;
}

.pricing-points span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(111, 215, 234, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 850;
}

.faq-section {
  padding: 88px 0;
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(18, 98, 127, 0.15);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(13, 23, 38, 0.05);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta {
  padding: 78px 0;
}

.final-grid .button {
  justify-self: end;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #08121e;
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-logo-solvr {
  height: 36px;
  max-width: 160px;
}

.site-footer p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.site-footer nav {
  display: grid;
  gap: 9px;
  justify-items: end;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .primary-nav {
    display: none;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-overlay {
    background: rgba(8, 18, 30, 0.82);
  }

  .intro-grid,
  .split,
  .reverse,
  .walkthrough-grid,
  .comparison-grid,
  .adoption-grid,
  .pricing-panel,
  .faq-grid,
  .final-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .role-grid,
  .referral-story-grid,
  .moment-grid,
  .feature-expansion-grid,
  .comparison-preview-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comparison-matrix [role="row"] {
    grid-template-columns: 1fr 1fr;
  }

  .final-grid .button,
  .site-footer nav {
    justify-self: start;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
    padding: 0 14px;
  }

  .brand-text {
    font-size: 17px;
  }

  .brand-logo-copilot {
    height: 40px;
    max-width: 148px;
  }

  .footer-logo-solvr {
    height: 32px;
    max-width: 142px;
  }

  .header-cta {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 12px;
  }

  h1 {
    font-size: 41px;
  }

  h2 {
    font-size: 31px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding: 104px 0 54px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    text-align: center;
  }

  .metric-grid,
  .role-grid,
  .referral-story-grid,
  .moment-grid,
  .feature-expansion-grid,
  .comparison-preview-grid,
  .advantage-grid,
  .booking-proof {
    grid-template-columns: 1fr;
  }

  .walkthrough-hero {
    padding: 112px 0 58px;
  }

  .walkthrough-copy h1 {
    font-size: 40px;
  }

  .video-frame {
    aspect-ratio: 1 / 1;
  }

  .hero-product-shot img {
    min-height: auto;
  }

  .section,
  .faq-section {
    padding: 66px 0;
  }

  .comparison-matrix [role="row"] {
    grid-template-columns: 1fr;
  }
}

.blog-hero {
  padding-top: 76px;
}

.blog-archive-hero {
  min-height: auto;
  padding-bottom: 88px;
}

.blog-archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: end;
}

.blog-topics-section {
  background: var(--white);
}

.blog-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-topic-card,
.blog-topic-panel {
  display: block;
  padding: 24px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(31, 99, 180, 0.16);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(13, 23, 38, 0.07);
}

.blog-topic-card {
  min-height: 188px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.blog-topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 128, 216, 0.45);
  box-shadow: 0 20px 44px rgba(13, 23, 38, 0.12);
}

.blog-topic-card span {
  display: block;
  color: var(--copilot-blue-dark);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.blog-topic-card p,
.blog-topic-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.blog-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.blog-topic-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  color: var(--copilot-blue-dark);
  background: rgba(47, 128, 216, 0.1);
  border: 1px solid rgba(47, 128, 216, 0.18);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.blog-topic-links a:hover {
  color: var(--white);
  background: var(--copilot-blue);
}

.blog-list-section {
  background: var(--paper);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card-grid-latest {
  margin-top: 18px;
}

.blog-featured-card {
  min-height: 310px;
  display: grid;
  align-items: end;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 23, 38, 0.94), rgba(31, 99, 180, 0.84)),
    url("assets/copilot-kpi-command-center-hero.svg") right center / min(620px, 62%) no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.blog-featured-card div {
  max-width: 620px;
}

.blog-featured-card .story-label {
  color: rgba(255, 255, 255, 0.8);
}

.blog-featured-card h3 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: 0;
}

.blog-featured-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-featured-card p:not(.story-label) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.blog-featured-card .text-link {
  color: var(--white);
}

.blog-card,
.blog-empty {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(31, 99, 180, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(13, 23, 38, 0.08);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  margin: 10px 0 10px;
  font-size: 24px;
  line-height: 1.14;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--copilot-blue);
}

.blog-card p {
  color: var(--muted);
}

.blog-card .text-link {
  margin-top: auto;
}

.blog-empty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blog-empty-accent {
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
  border-color: rgba(47, 128, 216, 0.28);
}

.blog-pagination {
  margin-top: 34px;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(31, 99, 180, 0.18);
  background: var(--white);
}

.blog-pagination .current,
.blog-pagination a:hover {
  color: var(--white);
  background: var(--copilot-blue);
}

.single-post-section {
  padding-top: 142px;
  background: var(--paper);
}

.single-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 320px;
  gap: 54px;
  align-items: start;
}

.single-post-main {
  min-width: 0;
}

.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.single-post-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  background: var(--white);
  border: 1px solid rgba(31, 99, 180, 0.14);
  border-radius: 999px;
}

.single-post-main h1 {
  max-width: none;
  color: var(--copilot-blue-dark);
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: 0;
}

.single-post-content {
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
}

.single-post-hero {
  margin: 34px 0 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 23, 38, 0.92), rgba(31, 99, 180, 0.76)),
    var(--navy);
  border: 1px solid rgba(31, 99, 180, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(13, 23, 38, 0.13);
}

.single-post-hero img {
  width: 100%;
  min-height: 280px;
  max-height: 430px;
  object-fit: cover;
  object-position: center;
}

.single-post-content h2,
.single-post-content h3 {
  margin-top: 34px;
  color: var(--ink);
}

.single-post-content a {
  color: var(--copilot-blue);
  font-weight: 800;
}

.single-post-content p,
.single-post-content ul,
.single-post-content ol {
  margin: 18px 0;
}

.single-post-content blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  color: var(--ink);
  background: var(--white);
  border-left: 5px solid var(--copilot-blue);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(13, 23, 38, 0.08);
}

.single-post-content .wp-block-table,
.single-post-content table {
  width: 100%;
  margin: 28px 0;
}

.single-post-content table {
  border-collapse: collapse;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(31, 99, 180, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(13, 23, 38, 0.07);
}

.single-post-content th,
.single-post-content td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(18, 24, 38, 0.1);
}

.single-post-content th {
  color: var(--white);
  background: var(--copilot-blue-dark);
}

.single-post-content tr:last-child td {
  border-bottom: 0;
}

.single-post-content .wp-block-group {
  margin: 28px 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(31, 99, 180, 0.16);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(13, 23, 38, 0.07);
}

.single-post-content .wp-block-buttons {
  margin-top: 22px;
}

.single-post-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--copilot-blue);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.single-post-content img {
  margin: 28px 0;
  border-radius: 8px;
  border: 1px solid rgba(31, 99, 180, 0.14);
}

.single-post-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(18, 24, 38, 0.12);
}

.single-post-sidebar {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 16px;
}

.single-sidebar-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(31, 99, 180, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(13, 23, 38, 0.08);
}

.single-sidebar-card h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.12;
}

.single-sidebar-card p:not(.story-label) {
  color: var(--muted);
}

.single-sidebar-card .button {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .blog-archive-grid,
  .blog-topic-grid,
  .blog-empty-grid,
  .single-post-layout {
    grid-template-columns: 1fr;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-card {
    background:
      linear-gradient(135deg, rgba(13, 23, 38, 0.95), rgba(31, 99, 180, 0.88)),
      url("assets/copilot-kpi-command-center-hero.svg") right bottom / 520px no-repeat;
  }

  .single-post-main h1 {
    font-size: 40px;
  }

  .single-post-sidebar {
    position: static;
  }
}
