:root {
	--bg: #fbf8f5;
	--bg-soft: #f6f1ee;
	--surface: rgba(255, 255, 255, 0.72);
	--surface-solid: #ffffff;
	--surface-muted: #f4efec;
	--ink: #241b28;
	--muted: #6f6672;
	--line: #e8dfe7;
	--primary: #6d2878;
	--primary-strong: #53145d;
	--blue: #4c9ad8;
	--green: #55c386;
	--shadow: 0 20px 60px rgba(68, 35, 77, 0.12);
	--radius-lg: 28px;
	--radius-md: 22px;
	--radius-sm: 16px;
	--container: 1200px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(109, 40, 120, 0.07), transparent 30%),
		linear-gradient(180deg, #fdfbf9 0%, #f7f2ef 100%);
	color: var(--ink);
	font-family: "Libre Franklin", sans-serif;
}

body.drawer-open {
	overflow: hidden;
}

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

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

.material-symbols-outlined {
	font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

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

.container {
	width: min(calc(100% - 2rem), var(--container));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 248, 245, 0.85);
	backdrop-filter: blur(16px);
	transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
	background: rgba(251, 248, 245, 0.96);
	box-shadow: 0 12px 40px rgba(42, 25, 49, 0.08);
}

.header-inner,
.header-branding {
	display: flex;
	align-items: center;
}

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

.header-branding {
	gap: 1rem;
}

.header-search-wrap {
	display: none;
	align-items: center;
	margin-left: auto;
}

.menu-toggle,
.header-action,
.drawer-close {
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-search {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	min-height: 48px;
	padding: 0.35rem 0.4rem 0.35rem 0.85rem;
	border: 1px solid rgba(109, 40, 120, 0.1);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 14px 28px rgba(55, 28, 65, 0.08);
}

.site-search .material-symbols-outlined {
	color: var(--primary);
	font-size: 1.2rem;
}

.site-search input {
	width: 180px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ink);
	font-family: "Libre Franklin", sans-serif;
	font-size: 0.95rem;
}

.site-search input::placeholder {
	color: #7d7480;
}

.site-search button {
	min-height: 38px;
	padding: 0.7rem 1rem;
	border: 0;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.9rem;
	font-weight: 800;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.site-search button:hover,
.site-search button:focus-visible {
	background: var(--primary-strong);
	transform: translateY(-1px);
	box-shadow: 0 10px 18px rgba(83, 20, 93, 0.2);
}

.menu-toggle:hover,
.header-action:hover,
.drawer-close:hover {
	background: rgba(109, 40, 120, 0.08);
	transform: translateY(-1px);
}

.site-brand-text,
.custom-logo-link {
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--primary);
}

.site-branding {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	max-width: min(520px, 58vw);
}

.custom-logo {
	display: block;
	max-height: 88px;
	width: auto;
}

.menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu-desktop {
	display: flex;
	align-items: center;
	gap: 2rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
}

.menu-desktop a,
.menu-drawer a,
.footer-menu a {
	transition: color 0.2s ease, opacity 0.2s ease;
}

.menu-desktop a:hover,
.menu-drawer a:hover,
.footer-menu a:hover {
	color: var(--primary);
}

.desktop-nav {
	display: none;
}

.drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 55;
	background: rgba(25, 17, 29, 0.28);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.drawer-overlay.is-visible {
	opacity: 1;
}

.site-drawer {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 60;
	width: min(88vw, 340px);
	height: 100vh;
	padding: 2rem 1.2rem 1.5rem;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(20px);
	box-shadow: 20px 0 48px rgba(29, 18, 35, 0.14);
	transform: translateX(-100%);
	transition: transform 0.25s ease;
	display: flex;
	flex-direction: column;
}

.site-drawer.is-open {
	transform: translateX(0);
}

.drawer-header,
.drawer-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.drawer-header {
	margin-bottom: 1.5rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 1.1rem;
}

.menu-drawer {
	display: grid;
	gap: 0.5rem;
}

.drawer-search {
	margin-bottom: 1rem;
}

