/*
Theme Name: Drugelių stotis
Theme URI: https://drugeli-stotis.lt
Author: Drugelių stotis
Author URI: https://drugeli-stotis.lt
Description: Originali „Drugelių stotis" svetainės tema.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drugeli-stotis
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--color-primary:    #c0392b;
	--color-secondary:  #e74c3c;
	--color-accent:     #f1c40f;
	--color-bg:         #FF0000;
	--color-bg-dark:    #4a0000;
	--color-surface:    #7a0000;
	--color-surface-2:  #850000;
	--color-text:       #f5f0f0;
	--color-text-muted: rgba(245, 240, 240, 0.65);
	--color-border:     rgba(255, 255, 255, 0.12);
	--color-btn-dark:   #1a1a1a;
	--font-heading:     'Playfair Display', Georgia, serif;
	--font-body:        'Times New Roman', Arial, sans-serif;
	--max-width:        1100px;
	--archive-width:    1180px;
	--radius:           50px;
	--radius-sm:        6px;
	--transition:       0.25s ease;
	--fixed-brand-right: max(1rem, calc((100vw - 1100px) / 2 - 150px));
	--fixed-brand-width: clamp(190px, 22vw, 320px);
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	line-height: 1.7;
}

a {
	color: var(--color-text);
	text-decoration: none;
	transition: color var(--transition), opacity var(--transition);
}

a:hover {
	opacity: 0.75;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol {
	padding-left: 1.5rem;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--color-text);
	line-height: 1.25;
	margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1.25rem;
}

blockquote {
	border-left: 4px solid rgba(255,255,255,0.4);
	padding: 1rem 1.5rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: var(--color-text-muted);
	background: var(--color-surface-2);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* =====================================================
   LAYOUT
===================================================== */
.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1;
	padding-block: 3rem;
}

.content-area {
	width: 100%;
}

.has-sidebar .content-area {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 3rem;
	align-items: start;
}

@media (max-width: 900px) {
	.has-sidebar .content-area {
		grid-template-columns: 1fr;
	}
}

/* =====================================================
   SITE HEADER
===================================================== */
.site-header {
	border-bottom: 0;
	padding: 1.25rem 2rem 1.15rem;
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow var(--transition);
}

/* .site-header.is-scrolled {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
} */

.site-header .container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	max-width: var(--archive-width);
	padding-inline: 1.5rem;
}

.navbar-site-title {
	color: var(--color-text);
	font-family: var(--font-heading);
	font-size: clamp(1.45rem, 4vw, 2.7rem);
	font-weight: 400;
	line-height: 1;
	min-width: 0;
	overflow-wrap: anywhere;
	text-decoration: none;
	transition: opacity var(--transition);
}

.navbar-site-title:hover,
.navbar-site-title:focus {
	color: var(--color-text);
	opacity: 0.75;
}

/* Logotipas / pavadinimas dešinėje (Papillon Station stilius) */
.site-branding {
	display: none;
	margin-left: auto;
	text-align: right;
}

.site-title {
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.15;
	margin: 0;
	letter-spacing: 0.02em;
}

.site-title a {
	color: var(--color-text);
}

.site-description {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	margin: 0;
}

.mobile-header-logo {
	display: none;
}

.mobile-header-logo img {
	display: block;
	width: 100%;
	height: auto;
}

/* =====================================================
   NAVIGATION
===================================================== */
.main-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-column: 2;
	min-width: 0;
}

.site-drawer {
	display: flex;
	flex-direction: column;
	position: static;
	width: auto;
	height: auto;
	background: transparent;
	padding: 0;
	transform: none;
	pointer-events: auto;
}

.main-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.main-navigation ul li a {
	display: block;
	padding: 0.45rem 1.1rem;
	/* font-weight: 600; */
	font-size: 0.9rem;
	border-radius: 50px;
	background: var(--color-btn-dark);
	color: #fff;
	transition: background var(--transition), opacity var(--transition);
	white-space: nowrap;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
	background: var(--color-btn-dark);
	color: #fff;
	opacity: 1;
}

/* Kalbos jungiklio meniu – atskira spalva */
.main-navigation ul li.lang-item a,
.main-navigation ul.lang-menu li a {
	background: #2a2a2a;
}

.language-switcher {
	position: absolute;
	top: 1.45rem;
	right: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.language-switcher__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0.45rem 1rem;
		border-color: var(--color-btn-dark);
	border-radius: 999px;
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.9rem;
	/* font-weight: 600; */
	line-height: 1;
	white-space: nowrap;
	background: var(--color-btn-dark);
	transition: background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);
}

.language-switcher__link:hover {
	background: transparent;
	border-color: var(--color-btn-dark);
	color: #fff;
	opacity: 1;
}
.language-switcher__link.is-active {
	background: var(--color-btn-dark);
	border-color: var(--color-btn-dark);
	color: #fff;
	opacity: 1;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 6px;
	position: relative;
	z-index: 430;
}

.menu-toggle__bar {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--color-btn-dark);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
	transform-origin: center;
}

.site-drawer__close {
	background: none;
	border: none;
	padding: 0;
	margin-bottom: 2rem;
	align-self: flex-end;
	cursor: pointer;
	color: var(--color-text);
	opacity: 0.85;
	transition: opacity var(--transition);
	display: none;
}

.site-drawer__close:hover {
	opacity: 1;
}

.nav-drawer-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 200;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.nav-drawer-backdrop.is-visible {
	display: block;
	opacity: 1;
	pointer-events: auto;
}

