/* Editorial article format for new audience and trust pages. */
.editorial-page {
  background: #fbfaf7;
  color: #1d2939;
}

.editorial-page .article-hero-banner {
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 138, 80, 0.32) 0 18%, transparent 19%),
    linear-gradient(145deg, #172554 0%, #243b6b 58%, #1b4a61 100%);
  padding: clamp(54px, 8vw, 104px) 24px clamp(62px, 9vw, 112px);
}

.editorial-page .article-hero-banner::before,
.editorial-page .article-hero-inner::after {
  display: none;
}

.editorial-page .article-hero-inner {
  max-width: 980px;
  padding: 0;
  text-align: center;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.editorial-page .article-crumbs {
  margin-bottom: 24px;
}

.editorial-page .article-eyebrow {
  color: #173a55;
  background: rgba(255, 248, 240, 0.94);
  border-color: rgba(255, 255, 255, 0.72);
  padding: 8px 18px;
  font-size: 12px;
}

.editorial-page .article-hero-banner h1 {
  max-width: 920px;
  margin: 8px auto 18px;
  color: #ffb07f;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.04;
}

.editorial-page .article-hero-banner .subheadline {
  max-width: 780px;
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.editorial-page .article-meta,
.editorial-page .article-tags {
  justify-content: center;
}

.editorial-page .article-meta {
  color: rgba(255, 255, 255, 0.76);
}

.editorial-page .article-body {
  padding: clamp(36px, 6vw, 64px) 24px 88px;
}

.editorial-page .article-container {
  max-width: 1240px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.editorial-main {
  min-width: 0;
}

.editorial-toc {
  margin: 0 0 34px;
  overflow: hidden;
  background: #fff;
  border: 3px solid #ff6b35;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(26, 40, 64, 0.08);
}

.editorial-toc summary {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px 52px 18px 22px;
  color: #172554;
  cursor: pointer;
  list-style: none;
  font-size: 1.25rem;
  font-weight: 800;
}

.editorial-toc summary::-webkit-details-marker {
  display: none;
}

.editorial-toc summary::after {
  content: "^";
  position: absolute;
  right: 24px;
  color: #ff6b35;
}

.editorial-toc:not([open]) summary::after {
  transform: rotate(180deg);
}

.editorial-toc ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 28px 22px 50px;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.editorial-toc li {
  padding-left: 4px;
  color: #ff6b35;
  font-weight: 700;
}

.editorial-toc a {
  color: #20304a;
  font-weight: 600;
  text-decoration: none;
}

.editorial-toc a:hover {
  color: #ff6b35;
}

.editorial-page .article-feature-image {
  max-width: none;
  margin: 0 0 38px;
  padding: 0;
}

.editorial-page .article-feature-image img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 52px rgba(26, 40, 64, 0.16);
}

.editorial-page .article-content {
  padding: 0 4px;
}

.editorial-page .article-content > p:first-child {
  font-size: 1.1rem;
}

.editorial-page .article-content p {
  margin-bottom: 1rem;
  line-height: 1.85;
}

.editorial-page .article-content h2 {
  margin: 3rem 0 1rem;
  padding: 0;
  color: #ff6b35;
  background: none;
  border: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.editorial-page .feature-item {
  background: #fff;
  border-color: rgba(219, 225, 234, 0.9);
  border-left-color: #ff6b35;
  border-radius: 10px;
}

.editorial-page .article-content ul {
  background: #fff;
  border-color: rgba(219, 225, 234, 0.9);
}

.editorial-page .editorial-aside {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 16px;
}

.editorial-aside-card {
  padding: 20px;
  background: #fff;
  border: 1px solid #dbe1ea;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(26, 40, 64, 0.06);
}

.editorial-aside-card h3 {
  margin: 0 0 10px;
  color: #172554;
  font-size: 1.2rem;
}

.editorial-aside-card p {
  margin: 0 0 16px;
  color: #5f6b7a;
  font-size: 0.9rem;
  line-height: 1.65;
}

.editorial-aside-card .cta-button {
  display: block;
  padding: 11px 14px;
  color: #fff;
  background: #ff6b35;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.editorial-aside-links {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-aside-links a {
  display: block;
  padding: 10px 0;
  color: #20304a;
  border-bottom: 1px solid #e7ebf0;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.editorial-aside-links li:last-child a {
  border-bottom: 0;
}

.editorial-aside-links a:hover {
  color: #ff6b35;
}

.editorial-page .faq-section {
  border-top-color: #dbe1ea;
}

.editorial-page .faq-section h2 {
  color: #ff6b35;
  text-align: center;
}

.editorial-page .faq-item {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #dbe1ea;
  border-radius: 0;
}

.editorial-page .faq-item:last-child {
  border-bottom: 1px solid #dbe1ea;
}

.editorial-page .faq-item summary {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: #172554;
  cursor: pointer;
  list-style: none;
  font-size: 0.98rem;
  font-weight: 700;
}

.editorial-page .faq-item summary::-webkit-details-marker {
  display: none;
}

.editorial-page .faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: #ff6b35;
  font-size: 1.45rem;
  font-weight: 400;
}

.editorial-page .faq-item[open] summary::after {
  content: "-";
}

.editorial-page .faq-item p {
  margin-bottom: 16px;
  color: #5f6b7a;
}

@media (max-width: 980px) {
  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editorial-page .editorial-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .editorial-page .article-hero-banner {
    padding: 46px 18px 56px;
  }

  .editorial-page .article-hero-banner h1 {
    font-size: clamp(2.1rem, 11vw, 3.15rem);
  }

  .editorial-page .article-body {
    padding: 24px 16px 64px;
  }

  .editorial-toc {
    border-width: 2px;
    border-radius: 14px;
  }

  .editorial-toc summary {
    padding: 15px 46px 15px 16px;
    font-size: 1.12rem;
  }

  .editorial-toc summary::after {
    right: 18px;
  }

  .editorial-toc ol {
    padding: 16px 20px 18px 40px;
  }
}
