/* ==========================================================================
   St. Joseph's OMI Seminary — Stylesheet
   Palette:
     --navy        #14213D  ink navy (text, dark grounds)
     --blue        #1B3A6B  Marian blue (primary)
     --blue-light  #9DC0E8  light blue (accents, tints)
     --blue-pale   #EEF3FA  pale blue (section backgrounds)
     --red         #9A2B25  oblate red (calls to action, emphasis)
     --gold        #C9A227  antique gold (rules, icons, signature)
     --gold-light  #E9D48F  pale gold (soft highlights)
     --cream       #FAF7F0  warm neutral base
   Type:
     Display — 'Cormorant Garamond' (headlines, quote)
     Body    — 'Open Sans'
     Utility — 'Roboto' (eyebrows, labels, nav)
   ========================================================================== */

:root {
	--navy: #14213D;
	--blue: #1B3A6B;
	--blue-light: #9DC0E8;
	--blue-pale: #EEF3FA;
	--red: #9A2B25;
	--red-dark: #6E1E1A;
	--gold: #C9A227;
	--gold-light: #E9D48F;
	--cream: #FAF7F0;
	--serif: 'Cormorant Garamond', 'Georgia', serif;
	--body: 'Open Sans', sans-serif;
	--utility: 'Roboto', sans-serif;

	/* aliases referenced by inline styles on the general-info page */
	--color-danger: var(--red);
	--color-tertiary: var(--cream);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	padding: 0;
	font-family: var(--body);
	color: var(--navy);
	background: var(--cream);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.clearfix::after { content: ""; display: table; clear: both; }

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
	html { scroll-behavior: auto; }
}

h1, h2, h3, h4, h5 {
	font-family: var(--serif);
	color: var(--navy);
	margin: 0 0 0.4em 0;
	font-weight: 600;
	letter-spacing: 0.01em;
}

