.single-article { padding-bottom: 100px; }
.article-shell { min-width: 0; }
.article-header { width: min(100%, var(--rdj-article)); margin: 34px auto 38px; }
.article-header h1 { margin: 14px 0 20px; font-family: var(--rdj-serif); font-size: clamp(2rem, 4.4vw, 3.45rem); font-weight: 500; line-height: 1.46; letter-spacing: -.022em; }
.article-header__lead { margin: 0 0 24px; color: var(--rdj-muted); font-size: 1.02rem; line-height: 1.9; }
.article-header__author { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-top: 18px; border-top: 1px solid var(--rdj-line); font-size: .78rem; }
.article-header__author img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.article-header__author > div { display: grid; line-height: 1.4; }
.article-header__author span, .article-header__author > p { color: var(--rdj-muted); }
.article-header__author > p { margin: 0 0 0 auto; }
.article-featured-image { width: min(100%, 920px); margin: 0 auto 54px; }
.article-featured-image img { width: 100%; max-height: 650px; object-fit: contain; background: #efe7e2; border-radius: var(--rdj-radius-lg); }
.article-featured-image figcaption { max-width: 760px; margin: 10px auto 0; color: var(--rdj-muted); font-size: .72rem; line-height: 1.7; text-align: center; }
.article-layout { width: min(100%, var(--rdj-article)); margin-inline: auto; }
.article-summary { margin-bottom: 34px; padding: clamp(24px, 5vw, 38px); background: #fff; border: 1px solid var(--rdj-line); border-left: 4px solid var(--rdj-champagne); border-radius: var(--rdj-radius-md); }
.article-summary__label { display: flex; align-items: center; gap: 8px; color: var(--rdj-champagne); font-size: .76rem; font-weight: 700; letter-spacing: .1em; }
.article-summary__answer { margin: 18px 0 0; font-family: var(--rdj-serif); font-size: clamp(1.06rem, 2vw, 1.22rem); line-height: 1.9; }
.article-summary h2 { margin: 28px 0 12px; font-family: var(--rdj-serif); font-size: 1.15rem; line-height: 1.55; }
.article-summary ul { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.article-summary li { display: flex; gap: 10px; align-items: flex-start; }
.article-summary li .icon { margin-top: .35em; color: var(--rdj-sage); }
.article-toc { margin: 0 0 44px; background: #f5ede8; border-radius: var(--rdj-radius-md); overflow: hidden; }
.article-toc__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 22px; border: 0; background: transparent; font-family: var(--rdj-serif); font-size: 1rem; font-weight: 700; line-height: 1.55; cursor: pointer; }
.article-toc__toggle > span { display: flex; align-items: center; gap: 14px; }
.article-toc__number { color: var(--rdj-champagne); font-family: var(--rdj-sans); font-size: .65rem; letter-spacing: .16em; }
.article-toc__toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
.article-toc ol { display: grid; gap: 10px; padding: 0 28px 24px 50px; margin: 0; }
.article-toc li { padding-left: 4px; font-size: .88rem; line-height: 1.7; }
.article-toc__h3 { margin-left: 18px; color: var(--rdj-muted); }
.article-toc a:hover { text-decoration: underline; text-underline-offset: .2em; }
.entry-content { min-width: 0; font-size: 1.02rem; line-height: 1.95; }
.entry-content > * { max-width: 100%; }
.entry-content p { margin: 0 0 1.55em; }
.entry-content h2 { position: relative; margin: 3.15em 0 1.05em; padding-bottom: .65em; font-family: var(--rdj-serif); font-size: clamp(1.55rem, 3vw, 2.12rem); font-weight: 600; line-height: 1.58; letter-spacing: -.012em; border-bottom: 1px solid var(--rdj-line); scroll-margin-top: 24px; }
.entry-content h2::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--rdj-wine); pointer-events: none; }
.entry-content h3 { margin: 2.4em 0 .85em; padding-left: 15px; font-family: var(--rdj-serif); font-size: clamp(1.25rem, 2.4vw, 1.58rem); line-height: 1.6; border-left: 3px solid var(--rdj-champagne); scroll-margin-top: 24px; }
.entry-content h4 { margin: 2em 0 .75em; font-size: 1.08rem; line-height: 1.65; }
.entry-content ul, .entry-content ol { margin: 0 0 1.7em; padding-left: 1.5em; }
.entry-content li + li { margin-top: .5em; }
.entry-content a { color: var(--rdj-wine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.entry-content a:hover { color: var(--rdj-wine-deep); }
.entry-content blockquote { margin: 2em 0; padding: 24px 28px; background: #fff; border-left: 4px solid var(--rdj-wine); border-radius: 0 var(--rdj-radius-sm) var(--rdj-radius-sm) 0; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content figure { margin: 2.4em 0; }
.entry-content figure img { margin-inline: auto; }
.entry-content figcaption { margin-top: 10px; color: var(--rdj-muted); font-size: .74rem; line-height: 1.7; text-align: center; }
.entry-content .alignwide { width: min(100vw - 48px, 980px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .wp-block-image img, .entry-content .wp-block-gallery img { border-radius: 12px; }
.entry-content table { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; font-size: .92rem; line-height: 1.75; }
.entry-content .wp-block-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content th, .entry-content td { padding: 14px 16px; border: 1px solid var(--rdj-line); text-align: left; vertical-align: top; }
.entry-content th { color: #fff; background: var(--rdj-wine); }
.entry-content pre { max-width: 100%; overflow-x: auto; padding: 18px; background: #2f2728; color: #fff; border-radius: 10px; font-size: .85rem; line-height: 1.7; }
.entry-content code { overflow-wrap: anywhere; }
.entry-content .wp-block-separator { margin-block: 48px; border-color: var(--rdj-line); }
.entry-content .wp-block-button__link { color: #fff; background: var(--rdj-wine); text-decoration: none; border-radius: 999px; }
.article-cta { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 32px; margin: 64px 0 42px; padding: clamp(28px, 5vw, 44px); background: linear-gradient(135deg, #f0dfd9, #f7f1ed); border-radius: var(--rdj-radius-lg); }
.article-cta h2 { margin: 0; font-family: var(--rdj-serif); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.55; }
.article-cta p:not(.eyebrow) { margin: 10px 0 0; color: var(--rdj-muted); }
.article-cta__buttons { display: grid; gap: 10px; min-width: 210px; }
.article-disclaimer { margin: 42px 0; padding: 24px; color: var(--rdj-muted); background: #fff; border: 1px solid var(--rdj-line); border-radius: var(--rdj-radius-sm); font-size: .82rem; line-height: 1.85; }
.article-disclaimer h2 { margin: 0 0 8px; color: var(--rdj-ink); font-family: var(--rdj-serif); font-size: 1rem; line-height: 1.5; }
.article-disclaimer p { margin: 0; }
.article-references { padding-top: 32px; border-top: 1px solid var(--rdj-line); }
.article-references h2 { font-family: var(--rdj-serif); font-size: 1.3rem; line-height: 1.5; }
.article-references ol { padding-left: 1.4em; color: var(--rdj-muted); font-size: .8rem; line-height: 1.8; }
.article-references li + li { margin-top: 10px; }
.article-references a { overflow-wrap: anywhere; }
.article-references span { display: block; }
.article-people { display: grid; gap: 18px; margin-top: 52px; }
.person-card { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 24px; padding: 28px; background: #fff; border: 1px solid var(--rdj-line); border-radius: var(--rdj-radius-md); }
.person-card__avatar img { width: 92px; height: 92px; object-fit: cover; border-radius: 50%; }
.person-card__label { margin: 0; color: var(--rdj-champagne); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.person-card h2 { margin: 2px 0 0; font-family: var(--rdj-serif); font-size: 1.3rem; line-height: 1.55; }
.person-card__role { margin: 3px 0 10px; color: var(--rdj-muted); font-size: .8rem; }
.person-card p { margin-top: 0; }
.related-section { margin-top: 96px; padding-block: 84px; background: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 42px 28px; }
.page-shell { padding-bottom: 100px; }
.page-header { padding: 54px 0 44px; border-bottom: 1px solid var(--rdj-line); }
.page-header--center { text-align: center; }
.page-header h1 { margin: 0; font-family: var(--rdj-serif); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; line-height: 1.42; }
.page-header > p:not(.eyebrow) { max-width: 720px; margin: 20px 0 0; color: var(--rdj-muted); }
.page-header--center > p:not(.eyebrow) { margin-inline: auto; }
.page-content { padding-top: 48px; }
.first-time-steps, .media-principles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 52px 0; }
.first-time-steps > div, .media-principles > div { padding: 28px 22px; background: #fff; border: 1px solid var(--rdj-line); border-radius: var(--rdj-radius-md); }
.first-time-steps span, .media-principles span { color: var(--rdj-champagne); font-family: var(--rdj-serif); font-size: 1.4rem; }
.first-time-steps h2, .media-principles h2 { margin: 14px 0 10px; font-family: var(--rdj-serif); font-size: 1.15rem; line-height: 1.55; }
.first-time-steps p, .media-principles p { margin: 0; color: var(--rdj-muted); font-size: .84rem; }
.media-principles { grid-template-columns: repeat(3,minmax(0,1fr)); }
.operator-summary { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 54px; align-items: center; margin: 52px 0; padding: 48px; color: #fff; background: var(--rdj-wine-deep); border-radius: var(--rdj-radius-lg); }
.operator-summary__mark { display: grid; place-items: center; aspect-ratio: 1; font-family: var(--rdj-serif); font-size: 7rem; border: 1px solid rgba(255,255,255,.2); border-radius: 50% 50% 45% 55%; }
.operator-summary h2 { margin: 0; font-family: var(--rdj-serif); font-size: 2.5rem; line-height: 1.45; }
.operator-summary .salon-meta { margin-bottom: 26px; }
.topics-page .page-header .search-form { max-width: 640px; margin: 30px auto 0; text-align: left; }
.topics-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 50px 0; }
.topics-grid > a { position: relative; min-height: 250px; padding: 30px 30px 62px; background: #fff; border: 1px solid var(--rdj-line); border-radius: var(--rdj-radius-md); transition: transform var(--rdj-transition), background var(--rdj-transition), color var(--rdj-transition); }
.topics-grid > a:hover { color: #fff; background: var(--rdj-wine); transform: translateY(-3px); }
.topics-grid__number { color: var(--rdj-champagne); font-family: var(--rdj-serif); font-size: 1.7rem; }
.topics-grid h2 { margin: 18px 0 8px; font-family: var(--rdj-serif); font-size: 1.35rem; line-height: 1.55; }
.topics-grid p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--rdj-muted); font-size: .84rem; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.topics-grid > a:hover p { color: rgba(255,255,255,.78); }
.topics-grid small { position: absolute; left: 30px; bottom: 25px; }
.topics-grid .icon { position: absolute; right: 26px; bottom: 25px; }

@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .first-time-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .operator-summary { grid-template-columns: 200px minmax(0,1fr); }
  .topics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .single-article { padding-bottom: 72px; }
  .article-header { margin-top: 18px; margin-bottom: 30px; }
  .article-header h1 { font-size: clamp(1.82rem, 8.8vw, 2.48rem); line-height: 1.52; }
  .article-header__lead { font-size: .96rem; }
  .article-header__author > p { width: 100%; margin-left: 54px; }
  .article-featured-image { margin-bottom: 36px; }
  .article-featured-image img { border-radius: 14px; }
  .article-summary { padding: 24px 20px; }
  .article-summary__answer { line-height: 1.85; }
  .article-toc__toggle { padding: 16px 18px; }
  .article-toc ol { padding: 0 20px 22px 38px; }
  .entry-content { font-size: 1rem; line-height: 1.92; }
  .entry-content h2 { margin-top: 2.8em; font-size: 1.55rem; line-height: 1.62; }
  .entry-content h3 { margin-top: 2.2em; font-size: 1.25rem; line-height: 1.65; }
  .entry-content blockquote { padding: 20px; }
  .entry-content .alignwide { width: calc(100vw - 28px); }
  .entry-content table { min-width: 560px; }
  .article-cta { grid-template-columns: 1fr; gap: 24px; margin-top: 52px; padding: 26px 20px; border-radius: 18px; }
  .article-cta__buttons { min-width: 0; }
  .article-cta__buttons .button { width: 100%; }
  .related-section { margin-top: 72px; padding-block: 68px; }
  .related-grid { grid-template-columns: 1fr; }
  .person-card { grid-template-columns: 68px minmax(0,1fr); gap: 16px; padding: 20px; }
  .person-card__avatar img { width: 68px; height: 68px; }
  .page-shell { padding-bottom: 72px; }
  .page-header { padding: 36px 0 32px; }
  .page-header h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .page-content { padding-top: 36px; }
  .first-time-steps, .media-principles, .topics-grid { grid-template-columns: 1fr; }
  .operator-summary { grid-template-columns: 1fr; padding: 28px 22px; }
  .operator-summary__mark { max-width: 200px; }
  .operator-summary h2 { font-size: 2rem; }
  .topics-grid { margin-top: 38px; }
  .topics-grid > a { min-height: 220px; padding: 26px 24px 58px; }
  .topics-grid small { left: 24px; }
}
