:root {
	--brand-accent: #0766ad;
	--brand-50: #f0f7fc;
	--brand-100: #deeff9;
	--brand-700: #06528b;
	--brand-900: #0a3a5e;
	--slate-50: #f8fafc;
	--slate-100: #f1f5f9;
	--slate-200: #e2e8f0;
	--slate-300: #cbd5e1;
	--slate-500: #64748b;
	--slate-600: #475569;
	--slate-700: #334155;
	--slate-800: #1e293b;
	--slate-900: #0f172a;
	--white: #fff;
	--max-width: 1180px;
	--content-width: 760px;
	--radius: 8px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--slate-900);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--brand-accent);
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

.skip-link,
.screen-reader-text {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	width: 1px;
}

.skip-link:focus {
	clip: auto;
	left: 1rem;
	top: 1rem;
	z-index: 100;
	height: auto;
	width: auto;
	border-radius: 6px;
	background: var(--slate-900);
	color: var(--white);
	padding: .75rem 1rem;
}

.site-header {
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	position: sticky;
	top: 0;
	z-index: 50;
	width: 100%;
	border-bottom: 1px solid rgba(226, 232, 240, .9);
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
	backdrop-filter: blur(12px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	height: 64px;
	max-width: var(--app-container, var(--max-width));
	margin: 0 auto;
	padding: 0 16px;
	gap: 24px;
}

.has-compact-header .site-header__inner {
	height: 58px;
}

.site-brand-group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 8px;
	min-width: 0;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 0;
	min-width: 0;
	font-weight: 700;
	letter-spacing: 0;
}

.custom-logo {
	max-height: 38px;
	width: auto;
}

.site-logo-image {
	width: 128px;
	height: auto;
}

.site-logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--brand-accent);
	color: var(--white);
	font-weight: 800;
}

.site-logo-text {
	font-size: 1.25rem;
	color: var(--slate-900);
}

.site-brand__divider {
	display: none;
}

.site-brand__label {
	color: var(--slate-500);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

.primary-nav {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	margin-left: 24px;
	padding-left: 24px;
	border-left: 1px solid var(--slate-200);
	color: var(--slate-600);
	font-size: 14px;
	font-weight: 500;
}

.primary-nav:empty {
	display: none;
}

.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.primary-nav li {
	position: relative;
}

.primary-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: inherit;
	font-size: 14px;
	font-weight: 500;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_item > a {
	color: var(--brand-accent);
}

.primary-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 60;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid var(--slate-200);
	border-radius: 12px;
	background: var(--white);
	box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	display: grid;
	gap: 2px;
}

.primary-nav .sub-menu a {
	display: flex;
	min-height: 38px;
	border-radius: 8px;
	padding: 8px 10px;
	color: var(--slate-600);
	white-space: nowrap;
}

.primary-nav .sub-menu a:hover {
	background: var(--slate-50);
	color: var(--brand-accent);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
	border-left: 1px solid var(--slate-200);
	padding-left: 16px;
}

.preference-nav,
.account-nav {
	position: relative;
	display: flex;
	align-items: center;
}

.account-nav {
	gap: 12px;
}

.account-link {
	color: var(--slate-600);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.account-link:hover {
	color: var(--slate-900);
}

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--slate-500);
	padding: 0;
}

.icon-button:hover,
.icon-button[aria-expanded="true"] {
	background: var(--slate-100);
	color: var(--slate-900);
	transform: none;
}

.icon-button svg,
.icon-button .theme-icon,
.icon-button .utility-icon {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.icon-button--language {
	gap: 4px;
}

.preference-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 70;
	width: 192px;
	overflow: hidden;
	border: 1px solid var(--slate-200);
	border-radius: 12px;
	background: var(--white);
	box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
}

.preference-menu[data-language-menu] {
	width: 214px;
}

.preference-menu button {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	min-height: 40px;
	border-radius: 0;
	background: transparent;
	padding: 0 14px;
	color: var(--slate-700);
	font-size: 14px;
	font-weight: 500;
	text-align: start;
}

.preference-menu button:hover {
	background: var(--slate-50);
	color: var(--brand-accent);
	transform: none;
}

.preference-menu button.is-selected,
.preference-menu button[aria-checked="true"] {
	color: var(--brand-accent);
	font-weight: 600;
}

.preference-menu button.is-selected::after,
.preference-menu button[aria-checked="true"]::after {
	content: "✓";
	margin-left: auto;
}

.button,
button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1;
	transition: background .16s ease, color .16s ease, transform .16s ease, border-color .16s ease;
}

.button {
	min-height: 40px;
	padding: 0 16px;
}

.button:hover,
button:hover {
	transform: translateY(-1px);
}

.button--primary {
	background: var(--brand-accent);
	color: var(--white);
}

.button--primary:hover {
	background: var(--brand-700);
	color: var(--white);
}

.profile-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 9999px;
	background: transparent;
	padding: 4px;
	color: var(--slate-900);
	cursor: pointer;
	transition: box-shadow .15s ease;
}

.profile-button:hover,
.profile-button[aria-expanded="true"] {
	background: transparent;
	box-shadow: 0 0 0 2px var(--brand-accent);
}

.avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--brand-accent);
	color: var(--white);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: min(272px, calc(100vw - 32px));
	overflow: hidden;
	border: 1px solid var(--slate-200);
	border-radius: 12px;
	background: var(--white);
	box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
}

.profile-menu__user {
	padding: 14px 16px;
	border-bottom: 1px solid var(--slate-100);
}

