:root {
	--ink: #152033;
	--muted: #64748b;
	--line: #e2e8f0;
	--paper: #ffffff;
	--soft: #f5f7fb;
	--teal: #0f766e;
	--teal-dark: #115e59;
	--gold: #f59e0b;
	--coral: #c2410c;
	--blue: #1d4ed8;
	--radius: 8px;
	--shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	background: var(--paper);
	line-height: 1.6;
}

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

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

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

.container {
	width: min(1140px, calc(100% - 32px));
	margin: 0 auto;
}

.topbar {
	background: #0f172a;
	color: #dbeafe;
	font-size: 13px;
}

.topbar-inner,
.topbar-contact,
.topbar-social,
.header-inner,
.ticker-inner,
.section-head,
.post-meta,
.article-meta {
	display: flex;
	align-items: center;
}

.topbar-inner {
	justify-content: space-between;
	gap: 18px;
	min-height: 40px;
}

.topbar-contact,
.topbar-social {
	gap: 18px;
	flex-wrap: wrap;
}

.topbar a:hover {
	color: #ffffff;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, .94);
	border-bottom: 1px solid rgba(226, 232, 240, .9);
	backdrop-filter: blur(12px);
}

.header-inner {
	justify-content: space-between;
	min-height: 78px;
	gap: 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 230px;
}

.brand img,
.footer-brand img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
}

.brand strong {
	display: block;
	font-size: 16px;
	line-height: 1.2;
	text-transform: uppercase;
}

.brand small {
	display: block;
	color: var(--muted);
	font-size: 12px;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.main-nav > a,
.nav-dropdown > a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 12px;
	border-radius: var(--radius);
	color: #334155;
	font-weight: 700;
	font-size: 14px;
}

.main-nav > a:hover,
.nav-dropdown:hover > a,
.main-nav .active {
	color: var(--teal-dark);
	background: #e6fffb;
}

.login-link {
	color: var(--coral) !important;
}

.nav-dropdown {
	position: relative;
}

