/* =========================================================
   ŽUPA SLAVETIĆ — GLOBAL
   ========================================================= */

:root {
	--slavetic-white: #fffefc;
	--slavetic-paper: #fbf9f5;
	--slavetic-sand: #eee9e1;

	--slavetic-ink: #28323b;
	--slavetic-text: #59574f;
	--slavetic-muted: #66615b;

	--slavetic-blue: #2e485c;
	--slavetic-deep-blue: #25394b;

	--slavetic-bronze: #7d6542;
	--slavetic-gold: #ba9461;
	--slavetic-gold-light: #cfba93;

	--slavetic-bordeaux: #491d1d;
	--slavetic-green: #5c6947;

	--slavetic-line: #d9d3c9;
	--slavetic-fact-bg: #f0e5d1;
	--slavetic-fact-line: #ccbda3;

	--slavetic-hero-bg: #f8f4ea;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--slavetic-paper);
	color: var(--slavetic-ink);
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

.site-main {
	width: 100%;
}


/* =========================================================
   HEADER — FIGMA DESKTOP 1920
   ========================================================= */

.site-header {
	width: 100%;
	height: 108px;
	background: var(--slavetic-white);
	border-bottom: 1px solid var(--slavetic-line);
}

.site-header__inner {
	width: 100%;
	height: 108px;
	padding: 0 72px;

	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-brand {
	display: flex;
	align-items: center;
}

.site-brand__name {
	font-family: "Inter", sans-serif;
	font-size: 10px;
	font-weight: 500;
	line-height: 1;
	color: var(--slavetic-bronze);
	white-space: nowrap;
}

.site-navigation__menu {
	display: flex;
	align-items: center;
	gap: 32px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.site-navigation__menu a {
	font-size: 14px;
	font-weight: 500;
	color: var(--slavetic-ink);
}

.site-navigation__menu a:hover {
	color: var(--slavetic-blue);
}

.site-header__contact {
	display: inline-flex;
	align-items: center;
	gap: 6px;

	min-height: 49px;
	padding: 15px 24px;

	border: 1px solid var(--slavetic-line);
	border-radius: 6px;

	font-size: 14px;
	font-weight: 500;
	color: var(--slavetic-blue);
}

.mobile-menu-toggle {
	display: none;
}


/* =========================================================
   HERO — FIGMA DESKTOP 1920
   ========================================================= */

.home-hero {
	width: 100%;
	height: 792px;

	padding: 54px 120px 0;

	display: grid;
	grid-template-columns: 800px 800px;
	column-gap: 80px;
    justify-content: center;
	background: var(--slavetic-hero-bg);
	overflow: hidden;
}


/* IMAGE */

.home-hero__image {
	position: relative;

	width: 800px;
	height: 630px;

	border-radius: 28px;
	overflow: hidden;
}

.home-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 28px;
}

.home-hero__year {
	position: absolute;
	top: 30px;
	left: 30px;

	font-family: "Cormorant Garamond", serif;
	font-size: 12px;
	font-weight: 600;

	color: #fffaed;
}


/* CONTENT */

.home-hero__content {
	position: relative;

	width: 800px;
	height: 650px;

	margin-top: 4px;
}

.home-hero__eyebrow {
	position: absolute;
	top: 18px;
	left: 0;

	margin: 0;

	font-size: 11px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1.8px;

	color: var(--slavetic-green);
}

.home-hero__title {
	position: absolute;
	top: 60px;
	left: 0;

	width: 760px;

	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 60px;
	line-height: 62px;
	font-weight: 500;
	letter-spacing: -0.7px;

	color: #1a1816;
}

.home-hero__intro {
	position: absolute;
	top: 230px;
	left: 2px;

	width: 700px;

	margin: 0;

	font-size: 17px;
	line-height: 27px;
	font-weight: 400;

	color: var(--slavetic-text);
}


/* BUTTONS */

.home-hero__actions {
	position: absolute;
	top: 342px;
	left: 0;

	display: flex;
	gap: 12px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	height: 48px;
	padding: 0 26px;

	border-radius: 24px;

	font-size: 12px;
	font-weight: 600;

	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.button--primary {
	background: var(--slavetic-bordeaux);
	color: #fffaed;
	border: 1px solid var(--slavetic-bordeaux);
}

.button--outline {
	background: transparent;
	color: var(--slavetic-bordeaux);
	border: 1px solid var(--slavetic-bordeaux);
}


/* SAINT CALLOUT */

.home-hero__saint {
	position: absolute;
	top: 430px;
	left: 0;

	width: 520px;
	height: 102px;

	padding-left: 20px;

	border-left: 1px solid var(--slavetic-gold);
}

.home-hero__saint-label {
	margin: 0;

	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1.5px;

	color: var(--slavetic-green);
}

.home-hero__saint-text {
	margin: 24px 0 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 20px;
	line-height: 23px;
	font-weight: 500;

	color: #1a1816;
}


/* FACTS */

.home-hero__facts {
	position: absolute;
	top: 560px;
	left: 0;

	width: 620px;
	height: 100px;

	display: grid;
	grid-template-columns: repeat(3, 1fr);

	background: var(--slavetic-fact-bg);
	border-radius: 18px;

	overflow: hidden;
}

.home-hero__fact {
	position: relative;

	padding: 18px 20px;
}

.home-hero__fact:not(:last-child)::after {
	content: "";

	position: absolute;
	top: 18px;
	right: 0;

	width: 1px;
	height: 64px;

	background: var(--slavetic-fact-line);
}

.home-hero__fact strong,
.home-hero__fact span {
	display: block;
}

.home-hero__fact strong {
	font-family: "Cormorant Garamond", serif;
	font-size: 15px;
	line-height: 1.2;
	font-weight: 600;

	color: var(--slavetic-bordeaux);
}

.home-hero__fact span {
	margin-top: 10px;

	font-size: 12px;
	line-height: 1.35;
	font-weight: 400;

	color: var(--slavetic-text);
}


/* =========================================================
   FOOTER — FIGMA
   ========================================================= */

.site-footer {
	width: 100%;

	padding: 56px 72px 40px;

	background: var(--slavetic-deep-blue);
}

.site-footer__inner {
	width: 100%;
}

.site-footer__title {
	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 54px;
	line-height: 1.1;
	font-weight: 500;

	color: var(--slavetic-paper);
}

.site-footer__address {
	margin: 24px 0 0;

	font-size: 16px;
	color: var(--slavetic-sand);
}

.site-footer__actions {
	display: flex;
	gap: 18px;

	margin-top: 24px;
}

.site-footer__button {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	min-height: 49px;
	padding: 15px 24px;

	border-radius: 6px;

	font-size: 14px;
	font-weight: 500;
}

.site-footer__button--light {
	background: var(--slavetic-paper);
	border: 1px solid var(--slavetic-line);
	color: var(--slavetic-blue);
}

.site-footer__button--primary {
	background: var(--slavetic-blue);
	color: var(--slavetic-white);
}

.site-footer__copyright {
	margin: 24px 0 0;

	font-size: 12px;
	color: var(--slavetic-gold-light);
}/* =========================================================
   PARISH SERVICES — FIGMA
   ========================================================= */

.parish-services {
	width: 100%;

	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;

	padding: 36px 72px;

	background: var(--slavetic-paper);
}

.service-card {
	min-height: 258px;

	padding: 28px;

	display: flex;
	flex-direction: column;
	align-items: flex-start;

	background: var(--slavetic-white);

	border: 1px solid var(--slavetic-line);
	border-radius: 8px;

	box-shadow: 0 4px 10px rgba(43, 38, 31, 0.03);
}

.service-card__kicker {
	margin: 0;

	font-size: 11px;
	line-height: 1.4;
	font-weight: 500;

	color: var(--slavetic-bronze);
}

.service-card__title {
	margin: 16px 0 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 32px;
	line-height: 1.4;
	font-weight: 500;

	color: var(--slavetic-ink);
}

.service-card__text {
	margin: 16px 0 0;

	max-width: 430px;

	font-size: 15px;
	line-height: 21px;

	color: var(--slavetic-muted);
}

.service-card__link {
	margin-top: auto;
	padding-top: 16px;

	font-size: 13px;
	font-weight: 500;

	color: var(--slavetic-blue);
}
/* =========================================================
   HERITAGE INTRODUCTION — FIGMA
   ========================================================= */

.heritage-intro {
	width: 100%;
	min-height: 335px;

	display: flex;
	align-items: flex-start;
	gap: 64px;

	padding: 72px;

	background: var(--slavetic-sand);
}

.heritage-intro__eyebrow {
	width: 320px;

	margin: 0;

	flex: 0 0 320px;

	font-size: 12px;
	line-height: 16.2px;
	font-weight: 400;

	color: var(--slavetic-bronze);
}

.heritage-intro__content {
	width: 1280px;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.heritage-intro__title {
	width: 100%;

	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 52px;
	line-height: 70.2px;
	font-weight: 500;

	color: var(--slavetic-ink);
}

.heritage-intro__text {
	width: 1120px;

	margin: 0;

	font-size: 18px;
	line-height: 24.3px;
	font-weight: 400;

	color: var(--slavetic-muted);
}

.heritage-intro__button {
	display: inline-flex;
	align-items: center;

	min-height: 51px;
	padding: 15px 24px;

	border: 1px solid var(--slavetic-line);
	border-radius: 6px;

	font-size: 14px;
	font-weight: 500;

	color: var(--slavetic-blue);
	background: transparent;
}
/* =========================================================
   HOME GALLERY — FIGMA
   ========================================================= */

.home-gallery {
	width: 100%;
	padding: 72px;
	background: var(--slavetic-paper);
}

.home-gallery__eyebrow {
	margin: 0;

	font-size: 12px;
	line-height: 15px;
	font-weight: 400;

	color: var(--slavetic-bronze);
}

.home-gallery__title {
	margin: 24px 0 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 52px;
	line-height: 65px;
	font-weight: 500;

	color: var(--slavetic-ink);
}

.home-gallery__intro {
	margin: 24px 0 0;

	font-size: 15px;
	line-height: 18.75px;

	color: var(--slavetic-muted);
}

.home-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;

	margin-top: 24px;
}

.home-gallery__album {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.home-gallery__image {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;

	overflow: hidden;
	border-radius: 8px;
}

.home-gallery__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-gallery__album h3 {
	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 32px;
	line-height: 1.2;
	font-weight: 500;

	color: var(--slavetic-ink);
}
/* =========================================================
   PARISH TODAY — FIGMA
   ========================================================= */

.parish-today {
	width: 100%;
	min-height: 680px;

	display: grid;
	grid-template-columns: 988px 620px;
gap: 72px;

justify-content: center;

padding: 76px 0 90px;

	background: var(--slavetic-sand);
}

.parish-today__content {
	max-width: 940px;
}

.parish-today__eyebrow {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1.8px;

	color: var(--slavetic-bronze);
}

.parish-today__title {
	margin: 27px 0 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 64px;
	line-height: 64px;
	font-weight: 500;

	color: var(--slavetic-ink);
}

.parish-today__text {
	max-width: 760px;

	margin: 31px 0 0;

	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;

	color: var(--slavetic-muted);
	opacity: 0.78;
}

.parish-today__places {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;

	width: 868px;
	max-width: 100%;

	margin-top: 47px;
}

.parish-today__places span {
	display: inline-flex;
	align-items: center;

	min-height: 52px;
	padding: 0 18px;

	border: 1px solid var(--slavetic-line);
	border-radius: 26px;

	background: var(--slavetic-paper);

	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 500;

	color: var(--slavetic-ink);
}
@media (min-width: 768px) {

	.parish-today__places span:nth-child(1) {
		width: 190px;
	}

	.parish-today__places span:nth-child(2) {
		width: 220px;
	}

	.parish-today__places span:nth-child(3) {
		width: 165px;
	}

	.parish-today__places span:nth-child(4) {
		width: 245px;
	}

	.parish-today__places span:nth-child(5) {
		width: 165px;
	}

	.parish-today__places span:nth-child(6) {
		width: 170px;
	}

	.parish-today__places span:nth-child(7) {
		width: 175px;
	}

	.parish-today__places span:nth-child(8) {
		width: 175px;
	}
}

/* DESNA KARTICA */

.parish-today__card {
	min-height: 500px;

	padding: 38px 36px;

	display: flex;
	flex-direction: column;

	background: var(--slavetic-fact-bg);

	border-radius: 28px;
	margin-top: 14px;
}

.parish-today__card-eyebrow {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 10px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 1.5px;

	color: var(--slavetic-green);
}

.parish-today__card-number-row {
	display: flex;
	align-items: center;
	gap: 24px;

	margin-top: 25px;
}

.parish-today__card-number-row strong {
	font-family: "Cormorant Garamond", serif;
	font-size: 92px;
	line-height: 90px;
	font-weight: 600;

	color: var(--slavetic-bordeaux);
}

.parish-today__card-number-row span {
	max-width: 380px;

	font-family: "Cormorant Garamond", serif;
	font-size: 28px;
	line-height: 30px;
	font-weight: 500;

	color: var(--slavetic-bordeaux);
}

.parish-today__card-text {
	max-width: 530px;

	margin: 29px 0 0;

	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 23px;

	color: var(--slavetic-text);
}

.parish-today__card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: fit-content;
	min-width: 218px;
	min-height: 50px;

	margin-top: auto;
	padding: 0 28px;

	border-radius: 25px;

	background: var(--slavetic-bordeaux);

	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 600;

	color: #fffaed;
}
/* =========================================================
   HERO — WIDE DESKTOP
   ========================================================= */

@media (min-width: 1921px) {

	.home-hero {
		grid-template-columns:
			minmax(800px, 920px)
			minmax(800px, 860px);

		column-gap: 80px;
		justify-content: center;
	}

	.home-hero__image {
		width: 100%;
	}

	.home-hero__content {
		width: 100%;
	}
}
/* =========================================================
   MOBILE HEADER — FIGMA 390
   ========================================================= */

.site-brand__title {
	display: none;
}

@media (max-width: 767px) {

	.site-header {
		height: 88px;
	}

	.site-header__inner {
		height: 88px;
		padding: 0 24px;
	}

	.site-brand {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.site-brand__title {
		display: block;

		font-family: "Cormorant Garamond", serif;
		font-size: 32px;
		line-height: 1;
		font-weight: 500;

		color: var(--slavetic-ink);
	}

	.site-brand__name {
		margin-top: 4px;

		font-family: "Inter", sans-serif;
		font-size: 9px;
		line-height: 1;
		font-weight: 500;

		color: var(--slavetic-bronze);
	}

	.site-navigation,
	.site-header__contact {
		display: none;
	}

	.mobile-menu-toggle {
		width: 48px;
		height: 48px;

		padding: 0;

		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;

		background: transparent;

		border: 1px solid var(--slavetic-line);
		border-radius: 6px;

		cursor: pointer;
	}

	.mobile-menu-toggle span {
		display: block;

		width: 20px;
		height: 1px;

		background: var(--slavetic-ink);
	}
}
/* =========================================================
   MOBILE HERO — FIGMA 390
   ========================================================= */

@media (max-width: 767px) {

	.home-hero {
		position: relative;

		width: 100%;
		height: 756px;

		display: block;

		padding: 0;

		background: var(--slavetic-hero-bg);
		overflow: hidden;
	}


	/* TEKSTUALNI DIO */

	.home-hero__content {
		position: static;

		width: auto;
		height: auto;

		margin: 0;
	}

	.home-hero__eyebrow {
		position: absolute;

		top: 17px;
		left: 24px;

		font-size: 9px;
		line-height: 1;
		letter-spacing: 1.3px;
	}

	.home-hero__title {
		position: absolute;

		top: 53px;
		left: 24px;

		width: calc(100% - 48px);

		font-size: 34px;
		line-height: 36px;
		letter-spacing: -0.3px;
	}

	.home-hero__intro {
		position: absolute;

		top: 137px;
		left: 24px;

		width: calc(100% - 48px);

		font-size: 13px;
		line-height: 21px;
	}


	/* FOTOGRAFIJA */

	.home-hero__image {
		position: absolute;

		top: 226px;
		left: 24px;

		width: calc(100% - 48px);
		height: 280px;

		border-radius: 22px;
	}

	.home-hero__image img {
		width: 100%;
		height: 100%;

		object-fit: cover;

		border-radius: 22px;
	}


	/* GUMBI */

	.home-hero__actions {
		position: absolute;

		top: 532px;
		left: 24px;

		width: calc(100% - 48px);

		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.home-hero__actions .button {
		width: 100%;
		height: 48px;

		padding: 0;

		flex: none;
	}


	/* Na mobileu se callout zaštitnika ne prikazuje u Figmi */

	.home-hero__saint {
		display: none;
	}


	/* DONJI INFO BLOK */

	.home-hero__facts {
		position: absolute;

		top: 656px;
		left: 24px;

		width: calc(100% - 48px);
		height: 64px;

		display: flex;
		align-items: center;
		gap: 14px;

		padding: 0 18px;

		border-radius: 16px;
	}

	.home-hero__fact {
		padding: 0;

		display: flex;
		align-items: baseline;
		gap: 8px;
	}

	.home-hero__fact:nth-child(2) {
		display: none;
	}

	.home-hero__fact:nth-child(3) span {
		display: none;
	}

	.home-hero__fact:not(:last-child)::after {
		display: none;
	}

	.home-hero__fact strong {
		font-size: 13px;
	}

	.home-hero__fact span {
		margin: 0;

		font-size: 10px;
	}
}
/* =========================================================
   MOBILE PARISH SERVICES — FIGMA 390
   ========================================================= */

@media (max-width: 767px) {

	.parish-services {
		width: 100%;

		display: flex;
		flex-direction: column;
		gap: 24px;

		padding: 44px 24px;

		background: var(--slavetic-paper);
	}

	.service-card {
		width: 100%;
		min-height: 0;

		padding: 28px;

		gap: 16px;
	}

	.service-card__kicker {
		font-size: 11px;
		line-height: 15.4px;
	}

	.service-card__title {
		margin: 0;

		font-size: 32px;
		line-height: 44.8px;
	}

	.service-card__text {
		margin: 0;

		max-width: none;

		font-size: 15px;
		line-height: 21px;
	}

	.service-card__link {
		margin-top: 0;
		padding-top: 0;

		font-size: 13px;
		line-height: 18.2px;
	}
}
/* =========================================================
   MOBILE HERITAGE — FIGMA 390
   ========================================================= */

@media (max-width: 767px) {

	.heritage-intro {
		width: 100%;
		min-height: 0;

		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;

		padding: 44px 24px;

		background: var(--slavetic-sand);
	}

	.heritage-intro__eyebrow {
		width: 100%;
		flex: none;

		margin: 0;

		font-size: 12px;
		line-height: 16.2px;
	}

	.heritage-intro__content {
		width: 100%;

		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 22px;
	}

	.heritage-intro__title {
		width: 100%;

		margin: 0;

		font-size: 38px;
		line-height: 43px;
	}

	.heritage-intro__text {
		width: 100%;

		margin: 0;

		font-size: 18px;
		line-height: 24.3px;
	}

	.heritage-intro__button {
		width: 100%;
		min-height: 51px;

		display: flex;
		justify-content: center;
		align-items: center;

		padding: 15px 24px;
	}
}
/* =========================================================
   MOBILE GALLERY — FIGMA 390
   ========================================================= */

@media (max-width: 767px) {

	.home-gallery {
		width: 100%;
		padding: 44px 24px;

		background: var(--slavetic-paper);
	}

	.home-gallery__eyebrow {
		margin: 0;

		font-size: 12px;
		line-height: 15px;
	}

	.home-gallery__title {
		margin: 24px 0 0;

		font-size: 38px;
		line-height: 43px;
	}

	.home-gallery__intro {
		width: 100%;

		margin: 24px 0 0;

		font-size: 15px;
		line-height: 18.75px;
	}

	.home-gallery__grid {
		width: 100%;

		display: flex;
		flex-direction: column;
		gap: 24px;

		margin-top: 24px;
	}

	.home-gallery__album {
		width: 100%;

		gap: 14px;
	}

	.home-gallery__image {
		width: 100%;
		height: 248px;

		border-radius: 8px;
	}

	.home-gallery__image img {
		width: 100%;
		height: 100%;

		object-fit: cover;
	}

	.home-gallery__album h3 {
		margin: 0;

		font-size: 32px;
		line-height: 1.2;
	}
}
/* =========================================================
   MOBILE PARISH TODAY — FIGMA 390
   ========================================================= */

@media (max-width: 767px) {

	.parish-today {
		width: 100%;
		min-height: 0;

		display: flex;
		flex-direction: column;
		gap: 34px;

		padding: 42px 24px 44px;

		background: var(--slavetic-sand);
	}

	.parish-today__content {
		width: 100%;
		max-width: none;
	}

	.parish-today__eyebrow {
		margin: 0;

		font-size: 10px;
		line-height: 13px;
		letter-spacing: 1.3px;
	}

	.parish-today__title {
		margin: 23px 0 0;

		font-size: 38px;
		line-height: 42px;
		letter-spacing: -0.3px;
	}

	.parish-today__text {
		width: 100%;
		max-width: none;

		margin: 24px 0 0;

		font-size: 14px;
		line-height: 21px;

		opacity: 1;
	}

	.parish-today__places {
		width: 100%;
		max-width: none;

		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;

		margin-top: 28px;
	}

	.parish-today__places span {
		width: 100%;
		min-height: 46px;

		padding: 0 13px;

		border-radius: 23px;

		font-size: 11px;
		line-height: 15px;
	}


	/* KARTICA BLAGOSLOV OBITELJI */

	.parish-today__card {
		width: 100%;
		min-height: 356px;

		margin: 0;
		padding: 30px 24px;

		border-radius: 22px;
	}

	.parish-today__card-eyebrow {
		font-size: 10px;
		letter-spacing: 1.5px;
	}

	.parish-today__card-number-row {
		gap: 16px;

		margin-top: 18px;
	}

	.parish-today__card-number-row strong {
		font-size: 72px;
		line-height: 72px;
	}

	.parish-today__card-number-row span {
		max-width: 210px;

		font-size: 24px;
		line-height: 27px;
	}

	.parish-today__card-text {
		max-width: none;

		margin: 24px 0 0;

		font-size: 14px;
		line-height: 22px;
	}

	.parish-today__card-button {
		width: 100%;
		min-width: 0;
		min-height: 50px;

		margin-top: 30px;
	}
}
/* =========================================================
   MOBILE FOOTER — FIGMA 390
   ========================================================= */

@media (max-width: 767px) {

	.site-footer {
		width: 100%;

		padding: 44px 24px;

		background: var(--slavetic-deep-blue);
	}

	.site-footer__inner {
		width: 100%;
	}

	.site-footer__title {
		margin: 0;

		font-size: 38px;
		line-height: 43px;
	}

	.site-footer__address {
		width: 100%;

		margin: 24px 0 0;

		font-size: 16px;
		line-height: 19px;
	}

	.site-footer__actions {
		width: 100%;

		display: flex;
		flex-direction: column;
		gap: 18px;

		margin-top: 24px;
	}

	.site-footer__button {
		width: 100%;
		min-height: 49px;

		justify-content: center;

		padding: 15px 24px;
	}

	.site-footer__copyright {
		width: 100%;

		margin: 24px 0 0;

		font-size: 12px;
		line-height: 15px;
	}
}
/* =========================================================
   MOBILE MENU OPEN
   ========================================================= */

@media (max-width: 767px) {

	.site-header {
		position: relative;
		z-index: 1000;
	}

	.site-header.menu-open .site-navigation {
		position: absolute;

		top: 88px;
		left: 0;

		width: 100%;

		display: block;

		padding: 24px;

		background: var(--slavetic-white);

		border-bottom: 1px solid var(--slavetic-line);
	}

	.site-header.menu-open .site-navigation__menu {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;

		width: 100%;
	}

	.site-header.menu-open .site-navigation__menu li {
		width: 100%;
	}

	.site-header.menu-open .site-navigation__menu a {
		display: block;

		width: 100%;

		padding: 16px 0;

		border-bottom: 1px solid var(--slavetic-line);

		font-size: 16px;
		font-weight: 500;

		color: var(--slavetic-ink);
	}

	.site-header.menu-open .site-navigation__menu li:last-child a {
		border-bottom: 0;
	}

	/* hamburger → X */

	.site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
		opacity: 0;
	}

	.site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.mobile-menu-toggle span {
		transition:
			transform 0.2s ease,
			opacity 0.2s ease;
	}
}
/* =========================================================
   FOOTER — LEGAL / COPYRIGHT / VLINK
   ========================================================= */

.site-footer__bottom {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 32px;

	margin-top: 36px;
	padding-top: 24px;

	border-top: 1px solid rgba(207, 186, 147, 0.25);
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__copyright {
	margin: 0;

	font-size: 12px;
	line-height: 18px;

	color: var(--slavetic-gold-light);
}

.site-footer__legal {
	display: flex;
	align-items: center;
	gap: 12px;

	font-size: 12px;
	line-height: 18px;
}

.site-footer__legal a {
	color: var(--slavetic-sand);
	transition: color 0.2s ease;
}

.site-footer__legal a:hover {
	color: var(--slavetic-gold-light);
}

.site-footer__legal a + a::before {
	content: "·";
	margin-right: 12px;

	color: var(--slavetic-gold-light);
}

.site-footer__credit {
	font-size: 12px;
	line-height: 18px;

	color: var(--slavetic-sand);
	white-space: nowrap;
}

.site-footer__credit a {
	font-weight: 600;

	color: var(--slavetic-gold-light);
}

.site-footer__credit a:hover {
	text-decoration: underline;
}


/* MOBILE */

@media (max-width: 767px) {

	.site-footer__bottom {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;

		margin-top: 28px;
		padding-top: 24px;
	}

	.site-footer__copyright {
		margin: 0;
	}

	.site-footer__legal {
		flex-wrap: wrap;
		gap: 8px;
	}

	.site-footer__legal a + a::before {
		margin-right: 8px;
	}

	.site-footer__credit {
		white-space: normal;
	}
}
/* =========================================================
   O ŽUPI — UVOD / DESKTOP
   ========================================================= */

.about-intro {
	width: 100%;
	padding: 64px 72px 48px;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;

	background: var(--slavetic-paper);
}

.about-intro__eyebrow {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 12px;
	line-height: 15px;
	font-weight: 400;

	color: var(--slavetic-bronze);
}

.about-intro__title {
	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 72px;
	line-height: 90px;
	font-weight: 500;

	color: var(--slavetic-ink);
}

.about-intro__text {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 18px;
	line-height: 22.5px;
	font-weight: 400;

	color: var(--slavetic-muted);
}


/* =========================================================
   O ŽUPI — POVIJEST / DESKTOP
   ========================================================= */

.about-history {
	width: 100%;

	padding: 24px 72px 72px;

	display: flex;
	flex-direction: column;
	gap: 32px;

	background: var(--slavetic-paper);
}

.about-history__title {
	width: 650px;
	max-width: 100%;

	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 46px;
	line-height: 1.2;
	font-weight: 500;

	color: var(--slavetic-ink);
}

.about-history__grid {
	width: 100%;

	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.about-history__card {
	min-height: 270px;

	padding: 28px;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;

	background: var(--slavetic-white);

	border: 1px solid var(--slavetic-line);
	border-radius: 8px;

	box-shadow: 0 4px 10px rgba(43, 38, 31, 0.03);
}

.about-history__kicker {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 15.4px;
	font-weight: 500;

	color: var(--slavetic-bronze);
}

.about-history__year {
	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 32px;
	line-height: 44.8px;
	font-weight: 500;

	color: var(--slavetic-ink);
}

.about-history__text {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 15px;
	line-height: 21px;
	font-weight: 400;

	color: var(--slavetic-muted);
}

.about-history__label {
	margin: auto 0 0;

	font-family: "Inter", sans-serif;
	font-size: 13px;
	line-height: 18.2px;
	font-weight: 500;

	color: var(--slavetic-blue);
}
/* =========================================================
   O ŽUPI — CRKVA / MODERN EDITORIAL
   ========================================================= */

.about-church {
	width: 100%;

	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
	align-items: center;
	gap: 72px;

	padding:
		88px
		max(72px, calc((100vw - 1600px) / 2));

	background: var(--slavetic-sand);
}

.about-church__image {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;

	overflow: hidden;
	border-radius: 18px;
}

.about-church__image img {
	width: 100%;
	height: 100%;

	object-fit: cover;

	border-radius: 18px;
}

.about-church__content {
	width: 100%;
	max-width: 620px;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.about-church__eyebrow {
	margin: 0 0 24px;

	font-size: 11px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 1.4px;

	color: var(--slavetic-bronze);
}

.about-church__title {
	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 56px;
	line-height: 1.05;
	font-weight: 500;

	color: var(--slavetic-ink);
}

.about-church__text {
	margin: 28px 0 0;

	max-width: 580px;

	font-size: 17px;
	line-height: 1.65;

	color: var(--slavetic-muted);
}


/* =========================================================
   O ŽUPI — ŽUPNIK / MODERN EDITORIAL
   ========================================================= */

.about-priest {
	width: 100%;

	display: grid;
	grid-template-columns: minmax(420px, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: 80px;

	padding:
		88px
		max(72px, calc((100vw - 1600px) / 2));

	background: var(--slavetic-paper);
}

.about-priest__image {
	grid-column: 2;
	grid-row: 1;

	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;

	overflow: hidden;
	border-radius: 18px;
}

.about-priest__image img {
	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center;

	border-radius: 18px;
}

.about-priest__content {
	grid-column: 1;
	grid-row: 1;

	width: 100%;
	max-width: 560px;

	padding-left: 30px;

	border-left: 1px solid var(--slavetic-gold);
}

.about-priest__kicker {
	margin: 0 0 20px;

	font-size: 11px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 1.4px;

	color: var(--slavetic-bronze);
}

.about-priest__name {
	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 48px;
	line-height: 1.08;
	font-weight: 500;

	color: var(--slavetic-ink);
}

.about-priest__text {
	margin: 24px 0 0;

	max-width: 500px;

	font-size: 16px;
	line-height: 1.6;

	color: var(--slavetic-muted);
}

.about-priest__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 48px;

	margin-top: 28px;
	padding: 0 24px;

	border-radius: 24px;

	background: var(--slavetic-bordeaux);
	color: #fffaed;

	font-size: 12px;
	font-weight: 600;
}

.about-priest__link:hover {
	text-decoration: none;
	opacity: 0.9;
}
/* =========================================================
   O ŽUPI — MOBILE / UVOD + POVIJEST
   ========================================================= */

@media (max-width: 767px) {

	.about-intro {
		width: 100%;

		padding: 44px 24px;

		gap: 20px;
	}

	.about-intro__eyebrow {
		font-size: 12px;
		line-height: 15px;
	}

	.about-intro__title {
		width: 100%;

		font-size: 48px;
		line-height: 52px;
		letter-spacing: -0.3px;
	}

	.about-intro__text {
		width: 100%;

		font-size: 18px;
		line-height: 22.5px;
	}


	/* POVIJEST */

	.about-history {
		width: 100%;

		padding: 44px 24px;

		gap: 24px;
	}

	.about-history__title {
		width: 100%;

		font-size: 38px;
		line-height: 43px;
	}

	.about-history__grid {
		width: 100%;

		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.about-history__card {
		width: 100%;
		min-height: 0;

		padding: 28px;

		gap: 16px;
	}

	.about-history__year {
		font-size: 32px;
		line-height: 44.8px;
	}

	.about-history__text {
		font-size: 15px;
		line-height: 21px;
	}

	.about-history__label {
		margin-top: 0;

		font-size: 13px;
		line-height: 18.2px;
	}
}
/* =========================================================
   O ŽUPI — MOBILE / CRKVA + ŽUPNIK
   ========================================================= */

@media (max-width: 767px) {

	/* CRKVA */

	.about-church {
		width: 100%;

		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 28px;

		padding: 44px 24px;

		background: var(--slavetic-sand);
	}

	.about-church__image {
		width: 100%;
		height: auto;

		flex: none;

		aspect-ratio: 4 / 3;

		border-radius: 16px;
	}

	.about-church__image img {
		width: 100%;
		height: 100%;

		object-fit: cover;

		border-radius: 16px;
	}

	.about-church__content {
		width: 100%;
		max-width: none;
	}

	.about-church__eyebrow {
		margin: 0 0 18px;

		font-size: 10px;
		line-height: 14px;
		letter-spacing: 1.3px;
	}

	.about-church__title {
		font-size: 38px;
		line-height: 43px;
	}

	.about-church__text {
		max-width: none;

		margin-top: 22px;

		font-size: 16px;
		line-height: 25px;
	}


	/* ŽUPNIK */

	.about-priest {
		width: 100%;

		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 28px;

		padding: 44px 24px;

		background: var(--slavetic-paper);
	}

	.about-priest__image {
		order: 1;

		width: 100%;
		height: auto;

		flex: none;

		aspect-ratio: 16 / 9;

		border-radius: 16px;
	}

	.about-priest__image img {
		width: 100%;
		height: 100%;

		object-fit: cover;
		object-position: center;

		border-radius: 16px;
	}

	.about-priest__content {
		order: 2;

		width: 100%;
		max-width: none;

		padding: 24px 0 0;

		border-left: 0;
		border-top: 1px solid var(--slavetic-gold);
	}

	.about-priest__kicker {
		margin: 0 0 18px;

		font-size: 10px;
		line-height: 14px;
		letter-spacing: 1.3px;
	}

	.about-priest__name {
		font-size: 38px;
		line-height: 42px;
	}

	.about-priest__text {
		max-width: none;

		margin-top: 20px;

		font-size: 15px;
		line-height: 23px;
	}

	.about-priest__link {
		width: 100%;
		min-height: 50px;

		margin-top: 24px;

		justify-content: center;
	}
}

/* =========================================================
   RESPONSIVE SYSTEM — FINAL OVERRIDES
   360+ mobile / tablet / small laptop / laptop / desktop
   Add this block at the VERY END of main.css.
   ========================================================= */

/* ---------- GLOBAL RESPONSIVE SAFETY ---------- */

html,
body {
	width: 100%;
	max-width: 100%;
}

body {
	overflow-x: hidden;
}

@supports (overflow: clip) {
	body {
		overflow-x: clip;
	}
}

.site-main,
.site-header,
.site-footer,
.home-hero,
.parish-services,
.heritage-intro,
.home-gallery,
.parish-today,
.about-intro,
.about-history,
.about-church,
.about-priest {
	max-width: 100%;
	min-width: 0;
}

.home-hero__image,
.home-hero__content,
.home-hero__title,
.home-hero__intro,
.home-hero__saint,
.home-hero__facts,
.heritage-intro__content,
.heritage-intro__text,
.home-gallery__grid,
.parish-today__content,
.parish-today__card,
.about-history__grid,
.about-history__card,
.about-church__image,
.about-church__content,
.about-priest__image,
.about-priest__content {
	min-width: 0;
}

.home-hero__title,
.home-hero__intro,
.home-hero__saint-text,
.service-card__title,
.service-card__text,
.heritage-intro__title,
.heritage-intro__text,
.home-gallery__album h3,
.parish-today__title,
.parish-today__text,
.parish-today__card-number-row span,
.parish-today__card-text,
.about-intro__title,
.about-intro__text,
.about-history__title,
.about-history__text,
.about-church__title,
.about-church__text,
.about-priest__name,
.about-priest__text {
	overflow-wrap: break-word;
	word-break: normal;
}


/* =========================================================
   LAPTOP / FLUID DESKTOP — 1200–1919
   ========================================================= */

@media (min-width: 1200px) and (max-width: 1919px) {

	.site-header__inner {
		padding-left: clamp(32px, 4vw, 64px);
		padding-right: clamp(32px, 4vw, 64px);
	}

	.site-navigation__menu {
		gap: clamp(18px, 2vw, 32px);
	}

	/* HERO */
	.home-hero {
		height: clamp(690px, 46vw, 792px);
		padding:
			clamp(42px, 3.5vw, 54px)
			clamp(40px, 4.5vw, 88px)
			0;

		grid-template-columns:
			minmax(0, 0.92fr)
			minmax(0, 1.08fr);

		column-gap: clamp(40px, 4vw, 72px);
		justify-content: stretch;
	}

	.home-hero__image {
		width: 100%;
		height: auto;
		aspect-ratio: 800 / 630;
	}

	.home-hero__content {
		width: 100%;
	}

	.home-hero__title {
		width: 100%;
		font-size: clamp(48px, 3.5vw, 60px);
		line-height: 1.04;
	}

	.home-hero__intro {
		width: min(100%, 700px);
	}

	.home-hero__saint {
		width: min(100%, 520px);
	}

	.home-hero__facts {
		width: min(100%, 620px);
	}

	/* BRZE INFORMACIJE */
	.parish-services {
		gap: clamp(16px, 1.5vw, 24px);
		padding:
			36px
			clamp(40px, 4vw, 72px);
	}

	/* BAŠTINA */
	.heritage-intro {
		gap: clamp(32px, 4vw, 64px);
		padding: clamp(48px, 4vw, 72px);
	}

	.heritage-intro__eyebrow {
		width: auto;
		flex: 0 0 clamp(220px, 21vw, 320px);
	}

	.heritage-intro__content {
		width: auto;
		flex: 1 1 auto;
	}

	.heritage-intro__text {
		width: 100%;
		max-width: 1120px;
	}

	/* GALERIJA */
	.home-gallery {
		padding: clamp(48px, 4vw, 72px);
	}

	/* ŽUPA DANAS */
	.parish-today {
		grid-template-columns:
			minmax(0, 1.15fr)
			minmax(360px, 0.85fr);

		gap: clamp(32px, 4vw, 56px);
		padding:
			64px
			clamp(40px, 4.5vw, 72px)
			72px;

		justify-content: stretch;
	}

	.parish-today__content {
		max-width: none;
	}

	.parish-today__places {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 12px;
	}

	.parish-today__places span:nth-child(n) {
		width: 100%;
	}

	.parish-today__card {
		width: 100%;
	}

	/* O ŽUPI */
	.about-intro {
		padding:
			56px
			clamp(40px, 4vw, 72px)
			44px;
	}

	.about-history {
		padding:
			24px
			clamp(40px, 4vw, 72px)
			64px;
	}

	.about-church,
	.about-priest {
		gap: clamp(40px, 4vw, 64px);
		padding:
			72px
			clamp(40px, 4.5vw, 72px);
	}

	.about-church {
		grid-template-columns:
			minmax(0, 1.05fr)
			minmax(360px, 0.95fr);
	}

	.about-priest {
		grid-template-columns:
			minmax(360px, 0.9fr)
			minmax(0, 1.1fr);
	}

	/* FOOTER */
	.site-footer {
		padding-left: clamp(40px, 4vw, 72px);
		padding-right: clamp(40px, 4vw, 72px);
	}

	.site-footer__bottom {
		gap: 20px;
	}

	.site-footer__legal {
		flex-wrap: wrap;
		justify-content: center;
	}
}


/* =========================================================
   SMALL LAPTOP — 900–1199
   ========================================================= */

@media (min-width: 900px) and (max-width: 1199px) {

	.site-header__inner {
		padding: 0 24px;
	}

	.site-navigation__menu {
		gap: 16px;
	}

	.site-navigation__menu a {
		font-size: 13px;
	}

	.site-header__contact {
		padding: 12px 16px;
		font-size: 13px;
	}

	/* HERO — NORMAL FLOW, NO ABSOLUTE OVERLAPS */
	.home-hero {
		width: 100%;
		height: auto;

		padding: 48px 36px;

		display: grid;
		grid-template-columns:
			minmax(0, 0.95fr)
			minmax(0, 1.05fr);

		gap: 40px;

		overflow: visible;
	}

	.home-hero__image {
		position: relative;

		width: 100%;
		height: auto;
		aspect-ratio: 800 / 630;

		border-radius: 24px;
	}

	.home-hero__content {
		position: static;

		width: 100%;
		height: auto;

		margin: 0;

		display: flex;
		flex-direction: column;
		gap: 22px;
	}

	.home-hero__eyebrow,
	.home-hero__title,
	.home-hero__intro,
	.home-hero__actions,
	.home-hero__saint,
	.home-hero__facts {
		position: static;
		top: auto;
		left: auto;
	}

	.home-hero__eyebrow,
	.home-hero__title,
	.home-hero__intro {
		width: 100%;
		margin: 0;
	}

	.home-hero__title {
		font-size: clamp(42px, 4.6vw, 52px);
		line-height: 1.04;
	}

	.home-hero__intro {
		font-size: 16px;
		line-height: 25px;
	}

	.home-hero__actions {
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.home-hero__saint {
		width: 100%;
		height: auto;

		padding-left: 18px;
	}

	.home-hero__saint-text {
		margin-top: 12px;
	}

	.home-hero__facts {
		width: 100%;
		height: auto;
		min-height: 92px;
	}

	/* HOME CARDS */
	.parish-services {
		padding: 36px 32px;
		gap: 16px;
	}

	.service-card {
		padding: 24px;
	}

	.service-card__title {
		font-size: 30px;
		line-height: 1.25;
	}

	/* BAŠTINA */
	.heritage-intro {
		padding: 52px 36px;
		gap: 32px;
	}

	.heritage-intro__eyebrow {
		width: 180px;
		flex: 0 0 180px;
	}

	.heritage-intro__content {
		width: auto;
		flex: 1 1 auto;
	}

	.heritage-intro__title {
		font-size: 46px;
		line-height: 1.15;
	}

	.heritage-intro__text {
		width: 100%;
	}

	/* GALERIJA */
	.home-gallery {
		padding: 52px 32px;
	}

	.home-gallery__grid {
		gap: 18px;
	}

	.home-gallery__album h3 {
		font-size: 29px;
	}

	/* ŽUPA DANAS — STACK */
	.parish-today {
		display: flex;
		flex-direction: column;
		gap: 40px;

		min-height: 0;

		padding: 56px 40px 64px;
	}

	.parish-today__content {
		width: 100%;
		max-width: none;
	}

	.parish-today__places {
		width: 100%;
		max-width: none;

		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 12px;
	}

	.parish-today__places span:nth-child(n) {
		width: 100%;
	}

	.parish-today__card {
		width: 100%;
		min-height: 380px;

		margin: 0;
	}

	/* O ŽUPI */
	.about-intro {
		padding: 52px 40px 40px;
	}

	.about-intro__title {
		font-size: 60px;
		line-height: 1.08;
	}

	.about-history {
		padding: 24px 40px 56px;
	}

	.about-history__grid {
		gap: 18px;
	}

	.about-history__card {
		padding: 24px;
	}

	.about-church,
	.about-priest {
		display: flex;
		flex-direction: column;
		align-items: stretch;

		gap: 32px;

		padding: 56px 40px;
	}

	.about-church__image,
	.about-priest__image {
		width: 100%;
		max-width: 820px;

		margin: 0 auto;
	}

	.about-church__content,
	.about-priest__content {
		width: 100%;
		max-width: 820px;

		margin: 0 auto;
	}

	.about-priest__image {
		order: 1;
	}

	.about-priest__content {
		order: 2;

		padding: 24px 0 0;

		border-left: 0;
		border-top: 1px solid var(--slavetic-gold);
	}

	/* FOOTER */
	.site-footer {
		padding: 48px 40px 36px;
	}

	.site-footer__bottom {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 14px 24px;
	}

	.site-footer__copyright {
		flex: 1 1 100%;
	}

	.site-footer__legal {
		flex-wrap: wrap;
	}
}


/* =========================================================
   TABLET — 768–899
   ========================================================= */

@media (min-width: 768px) and (max-width: 899px) {

	/* HEADER -> HAMBURGER */
	.site-header {
		position: relative;
		z-index: 1000;

		height: 88px;
	}

	.site-header__inner {
		height: 88px;
		padding: 0 28px;
	}

	.site-brand {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.site-brand__title {
		display: block;

		font-family: "Cormorant Garamond", serif;
		font-size: 32px;
		line-height: 1;
		font-weight: 500;

		color: var(--slavetic-ink);
	}

	.site-brand__name {
		margin-top: 4px;
		font-size: 9px;
	}

	.site-navigation,
	.site-header__contact {
		display: none;
	}

	.mobile-menu-toggle {
		width: 48px;
		height: 48px;

		padding: 0;

		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;

		background: transparent;

		border: 1px solid var(--slavetic-line);
		border-radius: 6px;
	}

	.mobile-menu-toggle span {
		display: block;

		width: 20px;
		height: 1px;

		background: var(--slavetic-ink);

		transition:
			transform 0.2s ease,
			opacity 0.2s ease;
	}

	.site-header.menu-open .site-navigation {
		position: absolute;

		top: 88px;
		left: 0;

		width: 100%;

		display: block;

		padding: 24px 28px;

		background: var(--slavetic-white);
		border-bottom: 1px solid var(--slavetic-line);
	}

	.site-header.menu-open .site-navigation__menu {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;

		width: 100%;
	}

	.site-header.menu-open .site-navigation__menu li {
		width: 100%;
	}

	.site-header.menu-open .site-navigation__menu a {
		display: block;

		width: 100%;

		padding: 16px 0;

		border-bottom: 1px solid var(--slavetic-line);

		font-size: 16px;
	}

	.site-header.menu-open .site-navigation__menu li:last-child a {
		border-bottom: 0;
	}

	.site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
		opacity: 0;
	}

	.site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	/* HERO — SINGLE COLUMN */
	.home-hero {
		height: auto;

		padding: 44px 40px 52px;

		display: flex;
		flex-direction: column;
		gap: 32px;

		overflow: visible;
	}

	.home-hero__image {
		position: static;

		width: 100%;
		height: auto;
		aspect-ratio: 16 / 10;

		border-radius: 24px;
	}

	.home-hero__content {
		position: static;

		width: 100%;
		height: auto;

		margin: 0;

		display: flex;
		flex-direction: column;
		gap: 22px;
	}

	.home-hero__eyebrow,
	.home-hero__title,
	.home-hero__intro,
	.home-hero__actions,
	.home-hero__saint,
	.home-hero__facts {
		position: static;
		top: auto;
		left: auto;
	}

	.home-hero__eyebrow,
	.home-hero__title,
	.home-hero__intro {
		width: 100%;
		margin: 0;
	}

	.home-hero__title {
		font-size: 52px;
		line-height: 1.05;
	}

	.home-hero__intro {
		font-size: 17px;
		line-height: 26px;
	}

	.home-hero__actions {
		width: 100%;
		display: flex;
		gap: 10px;
	}

	.home-hero__saint {
		width: 100%;
		height: auto;
		padding-left: 18px;
	}

	.home-hero__saint-text {
		margin-top: 12px;
	}

	.home-hero__facts {
		width: 100%;
		height: auto;
		min-height: 92px;
	}

	/* SERVICES 2 + 1 */
	.parish-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;

		padding: 40px;
	}

	/* BAŠTINA */
	.heritage-intro {
		flex-direction: column;
		gap: 24px;

		padding: 52px 40px;
	}

	.heritage-intro__eyebrow,
	.heritage-intro__content,
	.heritage-intro__text {
		width: 100%;
		flex: none;
	}

	.heritage-intro__title {
		font-size: 46px;
		line-height: 1.12;
	}

	/* GALERIJA */
	.home-gallery {
		padding: 52px 40px;
	}

	.home-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.home-gallery__album:last-child {
		grid-column: 1 / -1;
	}

	/* ŽUPA DANAS */
	.parish-today {
		display: flex;
		flex-direction: column;
		gap: 36px;

		min-height: 0;

		padding: 52px 40px 60px;
	}

	.parish-today__content {
		width: 100%;
		max-width: none;
	}

	.parish-today__places {
		width: 100%;
		max-width: none;

		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 12px;
	}

	.parish-today__places span:nth-child(n) {
		width: 100%;
	}

	.parish-today__card {
		width: 100%;
		min-height: 360px;

		margin: 0;
	}

	/* O ŽUPI */
	.about-intro {
		padding: 48px 40px 40px;
	}

	.about-intro__title {
		font-size: 56px;
		line-height: 1.08;
	}

	.about-history {
		padding: 24px 40px 52px;
	}

	.about-history__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.about-history__card:last-child {
		grid-column: 1 / -1;
	}

	.about-church,
	.about-priest {
		display: flex;
		flex-direction: column;
		align-items: stretch;

		gap: 28px;

		padding: 52px 40px;
	}

	.about-church__image,
	.about-priest__image,
	.about-church__content,
	.about-priest__content {
		width: 100%;
		max-width: none;
	}

	.about-priest__image {
		order: 1;
	}

	.about-priest__content {
		order: 2;

		padding: 24px 0 0;

		border-left: 0;
		border-top: 1px solid var(--slavetic-gold);
	}

	/* FOOTER */
	.site-footer {
		padding: 48px 40px 36px;
	}

	.site-footer__bottom {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}


/* =========================================================
   MOBILE — 0–767
   Replaces fixed/absolute mobile hero with a fluid layout.
   ========================================================= */

@media (max-width: 767px) {

	/* ROBUST MOBILE HERO */
	.home-hero {
		width: 100%;
		height: auto;

		padding: 20px 24px 36px;

		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"eyebrow"
			"title"
			"intro"
			"image"
			"actions"
			"facts";

		row-gap: 0;

		overflow: visible;
	}

	.home-hero__content {
		display: contents;
	}

	.home-hero__eyebrow {
		grid-area: eyebrow;

		position: static;

		width: 100%;

		margin: 0 0 26px;

		font-size: 9px;
		line-height: 1;
	}

	.home-hero__title {
		grid-area: title;

		position: static;

		width: 100%;

		margin: 0 0 16px;

		font-size: clamp(32px, 9vw, 38px);
		line-height: 1.06;
		letter-spacing: -0.3px;
	}

	.home-hero__intro {
		grid-area: intro;

		position: static;

		width: 100%;

		margin: 0 0 26px;

		font-size: clamp(13px, 3.7vw, 15px);
		line-height: 1.6;
	}

	.home-hero__image {
		grid-area: image;

		position: static;

		width: 100%;
		height: auto;
		aspect-ratio: 342 / 280;

		margin: 0 0 26px;

		border-radius: 22px;
	}

	.home-hero__actions {
		grid-area: actions;

		position: static;

		width: 100%;

		margin: 0 0 18px;

		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.home-hero__facts {
		grid-area: facts;

		position: static;

		width: 100%;
		height: auto;
		min-height: 64px;

		padding: 14px 18px;

		display: flex;
		align-items: center;
		gap: 14px;

		overflow: hidden;
	}

	.home-hero__fact {
		min-width: 0;
	}

	/* Avoid fixed-width descendants causing horizontal scroll */
	.site-header__inner,
	.parish-services,
	.heritage-intro,
	.home-gallery,
	.parish-today,
	.site-footer,
	.about-intro,
	.about-history,
	.about-church,
	.about-priest {
		max-width: 100%;
	}

	.home-gallery__image {
		height: auto;
		aspect-ratio: 342 / 248;
	}

	.parish-today__places span {
		min-width: 0;
	}

	.site-footer__legal,
	.site-footer__credit,
	.site-footer__copyright {
		max-width: 100%;
	}

	.about-intro__title {
		font-size: clamp(40px, 12vw, 48px);
		line-height: 1.08;
	}

	.about-history__title,
	.about-church__title,
	.about-priest__name {
		font-size: clamp(34px, 10vw, 38px);
		line-height: 1.12;
	}
}


/* =========================================================
   SMALL MOBILE — <= 479
   ========================================================= */

@media (max-width: 479px) {

	.site-header__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.site-brand__title {
		font-size: 30px;
	}

	.site-brand__name {
		font-size: 8px;
	}

	.home-hero,
	.parish-services,
	.heritage-intro,
	.home-gallery,
	.parish-today,
	.site-footer,
	.about-intro,
	.about-history,
	.about-church,
	.about-priest {
		padding-left: 20px;
		padding-right: 20px;
	}

	.home-hero__facts {
		padding-left: 14px;
		padding-right: 14px;
		gap: 10px;
	}

	.home-hero__fact {
		gap: 6px;
	}

	.home-hero__fact strong {
		font-size: 12px;
	}

	.home-hero__fact span {
		font-size: 9px;
	}

	.parish-today__places {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.parish-today__places span {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 10px;
	}

	.site-footer__actions {
		gap: 12px;
	}
}
/* =========================================================
   ŽIVOT ŽUPE
   ========================================================= */

.life-page {
	--life-paper: #fbf9f5;
	--life-white: #fffefc;
	--life-ink: #28323b;
	--life-muted: #66615b;
	--life-bronze: #7d6542;
	--life-line: #d9d3c9;
	--life-blue: #2e485c;
	--life-blue-dark: #233b4d;
	--life-warm: #f0ebe2;

	background: var(--life-paper);
	color: var(--life-ink);
	overflow: hidden;
}

.life-container {
	width: min(100% - 96px, 1776px);
	margin-inline: auto;
}

.life-eyebrow,
.life-card-kicker {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--life-bronze);
}

.life-page h1,
.life-page h2,
.life-page h3 {
	font-family: "Cormorant Garamond", serif;
	font-weight: 500;
	color: var(--life-ink);
}

.life-page button,
.life-page input,
.life-page textarea {
	font: inherit;
}


/* =========================================================
   UVOD
   ========================================================= */

.life-intro {
	padding: 116px 0 110px;
	background: var(--life-paper);
}

.life-intro .life-container {
	max-width: 1180px;
	margin-left: max(48px, calc((100vw - 1776px) / 2));
}

.life-intro__title {
	max-width: 900px;
	margin: 20px 0 24px;
	font-size: clamp(58px, 5vw, 88px);
	line-height: 0.98;
	letter-spacing: -0.025em;
}

.life-intro__text {
	max-width: 760px;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: var(--life-muted);
}

.life-intro__text p {
	margin: 0;
}


/* =========================================================
   OBAVIJESTI
   ========================================================= */

.life-info {
	padding: 86px 0 100px;
	background: var(--life-white);
}

.life-section-heading {
	margin-bottom: 42px;
}

.life-section-heading h2 {
	margin: 16px 0 12px;
	font-size: clamp(44px, 4vw, 64px);
	line-height: 1;
}

.life-section-heading > p:last-child {
	max-width: 760px;
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: var(--life-muted);
}

.life-info__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.life-info-card {
	display: flex;
	flex-direction: column;
	min-height: 285px;
	padding: 34px 34px 30px;
	background: var(--life-paper);
	border: 1px solid var(--life-line);
	border-radius: 12px;
}

.life-info-card h3 {
	margin: 17px 0 12px;
	font-size: 32px;
	line-height: 1.05;
}

.life-info-card > p:not(.life-card-kicker) {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.65;
	color: var(--life-muted);
}

.life-card-link {
	margin-top: auto;
	padding-top: 32px;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	color: var(--life-blue);
	transition: opacity 0.2s ease;
}

.life-card-link:hover {
	opacity: 0.65;
}


/* =========================================================
   MLADI / HUB
   ========================================================= */

.life-youth {
	padding: 104px 0 110px;
	background: var(--life-blue);
	color: #fff;
}

.life-youth .life-eyebrow {
	color: #d1b98f;
}

.life-youth__heading {
	max-width: 940px;
	margin-bottom: 54px;
}

.life-youth__heading h2 {
	max-width: 900px;
	margin: 18px 0 22px;
	font-size: clamp(50px, 4.5vw, 74px);
	line-height: 1;
	color: #fff;
}

.life-youth__heading > p:last-child {
	max-width: 760px;
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
}

.life-youth__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.life-youth-card {
	display: flex;
	flex-direction: column;
	min-height: 310px;
	padding: 32px 28px 28px;
	border: 1px solid rgba(255, 255, 255, 0.19);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.055);
}

.life-youth-card .life-card-kicker {
	color: #d1b98f;
}

.life-youth-card h3 {
	margin: 18px 0 13px;
	font-size: 31px;
	line-height: 1.05;
	color: #fff;
}

.life-youth-card > p:not(.life-card-kicker) {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.7);
}

.life-youth-card__cta {
	margin-top: auto;
	padding: 30px 0 0;
	border: 0;
	background: transparent;
	text-align: left;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	color: #fff;
	cursor: pointer;
}

.life-youth-card__cta:hover {
	opacity: 0.7;
}


/* =========================================================
   UKLJUČI SE
   ========================================================= */

.life-join {
	padding: 94px 0;
	background: var(--life-paper);
}

.life-join__box {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(560px, 1.15fr);
	gap: 88px;
	padding: 66px;
	background: var(--life-white);
	border: 1px solid var(--life-line);
	border-radius: 16px;
}

.life-join__intro h2 {
	margin: 18px 0 20px;
	font-size: clamp(48px, 4vw, 68px);
	line-height: 1;
}

.life-join__intro > p:not(.life-eyebrow) {
	max-width: 540px;
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--life-muted);
}

.life-join__intro .life-join__note {
	margin-top: 26px;
	font-size: 13px;
	color: var(--life-bronze);
}

.life-join-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.life-interest-options {
	margin: 0;
	padding: 0;
	border: 0;
}

.life-interest-options legend {
	margin-bottom: 13px;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: var(--life-muted);
}

.life-interest-options {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.life-interest-pill {
	position: relative;
	cursor: pointer;
}

.life-interest-pill input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.life-interest-pill span {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 10px 17px;
	border: 1px solid var(--life-line);
	border-radius: 999px;
	background: var(--life-paper);
	font-family: "Inter", sans-serif;
	font-size: 13px;
	color: var(--life-ink);
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.life-interest-pill input:checked + span {
	background: var(--life-blue);
	border-color: var(--life-blue);
	color: #fff;
}

.life-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.life-form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.life-form-field > span:not(.screen-reader-text) {
	font-family: "Inter", sans-serif;
	font-size: 12px;
	color: var(--life-muted);
}

.life-form-field input,
.life-form-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--life-line);
	border-radius: 8px;
	outline: none;
	background: var(--life-paper);
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: var(--life-ink);
	transition: border-color 0.2s ease;
}

.life-form-field input {
	height: 52px;
	padding: 0 16px;
}

.life-form-field textarea {
	min-height: 130px;
	padding: 15px 16px;
	resize: vertical;
}

.life-form-field input:focus,
.life-form-field textarea:focus {
	border-color: var(--life-blue);
}

.life-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 500;
}

.life-button--primary {
	background: var(--life-blue);
	color: #fff;
}

.life-button--primary:hover {
	background: var(--life-blue-dark);
}

.life-form-privacy,
.life-question-form__note {
	margin: -5px 0 0;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 1.55;
	color: var(--life-muted);
}

.life-form-message {
	margin: 0;
	padding: 12px 14px;
	border-radius: 8px;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	line-height: 1.5;
}

.life-form-message--success {
	background: #eef3ec;
	color: #3e6244;
}

.life-form-message--error {
	background: #f8ecea;
	color: #863f38;
}

.life-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}


/* =========================================================
   PITAJ BEZ SRAMA
   ========================================================= */

.life-question {
	padding: 105px 0;
	background: var(--life-warm);
}

.life-question__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(480px, 0.85fr);
	gap: 100px;
	align-items: start;
}

.life-question__content {
	padding-top: 22px;
}

.life-question__content h2 {
	max-width: 630px;
	margin: 17px 0 23px;
	font-size: clamp(52px, 4.5vw, 76px);
	line-height: 0.98;
}

.life-question__intro {
	max-width: 680px;
	font-family: "Inter", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	color: var(--life-muted);
}

.life-question__intro p {
	margin: 0;
}

.life-question__examples {
	margin-top: 42px;
}

.life-question__examples p {
	margin: 0 0 12px;
	font-family: "Cormorant Garamond", serif;
	font-size: 25px;
	line-height: 1.3;
	color: var(--life-ink);
}

.life-question__topics {
	margin: 33px 0 0;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	line-height: 1.7;
	letter-spacing: 0.04em;
	color: var(--life-bronze);
}

.life-question-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 42px;
	background: var(--life-white);
	border: 1px solid var(--life-line);
	border-radius: 16px;
}

.life-question-form h3 {
	max-width: 520px;
	margin: 2px 0 6px;
	font-size: 36px;
	line-height: 1.07;
}

.life-question-form textarea {
	min-height: 185px;
}


/* =========================================================
   AKTUALNO ZA MLADE
   ========================================================= */

.life-updates {
	padding: 100px 0 110px;
	background: var(--life-paper);
}

.life-updates__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.life-update-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 475px;
	overflow: hidden;
	background: var(--life-white);
	border: 1px solid var(--life-line);
	border-radius: 12px;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.life-update-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(28, 38, 45, 0.07);
}

.life-update-card:focus-visible {
	outline: 2px solid var(--life-blue);
	outline-offset: 4px;
}

.life-update-card__image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 6.1;
	overflow: hidden;
	background: #e7ebed;
}

.life-update-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.life-update-card__placeholder {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 24px;
	box-sizing: border-box;
}

.life-update-card__placeholder span {
	font-family: "Inter", sans-serif;
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #71808a;
}

.life-update-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 27px 28px 27px;
}

