/* ==========================================================================
   Glotrave Guides – Home Hero
   Brand palette: blue #4D8EF4 · red #F4392C · green #51AC50 · yellow #F2B726
   Typography: Poppins (display/headings) · Inter (body/meta)
   ========================================================================== */

:root {
	--glh-b:    #4D8EF4;
	--glh-r:    #F4392C;
	--glh-g:    #51AC50;
	--glh-y:    #F2B726;
	--glh-ink:  #1a1f2e;
	--glh-muted:#6b7280;
	--glh-bg:   #f5f7fb;
	--glh-card: #ffffff;
	--glh-line: #e4eaf4;
	--glh-rad:  16px;
}

/* ── Scope all styles under .glh-block so they never leak into JNews/theme ── */
.glh-block {
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	color: var(--glh-ink);
	box-sizing: border-box;
}
.glh-block *, .glh-block *::before, .glh-block *::after { box-sizing: border-box; }
.glh-block a { text-decoration: none; color: inherit; }
.glh-block img { max-width: 100%; display: block; }
.glh-block p, .glh-block h2, .glh-block h3, .glh-block h4 { margin: 0; }

/* ── Category pill ── */
.glh-pill {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	border-radius: 100px;
	padding: 4px 11px;
	line-height: 1;
	color: #fff;
}
.glh-pill--blue   { background: var(--glh-b); }
.glh-pill--red    { background: var(--glh-r); }
.glh-pill--green  { background: var(--glh-g); }
.glh-pill--yellow { background: var(--glh-y); color: var(--glh-ink); }

/* ── Meta row ── */
.glh-meta-row   { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.glh-meta-item  { font-size: 12.5px; color: var(--glh-muted); display: flex; align-items: center; gap: 4px; }
.glh-meta-date  { font-size: 12px; color: var(--glh-muted); }
.glh-meta-dot   { color: var(--glh-muted); font-size: 14px; line-height: 1; }

/* ── Section header ── */
.glh-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
	flex-wrap: wrap;
	gap: 10px;
}
.glh-section-title {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: clamp(19px, 2.4vw, 26px);
	color: var(--glh-ink);
	display: flex;
	align-items: center;
	gap: 10px;
}
.glh-section-title__accent {
	display: inline-block;
	width: 5px;
	height: 26px;
	border-radius: 3px;
	flex: 0 0 auto;
}
.glh-section-title__accent--blue   { background: var(--glh-b); }
.glh-section-title__accent--red    { background: var(--glh-r); }
.glh-section-title__accent--green  { background: var(--glh-g); }
.glh-section-title__accent--yellow { background: var(--glh-y); }
.glh-section-more {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--glh-b);
	transition: color .15s;
}
.glh-section-more:hover { color: var(--glh-r); }

/* ── Scroll-fade in ── */
.glh-block [data-glh-fade] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .5s ease, transform .5s ease;
}
.glh-block [data-glh-fade].is-visible {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.glh-block [data-glh-fade] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   BLOCK 1 – SPOTLIGHT  (1 big featured card + 2×2 grid of 4 image cards)
   Rules use !important + #glh-spotlight scope so the theme (JNews) and
   Elementor cannot override the grid layout.
   ========================================================================== */
#glh-spotlight.glh-spotlight { margin-bottom: 0 !important; background: transparent !important; padding: 0 !important; }

#glh-spotlight .glh-spotlight__wrap {
	display: grid !important;
	grid-template-columns: 1.18fr 1fr !important;
	gap: 16px !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Shared card look (hero + small cards) */
#glh-spotlight .glh-spotlight__hero,
#glh-spotlight .glh-spotlight__card {
	position: relative !important;
	display: block !important;
	overflow: hidden !important;
	border-radius: 10px !important;
	text-decoration: none !important;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

/* Left big card */
#glh-spotlight .glh-spotlight__hero { min-height: 460px !important; height: 100% !important; }

/* Right 2×2 grid */
#glh-spotlight .glh-spotlight__grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	grid-template-rows: 1fr 1fr !important;
	gap: 16px !important;
	width: 100% !important;
}
#glh-spotlight .glh-spotlight__card { min-height: 222px !important; }