@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
		/* background: #1a1a1a; */
		border-radius: 999px;
		padding: 13px 17px;
	}

	.menu-toggle__bar {
		background: #fff;
	}

	.main-navigation ul {
		display: none;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		background: var(--color-bg-dark);
		padding: 0.75rem 0;
		gap: 0.25rem;
	}

	.main-navigation ul.toggled {
		display: flex;
	}

	.main-navigation {
		justify-content: flex-start;
		width: auto;
		position: relative;
		z-index: 410;
		order: 3;
	}

	.language-switcher {
		display: inline-flex;
		order: 2;
		grid-column: auto;
		justify-self: auto;
		margin-left: auto;
	}

	.site-header .container {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 0.55rem;
		/* padding-inline: 1rem; */
		padding: 0;
	}

	.mobile-header-logo {
		display: block;
		order: 0;
		width: clamp(70px, 18vw, 105px);
		flex: 0 0 auto;
		margin-right: 1rem;
	}

	.language-switcher__link {
		min-width: 3.4rem;
		min-height: 48px;
		padding: 0.45rem 1rem;
		font-size: 0;
		background: #fff;
		color: var(--color-btn-dark)
	}

	.language-switcher__link::after {
		content: attr(data-mobile-label);
		font-size: 0.95rem;
	}

	.language-switcher__link.is-active {
		display: none;
	}

	.navbar-site-title {
		font-size: clamp(1.5rem, 2vw, 3rem);
		margin-right: auto;
		max-width: calc(100% - 78px);
	}

	.site-header {
		z-index: 400;
	}

	.site-footer__layout {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		min-height: 0;
		gap: 2.5rem;
	}

	.site-footer__content {
		align-self: auto;
		min-height: 0;
		gap: 2rem;
	}

	.site-footer__title {
		justify-self: start;
		padding: 20px 0 40px 0;
	}

	.site-footer__contacts {
		margin-left: 0;
		font-size: clamp(1.2rem, 2vw, 1.6rem);
	}

	.site-footer__image {
		grid-column: auto;
		grid-row: auto;
		width: min(100%, 340px);
		justify-self: start;
	}

	.site-info {
		grid-column: auto;
		grid-row: auto;
	}

	.site-branding {
		display: none;
		margin-left: 0;
	}

	.site-drawer__close {
		display: block;
	}

	.site-drawer {
		position: fixed;
		top: 0;
		left: 0;
		width: min(75vw, 360px);
		height: 100vh;
		background: var(--color-bg);
		z-index: 420;
		overflow-y: auto;
		padding: 1.5rem 2rem 3rem;
		transform: translateX(-100%);
		transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
		pointer-events: none;
	}

	.site-drawer.is-open {
		transform: translateX(0);
		pointer-events: auto;
	}

	.site-drawer ul,
	.site-drawer ul.toggled {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		background: transparent;
		padding: 0;
		gap: 0;
	}

	.site-drawer ul li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}

	.site-drawer ul li:first-child {
		border-top: 1px solid rgba(255, 255, 255, 0.25);
	}

	.site-drawer ul li a {
		background: transparent;
		color: var(--color-text);
		border-radius: 0;
		padding: 1rem 0;
		font-size: clamp(1.1rem, 4vw, 1.4rem);
		font-weight: 700;
		text-align: left;
	}

	.site-drawer ul li a:hover,
	.site-drawer ul li.current-menu-item > a {
		background: transparent;
		color: var(--color-text);
		opacity: 0.7;
	}

	.fp-body .site-header {
		padding: clamp(4.5rem, 13vw, 5.5rem) clamp(1rem, 5vw, 2rem) 1.5rem;
		background: var(--color-bg);
		position: relative;
	}

	.fp-body .site-header .container {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"nav lang"
			"logo logo";
		align-items: start;
		gap: clamp(2.5rem, 9vw, 4rem) clamp(0.75rem, 3vw, 1.25rem);
		width: min(100%, 420px);
		margin-inline: auto;
		padding: 0;
	}

	.fp-body .menu-toggle,
	.fp-body .site-drawer__close,
	.fp-body .nav-drawer-backdrop {
		display: none;
	}

	.fp-body .main-navigation {
		grid-area: nav;
		width: 100%;
		order: initial;
		position: fixed;
		top: clamp(2rem, 8vw, 4.5rem);
		left: max(1.5rem, calc((100vw - 420px) / 2));
		width: min(calc(100vw - 8.25rem), 330px);
		z-index: 410;
	}

	.fp-body .site-drawer,
	.fp-body .site-drawer.is-open {
		position: static;
		width: auto;
		height: auto;
		overflow: visible;
		padding: 0;
		background: transparent;
		transform: none;
		transition: none;
		pointer-events: auto;
	}

	.fp-body .site-drawer ul,
	.fp-body .site-drawer ul.toggled {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.7rem;
		width: 100%;
		padding: 0;
		background: transparent;
	}

	.fp-body .site-drawer ul li,
	.fp-body .site-drawer ul li:first-child {
		border: 0;
	}

	.fp-body .site-drawer ul li a,
	.fp-body .site-drawer ul li.current-menu-item > a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 3rem;
		padding: 0.55rem 0.85rem;
		background: var(--color-btn-dark);
		border-radius: 999px;
		color: #fff;
		font-size: clamp(1.05rem, 4.6vw, 1.35rem);
		font-weight: 400;
		line-height: 1;
		text-align: center;
		white-space: nowrap;
	}

	.fp-body .site-drawer ul li a:hover {
		background: var(--color-btn-dark);
		color: #fff;
		opacity: 0.85;
	}

	.fp-body .language-switcher {
		grid-area: lang;
		order: initial;
		display: flex;
		position: fixed;
		top: clamp(2rem, 8vw, 4.5rem);
		right: max(1.5rem, calc((100vw - 420px) / 2));
		margin-left: 0;
		justify-self: end;
		align-self: start;
		z-index: 410;
	}

	.fp-body .language-switcher__link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 3rem;
		min-width: 3rem;
		height: 3rem;
		min-height: 3rem;
		padding: 0;
		background: #fff;
		border-radius: 50%;
		color: var(--color-btn-dark);
		font-size: 0;
	}

	.fp-body .language-switcher__link::after {
		font-size: 1rem;
		line-height: 1;
	}

	.fp-body .language-switcher__link.is-active {
		display: none;
	}

	.fp-body .mobile-header-logo {
		grid-area: logo;
		display: block;
		justify-self: center;
		width: clamp(210px, 54vw, 270px);
		margin: clamp(5.5rem, 19vw, 7rem) 0 0;
		order: initial;
	}
}

@media (max-width: 420px) {
	.fp-body .main-navigation {
		left: 1rem;
		width: calc(100vw - 6.5rem);
	}

	.fp-body .site-drawer ul,
	.fp-body .site-drawer ul.toggled {
		gap: 0.55rem;
	}

	.fp-body .site-drawer ul li a,
	.fp-body .site-drawer ul li.current-menu-item > a {
        min-height: 2.8rem;
        padding: 0.65rem 0.95rem;
        font-size: clamp(0.95rem, 4.45vw, 1rem);
	}

	.fp-body .language-switcher {
		right: 1rem;
	}

	.fp-body .language-switcher__link {
		width: 2.85rem;
		min-width: 2.85rem;
		height: 2.85rem;
		min-height: 2.85rem;
	}
}

/* =====================================================
   HERO / BANNER
===================================================== */
.hero {
	position: relative;
	overflow: hidden;
	min-height: 340px;
	display: flex;
	align-items: flex-end;
}

.hero .hero-image {
	position: absolute;
	inset: 0;
}

.hero .hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.hero .hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(80,0,0,0.35) 0%, rgba(60,0,0,0.7) 100%);
}

.hero .hero-content {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 2.5rem 2rem;
	text-align: right;
}

.hero .hero-title {
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 8vw, 5rem);
	color: #fff;
	line-height: 1.0;
	margin: 0;
	font-style: italic;
	text-shadow: 2px 3px 12px rgba(0,0,0,0.5);
}

/* =====================================================
   POSTS / CARDS
===================================================== */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2.5rem;
}

/* Įrašai kaip stulpeliniai blokai (kaip nuotraukoje) */
.post-card {
	background: transparent;
	overflow: hidden;
	transition: opacity var(--transition);
}

.post-card:hover {
	opacity: 0.88;
}

.post-card .card-thumbnail {
	margin-bottom: 1rem;
}

.post-card .card-thumbnail img {
	width: 100%;
	max-height: 320px;
	object-fit: cover;
	border-radius: var(--radius-sm);
}

.post-card .card-body {
	padding: 0;
}