.life-update-card__content h3 {
	margin: 16px 0 11px;
	font-size: 31px;
	line-height: 1.05;
}

.life-update-card__excerpt {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--life-muted);
}

.life-update-card__button {
	margin-top: auto;
	padding: 26px 0 0;
	border: 0;
	background: transparent;
	text-align: left;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	color: var(--life-blue);
	cursor: pointer;
}

.life-updates__note {
	margin: 32px 0 0;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 1.5;
	color: var(--life-bronze);
}

.life-updates__empty {
	padding: 38px 40px;
	border: 1px solid var(--life-line);
	border-radius: 12px;
	background: var(--life-white);
}

.life-updates__empty p {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: var(--life-muted);
}


/* =========================================================
   MODAL / BRZI PREGLED
   ========================================================= */

.life-update-modal[hidden] {
	display: none !important;
}

.life-update-modal {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px;
	box-sizing: border-box;
}

.life-update-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(23, 36, 45, 0.88);
	backdrop-filter: blur(4px);
}

.life-update-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
	max-height: calc(100vh - 72px);
	overflow-y: auto;
	background: var(--life-white);
	border-radius: 16px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.life-update-modal__close {
	position: absolute;
	z-index: 2;
	top: 15px;
	right: 15px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: var(--life-ink);
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.life-update-modal__image {
	width: 100%;
	aspect-ratio: 16 / 6.2;
	overflow: hidden;
	background: #e7ebed;
}

.life-update-modal__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.life-update-modal__content {
	padding: 35px 36px 40px;
}

.life-update-modal__content h2 {
	margin: 13px 0 18px;
	font-size: 43px;
	line-height: 1;
}

.life-update-modal__body {
	font-family: "Inter", sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: var(--life-muted);
}

.life-update-modal__body > *:first-child {
	margin-top: 0;
}

.life-update-modal__body > *:last-child {
	margin-bottom: 0;
}

body.life-modal-open {
	overflow: hidden;
}


/* =========================================================
   TABLET / MANJI LAPTOP
   ========================================================= */

@media (max-width: 1199px) {

	.life-container {
		width: min(100% - 64px, 1080px);
	}

	.life-intro .life-container {
		margin-inline: auto;
	}

	.life-intro {
		padding: 90px 0;
	}

	.life-info__grid {
		gap: 18px;
	}

	.life-youth__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.life-join__box {
		grid-template-columns: 1fr 1.15fr;
		gap: 48px;
		padding: 48px;
	}

	.life-question__layout {
		grid-template-columns: 1fr 0.9fr;
		gap: 60px;
	}

	.life-updates__grid {
		gap: 18px;
	}
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 899px) {

	.life-container {
		width: min(100% - 48px, 760px);
	}

	.life-intro,
	.life-info,
	.life-youth,
	.life-join,
	.life-question,
	.life-updates {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.life-info__grid {
		grid-template-columns: 1fr;
	}

	.life-info-card {
		min-height: 0;
	}

	.life-youth__grid {
		grid-template-columns: 1fr 1fr;
	}

	.life-youth-card {
		min-height: 290px;
	}

	.life-join__box,
	.life-question__layout {
		grid-template-columns: 1fr;
	}

	.life-join__box {
		gap: 48px;
	}

	.life-question__layout {
		gap: 52px;
	}

	.life-question-form {
		max-width: 640px;
	}

	.life-updates__grid {
		grid-template-columns: 1fr;
	}

	.life-update-card {
		min-height: 0;
	}

	.life-update-card__image {
		aspect-ratio: 16 / 7;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.life-container {
		width: calc(100% - 40px);
	}

	.life-intro {
		padding: 58px 0 64px;
	}

	.life-intro__title {
		margin-top: 15px;
		margin-bottom: 20px;
		font-size: 48px;
		line-height: 0.98;
	}

	.life-intro__text {
		font-size: 15px;
		line-height: 1.65;
	}

	.life-info,
	.life-youth,
	.life-join,
	.life-question,
	.life-updates {
		padding-top: 58px;
		padding-bottom: 64px;
	}

	.life-section-heading {
		margin-bottom: 30px;
	}

	.life-section-heading h2 {
		margin-top: 14px;
		font-size: 42px;
	}

	.life-info__grid {
		gap: 14px;
	}

	.life-info-card {
		padding: 27px 25px;
	}

	.life-info-card h3 {
		font-size: 29px;
	}

	.life-youth__heading {
		margin-bottom: 34px;
	}

	.life-youth__heading h2 {
		margin-top: 14px;
		font-size: 43px;
	}

	.life-youth__heading > p:last-child {
		font-size: 15px;
	}

	.life-youth__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.life-youth-card {
		min-height: 240px;
		padding: 27px 25px;
	}

	.life-youth-card h3 {
		font-size: 29px;
	}

	.life-join__box {
		display: block;
		padding: 32px 24px;
	}

	.life-join__intro {
		margin-bottom: 42px;
	}

	.life-join__intro h2 {
		font-size: 45px;
	}

	.life-join__intro > p:not(.life-eyebrow) {
		font-size: 15px;
	}

	.life-interest-options {
		gap: 8px;
	}

	.life-interest-pill span {
		padding: 9px 13px;
		font-size: 12px;
	}

	.life-form-row {
		grid-template-columns: 1fr;
	}

	.life-button {
		width: 100%;
	}

	.life-question__content {
		padding-top: 0;
	}

	.life-question__content h2 {
		font-size: 46px;
	}

	.life-question__intro {
		font-size: 15px;
	}

	.life-question__examples {
		margin-top: 32px;
	}

	.life-question__examples p {
		font-size: 22px;
	}

	.life-question-form {
		padding: 30px 24px;
	}

	.life-question-form h3 {
		font-size: 31px;
	}

	.life-update-card__image {
		aspect-ratio: 342 / 190;
	}

	.life-update-card__content {
		padding: 24px 24px 25px;
	}

	.life-update-card__content h3 {
		font-size: 30px;
	}

	.life-updates__note {
		margin-top: 25px;
	}

	.life-update-modal {
		align-items: flex-end;
		padding: 14px;
	}

	.life-update-modal__dialog {
		width: 100%;
		max-height: calc(100vh - 28px);
		border-radius: 16px;
	}

	.life-update-modal__image {
		aspect-ratio: 16 / 8.5;
	}

	.life-update-modal__content {
		padding: 29px 24px 32px;
	}

	.life-update-modal__content h2 {
		font-size: 36px;
	}

	.life-update-modal__body {
		font-size: 14px;
	}
}


/* =========================================================
   MALI MOBILE
   ========================================================= */

@media (max-width: 420px) {

	.life-container {
		width: calc(100% - 32px);
	}

	.life-intro__title {
		font-size: 43px;
	}

	.life-youth__heading h2,
	.life-question__content h2 {
		font-size: 40px;
	}

	.life-join__box,
	.life-question-form {
		padding-left: 20px;
		padding-right: 20px;
	}
}
/* =========================================================
   ŽIVOT ŽUPE — HERO S POZADINSKOM FOTOGRAFIJOM
   ========================================================= */

.life-intro--image {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 420px;
	padding: 0;
	overflow: hidden;
	background: var(--life-paper);
}

/* Fotografija preko CIJELOG bloka */
.life-intro__background {
	position: absolute;
	z-index: 0;
	inset: -20px;
	overflow: hidden;
}

.life-intro__background img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: blur(9px);
	transform: scale(1.035);
}

/* Svijetli sloj preko fotografije */
.life-intro__overlay {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: rgba(251, 249, 245, 0.62);
}

/* Tekst ide IZNAD fotografije */
.life-intro--image .life-intro__content {
	position: relative;
	z-index: 2;

	width: min(100% - 96px, 1776px);
	max-width: none;

	margin: 0 auto;
	padding: 70px 0;
}

.life-intro--image .life-intro__title {
	max-width: 900px;
	margin: 20px 0 24px;
}

.life-intro--image .life-intro__text {
	max-width: 780px;
}

/* uklanjamo staro lijevo pozicioniranje */
.life-intro--image .life-container {
	margin-left: auto;
	margin-right: auto;
}


/* =========================================================
   MANJI LAPTOP / TABLET
   ========================================================= */

@media (max-width: 1199px) {

	.life-intro--image {
		min-height: 390px;
	}

	.life-intro--image .life-intro__content {
		width: min(100% - 64px, 1080px);
		padding: 62px 0;
	}

	.life-intro__background img {
		filter: blur(8px);
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.life-intro--image {
		min-height: 350px;
	}

	.life-intro--image .life-intro__content {
		width: calc(100% - 48px);
		padding: 42px 0;
	}

	.life-intro--image .life-intro__title {
		margin: 15px 0 18px;
		font-size: 48px;
		line-height: 0.98;
	}

	.life-intro--image .life-intro__text {
		max-width: 330px;
		font-size: 15px;
		line-height: 1.55;
	}

	.life-intro__background {
		inset: -16px;
	}

	.life-intro__background img {
		filter: blur(7px);
		transform: scale(1.05);
	}

	.life-intro__overlay {
		background: rgba(251, 249, 245, 0.66);
	}
}


@media (max-width: 420px) {

	.life-intro--image .life-intro__content {
		width: calc(100% - 40px);
	}

	.life-intro--image .life-intro__title {
		font-size: 43px;
	}
}
/* =========================================================
   ŽIVOT ŽUPE — HERO FINAL KOREKCIJA
   ========================================================= */

.life-intro--image {
	min-height: 400px;
}

/* Slika neka ostane prepoznatljiva */
.life-intro__background {
	inset: -10px;
}

.life-intro__background img {
	width: 100%;
	height: 100%;
	object-fit: cover;

	/* spuštamo kadar da se vide ljudi */
	object-position: center 68%;

	/* puno blaži blur */
	filter: blur(4px);

	transform: scale(1.02);
}

/*
 * Umjesto jednolične bijele magle:
 * lijevo svjetlije zbog teksta,
 * desno slika postaje vidljivija.
 */
.life-intro__overlay {
	background:
		linear-gradient(
			90deg,
			rgba(251, 249, 245, 0.88) 0%,
			rgba(251, 249, 245, 0.76) 35%,
			rgba(251, 249, 245, 0.42) 67%,
			rgba(251, 249, 245, 0.28) 100%
		);
}

/* Tekst */
.life-intro--image .life-intro__content {
	padding-top: 68px;
	padding-bottom: 68px;
}

.life-intro--image .life-intro__title {
	max-width: 820px;
}

.life-intro--image .life-intro__text {
	max-width: 720px;
}


/* MOBILE */
@media (max-width: 767px) {

	.life-intro--image {
		min-height: 350px;
	}

	.life-intro__background img {
		object-position: center 72%;
		filter: blur(3px);
		transform: scale(1.025);
	}

	.life-intro__overlay {
		background:
			linear-gradient(
				180deg,
				rgba(251, 249, 245, 0.87) 0%,
				rgba(251, 249, 245, 0.72) 55%,
				rgba(251, 249, 245, 0.42) 100%
			);
	}
}
/* =========================================================
   AKTUALNO ZA MLADE — VEĆA SLIKA NA DESKTOPU
   ========================================================= */

@media (min-width: 900px) {

	.life-update-card__image {
		aspect-ratio: 16 / 9;
	}

	.life-update-card__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: top center;
	}

}

/* =========================================================
   ŽIVOT ŽUPE — MOBILE MODAL FINAL FIX
   ========================================================= */

@media (max-width: 767px) {

	.life-update-modal {
		position: fixed !important;
		inset: 0 !important;
		z-index: 999999 !important;

		display: flex !important;
		align-items: center !important;
		justify-content: center !important;

		width: 100vw !important;
		height: 100dvh !important;

		padding: 12px !important;
		box-sizing: border-box !important;
	}

	.life-update-modal[hidden] {
		display: none !important;
	}

	.life-update-modal__overlay {
		position: absolute !important;
		inset: 0 !important;
		z-index: 0 !important;

		background: rgba(23, 36, 45, 0.94) !important;
	}

	.life-update-modal__dialog {
		position: relative !important;
		z-index: 2 !important;

		display: block !important;

		width: calc(100vw - 24px) !important;
		max-width: 430px !important;
		min-width: 0 !important;

		height: auto !important;
		max-height: calc(100dvh - 24px) !important;

		margin: 0 !important;
		padding: 0 !important;

		overflow-x: hidden !important;
		overflow-y: auto !important;

		box-sizing: border-box !important;

		background: #fffefc !important;
		border-radius: 14px !important;
	}

	.life-update-modal__content,
	.life-update-modal__content--poster {
		display: block !important;

		width: 100% !important;
		max-width: none !important;

		margin: 0 !important;
		padding: 0 20px 28px !important;

		box-sizing: border-box !important;
	}

	/* cijeli plakat */
	.life-update-modal__content .wp-block-image,
	.life-update-modal__content figure {
		display: block !important;

		width: calc(100% + 40px) !important;
		max-width: none !important;

		margin: 0 -20px 24px !important;
		padding: 0 !important;
	}

	.life-update-modal__content .wp-block-image img,
	.life-update-modal__content figure img,
	.life-update-modal__content img {
		display: block !important;

		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;

		margin: 0 !important;

		object-fit: contain !important;
	}

	.life-update-modal__content p,
	.life-update-modal__content ul,
	.life-update-modal__content ol,
	.life-update-modal__content h2,
	.life-update-modal__content h3 {
		width: auto !important;
		max-width: 100% !important;
	}

	.life-update-modal__content p {
		font-size: 14px !important;
		line-height: 1.65 !important;
	}

	.life-update-modal__content h3 {
		margin-top: 28px !important;
		margin-bottom: 12px !important;

		font-size: 28px !important;
		line-height: 1.1 !important;
	}

	.life-update-modal__content ul,
	.life-update-modal__content ol {
		padding-left: 20px !important;
		font-size: 14px !important;
		line-height: 1.65 !important;
	}

	.life-update-modal__close {
		position: sticky !important;
		top: 10px !important;
		float: right !important;
		z-index: 10 !important;

		width: 42px !important;
		height: 42px !important;

		margin: 10px 10px -52px 0 !important;

		border-radius: 50% !important;

		background: rgba(255,255,255,0.97) !important;
		box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
	}
}
/* =========================================================
   GALERIJA ŽUPE
   ========================================================= */

.gallery-page {
	--gallery-paper: #fbf9f5;
	--gallery-white: #fffefc;
	--gallery-sand: #eee9e1;
	--gallery-ink: #28323b;
	--gallery-muted: #66615b;
	--gallery-bronze: #7d6542;
	--gallery-line: #d9d3c9;
	--gallery-blue: #2e485c;

	width: 100%;
	background: var(--gallery-paper);
	color: var(--gallery-ink);
	overflow: hidden;
}

.gallery-container {
	width: calc(100% - 144px);
	max-width: 1776px;
	margin: 0 auto;
}

.gallery-eyebrow {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 16px;
	font-weight: 500;
	letter-spacing: 0.03em;

	color: var(--gallery-bronze);
}


/* =========================================================
   GALERIJA — UVOD
   ========================================================= */

.gallery-intro {
	padding: 60px 0 40px;
	background: var(--gallery-paper);
}

.gallery-intro__layout {
	display: grid;
	grid-template-columns: minmax(0, 1060px) minmax(0, 644px);
	gap: 72px;
	align-items: center;

	margin-top: 18px;
}

.gallery-intro__title {
	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: clamp(72px, 5vw, 92px);
	line-height: 1.08;
	font-weight: 500;
	letter-spacing: -0.02em;

	color: var(--gallery-ink);
}

.gallery-intro__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.gallery-intro__text {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 19px;
	line-height: 30px;

	color: var(--gallery-muted);
}

.gallery-intro__count {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;

	color: var(--gallery-bronze);
}


/* NAVIGACIJA ALBUMA */

.gallery-intro__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;

	margin-top: 18px;
}

.gallery-intro__nav-link {
	display: inline-flex;
	align-items: center;

	min-height: 48px;
	padding: 0 24px;

	border: 1px solid var(--gallery-line);
	border-radius: 6px;

	background: transparent;

	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 500;

	color: var(--gallery-blue);

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.gallery-intro__nav-link:hover {
	background: var(--gallery-white);
	border-color: #c8c1b7;
}


/* =========================================================
   ALBUMI
   ========================================================= */

.gallery-albums {
	display: grid;

	grid-template-columns:
		minmax(0, 624fr)
		minmax(0, 1104fr);

	column-gap: 48px;
	row-gap: 48px;

	padding: 48px 72px 64px;

	background: var(--gallery-sand);
}

.gallery-album {
	min-width: 0;
	background: transparent;
}

.gallery-album .gallery-container {
	width: 100%;
	max-width: none;
}


/* PRVI ALBUM — PREKO CIJELE ŠIRINE */

.gallery-album--featured {
	grid-column: 1 / -1;

	margin:
		-48px
		-72px
		0;

	padding:
		16px
		72px
		56px;

	background: var(--gallery-paper);
}

.gallery-album--featured .gallery-container {
	width: 100%;
	max-width: 1776px;
}


/* DRUGI I TREĆI ALBUM */

.gallery-albums > .gallery-album:nth-child(2) {
	grid-column: 1;
}

.gallery-albums > .gallery-album:nth-child(3) {
	grid-column: 2;
}


/* Ako kasnije dodamo četvrti album */

.gallery-albums > .gallery-album:nth-child(n+4) {
	grid-column: 1 / -1;
}


/* NASLOV ALBUMA */

.gallery-album__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;

	margin-bottom: 24px;
}

.gallery-album__heading {
	display: flex;
	align-items: center;
	gap: 16px;

	min-width: 0;
	flex: 1;
}

.gallery-album__number {
	width: 36px;
	flex: 0 0 36px;

	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;

	color: var(--gallery-bronze);
}

.gallery-album__heading h2 {
	min-width: 0;

	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 44px;
	line-height: 50px;
	font-weight: 500;

	color: var(--gallery-ink);
}

.gallery-album__count {
	flex: 0 0 auto;

	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;

	color: var(--gallery-muted);
}


/* =========================================================
   FOTOGRAFIJE
   ========================================================= */

.gallery-album__grid {
	display: grid;
	gap: 24px;
}

.gallery-photo {
	min-width: 0;
	margin: 0;
}

.gallery-photo__button {
	display: block;

	width: 100%;
	padding: 0;

	overflow: hidden;

	border: 0;
	border-radius: 8px;

	background: #e9e6df;

	cursor: zoom-in;
}

.gallery-photo__image {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.35s ease;
}

.gallery-photo__button:hover .gallery-photo__image {
	transform: scale(1.015);
}

.gallery-photo__caption {
	margin-top: 10px;

	font-family: "Inter", sans-serif;
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;

	color: var(--gallery-muted);
}


/* PRVI ALBUM:
   1. fotografija šira
   2. fotografija uža
   ostale fotografije po dvije
*/

.gallery-album--featured .gallery-album__grid {
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-album--featured .gallery-photo:nth-child(1) {
	grid-column: span 7;
}

.gallery-album--featured .gallery-photo:nth-child(2) {
	grid-column: span 5;
}

.gallery-album--featured .gallery-photo:nth-child(n+3) {
	grid-column: span 6;
}

.gallery-album--featured .gallery-photo:nth-child(-n+2) .gallery-photo__button {
	height: 504px;
}

.gallery-album--featured .gallery-photo:nth-child(n+3) .gallery-photo__button {
	height: 380px;
}


/* ŽUPNA SLAVLJA */

.gallery-albums > .gallery-album:nth-child(2) .gallery-album__grid {
	grid-template-columns: 1fr;
}

.gallery-albums > .gallery-album:nth-child(2) .gallery-photo__button {
	height: 412px;
}


/* SUSRETI ZAJEDNICE */

.gallery-albums > .gallery-album:nth-child(3) .gallery-album__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-albums > .gallery-album:nth-child(3) .gallery-photo__button {
	height: 412px;
}


/* DODATNI ALBUMI */

.gallery-albums > .gallery-album:nth-child(n+4) .gallery-album__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-albums > .gallery-album:nth-child(n+4) .gallery-photo__button {
	height: 360px;
}


/* =========================================================
   PRAZAN ALBUM
   ========================================================= */

.gallery-album__empty {
	margin: 0;
	padding: 30px;

	border: 1px solid var(--gallery-line);
	border-radius: 8px;

	background: var(--gallery-white);

	font-family: "Inter", sans-serif;
	font-size: 14px;
	color: var(--gallery-muted);
}


/* =========================================================
   CTA
   ========================================================= */

.gallery-cta {
	padding: 48px 0;
	background: var(--gallery-paper);
}

.gallery-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.gallery-cta h2 {
	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 34px;
	line-height: 1.1;
	font-weight: 500;

	color: var(--gallery-ink);
}

.gallery-cta p {
	margin: 12px 0 0;

	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.6;

	color: var(--gallery-muted);
}

.gallery-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	min-width: 192px;
	min-height: 48px;
	padding: 0 24px;

	border: 1px solid var(--gallery-line);
	border-radius: 6px;

	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 500;

	color: var(--gallery-blue);
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.gallery-lightbox[hidden] {
	display: none !important;
}

.gallery-lightbox {
	position: fixed;
	z-index: 999999;
	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 40px;
}

.gallery-lightbox__overlay {
	position: absolute;
	inset: 0;

	background: rgba(20, 31, 39, 0.94);
	backdrop-filter: blur(5px);
}

.gallery-lightbox__dialog {
	position: relative;
	z-index: 2;

	width: min(1400px, 100%);
	height: min(860px, calc(100vh - 80px));

	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 64px;
	align-items: center;
	gap: 20px;
}

.gallery-lightbox__image-wrap {
	min-width: 0;
	max-height: 100%;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.gallery-lightbox__image {
	display: block;

	max-width: 100%;
	max-height: calc(100vh - 140px);

	width: auto;
	height: auto;

	object-fit: contain;

	border-radius: 8px;
}

.gallery-lightbox__meta {
	margin: 14px 0 0;

	font-family: "Inter", sans-serif;
	font-size: 12px;

	color: rgba(255,255,255,0.78);
}

.gallery-lightbox__close,
.gallery-lightbox__previous,
.gallery-lightbox__next {
	display: grid;
	place-items: center;

	width: 48px;
	height: 48px;
	padding: 0;

	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 50%;

	background: rgba(255,255,255,0.08);
	color: #fff;

	cursor: pointer;
}

.gallery-lightbox__close {
	position: absolute;
	z-index: 3;

	top: 0;
	right: 0;

	font-size: 28px;
}

.gallery-lightbox__previous,
.gallery-lightbox__next {
	font-size: 22px;
}

body.gallery-lightbox-open {
	overflow: hidden;
}


/* =========================================================
   GALERIJA — TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {

	.gallery-container {
		width: calc(100% - 80px);
	}

	.gallery-intro__layout {
		grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
		gap: 40px;
	}

	.gallery-intro__title {
		font-size: 68px;
	}

	.gallery-albums {
		grid-template-columns: 1fr;
		gap: 48px;

		padding: 48px 40px 56px;
	}

	.gallery-album--featured {
		grid-column: 1;

		margin: -48px -40px 0;
		padding: 24px 40px 56px;
	}

	.gallery-albums > .gallery-album:nth-child(n) {
		grid-column: 1;
	}

	.gallery-albums > .gallery-album:nth-child(2) .gallery-album__grid,
	.gallery-albums > .gallery-album:nth-child(3) .gallery-album__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gallery-albums > .gallery-album:nth-child(2) .gallery-photo__button,
	.gallery-albums > .gallery-album:nth-child(3) .gallery-photo__button {
		height: 360px;
	}
}


/* =========================================================
   GALERIJA — MOBILE 390
   ========================================================= */

@media (max-width: 767px) {

	.gallery-container {
		width: calc(100% - 48px);
		max-width: none;
	}

	.gallery-intro {
		padding: 32px 0;
	}

	.gallery-intro__layout {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;

		margin-top: 18px;
	}

	.gallery-intro__title {
		width: 100%;

		font-size: 54px;
		line-height: 60px;
	}

	.gallery-intro__aside {
		width: 100%;
		gap: 16px;
	}

	.gallery-intro__text {
		font-size: 16px;
		line-height: 25px;
	}

	.gallery-intro__count {
		font-size: 12px;
		color: var(--gallery-muted);
	}

	.gallery-intro__nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;

		width: 100%;
		margin-top: 0;
	}

	.gallery-intro__nav-link {
		width: 100%;
		min-width: 0;
		min-height: 48px;

		padding: 0 14px;

		justify-content: flex-start;

		font-size: 12px;
	}

	.gallery-intro__nav-link:nth-child(3) {
		width: max-content;
		min-width: 206px;
	}


	/* ALBUMI */

	.gallery-albums {
		display: block;
		padding: 0;
		background: var(--gallery-paper);
	}

	.gallery-album,
	.gallery-album--featured {
		width: 100%;

		margin: 0;
		padding: 24px 0 36px;

		background: var(--gallery-paper);
	}

	.gallery-album:nth-child(n+2) {
		padding-top: 24px;
		padding-bottom: 44px;

		background: var(--gallery-sand);
	}

	.gallery-album__header {
		gap: 12px;
		margin-bottom: 24px;
	}

	.gallery-album__heading {
		gap: 12px;
	}

	.gallery-album__number {
		width: 25px;
		flex-basis: 25px;

		font-size: 12px;
	}

	.gallery-album__heading h2 {
		font-size: 30px;
		line-height: 34px;
	}

	.gallery-album__count {
		font-size: 11px;
		line-height: 16px;

		text-align: right;
	}

	.gallery-album__grid,
	.gallery-album--featured .gallery-album__grid,
	.gallery-albums > .gallery-album:nth-child(2) .gallery-album__grid,
	.gallery-albums > .gallery-album:nth-child(3) .gallery-album__grid,
	.gallery-albums > .gallery-album:nth-child(n+4) .gallery-album__grid {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.gallery-album--featured .gallery-photo:nth-child(n) {
		width: 100%;
	}

	.gallery-photo__button,
	.gallery-album--featured .gallery-photo:nth-child(-n+2) .gallery-photo__button,
	.gallery-album--featured .gallery-photo:nth-child(n+3) .gallery-photo__button,
	.gallery-albums > .gallery-album:nth-child(2) .gallery-photo__button,
	.gallery-albums > .gallery-album:nth-child(3) .gallery-photo__button,
	.gallery-albums > .gallery-album:nth-child(n+4) .gallery-photo__button {
		width: 100%;
		height: auto;

		aspect-ratio: 3 / 2;
	}

	.gallery-photo__caption {
		font-size: 11px;
		line-height: 17px;
	}


	/* CTA */

	.gallery-cta {
		padding: 38px 0 40px;
	}

	.gallery-cta__inner {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 26px;
	}

	.gallery-cta h2 {
		font-size: 30px;
	}

	.gallery-cta p {
		font-size: 13px;
	}

	.gallery-cta__button {
		width: 100%;
	}


	/* LIGHTBOX MOBILE */

	.gallery-lightbox {
		padding: 14px;
	}

	.gallery-lightbox__dialog {
		width: 100%;
		height: calc(100dvh - 28px);

		grid-template-columns: 44px minmax(0, 1fr) 44px;
		gap: 8px;
	}

	.gallery-lightbox__image {
		max-height: calc(100dvh - 110px);
	}

	.gallery-lightbox__close {
		top: 6px;
		right: 6px;

		width: 42px;
		height: 42px;
	}

	.gallery-lightbox__previous,
	.gallery-lightbox__next {
		width: 42px;
		height: 42px;
	}
}
/* =========================================================
   GALERIJA — ALBUMI JEDAN ISPOD DRUGOGA
   ========================================================= */

@media (min-width: 1200px) {

	.gallery-albums {
		display: block;
		padding: 48px 72px 64px;
	}

	.gallery-album {
		width: 100%;
		max-width: 1776px;
		margin-left: auto;
		margin-right: auto;
	}

	.gallery-album--featured {
		margin-top: -48px;
		margin-left: auto;
		margin-right: auto;
		padding: 16px 0 56px;
	}

	.gallery-albums > .gallery-album:nth-child(2),
	.gallery-albums > .gallery-album:nth-child(3) {
		width: 100%;
		max-width: 1776px;
		margin: 0 auto;
		padding: 48px 0 56px;
	}

	/* ŽUPNA SLAVLJA — 4 fotografije u redu */
	.gallery-albums > .gallery-album:nth-child(2) .gallery-album__grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px;
	}

	.gallery-albums > .gallery-album:nth-child(2) .gallery-photo__button {
		height: auto;
		aspect-ratio: 3 / 2;
	}

	/* SUSRETI ZAJEDNICE — 3 fotografije u redu */
	.gallery-albums > .gallery-album:nth-child(3) .gallery-album__grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}

	.gallery-albums > .gallery-album:nth-child(3) .gallery-photo__button {
		height: auto;
		aspect-ratio: 3 / 2;
	}

}
/* =========================================================
   GALERIJA — FULL WIDTH ALBUM SEKCIJE
   ========================================================= */

@media (min-width: 1200px) {

	.gallery-albums {
		display: block;
		padding: 0;
		background: var(--gallery-paper);
	}

	.gallery-album {
		width: 100%;
		max-width: none;

		margin: 0;
		padding: 48px 0 56px;
	}

	.gallery-album .gallery-container {
		width: calc(100% - 144px);
		max-width: 1776px;

		margin-left: auto;
		margin-right: auto;
	}

	/* 01 — Crkva i baština */
	.gallery-album--featured {
		margin: 0;
		padding: 16px 0 56px;

		background: var(--gallery-paper);
	}

	/* 02 — Župna slavlja */
	.gallery-albums > .gallery-album:nth-child(2) {
		margin: 0;
		padding: 48px 0 64px;

		background: var(--gallery-sand);
	}

	/* 03 — Susreti zajednice */
	.gallery-albums > .gallery-album:nth-child(3) {
		margin: 0;
		padding: 48px 0 64px;

		background: var(--gallery-paper);
	}
}
/* =========================================================
   GALERIJA — MOBILE UNUTARNJI RAZMAK
   ========================================================= */

@media (max-width: 767px) {

	.gallery-album .gallery-container {
		width: calc(100% - 48px);
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}

	.gallery-album__header {
		width: 100%;
	}

	.gallery-album__count {
		white-space: nowrap;
	}
}
/* =========================================================
   ŽUPNI URED / KONTAKT
   ========================================================= */

.contact-page {
	--contact-paper: #fbf9f5;
	--contact-white: #fffefc;
	--contact-sand: #eee9e1;
	--contact-ink: #28323b;
	--contact-muted: #66615b;
	--contact-bronze: #7d6542;
	--contact-line: #d9d3c9;
	--contact-blue: #2e485c;
	--contact-bordeaux: #491d1d;

	width: 100%;
	background: var(--contact-paper);
	color: var(--contact-ink);
}

.contact-container {
	width: min(calc(100% - 144px), 1776px);
	margin: 0 auto;
}

.contact-eyebrow {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 16px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;

	color: var(--contact-bronze);
}


/* =========================================================
   UVOD
   ========================================================= */

.contact-intro {
	padding: 84px 0 76px;
	background: var(--contact-paper);
}

.contact-intro__title {
	margin: 20px 0 24px;

	font-family: "Cormorant Garamond", serif;
	font-size: clamp(70px, 5vw, 92px);
	line-height: 0.98;
	font-weight: 500;
	letter-spacing: -0.025em;

	color: var(--contact-ink);
}

.contact-intro__text {
	max-width: 760px;

	font-family: "Inter", sans-serif;
	font-size: 18px;
	line-height: 1.7;

	color: var(--contact-muted);
}

.contact-intro__text p {
	margin: 0;
}


/* =========================================================
   KONTAKT PODACI + OBRAZAC
   ========================================================= */

.contact-main {
	padding: 90px 0 100px;
	background: var(--contact-sand);
}

.contact-main__grid {
	display: grid;
	grid-template-columns: minmax(340px, 0.8fr) minmax(560px, 1.2fr);
	gap: 96px;
	align-items: start;
}


/* LIJEVO — PODACI */

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 0;

	border-top: 1px solid var(--contact-line);
}