p { margin: 0 0 1em 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button, .button-secondary {
	display: inline-block;
	font-family: var(--utility);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 15px 34px;
	border-radius: 2px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button {
	background: var(--gold);
	color: var(--navy);
}
.button:hover, .button:focus-visible {
	background: var(--gold-light);
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(201, 162, 39, 0.35);
}

.button-secondary {
	background: var(--red);
	color: var(--cream);
	border-color: var(--red);
}
.button-secondary:hover, .button-secondary:focus-visible {
	background: var(--red-dark);
	border-color: var(--red-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(154, 43, 37, 0.35);
}

/* --------------------------------------------------------------------------
   Navbar (desktop)
   -------------------------------------------------------------------------- */

.navbar {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--navy);
	border-bottom: 3px solid var(--gold);
}

.navbar .nav-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 14px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo-link { display: flex; align-items: center; }
.logo-img { height: 46px; width: auto; filter: brightness(1) invert(0); }

.nav-links {
	list-style: none;
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.nav-links li a {
	display: inline-block;
	padding: 10px 16px;
	font-family: var(--utility);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--blue-light);
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links li a:hover, .nav-links li a:focus-visible {
	color: var(--gold-light);
	border-color: var(--gold);
}

.navbar-responsive { display: none; }

@media (max-width: 860px) {
	.navbar { display: none; }
	.navbar-responsive { display: block; background: var(--navy); border-bottom: 3px solid var(--gold); }
	.navbar-responsive .nav-container {
		max-width: 100%;
		padding: 14px 24px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.navbar-responsive .nav-links { display: flex; }
	.navbar-responsive .nav-links li a { color: var(--gold); padding: 8px; }
	.nav-links-responsive {
		list-style: none;
		margin: 0;
		padding: 8px 24px 18px;
		background: var(--navy);
	}
	.nav-links-responsive li a {
		display: block;
		padding: 12px 8px;
		font-family: var(--utility);
		font-size: 14px;
		font-weight: 600;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--blue-light);
		border-top: 1px solid rgba(157, 192, 232, 0.15);
	}
	.nav-links-responsive li a:hover, .nav-links-responsive li a:focus-visible { color: var(--gold-light); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero-container {
	background:
		radial-gradient(ellipse at top left, rgba(157, 192, 232, 0.18), transparent 55%),
		linear-gradient(160deg, var(--navy) 0%, var(--blue) 70%);
	position: relative;
	overflow: hidden;
}

.hero-container::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 120px;
	height: 4px;
	background: var(--gold);
	border-radius: 4px;
}

.hero {
	max-width: 780px;
	margin: 0 auto;
	padding: 130px 32px 110px;
	text-align: center;
}

.hero-text p:first-child {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--gold-light);
	margin-bottom: 22px;
}

.hero-text h1 {
	color: #fff;
	font-size: clamp(2.6rem, 6vw, 4.4rem);
	font-weight: 600;
	line-height: 1.08;
	margin-bottom: 14px;
}

.hero-text p:nth-child(3) {
	font-family: var(--utility);
	font-size: 14px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--blue-light);
}

/* --------------------------------------------------------------------------
   Facts strip
   -------------------------------------------------------------------------- */

.hero-container-facts {
	display: flex;
	flex-wrap: wrap;
	background: var(--blue-pale);
	border-bottom: 1px solid rgba(27, 58, 107, 0.08);
}

.hero-fact-1 {
	flex: 1 1 220px;
	text-align: center;
	padding: 42px 20px;
	border-right: 1px solid rgba(27, 58, 107, 0.1);
}
.hero-fact-1:last-child { border-right: none; }

.hero-fact-1 p {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 6px;
}

.hero-fact-1 h1 {
	font-size: 2.6rem;
	color: var(--red);
	margin: 0;
}

/* --------------------------------------------------------------------------
   About section
   -------------------------------------------------------------------------- */

.section-home-about-us {
	max-width: 1180px;
	margin: 0 auto;
	padding: 100px 32px;
	display: flex;
	align-items: center;
	gap: 64px;
}

.seminary-img, .seminary-description { flex: 1 1 0; }

.img-box {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 30px 60px -20px rgba(20, 33, 61, 0.35);
}

.img-box::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid var(--gold);
	border-radius: 6px;
	margin: 14px;
	pointer-events: none;
	z-index: 2;
}

.img-box-inner img { width: 100%; height: 100%; object-fit: cover; }

.seminary-description p:first-child {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 14px;
}

.seminary-description h1 {
	font-size: 2.4rem;
	margin-bottom: 20px;
}

.seminary-description > p:nth-of-type(2) {
	font-size: 1.05rem;
	color: #3B4B63;
	margin-bottom: 30px;
}

@media (max-width: 860px) {
	.section-home-about-us { flex-direction: column; padding: 70px 24px; }
}

/* --------------------------------------------------------------------------
   Mission / charism section (dark ground, signature quote)
   -------------------------------------------------------------------------- */

.section-home-evangelizing {
	background: var(--navy);
	background-image: radial-gradient(circle at 85% 20%, rgba(157, 192, 232, 0.12), transparent 45%);
	padding: 100px 32px;
}

.evangelizing-text, .evangelizing-text-points {
	max-width: 1180px;
	margin: 0 auto;
}

.evangelizing-text p:first-child {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 14px;
}

.evangelizing-text h3 {
	color: #fff;
	font-size: 2.3rem;
	max-width: 720px;
	margin-bottom: 22px;
}

.evangelizing-text p[style] {
	color: var(--blue-light) !important;
	font-size: 1.15rem !important;
	max-width: 760px;
	line-height: 1.7;
}

/* the founder's quote — signature illuminated element */
.evangelizing-text p:last-child {
	position: relative;
	max-width: 640px;
	margin: 46px 0 0 0;
	padding: 8px 0 8px 40px;
	border-left: 2px solid var(--gold);
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.35rem;
	line-height: 1.55;
	color: var(--gold-light);
}

.evangelizing-text p:last-child::before {
	content: "\201C";
	position: absolute;
	left: -6px;
	top: -34px;
	font-family: var(--serif);
	font-size: 5rem;
	font-style: normal;
	color: var(--gold);
	opacity: 0.55;
	line-height: 1;
}

.evangelizing-text-points {
	margin-top: 64px;
}

.text-points-container-up, .text-points-container-down {
	display: flex;
	gap: 28px;
	margin-bottom: 28px;
}

.point { flex: 1 1 0; }

.point-container {
	height: 100%;
	background: rgba(157, 192, 232, 0.06);
	border: 1px solid rgba(201, 162, 39, 0.28);
	border-radius: 6px;
	padding: 30px 26px;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.point-container:hover {
	border-color: var(--gold);
	background: rgba(157, 192, 232, 0.1);
	transform: translateY(-4px);
}

.point-container h5:first-child {
	font-size: 1.7rem;
	margin-bottom: 10px;
	filter: grayscale(0.15);
}

.point-container h5:nth-child(2) {
	font-family: var(--utility);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-light);
	margin-bottom: 10px;
}

.point-container p {
	color: #C7D6EB;
	font-size: 0.98rem;
	margin: 0;
}

@media (max-width: 760px) {
	.text-points-container-up, .text-points-container-down { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   News + Contact CTA bands
   -------------------------------------------------------------------------- */

.section-home-news, .section-home-contact {
	padding: 90px 32px;
	text-align: center;
}

.section-home-news .container, .section-home-contact .container {
	max-width: 720px;
	margin: 0 auto;
}

.section-home-news {
	background: var(--blue-pale);
}

.section-home-news p:first-child {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 12px;
}

.section-home-news h2 {
	font-size: 2.2rem;
	margin-bottom: 30px;
}

.section-home-contact {
	background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
	position: relative;
}

.section-home-contact p:first-child {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold-light);
	margin-bottom: 12px;
}

.section-home-contact h2 {
	color: #fff;
	font-size: 2.4rem;
	margin-bottom: 32px;
}

.section-home-contact .button-secondary {
	background: var(--gold);
	color: var(--navy);
	border-color: var(--gold);
}
.section-home-contact .button-secondary:hover, .section-home-contact .button-secondary:focus-visible {
	background: var(--gold-light);
	border-color: var(--gold-light);
}

.section-home-contact .button {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.6);
}
.section-home-contact .button:hover, .section-home-contact .button:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	box-shadow: none;
}

