:root {
    --navy-950: #06172d;
    --navy-900: #0c2340;
    --navy-800: #002b6b;
    --navy-700: #17467d;
    --gold-500: #c5a059;
    --gold-300: #dfc78f;
    --ink: #243244;
    --muted: #64748b;
    --line: #e3e9f0;
    --mist: #f4f7fa;
    --paper: #ffffff;
    --shadow-sm: 0 8px 24px rgba(6, 23, 45, .06);
    --shadow-md: 0 18px 46px rgba(6, 23, 45, .11);
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
body.menu-is-open { overflow: hidden; }
a { color: inherit; text-decoration: none; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
button { cursor: pointer; }
ul, ol { box-sizing: border-box; }
.skip-link, .screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 8px; padding: 10px 16px; background: #fff; z-index: 9999; }
.site-container { width: min(100% - 60px, 1200px); margin-inline: auto; }
.site-container--narrow { max-width: 900px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 2000; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.02); }
.site-header__inner { max-width: 1400px; height: 80px; margin: 0 auto; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { flex: 0 0 auto; }
.site-branding a { display: flex; align-items: center; gap: 12px; color: var(--navy-900); }
.site-branding__mark { width: auto; height: 28px; object-fit: contain; }
.site-branding span { font-family: "Noto Serif JP", serif; font-size: 22px; font-weight: 700; letter-spacing: .05em; line-height: 1; white-space: nowrap; }
.desktop-nav { height: 100%; }
.desktop-nav > ul { height: 100%; margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 12px; }
.desktop-nav > ul > li { height: 100%; position: relative; display: flex; align-items: center; }
.desktop-nav > ul > li > a { position: relative; padding: 10px 4px; color: #4a5568; font-size: 14px; font-weight: 700; white-space: nowrap; }
.desktop-nav > ul > li > a:hover, .desktop-nav > ul > li > a.is-current { color: var(--navy-900); }
.desktop-nav > ul > li > a.is-current::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -10px; height: 2px; background: var(--gold-500); }
.desktop-nav i { margin-left: 3px; font-size: 10px; color: #a0aec0; }
.dropdown-menu { visibility: hidden; opacity: 0; transform: translate(-50%, 8px); position: absolute; left: 50%; top: calc(100% - 2px); width: 240px; margin: 0; padding: 10px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-md); transition: .22s ease; }
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.dropdown-menu a { display: block; padding: 10px 20px; color: #4a5568; font-size: 14px; font-weight: 500; border-bottom: 1px solid #f3f5f8; }
.dropdown-menu li:last-child a { border-bottom: 0; }
.dropdown-menu a:hover { padding-left: 25px; color: var(--navy-900); background: var(--mist); }
.menu-toggle, .mobile-nav { display: none; }

/* Hero */
.column-hero, .article-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(125deg, var(--navy-950) 0%, var(--navy-800) 67%, #164d82 100%); }
.column-hero::before, .article-hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to right, transparent, #000 28%, #000); }
.column-hero__ornament, .article-hero__ornament { position: absolute; width: 460px; height: 460px; right: -80px; top: -230px; border: 1px solid rgba(223,199,143,.3); border-radius: 50%; }
.column-hero__ornament::before, .article-hero__ornament::before, .column-hero__ornament::after, .article-hero__ornament::after { content: ""; position: absolute; border: 1px solid rgba(223,199,143,.19); border-radius: 50%; }
.column-hero__ornament::before, .article-hero__ornament::before { inset: 48px; }
.column-hero__ornament::after, .article-hero__ornament::after { inset: 96px; }
.column-hero__inner { position: relative; z-index: 1; min-height: 286px; padding-block: 46px 60px; display: flex; flex-direction: column; justify-content: center; }
.column-hero--compact .column-hero__inner { min-height: 300px; }
.breadcrumbs { margin-bottom: auto; }
.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: rgba(255,255,255,.72); }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumbs a:hover { color: #fff; }
.column-hero__eyebrow, .article-hero__meta, .footer-cta__eyebrow, .section-heading > p, .sidebar-panel__label, .author-profile__eyebrow { margin: 0 0 12px; color: var(--gold-300); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.column-hero h1 { margin: 0; font-family: "Noto Serif JP", serif; font-size: clamp(40px, 4.2vw, 56px); line-height: 1.25; letter-spacing: .06em; }
.column-hero__description { max-width: 720px; margin: 14px 0 0; color: rgba(255,255,255,.82); font-size: 16px; }
.article-hero__inner { position: relative; z-index: 1; padding-block: 48px 74px; }
.article-hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 0; }
.article-hero__meta a { padding: 5px 12px; border: 1px solid rgba(223,199,143,.55); border-radius: 100px; color: #fff; font-size: 12px; letter-spacing: .05em; }
.article-hero__meta time { color: rgba(255,255,255,.7); font-weight: 700; letter-spacing: .08em; }
.article-hero h1 { max-width: 980px; margin: 0; font-family: "Noto Serif JP", serif; font-size: clamp(30px, 4vw, 48px); line-height: 1.5; letter-spacing: .025em; }
.article-hero__reading { max-width: 780px; margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }

/* Archive */
.column-index-section, .article-section { padding: 58px 0 110px; background: linear-gradient(180deg, #fff 0, #f7f9fc 100%); }
.category-filter { margin: -52px 0 58px; position: relative; z-index: 4; display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); }
.category-filter a { padding: 9px 15px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: 13px; font-weight: 700; }
.category-filter a:hover, .category-filter a.is-active { color: #fff; border-color: var(--navy-800); background: var(--navy-800); }
.column-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.column-content { min-width: 0; }
.section-heading { margin-bottom: 38px; text-align: center; }
.section-heading--left { text-align: left; }
.section-heading > p { color: var(--gold-500); }
.section-heading h2 { margin: 0; color: var(--navy-900); font-family: "Noto Serif JP", serif; font-size: 32px; line-height: 1.35; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: .28s ease; }
.post-card:hover { transform: translateY(-5px); border-color: #c9d6e4; box-shadow: var(--shadow-md); }
.post-card__image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__image img { transform: scale(1.035); }
.post-card__placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: rgba(255,255,255,.72); background-image: radial-gradient(circle at 80% 15%, rgba(197,160,89,.3), transparent 28%), linear-gradient(135deg, var(--navy-950), var(--navy-700)); }
.post-card__placeholder span { font-size: 11px; font-weight: 900; letter-spacing: .35em; }
.post-card__placeholder strong { font-family: "Noto Serif JP", serif; font-size: 30px; letter-spacing: .1em; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; color: #8793a4; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.post-card__meta a { padding: 3px 9px; color: var(--navy-800); background: #eef4fb; border-radius: 100px; }
.post-card h2 { margin: 0 0 14px; color: var(--navy-900); font-family: "Noto Serif JP", serif; font-size: 20px; line-height: 1.6; }
.post-card h2 a:hover { color: var(--navy-700); }
.post-card__excerpt { color: var(--muted); font-size: 14px; line-height: 1.85; }
.post-card__excerpt p { margin: 0; }
.post-card__more { margin-top: auto; padding-top: 22px; color: var(--navy-800); font-size: 13px; font-weight: 900; letter-spacing: .04em; }
.post-card__more i { margin-left: 8px; color: var(--gold-500); transition: transform .2s ease; }
.post-card__more:hover i { transform: translateX(5px); }
.pagination-wrap { margin-top: 60px; }
.nav-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy-900); font-size: 14px; font-weight: 700; }
.page-numbers.current, .page-numbers:hover { color: #fff; border-color: var(--navy-800); background: var(--navy-800); }
.page-numbers.prev, .page-numbers.next { gap: 7px; }
.empty-state { padding: 70px 30px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state a, .primary-button { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 14px 24px; color: #fff; background: var(--navy-800); border-radius: 7px; font-weight: 700; }

/* Sidebar */
.column-sidebar { position: sticky; top: 110px; display: grid; gap: 22px; }
.sidebar-panel { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.sidebar-panel--search { background: var(--navy-900); border-color: var(--navy-900); }
.sidebar-panel__label { color: var(--gold-500); }
.sidebar-panel h2 { margin: 0 0 18px; color: var(--navy-900); font-family: "Noto Serif JP", serif; font-size: 20px; }
.sidebar-panel--search h2 { color: #fff; }
.column-search-form { display: flex; overflow: hidden; height: 48px; background: #fff; border-radius: 6px; }
.column-search-form input { min-width: 0; flex: 1; padding: 0 14px; color: var(--ink); border: 0; outline: 0; font-size: 14px; }
.column-search-form button { width: 48px; border: 0; color: #fff; background: var(--gold-500); }
.recent-posts { margin: 0; padding: 0; list-style: none; }
.recent-posts li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); }
.recent-posts li:first-child { border-top: 0; padding-top: 0; }
.recent-posts span { color: var(--gold-500); font-family: "Noto Serif JP", serif; font-size: 18px; font-weight: 700; }
.recent-posts a { color: #48566a; font-size: 13px; line-height: 1.65; }
.recent-posts a:hover { color: var(--navy-800); }
.sidebar-link-list { margin: 0; padding: 0; list-style: none; }
.sidebar-link-list li { border-top: 1px solid var(--line); }
.sidebar-link-list li:first-child { border-top: 0; }
.sidebar-link-list a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; color: #526176; font-size: 13px; }
.sidebar-link-list a::after { content: "›"; color: var(--gold-500); font-size: 18px; line-height: 1; }
.sidebar-link-list a:hover { color: var(--navy-800); padding-left: 4px; }

/* Single */
.article-section { position: relative; }
.article-main { min-width: 0; }
.article-featured-image { position: relative; z-index: 3; width: 100%; aspect-ratio: 16 / 9; margin: -58px 0 34px; overflow: hidden; background: #e9eef5; border: 7px solid #fff; border-radius: 14px; box-shadow: var(--shadow-md); }
.article-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.column-layout--single { grid-template-columns: minmax(0, 1fr) 300px; }
.article-card { min-width: 0; padding: 58px 62px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.article-content { color: #364457; font-size: 16px; line-height: 2.05; overflow-wrap: anywhere; }
.article-content > *:first-child { margin-top: 0; }
.article-content p { margin: 0 0 1.8em; }
.article-content h2,
.article-content h2.wp-block-heading {
    margin: 3em 0 1.1em;
    padding: 18px 22px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: linear-gradient(120deg, var(--navy-950), var(--navy-800)) !important;
    border: 0;
    border-left: 5px solid var(--gold-500);
    border-radius: 4px;
    font-family: "Noto Serif JP", serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.55;
    text-shadow: none;
}
.article-content h2 *,
.article-content h2.wp-block-heading * {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    background: transparent !important;
    text-decoration-color: rgba(255,255,255,.7) !important;
}
.article-content h2 a,
.article-content h2.wp-block-heading a {
    color: #fff !important;
    text-decoration: none;
}
.article-content h3 { margin: 2.5em 0 1em; padding: 0 0 12px 18px; color: var(--navy-900); border-left: 4px solid var(--gold-500); border-bottom: 1px solid var(--line); font-family: "Noto Serif JP", serif; font-size: 22px; line-height: 1.55; }
.article-content h4 { margin: 2em 0 .8em; color: var(--navy-900); font-size: 18px; }
.article-content a { color: #0759a7; text-decoration: underline; text-underline-offset: 3px; }
.article-content strong { color: #162d4b; }
.article-content ul, .article-content ol { margin: 1.5em 0 2em; padding: 22px 24px 22px 48px; background: var(--mist); border-radius: 8px; }
.article-content li + li { margin-top: .55em; }
.article-content blockquote { margin: 2em 0; padding: 24px 28px; color: #46566b; background: #fbf8f1; border-left: 4px solid var(--gold-500); }
.article-content img { margin: 2em auto; border-radius: 8px; }
.article-content table { width: 100%; margin: 2em 0; border-collapse: collapse; display: block; overflow-x: auto; white-space: nowrap; }
.article-content th, .article-content td { padding: 13px 15px; border: 1px solid #dce4ed; text-align: left; }
.article-content th { color: #fff; background: var(--navy-800); }
.article-content hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.article-content .wp-caption { max-width: 100%; }
.article-content .wp-caption-text { margin-top: -1em; color: var(--muted); font-size: 12px; text-align: center; }
#toc_container, .toc_container { width: 100% !important; margin: 2.2em 0 !important; padding: 25px 28px !important; background: #f5f8fc !important; border: 1px solid #dbe5f0 !important; border-radius: 9px !important; }
#toc_container .toc_title, .toc_container .toc_title { color: var(--navy-900); font-family: "Noto Serif JP", serif; font-size: 18px; font-weight: 700; }
#toc_container a, .toc_container a { color: #435773; text-decoration: none; }
#toc_container a:hover, .toc_container a:hover { color: var(--navy-800); }
.author-profile { display: grid; grid-template-columns: 132px 1fr; gap: 28px; margin-top: 70px; padding: 30px; background: linear-gradient(135deg, #f5f8fc, #fff); border: 1px solid #dce5ef; border-top: 3px solid var(--gold-500); border-radius: 10px; }
.author-profile__image img { width: 132px; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border-radius: 6px; }
.author-profile__eyebrow { margin-bottom: 4px; }
.author-profile h2 { margin: 0 0 10px; color: var(--navy-900); font-family: "Noto Serif JP", serif; font-size: 22px; }
.author-profile__name { margin: 0 0 13px; color: var(--navy-900); font-weight: 900; }
.author-profile__name small { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; }
.author-profile__content > p:last-of-type { margin: 0; color: #59687a; font-size: 13px; line-height: 1.85; }
.author-profile details { margin-top: 14px; color: #566579; font-size: 13px; }
.author-profile summary { color: var(--navy-800); cursor: pointer; font-weight: 700; }
.post-navigation { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: stretch; gap: 14px; margin-top: 62px; padding-top: 34px; border-top: 1px solid var(--line); }
.post-navigation__item a, .post-navigation__home { min-height: 76px; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 14px 17px; background: var(--mist); border-radius: 7px; }
.post-navigation__item span { color: var(--gold-500); font-size: 11px; font-weight: 900; letter-spacing: .05em; }
.post-navigation__item strong { margin-top: 5px; color: var(--navy-900); font-size: 12px; line-height: 1.55; }
.post-navigation__item--next { text-align: right; }
.post-navigation__home { align-items: center; gap: 3px; color: var(--navy-800); font-size: 11px; font-weight: 700; }
.post-navigation__home i { font-size: 18px; }
.related-posts { margin-top: 100px; }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.related-posts .post-card h2 { font-size: 18px; }
.related-posts .post-card__excerpt { display: none; }

/* Footer */
.site-footer { padding: 70px 0 28px; color: #333; background: var(--mist); }
.footer-cta { margin-bottom: 58px; padding: 44px 34px; color: #fff; text-align: center; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); border-radius: 13px; box-shadow: var(--shadow-md); }
.footer-cta h2 { margin: 0 0 12px; font-family: "Noto Serif JP", serif; font-size: 30px; }
.footer-cta__lead { margin: 0 0 30px; color: rgba(255,255,255,.8); }
.footer-cta__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact-action { min-width: 0; min-height: 86px; display: grid; grid-template-columns: 30px minmax(0,1fr) 14px; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 7px; text-align: left; }
.contact-action > i:first-child { font-size: 23px; text-align: center; }
.contact-action span { min-width: 0; }
.contact-action small, .contact-action strong { display: block; }
.contact-action small { margin-bottom: 2px; font-size: 11px; line-height: 1.5; opacity: .86; }
.contact-action strong { font-size: 15px; line-height: 1.45; }
.contact-action--phone { color: #fff; border: 1px solid rgba(255,255,255,.65); }
.contact-action--line { color: #fff; background: #06c755; }
.contact-action--mail { color: var(--navy-900); background: #fff; }
.contact-action:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px 25px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #d9e0e8; }
.footer-nav a { color: #596575; font-size: 13px; font-weight: 700; }
.footer-nav a:hover { color: var(--navy-800); }
.site-footer__copyright { margin: 0; color: #87909c; font-size: 12px; text-align: center; }
.page-top { visibility: hidden; opacity: 0; transform: translateY(18px); position: fixed; right: 28px; bottom: 28px; z-index: 1000; width: 50px; height: 50px; display: grid; place-items: center; color: #fff; background: var(--gold-500); border-radius: 50%; box-shadow: 0 7px 18px rgba(0,0,0,.2); }
.page-top.is-show { visibility: visible; opacity: 1; transform: translateY(0); }
.page-top:hover { background: var(--navy-800); transform: translateY(-3px); }
.not-found-section { padding: 80px 0 110px; text-align: center; }

@media (max-width: 1280px) {
    .site-branding span { font-size: 18px; }
    .desktop-nav > ul { gap: 7px; }
    .desktop-nav > ul > li > a { font-size: 12px; padding-inline: 2px; }
}

@media (max-width: 991px) {
    .site-container { width: min(100% - 34px, 1200px); }
    .site-header__inner { height: 70px; padding: 0 16px; }
    .site-branding a { gap: 8px; }
    .site-branding__mark { height: 30px; }
    .site-branding span { font-size: clamp(14px, 4.4vw, 19px); letter-spacing: 0; }
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 48px; height: 55px; padding: 0; color: var(--navy-900); background: transparent; border: 0; }
    .menu-toggle__bars { width: 27px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; }
    .menu-toggle__bars span { width: 100%; height: 2px; display: block; background: var(--navy-900); transition: .25s ease; }
    .menu-toggle__text { font-size: 9px; font-weight: 900; letter-spacing: .08em; }
    .menu-toggle.is-active .menu-toggle__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .menu-toggle__bars span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .menu-toggle__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .mobile-nav { position: fixed; display: block; visibility: hidden; opacity: 0; transform: translateX(100%); top: 70px; right: 0; width: 100%; height: calc(100dvh - 70px); overflow-y: auto; color: var(--navy-900); background: #fff; transition: .3s ease; }
    .mobile-nav.is-open { visibility: visible; opacity: 1; transform: translateX(0); }
    .mobile-nav__inner { padding: 23px 20px 50px; }
    .mobile-nav__inner > a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
    .mobile-nav__inner > a.is-current { color: var(--gold-500); }
    .mobile-nav__group { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .mobile-nav__group > p { margin: 0 0 10px; font-weight: 700; }
    .mobile-nav__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; }
    .mobile-nav__sub a { padding: 7px 0; color: var(--muted); font-size: 12px; }
    .column-hero__inner { min-height: 250px; padding-block: 38px 50px; }
    .column-hero__description { font-size: 15px; }
    .article-hero__inner { padding-block: 38px 58px; }
    .article-hero__meta { margin-top: 0; }
    .column-index-section, .article-section { padding-block: 50px 90px; }
    .category-filter { margin-top: -44px; margin-bottom: 48px; padding: 15px; }
    .column-layout, .column-layout--single { grid-template-columns: 1fr; gap: 55px; }
    .column-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .sidebar-panel--search { grid-column: 1 / -1; }
    .post-grid { gap: 20px; }
    .article-featured-image { margin-top: -46px; margin-bottom: 30px; }
    .article-card { padding: 45px 42px; }
    .related-posts__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .footer-cta__actions { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body { font-size: 15px; }
    .site-container { width: min(100% - 28px, 1200px); }
    .site-branding__mark { height: 26px; }
    .site-branding span { font-size: clamp(13px, 4.2vw, 17px); }
    .column-hero__inner { min-height: 220px; padding-block: 34px 42px; }
    .column-hero h1 { font-size: 36px; }
    .column-hero__description { font-size: 14px; line-height: 1.75; }
    .column-hero__ornament, .article-hero__ornament { width: 320px; height: 320px; right: -120px; top: -150px; }
    .category-filter { gap: 7px; margin-top: -34px; margin-bottom: 40px; padding: 12px; border-radius: 9px; }
    .category-filter a { padding: 7px 11px; font-size: 11px; }
    .section-heading h2 { font-size: 27px; }
    .post-grid { grid-template-columns: 1fr; }
    .post-card__body { padding: 21px; }
    .post-card h2 { font-size: 19px; }
    .column-sidebar { grid-template-columns: 1fr; }
    .article-hero__meta { margin-top: 0; }
    .article-hero h1 { font-size: 28px; line-height: 1.55; }
    .article-hero__reading { font-size: 12px; }
    .article-featured-image { width: 100%; margin-left: 0; margin-top: -30px; margin-bottom: 22px; border-width: 4px; border-radius: 10px; }
    .article-card { padding: 30px 22px; border-radius: 10px; }
    .article-content { font-size: 15px; line-height: 1.95; }
    .article-content h2 { margin-top: 2.5em; padding: 15px 16px; font-size: 21px; }
    .article-content h3 { padding-left: 13px; font-size: 19px; }
    .article-content ul, .article-content ol { padding: 18px 16px 18px 37px; }
    #toc_container, .toc_container { padding: 20px !important; }
    .author-profile { grid-template-columns: 88px 1fr; gap: 17px; padding: 22px 18px; }
    .author-profile__image img { width: 88px; }
    .author-profile h2 { font-size: 19px; }
    .author-profile__name { font-size: 13px; }
    .author-profile__content > p:last-of-type, .author-profile details { grid-column: 1 / -1; }
    .post-navigation { grid-template-columns: 1fr 58px 1fr; gap: 7px; }
    .post-navigation__item a, .post-navigation__home { min-height: 68px; padding: 10px; }
    .post-navigation__item strong { display: none; }
    .related-posts { margin-top: 75px; }
    .related-posts__grid { grid-template-columns: 1fr; }
    .footer-cta { padding: 34px 17px; }
    .footer-cta h2 { font-size: 25px; }
    .footer-cta__lead { font-size: 13px; }
    .contact-action { min-height: 80px; }
    .footer-nav { gap: 10px 18px; }
    .page-top { width: 45px; height: 45px; right: 17px; bottom: 17px; }
}
.article-hero__author { color: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; letter-spacing: .02em; }

/* =========================================================
   v5: article alignment and responsive refinements
   ========================================================= */
body { overflow-x: hidden; }

.site-branding,
.site-branding a,
.column-layout--single,
.column-layout--single > *,
.article-main,
.column-sidebar,
.sidebar-panel,
.recent-posts a,
.sidebar-link-list a {
    min-width: 0;
}

.article-hero h1,
.recent-posts a,
.sidebar-link-list a {
    overflow-wrap: anywhere;
}

.column-sidebar,
.sidebar-panel { width: 100%; }

/* The featured image and the right sidebar start at exactly the same height. */
@media (min-width: 992px) {
    .column-layout--single.has-featured-image > .column-sidebar {
        margin-top: -58px;
    }
}

/* Prevent legacy article content from overflowing the reading column. */
.article-content figure,
.article-content iframe,
.article-content video,
.article-content embed,
.article-content object,
.article-content svg,
.article-content pre,
.article-content .wp-block-embed,
.article-content .wp-block-image,
.article-content .wp-block-video,
.article-content .wp-block-table {
    max-width: 100%;
}

.article-content iframe,
.article-content video,
.article-content embed,
.article-content object {
    width: 100%;
}

.article-content iframe { border: 0; }

.article-content pre {
    overflow-x: auto;
    padding: 18px;
    background: #f4f7fa;
    border-radius: 8px;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
}

.article-content figure,
.article-content .alignwide,
.article-content .alignfull {
    width: auto;
    margin-left: 0;
    margin-right: 0;
}

.article-content table,
.article-content .wp-block-table {
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.article-content input,
.article-content select,
.article-content textarea,
.article-content button { max-width: 100%; }

/* Switch to the mobile navigation before the long desktop menu collides. */
@media (max-width: 1180px) {
    .site-header__inner {
        height: 70px;
        padding: 0 18px;
        gap: 12px;
    }

    .site-branding { flex: 1 1 auto; }

    .site-branding span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: clamp(15px, 2vw, 19px);
        letter-spacing: 0;
    }

    .desktop-nav { display: none; }

    .menu-toggle {
        flex: 0 0 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 48px;
        height: 55px;
        padding: 0;
        color: var(--navy-900);
        background: transparent;
        border: 0;
    }

    .menu-toggle__bars {
        width: 27px;
        height: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .menu-toggle__bars span {
        width: 100%;
        height: 2px;
        display: block;
        background: var(--navy-900);
        transition: .25s ease;
    }

    .menu-toggle__text {
        font-size: 9px;
        font-weight: 900;
        letter-spacing: .08em;
    }

    .menu-toggle.is-active .menu-toggle__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .menu-toggle__bars span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .menu-toggle__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .mobile-nav {
        position: fixed;
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateX(100%);
        top: 70px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px);
        overflow-y: auto;
        overscroll-behavior: contain;
        color: var(--navy-900);
        background: #fff;
        transition: .3s ease;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .mobile-nav__inner { padding: 23px 20px calc(50px + env(safe-area-inset-bottom)); }

    .mobile-nav__inner > a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 12px 4px;
        border-bottom: 1px solid var(--line);
        font-weight: 700;
    }

    .mobile-nav__inner > a.is-current { color: var(--gold-500); }

    .mobile-nav__group {
        padding: 14px 4px;
        border-bottom: 1px solid var(--line);
    }

    .mobile-nav__group > p {
        margin: 0 0 10px;
        font-weight: 700;
    }

    .mobile-nav__sub {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px 14px;
    }

    .mobile-nav__sub a {
        min-height: 40px;
        display: flex;
        align-items: center;
        padding: 7px 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.55;
    }
}

@media (max-width: 991px) {
    .column-layout--single > .column-sidebar { margin-top: 0; }
    .column-sidebar { width: 100%; }
}

@media (max-width: 680px) {
    .site-header__inner {
        padding-inline: 12px;
        gap: 8px;
    }

    .site-branding { overflow: hidden; }

    .site-branding a {
        gap: 7px;
        overflow: hidden;
    }

    .site-branding__mark {
        flex: 0 0 auto;
        height: 25px;
    }

    .site-branding span {
        font-size: clamp(11.5px, 3.45vw, 14.5px);
        line-height: 1.25;
        white-space: nowrap;
    }

    .menu-toggle {
        flex-basis: 44px;
        width: 44px;
        height: 52px;
    }

    .mobile-nav__inner { padding-inline: 17px; }

    .article-hero__inner { padding-block: 30px 50px; }

    .article-hero__meta {
        gap: 8px 10px;
        margin-bottom: 13px;
        letter-spacing: .06em;
    }

    .article-hero__meta a {
        padding: 4px 9px;
        font-size: 10px;
    }

    .article-hero__meta time,
    .article-hero__author { font-size: 10px; }

    .article-hero h1 {
        font-size: clamp(23px, 7vw, 28px);
        line-height: 1.5;
        letter-spacing: .01em;
    }

    .article-hero__reading {
        margin-top: 15px;
        font-size: 12px;
        line-height: 1.75;
    }

    .article-content iframe { min-height: 0; }

    .article-content table { font-size: 13px; }

    .article-content th,
    .article-content td { padding: 10px 12px; }

    .sidebar-panel { padding: 22px; }

    .sidebar-panel h2 {
        margin-bottom: 15px;
        font-size: 19px;
    }

    .recent-posts li { grid-template-columns: 26px minmax(0, 1fr); }
}

@media (max-width: 480px) {
    .site-container { width: min(100% - 24px, 1200px); }

    .site-header__inner {
        height: 66px;
        padding-inline: 12px;
    }

    .site-branding__mark { height: 23px; }

    .site-branding span { font-size: clamp(12px, 3.6vw, 15px); }

    .menu-toggle {
        flex-basis: 43px;
        width: 43px;
        height: 52px;
    }

    .mobile-nav {
        top: 66px;
        height: calc(100vh - 66px);
        height: calc(100dvh - 66px);
    }

    .mobile-nav__sub {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mobile-nav__sub a {
        min-height: 44px;
        border-top: 1px solid #f0f3f7;
    }

    .mobile-nav__sub a:first-child { border-top: 0; }

    .article-hero__inner { padding-block: 26px 43px; }

    .article-hero__meta { gap: 6px 8px; }

    .article-hero h1 {
        font-size: clamp(22px, 7vw, 26px);
        line-height: 1.48;
    }

    .article-hero__reading { font-size: 11px; }

    .article-section { padding-bottom: 72px; }

    .article-card { padding: 26px 17px; }

    .article-content {
        font-size: 14px;
        line-height: 1.92;
    }

    .article-content h2,
    .article-content h2.wp-block-heading {
        margin-top: 2.35em;
        padding: 14px;
        border-left-width: 4px;
        font-size: 19px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .article-content h3 {
        margin-top: 2.2em;
        padding: 0 0 10px 12px;
        font-size: 18px;
        overflow-wrap: anywhere;
    }

    .article-content h4 { font-size: 16px; }

    .article-content ul,
    .article-content ol { padding: 16px 13px 16px 34px; }

    .article-content blockquote { padding: 18px; }

    #toc_container,
    .toc_container { padding: 18px 16px !important; }

    .author-profile {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 50px;
        padding: 21px 17px;
    }

    .author-profile__image img { width: 92px; }

    .author-profile__content > p:last-of-type,
    .author-profile details { grid-column: auto; }

    .post-navigation {
        grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
        gap: 6px;
        margin-top: 46px;
        padding-top: 25px;
    }

    .post-navigation__item a,
    .post-navigation__home {
        min-height: 62px;
        padding: 9px 7px;
    }

    .post-navigation__item span,
    .post-navigation__home {
        font-size: 9px;
        letter-spacing: 0;
    }

    .sidebar-panel { padding: 20px 17px; }

    .column-search-form { height: 46px; }

    .recent-posts li {
        grid-template-columns: 25px minmax(0, 1fr);
        gap: 8px;
    }

    .footer-cta { padding: 30px 14px; }

    .footer-cta h2 { font-size: 23px; }

    .contact-action {
        grid-template-columns: 27px minmax(0, 1fr) 12px;
        padding-inline: 12px;
    }

    .contact-action strong { font-size: 14px; }
}

@media (max-width: 360px) {
    .site-container { width: min(100% - 20px, 1200px); }

    .site-header__inner { padding-inline: 9px; }

    .site-branding__mark { height: 21px; }

    .site-branding span { font-size: 11px; }

    .article-hero h1 { font-size: 21px; }

    .article-card { padding-inline: 14px; }

    .article-content h2,
    .article-content h2.wp-block-heading { font-size: 18px; }

    .sidebar-panel { padding: 19px; }

    .post-navigation { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   v6: align eyecatch down to the sidebar position
   ========================================================= */
@media (min-width: 992px) {
    .column-layout--single.has-featured-image > .column-sidebar {
        margin-top: 0;
    }

    .article-featured-image {
        margin-top: 0;
        margin-bottom: 34px;
    }
}


/* =========================================================
   v8: requested column wording and category presentation
   ========================================================= */
.column-index-section {
    padding-top: 68px;
}

.sidebar-link-list .category-count {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 6px;
    color: #8a96a6;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.sidebar-link-list .current-cat > a {
    color: var(--navy-800);
    font-weight: 700;
}

.sidebar-panel > h2:first-child,
.footer-cta > h2:first-child,
.author-profile__content > h2:first-child {
    margin-top: 0;
}

@media (max-width: 680px) {
    .column-index-section {
        padding-top: 42px;
    }
}