.contact-details__item {
	padding: 28px 0;

	border-bottom: 1px solid var(--contact-line);
}

.contact-details__label {
	margin: 0 0 12px;

	font-family: "Inter", sans-serif;
	font-size: 10px;
	line-height: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;

	color: var(--contact-bronze);
}

.contact-details__value {
	margin: 0;

	font-family: "Cormorant Garamond", serif;
	font-size: 27px;
	line-height: 1.35;
	font-weight: 500;

	color: var(--contact-ink);
}

.contact-details__value p {
	margin: 0;
}

.contact-details__link {
	display: inline-block;

	transition: color 0.2s ease;
}

.contact-details__link:hover {
	color: var(--contact-blue);
}


/* DESNO — OBRAZAC */

.contact-form-wrap {
	padding: 52px;

	background: var(--contact-white);

	border: 1px solid var(--contact-line);
	border-radius: 16px;
}

.contact-form-wrap h2 {
	margin: 16px 0 34px;

	font-family: "Cormorant Garamond", serif;
	font-size: clamp(42px, 3.5vw, 58px);
	line-height: 1;
	font-weight: 500;

	color: var(--contact-ink);
}

.contact-form {
	position: relative;

	display: flex;
	flex-direction: column;
	gap: 21px;
}

.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-form__field > span {
	font-family: "Inter", sans-serif;
	font-size: 12px;
	font-weight: 500;

	color: var(--contact-muted);
}

