.hf-site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

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

.hf-topbar {
	background: var(--hf-topbar-bg);
	color: var(--hf-topbar-text);
	font-size: 0.82rem;
	position: relative;
	z-index: 60;
}

.hf-topbar::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--hf-primary), var(--hf-secondary), var(--hf-primary));
	opacity: 0.85;
}

.hf-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--hf-topbar-h, 42px);
}

.hf-topbar-start,
.hf-topbar-end {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	min-width: 0;
}

.hf-topbar-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	opacity: 0.92;
}

.hf-topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
	opacity: 0.9;
}

.hf-topbar-item .hf-icon {
	color: var(--hf-secondary);
}

.hf-topbar-menu {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.hf-topbar-menu a {
	color: inherit;
	opacity: 0.85;
	position: relative;
}

.hf-topbar-menu a::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background: var(--hf-secondary);
	transition: width 0.25s var(--hf-ease);
}

.hf-topbar-menu a:hover {
	opacity: 1;
	color: #fff;
}

.hf-topbar-menu a:hover::after {
	width: 100%;
}

.hf-topbar-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: inherit;
	opacity: 0.9;
}

.hf-topbar-link:hover {
	color: var(--hf-secondary);
	opacity: 1;
}

.hf-socials-list {
	display: flex;
	align-items: center;
	gap: 0.42rem;
	flex-wrap: wrap;
}

.hf-social {
	display: grid;
	place-items: center;
	width: var(--hf-social-size);
	height: var(--hf-social-size);
	min-width: 32px;
	min-height: 32px;
	border-radius: 12px;
	color: #fff;
	background: var(--hf-social-color, var(--hf-primary));
	position: relative;
	overflow: hidden;
	transition: transform 0.28s var(--hf-ease-out), box-shadow 0.28s var(--hf-ease);
	box-shadow: 0 8px 18px -12px rgba(6, 20, 40, 0.9);
}

.hf-socials--rounded .hf-social { border-radius: 50%; }
.hf-socials--square .hf-social { border-radius: 10px; }

.hf-socials--flat .hf-social {
	background: transparent;
	box-shadow: none;
	color: var(--hf-social-color, var(--hf-primary));
}

.hf-social::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.35), transparent 55%);
	opacity: 0.75;
}

.hf-social-icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
}

.hf-social-icon img {
	width: 62%;
	height: 62%;
	object-fit: contain;
	border-radius: inherit;
}

.hf-social:hover {
	transform: translateY(-3px) scale(1.06);
	box-shadow: 0 14px 24px -12px rgba(6, 20, 40, 0.75);
}

.hf-topbar .hf-social {
	--hf-social-size: 30px;
	background: rgba(255, 255, 255, 0.14);
	box-shadow: none;
}

.hf-topbar .hf-social:hover {
	background: var(--hf-social-color, var(--hf-secondary));
	color: #10203a;
}

.hf-socials-title {
	font-weight: 700;
	margin: 0 0 0.6rem;
	font-size: 0.95rem;
}

.hf-site-header {
	position: sticky;
	top: 0;
	z-index: 55;
	background: var(--hf-header-bg);
	backdrop-filter: blur(14px) saturate(160%);
	-webkit-backdrop-filter: blur(14px) saturate(160%);
	border-bottom: 1px solid var(--hf-border);
	transition: box-shadow 0.3s var(--hf-ease), transform 0.3s var(--hf-ease), background-color 0.3s;
}

.hf-site-header.is-sticky {
	box-shadow: 0 12px 30px -22px rgba(9, 30, 66, 0.9);
}

.hf-site-header.is-hidden {
	transform: translateY(-105%);
}

.hf-header-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.2rem;
	min-height: 86px;
	padding-block: 0.55rem;
}

.hf-header-brand {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-width: 0;
}

.hf-logo {
	display: inline-flex;
	align-items: center;
}

.hf-logo-img {
	max-height: 66px;
	width: auto;
	object-fit: contain;
}

.hf-logo-badge {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	color: #fff;
	background: linear-gradient(140deg, var(--hf-primary), var(--hf-primary-dark));
	box-shadow: 0 12px 22px -14px var(--hf-primary);
	position: relative;
	overflow: hidden;
}

.hf-logo-badge::after {
	content: "";
	position: absolute;
	inset: -40%;
	background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.45), transparent 55%);
	animation: hf-spin 6s linear infinite;
}

.hf-logo-badge .hf-icon {
	position: relative;
	z-index: 1;
}

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

