/* Blog-only editorial styles; shared navigation and footer retain their site styling. */
body.blog-page {
  margin: 0;
  background: #fcfbf8;
  color: #182139;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.blog-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px 30px;
}

.blog-shell *,
.blog-shell *::before,
.blog-shell *::after {
  box-sizing: border-box;
}

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

.blog-shell a:focus-visible,
.blog-shell summary:focus-visible,
.blog-table:focus-visible {
  outline: 3px solid #c2410c;
  outline-offset: 5px;
}

.blog-eyebrow {
  display: block;
  color: #b5440b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-hero {
  padding: 72px 0 54px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: end;
}

.blog-hero h1 {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.045em;
  margin: 20px 0;
}

.blog-hero h1 span {
  color: #be4c16;
}

.blog-hero p {
  max-width: 610px;
  margin: 0;
  color: #606879;
  font-size: 16px;
}

.blog-hero-note {
  border-left: 1px solid #dedbd4;
  padding: 8px 0 8px 30px;
}

.blog-hero-note .blog-note-icon {
  font-size: 40px;
  line-height: 1;
  color: #c7531c;
}

.blog-hero-note p {
  font-size: 15px;
  margin: 12px 0 20px;
  color: #182139;
}

.blog-hero-note a {
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid #bf4d17;
  padding-bottom: 5px;
}

.blog-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid #e5dfd5;
  border-radius: 22px;
  background: white;
  transition: box-shadow .2s;
}

.blog-feature:hover {
  box-shadow: 0 18px 48px #18213912;
}

.blog-feature-art {
  min-height: 440px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 65px 26px;
  background: radial-gradient(ellipse at 5% 100%, #c86c36 0, transparent 65%), radial-gradient(ellipse at 100% 0, #364769 0, transparent 70%), #141f35;
  color: white;
}

.blog-feature-art::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 42px 42px;
}

.art-label,
.art-bottom {
  position: absolute;
  left: 30px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .2em;
  color: #f3e5d4;
}

.art-label {
  top: 30px;
}

.art-bottom {
  bottom: 28px;
}

.art-context,
.art-behavior {
  position: relative;
  width: 43%;
  padding: 25px 12px;
  border: 1px solid #ffffff50;
  border-radius: 12px;
  background: #ffffff0d;
  text-align: center;
  transform: rotate(-5deg);
}

.art-behavior {
  transform: rotate(5deg);
  margin-top: 65px;
}

.art-symbol {
  display: block;
  font-size: 56px;
  line-height: 1.3;
  color: #ffcb9c;
  margin-bottom: 14px;
}

.art-context strong,
.art-behavior strong {
  display: block;
  font-size: 19px;
  font-weight: 500;
}

.art-context small,
.art-behavior small {
  display: block;
  font-size: 9px;
  margin-top: 8px;
  color: #eee4dd;
}

.art-vs {
  position: relative;
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
}

.blog-feature-copy {
  padding: 40px;
  align-self: center;
}

.blog-feature h2 {
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 16px 0;
}

.blog-feature-copy p,
.blog-card p {
  color: #606879;
  font-size: 14px;
  line-height: 1.8;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: #6c7280;
  margin: 23px 0;
}

.blog-read {
  display: inline-flex;
  justify-content: space-between;
  gap: 25px;
  color: #a83f0d;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
}

.blog-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.blog-section-heading h2 {
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.3;
  font-weight: 500;
  margin: 10px 0 0;
  letter-spacing: -.025em;
}

.blog-count {
  font-size: 11px;
  color: #6c7280;
  white-space: nowrap;
}

.blog-latest {
  padding-top: 76px;
  scroll-margin-top: 110px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.blog-card {
  border: 1px solid #e5dfd5;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #1821390c;
}

.blog-card a {
  display: block;
  height: 100%;
}

.blog-card-art {
  min-height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 30px;
}

.blog-card-art>span {
  font-size: 9px;
  letter-spacing: .18em;
}

.blog-card-art strong {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.04em;
}

.blog-card-art small {
  font-size: 11px;
}

.tracking-art {
  background: #e8ecef;
  color: #23384a;
}

.tracking-art strong {
  font-family: monospace;
}

.fix-art {
  background: #f7e6d6;
  color: #763a1e;
}

.blog-card-copy {
  padding: 28px 30px 32px;
}

.blog-card h3 {
  font-size: 22px;
  line-height: 1.45;
  font-weight: 500;
  margin: 12px 0;
  letter-spacing: -.02em;
}

.blog-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  margin-top: 72px;
  padding: 38px;
  border-radius: 20px;
  background: #edece7;
  border: 1px solid #e2dfd6;
}

