/* Shared editorial navigation and pages, using the existing DIFFUSI tokens. */
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 5px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--yellow); color: #000; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.nav-links { gap: 16px 24px; flex-wrap: wrap; justify-content: flex-end; }
.nav-link { display: inline-block; padding: 10px 0; font-size: 10px; letter-spacing: .04em; }
.nav-link.active { padding-bottom: 9px; }
.editorial-footer-links { grid-column: 1 / -1; display: flex; gap: 16px 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; }
.editorial-footer-links a { color: var(--muted); text-underline-offset: 5px; }
.editorial-footer-links a:hover { color: var(--yellow); }
.editorial-page { background-image: linear-gradient(90deg, #ffffff03 1px, transparent 1px); background-size: 80px 100%; }
.page-hero { padding-top: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.back-link { color: var(--muted); font-size: 11px; text-decoration: none; }
.back-link:hover { color: var(--yellow); }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 48px; }
.eyebrow { color: var(--yellow); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(36px, 5.3vw, 64px); max-width: 900px; text-transform: none; letter-spacing: -.045em; overflow-wrap: anywhere; }
.page-number { color: var(--yellow); font-family: var(--display); font-size: 96px; letter-spacing: -.06em; line-height: 1; opacity: .8; }
.page-description { max-width: 760px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.page-content { padding-top: 48px; padding-bottom: 72px; }
.team-index { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 48px; border: 1px solid var(--line); }
.team-index a { flex: 1 1 auto; padding: 16px; font-size: 11px; text-decoration: none; display: flex; justify-content: space-between; gap: 20px; }
.team-index a span { color: var(--yellow); }
.team-index a:hover { background: var(--yellow); color: #000; }
.team-index a:hover span { color: #000; }
.editor-profile { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.editor-profile:last-child { margin-bottom: 0; }
.editor-photo { aspect-ratio: 1; width: 100%; border: 1px solid var(--line); position: relative; background: repeating-linear-gradient(135deg, transparent, transparent 12px, #ffffff04 12px, #ffffff04 13px), var(--surface); display: grid; place-items: center; overflow: hidden; }
.editor-photo img { width: 100%; height: 100%; object-fit: cover; }
.editor-monogram { font: 700 80px var(--display); letter-spacing: -.06em; color: var(--yellow); }
.portrait-mark { position: absolute; bottom: 0; left: 0; width: 100%; background: #000c; border-top: 1px solid var(--line); padding: 9px 12px; font-size: 8px; letter-spacing: .1em; color: var(--muted); }
.editor-identity h2 { font: 700 30px/1.2 var(--display); letter-spacing: -.035em; margin: 24px 0 12px; }
.editor-role { color: var(--muted); font-size: 12px; line-height: 1.8; }
.editor-portals { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin-top: 20px; }
.editor-portals li { border: 1px solid var(--line); padding: 4px 8px; font-size: 9px; color: var(--muted); }
.editor-bio { font-size: 14px; line-height: 1.95; color: #d7d7cf; }
.editor-bio p + p { margin-top: 22px; }
.editor-bio p:first-child { color: #fff; }
.reading-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.contents { position: sticky; top: 106px; max-height: calc(100vh - 130px); overflow-y: auto; padding-right: 20px; }
.contents ol { list-style: decimal-leading-zero; padding-left: 28px; }
.contents li { font-size: 11px; padding: 9px 0 9px 5px; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.contents li::marker { color: var(--yellow); font-size: 9px; }
.contents a { display: block; text-decoration: none; }
.contents a:hover { color: var(--yellow); }
.policy-copy { min-width: 0; color: #d7d7cf; font-size: 14px; line-height: 1.9; }
.policy-section { border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-bottom: 40px; scroll-margin-top: 110px; }
.section-number { display: block; color: var(--yellow); font-size: 11px; margin-bottom: 12px; }
.policy-section h2 { color: #fff; font: 600 clamp(23px, 2.5vw, 32px)/1.25 var(--display); letter-spacing: -.025em; margin-bottom: 24px; }
.policy-section h3 { color: #fff; font: 600 21px/1.4 var(--display); margin: 30px 0 16px; }
.policy-section p, .policy-section ul, .policy-section blockquote { margin-bottom: 18px; }
.policy-section ul { list-style: square; padding-left: 22px; }
.policy-section li { padding-left: 6px; margin-bottom: 9px; }
.policy-section li::marker { color: var(--yellow); }
.policy-section blockquote { border-left: 3px solid var(--yellow); padding: 20px 24px; background: var(--surface); color: #fff; }
.contact-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 36px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.contact-strip h2 { font: 600 28px/1.3 var(--display); }
.contact-strip .contact-button { margin: 0; flex-shrink: 0; }
@media (max-width: 1000px) {
    .nav { padding-top: 16px; padding-bottom: 16px; align-items: flex-start; }
    .nav-links { max-width: 660px; gap: 4px 20px; }
    .reading-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
    .editor-profile { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
    .nav { flex-direction: column; gap: 12px; }
    .nav-links { width: 100%; max-width: none; justify-content: flex-start; gap: 2px 18px; }
    .site-header { position: relative; }
    .page-heading { margin-top: 36px; gap: 16px; }
    .page-number { font-size: 48px; }
    .page-hero { padding-top: 24px; padding-bottom: 32px; }
    .reading-layout, .editor-profile { grid-template-columns: 1fr; gap: 32px; }
    .contents { position: static; max-height: none; padding: 20px; border: 1px solid var(--line); }
    .editor-photo { max-width: 260px; }
    .editor-profile { scroll-margin-top: 24px; padding-bottom: 40px; margin-bottom: 40px; }
    .policy-section { scroll-margin-top: 24px; }
    .contact-strip { align-items: flex-start; flex-direction: column; }
    .page-content { padding-top: 32px; padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
    .site-header, .site-footer, .contents, .contact-strip, .back-link, .team-index, .page-number { display: none; }
    .reading-layout { display: block; }
    body, .editorial-page { background: #fff; color: #000; }
    .policy-copy, .policy-section h2, .policy-section h3, .policy-section blockquote, .editor-bio, .editor-bio p:first-child, .editor-role, .page-description { color: #000; }
    .policy-section blockquote { background: #eee; }
}

/* Compact, persistent HU / EN control alongside the shared navigation. */
.language-switch { display: flex; flex-shrink: 0; border: 1px solid var(--line); }
.language-switch a { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-decoration: none; }
.language-switch a[aria-current="true"], .language-switch a:hover { background: var(--yellow); color: #000; }
.nav > a { flex-shrink: 0; }
.nav-links { flex: 1; }
html[lang="hu"] .hero h1 { font-size: clamp(32px, 5.3vw, 62px); overflow-wrap: anywhere; }
@media (max-width: 1000px) and (min-width: 761px) { .nav { align-items: center; } }
@media (max-width: 760px) {
    .nav { display: grid; grid-template-columns: 1fr auto; align-items: center; }
    .nav-links { grid-column: 1 / -1; grid-row: 2; }
    .language-switch { grid-column: 2; grid-row: 1; }
    .page-heading > div { min-width: 0; }
    .page-number { flex-shrink: 0; }
    html[lang="hu"] .hero h1 { font-size: clamp(28px, 8.5vw, 48px); }
}