.nav-panel {
	position: absolute;
	left: 0;
	top: 100%;
	display: none;
	width: 230px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-panel {
	display: grid;
}

.nav-panel a {
	padding: 10px 12px;
	border-radius: 6px;
	color: #334155;
	font-size: 14px;
}

.nav-panel a:hover {
	background: var(--soft);
	color: var(--teal-dark);
}

.nav-toggle {
	display: none;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	border-radius: var(--radius);
	padding: 9px 12px;
	font-weight: 800;
}

.ticker {
	background: #fff7ed;
	border-bottom: 1px solid #fed7aa;
	color: #7c2d12;
}

.ticker-inner {
	gap: 12px;
	min-height: 42px;
}

.ticker span {
	flex: 0 0 auto;
	background: var(--coral);
	color: #fff;
	border-radius: 999px;
	padding: 3px 9px;
	font-size: 12px;
	font-weight: 800;
}

.ticker p {
	margin: 0;
	font-size: 14px;
}

.alert {
	margin: 18px 0 0;
	padding: 13px 16px;
	border-radius: var(--radius);
	font-weight: 700;
}

.alert.success {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.alert.error {
	background: #fff1f2;
	color: #be123c;
	border: 1px solid #fecdd3;
}

.hero-slider {
	position: relative;
	min-height: 610px;
	overflow: hidden;
	background: #0f172a;
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: grid;
	align-items: center;
	min-height: 610px;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity .45s ease;
}

.hero-slide.active {
	opacity: 1;
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 690px;
	color: #fff;
	padding-top: 32px;
	padding-bottom: 84px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 11px;
	border-radius: 999px;
	background: rgba(245, 158, 11, .18);
	color: #fde68a;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.eyebrow.dark {
	color: var(--teal-dark);
	background: #ccfbf1;
}

.hero-content h1,
.page-hero h1,
.article-hero h1 {
	margin: 16px 0 14px;
	font-size: 54px;
	line-height: 1.1;
	letter-spacing: -1px;
	font-weight: 800;
	text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-content p,
.page-hero p {
	margin: 0 auto 26px;
	max-width: 700px;
	font-size: 20px;
	color: #f1f5f9;
	text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--radius);
	font-weight: 900;
	cursor: pointer;
}

.btn.primary {
	background: var(--gold);
	color: #231400;
}

.btn.primary:hover {
	background: #fbbf24;
}

.btn.secondary {
	background: #ffffff;
	color: var(--teal-dark);
}

.hero-dots {
	position: absolute;
	left: 50%;
	bottom: 30px;
	z-index: 3;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}

.hero-dots button {
	width: 34px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .42);
	cursor: pointer;
}

.hero-dots button.active {
	background: #fff;
}

.section {
	padding: 72px 0;
}

.section.muted {
	background: var(--soft);
}

.section-head {
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.section-head h2,
.split-grid h2,
.contact-grid h2 {
	margin: 10px 0 0;
	font-size: 32px;
	line-height: 1.18;
	letter-spacing: 0;
}

.text-link {
	color: var(--teal-dark);
	font-weight: 900;
}

.feature-strip {
	padding-top: 28px;
	padding-bottom: 20px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.feature-story {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 18px;
	align-items: stretch;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.feature-story img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 6px;
}

.feature-story span {
	color: var(--accent);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.feature-story h2 {
	margin: 6px 0 8px;
	font-size: 20px;
	line-height: 1.25;
}

.feature-story p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.category-card {
	display: block;
	min-height: 210px;
	padding: 22px;
	border: 1px solid var(--line);
	border-top: 5px solid var(--category-color);
	border-radius: var(--radius);
	background: #fff;
	transition: transform .18s ease, box-shadow .18s ease;
}

.category-card:hover,
.post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.category-card span {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--category-color), white 84%);
	color: var(--category-color);
	font-weight: 900;
}

.category-card h3 {
	margin: 18px 0 8px;
	font-size: 20px;
}

.category-card p,
.contact-grid p,
.split-grid p {
	margin: 0;
	color: var(--muted);
}

.search-mini,
.side-search {
	display: flex;
	gap: 8px;
}

.search-mini input,
.side-search input,
.contact-form input,
.contact-form textarea,
.comment-form input,
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 11px 12px;
	background: #fff;
	color: var(--ink);
	outline: none;
}

.search-mini button,
.side-search button {
	border: 0;
	border-radius: var(--radius);
	background: var(--teal);
	color: #fff;
	font-weight: 900;
	padding: 0 16px;
	cursor: pointer;
}

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

.post-grid.archive {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: transform .18s ease, box-shadow .18s ease;
}

.post-image {
	display: block;
	aspect-ratio: 16 / 10;
	background: #e2e8f0;
}

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

.post-body {
	padding: 18px;
}

.post-category {
	display: inline-block;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.post-category.light {
	color: #fde68a;
}

.post-body h3 {
	margin: 8px 0 9px;
	font-size: 20px;
	line-height: 1.28;
}

.post-body h3 a:hover {
	color: var(--teal-dark);
}

.post-body p {
	margin: 0 0 15px;
	color: var(--muted);
}

.post-meta,
.article-meta {
	gap: 12px;
	flex-wrap: wrap;
	color: var(--muted);
	font-size: 13px;
}

.split-band {
	background: #0f766e;
	color: #fff;
}

.split-grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 42px;
	align-items: start;
}

.split-grid p {
	color: #ccfbf1;
	margin-bottom: 22px;
}

.agenda-list,
.agenda-page {
	display: grid;
	gap: 14px;
}

.agenda-item,
.agenda-row {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 18px;
	padding: 18px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .18);
}

.agenda-row {
	background: #fff;
	border-color: var(--line);
}

.agenda-item time,
.agenda-row time {
	display: grid;
	place-items: center;
	align-content: center;
	width: 78px;
	height: 78px;
	border-radius: var(--radius);
	background: #fff;
	color: var(--teal-dark);
}

.agenda-row time {
	background: #ecfdf5;
}

.agenda-item time strong,
.agenda-row time strong {
	font-size: 28px;
	line-height: 1;
}

.agenda-item h3,
.agenda-row h2 {
	margin: 0 0 4px;
	font-size: 19px;
}

.agenda-item p,
.agenda-row p {
	margin: 0;
	color: #d1fae5;
}

.agenda-row p {
	color: var(--muted);
}

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

.gallery-grid.compact {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gallery-grid figure {
	position: relative;
	overflow: hidden;
	margin: 0;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	background: #e2e8f0;
}

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

.gallery-grid figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 12px;
	color: #fff;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .86));
	font-weight: 800;
}

.gallery-grid figcaption span {
	display: block;
	font-weight: 500;
	font-size: 13px;
	color: #e2e8f0;
}

.contact-section {
	background: #fff7ed;
}

.contact-grid {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 42px;
	align-items: start;
}

.contact-info {
	display: grid;
	gap: 6px;
	margin-top: 24px;
	color: var(--muted);
}

.contact-info strong {
	color: var(--ink);
}

