/* Global Atelier. Tamni sloj preko cele teme. */

body.atelier {
	--midnight: #07080d;
	--deep: #10131a;
	--ivory: #f3efe6;
	--gold: #d4b483;
	--mist: #c9c3b6;
	--text: #f3efe6;
	--muted: #b7b1a6;
	--border: rgba(243, 239, 230, 0.16);
	background: #07080d;
	color: var(--ivory);
}

body.atelier .me-bar {
	background: rgba(7, 8, 13, 0.78);
	border-color: rgba(212, 180, 131, 0.38);
}

body.atelier .me-nav > a,
body.atelier .me-drop-btn,
body.atelier .me-mega a,
body.atelier .me-sub a {
	color: var(--ivory);
}

body.atelier .me-mega,
body.atelier .me-sub {
	background: #101d30;
	border-color: rgba(196, 164, 119, 0.35);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.atelier .me-mega a,
body.atelier .me-sub a {
	border-radius: 12px;
}

body.atelier .me-mega a:hover,
body.atelier .me-sub a:hover {
	background: rgba(196, 164, 119, 0.1);
}

@media (min-width: 1101px) {
	body.atelier .me-mega,
	body.atelier .me-sub {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(8px);
		transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
	}

	body.atelier .me-drop.is-open > .me-mega,
	body.atelier .me-drop.is-open > .me-sub,
	body.atelier .me-drop:focus-within > .me-mega,
	body.atelier .me-drop:focus-within > .me-sub {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.atelier .me-mega,
	body.atelier .me-sub {
		transition: none;
		transform: none;
	}
}

body.atelier .me-cta,
body.atelier .me-btn {
	background: var(--gold);
	color: #1a140c;
	border-color: var(--gold);
}

body.atelier .me-btn-ghost,
body.atelier .me-btn-line {
	background: transparent;
	color: var(--ivory);
	border-color: rgba(243, 239, 230, 0.45);
}

body.atelier .me-btn-ivory {
	background: var(--ivory);
	color: #1a140c;
}

body.atelier .me-band,
body.atelier .me-section,
body.atelier .me-section-ivory {
	background: #07080d;
	color: var(--ivory);
}

body.atelier .me-section-mist { background: #10131a; }

body.atelier .me-kicker,
body.atelier .me-eyebrow { color: var(--gold); }

body.atelier .me-head h2,
body.atelier .me-final h2,
body.atelier .me-hero h1,
body.atelier h1,
body.atelier h2,
body.atelier h3 {
	color: var(--ivory);
}

body.atelier .me-purposes,
body.atelier .me-purposes li { border-color: var(--border); }

body.atelier .me-purposes p,
body.atelier .me-steps p,
body.atelier .me-posts p,
body.atelier .me-note,
body.atelier .me-quotes figcaption { color: var(--muted); }

body.atelier .me-bento article,
body.atelier .me-quotes figure {
	background: #10131a;
	border-color: var(--border);
	color: var(--ivory);
}

body.atelier .me-bento-wide { background: #161b27; }

body.atelier .me-filters button {
	color: var(--ivory);
	border-color: var(--border);
	background: transparent;
}

body.atelier .me-filters button[aria-pressed="true"] {
	background: var(--gold);
	color: #1a140c;
	border-color: var(--gold);
}

body.atelier .me-price th,
body.atelier .me-price td { color: var(--ivory); border-color: var(--border); }

body.atelier .me-final { background: #10131a; }

body.atelier .me-footer { background: #05060a; }

body.atelier .me-header {
	top: 18px;
	left: 0;
	right: 0;
	padding: 0 24px;
}

body.atelier .me-bar {
	width: min(1320px, 100%);
	height: 72px;
	padding: 0 12px 0 18px;
	background: rgba(16, 29, 48, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(16px);
	transition: height 200ms ease;
}

body.atelier .me-header.is-scrolled .me-bar { height: 64px; }

body.atelier .me-logo img { height: 42px; }

body.atelier .me-nav > a,
body.atelier .me-drop-btn {
	font-size: 15px;
	font-weight: 500;
	color: #f5f2ea;
}

body.atelier .me-cta {
	height: 48px;
	padding: 0 18px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	background: #c4a477;
	color: #101d30;
	border-color: #c4a477;
}

body.atelier .me-hero {
	width: min(1320px, calc(100% - 80px));
	height: 840px;
	min-height: 0;
	max-height: 900px;
	margin: 0 auto;
	padding: 0;
	grid-template-columns: 45% 55%;
	align-items: center;
	background: transparent;
}

body.atelier .me-hero-copy {
	justify-content: center;
	max-width: none;
	padding: 0 28px 56px 8px;
}

body.atelier .me-hero h1,
body.atelier .me-hero h2 {
	max-width: 650px;
	margin: 0 0 18px;
	font-family: "Instrument Serif", Georgia, serif;
	font-size: clamp(64px, 5.5vw, 94px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.032em;
	color: #f5f2ea;
}

body.atelier .me-hero .me-eyebrow {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: #c4a477;
}

body.atelier .me-lead {
	max-width: 520px;
	margin: 0 0 28px;
	font-size: 19px;
	line-height: 1.6;
	color: #cbd3dd;
}

body.atelier .me-btn,
body.atelier .me-btn-ghost {
	height: 54px;
	padding: 0 26px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	transition: background-color 180ms ease, border-color 180ms ease;
}

body.atelier .me-btn-ghost:hover,
body.atelier .me-cta:hover,
body.atelier .me-btn:hover {
	filter: none;
	box-shadow: none;
}

body.atelier .me-btn:hover { background: #d4b483; }
body.atelier .me-btn-ghost:hover { background: rgba(245, 242, 234, 0.06); }

.at-stage {
	position: relative;
	min-height: 0;
	display: grid;
	place-items: center;
}

.at-stage::before {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(196, 164, 119, 0.16), rgba(80, 110, 140, 0.08) 42%, transparent 70%);
	pointer-events: none;
}

.at-stage canvas {
	position: relative;
	width: min(640px, 100%);
	height: auto;
	aspect-ratio: 1;
	max-width: 100%;
	display: block;
}

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

.at-globe-fallback {
	width: 560px;
	height: 560px;
	max-width: 100%;
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 32%, #3a4c63 0%, #1a2738 46%, #0d1520 72%, #070b12 100%);
	box-shadow: 0 0 80px rgba(196, 164, 119, 0.16);
}

body.atelier:not(.home) #sadrzaj { padding-top: 118px; }

body.atelier .page-hero {
	position: relative;
	padding: 28px 0 12px;
	background: transparent;
	color: var(--ivory);
	overflow: hidden;
}

body.atelier .page-hero.has-photo {
	min-height: 460px;
	display: flex;
	align-items: flex-end;
	margin: 0 20px 12px;
}

body.atelier .page-hero-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.atelier .page-hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 8, 13, 0.92) 0%, rgba(7, 8, 13, 0.55) 55%, rgba(7, 8, 13, 0.25) 100%);
}

body.atelier .page-hero-copy { position: relative; z-index: 1; }

body.atelier .page-hero h1,
body.atelier .at-title {
	font-family: "Instrument Serif", Georgia, serif;
	font-weight: 400;
	font-size: clamp(2.6rem, 5vw, 5rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
	margin: 0 0 12px;
}

body.atelier .eyebrow,
body.atelier .page-hero .lead { color: var(--gold); }

body.atelier .page-hero .lead { color: var(--mist); max-width: 40rem; }

body.atelier .wrap {
	width: min(1360px, calc(100% - 48px));
	margin-inline: auto;
}

body.atelier .prose,
body.atelier .prose p,
body.atelier .prose li { color: var(--ivory); }

body.atelier .prose h2,
body.atelier .prose h3 {
	font-family: "Instrument Serif", Georgia, serif;
	font-weight: 400;
}

body.atelier .prose a { color: var(--gold); }

body.atelier .aside-card,
body.atelier .upit-form,
body.atelier .notice-block,
body.atelier .post-card,
body.atelier .quote {
	background: #10131a;
	color: var(--ivory);
	border: 1px solid var(--border);
	box-shadow: none;
	border-radius: 0;
}

body.atelier .aside-card { padding: 24px; position: sticky; top: 110px; }

body.atelier .layout-side,
body.atelier .contact-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr;
	gap: 28px;
	align-items: start;
	padding-bottom: 72px;
}

body.atelier .switcher ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
body.atelier .switcher a {
	color: var(--ivory);
	background: transparent;
	text-decoration: none;
	border: 1px solid var(--border);
	padding: 8px 12px;
}
body.atelier .switcher a[aria-current="page"] {
	background: var(--gold);
	color: #1a140c;
	border-color: var(--gold);
}

body.atelier .facts div {
	background: #10131a;
	border: 1px solid var(--border);
	color: var(--ivory);
}
body.atelier .facts dt { color: var(--muted); }
body.atelier .facts dd { color: var(--ivory); margin: 0.2rem 0 0; }

body.atelier .gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 8px 0 36px;
}

body.atelier .gallery-grid img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	display: block;
}

body.atelier .gallery h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }

body.atelier .filters { display: flex; flex-wrap: wrap; gap: 8px; }
body.atelier .filters button,
body.atelier .btn {
	font: inherit;
	background: transparent;
	color: var(--ivory);
	border: 1px solid var(--border);
	padding: 10px 14px;
	cursor: pointer;
	text-decoration: none;
}
body.atelier .filters button[aria-pressed="true"],
body.atelier .btn {
	background: var(--gold);
	color: #1a140c;
	border-color: var(--gold);
}
body.atelier .btn-ghost { background: transparent; color: var(--ivory); }

body.atelier table { width: 100%; border-collapse: collapse; color: var(--ivory); }
body.atelier th,
body.atelier td {
	text-align: left;
	padding: 12px 8px;
	border-bottom: 1px solid var(--border);
	vertical-align: top;
}
body.atelier caption {
	text-align: left;
	font-family: "Instrument Serif", Georgia, serif;
	font-size: 2rem;
	padding: 18px 0 8px;
}

body.atelier .quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 72px; }
body.atelier .quote p { font-family: "Instrument Serif", Georgia, serif; font-size: 1.45rem; line-height: 1.25; }

body.atelier .field input,
body.atelier .field textarea {
	width: 100%;
	background: #07080d;
	color: var(--ivory);
	border: 1px solid var(--border);
	padding: 12px;
	font: inherit;
}
body.atelier .field label { display: block; margin-bottom: 6px; }

body.atelier .post-card-title a,
body.atelier .pager a { color: var(--ivory); }
body.atelier .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
body.atelier .photo-card,
body.atelier .card { color: inherit; }

body.atelier .page-stack { padding-bottom: 64px; }

body.atelier .film-frame {
	position: relative;
	padding-top: 56.25%;
	background: #000;
}
body.atelier .film-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 800px) {
	body.atelier .layout-side,
	body.atelier .contact-grid,
	body.atelier .quotes,
	body.atelier .grid-3,
	body.atelier .gallery-grid { grid-template-columns: 1fr; }
	body.atelier .page-hero.has-photo { min-height: 320px; margin: 0 10px; }
	body.atelier .aside-card { position: static; }
	body.atelier .me-header { position: sticky; top: 8px; }
	body.atelier .me-hero {
		width: min(1320px, calc(100% - 32px));
		height: auto;
		max-height: none;
		padding: 8px 0 24px;
		grid-template-columns: 1fr;
	}
	body.atelier .me-hero-copy { order: 1; padding: 8px 4px 0; }
	body.atelier .at-stage { order: 2; }
	body.atelier .at-stage canvas,
	body.atelier .at-globe-fallback { width: 300px; height: 300px; }
	body.atelier:not(.home) #sadrzaj { padding-top: 12px; }
}

