.editorial-page {
  color: var(--jw-dark);
}

.editorial-hero {
  padding: 3.9rem 0 2.45rem;
}

.editorial-hero .jw-page-hero__inner {
  max-width: 56rem;
}

.editorial-hero .jw-page__title {
  font-family: var(--jw-font-serif);
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  font-weight: 700;
  letter-spacing: -0.014em;
  line-height: 0.98;
  margin: 0;
}

.editorial-hero .jw-page__title::after {
  display: block;
}

.editorial-main {
  padding: 2.2rem 0 5rem;
}

.editorial-content {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #111827;
  font-size: 0.97rem;
  line-height: 1.78;
  margin: 0 auto;
  max-width: 44rem;
  padding: 0;
}

.editorial-content > *:first-child {
  margin-top: 0;
}

.editorial-content > *:last-child {
  margin-bottom: 0;
}

.editorial-content p {
  color: #374151;
  margin: 0 0 1.08rem;
}

.editorial-page .editorial-content h1,
.editorial-page .editorial-content h1.wp-block-heading {
  color: var(--jw-dark);
  font-family: var(--jw-font-serif);
  font-size: clamp(1.9rem, 3.1vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin-top: 2.6rem;
  margin-bottom: 0.95rem;
}

.editorial-page .editorial-content h2,
.editorial-page .editorial-content h2.wp-block-heading {
  color: var(--jw-dark);
  font-family: var(--jw-font-serif);
  font-size: clamp(1.62rem, 2.45vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.016em;
  line-height: 1.12;
  margin-top: 2.9rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  position: relative;
}

.editorial-page .editorial-content h2::after,
.editorial-page .editorial-content h2.wp-block-heading::after {
  background: var(--jw-gold);
  border-radius: var(--jw-radius-pill);
  content: "";
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  bottom: 0;
  width: clamp(52px, 8vw, 78px);
}

.editorial-page .editorial-content h3,
.editorial-page .editorial-content h3.wp-block-heading {
  color: #1f2937;
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.24;
  margin-top: 2rem;
  margin-bottom: 0.62rem;
}

.editorial-page .editorial-content h4,
.editorial-page .editorial-content h4.wp-block-heading,
.editorial-page .editorial-content h5,
.editorial-page .editorial-content h5.wp-block-heading,
.editorial-page .editorial-content h6,
.editorial-page .editorial-content h6.wp-block-heading {
  color: #66707d;
  font-family: var(--jw-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.editorial-content :is(ul, ol) {
  color: #3f4854;
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
}

.editorial-content li {
  padding-left: 0.08rem;
}

.editorial-content li + li {
  margin-top: 0.42rem;
}

.editorial-content ul li::marker,
.editorial-content ol li::marker {
  color: rgba(26, 54, 93, 0.74);
  font-weight: 600;
}

.editorial-content a {
  color: #17385f;
  font-weight: 500;
  text-decoration-color: rgba(23, 56, 95, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.editorial-content a:hover,
.editorial-content a:focus-visible {
  color: #0f2742;
  text-decoration-color: rgba(15, 39, 66, 0.58);
}

.editorial-content blockquote {
  background: transparent;
  border-left: 2px solid rgba(26, 54, 93, 0.2);
  border-radius: 0;
  color: #334155;
  margin: 1.75rem 0;
  padding: 0 0 0 1rem;
}

.editorial-content blockquote p {
  color: inherit;
}

.editorial-content blockquote :last-child {
  margin-bottom: 0;
}

.editorial-content :is(figure, .wp-block-image) {
  margin: 1.7rem 0;
}

.editorial-content :is(img, .wp-block-image img, video, iframe) {
  display: block;
  height: auto;
  max-width: 100%;
}

.editorial-content :is(img, .wp-block-image img) {
  border-radius: 0.4rem;
}

.editorial-content :is(figcaption, .wp-element-caption) {
  color: #66707d;
  font-size: 0.83rem;
  line-height: 1.55;
  margin-top: 0.55rem;
}

.editorial-content hr {
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  margin: 2.4rem 0;
}

.editorial-content table {
  border-collapse: collapse;
  color: #3f4854;
  font-size: 0.94rem;
  margin: 1.5rem 0;
  width: 100%;
}

.editorial-content th,
.editorial-content td {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.75rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

.editorial-content th {
  color: #16202d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-content .wp-block-columns {
  gap: 1.5rem;
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}

.editorial-content .wp-block-separator {
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

@media (max-width: 768px) {
  .editorial-hero {
    padding: 3.1rem 0 2rem;
  }

  .editorial-hero .jw-page__title {
    font-size: clamp(2rem, 8vw, 2.55rem);
  }

  .editorial-main {
    padding: 1.7rem 0 3.4rem;
  }

  .editorial-content {
    font-size: 0.94rem;
    line-height: 1.72;
    max-width: none;
  }

  .editorial-page .editorial-content h1,
  .editorial-page .editorial-content h1.wp-block-heading {
    font-size: clamp(1.62rem, 6.8vw, 1.95rem);
    margin-top: 2rem;
  }

  .editorial-page .editorial-content h2,
  .editorial-page .editorial-content h2.wp-block-heading {
    font-size: clamp(1.42rem, 6.2vw, 1.72rem);
    margin-top: 2.05rem;
  }

  .editorial-page .editorial-content h3,
  .editorial-page .editorial-content h3.wp-block-heading {
    font-size: clamp(1.02rem, 4.9vw, 1.16rem);
    margin-top: 1.6rem;
  }

  .editorial-page .editorial-content h4,
  .editorial-page .editorial-content h4.wp-block-heading,
  .editorial-page .editorial-content h5,
  .editorial-page .editorial-content h5.wp-block-heading,
  .editorial-page .editorial-content h6,
  .editorial-page .editorial-content h6.wp-block-heading {
    letter-spacing: 0.1em;
  }

  .editorial-content :is(ul, ol) {
    padding-left: 1rem;
  }

  .editorial-content blockquote {
    margin: 1.45rem 0;
    padding-left: 0.9rem;
  }

  .editorial-content table {
    display: block;
    overflow-x: auto;
  }
}