.contact-form,
.comment-form {
	display: grid;
	gap: 14px;
	padding: 22px;
	border: 1px solid #fed7aa;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 14px 32px rgba(194, 65, 12, .09);
}

.contact-form label,
.comment-form label {
	display: grid;
	gap: 7px;
	font-weight: 800;
}

.contact-form small {
	color: var(--muted);
}

.page-hero,
.article-hero {
	padding: 160px 0 120px;
	background: #0f172a;
	color: #fff;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.page-hero.with-image,
.article-hero {
	background-size: cover;
	background-position: center;
	position: relative;
	z-index: 1;
}

.page-hero.with-image::before,
.article-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: -1;
}

.page-hero .container,
.article-hero .container {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.page-hero p,
.article-hero .article-meta {
	color: #e2e8f0;
}

.archive-layout,
.article-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 34px;
	align-items: start;
}

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

.archive-side,
.article-side {
	position: sticky;
	top: 104px;
	display: grid;
	gap: 20px;
}

.archive-side h2,
.side-block h2 {
	margin: 0 0 10px;
	font-size: 18px;
}

.category-list,
.side-block {
	display: grid;
	gap: 10px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.category-list a {
	padding: 9px 10px;
	border-left: 4px solid var(--accent);
	background: var(--soft);
	border-radius: 6px;
	font-weight: 800;
}

.empty-state {
	padding: 28px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	background: var(--soft);
	color: var(--muted);
}

.pagination-wrap {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 24px;
}

.pagination-wrap a,
.pagination-wrap span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-weight: 800;
}

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

.article-hero {
	min-height: 430px;
	display: grid;
	align-items: end;
}

.article-hero h1 {
	max-width: 880px;
}

.article-content,
.single-page {
	font-size: 17px;
}

.article-content h2,
.single-page h2 {
	margin-top: 34px;
	font-size: 26px;
	line-height: 1.2;
}

.article-content p,
.single-page p,
.single-page li {
	color: #334155;
}

.comment-box {
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.comment-item {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.comment-item span {
	display: block;
	color: var(--muted);
	font-size: 13px;
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.mini-post {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	font-weight: 800;
	font-size: 14px;
}

.mini-post img {
	width: 72px;
	height: 58px;
	object-fit: cover;
	border-radius: 6px;
}

.side-link {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-weight: 800;
}

.site-footer {
	background: #111827;
	color: #cbd5e1;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr .8fr .9fr 1fr;
	gap: 32px;
	padding: 52px 0;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: #fff;
}

.footer-brand span {
	display: block;
	color: #cbd5e1;
	font-size: 13px;
}

.site-footer h3 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 17px;
}

.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}

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

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom .container {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 0;
	font-size: 13px;
}

@supports not (background: color-mix(in srgb, #000, #fff)) {
	.category-card span {
		background: #ecfdf5;
	}
}

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

	.archive-layout,
	.article-layout,
	.split-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.archive-side,
	.article-side {
		position: static;
	}
}

@media (max-width: 760px) {
	.topbar-social {
		display: none;
	}

	.topbar-inner {
		justify-content: center;
		text-align: center;
	}

	.header-inner {
		min-height: 70px;
	}

	.brand {
		min-width: 0;
	}

	.brand strong {
		font-size: 14px;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.main-nav {
		position: absolute;
		left: 16px;
		right: 16px;
		top: 72px;
		display: none;
		align-items: stretch;
		padding: 10px;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: #fff;
		box-shadow: var(--shadow);
	}

	.main-nav.open {
		display: grid;
	}

	.main-nav > a,
	.nav-dropdown > a {
		justify-content: flex-start;
		width: 100%;
	}

	.nav-panel {
		position: static;
		display: grid;
		width: 100%;
		box-shadow: none;
		border: 0;
		padding: 0 0 6px 16px;
	}

	.hero-slider,
	.hero-slide {
		min-height: 540px;
	}

	.hero-content h1,
	.page-hero h1,
	.article-hero h1 {
		font-size: 34px;
	}

	.hero-content p,
	.page-hero p {
		font-size: 16px;
	}

	.section {
		padding: 52px 0;
	}

	.section-head {
		display: grid;
		align-items: start;
	}

	.feature-grid,
	.feature-story,
	.category-grid,
	.post-grid,
	.post-grid.archive,
	.gallery-grid,
	.gallery-grid.compact,
	.footer-grid,
	.form-row {
		grid-template-columns: 1fr;
	}

	.search-mini,
	.side-search {
		width: 100%;
	}

	.footer-bottom .container {
		display: grid;
	}
}