.hf-site-identity {
	min-width: 0;
}

.hf-site-title {
	margin: 0;
	font-size: clamp(0.98rem, 1.5vw, 1.2rem);
	font-weight: 800;
	line-height: 1.5;
}

.hf-site-title a {
	color: var(--hf-text);
}

.hf-site-title a:hover {
	color: var(--hf-primary);
}

.hf-site-description {
	margin: 0;
	font-size: 0.78rem;
	color: var(--hf-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 34ch;
}

.hf-main-nav {
	min-width: 0;
	display: flex;
	justify-content: center;
}

.hf-menu {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	flex-wrap: wrap;
}

.hf-menu-item {
	position: relative;
}

.hf-menu-item > a {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.62em 0.85em;
	border-radius: 10px;
	color: var(--hf-text);
	font-weight: 600;
	font-size: 0.93rem;
	white-space: nowrap;
	position: relative;
	transition: color 0.2s var(--hf-ease), background-color 0.2s var(--hf-ease);
}

.hf-menu-item > a::before {
	content: "";
	position: absolute;
	inset-inline: 0.85em;
	bottom: 0.28em;
	height: 2.5px;
	border-radius: 3px;
	background: var(--hf-secondary);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s var(--hf-ease-out);
}

.hf-menu-item > a:hover,
.hf-menu-item.current-menu-item > a,
.hf-menu-item.current-menu-ancestor > a {
	color: var(--hf-primary);
	background: rgba(11, 122, 62, 0.08);
}

.hf-menu-item > a:hover::before,
.hf-menu-item.current-menu-item > a::before,
.hf-menu-item.current-menu-ancestor > a::before {
	transform: scaleX(1);
}

.hf-menu-caret {
	display: inline-flex;
	transition: transform 0.25s var(--hf-ease);
	opacity: 0.7;
}

.hf-menu-item:hover > a .hf-menu-caret {
	transform: rotate(180deg);
}

.hf-menu-toggle {
	display: none;
}

.hf-sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 0;
	min-width: 240px;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius);
	box-shadow: var(--hf-shadow-lg);
	padding: 0.5rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s var(--hf-ease), transform 0.25s var(--hf-ease-out), visibility 0.25s;
	z-index: 70;
}

.hf-menu-item:hover > .hf-sub-menu,
.hf-menu-item:focus-within > .hf-sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.hf-sub-menu .hf-menu-item > a {
	border-radius: 8px;
	font-size: 0.9rem;
	padding: 0.55em 0.8em;
}

.hf-sub-menu .hf-sub-menu {
	top: -0.5rem;
	inset-inline-start: 100%;
	inset-inline-end: auto;
}

.hf-menu-item--mega {
	position: static;
}

.hf-menu-item--mega > .hf-sub-menu {
	inset-inline: 0;
	width: auto;
	min-width: 0;
	padding: 1.1rem;
}

.hf-mega-panel {
	list-style: none;
}

.hf-mega-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem;
}

.hf-mega-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 0.8rem;
	border-radius: var(--hf-radius-sm);
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-border);
	transition: transform 0.25s var(--hf-ease), box-shadow 0.25s var(--hf-ease), border-color 0.25s;
}

.hf-mega-item:hover {
	transform: translateY(-3px);
	border-color: var(--hf-committee-color, var(--hf-primary));
	box-shadow: 0 14px 24px -18px var(--hf-committee-color, var(--hf-primary));
}

.hf-mega-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	color: #fff;
	background: var(--hf-committee-color, var(--hf-primary));
	flex: 0 0 38px;
}

.hf-mega-text {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--hf-text);
}

.hf-menu-notice {
	font-size: 0.8rem;
	color: var(--hf-text-muted);
	background: rgba(245, 179, 1, 0.12);
	border: 1px dashed var(--hf-secondary);
	padding: 0.5rem 0.8rem;
	border-radius: var(--hf-radius-sm);
	margin: 0.6rem 0 0;
}

.hf-header-tools {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.hf-header-tools .hf-socials--header {
	display: none;
}

.hf-header-cta,
.hf-header-login {
	white-space: nowrap;
}

.hf-theme-toggle .hf-theme-icon--dark { display: none; }
[data-theme="dark"] .hf-theme-toggle .hf-theme-icon--light { display: none; }
[data-theme="dark"] .hf-theme-toggle .hf-theme-icon--dark { display: inline-flex; }

.hf-theme-toggle {
	position: relative;
	overflow: hidden;
}

.hf-theme-toggle::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(circle at 50% 120%, var(--hf-secondary), transparent 65%);
	opacity: 0;
	transition: opacity 0.3s;
}

