.hf-site-footer {
	position: relative;
	margin-top: clamp(2rem, 5vw, 3.5rem);
	background: linear-gradient(180deg, #071a2c, #05121f 65%, #04101a);
	color: #dbe4f1;
	overflow: hidden;
}

.hf-footer-wave {
	display: block;
	width: 100%;
	height: 70px;
	color: #071a2c;
	margin-bottom: -1px;
}

.hf-footer-main {
	padding-block: clamp(1.8rem, 4vw, 3rem);
	position: relative;
}

.hf-footer-columns {
	display: grid;
	gap: clamp(1.4rem, 3vw, 2.6rem);
}

.hf-footer-columns--1 { grid-template-columns: minmax(0, 1fr); }
.hf-footer-columns--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hf-footer-columns--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hf-footer-columns--4 { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; }

.hf-footer-col .hf-widget {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.hf-site-footer .hf-widget-title {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

.hf-site-footer .hf-widget-title::after {
	background: linear-gradient(90deg, var(--hf-secondary), transparent);
}

.hf-footer-about p {
	font-size: 0.9rem;
	line-height: 2.1;
	color: rgba(219, 228, 241, 0.78);
}

.hf-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.9rem;
}

.hf-footer-logo img {
	max-height: 74px;
	width: auto;
	filter: brightness(1.05);
}

.hf-footer-logo--text {
	color: #fff;
	font-weight: 800;
	font-size: 1.02rem;
}

.hf-footer-links,
.hf-footer-news {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.hf-footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: rgba(219, 228, 241, 0.78);
	font-size: 0.89rem;
	transition: color 0.22s, transform 0.22s var(--hf-ease);
}

.hf-footer-links a:hover {
	color: var(--hf-secondary);
	transform: translateX(-4px);
}

.hf-footer-news li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.hf-footer-news a {
	color: rgba(219, 228, 241, 0.88);
	font-size: 0.87rem;
	line-height: 1.8;
}

.hf-footer-news a:hover {
	color: var(--hf-secondary);
}

.hf-footer-news time {
	font-size: 0.73rem;
	color: rgba(219, 228, 241, 0.5);
}

.hf-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	font-size: 0.89rem;
}

.hf-footer-contact li {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	color: rgba(219, 228, 241, 0.8);
}

.hf-footer-contact .hf-icon {
	color: var(--hf-secondary);
	margin-top: 0.35rem;
	flex: 0 0 auto;
}

.hf-footer-contact a {
	color: inherit;
}

.hf-footer-contact a:hover {
	color: var(--hf-secondary);
}

.hf-newsletter {
	margin-top: 1.1rem;
}

.hf-newsletter input {
	width: 100%;
	padding: 0.7em 1em;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
	margin-bottom: 0.5rem;
}

.hf-newsletter input::placeholder {
	color: rgba(219, 228, 241, 0.5);
}

.hf-newsletter input:focus {
	outline: none;
	border-color: var(--hf-secondary);
	box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.14);
}

.hf-newsletter .hf-btn {
	width: 100%;
}

.hf-newsletter-msg {
	font-size: 0.8rem;
	margin: 0.5rem 0 0;
	min-height: 1.2em;
	color: var(--hf-secondary);
}

.hf-socials--footer .hf-social {
	background: rgba(255, 255, 255, 0.1);
}

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

.hf-site-footer .hf-socials-title {
	color: #fff;
}

.hf-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(3, 10, 18, 0.6);
}

.hf-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	flex-wrap: wrap;
	padding-block: 1rem;
	font-size: 0.84rem;
}

.hf-copyright,
.hf-credit {
	margin: 0;
	color: rgba(219, 228, 241, 0.72);
}

.hf-copyright-year {
	color: var(--hf-secondary);
	font-weight: 700;
}

.hf-credit a {
	color: #fff;
	font-weight: 700;
	position: relative;
}

.hf-credit a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -3px;
	height: 2px;
	border-radius: 2px;
	background: var(--hf-secondary);
	transform: scaleX(0);
	transition: transform 0.3s var(--hf-ease);
}

.hf-credit a:hover {
	color: var(--hf-secondary);
}

.hf-credit a:hover::after {
	transform: scaleX(1);
}

.hf-credit-dot {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--hf-secondary);
	margin-inline: 0.5rem;
	vertical-align: middle;
}