.contact-form__field input,
.contact-form__field textarea {
	width: 100%;

	border: 1px solid var(--contact-line);
	border-radius: 8px;
	outline: none;

	background: var(--contact-paper);

	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.5;

	color: var(--contact-ink);

	transition:
		border-color 0.2s ease,
		background-color 0.2s ease;
}

.contact-form__field input {
	height: 54px;
	padding: 0 16px;
}

.contact-form__field textarea {
	min-height: 180px;
	padding: 15px 16px;

	resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
	border-color: var(--contact-blue);
	background: var(--contact-white);
}

.contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: fit-content;
	min-width: 190px;
	min-height: 50px;

	padding: 0 24px;

	border: 0;
	border-radius: 25px;

	background: var(--contact-bordeaux);
	color: #fffaed;

	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 600;

	cursor: pointer;

	transition: opacity 0.2s ease;
}

.contact-form__submit:hover {
	opacity: 0.9;
}

.contact-form__privacy {
	margin: -4px 0 0;

	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 1.55;

	color: var(--contact-muted);
}


/* PORUKA NAKON SLANJA */

.contact-form-message {
	margin: 0 0 24px;
	padding: 13px 15px;

	border-radius: 8px;

	font-family: "Inter", sans-serif;
	font-size: 13px;
	line-height: 1.5;
}

