/* ==========================================================================
   HappyDays Golden - Main Stylesheet
   Design System: Light/Golden Warm Travel Theme
   Typography: Playfair Display (headings) + Inter (body)
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
	/* Gold & Warm Palette */
	--hd-gold:           #B8860B;
	--hd-gold-light:     #D4A843;
	--hd-gold-lighter:   #F0D68A;
	--hd-gold-pale:      #FBF3DB;
	--hd-gold-dark:      #8B6508;
	--hd-gold-accent:    #A16207;

	/* Neutrals */
	--hd-cream:          #FFFBF0;
	--hd-cream-dark:     #FFF5E1;
	--hd-white:          #FFFFFF;
	--hd-bg:             #FDFAF3;
	--hd-card:           #FFFFFF;
	--hd-border:         #F0E6D0;
	--hd-border-dark:    #DDD0B5;

	/* Text */
	--hd-text-primary:   #2D2A26;
	--hd-text-secondary: #5C5647;
	--hd-text-muted:     #8A8271;
	--hd-text-light:     #B0A994;

	/* Accents */
	--hd-accent-warm:    #C7702E;
	--hd-accent-sage:    #6B7F5E;
	--hd-accent-sky:     #4A7C9B;
	--hd-destructive:    #C53030;
	--hd-success:        #2F7A3E;

	/* Shadows */
	--hd-shadow-sm:      0 1px 3px rgba(139, 101, 8, 0.08);
	--hd-shadow-md:      0 4px 12px rgba(139, 101, 8, 0.1);
	--hd-shadow-lg:      0 8px 30px rgba(139, 101, 8, 0.12);
	--hd-shadow-xl:      0 16px 50px rgba(139, 101, 8, 0.15);
	--hd-shadow-gold:    0 4px 20px rgba(184, 134, 11, 0.2);

	/* Typography */
	--hd-font-heading:   'Playfair Display', Georgia, 'Times New Roman', serif;
	--hd-font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Spacing (8px base) */
	--hd-space-xs:       4px;
	--hd-space-sm:       8px;
	--hd-space-md:       16px;
	--hd-space-lg:       24px;
	--hd-space-xl:       32px;
	--hd-space-2xl:      48px;
	--hd-space-3xl:      64px;
	--hd-space-4xl:      96px;

	/* Border Radius */
	--hd-radius-sm:      6px;
	--hd-radius-md:      10px;
	--hd-radius-lg:      16px;
	--hd-radius-xl:      24px;
	--hd-radius-full:    9999px;

	/* Transitions */
	--hd-transition:     all 0.25s ease;
	--hd-transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

	/* Enhanced easing */
	--hd-ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
	--hd-ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

	/* Container */
	--hd-container:      1240px;
	--hd-container-wide: 1440px;
	--hd-gutter:         20px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--hd-font-body);
	font-weight: 400;
	line-height: 1.6;
	color: var(--hd-text-primary);
	background-color: var(--hd-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--hd-gold-dark);
	text-decoration: none;
	transition: var(--hd-transition);
}

a:hover {
	color: var(--hd-gold);
}