.hf-footer-menu {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.hf-footer-menu a {
	color: rgba(219, 228, 241, 0.72);
	font-size: 0.84rem;
}

.hf-footer-menu a:hover {
	color: var(--hf-secondary);
}

.hf-floating-socials {
	position: fixed;
	inset-block-start: 50%;
	transform: translateY(-50%);
	z-index: 70;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	transition: transform 0.4s var(--hf-ease-out), opacity 0.3s;
}

.hf-floating-socials--left { inset-inline-start: 0.6rem; }
.hf-floating-socials--right { inset-inline-end: 0.6rem; }

.hf-floating-toggle {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #fff;
	background: var(--hf-primary);
	box-shadow: var(--hf-shadow);
	margin-bottom: 0.2rem;
}

.hf-floating-socials .hf-socials-list {
	flex-direction: column;
	gap: 0.45rem;
}

.hf-floating-socials .hf-social {
	box-shadow: 0 10px 22px -14px rgba(4, 12, 24, 0.9);
}

.hf-floating-socials--labels .hf-social {
	width: auto;
	padding-inline: 0.7em;
	border-radius: 999px;
	gap: 0.4rem;
}

.hf-floating-socials.is-collapsed .hf-socials {
	opacity: 0;
	transform: translateY(10px) scale(0.9);
	pointer-events: none;
}

.hf-floating-socials .hf-socials {
	transition: opacity 0.3s var(--hf-ease), transform 0.3s var(--hf-ease);
}

.hf-back-to-top {
	position: fixed;
	inset-block-end: 1.2rem;
	inset-inline-end: 1.2rem;
	z-index: 75;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(140deg, var(--hf-primary), var(--hf-primary-dark));
	box-shadow: 0 16px 30px -18px var(--hf-primary);
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px) scale(0.9);
	transition: opacity 0.3s var(--hf-ease), transform 0.35s var(--hf-ease-out), visibility 0.3s;
}

.hf-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.hf-back-to-top:hover {
	transform: translateY(-4px) scale(1.05);
}

.hf-back-to-top::before {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid rgba(11, 122, 62, 0.35);
	animation: hf-ring 2.8s var(--hf-ease) infinite;
}

.hf-preloader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 1rem;
	background: linear-gradient(160deg, #071a2c, #062a1c);
	color: #fff;
	transition: opacity 0.5s var(--hf-ease), visibility 0.5s;
}

.hf-preloader-ball {
	color: var(--hf-secondary);
}

.hf-preloader-arc {
	transform-origin: 50% 50%;
	animation: hf-spin 1.1s linear infinite;
}

.hf-preloader-text {
	font-size: 0.9rem;
	opacity: 0.8;
	letter-spacing: 0.02em;
}

.hf-preloader.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.hf-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: grid;
	grid-template-rows: 1fr auto;
	background: rgba(4, 10, 20, 0.94);
	backdrop-filter: blur(6px);
	animation: hf-fade-in 0.3s var(--hf-ease);
}

.hf-lightbox[hidden] {
	display: none;
}

.hf-lightbox-stage {
	display: grid;
	place-items: center;
	padding: clamp(1rem, 4vw, 3rem);
	min-height: 0;
}

.hf-lightbox-media {
	max-width: 100%;
	max-height: 100%;
	display: grid;
	place-items: center;
	animation: hf-zoom-in 0.4s var(--hf-ease-out);
}

.hf-lightbox-media img,
.hf-lightbox-media iframe,
.hf-lightbox-media video {
	max-width: min(1100px, 92vw);
	max-height: 78vh;
	border-radius: var(--hf-radius-sm);
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
	background: #000;
}

.hf-lightbox-media iframe {
	width: min(1100px, 92vw);
	aspect-ratio: 16 / 9;
	height: auto;
}

.hf-lightbox-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem clamp(1rem, 4vw, 2.4rem) calc(1rem + env(safe-area-inset-bottom));
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.88rem;
}

.hf-lightbox-caption {
	margin: 0;
	max-width: 70ch;
}

.hf-lightbox-counter {
	flex: 0 0 auto;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	padding: 0.15em 0.85em;
	font-weight: 700;
}

.hf-lightbox-close,
.hf-lightbox-nav {
	position: absolute;
	z-index: 3;
	display: grid;
	place-items: center;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.24);
	backdrop-filter: blur(4px);
	transition: background-color 0.25s, transform 0.25s var(--hf-ease);
}

