:root {
  --accent: #ff8c24;
  --heading: #000000;
  --border: #e5e7eb;
  --bg: #f5f6f7;
}

body {
  background: #fff;
}

/* Match nav to index.html when scrolled (solid bar, same link colors; no shadow under nav) */
body:has(.article-hero) .header {
  --background-color: #ffffff;
  --heading-color: #32353a;
  --nav-color: #3a3939;
  box-shadow: none;
}

/* Blog post: consistent top spacing with other inner pages (e.g. insights, team) */
.article-hero {
  padding-top: 140px !important;
  padding-bottom: 0;
}

/* Header */
.article-hero figure,
.meta-wrap,
.article-body,
.related-inner {
  max-width: 1200px;
  margin: auto;
}

.article-hero img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 8px;
}

/* When the first in-article figure is moved into the hero, override float layout */
.article-hero .media-left,
.article-hero .media-right {
  float: none;
  width: min(720px, 92vw);
  max-width: 720px;
  margin: 18px auto 0;
}
.article-hero .media-left img,
.article-hero .media-right img {
  width: 100%;
  margin: 0;
}

.meta-wrap {
  padding: 24px 24px 0;
}

.meta-wrap .date {
  color: #7d848d;
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Space between hero (title + date) and article body */
.article-hero + .article-body {
  margin-top: 32px;
}

/* Article breadcrumb: Home > Blog > Category > Title */
.article-breadcrumb {
  margin-bottom: 12px;
}
.article-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  font-size: 0.875rem;
  color: #6b7280;
}
.article-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: #9ca3af;
}
.article-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}
.article-breadcrumb a:hover {
  color: var(--accent);
}
.article-breadcrumb li[aria-current="page"] {
  color: var(--heading);
  font-weight: 500;
}

/* Key Takeaways block – clearly boxed, high contrast; clear floats so it never sits under a floated image */
.key-takeaways {
  clear: both;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: 0 4px 12px rgba(255, 140, 36, 0.12);
}
.key-takeaways__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.key-takeaways ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style-type: disc;
  list-style-position: outside;
}
.key-takeaways li {
  margin-bottom: 8px;
  line-height: 1.55;
  color: #333;
  display: list-item;
  margin-left: 0;
  padding-left: 0.25rem;
}
.key-takeaways li:last-child {
  margin-bottom: 0;
}

/* Two-column comparison block */
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
.comparison-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--accent);
}
.comparison-card:last-child {
  border-top-color: #1e3a5f;
}
.comparison-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 8px;
}
.comparison-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 8px;
}
.comparison-card__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #444;
  margin: 0 0 12px;
}
.comparison-card__example {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  margin: 0;
}

/* Metric cards grid */
.metric-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.metric-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--accent);
}
.metric-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 6px;
}
.metric-card__desc {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #555;
  margin: 0;
}

/* Steps block (process diagram) */
.steps-block {
  margin: 28px 0;
}
.steps-block .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.steps-block .step-box {
  flex: none;
  min-width: 0;
  max-width: none;
}

/* Funnel / simple diagram */
.funnel-diagram {
  background: #fff;
  padding: 28px 32px;
  border-radius: 12px;
  border: 2px solid #d1d5db;
  margin: 28px 0;
  text-align: center;
}
.funnel-diagram__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 16px;
}
.funnel-diagram__flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
}
.funnel-diagram__flow span {
  padding: 8px 14px;
  background: #f8fafc;
  border-radius: 8px;
}
.funnel-diagram__flow .arrow {
  color: var(--accent);
  font-weight: 700;
}

/* Pull quote */
.pull-quote {
  margin: 32px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fff9f5 0%, #fff5ee 100%);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
  color: #333;
  font-style: italic;
}

/* Example box */
.example-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 28px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.example-box__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-bottom: 12px;
}
.example-box__body {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0 0 16px;
}
.example-box__results {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.example-box__results li {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
}
.example-box__results li span {
  color: #059669;
  margin-right: 4px;
}

.example-box a {
  color: var(--accent);
  font-weight: 500;
}

.example-box a:hover {
  text-decoration: underline;
}

/* Visual CTA block */
.cta-banner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  margin: 48px 0 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.cta-banner h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--heading);
}
.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #555;
}
.cta-banner .cta-button {
  margin-top: 0;
  color: #1e1e1e;
  /* visible on white banner: light border like generic .cta-btn */
  border-color: rgba(0, 0, 0, 0.15);
}
.cta-banner .cta-button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  text-decoration: none;
}

.cta-banner a {
  color: #1a365d;
  font-weight: 600;
}

.cta-banner a:not(.cta-button):hover {
  color: var(--accent);
  text-decoration: underline;
}

h1.article-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: var(--heading);
  margin: 8px 0 12px;
}

