/* ==========================================================================
   CRECSO theme styles. Design tokens match https://www.crecso.com/
   ========================================================================== */

:root {
	--ink: #0f172a;
	--ink-2: #334155;
	--muted: #64748b;
	--line: #e6e9f0;
	--bg: #ffffff;
	--bg-2: #f7f9fc;
	--bg-3: #eef2ff;
	--brand: #4f46e5;
	--brand-2: #4338ca;
	--brand-ink: #312e81;
	--brand-soft: #eef2ff;
	--logo-blue: #11a1de;
	--logo-blue-soft: #eaf6fd;
	--radius: 16px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--shadow-lg: 0 12px 40px rgba(49, 46, 129, .12);
	--maxw: 1180px;
	--header-h: 72px;
	--admin-bar: 0px;
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--font-head: 'Sora', 'Inter', system-ui, sans-serif;
}

body.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { body.admin-bar { --admin-bar: 46px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1rem; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.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:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; left: 12px; top: 12px; z-index: 100000;
	background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow-lg); font-weight: 600;
}

/* Buttons and small UI -------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-weight: 600; font-size: .95rem; padding: 12px 20px; border-radius: 999px;
	border: 1px solid transparent; cursor: pointer; transition: .15s ease; white-space: nowrap; font-family: var(--font);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .28); }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.eyebrow {
	display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
	color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* Header: smart sticky --------------------------------------------------- */
.site-header {
	position: sticky; top: var(--admin-bar); z-index: 60;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
	transition: transform .28s ease, box-shadow .2s ease;
	will-change: transform;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(15, 23, 42, .07); }
.site-header.is-hidden { transform: translateY(-110%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 36px; width: auto; display: block; }

.primary-nav .menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav a { color: var(--ink-2); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--brand-2); text-decoration: none; }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: -14px; min-width: 220px; list-style: none; margin: 0; padding: 10px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; }
.primary-nav .sub-menu a:hover { background: var(--bg-2); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-mobile-cta { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; }
.nav-toggle .bars { display: grid; gap: 4px; width: 18px; margin: 0 auto; }
.nav-toggle .bars span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.primary-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
		max-height: calc(100vh - var(--header-h) - var(--admin-bar)); overflow-y: auto;
		display: none;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 18px; }
	.primary-nav .menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--bg-2); }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.nav-mobile-cta { display: flex; margin: 0 22px 20px; }
}
@media (max-width: 520px) {
	.nav-cta .btn { display: none; }
	.brand img { height: 32px; }
}

/* Ads ------------------------------------------------------------------- */
.crecso-ad { text-align: center; overflow: hidden; }
.crecso-ad > * { margin-left: auto; margin-right: auto; }
.ad-below-menu { margin-top: 18px; margin-bottom: 4px; }
.entry-content .ad-before-first-p { margin: 0 0 1.6rem; }
.ad-end-content { margin: 2.2rem 0 0; }