@media (max-width: 500px) {
	.section-home-contact p:nth-of-type(2) { display: flex; flex-direction: column; gap: 14px; }
	.section-home-contact .button-secondary { margin-right: 0 !important; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.section-footer {
	background: var(--navy);
	border-top: 3px solid var(--gold);
	padding: 10px 32px;
}

.section-footer .conatiner {
	max-width: 1180px;
	margin: 0 auto;
	text-align: center;
}

.section-footer p {
	font-family: var(--utility);
	font-size: 12.5px;
	letter-spacing: 0.02em;
	color: var(--blue-light);
}

.section-footer a {
	color: var(--gold-light);
	border-bottom: 1px solid rgba(233, 212, 143, 0.4);
}
.section-footer a:hover, .section-footer a:focus-visible { color: var(--gold); }

/* --------------------------------------------------------------------------
   General Information page
   -------------------------------------------------------------------------- */

.section-general-info {
	max-width: 1180px;
	margin: 0 auto;
	padding: 90px 32px 110px;
	display: flex;
	align-items: flex-start;
	gap: 56px;
}

/* Quick links sidebar */
.quick-links {
	flex: 0 0 260px;
	position: sticky;
	top: 96px;
}

.quick-links > p {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
}

.list-quick-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.list-quick-links .button {
	display: block;
	width: 100%;
	background: transparent;
	color: var(--blue);
	border: 1px solid rgba(27, 58, 107, 0.25);
	padding: 13px 20px;
	text-align: left;
	letter-spacing: 0.08em;
}

.list-quick-links .button:hover, .list-quick-links .button:focus-visible {
	background: var(--gold);
	color: var(--navy);
	border-color: var(--gold);
	box-shadow: none;
	transform: none;
}

/* Main content */
.general-info { flex: 1 1 0; min-width: 0; }

.general-info-banner {
	background: var(--blue-pale);
	border-left: 4px solid var(--gold);
	border-radius: 6px;
	padding: 40px 44px;
	margin-bottom: 60px;
}

.general-info-banner p:first-child {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 12px;
}

.general-info-banner h2 {
	font-size: 1.9rem;
	margin-bottom: 16px;
	max-width: 640px;
}

.general-info-banner p:last-child {
	color: #3B4B63;
	font-size: 1.05rem;
	margin: 0;
	max-width: 680px;
}

.general-info h2 {
	scroll-margin-top: 100px;
	font-size: 1.9rem;
	color: var(--blue);
	padding-bottom: 14px;
	margin: 56px 0 22px 0;
	border-bottom: 2px solid var(--blue-pale);
	position: relative;
}

.general-info h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 64px;
	height: 2px;
	background: var(--gold);
}

.general-info h2:first-of-type { margin-top: 0; }

.general-info > p {
	color: #3B4B63;
	font-size: 1.02rem;
	line-height: 1.8;
	max-width: 720px;
}

@media (max-width: 900px) {
	.section-general-info { flex-direction: column; padding: 60px 24px 90px; gap: 40px; }
	.quick-links { position: static; width: 100%; }
	.list-quick-links { flex-direction: row; flex-wrap: wrap; }
	.list-quick-links li { flex: 1 1 auto; }
	.general-info-banner { padding: 30px 26px; }
}

/* --------------------------------------------------------------------------
   Contact page — mirrors the General Information page treatment
   -------------------------------------------------------------------------- */

.section-contact-info {
	max-width: 1180px;
	margin: 0 auto;
	padding: 90px 32px 110px;
	display: flex;
	align-items: flex-start;
	gap: 56px;
}

.contact-details { flex: 1 1 380px; }

.contact-box {
	background: var(--blue-pale);
	border-left: 4px solid var(--gold);
	border-radius: 6px;
	padding: 40px 44px;
	height: 100%;
}

.contact-box p:first-child {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 12px;
}

.contact-box h2 {
	font-size: 1.9rem;
	color: var(--navy);
	margin-bottom: 24px;
	max-width: 640px;
}

.contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.contact-list li {
	font-family: var(--body);
	font-size: 1.02rem;
	color: #3B4B63;
	padding: 16px 18px;
	border-radius: 4px;
	transition: background 0.2s ease;
}

.contact-list-background-color {
	background: rgba(157, 192, 232, 0.22);
}

.contact-map { flex: 1 1 460px; }

.contact-map-box {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 30px 60px -20px rgba(20, 33, 61, 0.35);
	height: 100%;
}

.contact-map-box::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid var(--gold);
	border-radius: 6px;
	margin: 14px;
	pointer-events: none;
	z-index: 2;
}