.post-card .card-meta {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	margin-bottom: 0.4rem;
}

.post-card .card-title {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
	color: var(--color-text);
}

.post-card .card-title a {
	color: var(--color-text);
}

.post-card .card-excerpt {
	font-size: 0.95rem;
	color: var(--color-text-muted);
	margin-bottom: 1rem;
}

/* =====================================================
   PROJECT PAGE
===================================================== */
.project-page {
	width: 100%;
	min-height: 0;
	padding: clamp(2rem, 5vw, 4rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
	background: var(--color-bg);
	color: var(--color-btn-dark);
}

.project-page__article {
	width: min(100%, 1100px);
	margin: 0 auto;
}

.project-page__hero {
	display: flex;
	/* grid-template-columns: minmax(120px, 0.3fr) minmax(0, 1fr); */
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: end;
	padding-bottom: clamp(2rem, 5vw, 4rem);
	border-bottom: 1px solid var(--color-btn-dark);
	justify-content: center;
}

.project-page__label,
.project-page__aside {
	display: none;
	color: var(--color-btn-dark);
	font-size: 0.8rem;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.project-page__title {
	max-width: 920px;
	margin: 0;
	color: var(--color-btn-dark);
	font-family: var(--font-body);
	font-size: clamp(3rem, 10vw, 8.5rem);
	font-weight: 400;
	line-height: 0.9;
}

.project-page__image {
	width: min(100%, 860px);
	margin: clamp(2rem, 5vw, 4rem) auto 0;
}

.project-page__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center;
}

.project-page__body {
	display: flex;
	justify-content: center;
	/* grid-template-columns: minmax(120px, 0.3fr) minmax(0, 1fr); */
	gap: clamp(1.5rem, 4vw, 4rem);
	padding-top: clamp(2rem, 5vw, 4rem);
}

.project-page__aside {
	padding-top: 0.35rem;
}

.project-page__content {
	max-width: 760px;
	color: var(--color-btn-dark);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	line-height: 1.28;
}

.project-page__content > * + * {
	margin-top: 1.25rem;
}

.project-page__content h2,
.project-page__content h3,
.project-page__content h4 {
	color: var(--color-btn-dark);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.05;
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

.project-page__content h2 {
	font-size: clamp(1.8rem, 4vw, 3.5rem);
}

.project-page__content h3 {
	font-size: clamp(1.35rem, 3vw, 2rem);
}

.project-page__content a {
	color: var(--color-btn-dark);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.project-page__content blockquote {
	margin: clamp(2rem, 5vw, 3.5rem) 0;
	padding: 0 0 0 1.2rem;
	background: transparent;
	border-left: 1px solid var(--color-btn-dark);
	border-radius: 0;
	color: var(--color-btn-dark);
	font-size: clamp(1.35rem, 3vw, 2.1rem);
	line-height: 1.12;
}

.project-page__content ul,
.project-page__content ol {
	padding-left: 1.2em;
}

/* =====================================================
   CONTACT PAGE
===================================================== */
.contact-page {
	width: 100%;
	min-height: clamp(360px, 56vh, 620px);
	padding: clamp(3rem, 8vw, 7rem) 1.5rem clamp(3rem, 7vw, 5rem);
	background: var(--color-bg);
	color: var(--color-btn-dark);
}

.contact-page__inner {
	width: min(100%, 760px);
	margin: 0 auto;
}

.contact-page__title {
	margin: 0 0 clamp(3rem, 7vw, 5rem);
	color: var(--color-btn-dark);
	font-family: var(--font-body);
	font-size: clamp(1.35rem, 2.2vw, 2rem);
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.contact-page__details {
	color: var(--color-btn-dark);
	font-family: var(--font-body);
	font-size: clamp(1.45rem, 3.6vw, 3rem);
	line-height: 1.08;
}

.contact-page__details p {
	margin: 0;
}

/* .contact-page__details p + p {
	margin-top: 0.45em;
} */

.contact-page__details a {
	width: fit-content;
	color: var(--color-btn-dark);
	text-decoration: underline;
	text-underline-offset: 0.08em;
}

/* =====================================================
   SINGLE POST
===================================================== */
.entry-header {
	margin-bottom: 2rem;
	padding: 0 25px;
}

.nav-previous a {
	gap: 10px;
}

.entry-title {
	margin-bottom: 0.5rem;
	color: var(--color-text);
}

.entry-meta {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.entry-meta a {
	color: var(--color-text-muted);
}

.entry-meta a:hover {
	color: var(--color-text);
}

.event-single__date {
	font-size: 1rem;
	line-height: 1.2;
}

.entry-thumbnail {
	margin-bottom: 2rem;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.entry-thumbnail img {
	width: 100%;
  	height: 650px;
  	object-fit: cover;
  	object-position: top;
}

.entry-content {
	width: 100%;
	padding: 0 25px;
}

.entry-content > * + * {
	margin-top: 1.25rem;
}

.entry-footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

/* =====================================================
   BUTTONS
===================================================== */
.btn,
.button,
input[type="submit"],
button[type="submit"] {
	display: inline-block;
	padding: 0.55rem 1.6rem;
	background: var(--color-btn-dark);
	color: var(--color-text);
	border: none;
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity var(--transition), background var(--transition);
	text-align: center;
	letter-spacing: 0.02em;
}

.btn:hover,
.button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background: #333;
	color: var(--color-text);
	opacity: 1;
}

.btn-outline {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.35);
	color: var(--color-text);
}

.btn-outline:hover {
	background: rgba(255,255,255,0.1);
}

/* =====================================================
   FORMS
===================================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
	width: 100%;
	padding: 0.6rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 1rem;
	background: var(--color-bg-dark);
	color: var(--color-text);
	transition: border-color var(--transition);
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: rgba(255,255,255,0.5);
}

label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.9rem;
}

/* =====================================================
   SIDEBAR / WIDGETS
===================================================== */
.widget-area {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.widget {
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 1.5rem;
}

.widget-title {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	color: var(--color-text);
}

.widget ul {
	list-style: none;
	padding: 0;
}

.widget ul li {
	padding: 0.35rem 0;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text-muted);
}

.widget ul li:last-child {
	border-bottom: none;
}

/* =====================================================
   PAGINATION
===================================================== */
.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem;
	flex-wrap: wrap;
}

.page-numbers,
.nav-links a,
.nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: 50px;
	font-size: 0.9rem;
	color: var(--color-text);
	background: var(--color-btn-dark);
	transition: background var(--transition), opacity var(--transition);
}

.page-numbers:hover,
.nav-links a:hover {
	background: #333;
	opacity: 1;
	color: var(--color-text);
}

.page-numbers.current {
	background: #444;
	border-color: rgba(255,255,255,0.3);
	color: var(--color-text);
}

.post-navigation .nav-links a,
.post-navigation .nav-links span {
	min-width: 0;
	height: auto;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: inherit;
}

.post-navigation .nav-links a:hover {
	background: transparent;
	opacity: 0.75;
}

/* =====================================================
   COMMENTS
===================================================== */
.comments-area {
	margin-top: 3rem;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment {
	padding: 1.5rem;
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	margin-bottom: 1.5rem;
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.comment-author .fn {
	font-weight: 700;
	color: var(--color-text);
}

.comment-metadata {
	font-size: 0.8rem;
	color: var(--color-text-muted);
}

.comment-reply-link {
	font-size: 0.85rem;
	font-weight: 600;
}

/* =====================================================
   SITE FOOTER
===================================================== */
.site-footer {
	background: var(--color-bg);
	color: var(--color-btn-dark);
	padding-block: clamp(3rem, 7vw, 5.5rem) 1.4rem;
	border-top: 0;
	overflow: hidden;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-widget-area .widget {
	background: transparent;
	border: none;
	padding: 0;
}

.footer-widget-area .widget-title {
	color: var(--color-text);
	border-bottom-color: var(--color-border);
}

.footer-widget-area .widget a {
	color: var(--color-text-muted);
}

.footer-widget-area .widget a:hover {
	color: var(--color-text);
}

.footer-widget-area .widget ul li {
	border-bottom-color: var(--color-border);
	color: var(--color-text-muted);
}

.site-footer__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
	grid-template-rows: auto 1fr auto;
	gap: clamp(2rem, 7vw, 6rem);
	align-items: stretch;
	min-height: clamp(300px, 35vw, 500px);
	scroll-margin-top: 7rem;
}

.site-footer__content {
	align-self: center;
	color: var(--color-btn-dark);
}

.site-footer__title {
	grid-column: 1 / -1;
	justify-self: center;
	margin: 0;
	color: var(--color-btn-dark);
	font-family: var(--font-body);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 700;
	line-height: 1;
}

.site-footer__contacts {
	align-self: center;
	width: min(100%, 420px);
	margin-left: clamp(2rem, 10vw, 1rem);
	color: var(--color-btn-dark);
	font-family: var(--font-body);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.25;
}

.site-footer__team {
	margin-top: 1.5rem;
}

.site-footer__team strong {
	display: block;
	font-weight: 700;
	padding-top: 20px;
}

.site-footer__team p {
	margin-bottom: 0;
}

.site-footer__contacts a {
	display: block;
	width: fit-content;
	color: var(--color-btn-dark);
	text-decoration: underline;
	text-underline-offset: 0.08em;
}

.site-footer__image {
	grid-column: 2;
	grid-row: 2 / 4;
	width: min(100%, 520px);
	margin: 0;
	justify-self: center;
	align-self: end;
}

.site-footer__image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.site-info {
	grid-column: 1;
	grid-row: 3;
	align-self: end;
	text-align: left;
	font-family: var(--font-body);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1;
	padding-top: 1.5rem;
	border-top: 0;
	color: var(--color-btn-dark);
}

.site-info a {
	color: var(--color-btn-dark);
}

.contact-page-body .site-footer {
	flex: 1;
	display: flex;
	padding-block: clamp(3rem, 8vw, 6rem) clamp(0.25rem, 1vw, 0.75rem);
}

.contact-page-body .site-footer > .container {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.contact-page-body .site-footer__layout {
	flex: 1;
	grid-template-rows: auto auto 1fr auto;
	min-height: 0;
}

.contact-page-body .site-footer__content {
	align-self: start;
}

.contact-page-body .site-info {
	grid-row: 3;
	align-self: end;
	transform: translateY(calc(clamp(3rem, 5vw, 6rem) - 10px));
}

.contact-page-body .site-footer__image {
	grid-row: 2 / 4;
	align-self: end;
	transform: translateY(calc(clamp(3rem, 5vw, 6rem) - 10px));
}

@media (max-width: 768px) {
	.site-footer {
		padding-block: 3rem 1.25rem;
		padding: 0 0 1.75rem 0 !important;
	}

	.fp-body .site-footer {
		padding-block-start: clamp(1.75rem, 6vw, 3rem);
	}

	.fp-body .site-footer > .container {
		padding-inline: 2rem;
	}

	.site-footer__layout {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		gap: 2rem;
		min-height: 0;
	}

	.site-footer__content {
		align-self: auto;
		
	}

	.site-footer__title {
		grid-column: 1;
		justify-self: center;
	}

	.site-footer__contacts {
		width: 100%;
		margin-left: 0;
		font-size: clamp(1.2rem, 2vw, 1.6rem);
		

		div {
			font-size: clamp(1.2rem, 2vw, 1.6rem);
		}

		a {
			font-size: clamp(1.2rem, 2vw, 1.6rem);
		}
	}

	.site-footer__image {
		grid-column: 1;
		grid-row: auto;
		width: min(72vw, 260px);
		justify-self: end;
		align-self: auto;
	}

	.site-info {
		grid-column: 1;
		grid-row: auto;
		padding-top: 0;
	}

	.contact-page-body .site-footer {
		min-height: calc(100vh - 88px);
		padding-bottom: 0.35rem;
	}

	.contact-page-body .site-footer__layout {
		grid-template-rows: auto auto 1fr auto auto;
	}

	.contact-page-body .site-footer__image {
		grid-row: 4;
		align-self: end;
		transform: translateY(-10px);
	}

	.contact-page-body .site-info {
		grid-row: 5;
		align-self: end;
		transform: translateY(-10px);
	}
}

/* =====================================================
   UTILITY
===================================================== */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.screen-reader-text:focus {
	background: var(--color-bg-dark);
	clip: auto;
	color: var(--color-text);
	display: block;
	font-size: 0.9rem;
	height: auto;
	left: 1rem;
	padding: 1rem;
	top: 1rem;
	width: auto;
	z-index: 999;
}

.alignleft  { float: left;  margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; text-align: center; }
.alignwide  { max-width: calc(var(--max-width) + 4rem); margin-inline: auto; }
.alignfull  { width: 100vw; margin-inline: calc(-50vw + 50%); }

/* =====================================================
   SOCIALINIAI IKONAI
===================================================== */
.social-icons {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.social-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	color: var(--color-text);
	font-size: 1.1rem;
	opacity: 0.75;
	transition: opacity var(--transition);
}

.social-icons a:hover {
	opacity: 1;
}

.ds-social-icons {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-btn-dark);
}

.ds-social-icons--fixed {
	position: fixed;
	left: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
}

.ds-social-icons__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	color: inherit;
	opacity: 1;
	transition: opacity var(--transition), transform var(--transition);
}

.ds-social-icons__link:hover,
.ds-social-icons__link:focus {
	color: inherit;
	opacity: 0.7;
	transform: translateY(-1px);
}

.ds-social-icons__icon {
	width: 2.15rem;
	height: 2.15rem;
	display: block;
}

.ds-social-icons__link--facebook .ds-social-icons__icon {
	width: 1.8rem;
	height: 1.8rem;
}

.ds-social-icons--footer {
	display: none;
	margin-top: 0.9rem;
}

.site-footer__contacts .ds-social-icons__link {
	display: inline-flex;
	width: 2.15rem;
	height: 2.15rem;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.ds-social-icons--fixed {
		display: none;
	}

	.ds-social-icons--footer {
		display: flex;
	}
}

/* =====================================================
   SEKCIJŲ ANTRAŠTĖS
===================================================== */
.section-heading {
	font-family: var(--font-heading);
	font-size: clamp(1.4rem, 3vw, 2rem);
	color: var(--color-text);
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--color-border);
}

/* =====================================================
   REZIDENCIJA SKYRIUS
===================================================== */
.residence-section {
	padding-block: 3rem;
}

.residence-section p {
	color: var(--color-text-muted);
	max-width: 70ch;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 600px) {
	:root { font-size: 15px; }
	.posts-grid { grid-template-columns: 1fr; }
	.footer-widgets { grid-template-columns: 1fr; }
}

/* .site-footer__image img {
	width: 80%;
} */

/* =====================================================
   FRONT PAGE (front-page.php)
===================================================== */

/* Reset for full-screen front page */
.fp-body {
	/* overflow: hidden; */
}

.fp-body.fp-body {
	margin: 0;
	padding: 0;
}

/* Outer wrapper – 100vh grid */
.fp-wrap {
	display: grid;
	grid-template-rows: 1fr auto;
	min-height: 100vh;
	background-color: var(--color-bg);
	position: relative;
}

/* ── HEADER ────────────────────────────────────────── */
.fp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: min(100%, var(--max-width));
	margin-inline: auto;
	padding: 2rem 0 0;
	position: sticky;
	top: 0;
	z-index: 100;
	transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.fp-header .navbar-site-title {
	margin-right: 0;
	position: static;
	transform: none;
}

.fp-header.is-scrolled {
	background: var(--color-bg);
	padding-block: 0.6rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Language switcher */
.fp-lang-switcher {
	display: flex;
	gap: 0.5rem;
	position: absolute;
	right: 2rem;
	top: 50%;
	transform: translateY(-50%);
}

.fp-lang-switcher a,
.fp-lang__link {
	display: inline-block;
	background: transparent;
	color: var(--color-text);
	border: 2px solid var(--color-text);
	border-radius: 50px;
	padding: 0.35rem 0.9rem;
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--transition), color var(--transition);
}

.fp-lang-switcher a:hover,
.fp-lang--active {
	background: var(--color-text) !important;
	color: var(--color-bg) !important;
}

/* ── MAIN GRID ─────────────────────────────────────── */
.fp-main {
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	/* grid-template-columns: 1fr auto; */
	align-items: center;
	justify-content: center;
	gap: 2rem;
	padding: 2rem 0 1rem;
	min-height: 0; /* allow shrinking inside grid row */
}

/* ── VIDEO BLOCK ───────────────────────────────────── */
.fp-video-block {
	position: relative;
	width: 100%;
	max-width: var(--max-width);
	aspect-ratio: 16 / 10;
	/* background: #000; */
	background: #f00;
	border-radius: var(--radius-sm);
	overflow: visible;
	justify-self: center;
	border: 0;
}

.fp-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: var(--radius-sm);
	border: 0;
		background: #f00;
}

.fp-video--empty {
	background: #111;
	display: flex;
	align-items: flex-start;
	padding: 1rem;
}

.fp-video__label {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	color: var(--color-accent);
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	pointer-events: none;
}

.fp-video-logo {
	display: none;
}

@media (min-width: 769px) {
	.fp-video-logo {
		display: block;
		position: fixed;
		top: 200px;
		right: var(--fixed-brand-right);
		z-index: 90;
		width: var(--fixed-brand-width);
		max-width: 32%;
	}

	.fp-video-logo img {
		width: 100%;
		height: auto;
		display: block;
	}

	.fp-body .site-footer__image {
		position: fixed;
		right: var(--fixed-brand-right);
		bottom: clamp(1.25rem, 3vw, 2rem);
		z-index: 80;
		width: var(--fixed-brand-width);
		max-width: 32%;
		justify-self: auto;
		align-self: auto;
	}
}

/* ── HEADLINE / LOGO BLOCK ─────────────────────────── */
.fp-headline-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1.5rem;
	padding-right: 1rem;
}