.blog-cta h2 {
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.3;
  font-weight: 500;
  margin: 10px 0;
  letter-spacing: -.025em;
}

.blog-cta p {
  margin: 0;
  color: #606879;
  font-size: 13px;
}

.blog-button {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 14px 22px;
  border-radius: 7px;
  background: #182139;
  color: white !important;
  font-size: 13px;
  white-space: nowrap;
}

.blog-button:hover {
  background: #a83f0d;
}

.blog-breadcrumb {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #6c7280;
  padding-top: 30px;
}

.blog-breadcrumb a:hover,
.blog-back:hover {
  color: #a83f0d;
}

.article-hero {
  padding: 46px 0 38px;
  max-width: 1000px;
}

.article-hero h1 {
  font-size: clamp(24px, 4vw, 49px);
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -.035em;
  margin: 18px 0 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
  border-top: 1px solid #dedbd4;
  padding-top: 40px;
}

.article-sidebar {
  position: sticky;
  top: 115px;
}

.blog-toc {
  background: #f1efe9;
  border: 1px solid #e5dfd5;
  border-radius: 12px;
  padding: 20px;
}

.blog-toc summary {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.blog-toc nav {
  display: grid;
  gap: 0;
  margin-top: 16px;
  max-height: 58vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.blog-toc a {
  padding: 8px 0;
  font-size: 11px;
  line-height: 1.6;
  color: #626979;
  border-bottom: 1px solid #e1ded7;
}

.blog-toc a:hover {
  color: #a83f0d;
}

.blog-back {
  display: inline-block;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 500;
}

.article-body {
  min-width: 0;
  font-size: 15px;
  line-height: 1.95;
  color: #434e60;
}

.article-body>p:first-child {
  font-size: 18px;
  line-height: 1.8;
  color: #182139;
  margin-top: 0;
}

.article-body p {
  margin: 0 0 22px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: #182139;
  scroll-margin-top: 125px;
}

.article-body h2 {
  font-size: 27px;
  font-weight: 600;
  line-height: 1.4;
  margin: 52px 0 22px;
  padding-top: 25px;
  border-top: 1px solid #e5dfd5;
  letter-spacing: -.02em;
}

.article-body h3 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  margin: 32px 0 14px;
}

.article-body h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 25px 0 10px;
}

.article-body ul {
  margin: 16px 0 26px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 12px;
  padding-left: 4px;
}

.article-body li::marker {
  color: #b5440b;
}

.article-body p a {
  color: #a83f0d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-table {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #dedbd4;
  border-radius: 10px;
}

.blog-table table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
}

.blog-table th {
  background: #182139;
  color: white;
  font-weight: 500;
  padding: 16px;
}

.blog-table td {
  padding: 15px 16px;
  border-top: 1px solid #e5dfd5;
  vertical-align: top;
}

.blog-table tbody tr:nth-child(even) {
  background: #f3f1ec;
}

.blog-table td:first-child {
  font-weight: 500;
  color: #182139;
}

.blog-faq {
  padding: 20px 0;
  border-bottom: 1px solid #dedbd4;
}

