:root {
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--canvas: #f7f9fb;
	--header: #fff;
	--surface: #fff;
	--surface-subtle: #f4f7fa;
	--action-disabled-bg: #edf1f5;
	--selected: #eaf4ff;
	--text: #172033;
	--text-secondary: #5b6778;
	--text-muted: #5d6878;
	--brand: #0068d9;
	--primary: #0068d9;
	--primary-hover: #075aa9;
	--primary-pressed: #063b70;
	--border: #e1e8ef;
	--border-strong: #c7d3df;
	--border-brand: #168bff;
	--interactive-border: #0068d9;
	--secondary-bg: #eaf4ff;
	--secondary-text: #0068d9;
	--secondary-border: #b9d9fc;
	--search-bg: #fff;
	--search-border: #e7ecf2;
	--search-panel: #fff;
	--search-panel-border: #d3e4f6;
	--search-option-hover: #f2f7fd;
	--search-match-bg: #eaf4ff;
	--search-match-text: #0068d9;
	--search-root-bg: rgb(22 139 255 / 20%);
	--search-panel-shadow: 0 18px 44px rgb(12 24 41 / 18%);
	--services-dropdown-surface: #fff;
	--services-dropdown-border: #d5e2ef;
	--services-dropdown-item: #f8fafd;
	--services-dropdown-item-border: #e0e9f3;
	--services-dropdown-item-hover: #eef6ff;
	--services-dropdown-title: #203049;
	--services-dropdown-muted: #75869b;
	--services-dropdown-icon: #eaf4ff;
	--services-dropdown-shadow: 0 18px 40px rgb(7 21 38 / 20%);
	--hot-a: #071526;
	--hot-b: #0b2442;
	--hot-icon-bg: #0078fc;
	--hot-subtitle: #aab8c6;
	--hot-number: #0068d9;
	--hot-category: #aab8c6;
	--success-bg: #e6f8ee;
	--success: #08713b;
	--footer: #07111e;
	--footer-muted: #96a3b3;
	--footer-copy: #aab8c6;
	--footer-heading: #96a3b3;
	--footer-link: #aab8c6;
	--footer-bottom: #aab8c6;
	--mobile-service-text: #444;
	--focus: #0068d9;
	--danger: #b42335;
	--scrim: rgb(4 10 18 / 52%);
	--shadow-sm: 0 4px 14px rgb(12 24 41 / 8%);
	--shadow-md: 0 10px 24px rgb(12 24 41 / 16%);
	--filter-panel-border: #d2dde8;
	--filter-scrollbar: #d9d9d9;
	--feed-popover-text: #475569;
	--feed-popover-shadow: 0 10px 12px rgb(12 24 41 / 16%);
	--view-switch-bg: #f3f6f9;
	--view-switch-border: #e1e8ef;
	--view-switch-text: #526476;
	--view-switch-active-bg: #fff;
	--view-switch-active-text: #0078fc;
	--r-sm: 10px;
	--r-md: 14px;
	--r-lg: 16px;
	--r-xl: 20px;
	--pill: 999px;
	color-scheme: light;
}

