/*
Theme Name: raoassambleya
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700&display=swap');

:root {
	--bg: #0e1627;
	--bg-alt: #0b1322;
	--panel: #111c30;
	--card: #0f1b2e;
	--border: #1f2b46;
	--primary: #4eb5ff;
	--primary-strong: #2d9eff;
	--accent: #7c5cff;
	--text: #eaf1ff;
	--muted: #9fb3d1;
	--green: #4ade80;
	--blue: #60a5fa;
	--gray: #7a8aaa;
	--shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--text);
	background: radial-gradient(circle at 20% 20%, #13223a, #0a1324 38%), radial-gradient(circle at 80% 0%, #112042, #0a1324 40%), linear-gradient(180deg, #0e1524, #070e1b);
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	min-height: 100vh;
}

a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--primary);
	opacity: 0.9;
}

p {
	line-height: 1.6;
}

ul {
	padding-left: 1.2rem;
}

ol {
	padding-left: 1.2rem;
}

.container {
	width: min(1180px, 94%);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(10px);
	background: rgba(8, 14, 26, 0.82);
	border-bottom: 1px solid var(--border);
}

.nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #0b1020;
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
	border-radius: 12px;
	box-shadow: var(--shadow);
}

.brand-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.brand-title {
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 0.02em;
}

.brand-subtitle {
	color: var(--muted);
	font-size: 0.85rem;
}

.main-nav ul {
	display: flex;
	align-items: center;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav a {
	padding: 0.35rem 0.65rem;
	border-radius: 10px;
	font-weight: 600;
}

.main-nav a.active,
.main-nav a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--primary);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.2rem;
	border-radius: 12px;
	border: 1px solid transparent;
	font-weight: 700;
	font-family: 'Inter', sans-serif;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: #0b1020;
	border-color: transparent;
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	color: var(--text);
}

.btn-ghost {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text);
}

.btn-compact {
	padding: 0.6rem 0.9rem;
	font-size: 0.95rem;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	font-weight: 600;
	font-size: 0.85rem;
	border: 1px solid var(--border);
}

.pill-green {
	background: rgba(74, 222, 128, 0.15);
	color: #b0f2c2;
	border-color: rgba(74, 222, 128, 0.4);
}

.pill-blue {
	background: rgba(96, 165, 250, 0.15);
	color: #b7d6ff;
	border-color: rgba(96, 165, 250, 0.4);
}

.pill-gray {
	background: rgba(122, 138, 170, 0.2);
	color: #c6cedd;
	border-color: rgba(122, 138, 170, 0.5);
}

.hero {
	padding: 4rem 0 2.5rem;
}

.hero-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	align-items: start;
}

.hero-copy h1 {
	margin: 0.2rem 0 1rem;
	font-size: clamp(2rem, 3vw, 2.6rem);
	font-family: 'Montserrat', sans-serif;
}

.hero-copy .lede {
	color: var(--muted);
	font-size: 1.05rem;
}

.hero-actions {
	display: flex;
	gap: 0.75rem;
	margin: 1.25rem 0;
}

.hero-points {
	color: var(--muted);
	margin: 0;
	padding-left: 1.1rem;
}

.hero-panel {
	background: rgba(17, 28, 48, 0.85);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: var(--shadow);
}

.hero-date {
	margin: 0.3rem 0 0.8rem;
	font-weight: 700;
	color: #d9e7ff;
}

.muted {
	color: var(--muted);
}

.divider {
	height: 1px;
	background: var(--border);
	margin: 1rem 0;
}

.district-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
	color: var(--muted);
}

.district-list li {
	margin-bottom: 0.4rem;
}

.section {
	padding: 3rem 0;
}

.muted-bg {
	background: rgba(12, 18, 32, 0.9);
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.section-header h2 {
	margin: 0.2rem 0 0.4rem;
	font-size: 1.8rem;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	color: var(--primary);
	font-size: 0.85rem;
	margin: 0;
}

.cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
}

.cards-compact {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
	background: rgba(15, 27, 46, 0.85);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 1.25rem;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.card-past {
	opacity: 0.8;
}

.card-meta {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
}

.link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--primary);
	font-weight: 700;
}

.two-col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1.5rem;
	align-items: start;
}

.panel {
	background: rgba(15, 27, 46, 0.75);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.25rem;
	box-shadow: var(--shadow);
}

.panel-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
	color: var(--text);
}

.panel-list li {
	padding: 0.35rem 0;
	border-bottom: 1px dashed var(--border);
}

.note {
	background: rgba(255, 255, 255, 0.04);
	border: 1px dashed var(--border);
	border-radius: 12px;
	padding: 0.75rem;
	color: var(--muted);
}

.checklist {
	margin: 1rem 0 1.5rem;
	color: var(--muted);
}

.document-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.document-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0.9rem 1rem;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	flex-wrap: wrap;
}

.document-title {
	margin: 0;
	font-weight: 700;
}

.tag-row {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.2rem 0.6rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.85rem;
}

.filter-row {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.filter-button {
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	border-radius: 999px;
	padding: 0.55rem 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-button:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.filter-button.active {
	background: rgba(78, 181, 255, 0.15);
	border-color: rgba(78, 181, 255, 0.6);
	color: #d9edff;
}

.page-hero {
	padding: 3rem 0 1.5rem;
}

.page-hero h1 {
	margin: 0.2rem 0 0.6rem;
	font-size: clamp(1.8rem, 3vw, 2.3rem);
	font-family: 'Montserrat', sans-serif;
}

.lede {
	color: var(--muted);
	font-size: 1.05rem;
}

.meta {
	color: var(--muted);
	margin: 0.4rem 0 0.6rem;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1rem;
}

.news-card {
	background: rgba(15, 27, 46, 0.8);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 1.2rem;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.news-card h3 {
	margin: 0.2rem 0 0.2rem;
}

.article {
	padding-bottom: 1rem;
}

.article h2,
.article h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.4rem;
	font-family: 'Montserrat', sans-serif;
}

.article ul,
.article ol {
	color: var(--muted);
}

.comments-placeholder {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1rem;
	align-items: start;
}

.placeholder-box {
	border: 1px dashed var(--border);
	border-radius: 12px;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.03);
	color: var(--muted);
}

.quick-comment {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1rem;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
}

.quick-comment label {
	font-weight: 600;
}

.quick-comment textarea {
	border-radius: 10px;
	border: 1px solid var(--border);
	background: rgba(12, 18, 32, 0.9);
	color: var(--text);
	padding: 0.75rem;
	font-family: inherit;
}

.site-footer {
	border-top: 1px solid var(--border);
	padding: 1.8rem 0;
	background: rgba(8, 14, 26, 0.95);
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	align-items: start;
}

.footer-links,
.footer-docs {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	width: 42px;
	height: 42px;
	justify-content: center;
	align-items: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	border-radius: 12px;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 60%;
	height: 2px;
	background: var(--text);
	border-radius: 10px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 960px) {
	.main-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 64px;
		background: rgba(8, 14, 26, 0.95);
		padding: 0 1rem 1rem;
		display: none;
	}

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

	.main-nav ul {
		flex-direction: column;
		align-items: flex-start;
	}

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

@media (max-width: 720px) {
	.hero {
		padding-top: 3rem;
	}

	.section {
		padding: 2.5rem 0;
	}

	.document-item {
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0s !important;
		transition-duration: 0s !important;
	}
}