.profile-menu__name {
	display: block;
	overflow: hidden;
	color: var(--slate-900);
	font-size: .92rem;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.profile-menu__email {
	display: block;
	overflow: hidden;
	color: var(--slate-500);
	font-size: .78rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.profile-menu a,
.profile-menu button {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-height: 42px;
	padding: 0 16px;
	background: transparent;
	color: var(--slate-700);
	font-size: .9rem;
	font-weight: 600;
}

.profile-menu a:hover,
.profile-menu button:hover {
	background: var(--slate-50);
	color: var(--brand-accent);
	transform: none;
}

.profile-menu__signout {
	border-top: 1px solid var(--slate-100);
	color: #dc2626 !important;
}

.blog-hero {
	border-bottom: 1px solid var(--slate-200);
	background:
		linear-gradient(135deg, rgba(7, 102, 173, .08), rgba(15, 23, 42, 0) 38%),
		linear-gradient(180deg, var(--slate-50), var(--white));
}

.blog-hero__content,
.archive-header,
.content-shell,
.article-shell,
.post-neighbors,
.empty-state {
	max-width: var(--max-width);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.blog-hero__content {
	padding-top: 82px;
	padding-bottom: 72px;
}

.eyebrow {
	margin: 0 0 14px;
	color: var(--brand-accent);
	font-size: .78rem;
	font-weight: 850;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.blog-hero h1,
.archive-header h1,
.article-header h1,
.empty-state h1 {
	max-width: 850px;
	margin: 0;
	color: var(--slate-900);
	font-size: clamp(2.25rem, 5vw, 4.8rem);
	line-height: .98;
	letter-spacing: 0;
}

.blog-hero p:last-child,
.archive-header p,
.article-dek,
.empty-state p {
	max-width: 680px;
	margin: 22px 0 0;
	color: var(--slate-600);
	font-size: 1.12rem;
}

.content-shell {
	padding-top: 56px;
	padding-bottom: 72px;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.post-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	border: 1px solid var(--slate-200);
	border-radius: var(--radius);
	background: var(--white);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.post-card:hover {
	border-color: var(--slate-300);
	box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
	transform: translateY(-2px);
}

.post-card__media {
	display: flex;
	aspect-ratio: 16 / 9;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-bottom: 1px solid var(--slate-200);
	border-radius: var(--radius) var(--radius) 0 0;
	background: var(--slate-900);
	color: rgba(255, 255, 255, .86);
	font-weight: 800;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.entry-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--slate-500);
	font-size: .78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.post-card h2 {
	margin: 0;
	color: var(--slate-900);
	font-size: 1.28rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.post-card p {
	margin: 14px 0 22px;
	color: var(--slate-600);
	font-size: .96rem;
}

.read-more {
	margin-top: auto;
	color: var(--brand-accent);
	font-size: .9rem;
	font-weight: 800;
}

.archive-header {
	padding-top: 64px;
	padding-bottom: 16px;
}

.article-shell {
	max-width: calc(var(--content-width) + 48px);
	padding-top: 64px;
	padding-bottom: 56px;
}

.article-header {
	margin-bottom: 34px;
}

.back-link {
	display: inline-flex;
	margin-bottom: 20px;
	color: var(--brand-accent);
	font-size: .9rem;
	font-weight: 800;
}

.article-header h1 {
	font-size: clamp(2.2rem, 5vw, 4.1rem);
	line-height: 1.02;
}

.article-featured-image {
	margin: 0 0 42px;
	overflow: hidden;
	border-radius: 8px;
}

.article-featured-image img {
	width: 100%;
}

.article-content {
	color: var(--slate-800);
	font-size: 1.06rem;
	line-height: 1.78;
}

.article-content > * {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--content-width);
}

.article-content h2,
.article-content h3,
.article-content h4 {
	margin-top: 2em;
	color: var(--slate-900);
	line-height: 1.18;
}

.article-content h2 {
	font-size: 1.8rem;
}

.article-content h3 {
	font-size: 1.35rem;
}

.article-content a {
	color: var(--brand-accent);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.article-content blockquote {
	border-left: 4px solid var(--brand-accent);
	margin: 2rem auto;
	padding: .25rem 0 .25rem 1.25rem;
	color: var(--slate-700);
	font-size: 1.18rem;
}

.article-content code {
	border-radius: 6px;
	background: var(--slate-100);
	padding: .15rem .35rem;
	font-size: .92em;
}

.article-content pre {
	overflow-x: auto;
	border-radius: 8px;
	background: var(--slate-900);
	color: var(--white);
	padding: 1.1rem;
}

.post-neighbors {
	display: flex;
	justify-content: space-between;
	max-width: calc(var(--content-width) + 48px);
	padding-bottom: 64px;
	gap: 16px;
}

.post-neighbors a {
	color: var(--brand-accent);
	font-weight: 800;
}

.pagination-nav {
	margin-top: 40px;
	text-align: center;
}

.pagination-nav .nav-links {
	display: inline-flex;
	gap: 8px;
}

.pagination-nav a,
.pagination-nav span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	border: 1px solid var(--slate-200);
	border-radius: 8px;
	padding: 0 12px;
}

.pagination-nav .current {
	background: var(--slate-900);
	color: var(--white);
}

.search-form {
	display: flex;
	max-width: 560px;
	margin-top: 24px;
	gap: 10px;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--slate-300);
	border-radius: 8px;
	padding: 0 14px;
	font: inherit;
}

.search-field:focus {
	border-color: var(--brand-accent);
	outline: 2px solid rgba(7, 102, 173, .16);
}

.empty-state {
	padding-top: 96px;
	padding-bottom: 96px;
	text-align: center;
}

.empty-state h1,
.empty-state h2,
.empty-state p {
	margin-left: auto;
	margin-right: auto;
}

.empty-state--large {
	min-height: 55vh;
}

.site-footer {
	border-top: 1px solid var(--slate-200);
	background: var(--slate-50);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.15fr 2fr;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 48px 24px;
	gap: 56px;
}

.site-footer__brand p {
	max-width: 340px;
	margin: 16px 0 0;
	color: var(--slate-600);
}

.footer-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.footer-columns h2 {
	margin: 0 0 12px;
	color: var(--slate-900);
	font-size: .82rem;
	text-transform: uppercase;
}

.footer-columns a {
	display: block;
	margin: 8px 0;
	color: var(--slate-600);
	font-size: .92rem;
	font-weight: 600;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--max-width);
	margin: 0 auto;
	border-top: 1px solid var(--slate-200);
	padding: 18px 24px;
	color: var(--slate-500);
	font-size: .86rem;
	gap: 24px;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 900px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__inner,
	.footer-columns {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.blog-hero__content,
	.archive-header,
	.content-shell,
	.article-shell,
	.post-neighbors,
	.empty-state {
		padding-left: 16px;
		padding-right: 16px;
	}

	.blog-hero__content {
		padding-top: 52px;
		padding-bottom: 50px;
	}

	.blog-hero h1,
	.archive-header h1,
	.article-header h1,
	.empty-state h1 {
		font-size: 2.35rem;
		line-height: 1.05;
	}

	.post-grid {
		grid-template-columns: 1fr;
	}

	.search-form,
	.post-neighbors,
	.site-footer__bottom {
		flex-direction: column;
		align-items: stretch;
	}
}

html.dark {
	color-scheme: dark;
}

html.dark body {
	background: #020617;
	color: #e2e8f0;
}

html.dark .site-logo-text,
html.dark .blog-hero h1,
html.dark .archive-header h1,
html.dark .article-header h1,
html.dark .empty-state h1,
html.dark .post-card h2,
html.dark .article-content h2,
html.dark .article-content h3,
html.dark .article-content h4,
html.dark .footer-columns h2,
html.dark .profile-menu__name {
	color: #f8fafc;
}

html.dark .blog-hero p:last-child,
html.dark .archive-header p,
html.dark .article-dek,
html.dark .empty-state p,
html.dark .post-card p,
html.dark .article-content,
html.dark .footer-columns a,
html.dark .site-footer__brand p,
html.dark .site-footer__bottom,
html.dark .profile-menu a,
html.dark .profile-menu button,
html.dark .icon-button,
html.dark .preference-menu button {
	color: #cbd5e1;
}

html.dark .site-brand__divider,
html.dark .post-card,
html.dark .post-card__media,
html.dark .site-footer,
html.dark .site-footer__bottom,
html.dark .profile-menu,
html.dark .profile-menu__user,
html.dark .profile-menu__signout,
html.dark .preference-menu,
html.dark .icon-button,
html.dark .search-field {
	border-color: #334155;
}

html.dark .blog-hero {
	border-bottom-color: #1e293b;
	background: linear-gradient(135deg, rgba(72, 141, 206, .16), rgba(2, 6, 23, 0) 40%), #020617;
}

html.dark .post-card,
html.dark .profile-menu,
html.dark .preference-menu,
html.dark .search-field,
html.dark .icon-button {
	background: #0f172a;
}

html.dark .site-footer,
html.dark .post-card__media,
html.dark .article-content pre {
	background: #020617;
}

html.dark .post-card:hover,
html.dark .icon-button:hover {
	border-color: #475569;
	background: #111c31;
}

html.dark .profile-menu a:hover,
html.dark .profile-menu button:hover,
html.dark .preference-menu button:hover {
	background: #1e293b;
	color: #6badde;
}

html.dark .entry-meta,
html.dark .profile-menu__email {
	color: #94a3b8;
}

html.dark .article-content code {
	background: #1e293b;
	color: #f8fafc;
}

html.dark .button--primary {
	background: #488dce;
}

html.dark .button--primary:hover {
	background: #6badde;
}

body {
	background: #f8fafc;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.site-logo-image {
	width: 128px;
}

.site-logo-image--dark,
html.dark .site-logo-image--light {
	display: none;
}

html.dark .site-logo-image--dark {
	display: block;
}

.blog-hero--editorial {
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
	border-bottom: 1px solid #e2e8f0;
}

.blog-hero--editorial .blog-hero__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	align-items: end;
	gap: clamp(32px, 6vw, 96px);
	max-width: none;
	padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 56px) clamp(42px, 6vw, 72px);
}

.blog-hero__copy {
	max-width: 980px;
}

.blog-hero--editorial h1 {
	max-width: 980px;
	font-size: clamp(3rem, 7vw, 6.25rem);
	line-height: .94;
	font-weight: 780;
	letter-spacing: 0;
}

.blog-hero--editorial p:last-child {
	max-width: 720px;
	font-size: clamp(1.05rem, 1.7vw, 1.28rem);
	line-height: 1.65;
}

.blog-hero__search {
	padding-bottom: 8px;
}

.editorial-shell {
	max-width: none;
	padding: 0;
}

.editorial-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: clamp(32px, 4vw, 64px);
	max-width: 1480px;
	margin: 0 auto;
	padding: clamp(34px, 5vw, 72px) clamp(20px, 4vw, 56px);
}

.editorial-main {
	min-width: 0;
}

.featured-article {
	display: grid;
	grid-template-columns: minmax(340px, .95fr) minmax(0, 1fr);
	align-items: stretch;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.featured-article__media {
	min-height: 420px;
	background: #0f172a;
}

.featured-article__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-article__media span,
.post-card__media span {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0f172a, #074673);
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 3rem);
	font-weight: 800;
}

.featured-article__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 4vw, 56px);
}