/* Background image */
#glh-spotlight .glh-spotlight__bg,
#glh-spotlight .glh-spotlight__card-bg {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
	background-size: cover !important;
	background-position: center !important;
	transition: transform 6s ease;
}
#glh-spotlight .glh-spotlight__hero:hover .glh-spotlight__bg,
#glh-spotlight .glh-spotlight__card:hover .glh-spotlight__card-bg { transform: scale(1.05); }

/* Dark gradient so white text is always readable */
#glh-spotlight .glh-spotlight__overlay,
#glh-spotlight .glh-spotlight__card-overlay {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
	background: linear-gradient(180deg,
		rgba(0,0,0,0) 35%,
		rgba(0,0,0,.35) 65%,
		rgba(0,0,0,.82) 100%) !important;
}

/* Text content overlaid bottom-left */
#glh-spotlight .glh-spotlight__content,
#glh-spotlight .glh-spotlight__card-content {
	position: absolute !important;
	left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
	z-index: 2 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 10px !important;
}
#glh-spotlight .glh-spotlight__content      { padding: 26px 28px !important; }
#glh-spotlight .glh-spotlight__card-content { padding: 16px 18px !important; gap: 8px !important; }

/* Titles */
#glh-spotlight .glh-spotlight__title {
	font-family: "Poppins", sans-serif !important;
	font-weight: 700 !important;
	font-size: clamp(22px, 2.6vw, 30px) !important;
	line-height: 1.18 !important;
	color: #fff !important;
	margin: 0 !important;
}
#glh-spotlight .glh-spotlight__card-title {
	font-family: "Poppins", sans-serif !important;
	font-weight: 600 !important;
	font-size: 15.5px !important;
	line-height: 1.3 !important;
	color: #fff !important;
	margin: 0 !important;
}
#glh-spotlight .glh-spotlight__hero:hover .glh-spotlight__title,
#glh-spotlight .glh-spotlight__card:hover .glh-spotlight__card-title { color: var(--glh-y) !important; }

/* Pills sit above the title on the overlay */
#glh-spotlight .glh-spotlight__content .glh-pill,
#glh-spotlight .glh-spotlight__card-content .glh-pill { box-shadow: 0 2px 8px rgba(0,0,0,.25); position: relative !important; }


/* ==========================================================================
   BLOCK 2 – TICKER
   ========================================================================== */
/* ==========================================================================
   BLOCK 2 – TICKER
   Movement is driven by requestAnimationFrame in glotrave-hero.js.
   All !important guards below stop JNews / Elementor / theme CSS from
   collapsing, hiding, or overriding the ticker container or its items.
   ========================================================================== */

.glh-ticker {
	display: flex !important;
	align-items: center !important;
	background: var(--glh-ink) !important;
	padding: 0 16px !important;
	height: 52px !important;
	min-height: 52px !important;
	gap: 14px !important;
	overflow: hidden !important;
	width: 100% !important;
	box-sizing: border-box !important;
	position: relative !important;
	z-index: 1 !important;
}

/* "Latest" badge pill on the left */
.glh-ticker__label {
	flex: 0 0 auto !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-family: "Poppins", sans-serif !important;
	font-weight: 700 !important;
	font-size: 11.5px !important;
	text-transform: uppercase !important;
	letter-spacing: .1em !important;
	color: #fff !important;
	background: var(--glh-r) !important;
	padding: 6px 14px 6px 10px !important;
	border-radius: 0 6px 6px 0 !important;
	margin-left: -16px !important;
	white-space: nowrap !important;
	line-height: 1 !important;
}

