/* LOCAL CANDIDATE. Topic-scoped content and shared-header compatibility only. */
/* Current shared header: 81px desktop / 77px mobile including its border. */
body.grecho-topic-template-v1 .grecho-topic-main { padding-block-start: 81px; }
body.grecho-topic-template-v1 .grecho-v1-mobile-menu summary span { background: currentColor; }
.grecho-topic-v1 {
    color: #0f172a;
    background: #fff;
    font-family: Inter, "Inter Tight", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: break-word;
}
.grecho-topic-v1 *, .grecho-topic-v1 *::before, .grecho-topic-v1 *::after { box-sizing: border-box; }
body.grecho-topic-template-v1 .grecho-topic-skip { position: absolute; left: -10000px; top: 12px; z-index: 10000; padding: 12px 18px; background: #fff; color: #1b4aa1; }
body.grecho-topic-template-v1 .grecho-topic-skip:focus { left: 16px; outline: 3px solid #1b4aa1; outline-offset: 3px; }
.grecho-topic-v1 .grecho-topic-hero { background: #f6f9fd; border-bottom: 1px solid #e2e8f0; padding: 64px 24px 42px; }
.grecho-topic-v1 .grecho-topic-hero > * { width: min(100%, 1120px); margin-left: auto; margin-right: auto; }
.grecho-topic-v1 .grecho-topic-eyebrow { color: #1b4aa1; font-size: .78rem; font-weight: 750; letter-spacing: .08em; }
.grecho-topic-v1 .grecho-topic-hero h1 { max-width: 950px; margin-top: 12px; margin-bottom: 20px; color: #0f172a; font-size: clamp(2rem, 3.4vw, 3.3rem); line-height: 1.12; letter-spacing: -.025em; }
.grecho-topic-v1 .grecho-topic-summary { max-width: 780px; color: #334155; font-size: 1.12rem; line-height: 1.6; }
.grecho-topic-v1 .grecho-topic-body { width: min(1120px, calc(100% - 48px)); max-width: none; margin: 0 auto; padding: 28px 0 64px; }
.grecho-topic-v1 .grecho-topic-body > * { max-width: 100%; }
.grecho-topic-v1 .grecho-topic-body p { max-width: 88ch; margin: 0 0 1.1em; color: #334155; }
.grecho-topic-v1 .grecho-topic-body h2 { margin: 0 0 20px; color: #0f172a; font-size: clamp(1.5rem, 2.4vw, 2.05rem); line-height: 1.25; letter-spacing: -.018em; }
.grecho-topic-v1 .grecho-topic-body h3 { margin: 28px 0 12px; color: #12356f; font-size: 1.12rem; line-height: 1.4; }
.grecho-topic-v1 .grecho-topic-body ul, .grecho-topic-v1 .grecho-topic-body ol { margin: 0 0 22px; padding-left: 1.45em; color: #334155; }
.grecho-topic-v1 .grecho-topic-body li { margin-bottom: .55em; }
.grecho-topic-v1 .grecho-topic-body a { color: #1b4aa1; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.grecho-topic-v1 .grecho-topic-body a:hover { color: #12356f; text-decoration-thickness: 2px; }
.grecho-topic-v1 a:focus-visible, .grecho-topic-v1 [tabindex="0"]:focus-visible { outline: 3px solid #1b4aa1; outline-offset: 4px; border-radius: 3px; }
/* Topic-only footer contrast; the shared site stylesheet stays unchanged. */
.grecho-topic-shared-shell.grecho-global-page-v1 .grecho-v1-footer-bottom { color: rgba(255, 255, 255, .86); }
.grecho-topic-v1 .grecho-topic-routes { margin: 26px 0 38px; padding: 0; }
.grecho-topic-v1 .grecho-topic-routes > ul,
.grecho-topic-v1 .grecho-topic-routes > .wp-block-group__inner-container > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: none; margin: 0; padding: 0; list-style: none; }
.grecho-topic-v1 .grecho-topic-routes > ul > li,
.grecho-topic-v1 .grecho-topic-routes > .wp-block-group__inner-container > ul > li { min-width: 0; margin: 0; padding: 22px; background: #f6f9fd; border: 1px solid #d3e2ff; border-radius: 12px; }
.grecho-topic-v1 .grecho-topic-routes a { display: inline; font-weight: 700; }
.grecho-topic-v1 .grecho-topic-section { margin: 0; padding: 38px 0; border-top: 1px solid #e2e8f0; scroll-margin-top: 90px; }
.grecho-topic-v1 .grecho-topic-body [id] { scroll-margin-top: 90px; }
.grecho-topic-v1 .grecho-topic-table-caption { max-width: none; margin: 24px 0 10px; font-weight: 700; color: #12356f; }
.grecho-topic-v1 .grecho-topic-body .wp-block-table { width: 100%; max-width: 100%; overflow-x: auto; margin: 0 0 24px; overscroll-behavior-inline: contain; border: 1px solid #d3e2ff; border-radius: 8px; }
.grecho-topic-v1 .grecho-topic-body .wp-block-table table { width: 100%; min-width: 680px; margin: 0; border-collapse: collapse; font-size: .92rem; line-height: 1.55; }
.grecho-topic-v1 .grecho-topic-body .wp-block-table th, .grecho-topic-v1 .grecho-topic-body .wp-block-table td { padding: 15px 16px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid #e2e8f0; white-space: normal; }
.grecho-topic-v1 .grecho-topic-body .wp-block-table th { background: #eaf1ff; color: #12356f; font-weight: 750; }
.grecho-topic-v1 .grecho-topic-body .wp-block-table tr:last-child td { border-bottom: 0; }
.grecho-topic-v1 .grecho-topic-body .wp-block-table tr:nth-child(even) td { background: #f6f9fd; }
.grecho-topic-v1 .grecho-topic-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.grecho-topic-v1 .grecho-topic-body .wp-block-button__link { background: #1b4aa1; color: #fff; border-radius: 8px; padding: 12px 20px; text-decoration: none; line-height: 1.4; }
.grecho-topic-v1 .grecho-topic-body img { max-width: 100%; height: auto; }
@media (max-width: 720px) {
    .grecho-topic-v1 { font-size: 16px; }
    .grecho-topic-v1 .grecho-topic-hero { padding: 30px 20px 24px; }
    .grecho-topic-v1 .grecho-topic-hero h1 { font-size: 2rem; line-height: 1.15; }
    .grecho-topic-v1 .grecho-topic-summary { font-size: 1rem; margin-bottom: 0; }
    .grecho-topic-v1 .grecho-topic-body { width: calc(100% - 40px); padding-top: 18px; }
    .grecho-topic-v1 .grecho-topic-routes { margin-top: 20px; margin-bottom: 26px; }
    .grecho-topic-v1 .grecho-topic-routes > ul,
    .grecho-topic-v1 .grecho-topic-routes > .wp-block-group__inner-container > ul { grid-template-columns: 1fr; gap: 12px; }
    .grecho-topic-v1 .grecho-topic-routes > ul > li,
    .grecho-topic-v1 .grecho-topic-routes > .wp-block-group__inner-container > ul > li { padding: 18px; }
    .grecho-topic-v1 .grecho-topic-section { padding: 28px 0; }
    .grecho-topic-v1 .grecho-topic-body h2 { font-size: 1.5rem; }
    .grecho-topic-v1 .grecho-topic-body .wp-block-table th, .grecho-topic-v1 .grecho-topic-body .wp-block-table td { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .grecho-topic-v1 { scroll-behavior: auto; }
}