.hf-lightbox-close {
	inset-block-start: 1rem;
	inset-inline-end: 1rem;
	width: 46px;
	height: 46px;
	border-radius: 50%;
}

.hf-lightbox-nav {
	inset-block-start: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
}

.hf-lightbox-prev { inset-inline-start: 1rem; }
.hf-lightbox-next { inset-inline-end: 1rem; }

.hf-lightbox-close:hover,
.hf-lightbox-nav:hover {
	background: var(--hf-secondary);
	color: #22190a;
	transform: scale(1.08);
}

.hf-lightbox-nav:hover {
	transform: translateY(-50%) scale(1.08);
}

@keyframes hf-zoom-in {
	from { opacity: 0; transform: scale(0.94); }
	to { opacity: 1; transform: scale(1); }
}

.hf-page-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: linear-gradient(150deg, var(--hf-primary-dark), #071a2c 75%);
	color: #fff;
	padding: clamp(1.8rem, 5vw, 3.2rem) 0;
}

.hf-page-hero .hf-breadcrumb,
.hf-page-hero .hf-breadcrumb a {
	color: rgba(255, 255, 255, 0.78);
}

.hf-page-hero-title {
	color: #fff;
	margin: 0.4rem 0 0;
	font-size: clamp(1.4rem, 3.2vw, 2.3rem);
}

.hf-page-hero-sub {
	color: rgba(255, 255, 255, 0.82);
	max-width: 76ch;
	margin: 0.7rem 0 0;
	line-height: 2.1;
}

.hf-about {
	padding-block: clamp(1.6rem, 4vw, 3rem);
}

.hf-about-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(1.2rem, 3vw, 2.4rem);
	align-items: center;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius-lg);
	padding: clamp(1.1rem, 3vw, 2rem);
	box-shadow: var(--hf-shadow);
	margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

.hf-about-text p {
	line-height: 2.2;
	color: var(--hf-text-muted);
}

.hf-about-figure {
	position: relative;
	margin: 0;
	border-radius: var(--hf-radius);
	overflow: hidden;
}

.hf-about-figure img {
	width: 100%;
	display: block;
	transition: transform 0.8s var(--hf-ease-out);
}

.hf-about-figure:hover img {
	transform: scale(1.05);
}

.hf-about-figure-frame {
	position: absolute;
	inset: 0.7rem;
	border: 2px solid rgba(255, 255, 255, 0.55);
	border-radius: calc(var(--hf-radius) - 6px);
	pointer-events: none;
}

.hf-about-values {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

.hf-value-card {
	position: relative;
	padding: 1.4rem 1.3rem;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius);
	overflow: hidden;
	transition: transform 0.35s var(--hf-ease-out), box-shadow 0.35s;
}

.hf-value-card::after {
	content: "";
	position: absolute;
	inset-block-end: -70px;
	inset-inline-start: -70px;
	width: 170px;
	height: 170px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(11, 122, 62, 0.16), transparent 68%);
	transition: transform 0.5s var(--hf-ease-out);
}

.hf-value-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--hf-shadow-lg);
}

.hf-value-card:hover::after {
	transform: scale(1.35);
}

.hf-value-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 17px;
	color: #fff;
	background: linear-gradient(140deg, var(--hf-primary), var(--hf-primary-dark));
	margin-bottom: 0.9rem;
	box-shadow: 0 14px 26px -18px var(--hf-primary);
}

.hf-value-card h2 {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}

.hf-value-card p {
	color: var(--hf-text-muted);
	font-size: 0.92rem;
	line-height: 2.1;
	margin: 0;
}

.hf-about-staff,
.hf-about-committees {
	margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

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

.hf-staff-card {
	position: relative;
	text-align: center;
	padding: 1.3rem 1rem 1.2rem;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius);
	overflow: hidden;
	transition: transform 0.35s var(--hf-ease-out), box-shadow 0.35s;
}

.hf-staff-card::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--hf-committee-color, var(--hf-primary)), var(--hf-secondary));
}

.hf-staff-card:hover {
	transform: translateY(-7px);
	box-shadow: var(--hf-shadow-lg);
}