/* Scrolling viewport */
.glh-ticker__track {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	overflow: hidden !important;
	position: relative !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	/* Soft fade at both edges */
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

/* The moving strip — JS sets transform: translateX(Xpx) each frame.
   NO CSS animation here; that was the root cause of the bug. */
.glh-ticker__inner {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	width: max-content !important;
	/* animation intentionally omitted — driven by rAF in JS */
	will-change: transform;
	transform: translateX(0);
}

/* Individual headline links */
.glh-ticker__item {
	display: inline-flex !important;
	align-items: center !important;
	gap: 14px !important;
	font-size: 13.5px !important;
	font-weight: 500 !important;
	color: rgba(255,255,255,.85) !important;
	white-space: nowrap !important;
	padding: 0 10px !important;
	text-decoration: none !important;
	cursor: pointer !important;
	pointer-events: auto !important;   /* ensure clicks work */
	transition: color .15s !important;
	line-height: 1 !important;
}
.glh-ticker__item:hover,
.glh-ticker__item:focus {
	color: var(--glh-y) !important;
	text-decoration: none !important;
}

/* ✈ separator between items */
.glh-ticker__sep {
	color: var(--glh-b) !important;
	font-size: 11px !important;
	opacity: .7;
	pointer-events: none !important;
}

/* Pause / resume button */
.glh-ticker__pause {
	flex: 0 0 auto !important;
	background: rgba(255,255,255,.1) !important;
	border: none !important;
	border-radius: 6px !important;
	width: 32px !important;
	height: 32px !important;
	display: grid !important;
	place-items: center !important;
	cursor: pointer !important;
	color: rgba(255,255,255,.7) !important;
	transition: background .15s, color .15s !important;
	padding: 0 !important;
}
.glh-ticker__pause:hover { background: rgba(255,255,255,.22) !important; color: #fff !important; }
.glh-ticker__pause:focus-visible { outline: 2px solid var(--glh-y); outline-offset: 2px; }

/* ==========================================================================
   BLOCK 3 – MAGAZINE GRID
   ========================================================================== */
.glh-magazine {
	padding: 36px 0 0;
}
.glh-magazine__grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 24px;
	align-items: start;
}
/* Lead card */
.glh-magazine__lead {
	background: var(--glh-card);
	border-radius: var(--glh-rad);
	overflow: hidden;
	border: 1px solid var(--glh-line);
	transition: box-shadow .2s, transform .2s;
}
.glh-magazine__lead:hover { box-shadow: 0 14px 36px rgba(16,24,40,.10); transform: translateY(-3px); }
.glh-magazine__img {
	height: 280px;
	background-size: cover;
	background-position: center;
	transition: transform 6s ease;
}
.glh-magazine__lead:hover .glh-magazine__img { transform: scale(1.04); }
.glh-magazine__body { padding: 22px 24px 24px; }
.glh-magazine__title {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: clamp(18px, 2.1vw, 24px);
	line-height: 1.2;
	margin: 10px 0 10px;
	color: var(--glh-ink);
}
.glh-magazine__title a:hover { color: var(--glh-b); }
.glh-magazine__excerpt { font-size: 14.5px; line-height: 1.65; color: var(--glh-muted); margin-top: 8px; }

/* Side small cards */
.glh-magazine__side { display: flex; flex-direction: column; gap: 16px; }
.glh-magazine__card {
	background: var(--glh-card);
	border: 1px solid var(--glh-line);
	border-radius: var(--glh-rad);
	display: grid;
	grid-template-columns: 100px 1fr;
	overflow: hidden;
	transition: box-shadow .18s, transform .18s, border-color .18s;
}
.glh-magazine__card:hover { transform: translateX(3px); }
.glh-magazine__card--blue:hover   { border-color: var(--glh-b); box-shadow: -3px 0 0 var(--glh-b); }
.glh-magazine__card--red:hover    { border-color: var(--glh-r); box-shadow: -3px 0 0 var(--glh-r); }
.glh-magazine__card--green:hover  { border-color: var(--glh-g); box-shadow: -3px 0 0 var(--glh-g); }
.glh-magazine__card--yellow:hover { border-color: var(--glh-y); box-shadow: -3px 0 0 var(--glh-y); }
.glh-magazine__card-img {
	height: 100%;
	min-height: 90px;
	background-size: cover;
	background-position: center;
}
.glh-magazine__card-body {
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}
.glh-magazine__card-body h4 {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 13.5px;
	line-height: 1.35;
	color: var(--glh-ink);
}
.glh-magazine__card-body h4 a:hover { color: var(--glh-b); }

/* ==========================================================================
   BLOCK 4 – DESTINATIONS
   ========================================================================== */
/* ==========================================================================
   BLOCK 4 – DESTINATIONS
   Desktop  : 6-column grid
   Tablet   : 3-column grid
   Mobile   : horizontal scroll-snap carousel (swipeable)
   ========================================================================== */

.glh-destinations {
	padding: 36px 0 0;
}

/* ── Row: desktop grid ── */
.glh-destinations .glh-destinations__row {
	display: grid !important;
	grid-template-columns: repeat(6, 1fr) !important;
	gap: 14px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* ── Card (shared across all breakpoints) ── */
.glh-destinations .glh-dest__card {
	position: relative !important;
	height: 210px !important;
	min-height: 210px !important;
	border-radius: var(--glh-rad) !important;
	overflow: hidden !important;
	display: flex !important;
	align-items: flex-end !important;
	text-decoration: none !important;
	transition: transform .22s ease, box-shadow .22s ease;
}
.glh-dest__card:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 18px 40px rgba(16,24,40,.20) !important;
}
@media (hover: none) {
	/* Touch devices: disable the lift so taps feel instant */
	.glh-dest__card:hover { transform: none !important; box-shadow: none !important; }
}

/* Background photo */
.glh-destinations .glh-dest__bg {
	position: absolute !important;
	inset: 0 !important;
	background-size: cover !important;
	background-position: center !important;
	transition: transform 6s ease;
}
.glh-dest__card:hover .glh-dest__bg { transform: scale(1.08); }

/* Gradient overlay */
.glh-destinations .glh-dest__overlay {
	position: absolute !important;
	inset: 0 !important;
}
.glh-dest__card--blue   .glh-dest__overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(30,60,160,.88) 100%); }
.glh-dest__card--red    .glh-dest__overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(160,30,20,.88) 100%); }
.glh-dest__card--green  .glh-dest__overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(20,100,20,.88) 100%); }
.glh-dest__card--yellow .glh-dest__overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(110,70,0,.88) 100%); }