.contact-form-message--success {
	background: #eef3ec;
	color: #3e6244;
}

.contact-form-message--error {
	background: #f8ecea;
	color: #863f38;
}


/* HONEYPOT */

.contact-honeypot {
	position: absolute !important;

	left: -10000px !important;

	width: 1px !important;
	height: 1px !important;

	overflow: hidden !important;
}


/* =========================================================
   KAKO DO NAS
   ========================================================= */

.contact-location {
	padding: 76px 0 84px;
	background: var(--contact-paper);
}

.contact-location__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}

.contact-location h2 {
	margin: 17px 0 18px;

	font-family: "Cormorant Garamond", serif;
	font-size: 48px;
	line-height: 1.05;
	font-weight: 500;

	color: var(--contact-ink);
}

.contact-location p {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 15px;
	line-height: 1.65;

	color: var(--contact-muted);
}

.contact-location__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 170px;
	min-height: 49px;

	padding: 0 24px;

	border: 1px solid var(--contact-line);
	border-radius: 6px;

	background: transparent;

	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 500;

	color: var(--contact-blue);
}


/* =========================================================
   KONTAKT — TABLET / MANJI LAPTOP
   ========================================================= */

@media (max-width: 1199px) {

	.contact-container {
		width: min(calc(100% - 80px), 1080px);
	}

	.contact-main__grid {
		grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
		gap: 54px;
	}

	.contact-form-wrap {
		padding: 42px;
	}

}