:root[data-theme="dark"] {
	--canvas: #1c1c1c;
	--header: #1c1c1c;
	--surface: #252525;
	--surface-subtle: #303030;
	--action-disabled-bg: #303030;
	--selected: #041e3a;
	--text: #fff;
	--text-secondary: #999;
	--text-muted: #767676;
	--brand: #47a6ff;
	--border: #3b3b3b;
	--border-strong: #575757;
	--border-brand: #168bff;
	--interactive-border: #168bff;
	--secondary-bg: #041e3a;
	--secondary-text: #89c4ff;
	--secondary-border: #0068d9;
	--search-bg: #252525;
	--search-border: #3b3b3b;
	--search-panel: #252525;
	--search-panel-border: #494949;
	--search-option-hover: rgb(0 120 252 / 14%);
	--search-match-bg: rgb(0 120 252 / 24%);
	--search-match-text: #89c4ff;
	--search-root-bg: rgb(71 166 255 / 34%);
	--search-panel-shadow: 0 22px 52px rgb(0 0 0 / 46%);
	--services-dropdown-surface: #252525;
	--services-dropdown-border: #494949;
	--services-dropdown-item: #303030;
	--services-dropdown-item-border: #494949;
	--services-dropdown-item-hover: #041e3a;
	--services-dropdown-title: #fff;
	--services-dropdown-muted: #999;
	--services-dropdown-icon: #041e3a;
	--services-dropdown-shadow: 0 22px 52px rgb(0 0 0 / 48%);
	--hot-a: #0078fc;
	--hot-b: rgb(0 120 252 / 50%);
	--hot-icon-bg: #172033;
	--hot-subtitle: #fff;
	--hot-number: #fff;
	--hot-category: rgb(255 255 255 / 80%);
	--success-bg: #03361e;
	--success: #21c76d;
	--footer: #000;
	--footer-muted: #8f8f8f;
	--footer-copy: #aab8c6;
	--footer-heading: #aab8c6;
	--footer-link: #999;
	--footer-bottom: #aab8c6;
	--mobile-service-text: #fff;
	--focus: #47a6ff;
	--danger: #ff7a86;
	--scrim: rgb(0 0 0 / 68%);
	--shadow-sm: 0 4px 14px rgb(0 0 0 / 24%);
	--shadow-md: 0 12px 30px rgb(0 0 0 / 40%);
	--filter-panel-border: #494949;
	--filter-scrollbar: #5b5b5b;
	--feed-popover-text: var(--text-secondary);
	--feed-popover-shadow: 0 12px 24px rgb(0 0 0 / 40%);
	--view-switch-bg: #303030;
	--view-switch-border: #494949;
	--view-switch-text: #aab8c6;
	--view-switch-active-bg: #252525;
	--view-switch-active-text: #47a6ff;
	color-scheme: dark;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--canvas);
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
	margin: 0;
	overflow-x: clip;
	background: var(--canvas);
	color: var(--text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-synthesis: none;
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.has-modal-open {
	overflow: hidden;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
a[href],
summary {
	cursor: pointer;
}

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

button {
	color: inherit;
}

img,
svg {
	display: block;
	max-width: 100%;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
p {
	margin: 0;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	color: inherit;
}

summary {
	list-style: none;
}

summary::-webkit-details-marker {
	display: none;
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent);
	outline-offset: 3px;
}

::selection {
	background: var(--primary);
	color: #fff;
}

.site-container {
	width: min(calc(100% - (var(--gutter) * 2)), var(--container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	clip-path: none;
	border-radius: var(--r-sm);
	background: var(--surface);
	box-shadow: var(--shadow-md);
	color: var(--text);
}

.ui-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	object-fit: contain;
}

.button {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 18px;
	border: 1px solid transparent;
	border-radius: var(--pill);
	background: var(--primary);
	color: #fff;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		box-shadow 160ms ease,
		transform 160ms ease;
}

/* Linked CTAs are always actionable. Keep this explicit because WordPress or
 * optimisation plugins may inject a generic disabled cursor rule. */
a.button[href]:not([aria-disabled="true"]),
.popular-card__footer a[href]:not([aria-disabled="true"]),
a.site-brand[href],
.site-brand .custom-logo-link[href],
.hot-topics__more[href],
.article-community__button[href],
.forum-primary-button[href],
.forum-community__button[href] {
	cursor: pointer !important;
}

.button--secondary {
	border-color: var(--secondary-border);
	background: var(--secondary-bg);
	color: var(--secondary-text);
}

.button--outline {
	border-color: var(--border-strong);
	background: transparent;
	color: var(--text);
}

.site-header {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid var(--border);
	background: var(--header);
}

.site-header__main {
	height: 72px;
	background: var(--header);
}

.site-header__inner {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.site-brand {
	display: inline-flex;
	min-width: max-content;
	align-items: center;
	gap: 12px;
}

.site-brand__mark {
	display: grid;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	place-items: center;
	border-radius: 12px;
	background: linear-gradient(145deg, #168bff, #0072e8);
	box-shadow: 0 8px 20px rgb(0 104 217 / 18%);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 24px;
	transform-origin: left center;
	transition:
		box-shadow 160ms ease,
		filter 160ms ease,
		transform 160ms ease;
}

.site-brand__copy {
	display: grid;
	gap: 1px;
	transition: transform 160ms ease;
}

.site-brand__name {
	color: var(--text);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 21px;
	transition: color 160ms ease;
}

.site-brand--custom .custom-logo-link {
	display: block;
	border-radius: var(--r-sm);
}

.site-brand--custom .custom-logo {
	width: auto;
	max-width: 220px;
	height: 44px;
	object-fit: contain;
	transform-origin: left center;
	transition:
		filter 160ms ease,
		transform 160ms ease;
}

.site-brand__svg {
	display: block;
	line-height: 0;
	transform-origin: left center;
	transition:
		filter 160ms ease,
		transform 160ms ease;
}

.site-brand--svg .site-brand__svg svg {
	display: block;
	width: auto;
	max-width: 220px;
	height: 44px;
}

@media (hover: hover) and (pointer: fine) {
	a.site-brand:hover .site-brand__mark {
		box-shadow: 0 10px 24px rgb(0 104 217 / 28%);
		filter: brightness(1.06) saturate(1.08);
		transform: translateY(-1px) scale(1.04);
	}

	a.site-brand:hover .site-brand__copy {
		transform: translateX(2px);
	}

	a.site-brand:hover .site-brand__name {
		color: var(--brand);
	}

	a.site-brand--svg:hover .site-brand__svg,
	.site-brand .custom-logo-link:hover .custom-logo {
		filter: brightness(1.04) saturate(1.12);
		transform: translateY(-1px) scale(1.02);
	}
}

.primary-navigation {
	margin-left: auto;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.primary-menu a {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	padding: 8px 17px;
	border: 1px solid transparent;
	border-radius: var(--pill);
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	transition:
		background-color 150ms ease,
		border-color 150ms ease,
		color 150ms ease;
}

.primary-menu .current-menu-item > a {
	background: var(--primary);
	color: #fff;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.header-search {
	position: relative;
	display: flex;
	width: 96px;
	height: 38px;
	flex: 0 0 auto;
	align-items: center;
	gap: 9px;
	padding: 0 5px 0 12px;
	border: 1px solid var(--search-border);
	border-radius: var(--pill);
	background: var(--search-bg);
	transition:
		width 180ms ease,
		border-color 150ms ease,
		background-color 150ms ease,
		box-shadow 150ms ease;
}

.header-search__input {
	min-width: 0;
	width: 40px;
	height: 17px;
	flex: 1 1 40px;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
	font-size: 13px;
	line-height: 17px;
	-webkit-appearance: none;
	appearance: none;
}

.header-search__input::-webkit-search-decoration,
.header-search__input::-webkit-search-cancel-button,
.header-search__input::-webkit-search-results-button,
.header-search__input::-webkit-search-results-decoration {
	display: none;
}

.header-search__input::placeholder {
	color: var(--text-secondary);
	opacity: 1;
}

.header-search__icon {
	position: static;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	pointer-events: none;
}

.header-search:focus-within,
.header-search:has(.header-search__clear:not([hidden])) {
	width: 220px;
	border-color: var(--interactive-border);
	background: var(--surface);
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--focus) 16%, transparent),
		var(--shadow-sm);
}

.header-search__clear {
	margin-left: auto;
}

.header-search.is-suggesting {
	z-index: 40;
}

.header-search .search-suggestions {
	top: calc(100% + 10px);
	right: 0;
	left: auto;
	width: min(520px, calc(100vw - 32px));
}

.theme-toggle,
.menu-toggle,
.mobile-search-toggle,
.mobile-drawer__close {
	display: grid;
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	place-items: center;
	padding: 0;
	border: 1px solid transparent;
	border-radius: var(--pill);
	background: transparent;
	color: var(--text);
	transition:
		background-color 150ms ease,
		color 150ms ease,
		transform 150ms ease;
}

.theme-toggle__moon {
	display: none;
	font-size: 25px;
	line-height: 1;
}

:root[data-theme="dark"] .theme-toggle__sun {
	display: none;
}

:root[data-theme="dark"] .theme-toggle__moon {
	display: inline;
}

:root[data-theme="dark"] .site-header__actions .ui-icon,
:root[data-theme="dark"] .mobile-drawer__close .ui-icon {
	filter: brightness(0) invert(1);
}

.menu-toggle {
	display: none;
}

.header-banner {
	display: block;
	height: 147px;
	overflow: hidden;
	background-color: #eff8ff;
	background-image: url("../images/banner-light.png");
	background-image: image-set(
		url("../images/banner-light-1264w.avif") type("image/avif"),
		url("../images/banner-light-1264w.webp") type("image/webp"),
		url("../images/banner-light.png") type("image/png")
	);
	background-position: center;
	background-size: cover;
}

:root[data-theme="dark"] .header-banner {
	background-color: #061b4c;
	background-image:
		url("../images/banner-dark-overlay.png"),
		url("../images/banner-dark-base.png");
	background-image:
		url("../images/banner-dark-overlay.png"),
		image-set(
			url("../images/banner-dark-base-1264w.avif") type("image/avif"),
			url("../images/banner-dark-base-1264w.webp") type("image/webp"),
			url("../images/banner-dark-base.png") type("image/png")
		);
	background-position: center, center;
	background-size: cover, cover;
}

.services-bar {
	height: 54px;
	border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
	background: var(--header);
}

.services-bar__inner {
	position: relative;
	display: flex;
	height: 100%;
	align-items: center;
	gap: 6px;
}

.services-bar__label {
	flex: 0 0 auto;
	padding: 8px 8px 8px 0;
	color: var(--brand);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.84px;
	line-height: 14px;
	text-transform: uppercase;
}

.services-menu {
	display: flex;
	min-width: 0;
	flex: 1;
	align-items: center;
	gap: 6px;
}

.services-menu > li {
	min-width: max-content;
}

.services-menu a {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	gap: 6px;
	padding: 7px 11px;
	border: 1px solid transparent;
	border-radius: var(--pill);
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	transition:
		background-color 150ms ease,
		border-color 150ms ease,
		color 150ms ease;
}

.service-item__icon,
.services-menu img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.service-item__lock {
	display: inline-block;
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	background: currentcolor;
	color: var(--text-secondary);
	-webkit-mask: url("../images/icon-lock.svg") center / contain no-repeat;
	mask: url("../images/icon-lock.svg") center / contain no-repeat;
}

.services-bar__all {
	min-width: 123px;
	min-height: 34px;
	flex: 0 0 auto;
	gap: 6px;
	padding: 8px 10px;
	border: 0;
	background: var(--primary);
	font-size: 13px;
	line-height: 18px;
}

.services-bar__grid {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
}

.services-bar__all[aria-expanded="true"] {
	background: var(--primary-hover);
	box-shadow: 0 7px 18px rgb(0 104 217 / 18%);
}

.services-dropdown {
	position: absolute;
	z-index: 80;
	top: calc(100% + 1px);
	right: 0;
	display: grid;
	width: min(840px, calc(100vw - (var(--gutter) * 2)));
	min-height: 312px;
	grid-template-columns: 230px minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--services-dropdown-border);
	border-radius: 16px;
	background: var(--services-dropdown-surface);
	box-shadow: var(--services-dropdown-shadow);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-7px) scale(0.99);
	transform-origin: top right;
	transition:
		opacity 160ms ease,
		transform 160ms ease;
}

.services-dropdown[hidden] {
	display: none;
}

.services-dropdown.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.services-dropdown__intro {
	display: flex;
	min-height: 310px;
	flex-direction: column;
	justify-content: space-between;
	padding: 23px;
	background: linear-gradient(90deg, #071526 0%, #0b2442 100%);
	color: #fff;
}

.services-dropdown__intro-top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.services-dropdown__brand-icon {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: 12px;
	background: rgb(255 255 255 / 12%);
}

.services-dropdown__brand-icon .ui-icon {
	width: 16px;
	height: 16px;
}

.services-dropdown__intro-copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.services-dropdown__title {
	color: #fff;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.26px;
	line-height: 32px;
}

.services-dropdown__description {
	width: 182px;
	color: rgb(255 255 255 / 70%);
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
}

.services-dropdown__eyebrow {
	color: rgb(255 255 255 / 64%);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.6px;
	line-height: 14px;
	text-transform: uppercase;
}

.services-dropdown__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
	padding: 19px 21px;
	background: var(--services-dropdown-surface);
}

.services-dropdown__heading {
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.services-dropdown__heading-title {
	color: var(--services-dropdown-title);
	font-size: 14px;
	font-weight: 600;
	line-height: 18px;
}

.services-dropdown__heading-subtitle {
	color: var(--services-dropdown-muted);
	font-size: 10px;
	font-weight: 500;
	line-height: 13px;
}

.services-dropdown__grid {
	display: grid;
	grid-auto-rows: 52px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 10px;
}

.services-dropdown__item {
	position: relative;
	display: grid;
	min-width: 0;
	height: 52px;
	grid-template-columns: 32px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border: 1px solid var(--services-dropdown-item-border);
	border-radius: 12px;
	background: var(--services-dropdown-item);
	color: var(--services-dropdown-title);
	transition:
		border-color 150ms ease,
		background-color 150ms ease,
		box-shadow 150ms ease,
		transform 150ms ease;
}

.services-dropdown__item-icon {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	overflow: hidden;
	border-radius: 10px;
	background: var(--services-dropdown-icon);
}

.services-dropdown__item-icon .ui-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
}

.services-dropdown__item-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
	overflow: hidden;
}

.services-dropdown__item-title,
.services-dropdown__item-description {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.services-dropdown__item-title {
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
}

.services-dropdown__item-description {
	color: var(--services-dropdown-muted);
	font-size: 10px;
	font-weight: 500;
	line-height: 13px;
}

.services-dropdown__lock {
	display: inline-block;
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	background: var(--services-dropdown-muted);
	-webkit-mask: url("../images/icon-lock.svg") center / contain no-repeat;
	mask: url("../images/icon-lock.svg") center / contain no-repeat;
}

.services-dropdown__item--paid {
	border-color: #f0d39c;
	background: #fffaf1;
	color: #5c4725;
}

.services-dropdown__item--paid .services-dropdown__item-icon {
	background: #fff1d3;
}

.services-dropdown__item--paid .services-dropdown__item-description {
	color: #b66a00;
}

.services-dropdown__item:focus-visible {
	border-color: var(--interactive-border);
	background: var(--services-dropdown-item-hover);
}

.services-dropdown__item--paid:focus-visible {
	border-color: #b66a00;
	background: #fff1d3;
}

:root[data-theme="dark"] .services-dropdown__item--paid {
	border-color: #75572b;
	background: #342b1d;
	color: #ffe0a8;
}

:root[data-theme="dark"] .services-dropdown__item--paid .services-dropdown__item-icon {
	background: #47371e;
}

:root[data-theme="dark"] .services-dropdown__item--paid .services-dropdown__item-description {
	color: #f0b451;
}

@media (max-width: 1279.98px) {
	.services-bar__all,
	.services-dropdown {
		display: none !important;
	}
}

.masthead {
	border-bottom: 1px solid var(--border);
	background: var(--header);
}

.masthead__inner {
	display: grid;
	min-height: 137px;
	grid-template-columns: minmax(350px, 1fr) minmax(360px, 500px) auto;
	align-items: center;
	gap: 34px;
}

.masthead__eyebrow {
	margin-bottom: 7px;
	color: var(--brand);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}

.masthead__title {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.3px;
	line-height: 36px;
}

.masthead__description {
	margin-top: 4px;
	color: var(--text-secondary);
	font-size: 12px;
}

.masthead-search {
	position: relative;
	display: flex;
	height: 56px;
	align-items: center;
}

.masthead-search input {
	width: 100%;
	height: 100%;
	padding: 12px 108px 12px 46px;
	border: 1px solid var(--search-border);
	border-radius: var(--r-lg);
	background: var(--search-bg);
	color: var(--text);
	font-size: 14px;
	line-height: 21px;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.masthead-search input::-webkit-search-cancel-button,
.not-found-search input::-webkit-search-cancel-button {
	display: none;
	-webkit-appearance: none;
}

.masthead-search input::placeholder {
	color: var(--text-secondary);
	transition: color 160ms ease;
}

.masthead-search__icon {
	position: absolute;
	left: 16px;
	z-index: 1;
	pointer-events: none;
}

:root[data-theme="dark"] .masthead-search__icon,
:root[data-theme="dark"] .mobile-search-toggle .ui-icon {
	filter: brightness(1.55);
}

.masthead-search kbd {
	position: absolute;
	right: 12px;
	padding: 5px 8px;
	border: 0;
	border-radius: 7px;
	background: var(--surface-subtle);
	color: var(--text-secondary);
	font-family: inherit;
	font-size: 9px;
	font-weight: 500;
	pointer-events: none;
	transition:
		background-color 160ms ease,
		color 160ms ease;
}

.inline-search-clear {
	display: inline-grid;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 9px;
	background: transparent;
	color: var(--text-secondary);
	cursor: pointer;
	transition:
		background-color 150ms ease,
		color 150ms ease,
		transform 150ms ease;
}

.inline-search-clear[hidden] {
	display: none;
}

.inline-search-clear > span {
	position: relative;
	display: block;
	width: 12px;
	height: 12px;
}

.inline-search-clear > span::before,
.inline-search-clear > span::after {
	position: absolute;
	top: 5px;
	left: 0;
	width: 12px;
	height: 2px;
	border-radius: 2px;
	background: currentcolor;
	content: "";
}

.inline-search-clear > span::before {
	transform: rotate(45deg);
}

.inline-search-clear > span::after {
	transform: rotate(-45deg);
}

.inline-search-clear:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}

.masthead-search .inline-search-clear {
	position: absolute;
	z-index: 2;
	right: 60px;
}

@media (min-width: 768px) {
	.masthead-search:hover input {
		border-color: var(--border-brand);
		background: var(--search-option-hover);
		box-shadow: var(--shadow-sm);
	}

	.masthead-search:hover input::placeholder,
	.masthead-search:hover kbd {
		color: var(--brand);
	}

	.masthead-search:hover kbd {
		background: var(--surface);
	}

	.inline-search-clear:hover {
		background: var(--selected);
		color: var(--brand);
		transform: scale(1.06);
	}

	.inline-search-clear:active {
		transform: scale(0.96);
	}
}

@media (max-width: 767px) {
	.masthead-search .inline-search-clear {
		right: 5px;
	}
}

.masthead-search input:focus {
	border-color: var(--interactive-border);
	outline: 0;
	background: var(--surface);
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--focus) 16%, transparent),
		var(--shadow-sm);
}