.site-search--drawer {
	display: flex;
	width: 100%;
	padding: 0.45rem 0.5rem 0.45rem 0.85rem;
}

.site-search--drawer input {
	width: 100%;
}

.menu-drawer a {
	display: block;
	padding: 0.95rem 1rem;
	border-radius: 16px;
	background: rgba(109, 40, 120, 0.04);
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 700;
}

.drawer-footer {
	margin-top: auto;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.7;
}

.front-page {
	padding-bottom: 6.5rem;
}

.hero-section {
	position: relative;
	padding: 4rem 0 7rem;
	overflow: hidden;
}

.hero-media {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(251, 248, 245, 0.96) 0%, rgba(251, 248, 245, 0.9) 35%, rgba(251, 248, 245, 0.35) 100%),
		url("https://lh3.googleusercontent.com/aida-public/AB6AXuA9-nf7-asZqJIA7lYUMJxbNdQ3SRC5czKsgS4U7ASoOgvJfh5LRCwgdKg15lmly1sepMPqCA2QxFIU_zsazInaQBKcq1Fm-8zkiD8aUYkcD-QSve9MJXinLnBqiognUBfpahqvhpAWAFL0Q3XVjzVj75HcRBgQVtm7yPhezvWiyjpq-jhF5dNyK3dnz7Hqr0Qk_u0t9lDUxV3AxRwlcPmeGak8Y-8FLGKCBo3Xctu313Ew7XucJpVD6YhFqWAJqloAgAiCxT0jC0Q") center/cover no-repeat;
	opacity: 0.95;
}

.hero-layout {
	position: relative;
	z-index: 1;
	min-height: 60vh;
	display: flex;
	align-items: center;
}

.hero-copy {
	max-width: 700px;
	padding: 3rem 0 1rem;
}

.eyebrow,
.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	background: rgba(109, 40, 120, 0.1);
	color: var(--primary);
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-copy h1,
.law-copy h2,
.community-section h2,
.section-heading h2 {
	margin: 0;
	font-family: "Hanken Grotesk", sans-serif;
	line-height: 1.04;
}

.hero-copy h1 {
	margin-top: 1.35rem;
	font-size: clamp(2.5rem, 7vw, 4.35rem);
	color: var(--primary-strong);
}

.hero-copy em,
.community-section h2 {
	font-style: italic;
}

.hero-copy p,
.law-copy p,
.section-heading p,
.featured-content p,
.side-card p,
.repository-card p,
.glass-card p,
.footer-brand p {
	color: var(--muted);
	line-height: 1.8;
}

.hero-copy p {
	margin: 1.25rem 0 0;
	max-width: 42rem;
	font-size: 1.08rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0.9rem 1.5rem;
	border-radius: 16px;
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 800;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	background: linear-gradient(135deg, var(--primary) 0%, #853693 100%);
	color: #fff;
	box-shadow: 0 18px 35px rgba(109, 40, 120, 0.22);
}

.button-secondary {
	border: 1px solid rgba(109, 40, 120, 0.3);
	background: rgba(255, 255, 255, 0.55);
	color: var(--primary);
}

.mini-link {
	display: inline-block;
	margin-top: 0.8rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.92rem;
	font-weight: 800;
	color: var(--primary);
}

.button-light {
	background: #fff;
	color: var(--primary);
}

.highlights-section {
	margin-top: -4rem;
	position: relative;
	z-index: 2;
}

.cards-grid,
.community-grid,
.footer-grid,
.news-layout,
.law-layout {
	display: grid;
}

.cards-grid {
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1rem;
}

.glass-card,
.featured-post,
.side-card,
.repository-card,
.entry-card {
	border: 1px solid rgba(232, 223, 231, 0.9);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow);
}

.glass-card {
	display: flex;
	gap: 1rem;
	padding: 1.6rem;
	background: var(--surface);
	backdrop-filter: blur(14px);
}