/* =========================================================
   KONTAKT — MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.contact-container {
		width: calc(100% - 48px);
	}

	.contact-intro {
		padding: 54px 0 58px;
	}

	.contact-intro__title {
		margin-top: 16px;
		margin-bottom: 20px;

		font-size: 54px;
		line-height: 0.98;
	}

	.contact-intro__text {
		font-size: 15px;
		line-height: 1.65;
	}


	/* GLAVNI DIO */

	.contact-main {
		padding: 56px 0 64px;
	}

	.contact-main__grid {
		display: flex;
		flex-direction: column;
		gap: 42px;
	}

	.contact-details {
		width: 100%;
	}

	.contact-details__item {
		padding: 22px 0;
	}

	.contact-details__value {
		font-size: 24px;
	}


	/* OBRAZAC */

	.contact-form-wrap {
		width: 100%;

		padding: 30px 24px;

		border-radius: 14px;
	}

	.contact-form-wrap h2 {
		margin-top: 14px;
		margin-bottom: 28px;

		font-size: 40px;
	}

	.contact-form__submit {
		width: 100%;
	}


	/* LOKACIJA */

	.contact-location {
		padding: 56px 0 60px;
	}

	.contact-location__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
	}

	.contact-location h2 {
		font-size: 38px;
	}

	.contact-location__button {
		width: 100%;
	}

}
/* =========================================================
   PRAVNE STRANICE
   ========================================================= */