.hf-theme-toggle:hover::after {
	opacity: 0.35;
}

.hf-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
}

.hf-burger-line {
	display: block;
	width: 22px;
	height: 2.4px;
	border-radius: 3px;
	background: currentColor;
	transition: transform 0.3s var(--hf-ease), opacity 0.2s;
}

body.hf-menu-open .hf-burger-line:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
body.hf-menu-open .hf-burger-line:nth-child(2) { opacity: 0; }
body.hf-menu-open .hf-burger-line:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.hf-reading-progress {
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: 3px;
	background: transparent;
	z-index: 3;
}

.hf-reading-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--hf-secondary), var(--hf-primary));
	border-radius: 0 3px 3px 0;
	transition: width 0.1s linear;
}

.hf-search-overlay {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	background: var(--hf-surface);
	border-bottom: 1px solid var(--hf-border);
	box-shadow: var(--hf-shadow-lg);
	padding: 1.4rem 0 1.6rem;
	animation: hf-slide-down 0.35s var(--hf-ease-out);
	z-index: 80;
}

@keyframes hf-slide-down {
	from { opacity: 0; transform: translateY(-14px); }
	to { opacity: 1; transform: translateY(0); }
}

.hf-search-form {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	background: var(--hf-surface-2);
	border: 1.5px solid var(--hf-border-strong);
	border-radius: 999px;
	padding: 0.4rem 1.1rem 0.4rem 0.4rem;
}

.hf-search-form > .hf-icon {
	color: var(--hf-primary);
}

.hf-search-form input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 0.75em 0.2em;
	min-width: 0;
}

.hf-search-form input:focus {
	outline: none;
}

.hf-search-close {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: var(--hf-text-muted);
	transition: background-color 0.2s, color 0.2s;
}

.hf-search-close:hover {
	background: var(--hf-surface-3);
	color: var(--hf-danger);
}

.hf-search-hints {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.9rem;
	font-size: 0.84rem;
	color: var(--hf-text-muted);
}

.hf-search-hints a {
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-border);
	border-radius: 999px;
	padding: 0.15em 0.7em;
	color: var(--hf-text-muted);
}

.hf-search-hints a:hover {
	border-color: var(--hf-primary);
	color: var(--hf-primary);
}

.hf-mobile-panel {
	position: fixed;
	inset-block: 0;
	inset-inline-end: 0;
	width: min(88vw, 380px);
	background: var(--hf-surface);
	z-index: 120;
	transform: translateX(105%);
	transition: transform 0.42s var(--hf-ease-out);
	display: flex;
	flex-direction: column;
	box-shadow: -20px 0 60px -30px rgba(6, 20, 40, 0.8);
	visibility: hidden;
}

body.hf-rtl .hf-mobile-panel {
	inset-inline-end: auto;
	inset-inline-start: 0;
	transform: translateX(-105%);
}

body.hf-menu-open .hf-mobile-panel {
	transform: translateX(0) !important;
	visibility: visible;
}

.hf-mobile-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(6, 14, 28, 0.55);
	backdrop-filter: blur(3px);
	z-index: 110;
	animation: hf-fade-in 0.3s var(--hf-ease);
}

.hf-mobile-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid var(--hf-border);
	background: linear-gradient(140deg, var(--hf-primary), var(--hf-primary-dark));
	color: #fff;
}

.hf-mobile-brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 800;
	min-width: 0;
}

.hf-mobile-brand span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hf-mobile-logo {
	max-height: 44px;
	width: auto;
}

.hf-mobile-close {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	border-color: transparent;
}

.hf-mobile-close:hover {
	background: rgba(255, 255, 255, 0.32);
	color: #fff;
}

.hf-mobile-panel-body {
	flex: 1;
	overflow-y: auto;
	padding: 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 1.3rem;
	-webkit-overflow-scrolling: touch;
}

.hf-mobile-search {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-border-strong);
	border-radius: 999px;
	padding: 0.25rem 0.9rem 0.25rem 0.3rem;
}

.hf-mobile-search input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 0.6em 0;
	min-width: 0;
}

.hf-mobile-search input:focus { outline: none; }

.hf-mobile-search button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--hf-primary);
	color: #fff;
}

