/* Shared editorial layout; loaded after the existing application stylesheet. */
:root { --ink: #10394d; --accent: #087f72; --soft: #eef6f3; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 2000; background: white; color: var(--ink); padding: 12px 20px; border: 2px solid var(--ink); }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid #087f72; outline-offset: 4px; }
#main-content:focus { outline: none; }
.editorial-hero { padding: 80px 0; background: linear-gradient(115deg, #f1f7f4, #f8fafb); border-bottom: 1px solid #dce8e3; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: #466558; margin-bottom: 16px; }
.editorial-hero h1 { font-size: clamp(2.7rem, 5.5vw, 4.6rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 750; color: var(--ink); }
.editorial-hero h1 span { color: var(--accent); }
.hero-intro { max-width: 560px; font-size: 1.15rem; line-height: 1.7; color: #4b606b; margin: 24px 0; }
.search-form { display: flex; gap: 8px; max-width: 580px; padding: 7px; background: white; border: 1px solid #b7cbc3; border-radius: 10px; }
.search-form .form-control { border: 0; min-width: 0; padding: 12px; }
.hero-link { font-weight: 600; padding: 6px 0; border-bottom: 1px solid #a5bfb4; }
.toolbox-panel { background: white; padding: 30px; border: 1px solid #d4e2dc; border-radius: 18px; box-shadow: 0 16px 45px #10394d0c; }
.toolbox-item { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid #e7eeeb; }
.toolbox-item:hover strong, .news-link:hover h3 { text-decoration: underline; }
.toolbox-item small { display: block; color: #5a6c75; margin-top: 4px; line-height: 1.5; }
.toolbox-icon { display: grid; place-items: center; flex-shrink: 0; width: 45px; height: 45px; background: var(--soft); border-radius: 9px; color: var(--accent); font: 700 .85rem monospace; }
.topic-strip { padding: 24px 0; border-bottom: 1px solid #e3e9e6; }
.topic-chip { padding: 8px 14px; border: 1px solid #d7e2dc; border-radius: 24px; font-size: .9rem; }
.topic-chip:hover { background: var(--soft); }
.editorial-section { padding: 64px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { color: var(--ink); font-size: 2rem; font-weight: 700; letter-spacing: -.025em; margin: 0; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading > a { white-space: nowrap; font-weight: 600; }
.blog-card { box-shadow: 0 3px 12px #10394d06; }
.blog-card h3 { line-height: 1.5; }
.blog-card .summary-wrap { color: #566873; line-height: 1.65; margin-bottom: 12px; }
.news-link { display: block; padding: 24px; height: 100%; border: 1px solid #d7e2dc; border-radius: 12px; }
.news-link h3 { line-height: 1.5; }
.news-link span { font-size: .9rem; color: #526861; }
.article-toc { border: 1px solid #d7e2dc; background: #f6faf8; border-radius: 10px; padding: 18px 22px; margin: 24px 0; }
.article-toc summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.article-toc ol { margin-top: 14px; margin-bottom: 0; padding-left: 22px; }
.article-toc li { margin: 8px 0; }
.post-main-content { line-height: 1.8; overflow-wrap: anywhere; }
.post-main-content h2, .post-main-content h3 { scroll-margin-top: 110px; line-height: 1.4; }
.post-main-content img { max-width: 100%; height: auto; }
.post-main-content pre { overflow-x: auto; max-width: 100%; }
.post-main-content a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575px) {
    .main-logo { width: 225px; height: auto; max-width: 100%; }
    .navbar-brand { max-width: calc(100% - 65px); }
    .editorial-hero { padding: 42px 0; }
    .toolbox-panel { padding: 22px; }
    .editorial-section { padding: 40px 0; }
    .section-heading { align-items: start; flex-direction: column; gap: 12px; }
    .section-heading h2 { font-size: 1.7rem; }
    .search-form .btn { padding: 10px 14px; }
}