.masthead-search:focus-within,
.masthead-search.is-suggesting {
	z-index: 30;
}

.search-suggestions {
	position: absolute;
	z-index: 30;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	display: grid;
	max-height: min(430px, calc(100dvh - 150px));
	overflow: hidden auto;
	padding: 8px;
	border: 1px solid var(--search-panel-border);
	border-radius: var(--r-md);
	background: var(--search-panel);
	box-shadow: var(--search-panel-shadow);
	color: var(--text);
	overscroll-behavior: contain;
	scrollbar-color: var(--border-strong) transparent;
	scrollbar-width: thin;
}

.search-suggestions[hidden] {
	display: none;
}

.search-suggestions__status {
	display: flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 0;
	padding: 12px;
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 18px;
	text-align: center;
}

.search-suggestions__status.is-loading::before {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	border: 2px solid var(--border);
	border-top-color: var(--brand);
	border-radius: 50%;
	content: "";
	animation: search-suggestions-spin 700ms linear infinite;
}

.search-suggestions__status.is-error {
	color: #dc3d43;
}

.search-suggestions__status.is-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	min-height: 0;
	overflow: hidden;
	padding: 0;
	margin: -1px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.search-suggestions__list {
	display: grid;
	gap: 2px;
}

.search-suggestion {
	position: relative;
	display: grid;
	min-height: 78px;
	gap: 4px;
	padding: 11px 42px 11px 12px;
	border: 1px solid transparent;
	border-radius: 12px;
	color: var(--text);
	transition:
		border-color 150ms ease,
		background-color 150ms ease,
		transform 150ms ease;
}

.search-suggestion.is-active {
	border-color: var(--secondary-border);
	background: var(--search-option-hover);
}

@media (min-width: 768px) {
	.search-suggestion:hover {
		border-color: var(--secondary-border);
		background: var(--search-option-hover);
	}
}

.search-suggestion.is-active {
	transform: translateX(2px);
}

.search-suggestion__meta {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 9px;
	color: var(--text-secondary);
	font-size: 10px;
	font-weight: 600;
	line-height: 14px;
	letter-spacing: 0.35px;
	text-transform: uppercase;
}

.search-suggestion__category {
	color: var(--brand);
}

.search-suggestion__time {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	white-space: nowrap;
}

.search-suggestion__time::before {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--text-muted);
	content: "";
}

.search-suggestion__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--text);
	font-size: 14px;
	font-weight: 650;
	line-height: 19px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.search-suggestion__excerpt {
	overflow: hidden;
	color: var(--text-secondary);
	font-size: 12px;
	line-height: 17px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.search-suggestion__match {
	padding-inline: 2px;
	border-radius: 3px;
	background: var(--search-match-bg);
	box-decoration-break: clone;
	color: var(--search-match-text);
	font-weight: 750;
	-webkit-box-decoration-break: clone;
}

.search-suggestion__match--root {
	padding-inline: 0;
	background: transparent;
	box-shadow: inset 0 -0.36em var(--search-root-bg);
	color: inherit;
}

.search-suggestion__arrow {
	position: absolute;
	top: 50%;
	right: 14px;
	color: var(--text-muted);
	font-size: 17px;
	line-height: 1;
	transform: translateY(-50%);
	transition:
		color 150ms ease,
		transform 150ms ease;
}

.search-suggestion.is-active .search-suggestion__arrow {
	color: var(--brand);
	transform: translate(2px, -50%);
}

@media (min-width: 768px) {
	.search-suggestion:hover .search-suggestion__arrow {
		color: var(--brand);
		transform: translate(2px, -50%);
	}
}

.search-suggestions__all {
	display: flex;
	min-height: 42px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
	padding: 9px 12px 5px;
	border-top: 1px solid var(--border);
	color: var(--brand);
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
}

.search-suggestions__all[hidden] {
	display: none;
}

.search-suggestions__all span {
	font-size: 16px;
	transition: transform 150ms ease;
}

@media (min-width: 768px) {
	.search-suggestions__all:hover span {
		transform: translateX(2px);
	}
}

@keyframes search-suggestions-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 767px) {
	.search-suggestions {
		top: calc(100% + 6px);
		max-height: min(390px, calc(100dvh - 128px));
		padding: 6px;
		border-radius: 12px;
	}

	.search-suggestion {
		min-height: 74px;
		padding: 10px 38px 10px 10px;
	}

	.search-suggestion__arrow {
		right: 11px;
	}
}