.glass-card h2,
.featured-content h3,
.side-card h3,
.repository-card h3,
.entry-title,
.footer-grid h2 {
	margin: 0 0 0.5rem;
	font-family: "Hanken Grotesk", sans-serif;
	color: var(--primary);
}

.card-icon {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.soft-violet {
	background: rgba(109, 40, 120, 0.12);
	color: var(--primary);
}

.soft-green {
	background: rgba(85, 195, 134, 0.15);
	color: #2a8656;
}

.soft-blue {
	background: rgba(76, 154, 216, 0.14);
	color: var(--blue);
}

.news-section,
.community-section {
	padding: 5.5rem 0;
}

.home-posts-news-section {
	padding: 0 0 5.5rem;
}

.section-heading {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2rem;
}

.section-heading h2,
.law-copy h2,
.community-section h2 {
	font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-link,
.inline-link {
	font-family: "Hanken Grotesk", sans-serif;
	font-weight: 800;
	color: var(--primary);
}

.news-layout {
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.featured-post,
.side-card {
	background: rgba(255, 255, 255, 0.86);
	overflow: hidden;
}

.boletina-side-card {
	position: relative;
	isolation: isolate;
	background:
		radial-gradient(circle at 68% 42%, rgba(170, 137, 196, 0.14), transparent 34%),
		rgba(255, 255, 255, 0.94);
}

.boletina-side-card::before,
.boletina-side-card::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	pointer-events: none;
}

.boletina-side-card::before {
	width: 66px;
	height: 66px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 232, 246, 0.96) 100%);
	clip-path: polygon(100% 0, 0 0, 100% 100%);
	border-top-right-radius: var(--radius-md);
	z-index: 2;
}

.boletina-side-card::after {
	width: 34px;
	height: 34px;
	background: linear-gradient(135deg, rgba(198, 175, 214, 0.42) 0%, rgba(255, 255, 255, 0.02) 100%);
	clip-path: polygon(100% 0, 0 0, 100% 100%);
	filter: drop-shadow(-2px 3px 4px rgba(95, 65, 117, 0.12));
	z-index: 3;
}

.boletina-side-card > *:not(.boletina-card-mark) {
	position: relative;
	z-index: 4;
}

.side-card--news {
	background:
		radial-gradient(circle at top right, rgba(109, 40, 120, 0.08), transparent 38%),
		rgba(255, 255, 255, 0.9);
}

.boletina-card-mark {
	position: absolute;
	right: 18px;
	bottom: 10px;
	z-index: 0;
	font-size: 12.5rem;
	line-height: 1;
	color: rgba(152, 121, 178, 0.075);
	pointer-events: none;
	transform: rotate(-10deg);
	filter: blur(0.3px);
}

.featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 280px;
}

.featured-content,
.side-card,
.repository-card,
.entry-card {
	padding: 1.6rem;
}

.meta-date {
	font-size: 0.88rem;
	color: rgba(111, 102, 114, 0.78);
}

.feature-meta,
.footer-contact {
	list-style: none;
	padding: 0;
}

.feature-meta {
	margin: 1rem 0 1.25rem;
	display: grid;
	gap: 0.55rem;
	color: var(--muted);
}

.feature-meta li,
.check-list li {
	position: relative;
	padding-left: 1.6rem;
}

.feature-meta li::before,
.check-list li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: 800;
}

.sidebar-stack {
	display: grid;
	gap: 1rem;
}

.home-posts-news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.65rem;
}

.home-posts-news-card {
	border: 1px solid rgba(232, 223, 231, 0.9);
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 248, 245, 0.94) 100%);
	box-shadow: 0 14px 34px rgba(68, 35, 77, 0.09);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-posts-news-card:hover,
.home-posts-news-card:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 20px 42px rgba(68, 35, 77, 0.12);
	border-color: rgba(109, 40, 120, 0.18);
}

.home-posts-news-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(circle at top right, rgba(109, 40, 120, 0.12), transparent 42%),
		linear-gradient(135deg, rgba(244, 236, 246, 0.92), rgba(255, 255, 255, 0.98));
}