.hf-staff-photo {
	display: block;
	width: 108px;
	height: 108px;
	margin: 0 auto 0.9rem;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--hf-surface);
	box-shadow: 0 0 0 3px var(--hf-committee-color, var(--hf-primary));
	background: var(--hf-surface-3);
}

.hf-staff-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hf-staff-photo-fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: var(--hf-text-faint);
}

.hf-staff-name {
	font-size: 1.02rem;
	margin-bottom: 0.2rem;
}

.hf-staff-role {
	margin: 0 0 0.4rem;
	color: var(--hf-committee-color, var(--hf-primary));
	font-size: 0.84rem;
	font-weight: 700;
}

.hf-staff-group {
	display: inline-block;
	font-size: 0.73rem;
	color: var(--hf-text-faint);
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-border);
	border-radius: 999px;
	padding: 0.1em 0.7em;
	margin-bottom: 0.6rem;
}

.hf-staff-bio {
	font-size: 0.84rem;
	color: var(--hf-text-muted);
	line-height: 1.95;
}

.hf-staff-contact {
	display: flex;
	justify-content: center;
	gap: 0.8rem;
	margin-top: 0.7rem;
	font-size: 0.8rem;
}

.hf-staff-contact a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: var(--hf-text-faint);
}

.hf-staff-contact a:hover {
	color: var(--hf-primary);
}

.hf-contact {
	padding-block: clamp(1.6rem, 4vw, 3rem);
}

.hf-contact-info-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.9rem;
	margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.hf-contact-info-card {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius);
	box-shadow: 0 6px 18px -16px rgba(9, 30, 66, 0.7);
	transition: transform 0.3s var(--hf-ease), box-shadow 0.3s, border-color 0.3s;
}

.hf-contact-info-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--hf-shadow);
	border-color: var(--hf-primary);
}

.hf-contact-info-card--wide {
	grid-column: span 2;
}

.hf-contact-info-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 14px;
	color: #fff;
	background: linear-gradient(140deg, var(--hf-primary), var(--hf-primary-dark));
}

.hf-contact-info-label {
	display: block;
	font-size: 0.76rem;
	color: var(--hf-text-faint);
	font-weight: 700;
}

.hf-contact-info-value {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hf-text);
	line-height: 1.8;
}

a.hf-contact-info-value:hover {
	color: var(--hf-primary);
}

.hf-contact-main {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(1.2rem, 3vw, 2.2rem);
	align-items: start;
}

.hf-contact-form-col,
.hf-contact-side-col {
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius-lg);
	padding: clamp(1.1rem, 2.6vw, 1.9rem);
	box-shadow: var(--hf-shadow);
}

.hf-contact-side-col {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.hf-department-cards {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hf-department-card {
	display: flex;
	gap: 0.85rem;
	padding: 0.9rem 1rem;
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius-sm);
	transition: transform 0.3s var(--hf-ease), border-color 0.3s, box-shadow 0.3s;
}

.hf-department-card:hover {
	transform: translateX(-4px);
	border-color: var(--hf-primary);
	box-shadow: var(--hf-shadow);
}

.hf-department-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 13px;
	color: #fff;
	background: linear-gradient(140deg, var(--hf-primary), var(--hf-primary-dark));
}

.hf-department-body h3 {
	font-size: 0.98rem;
	margin-bottom: 0.2rem;
}

.hf-department-body p {
	margin: 0 0 0.4rem;
	font-size: 0.83rem;
	color: var(--hf-text-muted);
	line-height: 1.9;
}

.hf-department-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
	font-size: 0.82rem;
}

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

.hf-department-contact a:hover {
	color: var(--hf-primary);
}

.hf-contact-map {
	margin-top: clamp(1.4rem, 3vw, 2.2rem);
}

.hf-map-frame {
	border-radius: var(--hf-radius);
	overflow: hidden;
	border: 1px solid var(--hf-border);
	box-shadow: var(--hf-shadow);
	min-height: 320px;
	background: var(--hf-surface-3);
}

.hf-map-frame iframe {
	width: 100%;
	height: 380px;
	border: 0;
	display: block;
}

.hf-departments-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 0.9rem;
}