.legal-page {
	background: #fbf9f5;
	color: #28323b;
	padding: 78px 0 100px;
}

.legal-container {
	width: min(calc(100% - 144px), 1500px);
	margin: 0 auto;
}

.legal-hero {
	max-width: 1000px;
	padding-bottom: 64px;
}

.legal-eyebrow {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	color: #7d6542;
}

.legal-hero h1 {
	margin: 18px 0 24px;
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(64px, 5vw, 88px);
	line-height: .98;
	font-weight: 500;
	color: #28323b;
}

.legal-lead {
	max-width: 820px;
	margin: 0;
	font-family: "Inter", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #66615b;
}

.legal-updated {
	margin: 24px 0 0;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	color: #7d6542;
}

.legal-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 850px);
	gap: 100px;
	align-items: start;
}

.legal-sidebar {
	position: sticky;
	top: 32px;
	padding-top: 8px;
}

.legal-sidebar__label {
	margin: 0 0 18px;
	font-family: "Inter", sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #7d6542;
}

.legal-nav {
	display: flex;
	flex-direction: column;
	border-top: 1px solid #d9d3c9;
}

.legal-nav a {
	padding: 12px 0;
	border-bottom: 1px solid #d9d3c9;
	font-family: "Inter", sans-serif;
	font-size: 12px;
	line-height: 1.4;
	color: #66615b;
}