.featured-article h2 {
	margin: 8px 0 0;
	font-size: clamp(2rem, 4vw, 3.6rem);
	line-height: 1.02;
	font-weight: 760;
	letter-spacing: 0;
}

.featured-article p {
	margin: 18px 0 28px;
	color: #475569;
	font-size: 1.06rem;
	line-height: 1.7;
}

.topic-pill {
	display: inline-flex;
	align-self: flex-start;
	margin-bottom: 14px;
	border: 1px solid #deeff9;
	border-radius: 999px;
	background: #f0f7fc;
	color: var(--brand-accent);
	padding: 5px 10px;
	font-size: .74rem;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: clamp(36px, 5vw, 56px) 0 20px;
	border-top: 1px solid #e2e8f0;
	padding-top: 22px;
}

.section-heading h2,
.sidebar-panel h2 {
	margin: 0;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.article-list {
	display: grid;
	gap: 18px;
}

.post-card--list {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	align-items: stretch;
	border-radius: 8px;
	box-shadow: none;
}

.post-card--list .post-card__media {
	aspect-ratio: auto;
	min-height: 170px;
	border-right: 1px solid #e2e8f0;
	border-bottom: 0;
	border-radius: 8px 0 0 8px;
}

.post-card--list .post-card__body {
	padding: 24px 26px;
}

.post-card--list h2 {
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.editorial-sidebar,
.article-sidebar {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.sidebar-panel {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	padding: 22px;
}

.sidebar-panel--search .search-form,
.blog-hero__search .search-form {
	margin-top: 14px;
}

.topic-list,
.compact-post-list,
.article-facts {
	display: grid;
	gap: 0;
	margin-top: 16px;
}

.topic-list a,
.compact-post-list a,
.article-facts span {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	border-top: 1px solid #f1f5f9;
	padding: 13px 0;
	color: #475569;
	font-size: .92rem;
}

.compact-post-list a {
	display: grid;
	justify-content: stretch;
	gap: 4px;
}

.compact-post-list strong,
.article-facts strong {
	color: #0f172a;
	font-weight: 750;
}

.compact-post-list span,
.article-facts span {
	color: #64748b;
	font-size: .82rem;
}

.topic-list em {
	color: #94a3b8;
	font-style: normal;
}

.single-post-view {
	background: #fff;
}

.article-hero {
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
	border-bottom: 1px solid #e2e8f0;
}

.article-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
	align-items: center;
	gap: clamp(32px, 6vw, 86px);
	max-width: 1480px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 86px) clamp(20px, 4vw, 56px);
}

.article-hero__copy {
	max-width: 920px;
}

.article-hero h1 {
	margin: 10px 0 0;
	font-size: clamp(2.8rem, 6vw, 5.6rem);
	line-height: .98;
	font-weight: 780;
	letter-spacing: 0;
}

.article-hero__media {
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, .1);
}

.article-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 780px) 340px;
	gap: clamp(34px, 5vw, 76px);
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(44px, 6vw, 76px) clamp(20px, 4vw, 56px);
}

.article-content {
	max-width: none;
	font-size: 1.1rem;
	line-height: 1.82;
}

.article-content > * {
	max-width: 780px;
}

.article-content p:first-child {
	font-size: 1.18rem;
	color: #334155;
}

.post-neighbors {
	max-width: 1240px;
	padding-left: clamp(20px, 4vw, 56px);
	padding-right: clamp(20px, 4vw, 56px);
}

.site-footer {
	background: #fff;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(260px, 1.15fr) minmax(0, 2.85fr);
	max-width: none;
	padding: 48px clamp(20px, 4vw, 56px);
	gap: clamp(32px, 5vw, 72px);
}

.footer-contact {
	display: grid;
	gap: 16px;
	margin-top: 20px;
	color: #64748b;
	font-size: .92rem;
}

.footer-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.footer-contact__item strong {
	display: block;
	color: #0f172a;
}

.footer-icon {
	display: inline-flex;
	width: 22px;
	height: 22px;
	color: #64748b;
}