.hf-login-page-wrap {
	position: relative;
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: clamp(1rem, 4vw, 2.5rem);
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(circle at 18% 12%, rgba(11, 122, 62, 0.55), transparent 46%),
		radial-gradient(circle at 82% 88%, rgba(245, 179, 1, 0.32), transparent 44%),
		linear-gradient(160deg, #06182a, #062a1c 60%, #04101c);
	background-size: cover;
	background-position: center;
	background-blend-mode: normal;
}

.hf-login-page-wrap.has-background::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(4, 16, 28, 0.9), rgba(6, 42, 28, 0.78));
	z-index: -1;
}

.hf-login-pattern {
	position: absolute;
	inset: 0;
	color: rgba(255, 255, 255, 0.4);
	opacity: 0.25;
	z-index: -1;
}

.hf-login-decor {
	position: absolute;
	border-radius: 50%;
	z-index: -1;
	filter: blur(2px);
}

.hf-login-decor--1 {
	width: 380px;
	height: 380px;
	inset-block-start: -140px;
	inset-inline-start: -120px;
	border: 34px solid rgba(255, 255, 255, 0.05);
	animation: hf-float 11s ease-in-out infinite;
}

.hf-login-decor--2 {
	width: 300px;
	height: 300px;
	inset-block-end: -120px;
	inset-inline-end: -90px;
	background: radial-gradient(circle, rgba(245, 179, 1, 0.24), transparent 66%);
	animation: hf-float 13s ease-in-out infinite reverse;
}

.hf-login-container {
	width: 100%;
	max-width: 460px;
	position: relative;
}

.hf-login-card {
	background: rgba(255, 255, 255, 0.97);
	border-radius: var(--hf-radius-lg);
	padding: clamp(1.5rem, 4vw, 2.3rem);
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.4);
	animation: hf-card-in 0.7s var(--hf-ease-out) both;
}

@keyframes hf-card-in {
	from { opacity: 0; transform: translateY(28px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.hf-login-card-head {
	text-align: center;
	margin-bottom: 1.5rem;
}

.hf-login-logo {
	display: inline-flex;
	justify-content: center;
	margin-bottom: 0.9rem;
}

.hf-login-logo img {
	max-height: 76px;
	width: auto;
}

.hf-login-logo .hf-logo-badge {
	width: 60px;
	height: 60px;
	border-radius: 18px;
}

.hf-login-title {
	margin: 0;
	font-size: 1.35rem;
	color: var(--hf-accent);
}

.hf-login-subtitle {
	margin: 0.35rem 0 0;
	font-size: 0.88rem;
	color: var(--hf-text-muted);
}

.hf-login-form .hf-form-row {
	margin-bottom: 1rem;
}

.hf-login-options {
	flex-direction: row !important;
	align-items: center;
	justify-content: space-between;
}

.hf-pass-toggle {
	position: absolute;
	inset-inline-end: 0.7rem;
	top: 2.4rem;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	color: var(--hf-text-faint);
}

.hf-pass-toggle:hover {
	background: var(--hf-surface-3);
	color: var(--hf-primary);
}

.hf-login-note {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 1.1rem 0 0;
	padding: 0.8rem 1rem;
	background: rgba(245, 179, 1, 0.12);
	border: 1px dashed rgba(245, 179, 1, 0.55);
	border-radius: var(--hf-radius-sm);
	font-size: 0.8rem;
	color: #7a5a00;
	line-height: 1.9;
}

.hf-login-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	margin-top: 1.3rem;
	padding-top: 1rem;
	border-top: 1px solid var(--hf-border);
	font-size: 0.84rem;
	flex-wrap: wrap;
}

.hf-login-back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--hf-text-muted);
	font-weight: 700;
}

.hf-login-back:hover {
	color: var(--hf-primary);
}

.hf-login-lost {
	color: var(--hf-text-faint);
}

.hf-login-lost:hover {
	color: var(--hf-danger);
}

.hf-login-footer {
	text-align: center;
	margin-top: 1.4rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.82rem;
}

.hf-login-footer p {
	margin: 0.2rem 0;
}

.hf-login-footer .hf-credit a {
	color: #fff;
}

.hf-login-logged {
	text-align: center;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius);
	padding: 2rem 1.4rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
}

body.hf-login-body {
	background: #04101c;
}

.hf-error-page {
	padding-block: clamp(2rem, 6vw, 4rem);
}

.hf-error-card {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius-lg);
	padding: clamp(1.6rem, 4vw, 3rem);
	box-shadow: var(--hf-shadow-lg);
	position: relative;
	overflow: hidden;
}