.legal-nav a:hover {
	color: #2e485c;
}

.legal-content {
	min-width: 0;
}

.legal-section {
	position: relative;
	padding: 0 0 56px;
	margin: 0 0 56px;
	border-bottom: 1px solid #d9d3c9;
	scroll-margin-top: 40px;
}

.legal-section:last-child {
	margin-bottom: 0;
}

.legal-section__number {
	display: block;
	margin-bottom: 11px;
	font-family: "Inter", sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #7d6542;
}

.legal-section h2 {
	margin: 0 0 24px;
	font-family: "Cormorant Garamond", serif;
	font-size: 42px;
	line-height: 1.08;
	font-weight: 500;
	color: #28323b;
}

.legal-section h3 {
	margin: 28px 0 12px;
	font-family: "Cormorant Garamond", serif;
	font-size: 27px;
	line-height: 1.15;
	font-weight: 500;
	color: #28323b;
}

.legal-section p,
.legal-section li {
	font-family: "Inter", sans-serif;
	font-size: 15px;
	line-height: 1.75;
	color: #66615b;
}

.legal-section p {
	margin: 0 0 18px;
}

.legal-section ul {
	margin: 18px 0 24px;
	padding-left: 22px;
}

.legal-section li {
	margin-bottom: 7px;
}

.legal-section a {
	color: #2e485c;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.legal-contact-card {
	margin-top: 8px;
	padding: 28px 30px;
	background: #eee9e1;
	border-radius: 10px;
}

.legal-contact-card strong {
	font-family: "Cormorant Garamond", serif;
	font-size: 23px;
	font-weight: 600;
	color: #28323b;
}

.legal-contact-card p {
	margin: 14px 0 0;
}


/* TABLET */

@media (max-width: 1199px) {

	.legal-container {
		width: calc(100% - 80px);
	}

	.legal-layout {
		grid-template-columns: 210px minmax(0, 1fr);
		gap: 60px;
	}
}


/* MOBILE */

@media (max-width: 767px) {

	.legal-page {
		padding: 54px 0 70px;
	}

	.legal-container {
		width: calc(100% - 48px);
	}

	.legal-hero {
		padding-bottom: 48px;
	}

	.legal-hero h1 {
		font-size: 52px;
	}

	.legal-lead {
		font-size: 15px;
		line-height: 1.65;
	}

	.legal-layout {
		display: block;
	}

	.legal-sidebar {
		position: static;
		margin-bottom: 52px;
	}

	.legal-nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 20px;
	}

	.legal-section {
		padding-bottom: 42px;
		margin-bottom: 42px;
	}

	.legal-section h2 {
		font-size: 34px;
	}

	.legal-section h3 {
		font-size: 25px;
	}

	.legal-section p,
	.legal-section li {
		font-size: 14px;
	}

	.legal-contact-card {
		padding: 24px;
	}
}

@media (max-width: 420px) {

	.legal-nav {
		grid-template-columns: 1fr;
	}
}
/* =========================================================
   404 STRANICA
   ========================================================= */

.error-page {
	width: 100%;
	background: var(--slavetic-paper);
	color: var(--slavetic-ink);
}

.error-hero {
	min-height: 620px;

	display: flex;
	align-items: center;

	padding: 90px 0 100px;

	background:
		linear-gradient(
			135deg,
			#fbf9f5 0%,
			#f4efe7 100%
		);
}

.error-container {
	width: min(calc(100% - 144px), 1776px);
	margin: 0 auto;

	position: relative;
}

.error-eyebrow {
	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 11px;
	line-height: 16px;
	font-weight: 600;
	letter-spacing: 0.12em;

	color: var(--slavetic-bronze);
}

.error-number {
	position: absolute;

	top: 50%;
	right: 0;

	margin: 0;

	transform: translateY(-50%);

	font-family: "Cormorant Garamond", serif;
	font-size: clamp(220px, 22vw, 420px);
	line-height: 0.75;
	font-weight: 500;

	color: rgba(125, 101, 66, 0.07);

	pointer-events: none;
}

.error-hero h1 {
	position: relative;
	z-index: 2;

	max-width: 850px;

	margin: 22px 0 24px;

	font-family: "Cormorant Garamond", serif;
	font-size: clamp(64px, 6vw, 96px);
	line-height: 0.95;
	font-weight: 500;
	letter-spacing: -0.025em;

	color: var(--slavetic-ink);
}

.error-text {
	position: relative;
	z-index: 2;

	max-width: 650px;

	margin: 0;

	font-family: "Inter", sans-serif;
	font-size: 17px;
	line-height: 1.7;

	color: var(--slavetic-muted);
}

.error-actions {
	position: relative;
	z-index: 2;

	display: flex;
	flex-wrap: wrap;
	gap: 12px;

	margin-top: 36px;
}

.error-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 50px;
	padding: 0 26px;

	border-radius: 25px;

	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 600;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.error-button--primary {
	background: var(--slavetic-bordeaux);
	border: 1px solid var(--slavetic-bordeaux);

	color: #fffaed;
}

.error-button--outline {
	background: transparent;
	border: 1px solid var(--slavetic-line);

	color: var(--slavetic-blue);
}

.error-button--primary:hover {
	opacity: 0.9;
}

.error-button--outline:hover {
	background: var(--slavetic-white);
}


/* TABLET */

@media (max-width: 1199px) {

	.error-container {
		width: calc(100% - 80px);
	}

	.error-hero {
		min-height: 560px;
		padding: 80px 0;
	}

	.error-number {
		font-size: 260px;
	}

}


/* MOBILE */

@media (max-width: 767px) {

	.error-hero {
		min-height: 560px;

		align-items: flex-start;

		padding: 64px 0 74px;
	}

	.error-container {
		width: calc(100% - 48px);
	}

	.error-number {
		position: static;

		margin: 34px 0 -15px;

		transform: none;

		font-size: 150px;
		line-height: 0.75;

		color: rgba(125, 101, 66, 0.09);
	}

	.error-hero h1 {
		margin-top: 26px;

		font-size: 52px;
		line-height: 0.98;
	}

	.error-text {
		font-size: 15px;
		line-height: 1.65;
	}

	.error-actions {
		flex-direction: column;
		gap: 10px;

		margin-top: 30px;
	}

	.error-button {
		width: 100%;
	}
} /* kraj @media (max-width: 767px) */


/* =========================================================
   ŽUPA SLAVETIĆ – RASPORED MISA
   NOVI RESPONZIVNI PRIKAZ
   Desktop / Tablet / Mobile
   ========================================================= */

/* GLAVNA SEKCIJA */

.mass-week {
    width: 100%;
    margin: 0;
    padding: 76px 72px 90px;
    background: var(--slavetic-sand, #eee9e1);
    box-sizing: border-box;
}

.mass-week,
.mass-week * {
    box-sizing: border-box;
}

/* UKUPNA ŠIRINA */

.mass-week__inner {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 38px;
    align-items: stretch;
}

/* =========================================
   NASLOV I UVOD
========================================= */

.mass-week__intro {
    width: 100%;
    max-width: 1100px;
    padding: 0;
    margin: 0;
}

.mass-week__eyebrow {
    margin: 0 0 15px;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #92734e;
}

.mass-week__title {
    width: 100%;
    max-width: none;
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 500;
    line-height: 1.07;
    letter-spacing: -0.025em;

    color: #28323b;
}

.mass-week__period {
    display: inline-flex;
    align-items: center;

    margin: 21px 0 17px;
    padding: 10px 18px;

    background: #293e5b;
    border-radius: 30px;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;

    color: #ffffff;
}

.mass-week__intro-text {
    max-width: 900px;
    margin: 0;

    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.75;

    color: #59616a;
}

.mass-week__updated {
    margin: 14px 0 0;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.5;

    color: #80715c;
}

/* =========================================
   GLAVNI PANEL
========================================= */

.mass-week__panel {
    width: 100%;
    min-width: 0;
    margin: 0;

    background: #fffefc;

    border: 1px solid #ddd6cc;
    border-radius: 20px;

    box-shadow: 0 14px 34px
        rgba(40, 50, 59, 0.045);

    overflow: hidden;
}

/* ZAGLAVLJE PANELA */

.mass-week__panel-head {
    min-height: 62px;
    padding: 16px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 25px;

    border-bottom: 1px solid #e1dcd4;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1px;

    color: #8d7454;
}

/* =========================================
   RASPORED – TRI STUPCA
========================================= */

.mass-week__schedule {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;

    margin: 0;
    padding: 0;
}

/* DNEVNA KARTICA */

.mass-week__schedule > p {
    min-width: 0;
    min-height: 0;

    margin: 0;
    padding: 24px 27px 27px;

    background: #fffefc;

    border-right: 1px solid #e1dcd4;
    border-bottom: 1px solid #e1dcd4;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;

    color: #4e5661;

    overflow-wrap: break-word;
    transition: background-color 0.2s ease;
}

/* UKLANJANJE DESNOG RUBA */

.mass-week__schedule > p:nth-child(3n) {
    border-right: 0;
}

/* NASLOV DANA */

.mass-week__schedule > p > strong:first-child {
    display: block;

    margin: 0 0 18px;
    padding: 0 0 13px;

    border-bottom: 1px solid #e9e2d8;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.035em;

    color: #895348;
}

/* OSTALI ISTAKNUTI TEKSTOVI */

.mass-week__schedule > p strong {
    color: #293e5b;
    font-weight: 700;
}

/* HOVER */

@media (hover: hover) {
    .mass-week__schedule > p:not(:last-child):hover {
        background: #faf8f4;
    }
}

/* =========================================
   NEDJELJA – POSEBNO ISTAKNUTA
========================================= */

.mass-week__schedule > p:last-child {
    grid-column: 1 / -1;

    min-height: 0;
    margin: 0;
    padding: 29px 34px 32px;

    background: #293e5b;

    border-right: 0;
    border-bottom: 0;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.85;

    color: #ffffff;
}

/* NASLOV NEDJELJE */

.mass-week__schedule > p:last-child > strong:first-child {
    display: block;

    margin: 0 0 20px;
    padding: 0 0 14px;

    border-bottom: 1px solid
        rgba(255, 255, 255, 0.2);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.07em;

    color: #e9d4a4;
}

/* SVI OSTALI TEKSTOVI NEDJELJE */

.mass-week__schedule > p:last-child strong {
    color: #ffffff;
    font-weight: 700;
}

.mass-week__schedule > p:last-child a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1199px) {

    .mass-week {
        padding: 62px 38px 72px;
    }

    .mass-week__inner {
        gap: 30px;
    }

    .mass-week__title {
        font-size: 62px;
    }

    .mass-week__schedule {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .mass-week__schedule > p {
        padding: 23px 24px 26px;
        border-right: 1px solid #e1dcd4;
    }

    .mass-week__schedule > p:nth-child(3n) {
        border-right: 1px solid #e1dcd4;
    }

    .mass-week__schedule > p:nth-child(2n) {
        border-right: 0;
    }

    .mass-week__schedule > p:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }
}

/* =========================================
   MOBITEL
========================================= */

@media (max-width: 767px) {

    .mass-week {
        padding: 48px 18px 60px;
    }

    .mass-week__inner {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .mass-week__intro {
        width: 100%;
    }

    .mass-week__eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-bottom: 13px;
    }

    .mass-week__title {
        font-size: clamp(40px, 9vw, 50px);
        line-height: 1.05;
        letter-spacing: -0.02em;
    }

    .mass-week__period {
        margin: 20px 0 17px;
        padding: 9px 14px;
        font-size: 11px;
    }

    .mass-week__intro-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .mass-week__panel {
        border-radius: 15px;
    }

    .mass-week__panel-head {
        min-height: 0;
        padding: 16px 20px;

        font-size: 10px;
        letter-spacing: 0.5px;
    }

    /* JEDAN STUPAC */

    .mass-week__schedule {
        display: flex;
        flex-direction: column;
    }

    .mass-week__schedule > p,
    .mass-week__schedule > p:nth-child(3n),
    .mass-week__schedule > p:nth-child(2n) {
        width: 100%;
        min-height: 0;

        padding: 22px 20px 24px;

        border-right: 0;
        border-bottom: 1px solid #e1dcd4;

        font-size: 13px;
        line-height: 1.8;
    }

    .mass-week__schedule > p > strong:first-child {
        margin-bottom: 13px;
        padding-bottom: 11px;

        font-size: 11px;
        line-height: 1.5;
    }

    /* NEDJELJA */

    .mass-week__schedule > p:last-child {
        width: 100%;
        padding: 25px 21px 28px;

        background: #293e5b;
        border: 0;

        font-size: 14px;
        line-height: 1.85;

        color: #ffffff;
    }

    .mass-week__schedule > p:last-child > strong:first-child {
        margin-bottom: 18px;
        padding-bottom: 13px;

        font-size: 12px;
        line-height: 1.5;

        color: #e9d4a4;
    }

    .mass-week__schedule > p:last-child strong {
        color: #ffffff;
    }
}

/* =========================================
   PRISTUPAČNOST
========================================= */

@media (prefers-reduced-motion: reduce) {
    .mass-week__schedule > p {
        transition: none;
    }
}