.home-posts-news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.home-posts-news-card:hover .home-posts-news-card__media img,
.home-posts-news-card:focus-within .home-posts-news-card__media img {
	transform: scale(1.02);
}

.home-posts-news-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	font-size: clamp(3rem, 9vw, 5.5rem);
	color: rgba(109, 40, 120, 0.18);
}

.home-posts-news-card__body {
	padding: 1.45rem 1.45rem 1.55rem;
}

.home-posts-news-card__body h3 {
	margin: 0.5rem 0 0.8rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 1.32rem;
	line-height: 1.18;
	color: var(--primary);
}

.home-posts-news-card__body h3 a {
	display: inline;
}

.home-posts-news-card__body p,
.home-posts-news-empty p {
	color: var(--muted);
	line-height: 1.8;
}

.home-posts-news-card__body .inline-link {
	display: inline-flex;
	margin-top: 0.45rem;
}

.home-posts-news-empty {
	padding: 2rem;
	border: 1px solid rgba(232, 223, 231, 0.9);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.84);
	box-shadow: var(--shadow);
}

.home-posts-news-empty h3 {
	margin: 0 0 0.6rem;
	font-family: "Hanken Grotesk", sans-serif;
	color: var(--primary);
}

.repository-card {
	background: linear-gradient(135deg, var(--primary-strong) 0%, #7d2f8b 100%);
	color: #fff;
}

.repository-card h3,
.repository-card p {
	color: #fff;
}

.law-section {
	padding: 5.5rem 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.55)),
		radial-gradient(circle at right top, rgba(76, 154, 216, 0.08), transparent 24%),
		#f4eeeb;
}

.law-layout {
	grid-template-columns: 1fr;
	align-items: center;
	gap: 2rem;
}

.law-image {
	position: relative;
}

.law-image::before,
.law-image::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	filter: blur(40px);
	opacity: 0.65;
}

.law-image::before {
	width: 140px;
	height: 140px;
	left: -12px;
	top: -12px;
	background: rgba(76, 154, 216, 0.18);
}

.law-image::after {
	width: 160px;
	height: 160px;
	right: -18px;
	bottom: -18px;
	background: rgba(109, 40, 120, 0.16);
}

.law-image img {
	position: relative;
	border-radius: 32px;
	border: 5px solid rgba(255, 255, 255, 0.8);
	box-shadow: var(--shadow);
}

.law-copy {
	max-width: 620px;
}

.section-kicker {
	margin-bottom: 1rem;
	padding-left: 0;
	background: none;
}

.check-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 0;
	display: grid;
	gap: 1rem;
	color: var(--ink);
}

.community-section h2 {
	text-align: center;
	color: var(--primary);
	margin-bottom: 2rem;
}

.community-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.community-card {
	min-height: 190px;
	padding: 1.5rem 1rem;
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(232, 223, 231, 0.92);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	text-align: center;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.community-card .material-symbols-outlined {
	font-size: 3rem;
}

.community-card strong {
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 1rem;
	color: var(--muted);
}

.community-card:hover {
	transform: translateY(-4px);
	background: linear-gradient(135deg, rgba(109, 40, 120, 0.95), rgba(76, 154, 216, 0.92));
	color: #fff;
}

.community-card:hover strong {
	color: #fff;
}

.site-footer {
	padding: 5rem 0 2rem;
	background: #1f1f1d;
	color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
	grid-template-columns: 1fr;
	gap: 2rem;
}

.footer-logo .site-brand-text,
.footer-logo .custom-logo-link {
	color: #fff;
}

.footer-menu {
	display: grid;
	gap: 0.75rem;
}

.footer-contact {
	margin: 0;
	display: grid;
	gap: 1rem;
}

.footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	color: rgba(255, 255, 255, 0.7);
}

.footer-social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.2rem;
}

.footer-social a {
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.footer-bottom {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-top: 1.5rem;
	margin-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.42);
}

.mobile-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 48;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 0.65rem 0.45rem calc(0.65rem + env(safe-area-inset-bottom));
	background: rgba(251, 248, 245, 0.96);
	backdrop-filter: blur(14px);
	border-top: 1px solid rgba(232, 223, 231, 0.9);
}

