/* ==========================================================================
   iSpark Insights — main stylesheet
   ========================================================================== */

:root {
	--head: #0b2447;
	--ink: #0c1a29;
	--text: #2b3a4a;
	--muted: #5f6c7b;
	--line: #e3e8ef;
	--line-2: #d3dbe5;
	--soft: #f4f6f9;
	--card: #ffffff;
	--blue: #1650ce;
	--blue-d: #0e3a9b;
	--blue-l: #0d6fea;
	--blue-soft: #eaf1fd;
	--footer: #0b1b2b;
	--footer-2: #132a3f;

	--f-head: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	--f-body: "Noto Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;

	--wrap: 1200px;
	--radius: 14px;
	--hdr-h: 72px;
	--shadow: 0 1px 2px rgba(12, 26, 41, .04), 0 8px 24px rgba(12, 26, 41, .06);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); color: var(--head); line-height: 1.25; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--head); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.ico { display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: .95rem; line-height: 1; padding: 13px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.hdr { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand-img { height: 38px; width: auto; }

.primary-nav { flex: 1; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-link, .nav-list > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 9px; border: 0; background: none; color: var(--ink); font-family: var(--f-body); font-weight: 500; font-size: .96rem; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.nav-link:hover, .nav-list > li > a:hover, .nav-link[aria-expanded="true"] { background: var(--soft); color: var(--head); }
.nav-link.is-current, .nav-list > li.current-menu-item > a { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.nav-link .chev { transition: transform .2s; opacity: .7; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.hdr-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr-search { position: relative; display: flex; align-items: center; }
.hdr-search .ico, .m-search .ico, .search-form .ico { position: absolute; left: 13px; color: var(--muted); pointer-events: none; }
.hdr-search input, .m-search input, .search-form input[type="search"] { width: 230px; height: 42px; padding: 0 14px 0 38px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: inherit; font-size: .92rem; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.hdr-search input:focus, .m-search input:focus, .search-form input[type="search"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 80, 206, .12); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s, opacity .2s; }
.burger span { top: 19px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -12px rgba(12, 26, 41, .18); }
.mega[hidden] { display: none; }
.mega-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 280px; gap: 28px; padding-block: 28px 32px; }
.mega-h { font-family: var(--f-head); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 10px; }
.mega-item { display: block; padding: 9px 10px; border-radius: 10px; transition: background .15s; }
.mega-item:hover { background: var(--soft); }
.mega-item .t { display: block; font-family: var(--f-head); font-weight: 700; font-size: .93rem; color: var(--head); line-height: 1.35; }
.mega-item .d { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-item:hover .t { color: var(--blue); }
.mega-promo { background: var(--footer); color: #c9d4e0; border-radius: var(--radius); padding: 22px; align-self: start; font-size: .88rem; line-height: 1.6; }
.mega-promo .tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fb4ff; margin-bottom: 10px; }
.mega-promo-t { font-family: var(--f-head); font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.mega-promo .go { display: inline-block; margin-top: 14px; color: #fff; font-weight: 700; font-family: var(--f-head); }
.mega-promo .go:hover { color: #8fb4ff; }

/* Mobile drawer */
.m-drawer { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--hdr-h)); overflow-y: auto; padding-block: 16px 24px; }
.m-drawer[hidden] { display: none; }
.m-search { position: relative; display: flex; align-items: center; margin-bottom: 12px; }
.m-search input { width: 100%; }
.m-nav { list-style: none; margin: 0; padding: 0; }
.m-nav > li { border-bottom: 1px solid var(--line); }
.m-nav summary, .m-nav .m-link, .m-nav > li > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-family: var(--f-head); font-weight: 700; color: var(--head); cursor: pointer; list-style: none; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav summary::after { content: "+"; font-size: 1.3rem; color: var(--blue); font-weight: 600; }
.m-nav details[open] summary::after { content: "–"; }
.m-sub { padding: 0 4px 14px; }
.m-sub a { display: block; padding: 7px 0; color: var(--text); font-size: .95rem; }
.m-h { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 12px 0 4px; }
.m-sub .m-all { color: var(--blue); font-weight: 700; margin-top: 6px; }
.m-cta { width: 100%; margin-top: 18px; }

@media (max-width: 1240px) { .hdr-search input { width: 180px; } .hdr { gap: 18px; } .nav-link, .nav-list > li > a { padding-inline: 10px; } }
@media (max-width: 1120px) { .hdr-search { display: none; } }
@media (max-width: 960px) {
	.primary-nav, .hdr-cta, .mega { display: none !important; }
	.burger { display: inline-block; }
	.hdr { justify-content: space-between; }
	:root { --hdr-h: 64px; }
	.brand-img { height: 32px; }
}

/* ==========================================================================
   Breadcrumbs, pills, chips
   ========================================================================== */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.crumbs .sep { display: inline-flex; color: #a3aebb; }

.pill { display: inline-block; background: var(--blue-soft); color: var(--head); font-family: var(--f-head); font-size: .76rem; font-weight: 700; line-height: 1; padding: 7px 11px; border-radius: 999px; transition: background .15s, color .15s; }
.pill:hover { background: var(--blue); color: #fff; }

.eyebrow { font-family: var(--f-head); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 28px 0 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; transition: border-color .15s, color .15s, background .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--head); border-color: var(--head); color: #fff; }

/* ==========================================================================
   Blog index hero + card grid
   ========================================================================== */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 28px 0 44px; }
.hero-title { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; max-width: 22ch; }
.hero-lead { font-size: 1.14rem; line-height: 1.65; color: var(--text); margin-top: 16px; max-width: 62ch; }
.hero .search-form { margin-top: 22px; }

.listing { padding: 56px 0 80px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid { grid-template-columns: 1fr; gap: 20px; } }

.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-2); }
.card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #0b1b2b, #1650ce); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #0b1b2b 0%, #123d7a 60%, #1650ce 100%); }
.card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 22px 18px; }
.card-title { font-size: 1.2rem; font-weight: 800; line-height: 1.32; margin: 14px 0 10px; }
.card-title a { color: var(--head); }
.card-title a:hover { color: var(--blue); }
.card-excerpt { font-size: .95rem; line-height: 1.65; color: var(--text); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; font-size: .92rem; color: var(--head); }
.more .ico-arrow { color: var(--blue); transition: transform .15s; }
.more:hover { color: var(--blue); }
.more:hover .ico-arrow { transform: translateX(3px); }

/* Pagination */
.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .93rem; }
a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.page-numbers.current { background: var(--head); border-color: var(--head); color: #fff; }
.page-numbers.dots { border: 0; min-width: auto; }

.empty { text-align: center; padding: 40px 0; }
.empty h2 { font-size: 1.6rem; margin-bottom: 8px; }
.empty p { margin-bottom: 20px; }

.search-form { position: relative; display: flex; align-items: center; gap: 10px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; width: auto; height: 46px; }
.search-form .btn { height: 46px; }

/* ==========================================================================
   Single post
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: minmax(0, 800px) 300px; justify-content: space-between; column-gap: 64px; grid-template-areas: "head ." "main aside"; padding-top: 24px; }
.post-grid.no-toc { grid-template-areas: "head ." "main aside"; }
.post-head { grid-area: head; padding-bottom: 32px; }
.post-main { grid-area: main; min-width: 0; }
.post-aside { grid-area: aside; }

.post-head .crumbs { margin-bottom: 28px; }
.post-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 16px 0 14px; }
.post-lead { font-size: 1.14rem; line-height: 1.7; color: var(--text); opacity: .92; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--blue-soft); color: var(--head); display: inline-grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: .78rem; letter-spacing: .02em; }
.avatar.has-img { background: var(--soft); box-shadow: 0 0 0 1px var(--line); }
.avatar .avatar-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.author-hero { display: flex; align-items: center; gap: 18px; }
.author-hero .avatar { font-size: 1.2rem; }
.post-meta .author { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-meta .author:hover { color: var(--blue); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #aab4c0; }

.post-hero { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.post-hero img { width: 100%; }
.post-hero figcaption { font-size: .84rem; color: var(--muted); padding: 10px 14px; }

/* Sidebar */
.aside-sticky { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 18px; }
.admin-bar .aside-sticky { top: calc(var(--hdr-h) + 56px); }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; background: #fff; }
.side-h { font-family: var(--f-head); font-weight: 800; font-size: 1.02rem; color: var(--head); margin-bottom: 14px; letter-spacing: -.01em; }
.toc { max-height: calc(100vh - var(--hdr-h) - 260px); overflow-y: auto; overscroll-behavior: contain; }
.toc-list { list-style: none; margin: 0; padding: 0 0 0 0; border-left: 2px solid var(--line); }
.toc-list li { margin: 0; }
.toc-list a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: .9rem; line-height: 1.5; color: var(--text); transition: color .15s, border-color .15s; }
.toc-list .lvl-3 a { padding-left: 28px; font-size: .86rem; }
.toc-list a:hover { color: var(--blue); }
.toc-list a.is-active { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }
.cta p:not(.side-h) { font-size: .92rem; line-height: 1.6; color: var(--muted); margin-bottom: 14px; }

.toc-mobile { display: none; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px; background: #fff; }
.toc-mobile summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-family: var(--f-head); font-weight: 800; color: var(--head); cursor: pointer; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: "+"; margin-left: auto; color: var(--blue); font-size: 1.3rem; }
.toc-mobile[open] summary::after { content: "–"; }
.toc-mobile .toc-list { margin: 0 18px 16px; }

@media (max-width: 1100px) { .post-grid { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 44px; } }
@media (max-width: 900px) {
	.post-grid, .post-grid.no-toc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "main" "aside"; }
	.post-aside .toc { display: none; }
	.toc-mobile { display: block; }
	.aside-sticky { position: static; margin-top: 40px; }
}

/* Entry content */
.entry-content { font-size: 1.06rem; line-height: 1.78; color: var(--ink); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 800; margin-top: 2em; margin-bottom: .1em; letter-spacing: -.025em; }
.entry-content h3 { font-size: 1.28rem; font-weight: 800; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.1rem; font-weight: 700; margin-top: 1.4em; }
.entry-content a { color: var(--head); text-decoration: underline; text-decoration-color: rgba(11, 36, 71, .45); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--blue); text-decoration-color: var(--blue); }
.entry-content strong { color: var(--ink); font-weight: 700; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin: .45em 0; padding-left: .2em; }
.entry-content li::marker { color: var(--head); }
.entry-content blockquote { margin-inline: 0; padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--soft); border-radius: 0 12px 12px 0; color: var(--ink); }
.entry-content blockquote p { margin: 0; }
.entry-content img { border-radius: 12px; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; text-align: center; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.entry-content code { font-size: .9em; background: var(--soft); padding: 2px 6px; border-radius: 6px; }
.entry-content pre { background: var(--footer); color: #e6edf5; padding: 18px; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.entry-content pre code { background: none; padding: 0; }

/* Tables */
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.55; }
.entry-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content > table { display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.entry-content thead th, .entry-content tr:first-child th { background: var(--soft); font-family: var(--f-head); font-weight: 700; color: var(--head); }
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--soft); }
.entry-content .wp-block-table thead { border-bottom: 0; }

