:root {
    --ih-ink: #132238;
    --ih-text: #43546a;
    --ih-muted: #708096;
    --ih-line: #e2e8f0;
    --ih-soft: #f5f8fb;
    --ih-white: #ffffff;
    --ih-blue: #1667d9;
    --ih-blue-dark: #0d4fae;
    --ih-blue-soft: #eaf2ff;
    --ih-green: #0c8b67;
    --ih-green-soft: #e8f7f2;
    --ih-amber: #b86a10;
    --ih-amber-soft: #fff4df;
    --ih-radius: 18px;
    --ih-radius-sm: 12px;
    --ih-shadow: 0 18px 50px rgba(25, 52, 84, .10);
    --ih-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ih-white);
    color: var(--ih-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--ih-blue); text-decoration: none; }
a:hover { color: var(--ih-blue-dark); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--ih-container)); margin-inline: auto; }
.narrow-container { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.sr-only { 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 { position: fixed; left: 18px; top: -80px; z-index: 9999; background: var(--ih-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 18px; color: #fff; }
:focus-visible { outline: 3px solid rgba(22, 103, 217, .28); outline-offset: 3px; }

/* Header */
.site-header { position: relative; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--ih-line); }
.topbar { background: #112033; color: #cfd9e6; font-size: 13px; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; font-weight: 600; }
.header-main { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.site-branding { min-width: 190px; }
.custom-logo { display: block; max-height: 50px; width: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ih-ink); font-weight: 800; letter-spacing: -.035em; font-size: 22px; }
.brand:hover { color: var(--ih-ink); }
.brand-text span { color: var(--ih-blue); }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--ih-blue); }
.brand-mark svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.primary-nav { justify-self: center; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { color: #27384c; font-size: 14px; font-weight: 650; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--ih-blue); }
.header-search-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ih-line); background: #fff; color: var(--ih-ink); min-height: 42px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.header-search-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--ih-line); background: #fff; border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.menu-toggle span:not(.sr-only) { width: 19px; height: 2px; background: var(--ih-ink); border-radius: 2px; }
.header-search-panel { background: var(--ih-soft); border-top: 1px solid var(--ih-line); padding: 16px 0; }
.header-search-panel .search-form { max-width: 720px; margin-inline: auto; }

/* Search */
.search-form { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; background: #fff; border: 1px solid #d7e0eb; border-radius: 14px; min-height: 56px; overflow: hidden; box-shadow: 0 6px 18px rgba(29, 55, 83, .06); }
.search-field { width: 100%; height: 54px; border: 0; outline: 0; background: transparent; padding: 0 18px 0 50px; color: var(--ih-ink); min-width: 0; }
.search-field::placeholder { color: #8a98aa; }
.search-form-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #7a899d; }
.search-form-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-submit { align-self: stretch; border: 0; background: var(--ih-blue); color: #fff; padding: 0 22px; font-weight: 750; }
.search-submit:hover { background: var(--ih-blue-dark); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); border-bottom: 1px solid #edf1f6; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -220px; top: -240px; background: radial-gradient(circle, rgba(22,103,217,.11), rgba(22,103,217,0) 68%); pointer-events: none; }
.hero-grid { min-height: 570px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .78fr); align-items: center; gap: 70px; padding-block: 76px 70px; }
.hero-copy { max-width: 710px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--ih-blue-dark); font-size: 14px; font-weight: 750; }
.hero-kicker span { width: 22px; height: 2px; background: var(--ih-blue); }
.hero h1 { margin: 0; color: var(--ih-ink); font-size: clamp(42px, 5.2vw, 70px); line-height: 1.03; letter-spacing: -.055em; font-weight: 820; max-width: 760px; }
.hero-description { max-width: 650px; margin: 24px 0 0; color: #53657a; font-size: 19px; line-height: 1.7; }
.hero-search-wrap { margin-top: 32px; max-width: 670px; }
.hero-search-wrap .search-form { min-height: 64px; border-color: #cfd9e6; box-shadow: var(--ih-shadow); }
.hero-search-wrap .search-field { height: 62px; font-size: 16px; }
.hero-search-wrap .search-submit { padding-inline: 28px; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 13px; font-size: 13px; color: var(--ih-muted); }
.search-suggestions a { color: #42566d; text-decoration: underline; text-decoration-color: #c6d0dc; text-underline-offset: 3px; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--ih-line); }
.hero-trust div { display: grid; gap: 2px; }
.hero-trust strong { color: var(--ih-ink); font-size: 14px; }
.hero-trust span { color: var(--ih-muted); font-size: 12px; }
.hero-panel { position: relative; background: #11243a; color: #fff; border-radius: 24px; padding: 18px; box-shadow: 0 24px 70px rgba(18,44,72,.22); }
.hero-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; border: 1px solid rgba(255,255,255,.08); }
.hero-panel-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 16px; color: #e8eef6; font-size: 14px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #49d49d; box-shadow: 0 0 0 4px rgba(73,212,157,.12); }
.hero-panel > a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 16px 15px; color: #fff; border-top: 1px solid rgba(255,255,255,.09); border-radius: 10px; }
.hero-panel > a:hover { background: rgba(255,255,255,.06); color: #fff; }
.hero-panel > a > span:first-child { color: #7fa8dc; font-size: 12px; font-weight: 800; }
.hero-panel > a div { display: grid; gap: 2px; }
.hero-panel > a strong { font-size: 15px; }
.hero-panel > a small { color: #aebed0; font-size: 12px; }
.hero-panel > a b { font-size: 25px; font-weight: 300; color: #7fa8dc; }

/* Sections */
.section-tight { padding: 42px 0; }
.section-block { padding: 82px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.section-heading.compact { margin-bottom: 20px; }
.section-heading h2 { margin: 0; color: var(--ih-ink); font-size: clamp(28px, 3vw, 40px); line-height: 1.16; letter-spacing: -.035em; }
.section-heading p:not(.section-label) { max-width: 650px; margin: 10px 0 0; color: var(--ih-muted); }
.section-label { margin: 0 0 8px; color: var(--ih-blue); font-size: 13px; font-weight: 800; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ih-ink); font-size: 14px; font-weight: 750; white-space: nowrap; }
.text-link span { color: var(--ih-blue); font-size: 22px; font-weight: 400; }

/* Quick access */
.quick-access { background: #fff; border-bottom: 1px solid var(--ih-line); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quick-card { min-width: 0; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 13px; padding: 18px; border: 1px solid var(--ih-line); border-radius: 14px; color: var(--ih-ink); background: #fff; }
.quick-card:hover { color: var(--ih-ink); border-color: #bfd0e5; background: #fbfdff; }
.quick-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ih-blue-soft); position: relative; }
.quick-icon::before, .quick-icon::after { content: ""; position: absolute; }
.quick-icon-phone::before { width: 15px; height: 23px; border: 2px solid var(--ih-blue); border-radius: 5px; left: 13px; top: 9px; }
.quick-icon-phone::after { width: 4px; height: 4px; border-radius: 50%; background: var(--ih-blue); left: 20px; bottom: 9px; }
.quick-icon-box::before { width: 20px; height: 17px; border: 2px solid var(--ih-blue); left: 10px; top: 13px; transform: rotate(0deg); }
.quick-icon-box::after { width: 2px; height: 17px; background: var(--ih-blue); left: 21px; top: 13px; }
.quick-icon-return::before { width: 21px; height: 13px; border: 2px solid var(--ih-green); border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; left: 10px; top: 16px; }
.quick-icon-return::after { width: 8px; height: 8px; border-left: 2px solid var(--ih-green); border-bottom: 2px solid var(--ih-green); transform: rotate(45deg); left: 9px; top: 12px; }
.quick-icon-calc::before { width: 19px; height: 23px; border: 2px solid var(--ih-blue); border-radius: 3px; left: 11px; top: 9px; }
.quick-icon-calc::after { width: 11px; height: 2px; background: var(--ih-blue); box-shadow: 0 6px 0 var(--ih-blue), 0 12px 0 var(--ih-blue); left: 16px; top: 14px; }
.quick-icon-ruler::before { width: 24px; height: 10px; border: 2px solid var(--ih-amber); transform: rotate(-35deg); left: 8px; top: 16px; }
.quick-icon-ruler::after { width: 2px; height: 6px; background: var(--ih-amber); left: 19px; top: 13px; transform: rotate(-35deg); }
.quick-icon-chat::before { width: 22px; height: 17px; border: 2px solid var(--ih-green); border-radius: 5px; left: 9px; top: 11px; }
.quick-icon-chat::after { width: 7px; height: 7px; border-left: 2px solid var(--ih-green); border-bottom: 2px solid var(--ih-green); transform: skew(-25deg); left: 13px; bottom: 9px; }
.quick-content { min-width: 0; display: grid; gap: 2px; }
.quick-content strong { font-size: 14px; }
.quick-content small { color: var(--ih-muted); font-size: 12px; line-height: 1.45; }
.quick-arrow { color: #9aabba; font-size: 23px; }

/* Companies */
.company-section { background: var(--ih-soft); }
.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.company-card { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding: 18px; background: #fff; color: var(--ih-ink); border: 1px solid #e4eaf1; border-radius: 14px; }
.company-card:hover { color: var(--ih-ink); border-color: #bdcad9; box-shadow: 0 10px 26px rgba(32,55,82,.06); }
.company-monogram { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #eef3f8; color: #344b65; font-size: 12px; font-weight: 850; letter-spacing: -.02em; }
.company-info { display: grid; gap: 1px; min-width: 0; }
.company-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.company-info small { color: var(--ih-muted); font-size: 12px; }
.company-arrow { color: #98a8b9; font-size: 22px; }

/* Tools */
.tools-section { background: #13263b; color: #fff; }
.tools-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 80px; align-items: center; }
.tools-section .section-label { color: #79aef2; }
.tools-copy h2 { margin: 0; color: #fff; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.045em; }
.tools-copy > p:not(.section-label) { max-width: 540px; color: #b9c7d5; margin: 18px 0 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 10px; font-weight: 750; font-size: 14px; }
.btn-dark { background: #fff; color: #13263b; }
.btn-dark:hover { color: #13263b; background: #edf3fa; }
.tools-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.tools-list a { display: grid; gap: 4px; min-height: 116px; align-content: center; color: #fff; padding: 24px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.tools-list a:hover { background: rgba(255,255,255,.05); color: #fff; }
.tools-list strong { font-size: 15px; }
.tools-list span { color: #aabacb; font-size: 12px; }

/* Posts */
.latest-section { background: #fff; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--ih-line); border-radius: 16px; background: #fff; }
.post-card-image { aspect-ratio: 16 / 9; display: block; overflow: hidden; background: var(--ih-soft); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 20px; }
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; color: var(--ih-muted); font-size: 11px; }
.entry-category { display: inline-flex; color: var(--ih-blue-dark); background: var(--ih-blue-soft); border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 750; }
.post-card h3 { margin: 0; color: var(--ih-ink); font-size: 19px; line-height: 1.35; letter-spacing: -.02em; }
.post-card h3 a { color: inherit; }
.post-card p { margin: 10px 0 16px; color: #64758a; font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-link { display: inline-flex; gap: 6px; align-items: center; color: var(--ih-ink); font-size: 13px; font-weight: 750; }
.post-card-link span { color: var(--ih-blue); font-size: 19px; }
.empty-state { border: 1px dashed #cbd6e2; border-radius: 15px; background: #fbfdff; padding: 28px; }
.empty-state.wide { grid-column: 1 / -1; }
.empty-state strong { color: var(--ih-ink); }
.empty-state p { margin: 5px 0 0; }

/* Trust */
.trust-strip { background: #f4f7fa; border-top: 1px solid var(--ih-line); padding: 32px 0; }
.trust-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.trust-strip strong { color: var(--ih-ink); font-size: 14px; }
.trust-strip p { margin: 4px 0 0; color: var(--ih-muted); font-size: 12px; }

/* Breadcrumb / singular */
.singular-layout { padding: 28px 0 80px; background: #f8fafc; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--ih-muted); font-size: 12px; margin-bottom: 22px; }
.breadcrumb a { color: #51667c; }
.breadcrumb .current { color: #8491a1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 380px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 790px) minmax(260px, 320px); align-items: start; gap: 30px; justify-content: space-between; }
.article-shell { background: #fff; border: 1px solid var(--ih-line); border-radius: 18px; padding: clamp(24px, 4vw, 46px); box-shadow: 0 8px 28px rgba(38,63,89,.04); min-width: 0; }
.article-header { padding-bottom: 26px; border-bottom: 1px solid var(--ih-line); margin-bottom: 26px; }
.article-header .entry-category { margin-bottom: 12px; }
.article-header h1 { margin: 0; color: var(--ih-ink); font-size: clamp(34px, 4.5vw, 54px); line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; }
.article-lead { margin: 18px 0 0; color: #607287; font-size: 18px; line-height: 1.68; }
.article-meta { display: flex; gap: 18px; margin-top: 18px; color: var(--ih-muted); font-size: 12px; }
.answer-box { display: grid; grid-template-columns: 38px 1fr; gap: 14px; margin: 0 0 28px; padding: 18px; border-radius: 13px; border: 1px solid #cfe8df; background: var(--ih-green-soft); }
.answer-box-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--ih-green); font-weight: 900; }
.answer-box strong { color: #11634e; font-size: 13px; }
.answer-box p { margin: 4px 0 0; color: #315f53; font-size: 14px; }
.article-featured { margin: 0 0 28px; border-radius: 14px; overflow: hidden; }
.article-featured img { display: block; width: 100%; }
.entry-content { color: #33485f; font-size: 17px; overflow-wrap: anywhere; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--ih-ink); line-height: 1.28; letter-spacing: -.025em; scroll-margin-top: 90px; }
.entry-content h2 { margin: 44px 0 16px; font-size: 29px; }
.entry-content h3 { margin: 32px 0 12px; font-size: 23px; }
.entry-content p { margin: 0 0 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 22px; padding-left: 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote { margin: 28px 0; padding: 18px 22px; border-left: 4px solid var(--ih-blue); background: var(--ih-blue-soft); border-radius: 0 12px 12px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid var(--ih-line); padding: 12px 14px; text-align: left; vertical-align: top; }
.entry-content th { background: #f4f7fa; color: var(--ih-ink); }
.article-verification { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 18px 0; border-top: 1px solid var(--ih-line); border-bottom: 1px solid var(--ih-line); }
.article-verification strong { color: var(--ih-ink); font-size: 13px; }
.article-verification p { margin: 2px 0 0; color: var(--ih-muted); font-size: 12px; }
.article-verification a { flex: 0 0 auto; font-size: 12px; font-weight: 750; }
.independent-note { margin-top: 22px; padding: 16px 18px; border-radius: 11px; background: #f5f7fa; color: #586b80; font-size: 12px; }
.independent-note strong { color: var(--ih-ink); }
.independent-note p { margin: 3px 0 0; }

/* Rank Math TOC */
.wp-block-rank-math-toc-block { margin: 28px 0 34px !important; padding: 0 !important; border: 1px solid var(--ih-line); border-radius: 14px; background: #fbfcfe; overflow: hidden; }
.wp-block-rank-math-toc-block > h2 { margin: 0 !important; padding: 15px 18px; border-bottom: 1px solid var(--ih-line); font-size: 15px !important; letter-spacing: 0 !important; color: var(--ih-ink); background: #f3f6f9; }
.wp-block-rank-math-toc-block nav { padding: 16px 18px 14px; }
.wp-block-rank-math-toc-block ul { margin: 0 !important; padding-left: 20px !important; }
.wp-block-rank-math-toc-block li { margin: 7px 0 !important; }
.wp-block-rank-math-toc-block a { color: #415a73; font-size: 14px; text-decoration: none; }
.wp-block-rank-math-toc-block a:hover { color: var(--ih-blue); }

/* Rank Math FAQ accordion */
.rank-math-block { margin: 34px 0; }
.rank-math-list-item { border: 1px solid var(--ih-line); border-radius: 12px; background: #fff; margin: 0 0 10px; overflow: hidden; }
.rank-math-question { position: relative; margin: 0 !important; padding: 17px 48px 17px 18px !important; color: var(--ih-ink) !important; font-size: 16px !important; line-height: 1.45 !important; letter-spacing: -.01em !important; cursor: pointer; user-select: none; }
.rank-math-question::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); display: grid; place-items: center; color: var(--ih-blue); font-size: 23px; font-weight: 400; }
.rank-math-list-item.is-open { border-color: #cbd9e9; }
.rank-math-list-item.is-open .rank-math-question::after { content: "−"; }
.rank-math-answer { padding: 0 18px 17px; color: #51667a; }
.rank-math-answer > *:last-child { margin-bottom: 0; }
.rank-math-answer[hidden] { display: none !important; }

/* Sidebar */
.sidebar { display: grid; gap: 18px; position: sticky; top: 24px; }
.sidebar-box, .widget { background: #fff; border: 1px solid var(--ih-line); border-radius: 14px; padding: 18px; }
.widget-title, .sidebar-box h3 { margin: 0 0 14px; color: var(--ih-ink); font-size: 15px; }
.sidebar .search-form { min-height: 48px; grid-template-columns: 1fr; }
.sidebar .search-field { height: 46px; padding-left: 42px; }
.sidebar .search-submit { display: none; }
.sidebar-shortcuts a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--ih-line); color: #40566e; font-size: 13px; font-weight: 650; }
.sidebar-shortcuts a:first-of-type { border-top: 0; }
.sidebar-shortcuts a span { color: #9aabba; font-size: 20px; }
.widget ul { margin: 0; padding-left: 18px; }
.widget li { margin-bottom: 8px; }

/* Ads */
.ad-slot { width: 100%; text-align: center; overflow: hidden; }
.ad-slot-header { margin-block: 18px; min-height: 90px; display: grid; place-items: center; }
.ad-slot-content, .ad-slot-after { margin: 28px 0; min-height: 120px; display: grid; place-items: center; }
.ad-slot .widget { border: 0; padding: 0; border-radius: 0; }

/* Listing */
.listing-page { padding: 34px 0 80px; background: #f8fafc; min-height: 60vh; }
.listing-header { max-width: 760px; margin: 18px 0 30px; }
.listing-header h1 { margin: 0; color: var(--ih-ink); font-size: clamp(34px, 4vw, 50px); line-height: 1.1; letter-spacing: -.045em; }
.listing-header p, .archive-description { color: var(--ih-muted); margin-top: 12px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.page-numbers { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--ih-line); border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--ih-ink); font-size: 13px; }
.page-numbers.current { background: var(--ih-ink); border-color: var(--ih-ink); color: #fff; }

/* 404 */
.error-page { padding: 90px 0; min-height: 65vh; background: #f8fafc; }
.error-inner { max-width: 700px; text-align: center; }
.error-code { display: inline-block; color: var(--ih-blue); font-size: 14px; font-weight: 900; }
.error-inner h1 { margin: 10px 0; color: var(--ih-ink); font-size: clamp(36px, 5vw, 56px); letter-spacing: -.045em; }
.error-inner > p { color: var(--ih-muted); }
.error-inner .search-form { margin: 26px auto 18px; max-width: 620px; text-align: left; }

/* Footer */
.site-footer { background: #0f1d2d; color: #9fb0c1; padding-top: 56px; }
.footer-main { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 64px; padding-bottom: 46px; }
.brand-footer { color: #fff; }
.brand-footer:hover { color: #fff; }
.footer-brand p { max-width: 450px; margin: 18px 0 0; color: #9fb0c1; font-size: 13px; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links h3 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.footer-links a { color: #aab9c8; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-widgets { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-widgets .widget { background: transparent; border-color: rgba(255,255,255,.1); color: #aab9c8; }
.footer-widgets .widget-title { color: #fff; }
.footer-bottom { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #73879a; font-size: 11px; }
.footer-bottom p { margin: 0; }

/* Comments */
.comments-area { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--ih-line); }
.comment-list { padding-left: 20px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--ih-line); }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; border: 1px solid var(--ih-line); border-radius: 10px; padding: 12px; }
.comment-form .submit { border: 0; border-radius: 10px; padding: 11px 18px; background: var(--ih-blue); color: #fff; font-weight: 750; }

@media (max-width: 1080px) {
    .header-main { gap: 18px; }
    .primary-nav ul { gap: 18px; }
    .hero-grid { grid-template-columns: 1fr .72fr; gap: 38px; }
    .company-grid { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}

@media (max-width: 900px) {
    .topbar { display: none; }
    .header-main { min-height: 68px; grid-template-columns: auto 1fr auto auto; }
    .primary-nav { display: none; position: absolute; left: 0; top: 68px; width: 100%; background: #fff; border-top: 1px solid var(--ih-line); border-bottom: 1px solid var(--ih-line); padding: 12px 20px 18px; box-shadow: 0 16px 34px rgba(28,49,74,.08); }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { display: grid; gap: 0; }
    .primary-nav a { display: block; padding: 11px 0; border-bottom: 1px solid #edf1f5; }
    .menu-toggle { display: flex; grid-column: 3; }
    .header-search-toggle { grid-column: 4; width: 42px; padding: 0; justify-content: center; }
    .header-search-toggle span { display: none; }
    .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 58px 54px; }
    .hero-copy { max-width: 760px; }
    .hero-panel { max-width: 660px; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-layout { grid-template-columns: 1fr; gap: 40px; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .footer-main { grid-template-columns: 1.2fr .8fr .8fr; gap: 36px; }
}

@media (max-width: 680px) {
    .container, .narrow-container { width: min(calc(100% - 28px), var(--ih-container)); }
    .header-main { gap: 10px; }
    .site-branding { min-width: 0; }
    .brand { font-size: 19px; gap: 8px; }
    .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
    .brand-mark svg { width: 22px; height: 22px; }
    .hero-grid { padding-block: 44px 40px; gap: 34px; }
    .hero h1 { font-size: clamp(38px, 12vw, 52px); }
    .hero-description { font-size: 16px; }
    .hero-search-wrap .search-form { grid-template-columns: 1fr auto; min-height: 58px; }
    .hero-search-wrap .search-field { height: 56px; padding-left: 44px; }
    .search-submit { padding-inline: 17px; }
    .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
    .hero-panel { border-radius: 18px; padding: 12px; }
    .quick-grid, .company-grid, .posts-grid, .trust-strip-grid, .footer-main, .footer-widgets, .sidebar { grid-template-columns: 1fr; }
    .quick-card { padding: 15px; }
    .section-block { padding: 60px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
    .tools-list { grid-template-columns: 1fr; }
    .tools-list a { min-height: 94px; }
    .content-layout { gap: 18px; }
    .article-shell { padding: 24px 19px; border-radius: 14px; }
    .article-header h1 { font-size: 35px; }
    .entry-content { font-size: 16px; }
    .entry-content h2 { font-size: 26px; }
    .article-verification { align-items: flex-start; flex-direction: column; gap: 10px; }
    .footer-main { gap: 28px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
    .breadcrumb .current { max-width: 220px; }
    .ad-slot-header { min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