/* Breadcrumbs ------------------------------------------------------------ */
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.crumbs li + li::before { content: "\203A"; color: #b6bdcd; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-2); }
.crumbs [aria-current] span { color: var(--ink-2); font-weight: 500; }

/* Post header ----------------------------------------------------------- */
.post-header { padding-top: 34px; padding-bottom: 24px; }
.post-title { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; max-width: 26ch; margin-bottom: 14px; }
.post-excerpt { color: var(--ink-2); font-size: 1.15rem; line-height: 1.65; max-width: 70ch; margin-bottom: 20px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); font-size: .92rem; }
.meta-author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.meta-author:hover { color: var(--brand-2); text-decoration: none; }
.meta-avatar { width: 40px; height: 40px; border-radius: 50%; display: block; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.meta-sep { width: 4px; height: 4px; border-radius: 50%; background: #c3c9d6; }
.meta-views { display: inline-flex; align-items: center; gap: 6px; }

.post-featured { margin: 0 0 32px; }
.post-featured img { width: 100%; height: auto; border-radius: var(--radius); display: block; background: var(--bg-2); }
.post-featured figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* Content + sticky sidebar ---------------------------------------------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 34px; padding-bottom: 64px; }
.post-sidebar { align-self: stretch; }
.sidebar-sticky { position: sticky; top: calc(var(--admin-bar) + var(--header-h) + 20px); display: grid; gap: 20px; transition: top .28s ease; }
body.header-hidden .sidebar-sticky { top: calc(var(--admin-bar) + 20px); }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.side-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1rem; margin: 0 0 12px; }
.ad-sidebar { padding: 14px; }
.toc { max-height: calc(100vh - var(--header-h) - var(--admin-bar) - 60px); overflow-y: auto; }
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; font-size: .92rem; }
.toc-list li { margin: 0; }
.toc-list a { display: block; padding: 7px 10px 7px 12px; color: var(--ink-2); border-left: 2px solid var(--line); line-height: 1.4; }
.toc-list a:hover { color: var(--brand-2); text-decoration: none; background: var(--bg-2); }
.toc-list .toc-l3 a { padding-left: 26px; font-size: .88rem; color: var(--muted); }
.toc-list a.is-active { color: var(--brand-2); border-left-color: var(--brand); background: var(--brand-soft); font-weight: 600; }

@media (max-width: 980px) {
	/* Phones and tablets: featured image first, then the table of contents,
	   then the article. */
	.post-layout { display: flex; flex-direction: column; gap: 0; }
	.post-main { display: contents; }
	.post-main > * { width: 100%; }
	.post-featured { order: -2; margin-bottom: 24px; }
	.post-sidebar { order: -1; margin-bottom: 28px; }
	.sidebar-sticky { position: static; }
	/* On small screens the sidebar sits above the content, right next to the
	   "before first paragraph" slot, so the sidebar ad is hidden to avoid two ads in a row. */
	.post-sidebar .ad-sidebar { display: none; }
	.toc { max-height: none; }
}