.fp-headline {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(2.8rem, 6vw, 5.5rem);
	font-weight: 400;
	font-style: italic;
	line-height: 1.05;
	color: var(--color-text);
	text-align: right;
	margin: 0;
	letter-spacing: -0.01em;
}

.fp-logo img {
	max-width: 200px;
	height: auto;
}

/* ── FOOTER STRIP ──────────────────────────────────── */
.fp-footer {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
	padding: 1rem 2rem 1.5rem;
	position: relative;
}

/* Social icons */
.fp-social {
	display: flex;
	gap: 0.5rem;
	flex-shrink: 0;
}

.fp-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-btn-dark);
	opacity: 0.9;
	transition: opacity var(--transition);
}

.fp-social__link:hover {
	opacity: 1;
}

.fp-social__icon {
	width: 28px;
	height: 28px;
}

/* Page description */
.fp-desc {
	flex: 1;
	font-family: var(--font-body);
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--color-text);
	max-width: var(--max-width);
}

.fp-desc p {
	margin-bottom: 0;
}
.fp-description {
	font-family: var(--font-body);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.6;
	color: var(--color-btn-dark);
	width: min(100%, var(--max-width));
	text-align: left;
	padding: clamp(25px, 0, 1.5rem);

}

/* Residents section */
.fp-residents {
	width: min(100%, var(--max-width));
	padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 7vw, 5rem);
	color: var(--color-btn-dark);
}

