/*
Theme Name: Savvy Nomad
Theme URI: https://savvynomadadventures.com
Author: Savvy Nomad Adventures
Description: A loud, fun, adventure-first block theme for Savvy Nomad Adventures. Polaroid galleries, a Chaos Meter on every story, a Throwback vault, and room to grow into affiliate links later.
Version: 1.6.4
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: savvy-nomad
Tags: blog, travel, block-patterns, full-site-editing, custom-colors
*/

/* ---------- Basics ---------- */
:root {
	--snb-ink: #111111;
	--snb-deep: #000000;
	--snb-sun: #FFC93C;
	--snb-coral: #D6127F;
	--snb-rust: #D6127F;
	--snb-mint: #F1F1F3;
	--snb-sage: #D4D4D9;
	--snb-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
body { -webkit-font-smoothing: antialiased; }
img { height: auto; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > *, main.wp-block-group > *, main.wp-block-group { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.wp-element-button, .wp-block-button__link { text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.wp-block-button__link:hover { transform: translateY(-2px) rotate(-1deg); }
:where(a):focus-visible, .wp-block-button__link:focus-visible { outline: 3px solid var(--snb-coral); outline-offset: 3px; }

/* Block styles */
.is-style-scribble, h1.is-style-scribble, h2.is-style-scribble, h3.is-style-scribble { font-family: var(--wp--preset--font-family--hand) !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.wp-block-button.is-style-dark .wp-block-button__link { background: var(--snb-ink); color: #fff; }
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: var(--snb-coral); color: #fff; }
.wp-block-button.is-style-outline-light .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #fff; padding: 13px 26px; }
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: #fff; color: var(--snb-ink); }

/* Kicker: little handwritten line above headings */
.snb-kicker { font-family: var(--wp--preset--font-family--hand); font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--snb-rust); margin-bottom: 0 !important; }
.snb-kicker + .wp-block-heading { margin-top: 2px !important; }
.snb-section { padding-top: clamp(64px, 9vw, 110px) !important; padding-bottom: clamp(64px, 9vw, 110px) !important; }
.snb-section h2.wp-block-heading { font-size: clamp(32px, 3.8vw, 48px); letter-spacing: -0.02em; line-height: 1.05; }
.snb-about p.has-large-font-size, .snb-vault p.has-large-font-size { font-size: 18px; line-height: 1.6; }

/* ---------- Header ---------- */
.snb-header { background: var(--snb-ink); color: #fff; padding-top: 18px !important; padding-bottom: 18px !important; }
.snb-header a { color: #fff; text-decoration: none; }
.snb-header .wp-block-site-title { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; margin: 0; display: flex; align-items: center; gap: 12px; }
.snb-header .wp-block-site-title::before {
	content: ""; width: 52px; height: 52px; flex: none;
	background: url("assets/images/logo-icon.svg") center / contain no-repeat;
}
.snb-header .wp-block-navigation { font-weight: 500; gap: 26px; }
.snb-header .wp-block-navigation a:hover { color: var(--snb-sun); }
.snb-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--snb-ink); color: #fff; }
.snb-header .wp-block-navigation__responsive-container-open, .snb-header .wp-block-navigation__responsive-container-close { color: #fff; }
.snb-header .wp-block-button__link { padding: 11px 22px; font-size: 16px; }

/* ---------- Hero ---------- */
.snb-hero { background: var(--snb-ink); color: #fff; padding-top: 40px !important; padding-bottom: 100px !important; overflow: hidden; }
.snb-hero .snb-kicker { color: var(--snb-sun); font-size: 38px; }
.snb-hero h1 { color: #fff; font-size: var(--wp--preset--font-size--giant); line-height: .95; letter-spacing: -0.035em; margin-top: 6px; }
.snb-hero h1 mark:not(.has-inline-color), .snb-highlight { background: var(--snb-coral) !important; color: #fff !important; padding: 0 .14em; border-radius: 14px; display: inline-block; transform: rotate(-2deg); }
.snb-hero .snb-lede { font-size: 20px; color: #E6E6EA; max-width: 560px; }
.snb-stats { gap: 40px !important; margin-top: 44px !important; }
.snb-stats .snb-stat-num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 44px; line-height: 1; margin: 0; color: #fff; }
.snb-stats .snb-stat-label { font-size: 14px; color: #C4C4CA; margin: 6px 0 0; }

/* Polaroid collage */
.snb-polaroids { position: relative; min-height: 600px; }
.snb-polaroids > .wp-block-image { position: absolute; margin: 0; }
.snb-polaroids > .wp-block-image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.snb-polaroids > .wp-block-image:nth-of-type(1) { left: 8%; top: 0; width: 58%; transform: rotate(-5deg); z-index: 1; }
.snb-polaroids > .wp-block-image:nth-of-type(2) { right: 0; top: 230px; width: 46%; transform: rotate(6deg); z-index: 2; }
.snb-polaroids > .wp-block-image:nth-of-type(3) { left: 0; bottom: 0; width: 46%; transform: rotate(-2deg); z-index: 3; }
.snb-sticker {
	position: absolute; right: 0; bottom: -24px; z-index: 4; width: 150px; height: 150px; border-radius: 50%;
	background: var(--snb-sun); color: var(--snb-ink); border: 4px dashed var(--snb-ink); box-shadow: var(--snb-shadow);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	transform: rotate(12deg); margin: 0 !important; gap: 0 !important;
}
.snb-sticker p { margin: 0 !important; line-height: 1; color: var(--snb-ink); }
.snb-sticker .snb-sticker-num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 48px; }
.snb-sticker .snb-sticker-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; margin-top: 2px !important; }
.snb-sticker .snb-sticker-note { font-family: var(--wp--preset--font-family--hand); font-size: 20px; margin-top: 4px !important; }

/* Polaroid image + gallery style (also used in posts) */
.wp-block-image.is-style-polaroid img, .snb-polaroids .wp-block-image img,
.wp-block-gallery.is-style-polaroid .wp-block-image img {
	background: #fff; padding: 12px 12px 48px; border-radius: 6px; box-shadow: var(--snb-shadow); box-sizing: border-box;
}
.wp-block-image.is-style-polaroid { position: relative; }
.wp-block-image.is-style-polaroid figcaption, .snb-polaroids .wp-block-image figcaption,
.wp-block-gallery.is-style-polaroid .wp-block-image figcaption {
	position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; padding: 0 12px; text-align: center; background: none !important;
	font-family: var(--wp--preset--font-family--hand); font-size: 24px; line-height: 1.1; color: var(--snb-ink) !important; text-shadow: none;
}
.wp-block-gallery.is-style-polaroid { --wp--style--unstable-gallery-gap: 28px; gap: 28px; padding: 20px 6px; }
.wp-block-gallery.is-style-polaroid .wp-block-image { transition: transform .2s ease; }
.wp-block-gallery.is-style-polaroid .wp-block-image:nth-child(4n+1) { transform: rotate(-3deg); }
.wp-block-gallery.is-style-polaroid .wp-block-image:nth-child(4n+2) { transform: rotate(2deg); }
.wp-block-gallery.is-style-polaroid .wp-block-image:nth-child(4n+3) { transform: rotate(-1.5deg); }
.wp-block-gallery.is-style-polaroid .wp-block-image:nth-child(4n+4) { transform: rotate(3deg); }
.wp-block-gallery.is-style-polaroid .wp-block-image:hover { transform: rotate(0) scale(1.03); z-index: 2; }
.wp-block-gallery.is-style-polaroid .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; }
.wp-block-gallery.has-nested-images.is-style-polaroid figure.wp-block-image:has(figcaption)::before { display: none; }
.wp-block-gallery:not(.is-style-polaroid) .wp-block-image img { border-radius: 16px; }

/* ---------- Next stop bar + ticker ---------- */
.snb-nextstop { background: var(--snb-sun); color: var(--snb-ink); padding-top: 22px !important; padding-bottom: 22px !important; }
.snb-nextstop p { margin: 0; }
.snb-pill-dark { background: var(--snb-ink); color: #fff !important; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px !important; border-radius: 99px; }
.snb-nextstop .snb-nextstop-title { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 26px; line-height: 1.15; }
.snb-ticker { background: var(--snb-coral); color: #fff; border-top: 4px solid var(--snb-ink); border-bottom: 4px solid var(--snb-ink); overflow: hidden; padding: 22px 0 !important; }
.snb-ticker p {
	margin: 0; white-space: nowrap; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(28px, 4vw, 44px);
	line-height: 1; text-transform: uppercase; display: inline-block; padding-left: 100%; animation: snb-scroll 38s linear infinite;
}
@keyframes snb-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .snb-ticker p { animation: none; padding-left: 24px; } }

/* ---------- Destination cards ---------- */
.snb-dest-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px !important; }
.snb-dest { position: relative; height: 380px; border-radius: 22px; overflow: hidden; background: var(--snb-sage); margin: 0 !important; transition: transform .2s ease; }
.snb-dest:hover { transform: translateY(-6px) rotate(-1deg); }
.snb-dest > .wp-block-image { position: absolute; inset: 0; margin: 0; height: 100%; }
.snb-dest > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.snb-dest::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to top, rgba(17,17,17,.94), rgba(17,17,17,0)); pointer-events: none; }
.snb-dest > h3, .snb-dest > p { position: absolute; left: 26px; right: 26px; z-index: 2; margin: 0; color: #fff; }
.snb-dest > h3 { bottom: 52px; font-size: 34px; }
.snb-dest > h3 a { color: #fff; text-decoration: none; }
.snb-dest > h3 a::after { content: ""; position: absolute; inset: -400px -30px -60px; }
.snb-dest > p { bottom: 22px; font-size: 15px; }
.snb-dest .snb-soon { position: absolute; top: 18px; right: 18px; left: auto; bottom: auto; background: #fff; color: var(--snb-ink); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; z-index: 3; }

/* Vibe chips */
.snb-chips { gap: 10px !important; }
.snb-chips .wp-block-button__link { background: #fff; color: var(--snb-ink); border: 2px solid var(--snb-ink); padding: 9px 18px; font-size: 15px; }
.snb-chips .wp-block-button:first-child .wp-block-button__link { background: var(--snb-ink); color: #fff; }
.snb-chips .wp-block-button__link:hover { background: var(--snb-ink) !important; color: #fff; }

/* ---------- Story cards (query loop) ---------- */
.snb-stories .wp-block-post-template { gap: 32px !important; }
.snb-stories .wp-block-post { display: flex; flex-direction: column; gap: 12px; }
.snb-stories .wp-block-post > * { margin: 0 !important; }
.snb-stories .wp-block-post-featured-image { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--snb-sage); }
.snb-stories .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.snb-stories .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.snb-stories .wp-block-post-title { font-size: 26px; line-height: 1.15; }
.snb-stories .wp-block-post-title a { text-decoration: none; }
.snb-stories .wp-block-post-excerpt { color: var(--wp--preset--color--slate); }
.snb-stories .wp-block-post-excerpt__excerpt { margin: 0; }
.wp-block-post-terms a, .taxonomy-category a { display: inline-block; background: var(--snb-mint); color: var(--snb-ink); text-decoration: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 11px; border-radius: 99px; margin: 0 4px 4px 0; }
.wp-block-post-terms .wp-block-post-terms__separator { display: none; }

/* First story on the homepage becomes the big feature card */
@media (min-width: 782px) {
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child:not(:has(.wp-block-post-featured-image)) { grid-template-columns: 1fr !important; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child:not(:has(.wp-block-post-featured-image)) > :nth-child(1) { padding-top: 48px; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child > :not(.wp-block-post-featured-image) { grid-column: -2; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child {
		grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: var(--snb-ink); border-radius: 26px; overflow: hidden; color: #fff;
	}
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child .wp-block-post-featured-image { grid-row: 1 / span 6; border-radius: 0; aspect-ratio: auto; min-height: 440px; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child > :not(.wp-block-post-featured-image) { padding-left: 48px; padding-right: 48px; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child > :nth-child(2) { padding-top: 48px; align-self: end; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child .wp-block-post-title { font-size: 40px; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child .wp-block-post-title a,
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child .wp-block-post-excerpt,
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child .wp-block-post-date { color: #E6E6EA; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child .wp-block-post-terms a { background: var(--snb-sun); }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child > :last-child { padding-bottom: 48px; }
}
.wp-block-query-pagination { margin-top: 48px; font-weight: 700; }

/* Chaos Meter */
.snb-date-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.snb-date-row > * { margin: 0 !important; }
.snb-chaos-badge { background: var(--snb-ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 11px; border-radius: 99px; white-space: nowrap; }
.snb-chaos-badge.is-hot { background: var(--snb-coral); color: #fff; }
.snb-chaos-dots { display: inline-flex; gap: 6px; vertical-align: middle; }
.snb-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--snb-ink); box-sizing: border-box; }
.snb-dot.is-on { background: var(--snb-coral); }

/* Series callout */
.snb-series { border: 2.5px dashed var(--snb-ink); border-radius: 22px; padding: 30px 34px !important; }
.snb-series p { margin: 0; }
.snb-series .snb-series-title { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 28px; }
.snb-eyebrow { font-size: 13px !important; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--snb-rust); }

/* ---------- About ---------- */
.snb-about { background: var(--snb-mint); }
.snb-arches { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px !important; }
.snb-arches .wp-block-image { margin: 0; }
.snb-arches .wp-block-image img { width: 100%; height: 380px; object-fit: cover; border-radius: 200px 200px 22px 22px; }
.snb-arches .wp-block-image:nth-child(2) { margin-top: 60px; }
.snb-signoff { font-family: var(--wp--preset--font-family--hand); font-size: 40px; line-height: 1; }

/* How we roll */
.snb-roll { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px !important; }
.snb-roll > .wp-block-group { border-radius: 22px; padding: 30px !important; margin: 0 !important; transition: transform .2s ease; }
.snb-roll > .wp-block-group:hover { transform: rotate(-1.5deg) scale(1.02); }
.snb-roll > .wp-block-group { border: 2.5px solid var(--snb-ink); }
.snb-roll > .wp-block-group:nth-child(5n+1) { background: var(--snb-ink); }
.snb-roll > .wp-block-group:nth-child(5n+1) h3, .snb-roll > .wp-block-group:nth-child(5n+1) p { color: #fff !important; }
.snb-roll > .wp-block-group:nth-child(5n+1) p:not(.snb-icon) { color: #C4C4CA !important; }
.snb-roll > .wp-block-group:nth-child(5n+1) .snb-icon { color: var(--snb-sun) !important; }
.snb-roll > .wp-block-group:nth-child(5n+2) { background: var(--snb-coral); }
.snb-roll > .wp-block-group:nth-child(5n+2) h3, .snb-roll > .wp-block-group:nth-child(5n+2) p { color: #fff !important; }
.snb-roll > .wp-block-group:nth-child(5n+3) { background: var(--snb-sun); }
.snb-roll > .wp-block-group:nth-child(5n+3) p, .snb-roll > .wp-block-group:nth-child(5n+3) .snb-icon { color: var(--snb-ink) !important; }
.snb-roll > .wp-block-group:nth-child(5n+4) { background: var(--snb-mint); }
.snb-roll > .wp-block-group:nth-child(5n+5) { background: #fff; }
.snb-roll h3 { font-size: 24px; margin: 0 0 8px; }
.snb-roll p { margin: 0; color: var(--wp--preset--color--slate); }
.snb-roll .snb-icon { font-size: 34px; line-height: 1; margin-bottom: 14px !important; font-family: var(--wp--preset--font-family--display); font-weight: 800; color: var(--snb-rust) !important; }

/* ---------- Throwback vault ---------- */
.snb-vault { background: #FFC93C; border: 4px solid var(--snb-ink); border-radius: 30px; padding: clamp(32px, 5vw, 56px) !important; position: relative; }
.snb-vault-badge { position: absolute; top: -26px; right: 48px; background: var(--snb-coral); color: #fff; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 22px; padding: 10px 22px !important; border: 3px solid var(--snb-ink); border-radius: 99px; transform: rotate(4deg); margin: 0 !important; }
.snb-vault-photos { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px !important; }
.snb-vault-photos .wp-block-image { margin: 0; }
.snb-vault-photos .wp-block-image img { aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid #fff; border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.snb-vault-photos .wp-block-image:nth-child(1) { transform: rotate(-4deg); }
.snb-vault-photos .wp-block-image:nth-child(2) { transform: rotate(3deg); }
.snb-vault-photos .wp-block-image:nth-child(3) { transform: rotate(-2deg); }
.snb-vault-header { background: #FFC93C; border-bottom: 4px solid var(--snb-ink); }

/* ---------- Toolkit ---------- */
.snb-toolkit { background: var(--snb-ink); color: #fff; }
.snb-toolkit h2, .snb-toolkit h3 { color: #fff; }
.snb-toolkit .snb-kicker { color: var(--snb-sun); }
.snb-soon-pill { background: var(--snb-sun); color: var(--snb-ink); font-weight: 700; font-size: 14px; letter-spacing: 1px; padding: 8px 16px !important; border-radius: 99px; margin: 0 !important; }
.snb-tool { border: 1.5px solid #3A3A40; border-radius: 22px; padding: 30px !important; }
.snb-tool p { color: #C4C4CA; margin: 0; }

/* ---------- Postcards (newsletter) ---------- */
.snb-postcards { background: #FFC93C; border-radius: 30px; padding: clamp(32px, 5vw, 56px) !important; }
.snb-postcards .wp-block-jetpack-subscriptions input[type="email"] { border: 2px solid var(--snb-ink) !important; border-radius: 99px !important; padding: 15px 20px !important; font-size: 17px; }
.snb-postcards .wp-block-jetpack-subscriptions button { background: var(--snb-ink) !important; color: #fff !important; border-radius: 99px !important; font-weight: 700; padding: 15px 26px !important; }

/* ---------- Single post ---------- */
.snb-post-hero { position: relative; min-height: 600px; display: flex; align-items: flex-end; background: var(--snb-sage); overflow: hidden; padding-bottom: 56px !important; }
.snb-post-hero > .wp-block-post-featured-image { position: absolute; inset: 0; margin: 0 !important; height: 100% !important; }
.snb-post-hero > .wp-block-post-featured-image img { width: 100%; height: 100% !important; object-fit: cover; }
.snb-post-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 75%; background: linear-gradient(to top, rgba(17,17,17,.95), rgba(17,17,17,0)); }
.snb-post-hero > .wp-block-group { position: relative; z-index: 2; width: 100%; }
.snb-post-hero .wp-block-post-title { color: #fff; font-size: clamp(44px, 6vw, 76px); letter-spacing: -0.03em; line-height: 1; max-width: 900px; }
.snb-post-hero .wp-block-post-date, .snb-post-hero .wp-block-post-author-name { color: #E6E6EA; }
.snb-post-hero .wp-block-post-terms a { background: var(--snb-sun); }
.snb-post-body { padding-top: 64px !important; padding-bottom: 96px !important; }
.snb-post-body .wp-block-post-content > p:first-of-type { font-size: 22px; font-weight: 500; line-height: 1.6; }
.snb-post-body .wp-block-post-content h2 { font-size: 36px; margin-top: 2em; }
.snb-post-body .wp-block-post-content .wp-block-image img { border-radius: 18px; }
.snb-post-body .wp-block-post-content .wp-block-image.is-style-polaroid img { border-radius: 6px; }
.snb-post-body .wp-block-post-content .wp-block-embed, .snb-post-body .wp-block-post-content .wp-block-video, .snb-post-body .wp-block-post-content .wp-block-videopress-video { border-radius: 18px; overflow: hidden; }
.snb-sidebar > .wp-block-group { border-radius: 22px; padding: 28px !important; }
.snb-route { background: var(--snb-ink); color: #fff; }
.snb-route h3, .snb-route a { color: #fff; }
.snb-route .snb-kicker { color: var(--snb-sun); font-size: 26px; }
.snb-mini-about { background: var(--snb-mint); }
.snb-mini-postcards { background: #FFC93C; }
.wp-block-post-navigation-link { background: #F1F1F3; border-radius: 18px; padding: 22px 24px; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 20px; line-height: 1.25; }
.wp-block-post-navigation-link a { text-decoration: none; }
.wp-block-post-navigation-link .post-navigation-link__label { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: 14px; color: var(--wp--preset--color--slate); margin-bottom: 4px; }

/* Quick hits + Where we stayed patterns */
.snb-quickhits { background: var(--snb-mint); border-radius: 22px; padding: 28px 32px !important; }
.snb-quickhits h3 { font-size: 22px; margin: 0; }
.snb-qh-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 28px !important; margin-top: 14px !important; }
.snb-qh-grid > * { margin: 0 !important; }
.snb-qh-grid strong { color: var(--snb-ink); }
.snb-qh-grid p { color: #4A4A52; }
.snb-toolkit .snb-tools > .snb-tool { background: transparent !important; border-color: #3A3A40; }
.snb-toolkit .snb-tools > .snb-tool h3 { color: #fff !important; }
.snb-toolkit .snb-tools > .snb-tool p { color: #C4C4CA; }
.snb-quickhits p { margin: 0; font-size: 16px; line-height: 1.5; }
.snb-quickhits strong { display: block; }
.snb-stay { border: 2.5px solid var(--snb-ink); border-radius: 22px; padding: 26px 30px !important; }
.snb-stay .wp-block-image img { width: 84px; height: 84px; object-fit: cover; border-radius: 16px; }
.snb-stay p { margin: 0; line-height: 1.4; }
.snb-watch { background: var(--snb-ink); color: #fff; border-radius: 26px; padding: 28px !important; }
.snb-watch h3 { color: #fff; margin: 0; }
.snb-watch .snb-kicker { color: var(--snb-sun); }

/* ---------- Footer ---------- */
.snb-footer { background: var(--snb-deep); color: #C4C4CA; padding-top: 64px !important; padding-bottom: 40px !important; }
.snb-footer a { color: #C4C4CA; }
.snb-footer a:hover { color: var(--snb-sun); }
.snb-footer .snb-footer-title::before { content: ""; display: block; width: 84px; height: 84px; margin-bottom: 16px; background: url("assets/images/logo-icon.svg") center / contain no-repeat; }
.snb-footer .snb-footer-title { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 28px; color: #fff; margin: 0; }
.snb-footer .snb-kicker { color: var(--snb-sun); font-size: 28px; }
.snb-footer .snb-footer-head { color: #fff; font-weight: 700; margin: 0 0 6px; }
.snb-footer .snb-footer-links p { margin: 0 0 6px; }
.snb-footer .snb-legal { max-width: var(--wp--style--global--wide-size) !important; border-top: 1px solid #2A2A2E; padding-top: 24px; margin-top: 48px; font-size: 14px; }

/* ---------- Comments ---------- */
.wp-block-comments { border-top: 2px solid var(--snb-mint); padding-top: 40px; }
.wp-block-post-comments-form input[type="submit"] { background: var(--snb-ink); color: #fff; border: none; border-radius: 99px; padding: 14px 26px; font-weight: 700; cursor: pointer; }
.wp-block-post-comments-form textarea, .wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]) { border: 2px solid var(--snb-ink); border-radius: 14px; }

/* ---------- Phones ---------- */
@media (max-width: 781px) {
	.snb-polaroids { min-height: 440px; margin-top: 24px !important; }
	.snb-polaroids > .wp-block-image:nth-of-type(1) { left: 4%; width: 64%; }
	.snb-polaroids > .wp-block-image:nth-of-type(2) { top: 150px; width: 50%; }
	.snb-polaroids > .wp-block-image:nth-of-type(3) { width: 52%; }
	.wp-block-image.is-style-polaroid figcaption, .snb-polaroids .wp-block-image figcaption { font-size: 18px; }
	.snb-header .wp-block-site-title { font-size: 19px; }
	.snb-header .wp-block-buttons { display: none; }
	.snb-sticker { width: 104px; height: 104px; bottom: 6px; }
	.snb-sticker .snb-sticker-num { font-size: 34px; }
	.snb-sticker .snb-sticker-label { font-size: 10px; }
	.snb-sticker .snb-sticker-note { display: none; }
	.snb-hero { padding-bottom: 64px !important; }
	.snb-stats { gap: 24px !important; }
	.snb-dest { height: 300px; }
	.snb-arches .wp-block-image img { height: 240px; }
	.snb-vault-badge { right: 24px; font-size: 18px; }
	.snb-post-hero { min-height: 460px; }
}

/* Archive headers */
.snb-hero .wp-block-term-description, .snb-hero .wp-block-term-description p { color: #E6E6EA; font-size: 20px; max-width: 640px; }
.snb-hero .wp-block-search__input { border-radius: 99px; border: 2px solid #fff; padding: 12px 18px; }
.snb-hero .wp-block-search__button { background: var(--snb-sun); color: var(--snb-ink); border-radius: 99px; border: none; }
.snb-vault-header h1 { font-size: var(--wp--preset--font-size--giant); letter-spacing: -0.035em; line-height: .95; }
.snb-vault-header .snb-vault-badge { position: static; display: inline-block; margin-bottom: 18px !important; }
.snb-route .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.snb-route .wp-block-post-title { font-size: 18px; margin: 0 0 12px; line-height: 1.3; }
.snb-route .wp-block-post-title a { text-decoration: none; }
.snb-route .wp-block-post-title a:hover { color: var(--snb-sun); }
.snb-sidebar { display: flex; flex-direction: column; gap: 28px; }

/* Auto-pulled photos */
.snb-auto-photo { margin: 0; }
.snb-auto-photo a { display: block; }
.snb-dest .snb-auto-photo { position: absolute; inset: 0; height: 100%; }
.snb-dest .snb-auto-photo img { width: 100%; height: 100%; object-fit: cover; }
.snb-dest.is-teaser { background: var(--snb-ink); }
.snb-dest.is-teaser::before { content: "SOON"; position: absolute; top: 34%; left: 26px; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 64px; color: var(--snb-coral); line-height: 1; letter-spacing: -0.03em; }
.snb-polaroids .wp-block-image a { text-decoration: none; }
.wp-block-post-featured-image.is-auto img { width: 100%; object-fit: cover; }
.snb-tools { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px !important; }
.snb-tools > .snb-tool { margin: 0 !important; }
.snb-tool h3 { font-size: 24px; margin: 0 0 8px; }
@media (min-width: 782px) {
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child .wp-block-post-featured-image { position: relative; min-height: 460px; height: 100%; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child .wp-block-post-featured-image a { position: absolute; inset: 0; }
	.snb-stories.is-featured-first .wp-block-post-template > li:first-child .wp-block-post-featured-image img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
}
.snb-post-hero > .wp-block-post-featured-image { max-width: none !important; width: 100% !important; }
.snb-header > .wp-block-group { flex-wrap: nowrap !important; }
@media (max-width: 781px) {
	.snb-header .wp-block-site-title { font-size: 17px; gap: 10px; }
	.snb-header .wp-block-site-title::before { width: 40px; height: 40px; }
}

/* Vault passport stamps (shown when the archive lives on the old blog) */
.snb-stamps { gap: 18px !important; }
.snb-stamp { aspect-ratio: 1; border-radius: 50%; border: 4px dashed var(--snb-ink); color: var(--snb-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; box-sizing: border-box; }
.snb-stamp:nth-child(1) { transform: rotate(-8deg); }
.snb-stamp:nth-child(2) { transform: rotate(6deg); border-color: var(--snb-coral); color: var(--snb-coral); }
.snb-stamp:nth-child(3) { transform: rotate(-3deg); }
.snb-stamp-big { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(14px, 1.6vw, 20px); line-height: 1.05; letter-spacing: 1px; }
.snb-stamp-small { font-family: var(--wp--preset--font-family--hand); font-size: clamp(16px, 1.8vw, 22px); line-height: 1.1; margin-top: 4px; }

/* ---------- Travel map ---------- */
.snb-map-section { background: var(--snb-ink); color: #fff; }
.snb-map-section h2 { color: #fff; }
.snb-map-section .snb-kicker { color: var(--snb-sun); }
.snb-map-sub { color: #C4C4CA; font-size: 18px; max-width: 620px; }
.snb-map { margin: 32px 0 0; }
.snb-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.snb-c { fill: #3A3A40; stroke: var(--snb-ink); stroke-width: .6; transition: fill .2s; }
.snb-c:hover { fill: #5B5B63; }
.snb-pin { cursor: pointer; outline: none; }
.snb-pin-dot { stroke: var(--snb-ink); stroke-width: 1.6; }
.snb-pin.is-been .snb-pin-dot { fill: #fff; }
.snb-pin.is-next .snb-pin-dot { fill: var(--snb-sun); }
.snb-pin-halo { fill: var(--snb-sun); opacity: 0; transition: opacity .2s; }
.snb-pin.is-next .snb-pin-halo { opacity: .35; animation: snb-pulse 2.4s ease-in-out infinite; }
@keyframes snb-pulse { 50% { opacity: .05; } }
@media (prefers-reduced-motion: reduce) { .snb-pin.is-next .snb-pin-halo { animation: none; } }
.snb-pin-label { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 13px; fill: #fff; paint-order: stroke; stroke: var(--snb-ink); stroke-width: 4px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.snb-pin:hover .snb-pin-label, .snb-pin:focus .snb-pin-label { opacity: 1; }
.snb-pin:hover .snb-pin-halo, .snb-pin:focus .snb-pin-halo { opacity: .6; }
.snb-map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; font-size: 15px; color: #C4C4CA; }
.snb-key { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; margin-right: -10px; vertical-align: middle; }
.snb-key.is-been { background: #fff; }
.snb-key.is-next { background: var(--snb-sun); border-color: var(--snb-sun); }
.snb-key.is-country { background: var(--snb-coral); border-color: var(--snb-coral); border-radius: 3px; }

/* ---------- Boarding pass (vault) ---------- */
.snb-pass { display: flex; text-decoration: none !important; color: var(--snb-ink) !important; background: #fff; border: 3px solid var(--snb-ink); border-radius: 18px; transform: rotate(-3deg); box-shadow: 8px 10px 0 var(--snb-ink); transition: transform .2s ease; max-width: 520px; margin-left: auto; overflow: hidden; }
.snb-pass:hover { transform: rotate(0) translateY(-4px); }
.snb-pass small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: #5B5B63; }
.snb-pass-main { flex: 1 1 auto; display: flex; flex-direction: column; }
.snb-pass-head { background: var(--snb-coral); color: #fff; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 15px; letter-spacing: 2px; padding: 10px 18px; display: flex; justify-content: space-between; }
.snb-pass-route { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 8px; }
.snb-pass-route b { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); line-height: 1; letter-spacing: -0.5px; }
.snb-pass-plane { color: var(--snb-coral); flex: none; }
.snb-pass-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 8px 18px 18px; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 16px; }
.snb-pass-stub { flex: 0 0 104px; border-left: 3px dashed var(--snb-ink); background: var(--snb-sun); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 10px; }
.snb-pass-barcode { width: 46px; flex: 1; min-height: 110px; background: repeating-linear-gradient(to bottom, var(--snb-ink) 0 3px, transparent 3px 5px, var(--snb-ink) 5px 6px, transparent 6px 9px); }
.snb-pass-board { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 12px; letter-spacing: 1px; margin-top: 12px; text-align: center; }
@media (max-width: 781px) { .snb-pass { margin: 12px auto 0; } .snb-pass-stub { flex-basis: 80px; } }
.snb-pass-plane { transform: scaleX(-1); }
.snb-pass-route b, .snb-pass-head, .snb-pass-grid > span { white-space: nowrap; }
@media (max-width: 781px) {
	.snb-pass-head { font-size: 12px; letter-spacing: 1px; padding: 9px 12px; }
	.snb-pass-route { padding: 12px 12px 6px; }
	.snb-pass-route b { font-size: 20px; }
	.snb-pass-grid { padding: 6px 12px 14px; font-size: 13px; gap: 8px 10px; }
	.snb-pass-stub { flex-basis: 56px; padding: 12px 6px; }
	.snb-pass-barcode { width: 30px; min-height: 90px; }
	.snb-pass-board { font-size: 9px; }
	.snb-pass-plane { width: 24px; height: 24px; }
}
.snb-pass { width: 100%; box-sizing: border-box; }
.snb-pass-main { min-width: 0; }
@media (max-width: 781px) {
	.snb-pass { transform: rotate(-2deg); box-shadow: 5px 6px 0 var(--snb-ink); }
	.snb-pass-route b { font-size: 17px; }
	.snb-pass-grid { font-size: 12px; }
	.snb-pass-stub { flex-basis: 48px; }
	.snb-pass-board { display: none; }
}

.snb-hero h1 mark.has-inline-color { background: none; padding: 0; color: var(--snb-sun); }

/* Read by country list under the map */
.snb-country-list { padding-top: 0 !important; margin-top: 0 !important; }
.snb-country-list .snb-kicker { color: var(--snb-sun) !important; font-size: 24px !important; }
.snb-country-list h3 { color: #fff !important; font-size: 24px !important; margin: 2px 0 16px !important; }
.snb-countries-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.snb-countries-row a { display: inline-flex; align-items: center; gap: 8px; background: #FFC93C; color: #111 !important; text-decoration: none !important; font-weight: 700; font-size: 15px; padding: 9px 16px; border-radius: 99px; border: 2px solid #FFC93C; transition: all .15s ease; }
.snb-countries-row a span { background: #111; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 99px; }
.snb-countries-row a:hover { background: #D6127F; border-color: #D6127F; color: #fff !important; transform: translateY(-2px); }
.snb-map-tip { color: #C4C4CA !important; font-size: 14px !important; margin-top: 14px !important; }
.snb-pass br, .snb-pass p:empty { display: none !important; }