.hf-menu--mobile {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.hf-menu--mobile .hf-menu-item > a {
	justify-content: space-between;
	border-radius: 10px;
	padding: 0.75em 0.9em;
	font-size: 0.95rem;
	border-bottom: 1px solid var(--hf-border);
}

.hf-menu--mobile .hf-sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	border: 0;
	background: var(--hf-surface-2);
	border-radius: 10px;
	margin: 0.3rem 0 0.6rem;
	display: none;
	padding-inline-start: 0.6rem;
}

.hf-menu--mobile .hf-menu-item.is-open > .hf-sub-menu {
	display: block;
	animation: hf-fade-in 0.25s var(--hf-ease);
}

.hf-menu--mobile .hf-menu-toggle {
	display: grid;
	place-items: center;
	position: absolute;
	inset-inline-start: 0.4rem;
	top: 0.55rem;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	color: var(--hf-text-muted);
	background: var(--hf-surface-2);
}

.hf-menu--mobile .hf-menu-item.is-open > .hf-menu-toggle .hf-icon {
	transform: rotate(180deg);
}

.hf-menu--mobile .hf-menu-item {
	position: relative;
}

.hf-mobile-title {
	font-weight: 800;
	margin: 0 0 0.6rem;
	font-size: 0.95rem;
	color: var(--hf-text-muted);
}

.hf-mobile-committee-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}

.hf-mobile-committee {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.7rem;
	border-radius: 12px;
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-border);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hf-text);
}

.hf-mobile-committee-icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	color: #fff;
	background: var(--hf-committee-color, var(--hf-primary));
	flex: 0 0 30px;
}

.hf-mobile-contact {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.9rem;
}

.hf-mobile-contact a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--hf-text-muted);
}

.hf-mobile-footer {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	padding-top: 0.6rem;
	border-top: 1px solid var(--hf-border);
}

.hf-ticker {
	position: relative;
	background: var(--hf-surface);
	border-block: 1px solid var(--hf-border);
	overflow: hidden;
	z-index: 20;
}

.hf-ticker::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 220px;
	background: linear-gradient(270deg, transparent, var(--hf-surface) 65%);
	z-index: 3;
	pointer-events: none;
}

.hf-ticker-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 52px;
}

.hf-ticker-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex: 0 0 auto;
	background: linear-gradient(135deg, var(--hf-danger), #8f1616);
	color: #fff;
	padding: 0.42em 1.1em;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.82rem;
	position: relative;
	z-index: 4;
	box-shadow: 0 10px 20px -14px var(--hf-danger);
}

.hf-ticker-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: hf-blink 1.1s infinite;
}

@keyframes hf-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.25; }
}

.hf-ticker-viewport {
	flex: 1;
	overflow: hidden;
	position: relative;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.hf-ticker-track--scroll {
	display: flex;
	align-items: center;
	gap: 2.4rem;
	width: max-content;
	animation: hf-ticker-scroll var(--hf-ticker-duration, 40s) linear infinite;
}

.hf-ticker:hover .hf-ticker-track--scroll,
.hf-ticker:focus-within .hf-ticker-track--scroll {
	animation-play-state: paused;
}

@keyframes hf-ticker-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(50%); }
}

.hf-ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--hf-text);
	font-size: 0.9rem;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s;
}

.hf-ticker-item:hover {
	color: var(--hf-primary);
}

.hf-ticker-bullet {
	display: inline-grid;
	place-items: center;
	color: var(--hf-secondary);
}

.hf-ticker-date {
	font-size: 0.75rem;
	color: var(--hf-text-faint);
	background: var(--hf-surface-2);
	border-radius: 999px;
	padding: 0.1em 0.6em;
	border: 1px solid var(--hf-border);
}

.hf-ticker-all {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--hf-primary);
	position: relative;
	z-index: 4;
	background: var(--hf-surface);
	padding-inline-start: 0.8rem;
}

.hf-ticker-slider {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	overflow: hidden;
	min-height: 44px;
}

.hf-ticker-slider .hf-ticker-track {
	flex: 1;
	position: relative;
	height: 44px;
	overflow: hidden;
}

.hf-ticker-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s var(--hf-ease), transform 0.5s var(--hf-ease-out);
	pointer-events: none;
}

.hf-ticker-slide.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.hf-ticker-slide a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--hf-text);
	font-size: 0.92rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hf-ticker-time {
	flex: 0 0 auto;
	font-size: 0.74rem;
	background: rgba(11, 122, 62, 0.12);
	color: var(--hf-primary);
	border-radius: 999px;
	padding: 0.15em 0.6em;
	font-weight: 700;
}