.mobile-bottom-nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	padding: 0.55rem;
	border-radius: 18px;
	color: var(--muted);
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
}

.mobile-bottom-nav a.is-active {
	background: rgba(109, 40, 120, 0.1);
	color: var(--primary);
}

.content-shell {
	padding: 4rem 0 6rem;
}

.prose-shell {
	max-width: 900px;
}

.entry-content {
	line-height: 1.85;
	color: var(--muted);
}

.single-post-shell {
	padding-top: 4.5rem;
}

.single-post-card {
	padding: 2rem;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.92);
}

.single-post-header {
	margin-bottom: 1.5rem;
}

.single-post-header .eyebrow {
	margin-bottom: 1rem;
}

.single-post-header .entry-title {
	margin: 0;
}

.single-post-meta {
	margin-top: 0.9rem;
}

.single-post-featured {
	margin-bottom: 1.75rem;
	overflow: hidden;
	border-radius: 24px;
	border: 1px solid rgba(232, 223, 231, 0.9);
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 16px 36px rgba(68, 35, 77, 0.1);
}

.single-post-featured img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.single-post-content > :first-child {
	margin-top: 0;
}

.history-page {
	padding-bottom: 5.5rem;
}

.policy-page {
	padding-bottom: 5.5rem;
}

.history-hero {
	padding: 4rem 0 2.25rem;
	background-color: #2e2430;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.history-hero-grid,
.history-content-grid {
	display: grid;
	gap: 1.5rem;
}

.history-content-grid--full {
	grid-template-columns: minmax(0, 1fr);
}

.policy-hero-grid {
	display: grid;
	gap: 1.5rem;
}

.history-hero-copy {
	max-width: 42rem;
}

.history-hero .eyebrow {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	backdrop-filter: blur(10px);
}

.history-title {
	margin: 1rem 0 0;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: clamp(2.3rem, 5vw, 4rem);
	line-height: 1.04;
	color: #fff;
}

.history-lead {
	margin: 1.25rem 0 0;
	font-size: 1.08rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.9);
}

.history-hero-media,
.history-card,
.history-note,
.history-meta {
	border: 1px solid rgba(232, 223, 231, 0.92);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--shadow);
}

.history-hero-media {
	overflow: hidden;
	min-height: 280px;
}

.history-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.history-shell {
	padding-top: 1.5rem;
}

.policy-document-card {
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(12px);
	color: #fff;
	box-shadow: 0 22px 36px rgba(15, 10, 18, 0.18);
}

.policy-document-card strong {
	display: block;
	margin-bottom: 0.45rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 1.2rem;
}

.policy-document-card p {
	margin: 0;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.9);
}

.policy-document-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.15rem;
}

.policy-empty {
	margin-top: 1rem !important;
}

.policy-viewer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(232, 223, 231, 0.9);
}

.policy-viewer__header {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-bottom: 1rem;
}

.policy-viewer__header h2 {
	margin: 0;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: clamp(1.4rem, 2vw, 2rem);
	color: var(--primary);
}

.policy-viewer iframe {
	width: 100%;
	min-height: 720px;
	border: 1px solid rgba(232, 223, 231, 0.9);
	border-radius: 22px;
	background: #fff;
}

.history-card {
	padding: 1.9rem;
}

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

.history-content h2,
.history-content h3 {
	font-family: "Hanken Grotesk", sans-serif;
	color: var(--primary);
}