.footer-icon svg {
	width: 100%;
	height: 100%;	
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.footer-columns {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer__bottom {
	max-width: none;
	padding: 22px clamp(20px, 4vw, 56px);
}

.footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
}

.footer-social a {
	display: inline-flex;
	width: 20px;
	height: 20px;
	color: #94a3b8;
}

.footer-social svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.footer-social a:hover {
	color: var(--brand-accent);
}

html.dark body,
html.dark .single-post-view {
	background: #020617;
}

html.dark .blog-hero--editorial,
html.dark .article-hero {
	background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

html.dark .featured-article,
html.dark .sidebar-panel,
html.dark .post-card--list,
html.dark .site-footer {
	background: #0f172a;
	border-color: #1e293b;
}

html.dark .featured-article p,
html.dark .article-content p:first-child,
html.dark .topic-list a,
html.dark .compact-post-list a,
html.dark .article-facts span,
html.dark .footer-contact {
	color: #cbd5e1;
}

html.dark .compact-post-list strong,
html.dark .article-facts strong,
html.dark .footer-contact__item strong,
html.dark .section-heading h2,
html.dark .sidebar-panel h2,
html.dark .featured-article h2,
html.dark .article-hero h1 {
	color: #f8fafc;
}

html.dark .topic-list a,
html.dark .compact-post-list a,
html.dark .article-facts span,
html.dark .section-heading,
html.dark .article-hero,
html.dark .blog-hero--editorial,
html.dark .post-card--list .post-card__media {
	border-color: #1e293b;
}

@media (max-width: 1100px) {
	.blog-hero--editorial .blog-hero__content,
	.editorial-layout,
	.article-hero__inner,
	.article-layout,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.editorial-sidebar,
	.article-sidebar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.featured-article,
	.post-card--list {
		grid-template-columns: 1fr;
	}

	.featured-article__media,
	.post-card--list .post-card__media {
		min-height: 220px;
		border-right: 0;
		border-bottom: 1px solid #e2e8f0;
		border-radius: 8px 8px 0 0;
	}

	.editorial-sidebar,
	.article-sidebar,
	.footer-columns {
		grid-template-columns: 1fr;
	}

	.site-footer__bottom {
		align-items: flex-start;
	}
}

:root {
	--app-container: 1280px;
}

.blog-hero--editorial .blog-hero__content,
.editorial-layout,
.article-hero__inner,
.article-layout,
.site-footer__inner,
.site-footer__bottom,
.post-neighbors {
	max-width: var(--app-container);
	margin-left: auto;
	margin-right: auto;
}

.blog-hero--editorial .blog-hero__content,
.editorial-layout,
.article-hero__inner,
.article-layout {
	padding-left: 32px;
	padding-right: 32px;
}

.blog-hero--editorial h1 {
	font-size: clamp(2.6rem, 5.2vw, 4.75rem);
	font-weight: 750;
}

.featured-article h2 {
	font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.article-hero h1 {
	font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.site-footer__inner {
	grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(0, 1fr));
	padding-left: 32px;
	padding-right: 32px;
}

.footer-columns {
	display: contents;
}

.site-footer__bottom {
	padding-left: 32px;
	padding-right: 32px;
}

@media (max-width: 900px) {
	.blog-hero--editorial .blog-hero__content,
	.editorial-layout,
	.article-hero__inner,
	.article-layout,
	.site-footer__inner,
	.site-footer__bottom {
		padding-left: 16px;
		padding-right: 16px;
	}
}

:root {
	--app-container: 1536px;
	--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--brand-50: #f0f7fc;
	--brand-100: #deeff9;
	--brand-200: #c4e2f4;
	--brand-300: #9bcdeb;
	--brand-400: #6badde;
	--brand-500: #488dce;
	--brand-600: #0766ad;
	--brand-700: #06528b;
	--brand-800: #074673;
	--brand-900: #0a3a5e;
	--brand-950: #06253e;
}

html,
body,
button,
input,
select,
textarea {
	font-family: var(--font-sans);
}

body {
	background: #f8fafc;
	color: #0f172a;
	font-size: 16px;
	line-height: 1.5;
}

a:hover {
	color: var(--brand-600);
}

.blog-hero--editorial,
.article-hero {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
}

.blog-hero--editorial .blog-hero__content {
	width: 100%;
	max-width: var(--app-container);
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 48px;
	padding: 56px 16px 40px;
}

@media (min-width: 640px) {
	.blog-hero--editorial .blog-hero__content,
	.editorial-layout,
	.article-hero__inner,
	.article-layout,
	.site-footer__inner,
	.site-footer__bottom,
	.post-neighbors {
		padding-left: 32px;
		padding-right: 32px;
	}
}

.eyebrow {
	color: var(--brand-600);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
}

.blog-hero--editorial h1 {
	max-width: 900px;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.blog-hero--editorial p:last-child {
	max-width: 690px;
	color: #475569;
	font-size: 18px;
	line-height: 1.65;
}

.editorial-layout {
	width: 100%;
	max-width: var(--app-container);
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	padding-top: 40px;
	padding-bottom: 56px;
}

.featured-article,
.post-card--list,
.sidebar-panel {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
}

.featured-article {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.featured-article__media {
	min-height: 360px;
}

.featured-article__body {
	padding: 32px;
}

.featured-article h2 {
	color: #0f172a;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.featured-article p,
.post-card p {
	color: #475569;
	font-size: 15px;
	line-height: 1.65;
}

.topic-pill {
	border: 1px solid var(--brand-100);
	background: var(--brand-50);
	color: var(--brand-600);
	font-size: 12px;
	font-weight: 700;
}

.section-heading h2,
.sidebar-panel h2 {
	color: #0f172a;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.post-card--list {
	grid-template-columns: 200px minmax(0, 1fr);
}

.post-card--list h2 {
	color: #0f172a;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.read-more {
	color: var(--brand-600);
	font-size: 14px;
	font-weight: 700;
}

.article-hero__inner,
.article-layout {
	width: 100%;
	max-width: var(--app-container);
}

.article-hero__inner {
	grid-template-columns: minmax(0, 1fr) 460px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.article-hero h1 {
	color: #0f172a;
	font-size: clamp(40px, 5vw, 68px);
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.article-dek {
	color: #475569;
	font-size: 18px;
	line-height: 1.65;
}

.article-layout {
	grid-template-columns: minmax(0, 760px) 320px;
	gap: 48px;
	padding-top: 48px;
}

.article-content {
	color: #1e293b;
	font-size: 17px;
	line-height: 1.8;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	color: #0f172a;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.site-footer {
	border-top: 1px solid #e2e8f0;
	background: #fff;
}

.site-footer__inner,
.site-footer__bottom {
	width: 100%;
	max-width: var(--app-container);
}

.site-footer__inner {
	grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(0, 1fr));
	gap: 32px;
	padding-top: 48px;
	padding-bottom: 32px;
}

.footer-columns h2 {
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.footer-columns a,
.footer-contact,
.site-footer__bottom {
	color: #64748b;
	font-size: 14px;
}

.footer-columns a:hover,
.footer-contact a:hover {
	color: var(--brand-600);
}

html.dark body {
	background: #020617;
	color: #f8fafc;
}

html.dark .blog-hero--editorial,
html.dark .article-hero {
	background: #020617;
	border-bottom-color: #1e293b;
}

html.dark .featured-article,
html.dark .post-card--list,
html.dark .sidebar-panel,
html.dark .site-footer,
html.dark .preference-menu,
html.dark .profile-menu {
	border-color: #1e293b;
	background: #0f172a;
}

html.dark .footer-columns a,
html.dark .footer-contact,
html.dark .site-footer__bottom,
html.dark .preference-menu button,
html.dark .profile-menu a,
html.dark .profile-menu button {
	color: #cbd5e1;
}

html.dark .blog-hero--editorial h1,
html.dark .featured-article h2,
html.dark .post-card--list h2,
html.dark .article-hero h1,
html.dark .article-content h2,
html.dark .article-content h3,
html.dark .article-content h4,
html.dark .footer-columns h2,
html.dark .section-heading h2,
html.dark .sidebar-panel h2 {
	color: #f8fafc;
}

html.dark .blog-hero--editorial p:last-child,
html.dark .featured-article p,
html.dark .post-card p,
html.dark .article-dek,
html.dark .article-content {
	color: #cbd5e1;
}

html.dark .read-more,
html.dark .footer-columns a:hover,
html.dark .footer-contact a:hover,
html.dark .preference-menu button.is-selected,
html.dark .preference-menu button[aria-checked="true"] {
	color: var(--brand-400);
}

html.dark .preference-menu button:hover,
html.dark .profile-menu a:hover,
html.dark .profile-menu button:hover {
	background: #1e293b;
	color: #f8fafc;
}

@media (max-width: 1100px) {
	.blog-hero--editorial .blog-hero__content,
	.editorial-layout,
	.article-hero__inner,
	.article-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.featured-article,
	.post-card--list,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.footer-columns {
		display: grid;
		grid-template-columns: 1fr;
	}
}

.profile-button:hover,
.profile-menu a:hover,
.profile-menu button:hover,
.preference-menu button:hover,
.icon-button:hover {
	transform: none !important;
}

.icon-button svg,
.preference-menu svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.preference-menu button {
	display: flex;
	align-items: center;
	gap: 12px;
}

.site-footer {
	padding-top: 48px;
	padding-bottom: 0;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 32px;
	padding-top: 0;
	padding-bottom: 32px;
}

.site-footer__brand {
	grid-column: span 2;
}

.footer-columns {
	display: contents;
}

.footer-contact {
	margin-top: 16px;
	gap: 16px;
	color: #64748b;
	font-size: 14px;
	line-height: 1.45;
}

.footer-contact__item {
	gap: 12px;
}

.footer-contact__item strong {
	font-size: 14px;
	font-weight: 500;
	color: #0f172a;
}

.footer-icon {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: #64748b;
}

.footer-columns h2 {
	margin-bottom: 16px;
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
}

.footer-columns a {
	margin: 8px 0;
	color: #64748b;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
}

.site-footer__bottom {
	border-top: 1px solid #f1f5f9;
	padding-top: 32px;
	padding-bottom: 0;
	margin-bottom: 0;
	min-height: 72px;
	align-items: flex-start;
	color: #94a3b8;
	font-size: 14px;
}

.footer-social {
	gap: 16px;
}

.footer-social a {
	width: 20px;
	height: 20px;
	color: #94a3b8;
}

.article-layout--reader {
	display: block;
	max-width: 920px;
	padding-top: 48px;
	padding-bottom: 56px;
}

.article-layout--reader .article-content,
.article-layout--reader .article-content > * {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

html.dark .site-footer__bottom {
	border-top-color: #1e293b;
}

html.dark .footer-contact__item strong,
html.dark .footer-columns h2 {
	color: #e2e8f0;
}

@media (max-width: 900px) {
	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: span 2;
	}
}

@media (max-width: 640px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-footer__brand {
		grid-column: auto;
	}

	.site-footer__bottom {
		gap: 18px;
	}
}

.account-nav .account-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	padding: 0;
	color: #475569;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	box-shadow: none;
}

.account-nav .account-link:hover {
	color: #0f172a;
}

.account-nav .button--primary {
	min-height: 0;
	height: auto;
	border-radius: 8px;
	background: var(--brand-600);
	padding: 8px 16px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
	transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.account-nav .button--primary:hover {
	background: var(--brand-700);
	color: #fff;
	transform: none;
}

.account-nav .button--primary:active {
	transform: scale(.95);
}

html.dark .account-nav .account-link {
	color: #cbd5e1;
}

html.dark .account-nav .account-link:hover {
	color: #fff;
}

html.dark .account-nav .button--primary:hover {
	background: var(--brand-500);
}

.announcement-bar {
	border-bottom: 1px solid #c4e2f4;
	background: #f0f7fc;
	color: #074673;
}

.announcement-bar--success {
	border-bottom-color: #bbf7d0;
	background: #f0fdf4;
	color: #166534;
}

.announcement-bar--warning {
	border-bottom-color: #fde68a;
	background: #fffbeb;
	color: #92400e;
}

.announcement-bar__inner {
	display: flex;
	min-height: 40px;
	max-width: var(--app-container);
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 auto;
	padding: 8px 16px;
	font-size: 14px;
	line-height: 20px;
}

.announcement-bar p {
	margin: 0;
	font-weight: 500;
}

.announcement-bar__link {
	color: var(--brand-700);
	font-weight: 600;
	text-decoration: none;
}

.announcement-bar__link:hover {
	color: var(--brand-800);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.announcement-bar__dismiss {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: currentColor;
	padding: 0;
	margin-left: 4px;
	box-shadow: none;
}

.announcement-bar__dismiss:hover {
	background: rgba(7, 102, 173, .1);
	transform: none;
}

.announcement-bar__dismiss svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.cookie-consent {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 80;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	width: min(720px, calc(100vw - 48px));
	align-items: center;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 24px 60px rgba(15, 23, 42, .16);
	padding: 18px;
	backdrop-filter: blur(16px);
}

.cookie-consent__content {
	display: grid;
	gap: 6px;
}

.cookie-consent strong {
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.cookie-consent p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
	line-height: 20px;
}

.cookie-consent a {
	width: fit-content;
	color: var(--brand-600);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.cookie-consent a:hover {
	color: var(--brand-700);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cookie-consent__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

.cookie-consent .button {
	min-height: 36px;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.cookie-consent .button--secondary {
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #475569;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.cookie-consent .button--secondary:hover {
	border-color: #94a3b8;
	background: #f8fafc;
	color: #0f172a;
	transform: none;
}

html.dark .announcement-bar {
	border-bottom-color: #074673;
	background: #06253e;
	color: #c4e2f4;
}

html.dark .announcement-bar--success {
	border-bottom-color: #166534;
	background: #052e16;
	color: #bbf7d0;
}

html.dark .announcement-bar--warning {
	border-bottom-color: #92400e;
	background: #451a03;
	color: #fde68a;
}

html.dark .announcement-bar__link {
	color: #6badde;
}

html.dark .announcement-bar__link:hover {
	color: #9bcdeb;
}

html.dark .announcement-bar__dismiss:hover {
	background: rgba(196, 226, 244, .12);
}

html.dark .cookie-consent {
	border-color: #334155;
	background: rgba(15, 23, 42, .96);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

html.dark .cookie-consent strong {
	color: #f8fafc;
}

html.dark .cookie-consent p {
	color: #cbd5e1;
}

html.dark .cookie-consent a {
	color: #6badde;
}

html.dark .cookie-consent .button--secondary {
	border-color: #475569;
	background: #1e293b;
	color: #cbd5e1;
}

html.dark .cookie-consent .button--secondary:hover {
	border-color: #64748b;
	background: #334155;
	color: #fff;
}

@media (max-width: 760px) {
	.announcement-bar__inner {
		justify-content: flex-start;
		padding-right: 12px;
	}

	.announcement-bar__dismiss {
		margin-left: auto;
		flex: 0 0 auto;
	}

	.cookie-consent {
		right: 16px;
		bottom: 16px;
		grid-template-columns: 1fr;
		width: calc(100vw - 32px);
	}

	.cookie-consent__actions {
		justify-content: flex-end;
		white-space: normal;
	}
}

html,
body {
	min-height: 100%;
}

body {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	background: #f8fafc;
	color: #0f172a;
}

.site-main {
	flex: 1 0 auto;
}

.site-footer {
	flex-shrink: 0;
	margin-top: auto;
	border-top: 1px solid #e2e8f0;
	background: #fff;
	padding: 48px 0;
}

.site-footer__inner,
.site-footer__bottom {
	width: 100%;
	max-width: var(--app-container);
	margin-right: auto;
	margin-left: auto;
	padding-right: 16px;
	padding-left: 16px;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 32px;
	padding-top: 0;
	padding-bottom: 32px;
}

.site-footer__brand {
	grid-column: span 2;
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 16px;
	color: #64748b;
	font-size: 14px;
	line-height: 20px;
}

.footer-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.footer-contact__item strong {
	display: block;
	margin: 0 0 2px;
	color: #0f172a;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.footer-contact a,
.footer-columns a {
	color: #64748b;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	text-decoration: none;
}

.footer-contact a:hover,
.footer-columns a:hover {
	color: #0f172a;
}

.footer-icon {
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: #64748b;
}

.footer-columns {
	display: contents;
}

.footer-columns h2 {
	margin: 0 0 16px;
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.footer-columns a {
	display: block;
	margin: 0 0 8px;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid #f1f5f9;
	padding-top: 32px;
	padding-bottom: 0;
	color: #94a3b8;
	font-size: 14px;
	line-height: 20px;
}

.footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
}

.footer-social a {
	display: inline-flex;
	width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
}

.footer-social a:hover {
	color: #1d4ed8;
}

.topic-pill {
	border: 1px solid var(--topic-border, #c4e2f4);
	background: var(--topic-bg, #deeff9);
	color: var(--topic-text, #06528b);
	box-shadow: none;
}

.topic-pill:hover {
	border-color: var(--topic-accent, var(--brand-500));
	color: var(--topic-text, #06528b);
}

.article-layout--with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 760px) 320px;
	gap: 56px;
	align-items: start;
	max-width: 1184px;
	padding-top: 48px;
	padding-bottom: 56px;
}

.article-layout--with-sidebar .article-content,
.article-layout--with-sidebar .article-content > * {
	max-width: 760px;
	margin-left: 0;
	margin-right: 0;
}

.article-sidebar {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 16px;
}

.article-sidebar__panel {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	padding: 20px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.article-sidebar__panel h2 {
	margin: 0 0 16px;
	color: #0f172a;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}

.article-sidebar__meta {
	display: grid;
	gap: 5px;
	border-top: 1px solid #f1f5f9;
	padding-top: 14px;
	margin-top: 14px;
}

.article-sidebar__meta:first-of-type {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}

.article-sidebar__meta span {
	color: #64748b;
	font-size: 13px;
	line-height: 18px;
}

.article-sidebar__meta strong {
	color: #0f172a;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.related-articles {
	display: grid;
	gap: 12px;
}

.related-article {
	display: grid;
	gap: 5px;
	border-top: 1px solid #f1f5f9;
	padding-top: 12px;
	color: #0f172a;
	text-decoration: none;
}

.related-article:first-child {
	border-top: 0;
	padding-top: 0;
}

.related-article span {
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.related-article em {
	color: #64748b;
	font-size: 13px;
	font-style: normal;
	line-height: 18px;
}

.related-article:hover span {
	color: var(--brand-600);
}

html.dark body {
	background: #020617;
	color: #f8fafc;
}

html.dark .site-footer {
	border-top-color: #1e293b;
	background: #0f172a;
}

html.dark .footer-contact,
html.dark .footer-contact a,
html.dark .footer-columns a {
	color: #94a3b8;
}

html.dark .footer-contact__item strong,
html.dark .footer-columns h2 {
	color: #f1f5f9;
}

html.dark .footer-contact a:hover,
html.dark .footer-columns a:hover {
	color: #fff;
}

html.dark .site-footer__bottom {
	border-top-color: #1e293b;
	color: #64748b;
}

html.dark .footer-social a {
	color: #64748b;
}

html.dark .footer-social a:hover {
	color: #60a5fa;
}

html.dark .topic-pill {
	border-color: var(--topic-border, #074673);
	background: var(--topic-dark-bg, rgba(7, 70, 115, .55));
	color: var(--topic-dark-text, #9bcdeb);
}

html.dark .article-sidebar__panel {
	border-color: #1e293b;
	background: #0f172a;
	box-shadow: none;
}

html.dark .article-sidebar__panel h2,
html.dark .article-sidebar__meta strong,
html.dark .related-article {
	color: #f8fafc;
}

html.dark .article-sidebar__meta,
html.dark .related-article {
	border-top-color: #1e293b;
}

html.dark .article-sidebar__meta span,
html.dark .related-article em {
	color: #94a3b8;
}

html.dark .related-article:hover span {
	color: var(--brand-400);
}

@media (min-width: 640px) {
	.site-footer__inner,
	.site-footer__bottom {
		padding-right: 32px;
		padding-left: 32px;
	}
}

@media (max-width: 1100px) {
	.article-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.article-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: span 2;
	}
}

@media (max-width: 640px) {
	.site-footer {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.site-footer__inner,
	.article-sidebar {
		grid-template-columns: 1fr;
	}

	.site-footer__brand {
		grid-column: auto;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

.article-layout--with-sidebar {
	width: 100%;
	max-width: var(--app-container) !important;
	grid-template-columns: minmax(0, 1fr) 320px !important;
	gap: 64px !important;
	padding-right: 16px;
	padding-left: 16px;
}

.article-layout--with-sidebar .article-content,
.article-layout--with-sidebar .article-content > * {
	max-width: 760px;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.article-sidebar {
	position: static !important;
	top: auto !important;
	width: 320px;
}

.site-footer {
	padding-top: 48px !important;
	padding-bottom: 48px !important;
}

.site-footer__inner {
	gap: 32px !important;
	margin-bottom: 32px;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.site-footer__bottom {
	min-height: 0 !important;
	padding-top: 32px !important;
	padding-bottom: 0 !important;
	align-items: center !important;
}

.footer-contact a:hover,
.footer-columns a:hover {
	color: var(--brand-600) !important;
}

.footer-social a:nth-child(1):hover {
	color: #2563eb !important;
}

.footer-social a:nth-child(2):hover {
	color: #1d4ed8 !important;
}

.footer-social a:nth-child(3):hover {
	color: #db2777 !important;
}

.footer-social a:nth-child(4):hover {
	color: #0f172a !important;
}

.footer-social a:nth-child(5):hover {
	color: #dc2626 !important;
}

html.dark .footer-contact a:hover,
html.dark .footer-columns a:hover {
	color: var(--brand-400) !important;
}

html.dark .footer-social a:nth-child(1):hover {
	color: #60a5fa !important;
}

html.dark .footer-social a:nth-child(2):hover {
	color: #60a5fa !important;
}

html.dark .footer-social a:nth-child(3):hover {
	color: #f472b6 !important;
}

html.dark .footer-social a:nth-child(4):hover {
	color: #fff !important;
}

html.dark .footer-social a:nth-child(5):hover {
	color: #f87171 !important;
}

@media (min-width: 640px) {
	.article-layout--with-sidebar {
		padding-right: 32px;
		padding-left: 32px;
	}
}

@media (max-width: 1100px) {
	.article-layout--with-sidebar {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
	}

	.article-sidebar {
		width: 100%;
	}
}

.site-footer {
	margin-top: auto !important;
	padding: 48px 0 !important;
	border-top: 1px solid #e2e8f0 !important;
	background: #fff !important;
}

.site-footer__inner,
.site-footer__bottom {
	width: 100% !important;
	max-width: var(--app-container) !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: 16px !important;
	padding-left: 16px !important;
}

.site-footer__inner {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	gap: 32px !important;
	margin-bottom: 32px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.site-footer__brand {
	grid-column: span 2 / span 2 !important;
}

.site-footer .site-brand--footer {
	display: inline-flex !important;
	align-items: center !important;
	width: 128px !important;
	height: auto !important;
	margin: 0 0 16px !important;
}

.site-footer .site-brand--footer .site-logo-image,
.site-footer .site-brand--footer img {
	width: 128px !important;
	height: auto !important;
}

.footer-contact {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
	margin-top: 16px !important;
	font-size: 14px !important;
	line-height: 20px !important;
	color: #64748b !important;
}

.footer-contact__item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	margin: 0 !important;
}

.footer-contact__item span:not(.footer-icon) {
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
}

.footer-contact__item strong {
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 20px !important;
	font-weight: 500 !important;
	color: #0f172a !important;
}

.footer-icon {
	width: 20px !important;
	height: 20px !important;
	margin-top: 0 !important;
	color: #94a3b8 !important;
}

.footer-columns {
	display: contents !important;
}

.footer-columns > div {
	min-width: 0 !important;
}

.footer-columns h2 {
	margin: 0 0 16px !important;
	font-size: 14px !important;
	line-height: 20px !important;
	font-weight: 600 !important;
	color: #0f172a !important;
}

.footer-contact a,
.footer-columns a {
	display: block !important;
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 20px !important;
	font-weight: 400 !important;
	color: #64748b !important;
	text-decoration: none !important;
}

.footer-columns a + a {
	margin-top: 8px !important;
}

.footer-contact a:hover,
.footer-columns a:hover {
	color: var(--brand-600) !important;
}

.site-footer__bottom {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	min-height: 0 !important;
	margin-top: 0 !important;
	padding-top: 32px !important;
	padding-bottom: 0 !important;
	border-top: 1px solid #f1f5f9 !important;
	font-size: 14px !important;
	line-height: 20px !important;
	color: #94a3b8 !important;
}

.site-footer__copyright,
.site-footer__bottom-spacer,
.footer-social {
	flex: 1 1 0 !important;
}

.site-footer__copyright {
	text-align: left !important;
}

.site-footer__bottom-spacer {
	display: block !important;
}

.footer-social {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 16px !important;
	margin: 0 !important;
}

.footer-social a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 20px !important;
	height: 20px !important;
	color: #94a3b8 !important;
}

.footer-social svg {
	width: 18px !important;
	height: 18px !important;
	fill: currentColor !important;
}

html.dark .site-footer {
	border-top-color: #1e293b !important;
	background: #0f172a !important;
}

html.dark .footer-contact,
html.dark .footer-contact a,
html.dark .footer-columns a {
	color: #94a3b8 !important;
}

html.dark .footer-contact__item strong,
html.dark .footer-columns h2 {
	color: #f1f5f9 !important;
}

html.dark .footer-icon,
html.dark .footer-social a {
	color: #64748b !important;
}

html.dark .site-footer__bottom {
	border-top-color: #1e293b !important;
	color: #64748b !important;
}

html.dark .footer-contact a:hover,
html.dark .footer-columns a:hover {
	color: var(--brand-400) !important;
}

@media (max-width: 1023px) {
	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.site-footer__brand {
		grid-column: span 2 / span 2 !important;
	}
}

@media (max-width: 767px) {
	.site-footer__inner {
		grid-template-columns: 1fr !important;
	}

	.site-footer__brand {
		grid-column: auto !important;
	}

	.site-footer__bottom {
		flex-direction: column !important;
		align-items: center !important;
	}

	.site-footer__copyright,
	.footer-social {
		flex: none !important;
		text-align: center !important;
	}

	.site-footer__bottom-spacer {
		display: none !important;
	}

	.footer-social {
		justify-content: center !important;
	}
}

.site-footer__inner,
.site-footer__bottom {
	width: calc(100% - 32px) !important;
	max-width: calc(var(--app-container) - 32px) !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.site-footer .site-brand--footer {
	display: flex !important;
	width: 128px !important;
	margin: 0 0 16px !important;
}

.footer-contact {
	margin-top: 0 !important;
}

.footer-icon {
	width: 20px !important;
	height: 20px !important;
	margin-top: 2px !important;
	color: currentColor !important;
	flex-shrink: 0 !important;
}

.footer-contact__item:last-child {
	align-items: center !important;
}

.site-footer__bottom {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.footer-social a {
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	color: #94a3b8 !important;
	line-height: 0 !important;
}

.footer-social svg {
	width: 20px !important;
	height: 20px !important;
	display: block !important;
}

html.dark .footer-social a {
	color: #64748b !important;
}

@media (max-width: 767px) {
	.site-footer__inner,
	.site-footer__bottom {
		width: calc(100% - 32px) !important;
		max-width: calc(100% - 32px) !important;
	}
}

.footer-icon,
.footer-icon svg {
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	color: currentColor !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.footer-icon path,
.footer-icon rect,
.footer-icon circle,
.footer-icon line,
.footer-icon polyline {
	fill: none !important;
	stroke: currentColor !important;
}

.footer-contact {
	gap: 16px !important;
	margin-top: 0 !important;
}

.footer-contact__item {
	min-height: 20px !important;
}

.footer-contact__item:first-child .footer-icon {
	margin-top: 2px !important;
}

.footer-contact__item:last-child .footer-icon {
	margin-top: 0 !important;
}

.site-footer__inner {
	margin-bottom: 32px !important;
}

.site-footer__bottom {
	padding-top: 32px !important;
}

.footer-social a,
.footer-social svg {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.footer-social a {
	color: #94a3b8 !important;
}

.footer-social svg {
	width: 20px !important;
	height: 20px !important;
	fill: currentColor !important;
	stroke: none !important;
}

html.dark .footer-social a {
	color: #64748b !important;
}

.profile-menu {
	top: calc(100% + 8px) !important;
	right: 0 !important;
	width: 256px !important;
	max-width: calc(100vw - 32px) !important;
	overflow: hidden !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: 0 10px 15px -3px rgba(15, 23, 42, .1), 0 4px 6px -4px rgba(15, 23, 42, .1) !important;
	transform-origin: top right !important;
}

.profile-menu__user {
	padding: 12px 16px !important;
	border-bottom: 1px solid #f1f5f9 !important;
	background: transparent !important;
}

.profile-menu__name {
	margin: 0 0 4px !important;
	font-size: 14px !important;
	line-height: 1 !important;
	font-weight: 600 !important;
	color: #0f172a !important;
}

.profile-menu__email {
	font-size: 12px !important;
	line-height: 1 !important;
	font-weight: 400 !important;
	color: #64748b !important;
}

.profile-menu a,
.profile-menu button {
	min-height: 0 !important;
	padding: 10px 16px !important;
	background: transparent !important;
	color: #334155 !important;
	font-size: 14px !important;
	line-height: 20px !important;
	font-weight: 400 !important;
	transition: color .15s ease, background-color .15s ease !important;
}

.profile-menu a:hover,
.profile-menu button:hover {
	background: #f8fafc !important;
	color: #334155 !important;
}

.profile-menu__signout {
	margin-top: 4px !important;
	border-top: 1px solid #f1f5f9 !important;
	color: #dc2626 !important;
	font-weight: 500 !important;
}

html.dark .profile-menu {
	border-color: #334155 !important;
	background: #1e293b !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .35), 0 4px 6px -4px rgba(0, 0, 0, .35) !important;
}

html.dark .profile-menu__user,
html.dark .profile-menu__signout {
	border-color: #334155 !important;
}

html.dark .profile-menu__name {
	color: #f1f5f9 !important;
}

html.dark .profile-menu__email {
	color: #94a3b8 !important;
}

html.dark .profile-menu a,
html.dark .profile-menu button {
	background: transparent !important;
	color: #e2e8f0 !important;
}

html.dark .profile-menu a:hover,
html.dark .profile-menu button:hover {
	background: rgba(51, 65, 85, .5) !important;
	color: #e2e8f0 !important;
}

html.dark .profile-menu__signout {
	color: #dc2626 !important;
}

.avatar[style] {
	background-color: var(--brand-accent);
	background-image: none !important;
}

.single-post-view .article-hero__inner {
	display: block !important;
	width: calc(100% - 32px) !important;
	max-width: calc(var(--app-container) - 32px) !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: 56px 0 !important;
}

.single-post-view .article-hero__copy {
	width: 100% !important;
	max-width: 980px !important;
}

.single-post-view .article-hero h1 {
	max-width: 980px !important;
}

.single-post-view .article-hero__media {
	width: 100% !important;
	max-width: none !important;
	margin: 36px 0 0 !important;
	aspect-ratio: 16 / 7 !important;
	border-radius: 8px !important;
}

.single-post-view .article-hero__media img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.article-layout--with-sidebar {
	width: calc(100% - 32px) !important;
	max-width: calc(var(--app-container) - 32px) !important;
	grid-template-columns: minmax(0, 1fr) 336px !important;
	gap: 40px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding: 48px 0 56px !important;
}

.article-layout--with-sidebar .article-content {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
}

.article-layout--with-sidebar .article-content > * {
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.article-layout--with-sidebar .article-sidebar {
	width: 336px !important;
	min-width: 0 !important;
}

.content-shell .post-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
}

.content-shell .post-grid .post-card--list {
	display: flex !important;
	grid-template-columns: none !important;
	min-height: 0 !important;
}

.content-shell .post-grid .post-card--list .post-card__media {
	aspect-ratio: 16 / 9 !important;
	min-height: 0 !important;
	border-right: 0 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	border-radius: 8px 8px 0 0 !important;
}

.content-shell .post-grid .post-card--list .post-card__body {
	padding: 22px !important;
}

.content-shell .post-grid .post-card--list h2 {
	font-size: 20px !important;
	line-height: 1.25 !important;
}

.content-shell .post-grid .post-card--list p {
	display: -webkit-box !important;
	overflow: hidden !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 3 !important;
	margin-bottom: 20px !important;
}

@media (max-width: 1100px) {
	.article-layout--with-sidebar {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
	}

	.article-layout--with-sidebar .article-sidebar {
		width: 100% !important;
	}

	.content-shell .post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 720px) {
	.single-post-view .article-hero__inner,
	.article-layout--with-sidebar {
		width: calc(100% - 32px) !important;
		max-width: calc(100% - 32px) !important;
	}

	.single-post-view .article-hero__media {
		aspect-ratio: 16 / 10 !important;
	}

	.content-shell .post-grid {
		grid-template-columns: 1fr !important;
	}
}

.footer-icon,
.footer-icon svg {
	color: #94a3b8 !important;
}

html.dark .footer-icon,
html.dark .footer-icon svg {
	color: #94a3b8 !important;
}

/* RTL directional corrections */
html[dir="rtl"] .site-main,
html[dir="rtl"] .site-footer__inner,
html[dir="rtl"] .article-layout--with-sidebar,
html[dir="rtl"] .article-content,
html[dir="rtl"] .article-sidebar,
html[dir="rtl"] .archive-header,
html[dir="rtl"] .post-card {
	direction: rtl !important;
	text-align: right !important;
}

html[dir="rtl"] .entry-meta,
html[dir="rtl"] .footer-contact__item {
	direction: rtl !important;
	flex-direction: row-reverse !important;
}

html[dir="rtl"] .preference-menu,
html[dir="rtl"] .profile-menu {
	right: auto !important;
	left: 0 !important;
	text-align: right !important;
}

html[dir="rtl"] .profile-menu a,
html[dir="rtl"] .profile-menu button,
html[dir="rtl"] .preference-menu button {
	direction: rtl !important;
	text-align: right !important;
}

html[dir="rtl"] .article-content blockquote,
html[dir="rtl"] .article-content .wp-block-quote {
	border-right: 4px solid var(--brand-accent) !important;
	border-left: 0 !important;
	padding-right: 1.25rem !important;
	padding-left: 0 !important;
}

html[dir="rtl"] .post-card--list .post-card__media {
	border-left: 1px solid #e2e8f0 !important;
	border-right: 0 !important;
	border-radius: 0 8px 8px 0 !important;
}

html.dark[dir="rtl"] .post-card--list .post-card__media {
	border-left-color: #334155 !important;
}

html[dir="rtl"] .content-shell .post-grid .post-card--list .post-card__media {
	border-left: 0 !important;
	border-bottom: 1px solid #e2e8f0 !important;
	border-radius: 8px 8px 0 0 !important;
}

html[dir="rtl"] .footer-contact,
html[dir="rtl"] .footer-columns,
html[dir="rtl"] .footer-columns > div,
html[dir="rtl"] .footer-contact__item span:not(.footer-icon) {
	direction: rtl !important;
	text-align: right !important;
	align-items: flex-start !important;
}

html[dir="rtl"] .announcement-bar__inner,
html[dir="rtl"] .cookie-consent {
	direction: rtl !important;
	text-align: right !important;
}

html[dir="rtl"] .announcement-bar__dismiss {
	margin-right: 4px !important;
	margin-left: 0 !important;
}

html[dir="rtl"] .cookie-consent {
	right: auto !important;
	left: 24px !important;
}

@media (max-width: 760px) {
	html[dir="rtl"] .announcement-bar__dismiss {
		margin-right: auto !important;
		margin-left: 0 !important;
	}

	html[dir="rtl"] .cookie-consent {
		left: 16px !important;
	}
}





.footer-social a,
html.dark .footer-social a {
	color: #94a3b8 !important;
}

.footer-social a:nth-child(1):hover,
html.dark .footer-social a:nth-child(1):hover {
	color: #2563eb !important;
}

.footer-social a:nth-child(2):hover,
html.dark .footer-social a:nth-child(2):hover {
	color: #1d4ed8 !important;
}

.footer-social a:nth-child(3):hover,
html.dark .footer-social a:nth-child(3):hover {
	color: #db2777 !important;
}

.footer-social a:nth-child(4):hover {
	color: #0f172a !important;
}

html.dark .footer-social a:nth-child(4):hover {
	color: #fff !important;
}

.footer-social a:nth-child(5):hover,
html.dark .footer-social a:nth-child(5):hover {
	color: #dc2626 !important;
}













/* profileIcons language flags */
.profile-menu a svg,
.profile-menu button svg {
	width: 16px !important;
	height: 16px !important;
	flex: 0 0 16px !important;
	margin-right: 12px !important;
	color: #64748b !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

html.dark .profile-menu a svg,
html.dark .profile-menu button svg {
	color: #94a3b8 !important;
}

html[dir="rtl"] .profile-menu a svg,
html[dir="rtl"] .profile-menu button svg {
	margin-right: 0 !important;
	margin-left: 12px !important;
}

.preference-menu [data-language-option],
.language-menu button {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
}

.language-flag {
	width: 22px;
	display: inline-flex;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
}

.language-nav .utility-icon {
	display: none;
}

.language-nav .icon-button {
	width: auto;
	min-width: 0;
	height: 36px;
	gap: 0;
	padding-right: 8px;
	padding-left: 8px;
	white-space: nowrap;
}

.language-nav .language-flag {
	width: auto;
	margin-right: 0;
	font-size: 16px;
}

.language-toggle-label {
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.language-nav .language-toggle-label {
	display: inline-flex;
	align-items: center;
	margin-left: 0;
	white-space: nowrap;
}


.mobile-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--slate-500);
	padding: 0;
	cursor: pointer;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle[aria-expanded="true"] {
	background: var(--slate-100);
	color: var(--slate-900);
	transform: none;
}

.mobile-menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.mobile-menu {
	border-top: 1px solid var(--slate-200);
	background: var(--white);
}

.mobile-menu__nav {
	display: grid;
	gap: 2px;
	width: calc(100% - 32px);
	max-width: calc(var(--app-container, var(--max-width)) - 32px);
	margin: 0 auto;
	padding: 14px 0 18px;
}

.mobile-menu__nav .menu,
.mobile-menu__nav .sub-menu,
.mobile-menu__auth {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu__nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	border-radius: 8px;
	padding: 10px 12px;
	color: var(--slate-700);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.mobile-menu__nav .sub-menu {
	padding-inline-start: 14px;
}

.mobile-menu__nav a:hover {
	background: var(--slate-100);
	color: var(--brand-700);
}

.mobile-profile {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	border-bottom: 1px solid var(--slate-200);
	padding: 10px 12px 14px;
	color: var(--slate-900);
}

.mobile-profile span {
	display: grid;
	min-width: 0;
}

.mobile-profile strong,
.mobile-profile small {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mobile-profile small {
	color: var(--slate-500);
	font-size: 12px;
}

body.has-auth-user .language-nav,
body.has-auth-user [data-language-toggle],
body.has-auth-user [data-language-menu],
body.has-auth-user .icon-button--language {
	display: none;
}

html.dark .site-header {
	border-bottom-color: rgba(30, 41, 59, .9);
	background: rgba(15, 23, 42, .9);
}

html.dark .site-brand__label {
	color: #94a3b8;
}

html.dark .primary-nav,
html.dark .primary-nav .menu,
html.dark .account-link {
	color: #cbd5e1;
}

html.dark .icon-button {
	color: #94a3b8;
}

html.dark .mobile-menu-toggle {
	color: #cbd5e1;
}

html.dark .primary-nav,
html.dark .header-actions,
html.dark .mobile-menu,
html.dark .mobile-profile {
	border-color: #334155;
}

html.dark .primary-nav .sub-menu,
html.dark .preference-menu,
html.dark .profile-menu,
html.dark .mobile-menu {
	background: #0f172a;
}

html.dark .primary-nav .sub-menu,
html.dark .preference-menu,
html.dark .profile-menu {
	border-color: #334155;
}

html.dark .primary-nav .sub-menu a,
html.dark .mobile-menu__nav a {
	color: #e2e8f0;
}

html.dark .primary-nav .sub-menu a:hover,
html.dark .mobile-menu__nav a:hover,
html.dark .icon-button:hover,
html.dark .icon-button[aria-expanded="true"],
html.dark .mobile-menu-toggle:hover,
html.dark .mobile-menu-toggle[aria-expanded="true"] {
	background: #1e293b;
	color: #f8fafc;
}

html.dark .mobile-profile {
	color: #f8fafc;
}

html.dark .mobile-profile small {
	color: #94a3b8;
}

html[dir="rtl"] .site-header__inner {
	direction: rtl;
	text-align: right;
}

html[dir="rtl"] .site-brand-group {
	direction: rtl;
	flex-direction: row;
}

html[dir="rtl"] .primary-nav {
	margin-right: 24px;
	margin-left: 0;
	padding-right: 24px;
	padding-left: 0;
	border-right: 1px solid var(--slate-200);
	border-left: 0;
}

html[dir="rtl"] .primary-nav .sub-menu {
	right: 0;
	left: auto;
	text-align: right;
}

html[dir="rtl"] .header-actions {
	direction: ltr;
	flex-direction: row;
	margin-right: auto;
	margin-left: 0;
	padding-right: 16px;
	padding-left: 0;
	border-right: 1px solid var(--slate-200);
	border-left: 0;
}

html.dark[dir="rtl"] .primary-nav,
html.dark[dir="rtl"] .header-actions {
	border-right-color: #334155;
}

html[dir="rtl"] .preference-menu,
html[dir="rtl"] .profile-menu {
	right: auto;
	left: 0;
	text-align: right;
}

html[dir="rtl"] .mobile-menu__nav .sub-menu {
	padding-inline-start: 0;
	padding-inline-end: 14px;
}

@media (min-width: 640px) {
	.site-header__inner {
		padding-right: 32px;
		padding-left: 32px;
	}
}

@media (max-width: 1120px) {
	.primary-nav,
	.header-actions > .account-nav {
		display: none;
	}

	body.has-auth-user .header-actions > .account-nav {
		display: flex;
		flex: 0 0 auto;
	}

	body:not(.has-auth-user) .header-actions > .account-nav {
		display: none;
	}

	.site-brand-group {
		min-width: 0;
	}

	.header-actions {
		direction: ltr;
		flex-direction: row;
		flex: 0 0 auto;
		max-width: calc(100vw - 140px);
		border-left: 0;
		padding-left: 0;
	}

	.header-actions > .preference-nav {
		flex: 0 0 auto;
	}

	.mobile-menu-toggle {
		display: inline-flex;
		flex: 0 0 36px;
	}

	html[dir="rtl"] .site-header__inner {
		direction: rtl;
		flex-direction: row;
	}

	html[dir="rtl"] .site-brand-group {
		order: initial;
		flex-direction: row;
	}

	html[dir="rtl"] .header-actions {
		order: initial;
		direction: ltr;
		flex-direction: row-reverse;
		margin-right: auto;
		margin-left: 0;
		border-right: 0;
		padding-right: 0;
	}

	html[dir="rtl"] .header-actions > .preference-nav,
	html[dir="rtl"] .header-actions > .account-nav,
	html[dir="rtl"] .mobile-menu-toggle {
		order: initial;
	}
}

@media (max-width: 560px) {
	.site-header__inner {
		gap: 8px;
		padding-right: 12px;
		padding-left: 12px;
	}

	.site-brand-group {
		flex: 1 1 auto;
		max-width: calc(100vw - 176px);
	}

	body.has-auth-user .site-brand-group {
		max-width: calc(100vw - 212px);
	}

	.site-logo-image,
	.custom-logo {
		width: 92px;
		max-width: 92px;
	}

	.site-brand__label {
		max-width: 96px;
		overflow: hidden;
		font-size: 20px;
		font-weight: 500;
		line-height: 1;
		text-overflow: ellipsis;
	}

	.header-actions {
		gap: 6px;
		max-width: none;
	}

	.profile-menu,
	.preference-menu {
		max-width: calc(100vw - 24px);
	}
}