.masthead__stats {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.masthead-stat {
	display: grid;
	min-width: 104px;
	height: 74px;
	align-content: center;
	padding: 10px 13px;
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	background: var(--surface);
}

.masthead-stat strong {
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.2px;
	line-height: 27px;
}

.masthead-stat > span,
.masthead-stat > time {
	color: var(--text-secondary);
	font-size: 9px;
	letter-spacing: 0.45px;
	text-transform: uppercase;
}

.masthead-stat--live {
	min-width: 93px;
	border-color: transparent;
	background: var(--success-bg);
	color: var(--success);
}

.masthead-stat--live strong {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
}

.masthead-stat--live strong span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentcolor;
	animation: masthead-live-pulse 2.2s ease-in-out infinite;
}

.masthead-live-clock {
	display: inline-flex;
	min-width: 7.4ch;
	align-items: center;
	color: var(--success) !important;
	font-family: "Roboto Mono", monospace;
	font-size: 11px !important;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	letter-spacing: 0 !important;
	line-height: 1;
	text-transform: none !important;
	white-space: nowrap;
}

.masthead-live-clock__value {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	perspective: 80px;
}

.masthead-live-clock__digit {
	display: inline-block;
	width: 0.62em;
	text-align: center;
	transform-origin: 50% 65%;
}

.masthead-live-clock__digit.is-changing {
	animation: masthead-live-digit 280ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

.masthead-live-clock__separator {
	display: inline-block;
	opacity: 0.72;
	text-align: center;
	animation: masthead-live-separator 1s ease-in-out infinite;
}

@keyframes masthead-live-digit {
	0% {
		filter: blur(1.5px);
		opacity: 0.2;
		text-shadow: 0 0 8px currentcolor;
		transform: translateY(-38%) rotateX(55deg) scale(0.92);
	}

	100% {
		filter: blur(0);
		opacity: 1;
		text-shadow: 0 0 0 transparent;
		transform: translateY(0) rotateX(0) scale(1);
	}
}

@keyframes masthead-live-separator {
	0%,
	100% {
		opacity: 0.35;
	}

	50% {
		opacity: 0.9;
	}
}

@keyframes masthead-live-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 color-mix(in srgb, currentcolor 0%, transparent);
		opacity: 0.72;
	}

	50% {
		box-shadow: 0 0 0 4px color-mix(in srgb, currentcolor 15%, transparent);
		opacity: 1;
	}
}

.mobile-search-toggle {
	display: none;
}

.homepage-stack {
	display: grid;
	gap: 26px;
	padding-block: 26px 0;
}

.homepage-stack--without-seo {
	padding-bottom: clamp(32px, 4vw, 48px);
}

.hot-topics {
	position: relative;
	display: flex;
	height: 118px;
	min-height: 118px;
	align-items: center;
	gap: 16px;
	padding: 17px 18px;
	overflow: hidden;
	border-radius: var(--r-xl);
	background: linear-gradient(90deg, var(--hot-a), var(--hot-b));
	color: #fff;
}

.hot-topics__heading {
	display: flex;
	width: 198px;
	height: 70px;
	flex: 0 0 198px;
	align-items: flex-start;
	gap: 9px;
}

.hot-topics__heading > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hot-topics__icon {
	display: block;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	overflow: hidden;
	border-radius: 9px;
	background: var(--hot-icon-bg);
}

.hot-topics__picture {
	display: block;
	width: 100%;
	height: 100%;
}

.hot-topics__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hot-topics__heading h2 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	line-height: 21px;
	white-space: nowrap;
}

.hot-topics__heading p {
	margin: 0;
	color: var(--hot-subtitle);
	font-size: 11px;
	line-height: 14px;
	white-space: nowrap;
}

.hot-topics__divider {
	width: 1px;
	height: 66px;
	flex: 0 0 1px;
	background: #23415f;
}

.hot-topics__list {
	display: flex;
	width: 854px;
	height: 78px;
	flex: 0 0 854px;
	align-items: center;
	gap: 16px;
}

.hot-topic {
	width: 274px;
	height: 78px;
	flex: 0 0 274px;
}