.hf-ticker-controls {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.hf-ticker-controls button {
	display: grid;
	place-items: center;
	width: 26px;
	height: 20px;
	border-radius: 6px;
	color: var(--hf-text-muted);
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-border);
}

.hf-ticker-controls button:hover {
	color: #fff;
	background: var(--hf-primary);
}

.hf-slider {
	position: relative;
	background: var(--hf-accent);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.hf-slider-viewport {
	position: relative;
	height: var(--hf-slider-height);
	max-height: 78vh;
	min-height: 420px;
}

.hf-slider-track,
.hf-slide {
	position: absolute;
	inset: 0;
}

.hf-slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s var(--hf-ease), visibility 0.9s;
	display: flex;
	align-items: flex-end;
}

.hf-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.hf-slide-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hf-slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
}

.hf-slider--kenburns .hf-slide.is-active .hf-slide-img {
	animation: hf-kenburns 12s var(--hf-ease) forwards;
}

@keyframes hf-kenburns {
	from { transform: scale(1.02) translate3d(0, 0, 0); }
	to { transform: scale(1.16) translate3d(1.5%, -1.5%, 0); }
}

.hf-slide-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(4, 10, 22, 0.94) 4%, rgba(4, 10, 22, 0.6) 42%, rgba(4, 10, 22, 0.15) 78%),
		linear-gradient(to left, rgba(4, 10, 22, 0.75), transparent 60%);
}

.hf-slide-lines {
	position: absolute;
	inset: 0;
	opacity: 0.5;
}

.hf-slide-placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: rgba(255, 255, 255, 0.16);
	background: linear-gradient(140deg, var(--hf-primary-dark), var(--hf-accent));
}

.hf-slide-content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-bottom: clamp(2rem, 6vw, 4.5rem);
	padding-top: clamp(2rem, 6vw, 4rem);
}

.hf-slide-body {
	max-width: 46rem;
}

.hf-slide-tags {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 0.9rem;
}

.hf-slide-tags .hf-badge--primary {
	background: var(--hf-secondary);
	color: #22190a;
	box-shadow: 0 10px 24px -16px var(--hf-secondary);
}

.hf-slide-title {
	color: #fff;
	font-size: clamp(1.35rem, 3.2vw, 2.5rem);
	line-height: 1.5;
	margin-bottom: 0.7rem;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.hf-slide-title a {
	color: inherit;
	background-image: linear-gradient(var(--hf-secondary), var(--hf-secondary));
	background-repeat: no-repeat;
	background-size: 0% 3px;
	background-position: 100% 100%;
	transition: background-size 0.4s var(--hf-ease);
	padding-bottom: 2px;
}

.hf-slide-title a:hover {
	color: #fff;
	background-size: 100% 3px;
}

.hf-slide-lead {
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(0.9rem, 1.3vw, 1.03rem);
	line-height: 2;
	margin-bottom: 1rem;
	max-width: 62ch;
}

.hf-slide-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.2rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.82rem;
	margin-bottom: 1.3rem;
}

.hf-slide-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.hf-slide.is-active .hf-slide-tags,
.hf-slide.is-active .hf-slide-title,
.hf-slide.is-active .hf-slide-lead,
.hf-slide.is-active .hf-slide-meta,
.hf-slide.is-active .hf-slide-actions {
	animation: hf-slide-up 0.75s var(--hf-ease-out) both;
}

.hf-slide.is-active .hf-slide-title { animation-delay: 0.08s; }
.hf-slide.is-active .hf-slide-lead { animation-delay: 0.16s; }
.hf-slide.is-active .hf-slide-meta { animation-delay: 0.22s; }
.hf-slide.is-active .hf-slide-actions { animation-delay: 0.28s; }

@keyframes hf-slide-up {
	from { opacity: 0; transform: translateY(26px); }
	to { opacity: 1; transform: translateY(0); }
}

.hf-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(6px);
	transition: background-color 0.25s, transform 0.25s var(--hf-ease);
}

.hf-slider-arrow:hover {
	background: var(--hf-secondary);
	color: #22190a;
	transform: translateY(-50%) scale(1.08);
}

.hf-slider-arrow--next { inset-inline-end: 1.2rem; }
.hf-slider-arrow--prev { inset-inline-start: 1.2rem; }

.hf-slider-progress {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.16);
	z-index: 5;
}

.hf-slider-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--hf-secondary), var(--hf-primary-light));
}

.hf-slider-bottom {
	position: relative;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 0.9rem 1.1rem;
	flex-wrap: wrap;
}