.blog-faq summary {
  cursor: pointer;
  color: #182139;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}

.blog-faq[open] summary {
  margin-bottom: 18px;
  color: #a83f0d;
}

.blog-faq p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1000px) {
  .blog-feature-copy {
    padding: 28px;
  }

  .blog-feature-art {
    min-height: 460px;
    padding-inline: 18px;
  }

  .art-context strong,
  .art-behavior strong {
    font-size: 15px;
  }

  .article-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .blog-shell {
    padding: 0 20px 20px;
  }

  .blog-hero {
    grid-template-columns: 1fr;
    padding: 45px 0 35px;
    gap: 26px;
  }

  .blog-hero-note {
    display: none;
  }

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

  .blog-feature-art {
    min-height: 330px;
    padding: 65px 30px;
  }

  .art-context,
  .art-behavior {
    max-width: 170px;
    padding: 18px 12px;
  }

  .art-context strong,
  .art-behavior strong {
    font-size: 19px;
  }

  .art-symbol {
    font-size: 42px;
  }

  .blog-feature-copy {
    padding: 28px;
  }

  .blog-feature h2 {
    font-size: 25px;
  }

  .blog-latest {
    padding-top: 48px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .blog-count {
    display: none;
  }

  .blog-card-art {
    min-height: 195px;
  }

  .blog-cta {
    flex-direction: column;
    align-items: start;
    padding: 28px;
    margin-top: 45px;
    gap: 24px;
  }

  .article-hero {
   padding: 16px 0 20px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 25px;
  }

  .article-sidebar {
    position: static;
  }

  .blog-toc nav {
    max-height: 230px;
  }

  .article-sidebar .blog-back {
    display: none;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .article-body {
    font-size: 14px;
  }

  .article-body>p:first-child {
    font-size: 16px;
  }

  .blog-table {
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .blog-card,
  .blog-feature {
    transition: none;
  }
}

/* Four-article journal: the latest story leads, with three supporting guides. */
.ott-feature-art {
  background: radial-gradient(ellipse at 0 100%, #8b481e 0, transparent 65%), radial-gradient(ellipse at 100% 0, #326064 0, transparent 70%), #141f35;
}

.contextual-art {
  background: #e8e6ef;
  color: #393154;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  min-width: 0;
}

.blog-card-copy {
  padding: 25px;
}

.blog-card h3 {
  font-size: 20px;
}

.blog-card-art {
  padding: 25px;
}

.blog-card-art strong {
  font-size: clamp(27px, 2.8vw, 37px);
}

.blog-card-copy .blog-read {
  margin-top: 16px;
}

@media (min-width: 761px) and (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-art strong {
    font-size: 36px;
  }
}

/* Text-only article listing and navigation that stays within the viewport. */
body.blog-page {
  overflow-x: clip;
}

.blog-feature {
  grid-template-columns: 1fr;
  border-top: 4px solid #be4c16;
  background: linear-gradient(120deg, #fff7ed, #fff 70%);
}

.blog-feature-copy {
  padding: 38px 40px;
  max-width: 960px;
}

.blog-feature h2 {
  font-size: clamp(25px, 3vw, 36px);
}

.blog-card {
  border-top: 3px solid #e2b28f;
}

.blog-card a {
  display: flex;
}

.blog-card-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.blog-card-copy .blog-read {
  margin-top: auto;
  padding-top: 16px;
}

.blog-shell {
  --blog-header-height: 100px;
  overflow-wrap: anywhere;
}

.article-sidebar {
  top: calc(var(--blog-header-height) + 12px);
  align-self: start;
  z-index: 20;
}

.blog-toc nav {
  max-height: max(100px, calc(100dvh - var(--blog-header-height) - 150px));
}

.article-body h2,
.article-body h3,
.article-body h4 {
  scroll-margin-top: calc(var(--blog-header-height) + 24px);
}

@media (max-width: 760px) {
  .blog-feature-copy {
    padding: 24px;
  }

  .article-layout {
    display: block;
  }

  .article-sidebar {
    display: none;
  }

  .blog-toc {
    padding: 14px 18px;
    box-shadow: 0 6px 18px #18213912;
    background: #f1efe9;
  }

  .blog-toc nav {
    max-height: min(35dvh, 230px);
  }

  .blog-toc a {
    font-size: 12px;
    padding: 10px 0;
  }

  .article-body h2,
  .article-body h3,
  .article-body h4 {
    scroll-margin-top: calc(var(--blog-header-height) + 24px);
  }

  .blog-meta {
    gap: 10px;
    margin: 0px 0;
  }

  .blog-button {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .blog-shell {
    padding-inline: 16px;
  }

  .blog-hero h1 {
    font-size: 32px;
  }

  .blog-feature-copy,
  .blog-card-copy,
  .blog-cta {
    padding: 20px;
  }
}

/* Separate reading sections into clear cards without changing article copy. */
.article-section {
  min-width: 0;
  padding: 28px 30px;
  margin-bottom: 24px;
  border: 1px solid #e5dfd5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px #18213904;
}

.article-section>h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-section>p:last-child,
.article-section>ul:last-child {
  margin-bottom: 0;
}

.article-section:first-child>p:first-child {
  font-size: 18px;
  line-height: 1.8;
  color: #182139;
}

.blog-toc a {
  border-left: 3px solid transparent;
  padding-left: 10px;
  padding-right: 8px;
  transition: background-color .15s, color .15s;
}

.blog-toc a.is-active {
  color: #9a3412;
  background: #fff1e6;
  border-left-color: #c7531c;
  font-weight: 600;
}

@media (max-width: 760px) {
  .article-section {
    padding: 22px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .article-section:first-child>p:first-child {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .article-section {
    padding: 20px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-toc a {
    transition: none;
  }
}
/* Hide the shared enquiry banner only on the blog listing. */
body.blog-index .mrn-agency-band { display: none; }

/* Full-width FAQ follows the article, directly before the enquiry CTA. */
.article-faq { margin-top: 32px; margin-bottom: 0; }
.article-faq + .blog-cta { margin-top: 32px; }