.fp-residents__kicker,
.fp-residents__title {
	max-width: 360px;
	margin: 0 auto;
	color: var(--color-btn-dark);
	font-family: var(--font-body);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.fp-residents__kicker {
	margin-bottom: 0.7rem;
}

.fp-residents__title {
	margin-bottom: clamp(4rem, 8vw, 6rem);
}

.fp-residents__body {
	display: flex;
	justify-content: center;
	/* grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr); */
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}

.fp-residents__intro {
	display: none;
}
.fp-residents__description,
.fp-residents__list {
	font-size: clamp(1.2rem, 2.3vw, 1.6rem);
	line-height: 1.15;
}

.fp-residents__description {
	max-width: var(--max-width);
	
}

.fp-residents__description p:last-child {
	margin-bottom: 0;
}

.fp-residents__list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: clamp(2rem, 4vw, 2.6rem) 0 0;
	padding: 0 0 0 clamp(2rem, 7vw, 5.75rem);
	list-style: none;
}

.fp-residents__item {
	margin: 0;
}

.fp-residents__item a {
	color: var(--color-btn-dark);
}

.fp-residents__item a::before {
	content: "— ";
}

.fp-residents__button,
.fp-events__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.55rem;
	padding: 0.95rem 1.75rem;
	background: var(--color-btn-dark);
	border-radius: 999px;
	color: var(--color-text);
	font-size: clamp(14px, 2vw, 1.6rem);
	line-height: 1;
	
}

.fp-residents__button {
	/* margin-top: clamp(3rem, 7vw, 5rem);
  margin-left: calc((100% - min(100%, 560px)) / 2); */
  margin-top: clamp(3rem, 7vw, 5rem);
}