a:focus-visible {
	outline: 2px solid var(--hd-gold);
	outline-offset: 2px;
	border-radius: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--hd-font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--hd-text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.wp-block-post-title {
	font-family: var(--hd-font-heading);
	font-weight: 700;
}

p {
	margin-bottom: var(--hd-space-md);
}

.text-gold { color: var(--hd-gold); }
.text-muted { color: var(--hd-text-muted); }

.wp-block-image img {
	border-radius: var(--hd-radius-sm);
}

blockquote,
.wp-block-quote {
	margin: var(--hd-space-lg) 0;
	padding: var(--hd-space-md) var(--hd-space-lg);
	border-left: 4px solid var(--hd-gold);
	background: var(--hd-gold-pale);
	border-radius: 0 var(--hd-radius-sm) var(--hd-radius-sm) 0;
	font-style: italic;
	color: var(--hd-text-secondary);
}
blockquote p,
.wp-block-quote p {
	margin: 0 !important;
}
blockquote cite,
.wp-block-quote cite,
.wp-block-quote .wp-block-quote__citation {
	display: block;
	margin-top: var(--hd-space-sm);
	padding-top: 0;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 600;
	color: var(--hd-gold-dark);
}

/* ---------- Container ---------- */
.container {
	width: 100%;
	max-width: var(--hd-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--hd-gutter);
	padding-right: var(--hd-gutter);
}

.container--wide {
	max-width: var(--hd-container-wide);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--hd-space-sm);
	padding: 12px 28px;
	font-family: var(--hd-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	border: 2px solid transparent;
	border-radius: var(--hd-radius-full);
	cursor: pointer;
	transition: var(--hd-transition);
	text-decoration: none;
	white-space: nowrap;
}

.btn:focus-visible {
	outline: 2px solid var(--hd-gold);
	outline-offset: 3px;
}

.btn--primary {
	background: linear-gradient(135deg, var(--hd-gold), var(--hd-gold-dark));
	color: var(--hd-white);
	box-shadow: var(--hd-shadow-gold);
}

.btn--primary:hover {
	background: linear-gradient(135deg, var(--hd-gold-light), var(--hd-gold));
	color: var(--hd-white);
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 25px rgba(184, 134, 11, 0.35),
	            0 0 40px rgba(184, 134, 11, 0.12);
}

.btn--primary:active {
	transform: translateY(0) scale(0.98);
	box-shadow: 0 2px 10px rgba(184, 134, 11, 0.2);
	transition-duration: 0.1s;
}

.btn--secondary {
	background: transparent;
	color: var(--hd-gold-dark);
	border-color: var(--hd-gold);
}

.btn--secondary:hover {
	background: var(--hd-gold);
	color: var(--hd-white);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(184, 134, 11, 0.2);
}

.btn--white {
	background: var(--hd-white);
	color: var(--hd-gold-dark);
	box-shadow: var(--hd-shadow-md);
}

.btn--white:hover {
	background: var(--hd-gold-pale);
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 25px rgba(139, 101, 8, 0.15);
}

.btn--lg {
	padding: 16px 36px;
	font-size: 1.0625rem;
}

/* Block editor button variants (mirrors .btn--primary / .btn--secondary for wp-block-button) */
.wp-block-button.hd-btn-primary .wp-block-button__link {
	background: linear-gradient(135deg, var(--hd-gold), var(--hd-gold-dark));
	color: var(--hd-white);
	border: none;
	border-radius: var(--hd-radius-full);
	padding: 16px 36px;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: var(--hd-transition);
	box-shadow: var(--hd-shadow-gold);
}
.wp-block-button.hd-btn-primary .wp-block-button__link:hover {
	background: linear-gradient(135deg, var(--hd-gold-light), var(--hd-gold));
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 25px rgba(184, 134, 11, 0.35),
	            0 0 40px rgba(184, 134, 11, 0.12);
}
.wp-block-button.hd-btn-primary .wp-block-button__link:active {
	transform: translateY(0) scale(0.98);
	box-shadow: 0 2px 10px rgba(184, 134, 11, 0.2);
	transition-duration: 0.1s;
}
.wp-block-button.hd-btn-secondary .wp-block-button__link {
	background: transparent;
	color: var(--hd-gold-dark);
	border: 2px solid var(--hd-gold);
	border-radius: var(--hd-radius-full);
	padding: 14px 36px;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	transition: var(--hd-transition);
}
.wp-block-button.hd-btn-secondary .wp-block-button__link:hover {
	background: var(--hd-gold);
	color: var(--hd-white);
}

/* On gold backgrounds, flip to white/outline buttons */
.cta-banner--gold .wp-block-button.hd-btn-primary .wp-block-button__link {
	background: var(--hd-white);
	color: var(--hd-gold-dark);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.cta-banner--gold .wp-block-button.hd-btn-primary .wp-block-button__link:hover {
	background: var(--hd-cream);
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2),
	            0 0 30px rgba(255, 255, 255, 0.15);
}
.cta-banner--gold .wp-block-button.hd-btn-secondary .wp-block-button__link {
	background: transparent;
	color: var(--hd-white);
	border-color: rgba(255, 255, 255, 0.5);
}
.cta-banner--gold .wp-block-button.hd-btn-secondary .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: var(--hd-white);
	color: var(--hd-white);
}

/* ---------- Header / Navigation ---------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	transition: var(--hd-transition-slow);
	padding: var(--hd-space-md) 0;
}

.site-header--transparent {
	background: transparent;
}

.site-header--scrolled {
	background: rgba(255, 251, 240, 0.95);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 8px rgba(139, 101, 8, 0.08);
	padding: var(--hd-space-sm) 0;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header__logo {
	display: flex;
	align-items: center;
	gap: var(--hd-space-sm);
}

.header__logo-text {
	font-family: var(--hd-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--hd-text-primary);
	letter-spacing: -0.01em;
}

.site-header--transparent .header__logo .header__logo-text,
.site-header--transparent .header__logo-text {
	color: var(--hd-white);
}

.site-header--scrolled .header__logo .header__logo-text,
.site-header--scrolled .header__logo-text {
	color: var(--hd-text-primary);
}

.site-header--transparent .nav-toggle__bar {
	background: var(--hd-white);
}

.header__logo-accent {
	color: var(--hd-gold-light);
}

/* Navigation */
.nav {
	display: flex;
	align-items: center;
	gap: var(--hd-space-xs);
}

.nav__list {
	display: flex;
	list-style: none;
	gap: var(--hd-space-xs);
	align-items: center;
}

.nav__link {
	display: block;
	padding: 8px 16px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--hd-text-secondary);
	border-radius: var(--hd-radius-full);
	transition: var(--hd-transition);
}

.site-header--transparent .nav__list .nav__link,
.site-header--transparent a.nav__link {
	color: rgba(255, 255, 255, 0.9);
}

.site-header--scrolled .nav__list .nav__link,
.site-header--scrolled a.nav__link {
	color: var(--hd-text-secondary);
}

.nav__link:hover,
.nav__item--active .nav__link {
	color: var(--hd-gold);
	background: var(--hd-gold-pale);
}

.site-header--transparent .nav__list .nav__link:hover,
.site-header--transparent .nav__item--active .nav__link,
.site-header--transparent .current-menu-item .nav__link {
	color: var(--hd-gold-light);
	background: rgba(255, 255, 255, 0.12);
}

/* Ensure Broneeri button stays visible in transparent mode */
.site-header--transparent .nav__cta .btn--primary {
	background: linear-gradient(135deg, var(--hd-gold), var(--hd-gold-dark));
	color: var(--hd-white);
}

/* Language switcher */
.nav__lang {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: var(--hd-space-sm);
	border: 1px solid var(--hd-border);
	border-radius: var(--hd-radius-full);
	overflow: hidden;
}

.nav__lang-item {
	padding: 5px 10px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	color: var(--hd-text-muted);
	transition: var(--hd-transition);
}

.nav__lang-item--active {
	background: var(--hd-gold);
	color: var(--hd-white);
}

.nav__lang-item:hover:not(.nav__lang-item--active) {
	color: var(--hd-gold-dark);
	background: var(--hd-gold-pale);
}