.history-content h2 {
	margin-top: 2rem;
	font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.history-content h3 {
	margin-top: 1.5rem;
	font-size: 1.2rem;
}

.history-content img {
	border-radius: 22px;
	box-shadow: var(--shadow);
}

.history-aside {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.history-note,
.history-meta {
	padding: 1.2rem 1.25rem;
}

.history-note strong,
.history-meta strong {
	font-family: "Hanken Grotesk", sans-serif;
	color: var(--primary);
}

.history-note p,
.history-meta-label {
	color: var(--muted);
}

.history-note p {
	margin-bottom: 0;
}

.history-meta {
	display: grid;
	gap: 0.35rem;
}

.search-page {
	padding-bottom: 5rem;
}

.search-hero {
	padding: 4rem 0 2rem;
}

.search-hero__inner {
	display: grid;
	gap: 1rem;
	padding: 2rem;
	border-radius: 32px;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,242,249,0.92)),
		radial-gradient(circle at top right, rgba(155, 92, 186, 0.14), transparent 38%);
	box-shadow: 0 24px 55px rgba(49, 22, 60, 0.1);
}

.search-hero h1 {
	margin: 0;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: clamp(2rem, 5vw, 3.3rem);
	line-height: 1.04;
	color: var(--primary-strong);
}

.search-hero p {
	margin: 0;
	max-width: 720px;
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.75;
}

.site-search--hero {
	width: min(100%, 620px);
	padding: 0.45rem 0.5rem 0.45rem 1rem;
}

.site-search--hero input {
	width: 100%;
}

.search-results-section {
	padding: 2rem 0 0;
}

.search-results-extra + .search-results-extra {
	margin-top: 2.5rem;
}

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

.search-result-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
	padding: 1.5rem;
	border: 1px solid rgba(95, 33, 120, 0.08);
	border-radius: 30px;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,244,250,0.96)),
		radial-gradient(circle at top right, rgba(155, 92, 186, 0.12), transparent 42%);
	box-shadow: 0 20px 48px rgba(49, 22, 60, 0.09);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-result-card::after {
	content: var(--result-icon, "search");
	position: absolute;
	right: -8px;
	bottom: -18px;
	z-index: 0;
	font-family: "Material Symbols Outlined";
	font-size: 8.2rem;
	line-height: 1;
	color: rgba(137, 80, 170, 0.08);
	pointer-events: none;
}

.search-result-card:hover,
.search-result-card:focus-within {
	transform: translateY(-3px);
	border-color: rgba(109, 40, 120, 0.18);
	box-shadow: 0 26px 56px rgba(49, 22, 60, 0.13);
}

.search-result-card__glyph {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 18px;
	background: rgba(123, 43, 160, 0.1);
	color: var(--primary);
}

.search-result-card__glyph .material-symbols-outlined {
	font-size: 1.85rem;
}

.search-result-card__meta {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	color: #7d7480;
	font-size: 0.9rem;
}

.search-result-card__type {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: rgba(109, 40, 120, 0.08);
	font-weight: 800;
	color: var(--primary);
}

.search-result-card h2 {
	position: relative;
	z-index: 1;
	margin: 0 0 0.8rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: clamp(1.3rem, 2vw, 1.75rem);
	line-height: 1.15;
}

.search-result-card h2 a {
	color: var(--primary-strong);
}

.search-result-card h2 a:hover {
	color: var(--primary);
}

.search-result-card p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--muted);
	line-height: 1.75;
}

.search-result-card__link {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1rem;
	color: var(--primary);
	font-weight: 800;
}

.search-result-card__link::after {
	content: "north_east";
	font-family: "Material Symbols Outlined";
	font-size: 1rem;
}

.search-result-card--boletina .search-result-card__glyph,
.search-result-card--boletina .search-result-card__type {
	background: rgba(89, 154, 216, 0.12);
	color: #2f6995;
}

.search-empty {
	padding: 2rem;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 18px 45px rgba(49, 22, 60, 0.08);
}

.search-pagination {
	margin-top: 2rem;
}

.search-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.search-pagination a,
.search-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.65rem 0.9rem;
	border-radius: 999px;
	background: rgba(109, 40, 120, 0.08);
	font-weight: 700;
}

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

.news-archive-page {
	padding-bottom: 5rem;
}

.news-archive-section {
	padding: 2rem 0 0;
}

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

.news-archive-card {
	border: 1px solid rgba(95, 33, 120, 0.08);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 18px 45px rgba(49, 22, 60, 0.08);
	overflow: hidden;
}

