/*
Theme Name: We The Cryptos
Description: Lightweight magazine theme for We The Cryptos.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: wethecryptos
*/

:root {
	--brand: #89216b;
	--brand-600: #6f1a57;
	--accent: #da4453;
	--ink: #1d1220;
	--text: #463c4b;
	--muted: #7b7181;
	--line: #ece3ea;
	--bg: #f7f3f6;
	--tint: #f7ebf2;
	--card: #fff;
	--dark: #1b0d1c;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(29, 18, 32, .04), 0 10px 30px -14px rgba(29, 18, 32, .18);
	--shadow-lg: 0 24px 48px -24px rgba(29, 18, 32, .35);
	--head: 'Jost', system-ui, sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.18; letter-spacing: -.01em; margin: 0; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
::selection { background: var(--brand); color: #fff; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.site-main { padding-bottom: 8px; }

/* ---------- Buttons & small parts ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--brand-600); color: #fff; }
.btn:hover svg { transform: translateX(2px); }
.btn svg { transition: transform .2s ease; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--tint); color: var(--brand); }
.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--tint); color: var(--brand); border-color: #e3cfdc; }
.eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--brand);
}
.chip {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.4;
}
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { color: var(--brand); opacity: .8; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head h2 { font-size: 1.4rem; font-weight: 600; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(29, 18, 32, .4); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.site-logo { flex-shrink: 0; }
.site-logo img { display: block; height: 50px; width: auto; }
.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
	display: block;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
}
.main-nav a:hover { background: var(--tint); color: var(--brand); }
.main-nav .current-menu-item > a,
.main-nav .current_page_parent > a { background: var(--tint); color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.search-dialog {
	width: min(100% - 32px, 640px);
	margin: 12vh auto auto;
	padding: 16px;
	border: 0;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	display: none;
	gap: 10px;
	align-items: center;
}
.search-dialog[open] { display: flex; }
.search-dialog::backdrop { background: rgba(27, 13, 28, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.search-dialog .search-form { flex: 1; }

.search-form {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 5px 5px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(137, 33, 107, .12); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 15px; }
.search-form button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	cursor: pointer;
}
.search-form button:hover { background: var(--brand-600); }

/* ---------- Hero ---------- */
.hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	min-height: 440px;
	margin: 28px 0;
	border-radius: 24px;
	overflow: hidden;
	background: linear-gradient(125deg, #fdf7fa 0%, #f5e4ee 100%);
	border: 1px solid var(--line);
}
.hero-body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 56px; }
.hero-title { font-size: clamp(1.8rem, 1.2rem + 1.7vw, 2.75rem); font-weight: 700; line-height: 1.1; text-wrap: balance; }
.hero-title a:hover { color: var(--ink); }
.hero-body p { margin: 0; max-width: 46ch; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.hero-media { position: relative; display: block; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-media::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, #f8ecf3 0%, rgba(248, 236, 243, 0) 28%);
	pointer-events: none;
}
.hero:hover .hero-media img { transform: scale(1.03); }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.layout-main { display: grid; gap: 28px; min-width: 0; }
.sidebar { display: grid; gap: 24px; position: sticky; top: 104px; }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.widget-search { padding: 14px; }
.widget .section-head { margin-bottom: 16px; }
.widget .section-head h2 { font-size: 1.2rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cards--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 16 / 11; background: var(--tint); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .chip { position: absolute; left: 12px; bottom: 12px; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 18px; }
.card-title { font-size: 1.12rem; font-weight: 600; line-height: 1.32; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card-excerpt { margin: 0; font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; }
.cards--compact .card-title { font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cards--compact .card-body { padding: 14px; }
.cards--compact .meta span:last-child { display: none; }

/* Mini list & numbered list */
.mini-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mini { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; align-items: center; }
.mini-media img { display: block; width: 68px; height: 68px; object-fit: cover; border-radius: 12px; }
.mini-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--head); font-weight: 600; font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.mini time { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.num-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: n; }
.num-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; counter-increment: n; font-weight: 500; font-size: 15px; line-height: 1.4; color: var(--ink); }
.num-list li::before {
	content: counter(n);
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--tint);
	color: var(--brand);
	font-size: 13px;
	font-weight: 700;
}
.brand-card { text-align: center; display: grid; justify-items: center; gap: 12px; background: linear-gradient(180deg, var(--tint) 0%, #fff 55%); }
.brand-card img { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 6px #fff; }
.brand-card h2 { font-size: 1.3rem; }
.brand-card p { margin: 0; font-size: 14.5px; color: var(--muted); }

.social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Page heads ---------- */
.page-head { padding: 40px 0 28px; }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; margin-top: 10px; }
.page-head p { max-width: 60ch; margin: 12px 0 0; font-size: 17px; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs-sep { opacity: .5; }

/* ---------- Single ---------- */
.layout--single { margin-top: 28px; }
.post { padding: 44px 52px; min-width: 0; }
.post-head { display: grid; justify-items: start; gap: 14px; margin-bottom: 28px; }
.post-head h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); font-weight: 700; line-height: 1.12; }
.post-cover { margin: 0 0 36px; border-radius: 16px; overflow: hidden; background: var(--tint); }
.post-cover img { display: block; width: 100%; }
.post-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.share { display: flex; gap: 8px; }
.share a, .share button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.share a:hover, .share button:hover, .share .is-done { background: var(--brand); border-color: var(--brand); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.post-nav a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, background .2s; }
.post-nav a:hover { border-color: #e3cfdc; background: var(--tint); }
.post-nav span { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.post-nav strong { font-family: var(--head); font-weight: 600; color: var(--ink); line-height: 1.3; }
.post-nav-next { grid-column: 2; text-align: right; }
.related { margin: 48px 0 0; }
.related .section-head h2 { font-size: 1.6rem; }

/* ---------- Prose ---------- */
.prose { font-size: 17px; line-height: 1.8; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.3em; }
.prose p:empty { display: none; }
.prose h1 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 700; margin-bottom: .8em; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.95rem); font-weight: 600; margin: 1.9em 0 .6em; }
.prose h3 { font-size: 1.3rem; font-weight: 600; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { border-radius: 12px; }
.prose figure, .prose .wp-caption { max-width: 100%; margin: 1.8em auto; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.prose figcaption, .prose .wp-caption-text { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.prose iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.prose blockquote { margin: 1.8em 0; padding: 18px 22px; border-left: 3px solid var(--brand); border-radius: 0 12px 12px 0; background: var(--tint); color: var(--ink); }
.prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--tint); color: var(--ink); font-weight: 600; }
.prose .ul_block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 1.6em; padding: 0; list-style: none; }
.prose .ul_block li { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 15.5px; line-height: 1.6; transition: border-color .25s, box-shadow .25s; }
.prose .ul_block li:hover { border-color: #e3cfdc; box-shadow: var(--shadow); }
.prose .ul_block li:nth-last-child(1):nth-child(odd) { grid-column: span 2; }
.prose .ul_block li > strong:first-of-type { display: block; margin-bottom: 6px; font-family: var(--head); font-size: 1.15em; }
.prose .ul_block a { text-decoration: none; color: var(--ink); font-weight: 500; }
.prose .wp-block-media-text { margin: 2em 0; gap: 0; }
.prose .wp-block-media-text__media img { border-radius: 16px; }
.prose .wp-block-media-text .wp-block-media-text__content { padding: 0 0 0 8%; }
.prose .wp-block-media-text__content > :first-child { margin-top: 0; }
.prose .wp-block-media-text__content > :last-child { margin-bottom: 0; }
.home-intro { padding: 40px 44px; }

/* ---------- Forms (WPForms) ---------- */
.wtc-form .wpforms-field-label { font-weight: 500; color: var(--ink); }
.prose .wpforms-container input[type="text"],
.prose .wpforms-container input[type="email"],
.prose .wpforms-container textarea {
	border: 1px solid #ddd3e0 !important;
	border-radius: 10px !important;
	padding: 12px 14px !important;
	box-shadow: none !important;
}
.prose .wpforms-container input:focus,
.prose .wpforms-container textarea:focus { border-color: var(--brand) !important; box-shadow: 0 0 0 3px rgba(137, 33, 107, .12) !important; }
.prose .wpforms-container button[type="submit"] {
	background: var(--brand) !important;
	border-radius: 999px !important;
	padding: 12px 28px !important;
	height: auto !important;
	font-weight: 600 !important;
}
.prose .wpforms-container button[type="submit"]:hover { background: var(--brand-600) !important; }

/* ---------- Empty / 404 ---------- */
.empty { display: grid; justify-items: start; gap: 16px; max-width: 720px; margin: 40px auto; padding: 44px; }
.empty .search-form { width: 100%; }

/* ---------- Pagination ---------- */
.pagination { margin: 40px 0 8px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	font-weight: 500;
	color: var(--ink);
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 140px; background: var(--dark); color: #c9b8c5; font-size: 15px; }
.newsletter {
	position: relative;
	top: -84px;
	margin-bottom: -84px;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 32px;
	align-items: center;
	padding: 44px 48px;
	border-radius: 24px;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(218, 68, 83, .55) 0%, rgba(218, 68, 83, 0) 55%),
		linear-gradient(120deg, #4a1040 0%, #89216b 70%);
	color: #f6e6ef;
	box-shadow: 0 30px 60px -30px rgba(74, 16, 64, .7);
}
.newsletter .eyebrow { color: #ffc4d6; }
.newsletter h2 { margin: 8px 0 10px; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 600; }
.newsletter p { margin: 0; max-width: 48ch; }
.newsletter-form .wpforms-container { margin: 0 !important; }
.newsletter-form .wpforms-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; }
.newsletter-form .wpforms-field-container { flex: 1; min-width: 0; }
.newsletter-form .wpforms-field { padding: 0 !important; }
.newsletter-form .wpforms-field-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.newsletter-form input[type="email"] {
	width: 100% !important;
	max-width: none !important;
	height: 46px !important;
	padding: 0 18px !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--ink) !important;
	font-size: 15px !important;
}
.newsletter-form .wpforms-submit-container { margin: 0 !important; padding: 0 !important; }
.newsletter-form button[type="submit"] {
	height: 46px !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--accent) !important;
	color: #fff !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	cursor: pointer;
}
.newsletter-form button[type="submit"]:hover { background: #c4344a !important; }
.newsletter-form label.wpforms-error { position: absolute; margin-top: 12px; color: #ffd2dc !important; font-size: 13px; }
.newsletter-form .wpforms-confirmation-container-full { margin: 0; padding: 14px 20px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; }
.newsletter-form .wpforms-confirmation-container-full p { margin: 0; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.35fr 1.35fr 1.25fr; gap: 40px; padding: 72px 0 48px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--head); font-size: 1.4rem; font-weight: 700; }
.footer-logo:hover { color: #fff; }
.footer-logo img { border-radius: 50%; }
.footer-brand p { margin: 16px 0 20px; max-width: 34ch; line-height: 1.7; }
.footer-col h3 { margin-bottom: 18px; color: #fff; font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; line-height: 1.45; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: center; }
.footer-contact svg { color: #ff8fa6; }
.footer-contact a { overflow-wrap: anywhere; }
.social--dark a { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: #fff; }
.social--dark a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
	.cards--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.post { padding: 36px; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-grid; }
	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		padding: 8px 20px 20px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 30px -24px rgba(29, 18, 32, .4);
		display: none;
	}
	.nav-open .main-nav { display: block; }
	.main-nav ul { flex-direction: column; gap: 2px; }
	.main-nav a { padding: 12px 14px; border-radius: 12px; }
	.header-actions { margin-left: auto; }
	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero-media { order: -1; aspect-ratio: 16 / 9; }
	.hero-media::before { background: linear-gradient(0deg, #fbf3f7 0%, rgba(251, 243, 247, 0) 30%); }
	.hero-body { padding: 28px 32px 36px; }
	.layout { grid-template-columns: 1fr; }
	.sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.widget-search { grid-column: 1 / -1; }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsletter { grid-template-columns: 1fr; padding: 36px; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.container { width: min(100% - 32px, var(--container)); }
	.header-inner { height: 66px; gap: 12px; }
	.site-logo img { height: 40px; }
	.header-cta { display: none; }
	.icon-btn { width: 40px; height: 40px; }
	.hero { margin: 16px 0 20px; border-radius: 20px; }
	.hero-body { padding: 22px 22px 28px; gap: 14px; }
	.hero-body p { font-size: 16px; }
	.panel, .widget { padding: 20px; border-radius: 16px; }
	.home-intro, .post { padding: 24px 20px; }
	.cards, .cards--compact { grid-template-columns: 1fr; gap: 16px; }
	.cards--compact .card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
	.cards--compact .card-media { aspect-ratio: auto; height: 100%; min-height: 100px; }
	.cards--compact .card-media .chip { display: none; }
	.sidebar { grid-template-columns: 1fr; }
	.prose { font-size: 16.5px; line-height: 1.75; }
	.prose .ul_block { grid-template-columns: 1fr; }
	.prose .ul_block li:nth-last-child(1):nth-child(odd) { grid-column: auto; }
	.prose .wp-block-media-text .wp-block-media-text__content { padding: 20px 0 0; }
	.prose .wp-block-media-text[style*="grid-template-columns"] .wp-block-media-text__media img { max-width: 160px; }
	.prose .alignright, .prose .alignleft { float: none; margin: 1em auto; }
	.prose table { display: block; overflow-x: auto; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav-next { grid-column: auto; }
	.page-head { padding: 28px 0 20px; }
	.newsletter { top: -64px; margin-bottom: -64px; padding: 28px 22px; border-radius: 20px; }
	.newsletter-form .wpforms-form { flex-direction: column; border-radius: 18px; }
	.newsletter-form button[type="submit"] { width: 100%; }
	.site-footer { margin-top: 110px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 48px 0 36px; }
	.footer-col:last-child { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