.nav__lang-item:focus-visible {
	outline: 2px solid var(--hd-gold);
	outline-offset: -2px;
}

.site-header--transparent .nav__lang {
	border-color: rgba(255, 255, 255, 0.25);
}

.site-header--transparent .nav__lang-item {
	color: rgba(255, 255, 255, 0.7);
}

.site-header--transparent .nav__lang-item--active {
	background: var(--hd-gold);
	color: var(--hd-white);
}

.site-header--transparent .nav__lang-item:hover:not(.nav__lang-item--active) {
	color: var(--hd-white);
	background: rgba(255, 255, 255, 0.12);
}

.nav__cta {
	margin-left: var(--hd-space-sm);
}

/* Mobile toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: var(--hd-space-sm);
	z-index: 1001;
}

.nav-toggle__bar {
	width: 24px;
	height: 2px;
	background: var(--hd-text-primary);
	border-radius: 2px;
	transition: var(--hd-transition);
}

.site-header--transparent .nav-toggle__bar {
	background: var(--hd-white);
}

/* ---------- Hero Section ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: #2D2A26;
}

/* Ken Burns background image */
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
}

.hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: kenBurns 25s ease-in-out infinite alternate;
	will-change: transform;
}

@keyframes kenBurns {
	0%   { transform: scale(1) translate(0, 0); }
	100% { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(45, 42, 38, 0.5) 0%,
		rgba(45, 42, 38, 0.25) 40%,
		rgba(45, 42, 38, 0.7) 100%
	);
	z-index: 2;
}

/* Floating gold particles */
.hero__particles {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	overflow: hidden;
}

.hero__particle {
	position: absolute;
	width: 3px;
	height: 3px;
	background: radial-gradient(circle, var(--hd-gold-lighter), transparent);
	border-radius: 50%;
	opacity: 0;
	animation: particleFloat linear infinite;
}

.hero__particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.hero__particle:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; width: 2px; height: 2px; }
.hero__particle:nth-child(3) { left: 40%; animation-duration: 11s; animation-delay: 4s; }
.hero__particle:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; width: 4px; height: 4px; }
.hero__particle:nth-child(5) { left: 70%; animation-duration: 13s; animation-delay: 3s; width: 2px; height: 2px; }
.hero__particle:nth-child(6) { left: 85%; animation-duration: 16s; animation-delay: 5s; }
.hero__particle:nth-child(7) { left: 33%; animation-duration: 10s; animation-delay: 6s; width: 4px; height: 4px; }
.hero__particle:nth-child(8) { left: 65%; animation-duration: 12s; animation-delay: 8s; }

@keyframes particleFloat {
	0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
	10%  { opacity: 0.6; }
	90%  { opacity: 0.6; }
	100% { transform: translateY(-20vh) rotate(180deg); opacity: 0; }
}

/* Gold decorative frame */
.hero__gold-frame {
	position: absolute;
	inset: 16px 16px 40px;
	z-index: 3;
	pointer-events: none;
}

.hero__gold-corner {
	position: absolute;
	width: 120px;
	height: 120px;
	opacity: 0;
	animation: cornerFadeIn 1.2s ease forwards;
}

.hero__gold-corner--tl { top: 0; left: 0; animation-delay: 0.5s; }
.hero__gold-corner--tr { top: 0; right: 0; animation-delay: 0.7s; }
.hero__gold-corner--bl { bottom: 0; left: 0; animation-delay: 0.9s; }
.hero__gold-corner--br { bottom: 0; right: 0; animation-delay: 1.1s; }

.hero__gold-corner svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 0 6px rgba(212, 168, 67, 0.3));
}

@keyframes cornerFadeIn {
	from { opacity: 0; transform: scale(0.8); }
	to   { opacity: 0.7; transform: scale(1); }
}

/* Connecting gold lines between corners */
.hero__gold-line {
	position: absolute;
	left: 120px;
	right: 120px;
	height: 1px;
	background: linear-gradient(90deg, var(--hd-gold-light), transparent 15%, transparent 85%, var(--hd-gold-light));
	opacity: 0;
	animation: lineFadeIn 1.5s ease 1.3s forwards;
}

.hero__gold-line--top { top: 0; }
.hero__gold-line--bottom { bottom: 0; }

@keyframes lineFadeIn {
	from { opacity: 0; }
	to   { opacity: 0.25; }
}

/* Hero content entrance animations */
.hero__content {
	position: relative;
	z-index: 4;
	text-align: center;
	padding: var(--hd-space-4xl) var(--hd-gutter);
	max-width: 800px;
}

.hero__badge,
.hero__title,
.hero__ornament,
.hero__subtitle,
.hero__actions {
	opacity: 0;
	transform: translateY(20px);
	animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__badge     { animation-delay: 0.3s; }
.hero__title     { animation-delay: 0.5s; }
.hero__ornament  { animation-delay: 0.7s; }
.hero__subtitle  { animation-delay: 0.9s; }
.hero__actions   { animation-delay: 1.1s; }

@keyframes heroEntrance {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--hd-space-sm);
	padding: 6px 20px;
	background: rgba(184, 134, 11, 0.2);
	border: 1px solid rgba(212, 168, 67, 0.4);
	border-radius: var(--hd-radius-full);
	color: var(--hd-gold-lighter);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: var(--hd-space-lg);
	backdrop-filter: blur(4px);
}

.hero__title {
	font-family: var(--hd-font-heading);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 800;
	color: var(--hd-white);
	line-height: 1.1;
	margin-bottom: var(--hd-space-md);
}

.hero__title-gold {
	font-style: italic;
	background: linear-gradient(135deg, var(--hd-gold-lighter), var(--hd-gold-light), var(--hd-gold-lighter));
	background-size: 200% auto;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
	           goldShimmer 4s ease 1.5s infinite;
}