.news-archive-card__media img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
}

.news-archive-card__content {
	padding: 1.4rem;
}

.news-archive-card__content h2 {
	margin: 0.6rem 0 0.75rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	line-height: 1.18;
}

.news-archive-card__content h2 a {
	color: var(--primary);
}

.news-archive-card__content p {
	margin: 0;
	color: var(--muted);
	line-height: 1.75;
}

.archive-shell {
	padding-top: 0;
}

.archive-hero {
	padding: 4rem 0 2rem;
	background:
		radial-gradient(circle at right top, rgba(109, 40, 120, 0.09), transparent 26%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(246, 241, 238, 0.55));
}

.archive-hero-team {
	padding-bottom: 3rem;
}

.archive-title {
	margin: 1rem 0 0.85rem;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: clamp(2.2rem, 5vw, 4rem);
	color: var(--primary-strong);
}

.archive-description {
	max-width: 56rem;
	color: var(--muted);
	line-height: 1.8;
	font-size: 1.04rem;
}

.archive-list {
	display: grid;
	gap: 1rem;
	padding-top: 1.5rem;
}

.document-row {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.4rem 1.5rem;
	border: 1px solid rgba(232, 223, 231, 0.92);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: var(--shadow);
}

.document-row h2 {
	margin: 0.3rem 0 0.6rem;
	font-family: "Hanken Grotesk", sans-serif;
	color: var(--primary);
}

.document-row p {
	margin: 0;
	color: var(--muted);
	line-height: 1.75;
}

.document-row__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.document-tag {
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primary);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.4rem;
	padding: 2rem 0 0;
}

.team-card {
	padding: 1.5rem;
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(232, 223, 231, 0.92);
	box-shadow: var(--shadow);
	text-align: center;
}

.team-photo {
	width: min(100%, 220px);
	aspect-ratio: 1;
	margin: 0 auto 1rem;
	border-radius: 999px;
	padding: 6px;
	background: linear-gradient(135deg, var(--primary), #b54bc7);
}

.team-photo img,
.team-photo-fallback {
	width: 100%;
	height: 100%;
	border-radius: 999px;
	object-fit: cover;
	background: #f6f1ee;
}

.team-photo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
}

.team-photo-fallback .material-symbols-outlined {
	font-size: 4rem;
}

.team-body h2 {
	margin: 0 0 0.5rem;
	font-family: "Hanken Grotesk", sans-serif;
	color: var(--primary);
}

.team-role,
.team-area,
.team-contact {
	margin: 0.35rem 0;
	color: var(--muted);
}

.team-role {
	font-weight: 700;
}

.team-contact {
	display: grid;
	gap: 0.3rem;
	margin-top: 0.8rem;
}

.pagination-shell {
	padding-top: 0.8rem;
}

@media (min-width: 768px) {
	.desktop-nav {
		display: block;
	}

	.menu-toggle,
	.mobile-bottom-nav {
		display: none;
	}

	.header-search-wrap {
		display: flex;
	}

	.custom-logo-link {
		max-width: min(640px, 42vw);
	}

	.custom-logo {
		max-height: 98px;
	}

	.cards-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.news-layout {
		grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
	}

	.home-posts-news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.document-row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.document-row__main {
		max-width: 70%;
	}

	.law-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 4rem;
	}

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

	.history-hero-grid,
	.history-content-grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
		align-items: start;
	}

	.history-content-grid--full {
		grid-template-columns: minmax(0, 1fr);
	}

	.policy-hero-grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
		align-items: end;
	}

	.footer-grid {
		grid-template-columns: 1.45fr 0.9fr 1fr;
	}

	.footer-bottom,
	.section-heading {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (max-width: 767px) {
	.site-search {
		width: 100%;
	}

	.site-search input {
		width: 100%;
	}

	.site-search button {
		padding-inline: 0.9rem;
	}

	.custom-logo-link {
		max-width: min(340px, 62vw);
	}

	.custom-logo {
		max-height: 72px;
	}
}