body.atelier .me-band { background: #101d30; padding: 96px 0 88px; }
body.atelier .at-dest {
	position: relative;
	overflow: hidden;
	background: #f6f1e7;
	color: #101d30;
	padding: 128px 0 72px;
}
body.atelier .at-dest-globe {
	position: absolute;
	z-index: 0;
	right: -2%;
	top: -6%;
	width: min(46vw, 560px);
	height: auto;
	aspect-ratio: 1;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(circle at 58% 42%, #000 18%, transparent 64%);
	mask-image: radial-gradient(circle at 58% 42%, #000 18%, transparent 64%);
}
body.atelier .at-dest .me-wrap { position: relative; z-index: 1; }
body.atelier .at-dest .at-dest-head {
	display: block;
	max-width: 920px;
	margin-bottom: 40px;
}
body.atelier .at-dest-sub {
	margin: 18px 0 0;
	max-width: 38rem;
	color: #243044;
	font-family: Manrope, "Segoe UI", sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.45;
}
body.atelier .at-dest .me-dest-card {
	border: 0;
	border-radius: 22px;
	min-height: 460px;
}
body.atelier .at-dest .me-dest-card::after {
	background: linear-gradient(180deg, transparent 48%, rgba(8, 14, 26, 0.35) 70%, rgba(6, 10, 18, 0.9) 100%);
}
body.atelier .at-dest .me-dest-americka-viza img { object-position: center 28%; }
body.atelier .at-dest .me-dest-britanska-viza img { object-position: center 42%; }
body.atelier .at-dest .me-dest-kanadska-viza img { object-position: center 24%; }
body.atelier .at-dest .me-dest-australijska-viza img { object-position: center 40%; }
body.atelier .at-dest .me-dest-card img { object-position: center 36%; }
body.atelier .at-dest .me-dest-copy {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	left: 22px;
	right: 18px;
	bottom: 18px;
}
body.atelier .at-dest .me-dest-card .me-dest-name,
body.atelier .at-dest .me-dest-card .me-dest-land,
body.atelier .at-dest .me-dest-card .me-dest-place {
	position: static;
	left: auto;
	right: auto;
	bottom: auto;
	text-shadow: none;
}
body.atelier .at-dest .me-dest-name {
	display: block;
	font-size: clamp(26px, 1.8vw, 34px);
	line-height: 1.02;
	flex: 1;
	min-width: 0;
}
body.atelier .at-dest .me-dest-land,
body.atelier .at-dest .me-dest-place {
	display: block;
	font-size: inherit;
	line-height: 1.05;
}
body.atelier .at-dest .me-dest-land::after { content: " —"; }
body.atelier .at-dest .me-dest-name::after { display: none; }
body.atelier .at-dest .me-dest-arrow {
	width: 42px;
	height: 42px;
	flex: none;
	border: 1.5px solid #c4a477;
	border-radius: 50%;
	position: relative;
	background: transparent;
}
body.atelier .at-dest .me-dest-arrow::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 14px;
	width: 8px;
	height: 8px;
	border-top: 1.5px solid #c4a477;
	border-right: 1.5px solid #c4a477;
	transform: rotate(45deg);
}
body.atelier .me-section { background: #07080d; padding: 96px 0; }
body.atelier .me-section-mist { background: #17283f; }
body.atelier .me-section-ivory { background: #101d30; }
body.atelier .me-final { background: #17283f; padding: 112px 0; }

body.atelier .me-band .me-head h2,
body.atelier .me-section .me-head h2,
body.atelier .me-final h2 {
	font-family: "Instrument Serif", Georgia, serif;
	font-weight: 400;
	font-size: clamp(40px, 4.2vw, 64px);
	line-height: 1.04;
	letter-spacing: -0.03em;
	max-width: 18ch;
	color: #f5f2ea;
}
body.atelier .me-band.at-dest .at-dest-head h1 {
	color: #101d30;
	max-width: 7.6em;
	font-family: "Instrument Serif", Georgia, serif;
	font-weight: 400;
	font-size: clamp(52px, 5vw, 76px);
	line-height: 0.98;
	letter-spacing: -0.035em;
}
body.atelier .me-band.at-dest .at-dest-head h1::before {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	margin-bottom: 22px;
	background: #c4a477;
}

body.atelier .me-dest { gap: 16px; }
body.atelier .me-dest-card {
	min-height: 520px;
	color: #f5f2ea;
	border: 1px solid rgba(255, 255, 255, 0.1);
}
body.atelier .me-dest-card img { transition: transform 280ms ease; }
body.atelier .me-dest-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 8, 13, 0.05) 20%, rgba(7, 8, 13, 0.88) 100%);
}
body.atelier .me-dest-copy {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 22px;
	z-index: 1;
	display: grid;
	gap: 10px;
}
body.atelier .me-dest-card .me-dest-name,
body.atelier .me-dest-card .me-dest-lead {
	position: static;
	left: auto;
	bottom: auto;
	text-shadow: none;
}
body.atelier .me-dest-name {
	font-family: "Instrument Serif", Georgia, serif;
	font-size: clamp(32px, 2.4vw, 44px);
	line-height: 1;
}
body.atelier .me-dest-name::after {
	content: "";
	display: block;
	width: 36px;
	height: 1px;
	margin-top: 12px;
	background: #c4a477;
}
body.atelier .me-dest-lead {
	font-family: Manrope, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #cbd3dd;
}
body.atelier .me-dest-card:hover img { transform: scale(1.04); }

body.atelier .me-purposes h3,
body.atelier .me-steps h3,
body.atelier .me-bento h3,
body.atelier .me-posts h3 {
	font-family: "Instrument Serif", Georgia, serif;
	font-weight: 400;
	font-size: clamp(28px, 2vw, 36px);
	color: #f5f2ea;
}
body.atelier .me-steps { gap: 32px; }
body.atelier .me-steps li { border-top: 1px solid rgba(196, 164, 119, 0.45); padding-top: 18px; }
body.atelier .me-steps span {
	font-family: "Instrument Serif", Georgia, serif;
	font-size: 42px;
	color: #c4a477;
}
body.atelier .me-bento article,
body.atelier .me-quotes figure,
body.atelier .me-posts article {
	padding: 32px;
}
body.atelier .me-quotes p {
	font-size: clamp(22px, 1.6vw, 28px);
	line-height: 1.3;
	color: #f5f2ea;
}
body.atelier .me-posts article { border-top: 1px solid rgba(255, 255, 255, 0.12); }
body.atelier .me-price {
	background: #101d30;
	padding: 8px 28px 12px;
	margin-bottom: 16px;
}

@media (max-width: 800px) {
	body.atelier .me-band,
	body.atelier .me-section,
	body.atelier .me-final { padding: 64px 0; }
	body.atelier .me-dest-card { min-height: 360px; }
	body.atelier .at-dest { padding: 112px 0 48px; }
	body.atelier .me-band.at-dest .at-dest-head h1 { font-size: clamp(40px, 11vw, 52px); max-width: 14ch; }
	body.atelier .at-dest-globe {
		width: 280px;
		top: -80px;
		right: -90px;
		-webkit-mask-image: radial-gradient(circle at 60% 50%, #000 34%, transparent 72%);
		mask-image: radial-gradient(circle at 60% 50%, #000 34%, transparent 72%);
	}
	body.atelier .at-dest .me-dest-card { min-height: 360px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	body.atelier *,
	body.atelier *::before,
	body.atelier *::after {
		animation: none !important;
		transition: none !important;
	}
}