@keyframes goldShimmer {
	0%   { background-position: 0% center; }
	50%  { background-position: 200% center; }
	100% { background-position: 0% center; }
}

/* Gold ornamental divider in hero */
.hero__ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--hd-space-sm);
	margin-bottom: var(--hd-space-lg);
	color: var(--hd-gold-light);
}

.hero__ornament-line {
	display: block;
	width: 50px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--hd-gold-light), transparent);
}

.hero__subtitle {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.7;
	margin-bottom: var(--hd-space-xl);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.hero__actions {
	display: flex;
	gap: var(--hd-space-md);
	justify-content: center;
	flex-wrap: wrap;
}

.hero__scroll-hint {
	position: absolute;
	bottom: var(--hd-space-xl);
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--hd-space-sm);
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	animation: bounceDown 2s ease infinite;
}

.hero__scroll-line {
	width: 1px;
	height: 40px;
	background: linear-gradient(to bottom, rgba(212, 168, 67, 0.6), transparent);
}

@keyframes bounceDown {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Gold Diamond Divider ---------- */
.hd-archive__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: var(--hd-space-lg) 0;
}

.hd-archive__divider-wing {
	flex: 1;
	max-width: 200px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.4));
}

.hd-archive__divider-wing:last-child {
	background: linear-gradient(90deg, rgba(212, 168, 67, 0.4), transparent);
}

.hd-archive__divider-diamond {
	width: 8px;
	height: 8px;
	background: var(--hd-gold-light);
	transform: rotate(45deg);
	flex-shrink: 0;
	box-shadow: 0 0 12px rgba(212, 168, 67, 0.4);
	animation: diamondPulse 3s ease-in-out infinite;
}

@keyframes diamondPulse {
	0%, 100% { box-shadow: 0 0 12px rgba(212, 168, 67, 0.4); }
	50%      { box-shadow: 0 0 24px rgba(212, 168, 67, 0.7), 0 0 6px rgba(212, 168, 67, 0.9); }
}

/* ---------- Section Layout ---------- */
.front-page-content {
	padding-left: var(--hd-gutter);
	padding-right: var(--hd-gutter);
}

.section__intro {
	max-width: 700px;
	margin: var(--hd-space-2xl) auto var(--hd-space-xl);
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--hd-text-secondary);
}

.section {
	padding: var(--hd-space-4xl) var(--hd-gutter);
}

.section--cream {
	background:
		radial-gradient(ellipse at 50% 0%, rgba(184, 134, 11, 0.025) 0%, transparent 50%),
		var(--hd-cream);
}

.section--white {
	background: var(--hd-white);
}

.section--gold-pale {
	background: var(--hd-gold-pale);
}

.section__header {
	text-align: center;
	margin-bottom: var(--hd-space-3xl);
}

.section__overline {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hd-gold);
	margin-bottom: var(--hd-space-sm);
}

.section__title {
	margin-bottom: var(--hd-space-md);
}

.section__description {
	font-size: 1.0625rem;
	color: var(--hd-text-secondary);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Trip Type Cards Grid ---------- */
.trip-types-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--hd-space-lg);
}

/* Magazine layout: first card takes left column spanning 2 rows */
.trip-types-grid--magazine {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	gap: var(--hd-space-lg);
}

.trip-types-grid--magazine .trip-type-overlay--featured {
	grid-row: 1 / 3;
	aspect-ratio: auto;
	min-height: 500px;
}

.trip-types-grid--magazine .trip-type-overlay:not(.trip-type-overlay--featured) {
	aspect-ratio: 16 / 9;
}

/* ---------- Trip Cards (Tripzzy Posts) ---------- */
.trips-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--hd-space-lg);
}

.trip-card {
	background: var(--hd-card);
	border-radius: var(--hd-radius-lg);
	overflow: hidden;
	box-shadow: var(--hd-shadow-sm);
	transition: var(--hd-transition-slow);
	border: 1px solid var(--hd-border);
}

.trip-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--hd-shadow-lg), 0 0 40px rgba(184, 134, 11, 0.08);
	border-color: var(--hd-gold-lighter);
}

.trip-card__image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.trip-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.trip-card:hover .trip-card__image img {
	transform: scale(1.05);
}

.trip-card__badge {
	position: absolute;
	top: var(--hd-space-md);
	left: var(--hd-space-md);
	padding: 4px 14px;
	background: var(--hd-gold);
	color: var(--hd-white);
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: var(--hd-radius-full);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.trip-card__wishlist {
	position: absolute;
	top: var(--hd-space-md);
	right: var(--hd-space-md);
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(4px);
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--hd-transition);
}

.trip-card__wishlist:hover {
	background: var(--hd-white);
	transform: scale(1.1);
}

.trip-card__wishlist:focus-visible {
	outline: 2px solid var(--hd-gold);
	outline-offset: 2px;
}

.trip-card__wishlist svg {
	width: 18px;
	height: 18px;
	color: var(--hd-text-muted);
}

.trip-card__body {
	padding: var(--hd-space-lg);
}

.trip-card__meta {
	display: flex;
	align-items: center;
	gap: var(--hd-space-md);
	margin-bottom: var(--hd-space-sm);
	font-size: 0.8125rem;
	color: var(--hd-text-muted);
}

.trip-card__meta-item {
	display: flex;
	align-items: center;
	gap: 4px;
}

.trip-card__meta-item svg {
	width: 14px;
	height: 14px;
	color: var(--hd-gold);
}