.hf-error-card::before {
	content: "";
	position: absolute;
	inset-block-start: -90px;
	inset-inline-end: -90px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 179, 1, 0.2), transparent 68%);
}

.hf-error-ball {
	display: inline-grid;
	place-items: center;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	color: var(--hf-primary);
	background: rgba(11, 122, 62, 0.1);
	margin-bottom: 0.6rem;
	animation: hf-bounce-ball 2.6s var(--hf-ease) infinite;
}

@keyframes hf-bounce-ball {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-14px) rotate(18deg); }
}

.hf-error-code {
	font-size: clamp(3rem, 12vw, 5.6rem);
	line-height: 1;
	margin: 0;
	background: linear-gradient(140deg, var(--hf-primary), var(--hf-secondary));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 900;
}

.hf-error-title {
	margin: 0.3rem 0 0.6rem;
	font-size: 1.4rem;
}

.hf-error-text {
	color: var(--hf-text-muted);
	max-width: 58ch;
	margin-inline: auto;
}

.hf-error-search {
	max-width: 520px;
	margin: 1.4rem auto;
}

.hf-error-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
	margin-bottom: 1.8rem;
}

.hf-error-suggest {
	text-align: right;
	background: var(--hf-surface-2);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius);
	padding: 1.1rem 1.3rem;
}

.hf-error-suggest h3 {
	font-size: 1rem;
	margin-bottom: 0.7rem;
}

.hf-error-suggest a {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.45rem 0;
	color: var(--hf-text-muted);
	font-size: 0.9rem;
	border-bottom: 1px dashed var(--hf-border);
}

.hf-error-suggest li:last-child a {
	border-bottom: 0;
}

.hf-error-suggest a:hover {
	color: var(--hf-primary);
}

.hf-page-wrap {
	padding-block: 0 2rem;
}

.hf-page-hero {
	position: relative;
	overflow: hidden;
}

.hf-page-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hf-page-hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(4, 10, 22, 0.92), rgba(4, 10, 22, 0.55));
}

.hf-page-hero-content {
	position: relative;
	padding-block: clamp(2rem, 6vw, 4rem);
	color: #fff;
}

.hf-page-hero-title {
	color: #fff;
	margin: 0.4rem 0 0;
	font-size: clamp(1.5rem, 3.6vw, 2.6rem);
	text-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}

.hf-page {
	background: var(--hf-surface);
	border: 1px solid var(--hf-border);
	border-radius: var(--hf-radius-lg);
	padding: clamp(1.1rem, 2.6vw, 2.2rem);
	box-shadow: var(--hf-shadow);
}

.hf-page-title {
	margin-bottom: 1rem;
	position: relative;
	padding-bottom: 0.8rem;
}

.hf-page-title::after {
	content: "";
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: 0;
	width: 82px;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--hf-primary), var(--hf-secondary));
}

.hf-page-lead {
	font-size: 1.02rem;
	line-height: 2.1;
	color: var(--hf-text-muted);
	background: var(--hf-surface-2);
	border-inline-start: 4px solid var(--hf-primary);
	border-radius: 0 var(--hf-radius-sm) var(--hf-radius-sm) 0;
	padding: 0.9rem 1.1rem;
	margin-bottom: 1.4rem;
}

.hf-home-widgets {
	padding-block: clamp(1.4rem, 3vw, 2.4rem);
}

.hf-home-widgets .hf-widget + .hf-widget {
	margin-top: 1.2rem;
}

.hf-shortcode-news,
.hf-shortcode-video {
	margin-block: 1.6rem;
}

.hf-video-native video {
	background: #000;
}

.hf-toast {
	position: fixed;
	inset-block-end: 1.4rem;
	inset-inline-start: 50%;
	transform: translateX(50%) translateY(20px);
	z-index: 1200;
	background: var(--hf-accent);
	color: #fff;
	padding: 0.75em 1.4em;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.9);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--hf-ease), transform 0.35s var(--hf-ease-out), visibility 0.3s;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	max-width: min(90vw, 460px);
	text-align: center;
}

.hf-toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateX(50%) translateY(0);
}

.hf-toast--success { background: linear-gradient(135deg, var(--hf-success), #0d7a37); }
.hf-toast--error { background: linear-gradient(135deg, var(--hf-danger), #971818); }