.contact-map-box-inner { height: 100%; }

.embed-map-fixed {
	position: relative;
	text-align: right;
	width: 100%;
	height: 400px;
}
.embed-map-container {
	overflow: hidden;
	background: none !important;
	width: 100%;
	height: 400px;
}
.embed-map-frame {
	width: 100% !important;
	height: 400px !important;
}

@media (max-width: 900px) {
	.section-contact-info { flex-direction: column; padding: 60px 24px 90px; gap: 40px; }
	.contact-box { padding: 30px 26px; }
}

/* --------------------------------------------------------------------------
   News page — reuses the About Us block layout, repeated per entry
   -------------------------------------------------------------------------- */

.section-news {
	max-width: 1180px;
	margin: 0 auto;
	padding: 90px 32px 110px;
}

.news-box {
	display: flex;
	align-items: center;
	gap: 64px;
	padding-bottom: 70px;
	margin-bottom: 70px;
	border-bottom: 1px solid rgba(27, 58, 107, 0.12);
	position: relative;
}

.news-box::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 64px;
	height: 2px;
	background: var(--gold);
}

.news-box:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.news-box:last-child::after { display: none; }

.news-box:nth-child(even) {
	flex-direction: row-reverse;
}

@media (max-width: 860px) {
	.news-box { flex-direction: column !important; gap: 30px; padding-bottom: 50px; margin-bottom: 50px; }
}
/* --------------------------------------------------------------------------
   News Article page — single-article detail view
   -------------------------------------------------------------------------- */

.section-article {
	max-width: 1180px;
	margin: 0 auto;
	padding: 90px 32px 110px;
	display: flex;
	align-items: flex-start;
	gap: 56px;
}

.article-main { flex: 1 1 0; min-width: 0; }

.article-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 26px;
}

.article-meta .dot { color: var(--gold); }
.article-meta .category { color: var(--blue); }

.article-lead {
	font-family: var(--serif);
	font-size: 1.35rem;
	font-style: italic;
	color: var(--navy);
	line-height: 1.6;
	max-width: 720px;
	margin-bottom: 34px;
}

.article-figure {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 30px 60px -20px rgba(20, 33, 61, 0.35);
	margin: 0 0 40px;
}
.article-figure::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid var(--gold);
	border-radius: 6px;
	margin: 14px;
	pointer-events: none;
	z-index: 2;
}
.article-figure img { width: 100%; height: auto; object-fit: cover; }
.article-figure figcaption {
	font-family: var(--utility);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: #3B4B63;
	padding: 14px 6px 0;
}

.article-body p {
	color: #3B4B63;
	font-size: 1.05rem;
	line-height: 1.85;
	max-width: 720px;
}

.article-body h2 {
	font-size: 1.6rem;
	color: var(--blue);
	margin: 44px 0 16px;
}

.article-footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid rgba(27, 58, 107, 0.12);
}