.trip-card__title {
	font-family: var(--hd-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: var(--hd-space-sm);
}

.trip-card__title a {
	color: var(--hd-text-primary);
}

.trip-card__title a:hover {
	color: var(--hd-gold);
}

.trip-card__excerpt {
	font-size: 0.9375rem;
	color: var(--hd-text-secondary);
	line-height: 1.6;
	margin-bottom: var(--hd-space-md);
}

.trip-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: var(--hd-space-md);
	border-top: 1px solid var(--hd-border);
}

.trip-card__price {
	font-size: 0.8125rem;
	color: var(--hd-text-muted);
}

.trip-card__price strong {
	display: block;
	font-family: var(--hd-font-body);
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: -0.01em;
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--hd-gold-dark);
}

.trip-card__book {
	padding: 8px 20px;
	font-size: 0.8125rem;
}

/* ---------- Trip Type Cards (Overlay Style) ---------- */
.trip-type-overlay {
	position: relative;
	display: block;
	border-radius: var(--hd-radius-lg);
	overflow: hidden;
	aspect-ratio: 5 / 4;
	text-decoration: none;
	color: var(--hd-white);
	background: #2D2A26;
	transition: var(--hd-transition-slow);
}

.trip-type-overlay:hover {
	transform: translateY(-8px);
	box-shadow: var(--hd-shadow-xl), 0 0 50px rgba(184, 134, 11, 0.12);
	color: var(--hd-white);
}

.trip-type-overlay:focus-visible {
	outline: 2px solid var(--hd-gold-light);
	outline-offset: 2px;
}

.trip-type-overlay__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.trip-type-overlay:hover .trip-type-overlay__img {
	transform: scale(1.06);
}

.trip-type-overlay__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		0deg,
		rgba(45, 42, 38, 0.95) 0%,
		rgba(45, 42, 38, 0.75) 30%,
		rgba(45, 42, 38, 0.4) 55%,
		rgba(45, 42, 38, 0.15) 80%,
		rgba(45, 42, 38, 0.05) 100%
	);
	z-index: 2;
}

.trip-type-overlay__count {
	position: absolute;
	top: var(--hd-space-md);
	right: var(--hd-space-md);
	z-index: 3;
	padding: 4px 12px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(8px);
	border-radius: var(--hd-radius-full);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--hd-gold-dark);
}

.trip-type-overlay__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: var(--hd-space-xl);
}

.trip-type-overlay__title {
	font-family: var(--hd-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--hd-white);
	margin: 0 0 var(--hd-space-xs);
	line-height: 1.2;
}

.trip-type-overlay__desc {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.5;
	margin: 0 0 var(--hd-space-md);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.trip-type-overlay__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--hd-gold-light);
	transition: var(--hd-transition);
}

.trip-type-overlay:hover .trip-type-overlay__cta {
	gap: 10px;
}

/* Gold accent line on trip type cards */
.trip-type-overlay__gold-accent {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--hd-gold-light), var(--hd-gold), var(--hd-gold-light), transparent);
	z-index: 4;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.trip-type-overlay:hover .trip-type-overlay__gold-accent {
	opacity: 1;
}

/* ---------- CTA / Banner ---------- */
.section--cta-gold {
	background: var(--hd-cream);
}

.cta-banner {
	position: relative;
	border-radius: var(--hd-radius-xl);
	overflow: hidden;
	background: linear-gradient(135deg, #2D2A26, #4A3F2F);
	padding: var(--hd-space-4xl) var(--hd-space-2xl);
	text-align: center;
}

.cta-banner--gold {
	background: linear-gradient(135deg, var(--hd-gold-dark), var(--hd-gold), var(--hd-gold-dark));
	box-shadow: 0 8px 40px rgba(184, 134, 11, 0.25);
}

.cta-banner__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.1;
	background-image: radial-gradient(circle at 20% 50%, var(--hd-white) 1px, transparent 1px),
	                   radial-gradient(circle at 80% 50%, var(--hd-white) 1px, transparent 1px);
	background-size: 60px 60px;
}

.cta-banner__gold-glow {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
	pointer-events: none;
}

.cta-banner__content {
	position: relative;
	z-index: 2;
	max-width: 600px;
	margin: 0 auto;
}

/* CTA ornamental divider */
.cta-banner__ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--hd-space-sm);
	margin-bottom: var(--hd-space-lg);
	color: rgba(255, 255, 255, 0.7);
}

.cta-banner__ornament-line {
	display: block;
	width: 40px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.cta-banner__title {
	font-family: var(--hd-font-heading);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	color: var(--hd-white);
	margin-bottom: var(--hd-space-md);
}

.cta-banner--gold .cta-banner__title em {
	font-style: italic;
	color: var(--hd-white);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-banner__text {
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: var(--hd-space-xl);
	font-size: 1.0625rem;
}

/* Gold CTA button overrides */
.cta-banner--gold .cta-banner__btn-primary {
	background: var(--hd-white);
	color: var(--hd-gold-dark);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner--gold .cta-banner__btn-primary:hover {
	background: var(--hd-cream);
	color: var(--hd-gold-dark);
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.cta-banner--gold .cta-banner__btn-secondary {
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--hd-white);
}

.cta-banner--gold .cta-banner__btn-secondary:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: var(--hd-white);
	color: var(--hd-white);
}

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	background: var(--hd-text-primary);
	color: rgba(255, 255, 255, 0.7);
	padding: var(--hd-space-3xl) 0 var(--hd-space-xl);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: var(--hd-space-2xl);
	margin-bottom: var(--hd-space-2xl);
}

.footer__logo-text {
	color: var(--hd-white);
	margin-bottom: var(--hd-space-md);
	display: block;
}

.footer__brand-desc {
	font-size: 0.9375rem;
	line-height: 1.7;
	margin-bottom: var(--hd-space-lg);
}

.footer__social {
	display: flex;
	gap: var(--hd-space-sm);
}

.footer__social-link {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.6);
	transition: var(--hd-transition);
}