.hot-topic a {
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
	padding: 8px 12px;
	border-radius: 12px;
	transition:
		background-color 160ms ease,
		box-shadow 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

.hot-topic__meta {
	display: flex;
	height: 14px;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--hot-category);
	font-size: 10px;
	font-weight: 600;
	line-height: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.hot-topic__number {
	color: var(--hot-number);
	font-size: 11px;
	line-height: 14px;
}

.hot-topic__title {
	display: -webkit-box;
	width: 100%;
	height: 40px;
	flex: 0 0 40px;
	overflow: hidden;
	font-size: 14px;
	font-weight: 500;
	line-height: 19px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hot-topics__more {
	display: grid;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	place-items: center;
	border: 1px solid rgb(255 255 255 / 15%);
	border-radius: 50%;
	background: rgb(255 255 255 / 9%);
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.hot-topics__external {
	display: block;
	width: 18px;
	height: 20px;
}

.hot-topics__dots {
	display: none;
}

.news-section {
	min-width: 0;
}

.feed-controls {
	display: grid;
	gap: 10px;
	margin-bottom: 20px;
}

.feed-controls__primary,
.feed-controls__secondary {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
}

.feed-controls__primary {
	border-bottom: 1px solid var(--border);
}

.feed-tabs {
	position: relative;
	display: flex;
	min-width: 0;
	flex: 1;
	align-items: center;
	gap: 2px;
	overflow: visible;
}

.feed-tabs__scroll,
.feed-chips {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.feed-tabs__scroll {
	max-width: 100%;
	flex: 0 1 auto;
}

.feed-chips {
	flex: 1;
}

.feed-tabs__scroll::-webkit-scrollbar,
.feed-chips::-webkit-scrollbar {
	display: none;
}

.feed-tab,
.feed-tabs__more > summary {
	position: relative;
	display: inline-flex;
	min-width: max-content;
	height: 42px;
	min-height: 42px;
	align-items: center;
	padding: 12px 14px;
	border-radius: var(--r-sm) var(--r-sm) 0 0;
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	transition: color 150ms ease;
}

.feed-tabs__more > summary {
	gap: 4px;
}

.feed-tabs__more[open] > summary,
.feed-tabs__more.is-active > summary {
	color: var(--brand);
}

.feed-tabs__more-icon {
	display: inline-block;
	line-height: 1;
}

.feed-tabs__divider {
	width: 1px;
	height: 30px;
	flex: 0 0 1px;
	margin-left: 6px;
	background: var(--border);
}

.feed-tab--threats {
	gap: 4px;
	margin-inline: 0 6px;
	padding-block: 11px;
	border-radius: var(--r-sm);
	transition:
		background-color 150ms ease,
		color 150ms ease;
}

.feed-tab--threats-mobile {
	display: none;
}

.feed-tabs__more-trigger-mobile {
	display: none;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.feed-tab--threats::after {
	display: none;
}

.feed-tab__external {
	display: inline-grid;
	min-width: 16px;
	height: 20px;
	place-items: center;
	padding: 2px 3px 0;
	border-radius: 5px;
	background: var(--action-disabled-bg);
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	transition:
		background-color 150ms ease,
		color 150ms ease;
}

.feed-tab::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: transparent;
	content: "";
}

.feed-tab.is-active {
	color: var(--brand);
}

.feed-tab.is-active::after {
	background: var(--primary);
}

.feed-tabs__more {
	position: relative;
	flex: 0 0 auto;
}

.feed-tabs__popover {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 10px;
	display: grid;
	width: 190px;
	padding: 5px;
	gap: 2px;
	border: 1px solid var(--filter-panel-border);
	border-radius: var(--r-md);
	background: var(--surface);
	box-shadow: var(--feed-popover-shadow);
	transform-origin: top left;
}

.feed-tabs__popover a {
	display: flex;
	min-height: 42px;
	align-items: center;
	padding: 12px 14px;
	border-radius: var(--r-sm);
	color: var(--feed-popover-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	transition:
		background-color 150ms ease,
		color 150ms ease;
}

.feed-tabs__popover a.is-active {
	background: var(--selected);
	color: var(--brand);
}

.feed-tabs__more[open] .feed-tabs__popover {
	animation: feed-popover-in 160ms ease-out both;
}

@keyframes feed-popover-in {
	from {
		opacity: 0;
		transform: translateY(-4px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.feed-filter-toggle {
	width: 140px;
	flex: 0 0 auto;
	min-width: 140px;
	height: 34px;
	min-height: 34px;
	gap: 8px;
	padding: 5px 8px 5px 12px;
	border: 0;
	background: var(--primary);
	font-size: 13px;
	line-height: 18px;
}

.feed-filter-toggle[hidden],
.filter-dialog[hidden] {
	display: none !important;
}

.feed-filter-toggle > .ui-icon {
	display: none;
}

.feed-filter-toggle__count {
	display: inline-grid;
	min-width: 22px;
	height: 22px;
	place-items: center;
	border-radius: 7px;
	background: rgb(255 255 255 / 20%);
	font-size: 10px;
	font-weight: 600;
	line-height: 12px;
}

.feed-chips {
	gap: 8px;
}

.feed-chip {
	display: inline-flex;
	min-width: max-content;
	min-height: 36px;
	align-items: center;
	padding: 7px 14px;
	border: 1px solid transparent;
	border-radius: var(--r-sm);
	background: var(--surface-subtle);
	color: var(--text-secondary);
	font-size: 12px;
	transition:
		background-color 150ms ease,
		border-color 150ms ease,
		color 150ms ease;
}

.feed-chip.is-active {
	border-color: transparent;
	background: var(--selected);
	color: var(--brand);
}

:root[data-theme="dark"] .feed-chip.is-active {
	background: rgb(0 120 252 / 20%);
	color: #0078fc;
}

.feed-controls__tools {
	display: none;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
}

.sort-control {
	position: relative;
	display: inline-flex;
	height: 36px;
	align-items: center;
	gap: 6px;
	padding: 0 7px 0 12px;
	border: 1px solid var(--border);
	border-radius: var(--pill);
	background: var(--surface);
	color: var(--text-secondary);
	font-size: 12px;
	white-space: nowrap;
	transition:
		border-color 150ms ease,
		box-shadow 150ms ease,
		background-color 150ms ease;
}

@media (min-width: 768px) {
	.sort-control:hover {
		border-color: var(--border-strong);
		background: var(--surface-subtle);
	}
}

.sort-control__prefix {
	flex: 0 0 auto;
}

.sort-control__trigger {
	position: relative;
	display: inline-flex;
	min-width: 112px;
	height: 30px;
	align-items: center;
	justify-content: flex-start;
	padding: 0 24px 0 2px;
	border: 0;
	border-radius: var(--pill);
	outline: 0;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

.sort-control__chevron {
	position: absolute;
	top: 50%;
	right: 5px;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	pointer-events: none;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 150ms ease;
}

.sort-control:focus-within {
	border-color: var(--interactive-border);
	box-shadow: 0 0 0 3px rgb(0 120 252 / 12%);
}

.sort-control.is-open {
	z-index: 40;
	border-color: var(--interactive-border);
	box-shadow: 0 0 0 3px rgb(0 120 252 / 12%);
}

.sort-control.is-open .sort-control__chevron {
	transform: translateY(-20%) rotate(225deg);
}

.sort-control__menu {
	position: absolute;
	z-index: 10;
	top: calc(100% + 8px);
	left: 0;
	display: grid;
	width: max-content;
	min-width: 100%;
	padding: 6px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--surface);
	box-shadow: var(--shadow-md);
	animation: sort-menu-enter 140ms ease-out;
}

.sort-control.opens-up .sort-control__menu {
	top: auto;
	bottom: calc(100% + 8px);
	transform-origin: bottom left;
}

.sort-control__menu[hidden] {
	display: none;
}

.sort-control__option {
	display: flex;
	width: 100%;
	min-width: 190px;
	height: 38px;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 0 11px;
	border: 0;
	border-radius: 9px;
	outline: 0;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
	transition:
		background-color 120ms ease,
		color 120ms ease;
}

.sort-control__option:focus-visible {
	background: var(--surface-subtle);
	color: var(--brand);
}

@media (min-width: 768px) {
	.sort-control__option:hover {
		background: var(--surface-subtle);
		color: var(--brand);
	}
}

.sort-control__option[aria-selected="true"] {
	background: var(--selected);
	color: var(--brand);
	font-weight: 600;
}

.sort-control__check {
	width: 8px;
	height: 5px;
	border-bottom: 1.5px solid currentColor;
	border-left: 1.5px solid currentColor;
	opacity: 0;
	transform: translateY(-1px) rotate(-45deg);
}

.sort-control__option[aria-selected="true"] .sort-control__check {
	opacity: 1;
}

@keyframes sort-menu-enter {
	from {
		opacity: 0;
		transform: translateY(-5px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sort-control__menu {
		animation: none;
	}

	.masthead-stat--live strong span,
	.masthead-live-clock__digit.is-changing,
	.masthead-live-clock__separator {
		animation: none;
	}
}

.view-switch {
	display: inline-flex;
	gap: 2px;
	overflow: hidden;
	padding: 3px;
	border: 0;
	border-radius: var(--pill);
	background: var(--view-switch-bg);
	box-shadow: inset 0 0 0 1px var(--view-switch-border);
}

.view-switch__option {
	display: inline-flex;
	align-items: center;
	padding: 7px 10px;
	border-radius: var(--pill);
	color: var(--view-switch-text);
	font-size: 11px;
	font-weight: 500;
	line-height: 14px;
	white-space: nowrap;
	transition:
		background-color 150ms ease,
		color 150ms ease;
}

.view-switch__option.is-active {
	background: var(--view-switch-active-bg);
	color: var(--view-switch-active-text);
}

@media (min-width: 1024px) {
	.feed-controls__tools {
		display: flex;
	}

	.site-main--home .feed-controls__tools > .sort-control {
		display: none;
	}

	.view-switch__option:not(.is-active):hover {
		background: var(--view-switch-active-bg);
		color: var(--view-switch-active-text);
	}
}

.news-feed {
	display: grid;
	gap: 12px;
}

.news-card {
	display: grid;
	min-height: 174px;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: 1fr auto;
	gap: 12px 24px;
	padding: 16px 18px;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	background: var(--surface);
	transition:
		border-color 160ms ease,
		box-shadow 160ms ease,
		transform 160ms ease;
}

.news-card__content {
	min-width: 0;
	grid-column: 1 / -1;
}

.news-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin-bottom: 14px;
	color: var(--text-secondary);
	font-size: 10px;
	line-height: 18px;
}

.news-card__category {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	padding: 4px 10px;
	border-radius: var(--pill);
	background: var(--selected);
	color: var(--brand);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.2px;
	text-transform: uppercase;
}

:root[data-theme="dark"] .news-card__category {
	background: rgb(0 120 252 / 20%);
	color: #0078fc;
}

.news-card__tag {
	color: var(--brand);
}

.news-card__title {
	max-width: 1000px;
	font-size: 20px;
	font-weight: 650;
	letter-spacing: -0.15px;
	line-height: 25px;
}

.news-card__title a {
	border-radius: 4px;
	transition: color 150ms ease;
}

.news-card__excerpt {
	max-width: 960px;
	margin-top: 5px;
	color: var(--text-secondary);
	font-size: 12px;
	line-height: 18px;
}

.news-card__actions {
	display: flex;
	grid-column: 2;
	grid-row: 2;
	align-self: end;
	gap: 8px;
}

.news-card__actions .button--outline {
	min-width: 78px;
}

.news-card__actions .button--secondary {
	min-width: 168px;
}

.news-card--empty .news-card__actions {
	width: 100%;
	max-width: none;
	grid-column: 1 / -1;
}

.news-card--empty .news-card__actions .button {
	width: 100%;
	max-width: none;
}

:root[data-theme="dark"] .news-card__actions .button--secondary {
	border-color: #168bff;
	background: transparent;
	color: #0068d9;
}

.news-feed--grid {
	grid-template-columns: 1fr;
}

.news-feed--grid .news-card {
	min-height: 260px;
	grid-template-columns: 1fr;
}

.news-feed--grid .news-card__actions {
	grid-column: 1;
}

.news-feed--grid .popular-news,
.news-feed--grid .feed-separator {
	grid-column: 1 / -1;
}

@media (min-width: 768px) {
	.news-feed--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.news-feed--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.popular-news {
	display: grid;
	gap: 12px;
	padding: 20px;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	background: var(--surface-subtle);
}

.popular-news__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.popular-news__header h2 {
	font-size: 17px;
	line-height: 22px;
}

.popular-news__header a {
	color: var(--brand);
	font-size: 10px;
}

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

.popular-card {
	display: grid;
	min-height: 152px;
	grid-template-columns: 38px 1fr;
	gap: 0 6px;
	padding: 14px;
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	background: var(--surface);
	transition:
		border-color 160ms ease,
		box-shadow 160ms ease,
		transform 160ms ease;
}

.popular-card__number {
	color: var(--text-muted);
	font-size: 22px;
	font-weight: 500;
	line-height: 24px;
}

.popular-card:first-child .popular-card__number {
	color: var(--brand);
}

.popular-card__content {
	display: grid;
	min-width: 0;
	grid-template-rows: auto 1fr auto;
	gap: 12px;
}

.popular-card__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--brand);
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
}

.popular-card__time {
	display: none;
}

.popular-card__title {
	align-self: center;
	font-size: 14px;
	font-weight: 600;
	line-height: 18px;
}

.popular-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--text-secondary);
	font-size: 9px;
}

.popular-card__footer a {
	color: var(--brand);
}

.popular-news__header a,
.popular-card__footer a {
	text-decoration-line: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition:
		color 160ms ease,
		text-decoration-color 160ms ease;
}

.feed-separator {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-block: 10px;
	color: var(--text-secondary);
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
}

.feed-separator::before,
.feed-separator::after {
	height: 1px;
	flex: 1;
	background: var(--border);
	content: "";
}

.feed-separator__mobile {
	display: none;
}

.news-listing {
	position: relative;
	scroll-margin-top: 112px;
}

.news-feed[tabindex="-1"]:focus {
	outline: 0;
}

.pagination-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	margin-top: 18px;
}

.pagination {
	display: flex;
	grid-column: 2;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
}

/* Backward-compatible spacing for standalone and cached markup where the
 * pagination is still rendered directly after the feed without its shell. */
.news-feed + .pagination {
	margin-top: 18px;
}

.pagination .page-numbers {
	display: inline-flex;
	min-width: 42px;
	height: 44px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-inline: 12px;
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	background: var(--surface);
	color: var(--text-secondary);
	font-size: 11px;
	transition:
		background-color 150ms ease,
		border-color 150ms ease,
		color 150ms ease,
		transform 150ms ease;
}

.pagination .current {
	border-color: var(--primary);
	background: var(--primary);
	color: #fff;
}

.pagination .prev,
.pagination .next {
	min-width: 126px;
}

.pagination .disabled {
	color: var(--text-muted);
	opacity: 1;
}

.page-size-control {
	display: flex;
	grid-column: 3;
	align-items: center;
	justify-self: end;
	gap: 9px;
	color: var(--text-secondary);
	font-size: 11px;
	white-space: nowrap;
}

.page-size-control__select {
	position: relative;
	display: inline-flex;
}

.page-size-control select {
	width: 78px;
	height: 44px;
	appearance: none;
	padding: 0 32px 0 12px;
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	outline: 0;
	background: var(--surface);
	color: var(--text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition:
		border-color 150ms ease,
		box-shadow 150ms ease,
		background-color 150ms ease;
}

.page-size-control__select > span {
	position: absolute;
	top: 50%;
	right: 13px;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	color: var(--text-secondary);
	pointer-events: none;
	transform: translateY(-70%) rotate(45deg);
}

.page-size-control select:focus-visible {
	border-color: var(--focus);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent);
}

@media (min-width: 768px) {
	.page-size-control select:hover {
		border-color: var(--brand);
		background: var(--surface-subtle);
	}
}

.page-size-control__submit {
	min-height: 44px;
}

.news-listing.is-loading {
	overflow: clip;
}

.news-listing.is-loading > [data-news-feed] {
	display: none;
}

.news-listing.is-loading .pagination-bar {
	opacity: 0.55;
	pointer-events: none;
}

.news-feed--skeleton {
	pointer-events: none;
}

.news-card--skeleton {
	overflow: hidden;
}

.news-card--skeleton [data-skeleton] {
	display: block;
	border-radius: 7px;
	background:
		linear-gradient(
			100deg,
			var(--surface-subtle) 20%,
			var(--selected) 42%,
			var(--surface-subtle) 64%
		);
	background-size: 220% 100%;
	animation: news-skeleton-shimmer 1.25s ease-in-out infinite;
}

.news-skeleton__meta {
	width: 122px;
	height: 24px;
	margin-bottom: 17px;
	border-radius: var(--pill) !important;
}

.news-skeleton__title {
	width: 82%;
	height: 21px;
	margin-bottom: 9px;
}

.news-skeleton__title--short {
	width: 58%;
}

.news-skeleton__excerpt {
	width: 92%;
	height: 13px;
	margin-top: 15px;
}

.news-skeleton__excerpt--short {
	width: 68%;
	margin-top: 8px;
}

.news-skeleton__actions {
	display: flex;
	grid-column: 2;
	grid-row: 2;
	align-self: end;
	gap: 8px;
}

.news-feed--grid .news-skeleton__actions {
	grid-column: 1;
}

.news-skeleton__button {
	width: 82px;
	height: 40px;
	border-radius: var(--pill) !important;
}

.news-skeleton__button--wide {
	width: 168px;
}

@keyframes news-skeleton-shimmer {
	from {
		background-position: 100% 0;
	}

	to {
		background-position: -120% 0;
	}
}

@media (max-width: 900px) {
	.pagination-bar {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.pagination-bar .pagination {
		grid-column: 1;
		margin: 0 !important;
	}

	.page-size-control {
		grid-column: 1;
		justify-self: center;
	}
}

@media (max-width: 767px) {
	.pagination-bar {
		margin-block: 12px 24px;
	}

	.news-skeleton__actions {
		display: grid;
		grid-column: 1;
		grid-row: 2;
		grid-template-columns: minmax(94px, 0.72fr) minmax(0, 1.7fr);
	}

	.news-skeleton__button,
	.news-skeleton__button--wide {
		width: 100%;
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.news-card--skeleton [data-skeleton] {
		animation: none;
		background: var(--surface-subtle);
	}
}

.after-feed {
	margin-top: 0;
}

.editorial-band {
	margin-inline: calc(50% - 50vw);
	padding: 46px var(--gutter);
	background: linear-gradient(90deg, #075aa9 0%, #003f8a 100%);
}

.editorial-card {
	display: grid;
	width: min(100%, var(--container));
	min-height: 210px;
	margin-inline: auto;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: center;
	gap: 24px;
	padding: 28px 32px;
	border: 1px solid #d3e4f6;
	border-radius: 18px;
	background: #fff;
	color: #172033;
}

.editorial-card__content {
	position: relative;
	padding-left: 28px;
}

.editorial-card__content::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	border-radius: 2px;
	background: #0068d9;
	content: "";
}

.editorial-card__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	color: #64748b;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.4px;
	line-height: 14px;
	text-transform: uppercase;
}

.editorial-card__eyebrow span {
	padding: 3px 8px;
	border-radius: 7px;
	background: #eaf4ff;
	color: #0068d9;
	letter-spacing: 0;
	text-transform: none;
}

.editorial-card h2 {
	font-size: 24px;
	font-weight: 700;
	line-height: 29px;
}

.editorial-card__seo-content {
	max-width: 824px;
	margin-top: 8px;
	color: #475569;
	font-size: 14px;
	line-height: 21px;
	transition: max-height 240ms ease;
}

.editorial-card.is-collapsible .editorial-card__seo-content {
	max-height: 42px;
	overflow: hidden;
}

.editorial-card__seo-content > :first-child {
	margin-top: 0;
}

.editorial-card__seo-content > :last-child {
	margin-bottom: 0;
}

.editorial-card__seo-content p,
.editorial-card__seo-content ul,
.editorial-card__seo-content ol,
.editorial-card__seo-content h2,
.editorial-card__seo-content h3,
.editorial-card__seo-content h4 {
	margin: 0 0 10px;
}

.editorial-card__seo-content ul,
.editorial-card__seo-content ol {
	padding-left: 20px;
}

.editorial-card__seo-content ul {
	list-style: disc;
}

.editorial-card__seo-content ol {
	list-style: decimal;
}

.editorial-card__seo-content h2,
.editorial-card__seo-content h3,
.editorial-card__seo-content h4 {
	font-weight: 700;
	line-height: 1.35;
}

.editorial-card__seo-content a {
	color: #0068d9;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.editorial-card.is-collapsible.is-expanded .editorial-card__seo-content {
	max-height: var(--editorial-content-height, 1200px);
}

.editorial-card__more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #0068d9;
	font-size: 14px;
	font-weight: 500;
	line-height: 21px;
	transition: color 160ms ease;
}

.editorial-card__more[hidden] {
	display: none;
}

.editorial-card__more:focus-visible {
	color: #004f9f;
}

@media (min-width: 768px) {
	.editorial-card__more:hover {
		color: #004f9f;
	}
}

.editorial-card__more-icon {
	display: block;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	transform-origin: center;
	transition: transform 160ms ease;
}

.editorial-card__more[aria-expanded="true"] .editorial-card__more-icon {
	transform: rotate(180deg);
}

.editorial-card__image {
	width: 100%;
	height: 148px;
	border-radius: var(--r-md);
	object-fit: cover;
}

.editorial-card__media {
	display: block;
	width: 100%;
}

:root[data-theme="dark"] .editorial-band {
	background: linear-gradient(90deg, #063f78 0%, #032b5d 100%);
}

:root[data-theme="dark"] .editorial-card {
	border-color: #3b3b3b;
	background: #252525;
	color: #fff;
}

:root[data-theme="dark"] .editorial-card__content::before {
	background: #0078fc;
}

:root[data-theme="dark"] .editorial-card__eyebrow {
	color: #aab8c6;
}

:root[data-theme="dark"] .editorial-card__eyebrow span {
	background: rgb(0 120 252 / 20%);
	color: #47a6ff;
}

:root[data-theme="dark"] .editorial-card__seo-content {
	color: #999;
}

:root[data-theme="dark"] .editorial-card__seo-content a {
	color: #47a6ff;
}

:root[data-theme="dark"] .editorial-card__more {
	color: #47a6ff;
}

:root[data-theme="dark"] .editorial-card__more:focus-visible {
	color: #75bcff;
}

@media (min-width: 768px) {
	:root[data-theme="dark"] .editorial-card__more:hover {
		color: #75bcff;
	}
}

@media (max-width: 900px) {
	.editorial-card {
		min-height: 0;
		grid-template-columns: 1fr;
	}

	.editorial-card__image {
		height: auto;
		aspect-ratio: 2 / 1.18;
	}
}

.site-footer {
	background: var(--footer);
	color: #fff;
}

.site-footer__main {
	display: grid;
	min-height: 250px;
	grid-template-columns: 1fr auto;
	gap: 56px;
	padding-block: 64px 32px;
}

.site-footer__brand {
	align-self: start;
}

.site-footer__brand-row {
	display: flex;
	align-items: center;
	gap: 18px;
}

.site-footer .site-brand__name {
	color: #fff;
}

.site-footer__brand > p {
	max-width: 330px;
	margin-top: 20px;
	color: var(--footer-copy);
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
}

.site-footer__status {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 15px;
	color: var(--footer-copy);
	font-size: 10px;
	font-weight: 500;
	line-height: 13px;
}

.site-footer__status > span,
.site-footer__online > span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #21d06f;
}

.site-footer__online {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: var(--pill);
	background: #151515;
	color: rgb(255 255 255 / 82%);
	font-size: 10px;
	font-weight: 500;
	line-height: 13px;
	text-transform: uppercase;
}

.site-footer__groups {
	display: flex;
	gap: 72px;
}

.footer-group:first-child {
	display: none;
}

.footer-group__toggle {
	display: none;
}

.footer-group__title {
	margin-bottom: 14px;
	color: var(--footer-heading);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.63px;
	line-height: 12px;
	text-transform: uppercase;
}

.footer-menu {
	display: grid;
	gap: 9px;
}

.footer-menu a {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	color: var(--footer-link);
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	transition: color 150ms ease;
}

.site-footer__bottom {
	display: flex;
	min-height: 61px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-top: 1px solid rgb(255 255 255 / 15%);
	color: var(--footer-bottom);
	font-size: 10px;
	font-weight: 400;
	line-height: 13px;
}

.site-footer__bottom ul {
	display: flex;
	align-items: center;
	gap: 20px;
}

.mobile-drawer,
.filter-dialog {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	color: var(--text);
}

.mobile-drawer::backdrop,
.filter-dialog::backdrop {
	background: var(--scrim);
}

.filter-dialog::backdrop {
	background: transparent;
	transition: background-color 180ms ease;
}

.mobile-drawer[open],
.filter-dialog[open] {
	display: block;
}

.mobile-drawer__surface {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	width: min(358px, calc(100vw - 32px));
	height: 100%;
	flex-direction: column;
	padding: 0 16px 20px;
	overflow-y: auto;
	border-radius: 24px 0 0 24px;
	background: var(--surface);
	box-shadow: -12px 0 32px rgb(4 10 18 / 18%);
	overscroll-behavior: contain;
}

.mobile-drawer__header {
	display: flex;
	height: 72px;
	flex: 0 0 72px;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--border);
}

.mobile-drawer__header .site-brand:focus-visible,
.mobile-drawer__header .custom-logo-link:focus-visible {
	border-radius: var(--r-sm);
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

.mobile-drawer__close {
	width: 44px;
	height: 44px;
	border-radius: var(--r-md);
	background: var(--surface-subtle);
}

.mobile-navigation {
	display: grid;
	gap: 8px;
	padding-top: 20px;
}

.mobile-navigation__row {
	display: flex;
	width: 100%;
	min-height: 56px;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	background: var(--surface);
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	transition:
		border-color 150ms ease,
		background-color 150ms ease,
		color 150ms ease;
}

.mobile-navigation__group > summary {
	border-color: transparent;
	background: var(--surface-subtle);
}

.mobile-navigation__icon {
	display: grid;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	place-items: center;
	border-radius: 9px;
	background: var(--selected);
}

.mobile-navigation__chevron,
.mobile-navigation__arrow {
	width: 18px;
	height: 18px;
	margin-left: auto;
	transition: transform 180ms ease;
}

.mobile-navigation__group[open] .mobile-navigation__chevron {
	transform: rotate(180deg);
}

:root[data-theme="dark"] .mobile-navigation__chevron,
:root[data-theme="dark"] .mobile-navigation__arrow {
	filter: brightness(1.65);
}

.mobile-navigation__sublist {
	display: grid;
	gap: 3px;
	padding: 5px 10px 8px 56px;
}

.mobile-navigation__sublist a {
	display: flex;
	min-height: 38px;
	align-items: center;
	padding: 7px 10px;
	border-radius: 8px;
	color: var(--text-secondary);
}

.filter-dialog__surface {
	position: absolute;
	top: var(--filter-anchor-top, 80px);
	right: var(--filter-anchor-right, max(16px, var(--gutter)));
	bottom: auto;
	display: flex;
	width: min(360px, calc(100vw - 32px));
	height: min(603px, calc(100dvh - var(--filter-anchor-top, 80px) - 16px));
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--filter-panel-border);
	border-radius: 14px;
	background: var(--surface);
	box-shadow: 0 10px 24px rgb(12 24 41 / 16%);
	opacity: 0;
	transform: translateY(-8px) scale(0.99);
	transform-origin: top right;
	transition:
		opacity 180ms ease,
		transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] .filter-dialog__surface {
	box-shadow: var(--shadow-md);
}

.filter-dialog.is-visible .filter-dialog__surface {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.filter-dialog.is-above .filter-dialog__surface {
	top: auto;
	bottom: var(--filter-anchor-bottom, 16px);
	height: min(603px, calc(100dvh - var(--filter-anchor-bottom, 16px) - 16px));
	transform: translateY(8px) scale(0.99);
	transform-origin: bottom right;
}

.filter-dialog.is-above.is-visible .filter-dialog__surface {
	transform: translateY(0) scale(1);
}

.filter-dialog__surface:focus,
.filter-dialog__surface:focus-visible {
	outline: 0;
}

.filter-dialog__header {
	display: flex;
	width: auto;
	height: 57px;
	flex: 0 0 57px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-inline: 18px;
	padding: 18px 0 14px;
	border-bottom: 1px solid var(--border);
}

.filter-dialog__header h2 {
	margin: 0;
	color: var(--text);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 18px;
	text-transform: uppercase;
}

.filter-dialog__header a {
	color: var(--brand);
	font-size: 11px;
	font-weight: 500;
	line-height: 14px;
}

.filter-dialog__body {
	display: flex;
	min-height: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	padding: 14px 18px 110px;
	overflow-y: auto;
	scrollbar-color: var(--filter-scrollbar) transparent;
	scrollbar-width: thin;
	overscroll-behavior: contain;
}

.filter-dialog__body::-webkit-scrollbar {
	width: 3px;
}

.filter-dialog__body::-webkit-scrollbar-track {
	background: transparent;
}

.filter-dialog__body::-webkit-scrollbar-thumb {
	border-radius: 15px;
	background: var(--filter-scrollbar);
}

.filter-group {
	flex: 0 0 auto;
	border: 0;
}

.filter-group > summary {
	display: flex;
	width: 100%;
	height: 34px;
	min-height: 34px;
	align-items: center;
	gap: 8px;
	padding: 8px 2px;
	border-radius: 8px;
	color: var(--text);
	font-size: 13px;
	font-weight: 600;
	line-height: 18px;
	transition:
		background-color 150ms ease,
		color 150ms ease;
}

.filter-group > summary::before {
	color: var(--text-secondary);
	content: "▸";
	font-size: 11px;
	font-weight: 500;
	line-height: 14px;
}

.filter-group[open] > summary::before {
	content: "▾";
	transform: none;
}

.filter-group__options {
	display: grid;
	gap: 6px;
	padding: 6px 4px 0 26px;
}

.filter-date-range {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 10px;
	padding: 8px 4px 4px 26px;
}

.filter-date-range__quick {
	display: flex;
	grid-column: 1 / -1;
	flex-wrap: wrap;
	gap: 6px;
}

.filter-date-range__quick button {
	min-height: 28px;
	padding: 5px 9px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text-secondary);
	font: inherit;
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	transition:
		border-color 150ms ease,
		background-color 150ms ease,
		color 150ms ease;
}

.filter-date-range__quick button[aria-pressed="true"] {
	border-color: var(--interactive-border);
	background: var(--selected);
	color: var(--brand);
}

.filter-date-range__field {
	display: grid;
	min-width: 0;
	gap: 5px;
	color: var(--text-secondary);
	font-size: 10px;
	font-weight: 600;
	line-height: 13px;
}

.filter-date-range__field input {
	width: 100%;
	min-width: 0;
	height: 38px;
	padding: 8px 9px;
	border: 1px solid var(--text-secondary);
	border-radius: 8px;
	background: var(--surface);
	color: var(--text);
	font-size: 11px;
	font-weight: 500;
	line-height: 16px;
	transition:
		border-color 150ms ease,
		background-color 150ms ease,
		box-shadow 150ms ease;
}

.filter-date-range__field input:focus-visible {
	border-color: var(--interactive-border);
	outline: 0;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent);
}

.filter-date-range__field input::-webkit-calendar-picker-indicator {
	width: 14px;
	height: 14px;
	margin: 0;
	cursor: pointer;
	opacity: 0.72;
}

.filter-date-range > p {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--text-secondary);
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
}

.filter-date-range.is-invalid > p {
	color: var(--danger);
}

.filter-date-range.is-invalid input {
	border-color: var(--danger);
}

.filter-dialog__body > .filter-group--type {
	margin-bottom: 12px;
}

.filter-dialog__body > .filter-group--type > summary {
	height: 24px;
	min-height: 24px;
	padding: 0;
}

.filter-option {
	display: flex;
	width: 100%;
	height: 26px;
	min-height: 26px;
	align-items: center;
	gap: 9px;
	color: var(--text-secondary);
	font-size: 12px;
	line-height: 16px;
	transition: color 150ms ease;
}

label.filter-option {
	cursor: pointer;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
	appearance: none;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	margin: 0;
	border: 1px solid var(--text-secondary);
	border-radius: 3px;
	background-color: var(--surface);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 10px 8px;
}

.filter-option input[type="radio"] {
	border-radius: 50%;
}

.filter-option input[type="checkbox"]:checked {
	border-color: #0078fc;
	background-color: #0078fc;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.filter-option input[type="radio"]:checked {
	border: 4px solid #0078fc;
	background-color: var(--surface);
}

.filter-option small {
	margin-left: auto;
	color: inherit;
	font-size: inherit;
	font-weight: 500;
	line-height: inherit;
}

.filter-dialog__footer {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	height: 110px;
	align-items: flex-end;
	padding: 0 17px 20px;
	background: linear-gradient(to bottom, transparent 0%, var(--surface) 65%, var(--surface) 100%);
	pointer-events: none;
}

.filter-dialog__footer .button {
	width: 100%;
	height: 42px;
	min-height: 42px;
	padding: 8px 18px;
	background: #0078fc;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	pointer-events: auto;
}

.content-shell {
	min-height: 60vh;
	padding-block: 64px;
}

.entry + .entry {
	margin-top: 32px;
}

.entry__title {
	font-size: 30px;
}

.entry__content {
	margin-top: 12px;
	color: var(--text-secondary);
}

.button:active {
	background: var(--primary-pressed);
	box-shadow: none;
	transform: translateY(0);
}

@media (min-width: 768px) {
	.button:hover {
		background: var(--primary-hover);
		box-shadow: 0 7px 18px rgb(0 104 217 / 18%);
		transform: translateY(-1px);
	}

	.button--secondary:hover {
		border-color: var(--border-brand);
		background: color-mix(in srgb, var(--secondary-bg) 82%, var(--brand) 18%);
		color: var(--secondary-text);
	}

	:root[data-theme="dark"] .news-card__actions .button--secondary:hover {
		border-color: #47a6ff;
		background: rgb(0 120 252 / 12%);
		color: #47a6ff;
		box-shadow: none;
	}

	.button--outline:hover {
		border-color: var(--border-brand);
		background: var(--selected);
		color: var(--brand);
		box-shadow: none;
	}

	.primary-menu a:hover,
	.theme-toggle:hover,
	.menu-toggle:hover,
	.mobile-search-toggle:hover {
		background: var(--selected);
		color: var(--brand);
	}

	.primary-menu a:hover {
		border-color: var(--interactive-border);
	}

	.header-search:hover {
		border-color: var(--border-brand);
		background: var(--search-option-hover);
		box-shadow: var(--shadow-sm);
	}

	.header-search:hover .header-search__input::placeholder {
		color: var(--brand);
	}

	.primary-menu .current-menu-item > a:hover {
		border-color: transparent;
		background: var(--primary-hover);
		color: #fff;
	}

	.services-menu a:hover {
		border-color: var(--interactive-border);
		background: var(--selected);
		color: var(--brand);
	}

	.services-dropdown__item:hover {
		border-color: var(--interactive-border);
		background: var(--services-dropdown-item-hover);
		box-shadow: var(--shadow-sm);
		transform: translateY(-1px);
	}

	.services-dropdown__item--paid:hover {
		border-color: #b66a00;
		background: #fff1d3;
	}

	:root[data-theme="dark"] .services-dropdown__item--paid:hover {
		border-color: #b98235;
		background: #47371e;
	}

	.services-menu a:hover .service-item__lock {
		color: var(--brand);
	}

	.services-bar__all:hover {
		background: var(--primary-hover);
		box-shadow: none;
		transform: none;
	}

	.theme-toggle:hover,
	.menu-toggle:hover {
		transform: rotate(4deg);
	}

	.hot-topic a:hover {
		background: rgb(255 255 255 / 8%);
		box-shadow:
			inset 0 0 0 1px rgb(255 255 255 / 16%),
			0 7px 18px rgb(0 0 0 / 12%);
		transform: translateY(-1px);
	}

	:root[data-theme="dark"] .hot-topic a:hover {
		background: rgb(255 255 255 / 14%);
		box-shadow:
			inset 0 0 0 1px rgb(255 255 255 / 26%),
			0 8px 20px rgb(0 63 138 / 20%);
	}

	.hot-topic a:hover .hot-topic__meta {
		color: #b0cff0;
	}

	.hot-topic a:hover .hot-topic__number {
		color: var(--brand);
	}

	.hot-topic a:hover .hot-topic__title {
		color: #dceeff;
	}

	:root[data-theme="dark"] .hot-topic a:hover .hot-topic__meta {
		color: rgb(255 255 255 / 86%);
	}

	:root[data-theme="dark"] .hot-topic a:hover .hot-topic__number,
	:root[data-theme="dark"] .hot-topic a:hover .hot-topic__title {
		color: #fff;
	}

	.hot-topics__more:hover {
		border-color: rgb(255 255 255 / 32%);
		background: rgb(255 255 255 / 16%);
		box-shadow: 0 0 6px rgb(0 120 252 / 16%);
	}

	.feed-tab:hover,
	.feed-tabs__more > summary:hover {
		color: var(--brand);
	}

	.feed-tab--threats:hover {
		background: transparent;
	}

	.feed-tab--threats:hover .feed-tab__external {
		background: transparent;
		color: var(--brand);
	}

	.feed-tabs__popover a:hover,
	.mobile-navigation__sublist a:hover {
		background: var(--selected);
		color: var(--brand);
	}

	.feed-chip:not(.is-active):hover {
		border-color: var(--interactive-border);
		background: var(--selected);
		color: var(--brand);
	}

	.feed-chip.is-active:hover {
		border-color: transparent;
		background: color-mix(in srgb, var(--selected) 88%, var(--brand) 12%);
		color: var(--brand);
	}

	:root[data-theme="dark"] .feed-chip.is-active:hover {
		background: rgb(0 120 252 / 28%);
		color: #47a6ff;
	}

	.news-card:hover,
	.popular-card:hover {
		border-color: var(--border-brand);
		box-shadow: var(--shadow-sm);
		transform: translateY(-2px);
	}

	.news-card__title a:hover,
	.popular-card__title a:hover {
		color: var(--primary-hover);
	}

	.popular-card__footer a:hover,
	.popular-news__header a:hover {
		color: var(--brand);
		text-decoration-color: currentcolor;
	}

	.pagination a.page-numbers:hover {
		border-color: var(--border-brand);
		background: var(--selected);
		color: var(--brand);
		transform: translateY(-1px);
	}

	.editorial-card__more:hover {
		color: #075aa9;
	}

	.footer-menu a:hover,
	.site-footer__bottom a:hover {
		color: #fff;
	}

	.mobile-navigation__row:hover {
		border-color: var(--secondary-border);
		background: var(--selected);
		color: var(--brand);
	}

	.filter-dialog__header a:hover {
		color: var(--primary-hover);
	}

	.filter-group > summary:hover {
		background: var(--surface-subtle);
		color: var(--brand);
	}

	label.filter-option:hover {
		color: var(--text);
	}

	.filter-date-range__field input:hover {
		border-color: var(--interactive-border);
		background: var(--surface-subtle);
	}

	.filter-date-range__quick button:not([aria-pressed="true"]):hover {
		border-color: var(--interactive-border);
		background: var(--surface-subtle);
		color: var(--text);
	}
}

@media (max-width: 767px) {
	.feed-filter-toggle {
		position: relative;
	}

	.feed-filter-toggle::before {
		position: absolute;
		inset: -6px;
		content: "";
	}

	.feed-filter-toggle > .ui-icon {
		position: relative;
	}

	.filter-dialog.is-visible::backdrop {
		background: var(--scrim);
	}

	.filter-dialog__surface {
		top: auto;
		right: auto;
		bottom: 0;
		left: 50%;
		width: min(360px, calc(100vw - 30px));
		height: min(603px, calc(100dvh - 64px));
		border-bottom: 0;
		border-radius: 14px 14px 0 0;
		opacity: 0;
		transform: translate(-50%, 24px);
		transform-origin: bottom center;
	}

	.filter-dialog.is-visible .filter-dialog__surface {
		opacity: 1;
		transform: translate(-50%, 0);
	}

	.filter-date-range__field input {
		height: 44px;
		min-height: 44px;
		font-size: 16px;
	}

	.filter-date-range__quick button {
		min-height: 36px;
		padding-inline: 12px;
	}

	.filter-group > summary {
		height: auto;
		min-height: 44px;
	}
}

@media (max-width: 359px) {
	.filter-date-range {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