/* Entry content typography --------------------------------------------- */
.entry-content { font-size: 1.075rem; line-height: 1.78; color: #1e293b; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.2em; scroll-margin-top: calc(var(--admin-bar) + var(--header-h) + 20px); }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.8em; scroll-margin-top: calc(var(--admin-bar) + var(--header-h) + 20px); }
.entry-content h4 { font-size: 1.1rem; margin-top: 1.6em; }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: .6em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .45em; }
.entry-content li::marker { color: var(--brand); }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(67, 56, 202, .35); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content a.crecso-auto-link { font-weight: 500; }
.entry-content blockquote { margin-left: 0; margin-right: 0; padding: 16px 22px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); }
.entry-content blockquote p + p { margin-top: .8em; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); font-style: normal; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content thead th { background: var(--bg-2); }
.entry-content code { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.entry-content pre { background: #0f172a; color: #e2e8f0; padding: 18px 20px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; line-height: 1.6; }
.entry-content pre code { background: none; border: 0; padding: 0; color: inherit; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content .wp-block-button__link { background: var(--brand); color: #fff; border-radius: 999px; padding: 12px 22px; text-decoration: none; font-weight: 600; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content::after { content: ""; display: table; clear: both; }
.page-links { margin-top: 24px; display: flex; gap: 8px; }

/* FAQ ------------------------------------------------------------------- */
.post-faq { margin-top: 48px; scroll-margin-top: calc(var(--admin-bar) + var(--header-h) + 20px); }
.post-faq h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.faq-list { display: grid; gap: 12px; margin-top: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: box-shadow .15s, border-color .15s; }
.faq-item[open] { border-color: #cdd3ef; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.05rem; margin: 0; font-family: var(--font); font-weight: 600; letter-spacing: 0; line-height: 1.5; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 20px 18px; color: var(--ink-2); }
.faq-answer p:last-child { margin-bottom: 0; }

/* Tags, author, comments ------------------------------------------------ */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.post-tags a { font-size: .86rem; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
.post-tags a:hover { border-color: var(--brand); color: var(--brand-2); text-decoration: none; }
.author-box { display: flex; gap: 18px; margin-top: 36px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box .author-name { font-family: var(--font-head); font-weight: 700; margin-bottom: 4px; }
.author-box p:last-child { margin: 0; color: var(--ink-2); font-size: .95rem; }
.comments-area { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit;
}
.comment-form .submit { background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 600; cursor: pointer; }

/* Keep reading and cards ------------------------------------------------ */
.keep-reading { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 72px; }
.keep-reading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 26px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: minmax(0, 1fr); } }
.card-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.card-post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d7dbf0; }
.card-thumb { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-soft), var(--logo-blue-soft)); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-thumb-empty { display: block; width: 100%; height: 100%; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-cat { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.card-title { font-size: 1.16rem; line-height: 1.35; margin-bottom: 10px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--brand-2); text-decoration: none; }
.card-excerpt { color: var(--ink-2); font-size: .95rem; margin-bottom: 16px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; color: var(--muted); }

/* Listings -------------------------------------------------------------- */
.listing-hero {
	padding: 40px 0 34px;
	background: radial-gradient(1000px 500px at 82% -10%, #eef2ff 0%, rgba(238, 242, 255, 0) 60%), radial-gradient(800px 420px at 8% 0%, #eef7ff 0%, rgba(238, 247, 255, 0) 55%);
}
.listing { padding: 22px 0 72px; }
.search-form { display: flex; gap: 10px; max-width: 560px; margin-top: 8px; }
.search-field { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.search-field:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(79, 70, 229, .15); }
.empty-state { padding: 30px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-2); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 600; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--brand); border-color: var(--brand); color: #fff; text-decoration: none; }
.page-body { padding-top: 24px; padding-bottom: 64px; max-width: 860px; }
.error-404 { padding-bottom: 80px; }

/* Footer: light, so the black logo wordmark keeps full contrast --------- */
.site-footer {
	background: linear-gradient(180deg, #f4f9fe 0%, #eaf4fc 100%);
	border-top: 1px solid #d9e8f5;
	color: var(--ink-2);
	padding: 56px 0 26px;
	position: relative;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: linear-gradient(90deg, var(--logo-blue), var(--brand)); }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; color: var(--ink-2); max-width: 36ch; }
.footer-title { font-family: var(--font-head); color: var(--ink); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-2); font-size: .92rem; }
.site-footer a:hover { color: var(--brand-2); text-decoration: none; }
.social { display: flex; gap: 8px; margin-top: 6px; }
.social a { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #d9e8f5; font-size: .8rem; font-weight: 700; color: var(--ink); }
.social a:hover { border-color: var(--logo-blue); color: var(--logo-blue); }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #d9e8f5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--muted); }
.footer-legal p { margin: 0; }
.footer-legal-menu { display: flex !important; flex-wrap: wrap; gap: 6px 18px !important; }
.footer-legal-menu a { font-size: .86rem; color: var(--muted); }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* Back to top ------------------------------------------------------------ */
.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid var(--line); background: #fff; color: var(--brand-2); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow-lg);
}
.to-top:hover { background: var(--brand); color: #fff; }

/* WordPress core classes ------------------------------------------------- */
.sticky .card-title::before { content: "\2605 "; color: var(--gold, #f5b301); }
.bypostauthor > article .fn::after { content: " \2713"; color: var(--brand); }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }

@media (max-width: 640px) {
	.crumbs ol { flex-wrap: nowrap; }
	.crumbs li { flex-shrink: 0; }
	.crumbs [aria-current] { flex: 1 1 auto; flex-shrink: 1; min-width: 0; }
	.crumbs [aria-current] span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.post-header { padding-top: 22px; }
	.post-meta .meta-sep { display: none; }
	.post-meta { gap: 8px 16px; }
	.post-excerpt { font-size: 1.05rem; }
	.entry-content { font-size: 1.02rem; }
	.keep-reading { padding: 48px 0 56px; }
}