.footer__social-link:hover {
	background: var(--hd-gold);
	color: var(--hd-white);
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.footer__social-link:focus-visible {
	outline: 2px solid var(--hd-gold-light);
	outline-offset: 2px;
}

.footer__social-link svg {
	width: 18px;
	height: 18px;
}

.footer__heading {
	font-family: var(--hd-font-heading);
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--hd-white);
	margin-bottom: var(--hd-space-lg);
}

.footer__links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--hd-space-sm);
}

.footer__links a {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9375rem;
	transition: var(--hd-transition);
}

.footer__links a:hover {
	color: var(--hd-gold-light);
}

.footer__links a:focus-visible {
	outline: 2px solid var(--hd-gold-light);
	outline-offset: 2px;
	border-radius: 2px;
}

.footer__contact-item {
	display: flex;
	align-items: center;
	gap: var(--hd-space-sm);
	margin-bottom: var(--hd-space-sm);
	font-size: 0.9375rem;
}

.footer__contact-item svg {
	width: 16px;
	height: 16px;
	color: var(--hd-gold);
	flex-shrink: 0;
}

.footer__bottom {
	padding-top: var(--hd-space-xl);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.8125rem;
}

/* ---------- Inner Page Top Spacing (for fixed header) ---------- */
/* Inner pages without a hero: room for the fixed header */
body.no-hero main {
	padding-top: 120px;
}

/* ---------- Bank Account Details Card (shared: checkout + thank you) ---------- */
.hd-bank-details {
	margin-top: var(--hd-space-md);
}

.hd-bank-details__title {
	font-family: var(--hd-font-heading);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 var(--hd-space-md);
}

.hd-bank-details__card {
	background: var(--hd-white);
	border: 1px solid var(--hd-border);
	border-radius: var(--hd-radius-md);
	overflow: hidden;
	margin-bottom: var(--hd-space-sm);
}

.hd-bank-details__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px var(--hd-space-md);
	border-bottom: 1px solid var(--hd-border);
}

.hd-bank-details__row:last-child {
	border-bottom: none;
}

.hd-bank-details__label {
	font-size: 0.8125rem;
	color: var(--hd-text-muted);
	font-weight: 500;
}

.hd-bank-details__value {
	font-weight: 600;
	color: var(--hd-text-primary);
	text-align: right;
}

.hd-bank-details__value--mono {
	font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
	letter-spacing: 0.03em;
	font-size: 0.9375rem;
}

/* Hide ALL bank detail tables on checkout page */
body.tripzzy-checkout-page table,
body.tripzzy-checkout-page .tripzzy-bank-transfer-details,
.tripzzy-payment-options-wrapper table,
.tripzzy-form-field-wrapper table {
	display: none !important;
}

/* ---------- Utility: Gold Divider ---------- */
.gold-divider {
	position: relative;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--hd-gold), var(--hd-gold-light));
	border-radius: 2px;
	margin: var(--hd-space-md) auto;
	overflow: hidden;
}

/* ---------- Animations (scroll reveal) ---------- */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.hero__scroll-hint {
		animation: none;
	}
	.hero__title-gold {
		animation: none;
		background-size: 100% auto;
	}
	.hero__bg-img {
		animation: none;
	}
	.hero__particle {
		animation: none;
		display: none;
	}
	.hero__badge,
	.hero__title,
	.hero__ornament,
	.hero__subtitle,
	.hero__actions {
		opacity: 1;
		transform: none;
		animation: none;
	}
	.hero__gold-corner {
		opacity: 0.7;
		animation: none;
	}
	.hero__gold-line {
		opacity: 0.25;
		animation: none;
	}
	.hd-archive__divider-diamond {
		animation: none;
	}
	.cta-banner--gold::after,
	.gold-divider::after {
		animation: none;
		display: none;
	}
	.trip-type-overlay::after {
		display: none;
	}
	html {
		scroll-behavior: auto;
	}
}

/* ---------- Gold Shimmer & Glow Effects ---------- */

/* Gold light sweep on card hover */
.trip-type-overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 40%,
		rgba(240, 214, 138, 0.06) 44%,
		rgba(212, 168, 67, 0.15) 50%,
		rgba(240, 214, 138, 0.06) 56%,
		transparent 60%
	);
	z-index: 5;
	opacity: 0;
	transform: translateX(-120%);
	transition: transform 0.8s var(--hd-ease-out-expo), opacity 0.15s ease;
	pointer-events: none;
}

.trip-type-overlay:hover::after {
	opacity: 1;
	transform: translateX(120%);
}

/* CTA banner shimmer sweep */
.cta-banner--gold::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 30%,
		rgba(255, 255, 255, 0.04) 42%,
		rgba(255, 255, 255, 0.1) 50%,
		rgba(255, 255, 255, 0.04) 58%,
		transparent 70%
	);
	z-index: 1;
	animation: ctaShimmer 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
	pointer-events: none;
}

@keyframes ctaShimmer {
	0%   { transform: translateX(-150%); }
	35%  { transform: translateX(150%); }
	100% { transform: translateX(150%); }
}

/* Gold divider shimmer */
.gold-divider::after {
	content: '';
	position: absolute;
	top: 0;
	left: -50%;
	width: 50%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	animation: dividerShimmer 4s ease-in-out infinite;
}

@keyframes dividerShimmer {
	0%   { left: -50%; }
	35%  { left: 150%; }
	100% { left: 150%; }
}