/* Sidebar */
.article-sidebar {
	flex: 0 0 300px;
	position: sticky;
	top: 96px;
}

.article-sidebar .sidebar-label {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 16px;
}

.related-news-box {
	background: var(--blue-pale);
	border-left: 4px solid var(--gold);
	border-radius: 6px;
	padding: 30px 28px;
	margin-bottom: 24px;
}

.related-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.related-news-list li a {
	display: block;
	padding: 14px 2px;
	border-bottom: 1px solid rgba(27, 58, 107, 0.12);
	font-family: var(--body);
	font-size: 0.95rem;
	color: var(--navy);
	transition: color 0.2s ease, padding-left 0.2s ease;
}
.related-news-list li:last-child a { border-bottom: none; }
.related-news-list li a:hover, .related-news-list li a:focus-visible {
	color: var(--red);
	padding-left: 8px;
}
.related-news-list li a .related-date {
	display: block;
	font-family: var(--utility);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--blue);
	opacity: 0.7;
	margin-top: 4px;
}

@media (max-width: 900px) {
	.section-article { flex-direction: column; padding: 60px 24px 90px; gap: 40px; }
	.article-sidebar { position: static; width: 100%; flex: 1 1 auto; }
}

/* --------------------------------------------------------------------------
   Gallery page
   -------------------------------------------------------------------------- */

.section-gallery {
	max-width: 1180px;
	margin: 0 auto;
	padding: 90px 32px 110px;
}

.gallery-filters {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 50px 0;
	padding: 0;
}

.gallery-filters li button {
	font-family: var(--utility);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: transparent;
	color: var(--blue);
	border: 1px solid rgba(27, 58, 107, 0.25);
	border-radius: 30px;
	padding: 10px 20px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gallery-filters li button:hover,
.gallery-filters li button:focus-visible {
	border-color: var(--gold);
	color: var(--navy);
	background: var(--blue-pale);
}

.gallery-filters li button.active {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--navy);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.gallery-item {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 20px 40px -18px rgba(20, 33, 61, 0.35);
	aspect-ratio: 4 / 3;
	background: var(--blue-pale);
	border: 0;
	padding: 0;
	display: block;
	width: 100%;
}

.gallery-item::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid var(--gold);
	border-radius: 6px;
	margin: 10px;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.gallery-item:hover::before, .gallery-item:focus-visible::before { opacity: 1; }

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }

.gallery-item-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 34px 18px 14px;
	background: linear-gradient(to top, rgba(20, 33, 61, 0.88), transparent);
	color: #fff;
	text-align: left;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover .gallery-item-caption,
.gallery-item:focus-visible .gallery-item-caption { opacity: 1; transform: translateY(0); }

.gallery-item-caption .cap-title {
	display: block;
	font-family: var(--body);
	font-size: 0.95rem;
	font-weight: 600;
}

.gallery-item-caption .cap-category {
	display: block;
	font-family: var(--utility);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold-light);
	margin-top: 3px;
}

@media (max-width: 900px) {
	.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.section-gallery { padding: 60px 24px 90px; }
}

@media (max-width: 560px) {
	.gallery-grid { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(20, 33, 61, 0.94);
	z-index: 1000;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.lightbox-overlay.is-open { display: flex; }

.lightbox-figure {
	position: relative;
	max-width: 900px;
	max-height: 86vh;
	width: 100%;
}

.lightbox-figure img {
	display: block;
	width: 100%;
	max-height: 74vh;
	object-fit: contain;
	border-radius: 4px;
	border: 1px solid var(--gold);
	background: var(--navy);
}

.lightbox-caption {
	text-align: center;
	color: var(--blue-light);
	font-family: var(--utility);
	font-size: 13px;
	letter-spacing: 0.04em;
	margin-top: 18px;
}

.lightbox-caption .cap-category {
	color: var(--gold-light);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-right: 8px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
	position: absolute;
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 26px;
	transition: color 0.2s ease;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--gold); }

.lightbox-close {
	top: -46px;
	right: -6px;
	font-size: 30px;
}

.lightbox-prev, .lightbox-next {
	top: 50%;
	transform: translateY(-50%);
	font-size: 40px;
	padding: 10px;
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

@media (max-width: 760px) {
	.lightbox-overlay { padding: 20px; }
	.lightbox-prev { left: 4px; }
	.lightbox-next { right: 4px; }
	.lightbox-close { top: 4px; right: 4px; }
}