/* Article Body */
.article-body {
  background: #fff;
  padding: 60px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.article-body img {
  width: 100%;
  margin: 30px 0;
  border-radius: 8px;
}

.article-body h2 {
  clear: both;
  font-weight: 600;
  margin-top: 2.2rem;
  color: var(--heading);
}

.highlight {
  background: #f3f4f6;
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  font-style: italic;
  margin: 32px 0;
}

/* Media Blocks */
/* Intro row: one row, two columns (image | text); same padding/margin per column; pull up into article top padding */
.article-body > .intro-row {
  margin-top: -32px;
}
.intro-row {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}
.intro-row .article-figure {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  padding-top: 0;
}
.intro-text {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.intro-text p {
  margin-top: 0;
  margin-bottom: 0.75em;
}
.intro-text p:last-child {
  margin-bottom: 0;
}

/* Intro row with text left, image right (e.g. claims-agent) */
.intro-row--text-left {
  grid-template-columns: 1fr minmax(0, 420px);
}
.intro-row__figure {
  margin: 0;
  padding: 0;
}
.intro-row__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Article top image – when not in intro-row (e.g. float layout on other posts) */
.article-body > .article-figure {
  margin-top: 0;
}
.article-body > .article-figure + p {
  margin-top: 0;
}
.article-figure {
  float: left;
  width: 42%;
  max-width: 380px;
  margin: 0 28px 20px 0;
  padding-top: 0;
  overflow: hidden;
  border-radius: 8px;
}
.article-figure img {
  width: 100%;
  height: auto;
  min-height: 200px;
  margin-top: 0 !important;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

.media-left,
.media-right {
  width: 38%;
  max-width: 320px;
  margin: 0.5em 0 1em 0;
}

.media-left {
  float: left;
  margin-right: 1.25em;
}

.media-right {
  float: right;
  margin-left: 1.25em;
}

.media-left img,
.media-right img {
  width: 100%;
  border-radius: 8px;
  margin: 0;
}

/* CTA button – same as index .call-to-action .cta-btn (on and off hover) */
.cta-button {
  display: inline-block;
  padding: 12px 40px;
  background: #ffffff;
  color: #1e1e1e;
  border: 2px solid #ffffff;
  border-radius: 5px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.5s;
}

.cta-button:hover {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  text-decoration: none;
}

.cta-button:focus,
.cta-button:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Table */
.article-body table {
  width: 50%;
  float: left;
  margin: 0 32px 24px 0;
}

th {
  background: transparent;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

td {
  border-bottom: 1px solid #ffe3ca;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .intro-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .article-figure,
  .media-left,
  .media-right,
  .article-body table {
    float: none;
    width: 100%;
    margin: 24px 0;
  }
  .article-figure {
    max-width: 100%;
  }

  .comparison-cards {
    grid-template-columns: 1fr;
  }

  .metric-cards {
    grid-template-columns: 1fr;
  }

  .funnel-diagram__flow {
    flex-direction: column;
  }

  .score-action-visual {
    flex-direction: column;
    align-items: flex-start;
  }

  .score-action-visual img {
    max-width: 100px;
  }
}

/* Score Visuals */
.score-action-visual {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 40px 0;
}

.score-action-visual img {
  max-width: 150px;
  border-radius: 8px;
}

.score-action-visual ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Author Section */
.author-block {
  margin-bottom: -50px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding: 10px 0;
}

.author-block img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.social-share a {
  color: #7d848d;
  margin-left: 12px;
  font-size: 18px;
}

/* Step Boxes */
.grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: space-between;
  overflow-x: auto;
  margin-bottom: 20px;
}

.step-box {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.step-number {
  background-color: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

/* Related Cards */
.related-wrap {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 60px 0;
  text-align: center;
}

.related-cards {
  display: flex;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.related-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fff;
  transition: 0.3s;
  overflow: hidden;
}

.related-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.related-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.related-card .info {
  padding: 16px;
}

.related-card .info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 6px;
}

.related-card .info .meta {
  font-size: 0.75rem;
  color: #7d848d;
}

    th {
    background: transparent;
    color: #ff8c24;
    border-bottom: 2px solid #ff8c24;
    }

    td {
    border-bottom: 1px solid #ffe3ca;
    }

    /* grid stays the same */
    .score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    }

    /* card container */
    .score-card {
    background: #fff;
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    }

    /* header: icon + title inline */
    .score-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    }

    /* icon styling */
    .score-card i {
    font-size: 1.5rem;
    color: #ff8c24;           /* your brand orange */
    flex-shrink: 0;
    }

    /* title */
    .score-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    }

    /* bullet list */
    .score-card ul {
    padding-left: 1.25rem;    /* default bullet indent */
    margin: 0;
    }

    .score-card li {
    margin-bottom: 0.35rem;
    font-size: 1rem;
    line-height: 1.4;
    }
    .footer .footer-about p {
    font-size: 14px;
    font-family: var(--body-font);
    font-weight: 400;          /* ensure normal weight */
    }    

    .related-wrap {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}

.related-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.related-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.related-card {
  width: 320px; /* Increased from default ~260px */
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.related-card:hover {
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.related-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.related-card .info {
  padding: 20px;
}

.related-card .info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  margin: 0 0 8px;
}

.related-card .info .meta {
  font-size: 0.85rem;
  color: #7d848d;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.step-box {
  flex: 1 1 calc(33.333% - 1rem);
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  min-width: 250px;
  max-width: 300px;
}

.related-articles {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.related-article-card {
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.related-article-card img {
  width: 100%;
  height: auto;
}
.related-article-card h4 {
  font-size: 1.1rem;
  margin: 0.5rem;
}
.related-article-card .meta {
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem;
}