/* ==========================================================================
   Breadcrumbs (Rank Math integration)
   ========================================================================== */
.hd-breadcrumbs {
	display: block;
	margin-bottom: var(--hd-space-sm);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

.hd-breadcrumbs .rank-math-breadcrumb,
.hd-breadcrumbs .rank-math-breadcrumb p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.hd-breadcrumbs a {
	color: var(--hd-gold-lighter);
	text-decoration: none;
	opacity: 0.85;
	transition: var(--hd-transition);
	border-bottom: 1px solid transparent;
	padding-bottom: 1px;
}

.hd-breadcrumbs a:hover,
.hd-breadcrumbs a:focus-visible {
	opacity: 1;
	color: var(--hd-gold-light);
	border-bottom-color: var(--hd-gold-light);
	outline: none;
}

.hd-breadcrumbs .separator {
	color: var(--hd-gold);
	opacity: 0.6;
	font-weight: 400;
	margin: 0 2px;
}

.hd-breadcrumbs .last {
	color: #fff;
	opacity: 0.95;
	font-weight: 600;
}

/* On-hero variant: dark backgrounds → keep current cream/gold treatment (above defaults are tuned for it) */

/* Off-hero variant: light backgrounds (e.g. dashboard, search) — switch to darker tokens */
.hd-breadcrumbs--on-hero a { opacity: 1; }
.hd-breadcrumbs--on-hero { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }

.hd-breadcrumbs:not(.hd-breadcrumbs--on-hero) a {
	color: var(--hd-gold-dark);
	opacity: 1;
}

.hd-breadcrumbs:not(.hd-breadcrumbs--on-hero) a:hover,
.hd-breadcrumbs:not(.hd-breadcrumbs--on-hero) a:focus-visible {
	color: var(--hd-gold);
	border-bottom-color: var(--hd-gold);
}

.hd-breadcrumbs:not(.hd-breadcrumbs--on-hero) .separator {
	color: var(--hd-text-muted);
}

.hd-breadcrumbs:not(.hd-breadcrumbs--on-hero) .last {
	color: var(--hd-text);
}

/* Footer gold accent line & ambient glow */
.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 10%;
	right: 10%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--hd-gold-light), var(--hd-gold), var(--hd-gold-light), transparent);
	opacity: 0.35;
}