/* Gutenberg alignment */
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry-content .wp-block-button__link { background: var(--blue); color: #fff; border-radius: 10px; text-decoration: none; font-family: var(--f-head); font-weight: 700; }

/* Tags */
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-tags .label { font-family: var(--f-head); font-weight: 700; color: var(--head); margin-right: 4px; }
.post-tags .tag { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .86rem; color: var(--text); }
.post-tags .tag:hover { border-color: var(--blue); color: var(--blue); }

.page-links { margin-top: 28px; display: flex; gap: 8px; align-items: center; }

/* FAQ */
.faq { margin-top: 52px; }
.faq-title { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -.025em; }
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; color: var(--head); line-height: 1.45; transition: background .15s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--soft); }
.faq-sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .2s; }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0); }
.faq-a { padding: 0 22px 22px; font-size: .98rem; line-height: 1.7; color: var(--text); }
.faq-a > * + * { margin-top: .8em; }
.faq-a a { text-decoration: underline; text-underline-offset: 3px; }

/* Related */
.related { padding: 72px 0 88px; }
.related-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 22px; }

/* Page */
.page-wrap { max-width: 860px; padding-top: 24px; padding-bottom: 80px; }

/* Comments */
.comments { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 18px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; }
.comment-form .submit { background: var(--blue); color: #fff; border: 0; padding: 12px 20px; border-radius: 10px; font-family: var(--f-head); font-weight: 700; cursor: pointer; }

/* 404 */
.hero-404 { padding-bottom: 72px; }
.hero-404 .search-form { margin: 26px 0 18px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--footer); color: #aebccb; padding: 64px 0 28px; font-size: .92rem; }
.f-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 36px; }
.f-logo { display: inline-block; margin-bottom: 16px; }
.f-logo img { height: 36px; width: auto; }
.f-brand p { line-height: 1.65; max-width: 30ch; }
.f-contact { display: grid; gap: 6px; margin-top: 18px; }
.f-contact a { color: #fff; }
.f-h { font-family: var(--f-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #8fb4ff; margin-bottom: 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { margin: 0 0 10px; line-height: 1.45; }
.site-footer a { color: #d3dde8; }
.site-footer a:hover { color: #fff; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.f-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.f-note { margin-top: 14px; font-size: .8rem; color: #7f8fa0; }

@media (max-width: 1024px) { .f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) {
	.f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
	body { font-size: 16px; }
	.hero { padding: 20px 0 32px; }
	.listing { padding: 32px 0 56px; }
	.entry-content { font-size: 1.02rem; }
	.card-body { padding: 18px 18px 16px; }
	.related { padding: 48px 0 64px; }
	.faq-item summary { padding: 16px 18px; font-size: .98rem; }
	.faq-a { padding: 0 18px 18px; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .post-aside, .related, .toc-mobile { display: none !important; }
	.post-grid { display: block; }
}