/* Solid fallback gradient when no thumbnail */
.glh-dest__card--blue   { background: linear-gradient(135deg, #4D8EF4 0%, #1a4aaa 100%); }
.glh-dest__card--red    { background: linear-gradient(135deg, #F4392C 0%, #aa1a10 100%); }
.glh-dest__card--green  { background: linear-gradient(135deg, #51AC50 0%, #267025 100%); }
.glh-dest__card--yellow { background: linear-gradient(135deg, #F2B726 0%, #b07800 100%); }

/* Body text overlay */
.glh-destinations .glh-dest__body {
	position: relative !important;
	z-index: 2 !important;
	padding: 16px !important;
	width: 100% !important;
}
.glh-dest__count {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(255,255,255,.75);
	margin-bottom: 4px;
}
.glh-dest__name {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	margin: 0 0 4px;
	line-height: 1.2;
}
.glh-dest__arrow {
	font-size: 18px;
	color: rgba(255,255,255,.55);
	display: inline-block;
	transition: transform .2s, color .2s;
}
.glh-dest__card:hover .glh-dest__arrow { transform: translateX(5px); color: #fff; }

/* ── Swipe hint label (mobile only, hidden on desktop) ── */
.glh-dest__swipe-hint {
	display: none;
}

/* ==========================================================================
   BLOCK 5 – LATEST MOSAIC
   ========================================================================== */
.glh-latest { padding: 36px 0 0; }
.glh-latest__mosaic {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
	gap: 18px;
}
.glh-latest__item {
	background: var(--glh-card);
	border: 1px solid var(--glh-line);
	border-radius: var(--glh-rad);
	overflow: hidden;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.glh-latest__item:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(16,24,40,.10); }
.glh-latest__item--blue:hover   { border-color: var(--glh-b); }
.glh-latest__item--red:hover    { border-color: var(--glh-r); }
.glh-latest__item--green:hover  { border-color: var(--glh-g); }
.glh-latest__item--yellow:hover { border-color: var(--glh-y); }

.glh-latest__item--wide { grid-column: span 2; }

.glh-latest__img {
	height: 200px;
	background-size: cover;
	background-position: center;
	transition: transform 6s ease;
}
.glh-latest__item--wide .glh-latest__img { height: 240px; }
.glh-latest__item:hover .glh-latest__img { transform: scale(1.04); }

.glh-latest__body { padding: 18px 20px 20px; }
.glh-latest__title {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 15.5px;
	line-height: 1.3;
	margin: 8px 0 6px;
	color: var(--glh-ink);
}
.glh-latest__title a:hover { color: var(--glh-b); }
.glh-latest__excerpt { font-size: 13.5px; line-height: 1.6; color: var(--glh-muted); margin: 6px 0 0; }

/* ==========================================================================
   BLOCK SELF-CONTAINMENT
   Every .glh-block stands alone — no outer wrapper needed.
   Elementor places each shortcode in its own section row.
   ========================================================================== */

/* Each block fills its section, contains its own absolute children, and
   clears any floats so nothing bleeds into the block below it. */
.glh-block {
	width: 100%;
	background: var(--glh-bg);
	position: relative;     /* anchor for any absolute children */
	display: block;
	clear: both;            /* never sit beside a floated theme element */
	overflow: hidden;       /* clip overlay text so it can't escape */
	box-sizing: border-box;
}
.glh-block::after { content: ""; display: table; clear: both; }

/* Spotlight has no extra padding — it fills edge to edge */
.glh-spotlight { background: transparent; }

/* Content blocks get comfortable breathing room */
.glh-magazine,
.glh-destinations,
.glh-latest {
	padding: 32px 0 8px;
}

/* Ticker: dark background is its own spacing — no extra padding wrapper needed */
/* (padding is set directly on .glh-ticker above) */

/* Optional: [glotrave_home] convenience wrapper — only applies when
   all blocks are output by a single shortcode call, not via Elementor */
.glh-home-wrap { width: 100%; }
.glh-home-wrap > .glh-block { margin-bottom: 24px; }
.glh-home-stripe {
	height: 6px;
	background: linear-gradient(90deg,
		var(--glh-b) 0 25%, var(--glh-r) 25% 50%,
		var(--glh-y) 50% 75%, var(--glh-g) 75% 100%);
	margin-bottom: 24px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* ── 1024px: 3-column grid ── */
@media (max-width: 1024px) {
	#glh-spotlight .glh-spotlight__wrap { grid-template-columns: 1fr !important; }
	#glh-spotlight .glh-spotlight__hero { min-height: 340px !important; }
	#glh-spotlight .glh-spotlight__card { min-height: 200px !important; }
	.glh-magazine__grid  { grid-template-columns: 1fr; }
	.glh-magazine__side  { display: grid; grid-template-columns: 1fr 1fr; }
	.glh-destinations .glh-destinations__row {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

/* ── 768px: 2-column grid ── */
@media (max-width: 768px) {
	.glh-home-wrap { padding: 0 16px 36px; }
	#glh-spotlight .glh-spotlight__content { padding: 20px 22px !important; }
	#glh-spotlight .glh-spotlight__title { font-size: clamp(20px, 5vw, 28px) !important; }
	#glh-spotlight .glh-spotlight__hero { min-height: 280px !important; }
	#glh-spotlight .glh-spotlight__card { min-height: 180px !important; }
	.glh-magazine__side  { grid-template-columns: 1fr; }
	.glh-destinations .glh-destinations__row {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.glh-latest__mosaic { grid-template-columns: 1fr 1fr; }
	.glh-latest__item--wide { grid-column: span 2; }
}

/* ── 600px and below: horizontal swipe carousel ──────────────────────────
   The row becomes a single scrolling track. Each card snaps into place.
   Cards are wide enough to read comfortably (~75vw) and peek at the next.
   A "Swipe →" hint appears below the heading to signal interaction.
   --------------------------------------------------------------------- */
@media (max-width: 600px) {

	/* Turn the section into a scroll container so the row can bleed
	   edge-to-edge while the heading stays inside normal padding. */
	.glh-destinations {
		overflow: hidden !important;
		padding: 28px 0 0 !important;
	}

	/* Section header: add side padding so it lines up with page content */
	.glh-destinations .glh-section-head {
		padding: 0 18px !important;
		margin-bottom: 14px !important;
	}

	/* Swipe hint visible on mobile */
	.glh-dest__swipe-hint {
		display: flex !important;
		align-items: center !important;
		gap: 5px !important;
		font-size: 11px !important;
		font-weight: 600 !important;
		color: var(--glh-muted) !important;
		letter-spacing: .04em !important;
		text-transform: uppercase !important;
		padding: 0 18px 10px !important;
	}
	.glh-dest__swipe-hint svg { flex-shrink: 0; }

	/* ── Carousel track ── */
	.glh-destinations .glh-destinations__row {
		display: flex !important;
		flex-wrap: nowrap !important;
		grid-template-columns: unset !important;
		overflow-x: auto !important;
		overflow-y: visible !important;
		scroll-snap-type: x mandatory !important;
		-webkit-overflow-scrolling: touch !important;
		scroll-behavior: smooth !important;
		gap: 12px !important;
		padding: 4px 18px 16px !important;   /* side padding = first card indent */
		/* Hide scrollbar but keep scrollability */
		scrollbar-width: none !important;
		-ms-overflow-style: none !important;
	}
	.glh-destinations .glh-destinations__row::-webkit-scrollbar {
		display: none !important;
	}

	/* Trailing spacer so the last card can fully snap */
	.glh-destinations .glh-destinations__row::after {
		content: '' !important;
		display: block !important;
		min-width: 6px !important;
		flex-shrink: 0 !important;
	}

	/* ── Individual card in carousel ── */
	.glh-destinations .glh-dest__card {
		flex: 0 0 73vw !important;          /* ≈ 73% of viewport: readable + peeks next */
		max-width: 280px !important;
		min-width: 200px !important;
		height: 200px !important;
		min-height: 200px !important;
		scroll-snap-align: start !important;
		border-radius: 16px !important;
	}

	/* Slightly larger text inside the wider cards */
	.glh-dest__name  { font-size: 16px !important; }
	.glh-dest__count { font-size: 11px !important; }
	.glh-dest__arrow { font-size: 18px !important; }
	.glh-destinations .glh-dest__body { padding: 18px !important; }
}

/* ── 400px: tighten card width further so two still peek ── */
@media (max-width: 400px) {
	.glh-destinations .glh-dest__card {
		flex: 0 0 78vw !important;
		max-width: 240px !important;
		height: 180px !important;
		min-height: 180px !important;
	}
	.glh-dest__name { font-size: 15px !important; }
}

/* ── 520px: latest mosaic + ticker tightening ── */
@media (max-width: 520px) {
	.glh-latest__mosaic { grid-template-columns: 1fr !important; }
	.glh-latest__item--wide { grid-column: span 1 !important; }
	.glh-ticker { height: 44px !important; min-height: 44px !important; }
}
   Five branded ad containers, one between each hero block.
   When AdSense code is pasted in Settings the <ins> fills the space.
   When empty a clearly labelled placeholder is shown (admin-friendly).
   ========================================================================== */

.glh-ad {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	position: relative;
}
/* Live ad slot: only padding when it actually holds an ad */
.glh-ad:not(.glh-ad--placeholder-mode) {
	padding: 12px 0;
}
.glh-ad:not(.glh-ad--placeholder-mode):empty {
	padding: 0;        /* truly empty -> zero height, invisible to visitors */
}
/* Editor-only placeholder reserves a little space so you can see it */
.glh-ad--placeholder-mode {
	min-height: 90px;
	padding: 12px 0;
}

/* When real AdSense code is present, let the <ins> block fill naturally */
.glh-ad ins,
.glh-ad .adsbygoogle {
	display: block;
	width: 100%;
	max-width: 970px;
	margin: 0 auto;
}

/* ── Placeholder (EDITOR ONLY — never shown to site visitors) ── */
.glh-ad__placeholder {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: 970px;
	padding: 16px 20px;
	border-radius: 12px;
	border: 2px dashed;
	background: rgba(255,255,255,.7);
	position: relative;
}

/* Per-slot accent colours using the four brand colours */
.glh-ad--blue   .glh-ad__placeholder { border-color: rgba(77,142,244,.35);  background: rgba(77,142,244,.05); }
.glh-ad--red    .glh-ad__placeholder { border-color: rgba(244,57,44,.35);   background: rgba(244,57,44,.05); }
.glh-ad--green  .glh-ad__placeholder { border-color: rgba(81,172,80,.35);   background: rgba(81,172,80,.05); }
.glh-ad--yellow .glh-ad__placeholder { border-color: rgba(242,183,38,.35);  background: rgba(242,183,38,.05); }

.glh-ad__icon {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: 10px;
	flex: 0 0 auto;
	color: #fff;
}
.glh-ad--blue   .glh-ad__icon { background: var(--glh-b); }
.glh-ad--red    .glh-ad__icon { background: var(--glh-r); }
.glh-ad--green  .glh-ad__icon { background: var(--glh-g); }
.glh-ad--yellow .glh-ad__icon { background: var(--glh-y); }

.glh-ad__label {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
}
.glh-ad__label strong {
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: var(--glh-ink);
}
.glh-ad--blue   .glh-ad__label strong { color: var(--glh-b); }
.glh-ad--red    .glh-ad__label strong { color: var(--glh-r); }
.glh-ad--green  .glh-ad__label strong { color: var(--glh-g); }
.glh-ad--yellow .glh-ad__label strong { color: #c08010; }

.glh-ad__label span {
	font-size: 12.5px;
	color: var(--glh-muted);
}
.glh-ad__label a {
	color: var(--glh-b);
	text-decoration: underline;
}
.glh-ad__label a:hover { color: var(--glh-r); }

/* "Advertisement" badge — top-right corner */
.glh-ad__badge {
	position: absolute;
	top: 8px;
	right: 12px;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--glh-muted);
	opacity: .7;
}

/* Thin coloured top bar — ONLY on the editor placeholder, never on live ads */
.glh-ad--placeholder-mode::before {
	content: '';
	display: block;
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	border-radius: 0 0 3px 3px;
}
.glh-ad--placeholder-mode.glh-ad--blue::before   { background: var(--glh-b); }
.glh-ad--placeholder-mode.glh-ad--red::before    { background: var(--glh-r); }
.glh-ad--placeholder-mode.glh-ad--green::before  { background: var(--glh-g); }
.glh-ad--placeholder-mode.glh-ad--yellow::before { background: var(--glh-y); }

/* Responsive: hide placeholder on very small screens to save space */
@media (max-width: 520px) {
	.glh-ad__placeholder { flex-direction: column; align-items: flex-start; gap: 10px; }
	.glh-ad__badge { display: none; }
}