.fp-residents__button:hover,
.fp-events__button:hover {
	color: var(--color-text);
	opacity: 0.85;
}

/* Events section */
.fp-events {
	width: min(100%, var(--max-width));
	padding: clamp(1rem, 3vw, 2rem) 0 clamp(2.5rem, 7vw, 5rem);
	color: var(--color-btn-dark);
}

.fp-events__title {
	color: var(--color-btn-dark);
	font-family: var(--font-body);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 700;
	line-height: 1;
	margin: 0 0 clamp(2rem, 5vw, 3.2rem);
	text-align: center;
}

.fp-events__list {
	display: flex;
	flex-direction: column;
	gap: clamp(3rem, 7vw, 5.25rem);
}

.fp-event {
	width: 100%;
	color: var(--color-btn-dark);
	padding: 25px 0;
}

.fp-event__image {
	display: block;
	width: min(100%, 550px);
	margin: 0 auto 1rem;
	color: inherit;
}

.fp-event__image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.fp-event__header {
	margin-bottom: 1rem;
	text-align: center;
}

.fp-event__name {
	color: var(--color-btn-dark);
	font-family: var(--font-body);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
}

.fp-event__name a {
	color: inherit;
}

.fp-event__date {
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.2;
}

.fp-event__excerpt {
	max-width: var(--max-width);
	margin: 0 auto;
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.25;
}

.fp-events__button {
	/* margin-top: clamp(3rem, 7vw, 5rem);
	margin-left: calc((100% - min(100%, 560px)) / 2); */
	margin-top: clamp(3rem, 7vw, 5rem);
  	
}

/* =====================================================
   404 PAGE
===================================================== */
.error-page-body {
	background: #d9d9d9;
	color: #000;
	font-family: var(--font-body);
	line-height: 1.25;
}

.error-page-body .site {
	background: #d9d9d9;
}

.error-page-body .site-footer {
	background: #d9d9d9;
}

.error-page {
	width: 100%;
	min-height: 100vh;
	padding: 1rem 1rem 0;
	background: #d9d9d9;
	color: #000;
}

.error-page__shell {
	width: min(100%, var(--archive-width));
	margin: 0 auto;
	padding: 0.9rem 1.5rem 6rem;
}

.error-page__header {
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 1rem;
	margin-bottom: clamp(4rem, 8vw, 5.5rem);
}

.error-page__title {
	margin: 0 auto 0 0;
	color: #000;
	font-family: var(--font-heading);
	font-size: clamp(2.6rem, 5vw, 4.2rem);
	font-weight: 400;
	line-height: 1;
}

.error-page__home {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.55rem;
	padding: 0.45rem 1.1rem;
	background: var(--color-btn-dark);
	border: 0;
	border-radius: 50px;
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.error-page__home:hover {
	color: #fff;
	opacity: 0.8;
}

.error-page__content {
	width: min(100%, 760px);
	margin: 0 auto;
	color: #000;
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.18;
}

.error-page__content p {
	margin: 0;
}

@media (max-width: 600px) {
	.error-page {
		padding: 0;
	}

	.error-page__shell {
		padding: 1.25rem 2rem 4rem;
	}

	.error-page__header {
		margin-bottom: 3rem;
	}

	.error-page__content {
		width: 100%;
	}
}

/* =====================================================
   EVENTS ARCHIVE PAGE
===================================================== */
.events-archive-body {
	background: #d9d9d9;
	color: #000;
	font-family: var(--font-body);
	line-height: 1.25;
}

.events-archive-body .site {
	background: #d9d9d9;
}

.events-archive-body .site-footer {
	background: #d9d9d9;
}

.events-archive {
	width: 100%;
	min-height: 100vh;
	padding: 1rem 1rem 0;
	background: #d9d9d9;
}

.events-archive__shell {
	width: min(100%, var(--archive-width));
	margin: 0 auto;
	padding: 0.9rem 1.5rem 6rem;
	background: transparent;
	color: #000;
}

.events-archive__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.events-archive__title {
	color: #000;
	font-family: var(--font-body);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 400;
	line-height: 1.1;
	margin: 0;
}

.events-archive__close {
display: block;
  padding: 0.45rem 1.1rem;
  font-weight: 400;
  font-size: 0.9rem;
  border-radius: 50px;
  background: var(--color-btn-dark);
  color: #fff;
  transition: background var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.events-archive__close:hover {
	color: #fff;
	opacity: 0.8;
}

.events-archive__layout {
	display: grid;
	grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5.5rem);
	align-items: start;
}

.events-archive__nav {
	position: sticky;
	top: 6rem;
	width: 250px;
}

.events-archive__list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.12;
}

.events-archive__list a {
	color: #000;
}

.events-archive__event {
	width: min(100%, 760px);
	margin: 0 auto;
	color: #000;
}

@media (min-width: 769px) {
	.events-archive__event,
	.residents-archive__profile {
		scroll-margin-top: 8rem;
	}
}

.events-archive__event + .events-archive__event {
	margin-top: clamp(4rem, 9vw, 7rem);
}

.events-archive__event-header {
	margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
	text-align: center;
}

.events-archive__name {
	color: #000;
	font-family: var(--font-body);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 400;
	line-height: 1.1;
	margin: 0;
}

.events-archive__date {
	color: #000;
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.2;
	margin-top: 0.35rem;
}