.hf-slider-dots {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.hf-slider-dot {
	width: 34px;
	height: 5px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.28);
	position: relative;
	overflow: hidden;
	transition: width 0.3s var(--hf-ease), background-color 0.3s;
}

.hf-slider-dot-index {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 0;
}

.hf-slider-dot.is-active {
	width: 62px;
	background: rgba(255, 255, 255, 0.3);
}

.hf-slider-dot.is-active::after {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	background: var(--hf-secondary);
	animation: hf-dot-progress linear forwards;
	animation-duration: inherit;
}

.hf-slider-playlist {
	display: flex;
	gap: 0.5rem;
	flex: 1;
	overflow: hidden;
}

.hf-playlist-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1 1 0;
	min-width: 0;
	text-align: right;
	padding: 0.5rem 0.8rem;
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.72);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background-color 0.25s, color 0.25s, transform 0.25s var(--hf-ease);
}

.hf-playlist-item:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	transform: translateY(-2px);
}

.hf-playlist-item.is-active {
	background: rgba(245, 179, 1, 0.18);
	border-color: rgba(245, 179, 1, 0.55);
	color: #fff;
}

.hf-playlist-num {
	font-weight: 800;
	font-size: 0.78rem;
	color: var(--hf-secondary);
}

.hf-playlist-title {
	font-size: 0.82rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hf-slider-pause {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.24);
}

.hf-slider-pause:hover {
	background: rgba(255, 255, 255, 0.24);
}

.hf-slider-bg-decor {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.hf-decor-ball {
	position: absolute;
	inset-block-start: -120px;
	inset-inline-end: -120px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(245, 179, 1, 0.28), transparent 62%);
	filter: blur(6px);
	animation: hf-float 9s ease-in-out infinite;
}

.hf-decor-ring {
	position: absolute;
	inset-block-end: -160px;
	inset-inline-start: -120px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	border: 2px dashed rgba(255, 255, 255, 0.14);
	animation: hf-spin 40s linear infinite;
}

@keyframes hf-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(22px); }
}

body.hf-header-transparent .hf-site-header {
	background: transparent;
	border-bottom-color: transparent;
	position: absolute;
	inset-inline: 0;
}

body.hf-header-transparent .hf-site-header.is-sticky {
	position: fixed;
	background: var(--hf-header-bg);
	border-bottom-color: var(--hf-border);
}

body.hf-header-transparent .hf-menu-item > a,
body.hf-header-transparent .hf-site-title a {
	color: #fff;
}

body.hf-header-transparent .hf-icon-btn {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
}

body.hf-header-transparent .hf-site-description {
	color: rgba(255, 255, 255, 0.75);
}

.hf-header-center .hf-header-inner {
	grid-template-columns: 1fr;
	justify-items: center;
	gap: 0.5rem;
	text-align: center;
}

.hf-header-center .hf-header-brand {
	flex-direction: column;
	text-align: center;
}

.hf-header-center .hf-header-tools {
	position: absolute;
	inset-inline-end: clamp(0.85rem, 2.4vw, 1.75rem);
	top: 1rem;
}

.hf-header-split .hf-header-inner {
	grid-template-columns: 1fr auto 1fr;
}

.hf-header-split .hf-header-brand {
	justify-self: center;
	grid-column: 2;
}

.hf-header-split .hf-main-nav {
	grid-column: 1;
	justify-content: flex-start;
}

.hf-header-split .hf-header-tools {
	grid-column: 3;
	justify-content: flex-end;
}

.hf-header--sticky {
	position: sticky;
	top: 0;
	z-index: 900;
}

.hf-header--sticky.is-hidden {
	transform: translateY(-100%);
}

.hf-search-toggle {
	position: relative;
}

.hf-search-toggle::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 16px;
	border: 1px solid transparent;
	transition: border-color 0.25s;
}

.hf-search-toggle[aria-expanded="true"]::after {
	border-color: var(--hf-primary);
}

.hf-mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.hf-mobile-committees {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px dashed var(--hf-border);
}

.hf-mobile-committees-title {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0 0.6rem;
	font-size: 0.85rem;
	font-weight: 800;
	color: var(--hf-text-muted);
}

.hf-menu--fallback .hf-menu-item > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.hf-menu-text {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.hf-section-titles {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.hf-topbar-date,
.hf-topbar-weather,
.hf-topbar-clock {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
}

.hf-ticker-title {
	font-weight: 800;
}

.hf-ticker-text {
	min-width: 0;
}

.hf-slider-pause-icon {
	display: inline-grid;
	place-items: center;
}
