/* ==========================================================================
   Taptwice Media — brutalist.css
   Theme-wide dark header/footer + editorial mood for non-landing templates.
   Loaded after main.css. hm- landing-page classes live in landing.css.
   ========================================================================== */

/* -------------------------------------------------------------------------- */
/* Header — light, editorial                                                   */
/* -------------------------------------------------------------------------- */
/* Keep the original white header background (main.css handles it).          */
/* We only refine the nav typography and interaction colours here.            */
.site-menu > li > a {
	color: #2b2b28;
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.71rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}
.site-menu > li > a:hover,
.site-menu > li.is-current > a,
.site-menu > li.is-ancestor > a {
	color: #de325a;
}
/* Sub-menu stays light */
.site-menu .sub-menu {
	background: #fff;
	border-top: 2px solid #de325a;
	box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}
.site-menu .sub-menu a { color: #2b2b28; }
.site-menu .sub-menu a:hover { color: #de325a; background: #fdf7f9; }

/* CTA buttons in header */
.site-header__cta .btn--ghost {
	color: #2b2b28;
	box-shadow: inset 0 -2px 0 #2b2b28;
}
.site-header__cta .btn--ghost:hover {
	background: #2b2b28;
	color: #fff;
	box-shadow: none;
}
.site-header__cta .btn--primary { background: #de325a; color: #fff; }
.site-header__cta .btn--primary:hover { background: #2b2b28; color: #fff; }

/* Mobile nav — stays light */
@media (max-width: 960px) {
	.site-header { z-index: 100; }
	.site-header__brand {
		position: relative;
		z-index: 80;
	}
	.nav-toggle {
		position: relative;
		z-index: 140;
	}
	.nav-toggle {
		background: #fff;
		box-shadow: inset 0 0 0 1px #f0e4e8;
	}
	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 120;
		min-height: 100vh;
		min-height: 100dvh;
		background: #fff;
		background:
			linear-gradient(90deg, rgba(222,50,90,0.06) 0 1px, transparent 1px 100%) 0 0 / 28px 28px,
			#fff;
		border-top: 0;
		padding: calc(var(--header-h) + clamp(18px,4vh,34px)) var(--gutter) clamp(16px,3vh,28px);
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: clamp(10px,2vh,18px);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-10px);
		transition: opacity 220ms ease, transform 220ms ease;
		overflow: hidden;
	}
	.site-header.is-menu-open .site-nav {
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}
	.site-nav .site-menu {
		width: min(100%, 980px);
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: clamp(8px,1.5vw,14px);
		align-items: stretch;
	}
	.site-nav .site-menu > li {
		min-width: 0;
		border: 1px solid #f0e4e8;
		border-top: 3px solid transparent;
		background: rgba(255,255,255,0.92);
		padding: clamp(12px,2vh,18px);
		transition: border-color 180ms ease, background 180ms ease;
	}
	.site-nav .site-menu > li:hover,
	.site-nav .site-menu > li:focus-within,
	.site-nav .site-menu > li.is-current,
	.site-nav .site-menu > li.is-ancestor {
		border-top-color: #de325a;
		background: #fff;
	}
	.site-nav .site-menu > li > a {
		color: #0a0a08;
		display: block;
		font-family: "Outfit","Inter",system-ui,sans-serif;
		font-size: 1.2rem;
		font-weight: 900;
		line-height: 1.05;
		letter-spacing: 0;
		text-transform: none;
		padding: 0 0 clamp(8px,1.3vh,12px);
	}
	.site-nav .site-menu .sub-menu {
		position: static;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0;
		background: transparent;
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		min-width: 0;
	}
	.site-nav .site-menu .sub-menu a {
		background: #fdf7f9;
		color: #2b2b28;
		font-family: "Space Grotesk","Inter",system-ui,sans-serif;
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		line-height: 1.2;
		padding: 6px 8px;
		text-transform: uppercase;
	}
	.site-nav .site-menu .sub-menu a:hover,
	.site-nav .site-menu .sub-menu a:focus-visible {
		background: #de325a;
		color: #fff;
	}
	.site-nav__actions {
		width: min(100%, 980px);
		margin: 0 auto;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}
	.site-nav__actions .btn {
		min-height: 42px;
		flex: 1 1 180px;
	}
}

@media (max-width: 560px) {
	.site-nav {
		justify-content: flex-start;
		gap: 10px;
	}
	.site-nav .site-menu {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.site-nav .site-menu > li {
		padding: 11px 12px;
	}
	.site-nav .site-menu > li > a {
		font-size: 1rem;
		padding-bottom: 6px;
	}
	.site-nav .site-menu .sub-menu {
		gap: 5px;
	}
	.site-nav .site-menu .sub-menu a {
		font-size: 0.68rem;
		padding: 5px 7px;
	}
	.site-nav__actions .btn {
		min-height: 38px;
		padding: 11px 14px;
	}
}

@media (max-width: 560px) and (max-height: 720px) {
	.site-nav {
		padding-top: calc(var(--header-h) + 48px);
		padding-bottom: 10px;
		gap: 7px;
	}
	.site-nav .site-menu {
		gap: 6px;
	}
	.site-nav .site-menu > li {
		padding: 8px 10px;
	}
	.site-nav .site-menu > li > a {
		font-size: 0.92rem;
		padding-bottom: 4px;
	}
	.site-nav .site-menu .sub-menu {
		gap: 4px;
	}
	.site-nav .site-menu .sub-menu a {
		font-size: 0.62rem;
		padding: 4px 6px;
	}
	.site-nav__actions {
		gap: 6px;
	}
	.site-nav__actions .btn {
		min-height: 34px;
		padding: 9px 12px;
	}
}

/* -------------------------------------------------------------------------- */
/* Page heroes — dark for all non-landing pages                                */
/* -------------------------------------------------------------------------- */
.page-hero {
	background: #0a0a08;
	padding: clamp(56px,8vh,100px) 0 clamp(36px,5vh,64px);
}
.page-hero--small {
	padding: clamp(40px,6vh,72px) 0 clamp(28px,4vh,52px);
}
.page-hero h1 {
	color: #fff;
	background: transparent;
	border-left: 0;
	display: block;
	font-size: clamp(2.25rem,6vw,5rem);
	font-weight: 900;
	line-height: 0.94;
	letter-spacing: -0.03em;
	margin: 0 0 16px;
	padding: 0;
}
.page-hero .eyebrow,
.page-hero .eyebrow--muted,
.page-hero .eyebrow--accent {
	color: rgba(255,255,255,0.35);
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	display: block;
	margin-bottom: 14px;
}
.page-hero__lede {
	color: rgba(255,255,255,0.45);
	font-size: clamp(0.9rem,1.4vw,1.05rem);
	line-height: 1.65;
	max-width: 52ch;
	margin: 0;
}
.page-hero__meta {
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: rgba(255,255,255,0.3);
	margin-bottom: 16px;
	display: block;
}
.page-hero__meta a { color: rgba(255,255,255,0.3); }
.page-hero__meta a:hover { color: #de325a; }

/* -------------------------------------------------------------------------- */
/* Blog archive grid                                                           */
/* -------------------------------------------------------------------------- */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
	gap: 2px;
	background: #e0dada;
}
.blog-card { background: #fff; }
.blog-card--text .blog-card__link--text {
	display: flex;
	flex-direction: column;
	padding: 28px 26px 32px;
	background: #fff;
	color: #0a0a08;
	transition: background 200ms ease;
	height: 100%;
}
.blog-card--text .blog-card__link--text:hover { background: #fdf7f9; }
.blog-card__date {
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #de325a;
	margin-bottom: 12px;
	display: block;
}
.blog-card__title {
	font-size: clamp(1.05rem,2vw,1.35rem);
	font-weight: 800;
	color: #0a0a08;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
	display: block;
}
.blog-card__excerpt {
	font-size: 0.875rem;
	color: #6b6b6b;
	line-height: 1.6;
	flex: 1;
	margin-bottom: 20px;
	display: block;
}
.blog-card__read {
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #de325a;
	display: block;
}
/* Image cards */
.blog-card--image .blog-card__link { display: block; position: relative; overflow: hidden; aspect-ratio: 4/3; }
.blog-card--image .blog-card__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 420ms ease; }
.blog-card--image .blog-card__link:hover .blog-card__bg { transform: scale(1.04); }
.blog-card--image .blog-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top,rgba(10,10,8,0.88) 0%,rgba(10,10,8,0.15) 65%,transparent 100%); }
.blog-card--image .blog-card__overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 7px; }
.blog-card--image .blog-card__date { color: rgba(255,255,255,0.45); margin-bottom: 0; }
.blog-card--image .blog-card__title { color: #fff; font-size: clamp(0.95rem,1.8vw,1.2rem); margin-bottom: 0; }

/* -------------------------------------------------------------------------- */
/* Single blog post                                                            */
/* -------------------------------------------------------------------------- */
.single-post__media { margin-bottom: 0; }
.single-post__media img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.section .entry-content {
	font-size: clamp(0.9375rem,1.3vw,1.0625rem);
	line-height: 1.78;
	color: #2b2b28;
}
.entry-content h2 {
	font-size: clamp(1.4rem,2.5vw,2rem);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.05;
	color: #0a0a08;
	margin: 2.5rem 0 1rem;
}
.entry-content h3 {
	font-size: clamp(1.05rem,1.8vw,1.35rem);
	font-weight: 800;
	color: #0a0a08;
	margin: 2rem 0 0.75rem;
}
.entry-content a { color: #de325a; box-shadow: inset 0 -1px 0 rgba(222,50,90,0.3); }
.entry-content a:hover { color: #0a0a08; box-shadow: inset 0 -1px 0 #0a0a08; }
.entry-content blockquote {
	border-left: 3px solid #de325a;
	padding: 14px 20px;
	background: #fdf7f9;
	margin: 1.75rem 0;
}
.entry-content blockquote p { color: #0a0a08; font-weight: 600; font-size: clamp(1rem,1.5vw,1.15rem); margin: 0; }
.entry-content ul li, .entry-content ol li { margin-bottom: 0.5rem; }
.entry-content code { background: #f5f4f0; padding: 1px 6px; font-size: 0.9em; }
.single-post__meta .tags a {
	display: inline-block;
	padding: 5px 11px;
	border: 1px solid #e8e4e4;
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #6b6b6b;
	margin: 0 4px 4px 0;
}
.single-post__meta .tags a:hover { background: #0a0a08; color: #fff; border-color: #0a0a08; }

/* -------------------------------------------------------------------------- */
/* Context single — restyled sidebar                                           */
/* -------------------------------------------------------------------------- */
.ctx-side-cta {
	background: #0a0a08 !important;
	border-top: 3px solid #de325a !important;
	padding: 16px !important;
}
.ctx-side-cta__text { color: rgba(255,255,255,0.6) !important; font-size: 0.82rem !important; }
.ctx-side-cta__link {
	background: #de325a !important;
	color: #fff !important;
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.68rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 10px 16px !important;
}
.ctx-side-cta__link:hover { background: #fff !important; color: #de325a !important; }

.ctx-rel-box {
	background: #f5f4f0;
	border: none;
	padding: 16px 18px 18px;
}
.ctx-rel-box__label {
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.6rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #9a8f92;
}
.ctx-rel-box__label strong { color: #6b6b6b; }
.ctx-rel-pill {
	border-radius: 0 !important;
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.65rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	background: #fff;
	border: 1px solid #e8e4e4 !important;
	color: #0a0a08 !important;
	padding: 6px 12px;
}
.ctx-rel-pill:hover { background: #0a0a08 !important; color: #fff !important; border-color: #0a0a08 !important; }
.ctx-rel-pill--current { background: #de325a !important; border-color: #de325a !important; color: #fff !important; }
.ctx-bc a { color: rgba(255,255,255,0.35); }
.ctx-bc a:hover { color: #de325a; }
.ctx-bc-current { color: #fff !important; }
.ctx-single .page-hero h1 { font-size: clamp(1.75rem,4vw,3rem) !important; }

/* -------------------------------------------------------------------------- */
/* Footer — full rebuild                                                       */
/* -------------------------------------------------------------------------- */

/* ── Base ── */
.site-footer {
	background: #0a0a08;
	color: rgba(255,255,255,0.55);
	margin-top: 0;
}
/* Every direct child container must inherit the dark bg */
.site-footer > * { background: inherit; }

/* ── Column headings ── */
.site-footer h5 {
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.6rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-weight: 700;
	color: rgba(255,255,255,0.3);
	margin-bottom: 16px;
}

/* ── Footer nav links ── */
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer .footer-menu a {
	color: rgba(255,255,255,0.72);
	font-size: 0.875rem;
	font-weight: 500;
	transition: color 180ms ease;
}
.site-footer .footer-menu a:hover { color: #de325a; }

/* ── Trust / credentials bar — same compact dark treatment as countries ── */
.site-footer__trust {
	background: #111110;
	border-bottom: 1px solid rgba(255,255,255,0.07);
	padding: 14px var(--gutter);
}
.site-footer__trust-label {
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.58rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 700;
	color: rgba(255,255,255,0.3);
	display: inline-block;
	margin: 0 16px 0 0;
	vertical-align: middle;
}
.site-footer__trust-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px 0;
	vertical-align: middle;
}
.site-footer__trust-list li {
	display: inline-flex;
	align-items: center;
}
.site-footer__trust-list svg {
	display: none;
}
.site-footer__trust-list a {
	color: rgba(255,255,255,0.65);
	font-size: 0.78rem;
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 3px 10px;
	border-right: 1px solid rgba(255,255,255,0.12);
	display: inline-block;
	line-height: 1.4;
	transition: color 180ms ease;
}
.site-footer__trust-list a:hover { color: #de325a; }
.site-footer__trust-list li:last-child a { border-right: none; }
.site-footer__trust-list strong {
	display: inline;
	font: inherit;
	color: inherit;
}
.site-footer__trust-list small {
	color: rgba(255,255,255,0.36);
	font: inherit;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-left: 6px;
}

/* ── International markets strip ── */
.site-footer__intl {
	background: #111110;
	border-bottom: 1px solid rgba(255,255,255,0.07);
	padding: 14px var(--gutter);
}
.site-footer__intl-label {
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.58rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 700;
	color: rgba(255,255,255,0.3);
	display: inline-block;
	margin-right: 16px;
	vertical-align: middle;
}
.site-footer__intl-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px 0;
	vertical-align: middle;
}
.site-footer__intl-list a {
	color: rgba(255,255,255,0.65);
	font-size: 0.78rem;
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 3px 10px;
	border-right: 1px solid rgba(255,255,255,0.12);
	display: inline-block;
	transition: color 180ms ease;
	line-height: 1.4;
}
.site-footer__intl-list li:last-child a { border-right: none; }
.site-footer__intl-list a:hover { color: #de325a; }

/* ── Main grid ── */
.site-footer__grid {
	padding: 44px var(--gutter) 36px;
	gap: clamp(24px,5vw,56px);
}
.site-footer__brand { max-width: 220px; }

/* Logo: invert to white on the dark footer */
.site-footer__brand .custom-logo-link img { filter: brightness(0) invert(1); max-height: 36px; width: auto; }
/* If no custom logo, the text fallback should be white */
.site-footer__brand .site-title { color: #fff; font-size: 1rem; }

.site-footer__tagline {
	color: rgba(255,255,255,0.4);
	font-size: 0.82rem;
	margin: 12px 0 20px;
	line-height: 1.6;
}

/* ── Social icons ── */
.site-footer__socials {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.site-footer__socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background: rgba(255,255,255,0.08);
	color: rgba(255,255,255,0.75);
	transition: background 180ms ease, color 180ms ease;
}
.site-footer__socials a:hover {
	background: #de325a;
	color: #fff;
}
.site-footer__socials svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Bottom meta bar ── */
.site-footer__meta {
	background: #050503;
	border-top: 1px solid rgba(255,255,255,0.06);
	padding: 14px var(--gutter);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	align-items: center;
}
.site-footer__meta small { color: rgba(255,255,255,0.25); font-size: 0.72rem; }
.site-footer__meta a { color: rgba(255,255,255,0.4); transition: color 180ms ease; }
.site-footer__meta a:hover { color: #de325a; }

/* -------------------------------------------------------------------------- */
/* Pagination                                                                  */
/* -------------------------------------------------------------------------- */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 4px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-family: "Space Grotesk","Inter",system-ui,sans-serif;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border: 1px solid #e8e4e4;
	color: #0a0a08;
	background: #fff;
	transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.pagination .page-numbers.current { background: #de325a; color: #fff; border-color: #de325a; }
.pagination .page-numbers:hover { background: #0a0a08; color: #fff; border-color: #0a0a08; }

/* -------------------------------------------------------------------------- */
/* Section spacing                                                             */
/* -------------------------------------------------------------------------- */
.section { padding: clamp(48px,7vh,96px) 0; }