.events-archive__image {
	width: min(100%, 560px);
	margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.events-archive__image img {
	width: 100%;
	aspect-ratio: 16 / 10.5;
	object-fit: cover;
}

.events-archive__content {
	max-width: 720px;
	margin: 0 auto;
	color: #000;
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.18;
}

.events-archive__content > * + * {
	margin-top: 1.35rem;
}

.events-archive__content h2,
.events-archive__content h3,
.events-archive__content h4 {
	color: #000;
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.1;
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

.events-archive__content a {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.events-archive__content figure {
	margin: clamp(2rem, 5vw, 3rem) auto;
}

.events-archive__content figcaption {
	margin-top: 0.25rem;
	color: #000;
	font-size: 0.75rem;
	line-height: 1.2;
}

.events-archive__content img {
	width: 100%;
	height: auto;
}

.events-archive__empty {
	color: #000;
	margin: 4rem auto;
	text-align: center;
}

/* =====================================================
   ABOUT STATION PAGE
===================================================== */
.about-station-body {
	background: #d9d9d9;
	color: #000;
	font-family: var(--font-body);
	line-height: 1.25;
}

.about-station-body .site,
.about-station-body .site-footer {
	background: #d9d9d9;
}

.about-station {
	width: 100%;
	min-height: 100vh;
	padding: 1rem 1rem 0;
	background: #d9d9d9;
}

.about-station__shell {
	width: min(100%, var(--archive-width));
	margin: 0 auto;
	padding: 0.9rem 1.5rem 6rem;
	background: transparent;
	color: #000;
}

.about-station__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.about-station__title {
	color: #000;
	font-family: var(--font-body);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 400;
	line-height: 1.1;
	margin: 0;
}

.about-station__close {
	display: block;
	padding: 0.45rem 1.1rem;
	font-weight: 400;
	font-size: 0.9rem;
	border-radius: 50px;
	background: var(--color-btn-dark);
	color: #fff;
	transition: background var(--transition), opacity var(--transition);
	white-space: nowrap;
}

.about-station__close:hover {
	color: #fff;
	opacity: 0.8;
}

.about-station__layout {
	display: grid;
	grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5.5rem);
	align-items: start;
	padding: 25px 0;
}

.about-station__nav {
	position: sticky;
	top: 6rem;
	width: 250px;
	max-width: 100%;
	font-size: clamp(1.05rem, 1.8vw, 1.35rem);
	line-height: 1.12;
	
}

.about-station__nav a {
	color: #000;
}

.about-station__article {
	grid-column: 2;
	width: min(100%, 760px);
	margin: 0 auto;
	color: #000;
}

.about-station__article-header {
	margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
	text-align: center;
}

.about-station__name {
	color: #000;
	font-family: var(--font-body);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 400;
	line-height: 1.1;
	margin: 0;
}

.about-station__image {
	width: min(100%, 560px);
	margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.about-station__image img {
	width: 100%;
	aspect-ratio: 16 / 10.5;
	object-fit: cover;
}

.about-station__content {
	max-width: 720px;
	margin: 0 auto;
	color: #000;
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.18;
}

.about-station__content > * + * {
	margin-top: 1.35rem;
}

.about-station__content h2,
.about-station__content h3,
.about-station__content h4 {
	color: #000;
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.1;
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

.about-station__content a {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.about-station__content figure {
	margin: clamp(2rem, 5vw, 3rem) auto;
}

.about-station__content figcaption {
	margin-top: 0.25rem;
	color: #000;
	font-size: 0.75rem;
	line-height: 1.2;
}

.about-station__content img {
	width: 100%;
	height: auto;
}

.about-station__empty {
	color: #000;
	margin: 4rem auto;
	text-align: center;
}

/* =====================================================
   RESIDENTS ARCHIVE PAGE
===================================================== */
.residents-archive-body {
	background: #d9d9d9;
	color: #000;
	font-family: var(--font-body);
	line-height: 1.25;
}

.residents-archive-body .site {
	background: #d9d9d9;
}

.residents-archive-body .site-footer {
	background: #d9d9d9;
}

.residents-archive {
	width: 100%;
	min-height: 100vh;
	padding: 1rem 1rem 0;
	background: #d9d9d9;
}

.residents-archive__shell {
	width: min(100%, var(--archive-width));
	margin: 0 auto;
	padding: 0.9rem 1.5rem 6rem;
	background: transparent;
	color: #000;
}

.residents-archive__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.residents-archive__title {
	color: #000;
	font-family: var(--font-body);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 400;
	line-height: 1.1;
	margin: 0;
}

.residents-archive__close {
	display: block;
	padding: 0.45rem 1.1rem;
	background: #000;
	border-radius: 999px;
	color: #fff;
	font-size: 0.9rem;
	line-height: 1;
	text-align: center;
}

.residents-archive__close:hover {
	color: #fff;
	opacity: 0.8;
}

.residents-archive__layout {
	display: grid;
	grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5.5rem);
	align-items: start;
}

.residents-archive__nav {
	position: sticky;
	top: 6rem;
	width: 250px;
}

.residents-archive__list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.12;
}

.residents-archive__list a {
	color: #000;
}

.residents-archive__profile {
	width: min(100%, 760px);
	margin: 0 auto;
	color: #000;
}

.residents-archive__profile + .residents-archive__profile {
	margin-top: clamp(4rem, 9vw, 7rem);
}

.residents-archive__name {
	color: #000;
	font-family: var(--font-body);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 400;
	line-height: 1.1;
	margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
	text-align: center;
}

.residents-archive__image {
	width: min(100%, 560px);
	margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.residents-archive__image img {
	width: 100%;
	aspect-ratio: 16 / 10.5;
	object-fit: cover;
}

.residents-archive__content {
	max-width: 720px;
	margin: 0 auto;
	color: #000;
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 1.18;
}

.residents-archive__content > * + * {
	margin-top: 1.35rem;
}

.residents-archive__content h2,
.residents-archive__content h3,
.residents-archive__content h4 {
	color: #000;
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.1;
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

.residents-archive__content a {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.residents-archive__content figure {
	margin: clamp(2rem, 5vw, 3rem) auto;
}

.residents-archive__content figcaption {
	margin-top: 0.25rem;
	color: #000;
	font-size: 0.75rem;
	line-height: 1.2;
}

.residents-archive__content img {
	width: min(100%, 560px);
  	margin: 0 auto clamp(2rem, 4vw, 2.75rem);
	/* width: 100%; */
	height: auto;
}

.residents-archive__empty {
	color: #000;
	margin: 4rem auto;
	text-align: center;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
	.fp-body {
		overflow: auto;
	}

	.fp-header {
		width: 100%;
		padding-inline: 1rem;
	}

	.fp-main {
		grid-template-columns: 1fr;
		gap: clamp(1.75rem, 6vw, 3rem);
		padding: 2rem 2rem 1.5rem;
		justify-content: flex-start;
		/* padding: 1.25rem 2rem 1.15rem; */
	}

	.fp-description {
			p {
		&:last-child {
			margin-bottom: 0 !important;
		}
	}
	}

	.fp-events,
	.fp-residents {
		padding-block: 0;
	}

	.fp-event {
		padding-block: 0;
	}

	/* .fp-events, */
	.fp-residents,
	.fp-events__title,
	.fp-residents__title,
	/* .fp-events__list, */
	.fp-residents__body,
	/* .fp-event,
	.fp-event__image,
	.fp-event__header,
	.fp-event__excerpt, */
	/* .fp-events__button, */
	.fp-residents__description,
	.fp-residents__list,
	/* .fp-residents__button, */
	.fp-body .site-footer,
	.fp-body .site-footer__layout,
	.fp-body .site-footer__content,
	.fp-body .site-footer__contacts,
	.fp-body .site-footer__team {
		margin-top: 0;
		margin-bottom: 0;
		padding-top: 0;
		padding-bottom: 0;
		gap: 0;
	}

	.fp-events__title {
		padding: 10px 0 40px 0;
	}

	.fp-residents__title {
		padding: 20px 0 40px 0;
	}

	/* .fp-events__list {
		gap: 0;
	} */

	.fp-events__button{
		margin-top: 40px 0 0 0 !important;
	}

	.fp-residents__list {
		margin-top: 0;
	}

	.fp-body .fp-footer {
		padding-block: 0;
	}

	.fp-headline-wrap {
		align-items: flex-start;
		padding-right: 0;
	}

	.fp-headline {
		text-align: left;
	}

	.fp-lang-switcher {
		position: static;
		transform: none;
	}

	.fp-header {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.events-archive__layout {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.events-archive__nav {
		position: static;
		max-width: 100%;
	
	}

	.events-archive__event {
		width: 100%;
	}

	.about-station__layout {
		display: block;
		gap: 0;
	}

	.about-station__nav {
		position: static;
		max-width: 100%;
	}

	.about-station__article {
		width: 100%;
	}

	.residents-archive__layout {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.residents-archive__nav {
		position: static;
		max-width: 100%;
	}

	.residents-archive__profile {
		width: 100%;
		scroll-margin-top: 5.5rem;
	}
}

/* ── HAMBURGER BUTTON ──────────────────────────────── */
.fp-hamburger {
	display: none;
	background: transparent;
	border: none;
	padding: 6px;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	order: -1;
	flex-shrink: 0;
	z-index: 10;
}

.fp-hamburger__bar {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--color-btn-dark);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
	transform-origin: center;
}

/* ── DRAWER PANEL ──────────────────────────────────── */

/* Backdrop */
.fp-nav-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 200;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.fp-nav-backdrop.is-visible {
	display: block;
	opacity: 1;
	pointer-events: auto;
}

/* Drawer */
.fp-drawer {
	display: flex;
	flex-direction: column;
	position: static;
	width: auto;
	height: auto;
	background: transparent;
	padding: 0;
	transform: none;
	pointer-events: auto;
}

.fp-drawer.is-open {
	transform: none;
}

/* Close (X) button inside drawer */
.fp-drawer__close {
	background: none;
	border: none;
	padding: 0;
	margin-bottom: 2rem;
	align-self: flex-end;
	cursor: pointer;
	color: var(--color-text);
	opacity: 0.85;
	transition: opacity var(--transition);
	display: none; /* shown only on mobile */
}

.fp-drawer__close:hover {
	opacity: 1;
}

/* Nav list inside drawer (desktop – horizontal pills) */
.fp-nav__list {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fp-nav__list li a {
	display: inline-block;
	background: #1a1a1a;
	color: #fff;
	border-radius: 50px;
	padding: 0.45rem 1.1rem;
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: background var(--transition), color var(--transition);
}

.fp-nav__list li a:hover,
.fp-nav__list li.current-menu-item a {
	background: #fff;
	color: #1a1a1a;
}

/* ── RESPONSIVE: DRAWER MODE ────────────────────────── */
@media (max-width: 768px) {
	.fp-nav {
		order: 1;
		margin-left: 0.75rem;
		position: relative;
		z-index: 410;
	}

	.fp-header .navbar-site-title {
		margin-right: auto;
		max-width: calc(100% - 78px);
		order: 0;
		position: static;
		transform: none;
	}

	.fp-hamburger {
		display: flex;
		order: 0;
		/* background: #1a1a1a; */
		border-radius: 999px;
		padding: 13px 17px;
	}

	.fp-hamburger__bar {
		background: #fff;
	}

	.fp-drawer__close {
		display: block;
	}

	.fp-drawer {
		position: fixed;
		top: 0;
		left: 0;
		width: min(75vw, 360px);
		height: 100vh;
		background: var(--color-bg);
		z-index: 420;
		overflow-y: auto;
		padding: 1.5rem 2rem 3rem;
		transform: translateX(-100%);
		transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
		pointer-events: none;
	}

	.fp-drawer.is-open {
		transform: translateX(0);
		pointer-events: auto;
	}

	/* Desktop nav list becomes vertical in drawer */
	.fp-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.fp-nav__list li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}

	.fp-nav__list li:first-child {
		border-top: 1px solid rgba(255, 255, 255, 0.25);
	}

	.fp-nav__list li a {
		display: block;
		background: transparent;
		color: var(--color-text);
		border-radius: 0;
		padding: 1rem 0;
		font-size: clamp(1.1rem, 4vw, 1.4rem);
		font-weight: 700;
		letter-spacing: 0.01em;
		text-align: left;
		transition: opacity var(--transition);
	}

	.fp-nav__list li a:hover,
	.fp-nav__list li.current-menu-item a {
		background: transparent;
		color: var(--color-text);
		opacity: 0.7;
	}

	/* Hide desktop nav (it lives inside the drawer now) */
	.fp-header {
		align-items: center;
		justify-content: flex-end;
		padding: 1.6rem 1rem;
		z-index: 400;
	}

	.fp-lang-switcher {
		order: 1;
		position: static;
		transform: none;
		margin-left: 0;
	}
}

@media (max-width: 600px) {
	.fp-main   { 
		/* padding: 0 1rem 1rem;  */
		gap: 2rem;
		padding: 1.25rem 2rem 2rem;
	}
	.fp-footer { padding-inline: 1rem; flex-wrap: wrap; }

	.fp-headline {
		font-size: clamp(2rem, 10vw, 3.5rem);
	}

	.project-page {
		/* padding: 1.5rem 1rem 4rem; */
		padding: 1.25rem 2rem 1.15rem;
	}

	.project-page__hero,
	.project-page__body {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.project-page__label,
	.project-page__aside {
		font-size: 0.75rem;
	}

	.project-page__title {
		font-size: clamp(2.6rem, 16vw, 4.75rem);
		line-height: 0.92;
	}

	.project-page__content {
		font-size: 1.05rem;
	}

	.fp-residents {
		width: 100%;
	}

	.fp-residents__title {
		margin-bottom: 0;
	}

	.fp-residents__body {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.fp-residents__intro,
	.fp-residents__description,
	.fp-residents__list {
		font-size: 1.15rem;
	}

	.fp-residents__list {
		padding-left: 1.5rem;
	}

	.fp-residents__button {
		min-height: 3rem;
		margin-top: 40px 0 0 0 !important;
		font-size: 1rem;
	}

	.fp-events {
		width: 100%;
	}

	.fp-event__excerpt {
		font-size: clamp(1.2rem, 2vw, 1.6rem);
	}

	.events-archive {
		padding: 0;
	}

	.events-archive__shell {
		/* padding: 0.9rem 1rem 3.5rem; */
		padding: 1.25rem 2rem 1.15rem;
	}

	.events-archive__header {
		margin-bottom: 1.75rem;
	}

	.events-archive__list {
		font-size: clamp(1.2rem, 2vw, 1.6rem);
	}

	.events-archive__event-header {
		text-align: left;
	}

	.events-archive__image {
		width: 100%;
	}

	.events-archive__content {
		font-size: clamp(1.2rem, 2vw, 1.6rem);
	}

	.about-station {
		padding: 0;
	}

	.about-station__shell {
		padding: 1.25rem 2rem 1.15rem;
	}

	.about-station__header {
		margin-bottom: 1.75rem;
	}

	.about-station__article-header {
		text-align: left;
	}

	.about-station__image {
		width: 100%;
	}

	.about-station__content {
		font-size: clamp(1.2rem, 2vw, 1.6rem);
	}

	.residents-archive {
		padding: 0;
	}

	.residents-archive__shell {
		/* padding: 0.9rem 1rem 3.5rem; */
		padding: 1.25rem 2rem 1.15rem;
	}

	.residents-archive__header {
		margin-bottom: 1.75rem;
	}

	.residents-archive__list {
		font-size: clamp(1.2rem, 2vw, 1.6rem);
	}

	.residents-archive__image {
		width: 100%;
	}

	.residents-archive__content {
		font-size: clamp(1.2rem, 2vw, 1.6rem);
	}
}