.site-footer::after {
	content: '';
	position: absolute;
	top: -15px;
	left: 15%;
	right: 15%;
	height: 30px;
	background: radial-gradient(ellipse at center, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
	pointer-events: none;
}

/* Section overline subtle glow */
.section__overline {
	text-shadow: 0 0 25px rgba(184, 134, 11, 0.12);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	:root {
		--hd-gutter: 20px;
	}

	.nav-toggle {
		display: flex;
	}

	.nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 300px;
		height: 100vh;
		background: var(--hd-cream);
		flex-direction: column;
		align-items: flex-start;
		padding: 80px var(--hd-space-xl) var(--hd-space-xl);
		box-shadow: var(--hd-shadow-xl);
		transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
		z-index: 999;
	}

	.nav--open {
		right: 0;
	}

	.nav__list {
		flex-direction: column;
		width: 100%;
		gap: var(--hd-space-xs);
	}

	/* Force dark text inside mobile drawer regardless of header state */
	.nav__link,
	.nav .nav__list .nav__link,
	.site-header--transparent .nav__list .nav__link,
	.site-header--transparent a.nav__link {
		width: 100%;
		padding: 12px 16px;
		font-size: 1rem;
		color: var(--hd-text-primary) !important;
		border-radius: var(--hd-radius-md);
		background: transparent !important;
	}

	.nav__link:hover,
	.nav__item--active .nav__link,
	.current-menu-item .nav__link {
		background: var(--hd-gold-pale) !important;
		color: var(--hd-gold-dark) !important;
	}

	.nav__cta {
		margin-left: 0;
		margin-top: var(--hd-space-md);
		width: 100%;
	}

	.nav__cta .btn {
		width: 100%;
	}

	/* Burger bars: white on transparent hero, dark on scrolled */
	.nav-toggle__bar {
		background: var(--hd-text-primary) !important;
	}
	.site-header--transparent .nav-toggle__bar {
		background: var(--hd-white) !important;
	}
	.site-header--scrolled .nav-toggle__bar {
		background: var(--hd-text-primary) !important;
	}

	/* When nav drawer is open: force dark bars (cream bg drawer) */
	.nav-is-open .nav-toggle__bar {
		background: var(--hd-text-primary) !important;
	}
	.nav--open .nav__lang {
		border-color: var(--hd-border) !important;
	}
	.nav--open .nav__lang-item {
		color: var(--hd-text-secondary) !important;
	}
	.nav--open .nav__lang-item--active {
		background: var(--hd-gold) !important;
		color: var(--hd-white) !important;
	}
	.nav--open .nav__lang-item:hover:not(.nav__lang-item--active) {
		color: var(--hd-gold-dark) !important;
		background: var(--hd-gold-pale) !important;
	}

	.nav-overlay {
		display: none;
		position: fixed;
		inset: 0;
		background: rgba(45, 42, 38, 0.4);
		z-index: 998;
	}

	.nav-overlay--visible {
		display: block;
	}

	.trip-types-grid,
	.trips-grid {
		grid-template-columns: 1fr;
	}

	/* Magazine layout stacks on mobile */
	.trip-types-grid--magazine {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.trip-types-grid--magazine .trip-type-overlay--featured {
		grid-row: auto;
		min-height: auto;
		aspect-ratio: 5 / 4;
	}

	.trip-types-grid--magazine .trip-type-overlay:not(.trip-type-overlay--featured) {
		aspect-ratio: 5 / 4;
	}

	/* Hero gold frame smaller on mobile */
	.hero__gold-frame {
		inset: 10px 10px 30px;
	}

	.hero__gold-corner {
		width: 70px;
		height: 70px;
	}

	.hero__gold-line {
		left: 70px;
		right: 70px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: var(--hd-space-xl);
	}

	.footer__bottom {
		flex-direction: column;
		gap: var(--hd-space-sm);
		text-align: center;
	}

	.hero__content {
		padding-left: var(--hd-space-md);
		padding-right: var(--hd-space-md);
	}

	.section {
		padding: var(--hd-space-3xl) 0;
	}
}

@media (max-width: 375px) {
	.hero__actions {
		flex-direction: column;
		align-items: center;
	}

	.hero__actions .btn {
		width: 100%;
	}
}

/* ============================================================
   Tallinn weather + local time widget (MET Norway)
   ============================================================ */
.hd-weather { font-family: var(--hd-font-body); }

/* --- Header: current conditions + live local clock --- */
.hd-weather--mini { display: none; } /* shown only in the mobile bar */

.hd-weather--bar {
	display: flex;
	align-items: center;
	margin: 0 var(--hd-space-sm);
}

.hd-weather__now {
	display: flex;
	align-items: center;
	gap: var(--hd-space-sm);
	color: inherit;
	white-space: nowrap;
}

.hd-weather__icon { display: inline-flex; flex-shrink: 0; }
.hd-weather__svg { width: 30px; height: 30px; display: block; }

.hd-weather__readout { display: flex; flex-direction: column; line-height: 1.08; }
.hd-weather__temp-line { display: flex; align-items: flex-start; gap: 1px; font-family: var(--hd-font-heading); }
.hd-weather__temp { font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hd-weather__deg { font-size: 0.72rem; line-height: 1; margin-top: 0.32em; opacity: 0.85; }
.hd-weather__cond { font-size: 0.7rem; opacity: 0.82; }

.hd-weather__clock {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.08;
	padding-left: var(--hd-space-sm);
	margin-left: var(--hd-space-xs);
	border-left: 1px solid currentColor;
	border-color: color-mix(in srgb, currentColor 22%, transparent);
}
.hd-weather__time { font-family: var(--hd-font-heading); font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hd-weather__tz { font-size: 0.64rem; opacity: 0.72; letter-spacing: 0.03em; }

.site-header--transparent .hd-weather--bar,
.site-header--transparent .hd-weather--mini { color: var(--hd-white); }
.site-header--scrolled .hd-weather--bar,
.site-header--scrolled .hd-weather--mini { color: var(--hd-text-primary); }

/* --- Shared 5-day forecast cells --- */
.hd-weather__days { display: flex; list-style: none; margin: 0; padding: 0; }
.hd-weather__day { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px 8px; text-align: center; }
.hd-weather__day-name { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.hd-weather__day-icon { display: inline-flex; }
.hd-weather__day-icon .hd-weather__svg { width: 26px; height: 26px; }
.hd-weather__day-temp { display: flex; gap: 4px; align-items: baseline; font-size: 0.74rem; }
.hd-weather__day-temp b { font-weight: 600; }
.hd-weather__day-temp i { font-style: normal; }

/* --- Footer forecast column (dark footer) --- */
.hd-weather--footer { color: inherit; }
.hd-weather__fnow { display: flex; align-items: center; gap: 8px; margin-bottom: var(--hd-space-md); }
.hd-weather__fnow .hd-weather__svg { width: 30px; height: 30px; }
.hd-weather__fnow-text { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.hd-weather__fnow .hd-weather__temp { font-family: var(--hd-font-heading); font-size: 1.1rem; font-weight: 600; color: var(--hd-white); }
.hd-weather__fnow .hd-weather__deg { font-size: 0.66rem; }
.hd-weather--footer .hd-weather__days { gap: 0; }
.hd-weather--footer .hd-weather__day { flex: 1 1 0; min-width: 0; padding: 6px 2px; }
.hd-weather--footer .hd-weather__day + .hd-weather__day { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.hd-weather--footer .hd-weather__day-name { color: rgba(255, 255, 255, 0.5); }
.hd-weather--footer .hd-weather__day-temp b { color: rgba(255, 255, 255, 0.92); }
.hd-weather--footer .hd-weather__day-temp i { color: rgba(255, 255, 255, 0.45); }
.hd-weather__src { display: inline-block; margin-top: var(--hd-space-md); font-size: 0.68rem; color: rgba(255, 255, 255, 0.45); text-decoration: none; }
.hd-weather__src:hover { color: rgba(255, 255, 255, 0.8); text-decoration: underline; }

/* Mobile: compact cluster in the bar; the desktop cluster (drawer copy) is hidden */
@media (max-width: 1024px) {
	.hd-weather--mini {
		display: flex;
		align-items: center;
		margin-left: auto;
		margin-right: var(--hd-space-md);
	}
	.hd-weather--mini .hd-weather__now { gap: 7px; }
	.hd-weather--mini .hd-weather__svg { width: 24px; height: 24px; }
	.hd-weather--mini .hd-weather__cond { display: none; }
	.hd-weather--mini .hd-weather__temp { font-size: 1.02rem; }
	.hd-weather--mini .hd-weather__deg { font-size: 0.6rem; }
	.hd-weather--mini .hd-weather__clock { padding-left: 7px; margin-left: 5px; }
	.hd-weather--mini .hd-weather__time { font-size: 1rem; }
	.nav-is-open .hd-weather--mini { opacity: 0; pointer-events: none; }

	.hd-weather--bar { display: none; } /* current conditions already shown via the mini cluster */
}
