/*
Theme Name: Quel beau monde
Description: Un thème de voyage conçu pour les récits, les guides et la photographie.
Version: 0.2.8
Text Domain: quel-beau-monde
*/

@font-face {
	font-family: "Instrument Serif";
	src: url("assets/fonts/instrument-serif.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: "Instrument Serif";
	src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url("assets/fonts/dm-sans.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--paper: #f9f6ef;
	--cream: #fffaf0;
	--ink: #172c34;
	--navy: #19343d;
	--muted: #526263;
	--rust: #a3462d;
	--coral: #e0643c;
	--peach: #f3a889;
	--rule: #dcd4c6;
	--display: "Instrument Serif", Georgia, serif;
	--body: "DM Sans", system-ui, sans-serif;
	--page-gutter: clamp(24px, 4.4vw, 72px);
	--photo-radius: 14px;
	--cover-radius: 18px;
	--masthead-height: 74px;
	--admin-bar-offset: 0px;
	--header-clearance: calc(var(--masthead-height) + var(--admin-bar-offset) + 24px);
	scroll-padding-top: var(--header-clearance);
}

@media (min-width: 601px) {
	html:has(body.admin-bar) {
		--admin-bar-offset: var(--wp-admin--admin-bar--height, 32px);
	}
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 16px/1.6 var(--body);
}

a { color: inherit; }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
	outline: 2px solid var(--rust);
	outline-offset: 4px;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font: 400 1em/1.04 var(--display); }
p { margin-block: 0 1em; }

.site-width {
	width: min(calc(100% - 2 * var(--page-gutter)), 1280px);
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	z-index: 30;
	inset: calc(var(--admin-bar-offset) + 8px) auto auto 8px;
	width: auto;
	height: auto;
	padding: 8px 14px;
	clip-path: none;
	background: var(--cream);
}

.masthead {
	position: sticky;
	z-index: 20;
	top: var(--admin-bar-offset);
	border-bottom: 1px solid var(--rule);
	background: var(--paper);
}

.masthead-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	min-height: calc(var(--masthead-height) - 1px);
	position: relative;
}

.brand {
	display: inline-block;
	flex: none;
	color: var(--ink);
	font: 700 clamp(25px, 2.6vw, 35px)/1.1 var(--body);
	letter-spacing: -.065em;
	text-decoration: none;
	text-transform: lowercase;
	white-space: nowrap;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.6vw, 38px);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .875rem;
	font-weight: 600;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links .current-menu-item > a { color: var(--rust); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-disclosure { position: relative; }
.mobile-nav { display: none; }

.icon-button {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid var(--rule);
	border-radius: 50%;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}

.icon-button::-webkit-details-marker { display: none; }
.icon-button:hover, .header-disclosure[open] > summary { border-color: var(--rust); color: var(--rust); }

.search-icon {
	position: relative;
	width: 14px;
	height: 14px;
	margin: 0 3px 3px 0;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}

.search-icon::after {
	content: "";
	position: absolute;
	width: 6px;
	height: 1.5px;
	right: -4px;
	bottom: -2px;
	background: currentColor;
	transform: rotate(46deg);
}

.menu-icon {
	width: 17px;
	height: 11px;
	border-block: 1.5px solid currentColor;
}

.header-popover {
	position: absolute;
	z-index: 5;
	top: calc(100% + 10px);
	right: 0;
	width: min(345px, calc(100vw - 2 * var(--page-gutter)));
	max-height: calc(100dvh - var(--header-clearance));
	overflow-y: auto;
	padding: 18px;
	border: 1px solid var(--rule);
	border-radius: 4px;
	background: var(--cream);
	box-shadow: 0 10px 30px #172c341a;
}

.travel-search { display: flex; flex-wrap: wrap; gap: 10px; }
.travel-search label { flex: 1 1 150px; }
.travel-search input, .comment-form input:not([type="checkbox"]), .comment-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--rule);
	border-radius: 4px;
	background: #fff;
	color: var(--ink);
	font: inherit;
}

.header-search {
	width: min(390px, calc(100vw - 2 * var(--page-gutter)));
	padding: 9px;
	border-radius: 16px;
}

.travel-search-compact { position: relative; display: block; }
.travel-search-compact label { display: block; }
.travel-search-compact input {
	min-height: 54px;
	padding: 10px 58px 10px 14px;
	border-radius: 10px;
}

.travel-search-compact input:focus {
	outline: none;
	border-color: #788a87;
	box-shadow: 0 0 0 2px #19343d18;
}

.search-submit {
	position: absolute;
	inset: 5px 5px 5px auto;
	display: grid;
	width: 44px;
	place-items: center;
	border: 0;
	border-radius: 7px;
	background: var(--navy);
	color: var(--cream);
	cursor: pointer;
}

.search-submit:hover { background: #2e4c56; }
.search-submit:focus-visible { outline-offset: -3px; outline-color: var(--cream); }

.home-content { padding-top: 34px; }

.feature {
	display: grid;
	grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
	overflow: hidden;
	border-radius: var(--cover-radius);
	background: var(--navy);
	color: var(--cream);
}

.feature-without-photo { grid-template-columns: minmax(0, 700px); }

.feature-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(32px, 4.6vw, 76px);
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--rust);
	font: 700 .72rem/1.45 var(--body);
	letter-spacing: .145em;
	text-transform: uppercase;
}

.feature-label { display: flex; align-items: center; gap: 9px; color: var(--peach); }
.feature-label > span:first-child { width: 25px; height: 1px; margin-right: 3px; background: currentColor; }
.label-dot { font-weight: 700; }

.feature h1 {
	margin: 10px 0 19px;
	font-size: clamp(3.4rem, 6.7vw, 7rem);
	line-height: .9;
	letter-spacing: -.03em;
	text-wrap: balance;
}

.feature h1 em { color: var(--peach); }
.feature-description { max-width: 330px; margin: 0 0 26px; color: #f1e7d9; font-size: 1rem; }

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .8em;
	min-height: 43px;
	padding: 9px 17px;
	border: 1px solid transparent;
	border-radius: 3px;
	font: 700 .86rem/1.25 var(--body);
	text-decoration: none;
	cursor: pointer;
}

.button-cream { background: var(--cream); color: var(--ink); }
.button-cream:hover { background: #f5d6c3; color: var(--ink); }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: var(--rust); color: white; }
.button-outline { border-color: var(--rule); }
.button-outline:hover { border-color: var(--rust); }

.feature-photo {
	position: relative;
	min-height: clamp(430px, 38.5vw, 565px);
	background: #536b69;
}

.feature-photo img, .article-cover img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature-photo img { object-position: 53% center; }

.feature-photo figcaption, .article-cover figcaption {
	position: absolute;
	right: 15px;
	bottom: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 11px;
	border-radius: 3px;
	background: var(--navy);
	color: var(--cream);
	font-size: .74rem;
}

.location-pin {
	position: relative;
	width: 9px;
	height: 9px;
	border: 1px solid var(--peach);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
}

.location-pin::after {
	content: "";
	position: absolute;
	inset: 2px;
	border-radius: 50%;
	background: var(--peach);
}

.home-section { margin-block: clamp(55px, 6vw, 92px); }

#destinations:focus { outline: none; }

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 27px;
}

.section-heading h1, .section-heading h2, .tips-section h2 {
	font-size: clamp(2.65rem, 5vw, 4.85rem);
	letter-spacing: -.02em;
	text-wrap: balance;
}

.section-heading .eyebrow { margin-bottom: 8px; }
.topic-nav { margin: 0 0 28px; }
.section-heading .topic-nav { margin: 0; }
.topic-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.topic-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 7px 16px;
	border: 1px solid var(--rule);
	border-radius: 999px;
	font-size: .875rem;
	font-weight: 700;
	text-decoration: none;
}
.topic-nav a:hover { border-color: var(--coral); background: #fbe9df; }
.topic-nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.05vw, 29px); }

.story-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--rule);
	border-radius: var(--photo-radius);
	background: var(--cream);
}

.story-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.story-card-link:hover { color: var(--rust); }
.story-card-link:focus-visible { outline-offset: -4px; }

.story-card-photo { overflow: hidden; aspect-ratio: 1.53; background: #e3dac8; }

.story-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 250ms ease;
}

.story-card-link:hover img { transform: scale(1.035); }

.story-card-copy {
	position: relative;
	flex: 1;
	padding: clamp(17px, 2.15vw, 28px);
	padding-right: clamp(47px, 4.5vw, 67px);
}

.story-card-copy :is(h2, h3) { font-size: clamp(1.65rem, 2.6vw, 2.45rem); text-wrap: pretty; }
.story-card-copy .eyebrow { margin-bottom: 9px; }
.story-card-description { margin: 13px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.card-arrow {
	position: absolute;
	right: clamp(12px, 1.7vw, 24px);
	bottom: 20px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 1px solid var(--rule);
	border-radius: 50%;
	transition: background-color 180ms ease, color 180ms ease;
}
.story-card-link:hover .card-arrow { background: var(--coral); border-color: var(--coral); color: #fff; }

.story-card { transition: transform 250ms ease, box-shadow 250ms ease; }
.story-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #172c341f; }

.tips-section {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(25px, 5vw, 76px);
	align-items: center;
	padding: clamp(25px, 5vw, 66px);
	border: 1px solid #e5d9cb;
	border-radius: 5px;
	background: #f1e7d9;
}

.tips-list { margin: 0; padding: 0; list-style: none; }
.tips-list li { border-top: 1px solid #d5c5b6; }
.tips-list li:last-child { border-bottom: 1px solid #d5c5b6; }

.tips-list a {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	padding: 12px 0;
	font: 400 clamp(1.38rem, 2.5vw, 1.9rem)/1.16 var(--display);
	text-decoration: none;
}

.tips-list a span { align-self: center; color: var(--rust); font: 1rem var(--body); }
.text-link { display: inline-block; margin-top: 17px; font-weight: 700; text-underline-offset: 4px; }

.article-heading {
	max-width: 960px;
	margin-inline: auto;
	padding: clamp(39px, 5vw, 75px) 0 clamp(30px, 4vw, 55px);
	text-align: center;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
	color: var(--muted);
	font-size: .84rem;
	font-weight: 600;
}

.breadcrumbs a {
	display: inline-grid;
	min-height: 34px;
	place-items: center;
	padding-inline: 8px;
	border-radius: 7px;
	text-decoration: none;
}

.breadcrumbs a:hover { background: #e9e8df; color: var(--ink); }
.breadcrumbs .breadcrumb-home { min-width: 34px; }
.breadcrumbs a:focus-visible { outline-offset: 0; }
.breadcrumb-place { padding-inline: 8px; color: var(--ink); font-weight: 700; }

.breadcrumb-separator {
	width: 5px;
	height: 5px;
	border: solid currentColor;
	border-width: 1px 1px 0 0;
	transform: rotate(45deg);
}

.home-icon {
	position: relative;
	width: 16px;
	height: 16px;
}

.home-icon::before {
	content: "";
	position: absolute;
	inset: 2px auto auto 3px;
	width: 9px;
	height: 9px;
	border: solid currentColor;
	border-width: 1.5px 0 0 1.5px;
	border-radius: 2px 0 0;
	transform: rotate(45deg);
}

.home-icon::after {
	content: "";
	position: absolute;
	inset: 7px 3px 1px;
	border: solid currentColor;
	border-width: 0 1.5px 1.5px;
	border-radius: 0 0 2px 2px;
}
.article-heading .eyebrow { margin-bottom: 12px; }
.article-heading h1 { font-size: clamp(3rem, 6.7vw, 6.25rem); line-height: .97; letter-spacing: -.028em; text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin: 19px 0 0; color: var(--muted); font-size: .91rem; }

.article-cover {
	position: relative;
	max-width: 1060px;
	aspect-ratio: 2.14;
	overflow: hidden;
	margin: 0 auto clamp(31px, 5vw, 67px);
	border-radius: var(--cover-radius);
	background: #536b69;
}

.article-cover img { object-position: center 43%; }

.article-hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: clamp(430px, 50vw, 660px);
	margin-block: clamp(18px, 2.5vw, 34px) clamp(31px, 5vw, 67px);
	overflow: hidden;
	border-radius: var(--cover-radius);
	background: #536b69;
	color: var(--cream);
}

.article-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, #12232bf0 0%, #12232b99 42%, #12232b00 78%);
}

.article-hero .article-cover {
	position: absolute;
	inset: 0;
	max-width: none;
	margin: 0;
	aspect-ratio: auto;
	border-radius: 0;
}

.article-hero .article-cover figcaption { top: 15px; bottom: auto; }

.article-hero .article-heading {
	position: relative;
	z-index: 2;
	max-width: none;
	padding: clamp(28px, 5vw, 64px);
	text-align: left;
}

.article-hero .article-heading h1 { max-width: 15em; font-size: clamp(2.5rem, 5.8vw, 5.4rem); }
.article-hero .breadcrumbs { justify-content: flex-start; color: #f1e7d9; }
.article-hero .breadcrumbs a:hover { background: #fffaf026; color: var(--cream); }
.article-hero .breadcrumb-place { color: var(--cream); }
.article-hero .article-meta { justify-content: flex-start; color: #f1e7d9; }
.article-body { max-width: 760px; margin: 0 auto clamp(55px, 8vw, 112px); }
.entry-content { font: 400 clamp(1.04rem, 1.65vw, 1.2rem)/1.8 var(--body); overflow-wrap: anywhere; }
.entry-content p { margin-bottom: 1.35em; }
.entry-content h2 { margin: 1.35em 0 .48em; font-size: clamp(2.35rem, 4.35vw, 3.45rem); }
.entry-content h3 { margin: 1.15em 0 .5em; font-size: clamp(1.85rem, 3.3vw, 2.75rem); }
.entry-content h4 { margin: 1.05em 0 .5em; font-size: 1.65rem; }
.entry-content a { text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content img[class*="wp-image-"]:not(a img) { cursor: zoom-in; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.5em; }
.entry-content li + li { margin-top: .32em; }
.entry-content .wp-block-image { margin-block: 1.6em; }
.entry-content .wp-block-image img { margin-inline: auto; }
.entry-content :is(.wp-block-image img, img[class*="wp-image-"]) { border-radius: var(--photo-radius); }
.entry-content figcaption { color: var(--muted); font: 400 .84rem/1.5 var(--body); text-align: center; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content iframe { max-width: 100%; }
.entry-content blockquote { margin-inline: 0; padding-inline-start: 1.1em; border-inline-start: 2px solid var(--rust); }

.single-story .lwptoc {
	--toc-surface: #eeeee6;
	color: var(--ink);
	font: 400 .9rem/1.48 var(--body);
}

.single-story .lwptoc .lwptoc_i {
	display: block;
	max-width: 100%;
	padding: 8px 10px 10px;
	border-radius: var(--photo-radius);
	background: var(--toc-surface);
	color: var(--ink);
}

.single-story .lwptoc .lwptoc_header {
	margin: 0;
	padding: 12px 12px 10px;
	background: var(--toc-surface);
}

.single-story .lwptoc .lwptoc_title {
	color: var(--ink);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -.025em;
}

.single-story .lwptoc .lwptoc_items { font-size: inherit; }
.single-story .lwptoc .lwptoc_item_number { display: none; }

.single-story .lwptoc .lwptoc_items a {
	position: relative;
	display: block;
	padding: 8px 12px;
	border-radius: 7px;
	color: var(--muted);
	text-decoration: none;
}

.single-story .lwptoc .lwptoc_items a:visited { color: var(--muted); }
.single-story .lwptoc .lwptoc_items a:hover { background: #e6e8df; color: var(--ink); }
.single-story .lwptoc.lwptoc-notInherit .lwptoc_i .lwptoc_items a:hover { border-bottom: 0 !important; }
.single-story .lwptoc .lwptoc_items a:focus-visible { outline-offset: -2px; }

.single-story .lwptoc .lwptoc_items a[aria-current="location"] {
	background: #e0e6dd;
	color: var(--ink);
	font-weight: 700;
}

.single-story .lwptoc .lwptoc_items a[aria-current="location"]::before {
	content: "";
	position: absolute;
	inset: 8px auto 8px 0;
	width: 3px;
	border-radius: 2px;
	background: var(--coral);
}

.article-body.has-sticky-toc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(230px, 265px);
	column-gap: clamp(28px, 3.3vw, 48px);
	max-width: 1060px;
}

.has-sticky-toc > :not(.article-toc-rail) { grid-column: 1; min-width: 0; }
.article-toc-rail { grid-column: 2; grid-row: 1; min-width: 0; }

.article-toc {
	position: sticky;
	top: var(--header-clearance);
	max-height: calc(100vh - var(--header-clearance) - 24px);
	overflow-y: auto;
	scrollbar-width: thin;
	scroll-padding-top: 54px;
	border-radius: var(--photo-radius);
}

.article-toc .lwptoc { margin: 0; }
.single-story .article-toc .lwptoc .lwptoc_i { padding-top: 0; }
.single-story .article-toc .lwptoc .lwptoc_header { position: sticky; z-index: 1; top: 0; }

.related-story {
	max-width: 1060px;
	margin: 0 auto clamp(50px, 7vw, 100px);
	padding-top: clamp(28px, 4vw, 52px);
	border-top: 1px solid var(--rule);
}

.related-story .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.related-story .story-card-photo { aspect-ratio: 2.05; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 32px; }
.article-tags a { padding: 3px 9px; border: 1px solid var(--rule); border-radius: 4px; font-size: .83rem; text-decoration: none; }

.article-comments-wrap { max-width: 760px; margin: 0 auto clamp(55px, 8vw, 112px); }
.article-comments { margin-top: 50px; }
.article-comments h2, .comment-reply-title { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.comment-list { margin: 22px 0; padding-inline-start: 1.2em; }
.comment-list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.comment-list .avatar { display: inline-block; vertical-align: middle; border-radius: 50%; margin-inline-end: 7px; }
.comment-form { margin-top: 18px; }
.comment-form label { display: block; }
.comment-form .comment-form-cookies-consent label { display: inline; }
.comment-form .submit { width: auto; cursor: pointer; font-weight: 700; background: var(--navy) !important; color: white !important; }

.listing { min-height: 55vh; margin-block: clamp(30px, 5vw, 75px); }
.listing-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
	padding: clamp(25px, 5vw, 64px);
	border-radius: var(--cover-radius);
	background: var(--navy);
	color: var(--cream);
}
.listing-heading .eyebrow { color: var(--peach); }
.listing-heading h1 { font-size: clamp(3.2rem, 7vw, 6.7rem); overflow-wrap: anywhere; }
.listing-heading .travel-search { width: min(100%, 370px); }
.listing-heading .button-dark { background: var(--cream); color: var(--ink); }
.listing-heading .button-dark:hover { background: var(--peach); }
.listing-heading-with-cover {
	display: grid;
	grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
	align-items: stretch;
	gap: 0;
	padding: 0;
	overflow: hidden;
}
.listing-heading-with-cover .listing-copy { align-self: center; padding: clamp(24px, 5vw, 64px); }
.listing-cover { position: relative; min-height: 245px; }
.listing-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.listing-description { max-width: 59ch; margin: 12px 0 0; color: #f1e7d9; }
.listing-description p:last-child { margin-bottom: 0; }
.empty-search { padding: 28px 0; }
.empty-search h2 { margin-bottom: 10px; font-size: 2.5rem; }
.empty-search p { color: var(--muted); }

.photo-journal { margin: 0 auto clamp(42px, 7vw, 88px); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
.photo-tile {
	position: relative;
	display: block;
	aspect-ratio: 1.22;
	overflow: hidden;
	border-radius: var(--photo-radius);
	background: var(--navy);
	color: var(--cream);
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease; }
.photo-tile:hover img { transform: scale(1.045); }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, #12232bea); }
.photo-tile-label, .photo-tile-arrow { position: absolute; z-index: 1; color: var(--cream); }
.photo-tile-label { bottom: 16px; left: 19px; display: grid; }
.photo-tile-label > span { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.photo-tile-label strong { font: 400 clamp(2rem, 3.3vw, 3.5rem)/1.03 var(--display); }
.photo-tile-arrow { right: 16px; bottom: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #fffaf08c; border-radius: 50%; }
.photo-tile:focus-visible { outline-offset: 4px; }
.travel-page-photos .article-body { max-width: 100%; }
.travel-page-photos #sb_instagram .sbi_photo { border-radius: var(--photo-radius); }
.travel-page-about .entry-content blockquote {
	padding: clamp(20px, 5vw, 46px);
	border-radius: var(--photo-radius);
	background: #f1e7d9;
	font: 400 clamp(2rem, 4.4vw, 3.6rem)/1.08 var(--display);
}
.travel-page-about .entry-content blockquote p { margin: 0; }
.about-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -25px 0 60px; }
.quiz-geo-promo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 36%);
	align-items: center;
	gap: clamp(22px, 4vw, 58px);
	margin: clamp(42px, 6vw, 75px) 0;
	padding: clamp(22px, 4.4vw, 62px);
	border-radius: var(--cover-radius);
	background: #eeeee6;
}

.quiz-geo-heading { display: flex; align-items: center; gap: 13px; }

.quiz-geo-icon {
	display: grid;
	flex: none;
	width: 48px;
	aspect-ratio: 1;
	place-items: center;
	padding: 4px;
	border-radius: 12px;
	background: #fff;
}

.quiz-geo-promo h2 { font-size: clamp(2.65rem, 4vw, 4rem); }
.quiz-geo-promo p { max-width: 42ch; margin: 14px 0 20px; color: var(--muted); font-size: 1rem; }
.quiz-geo-screens {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 164px));
	justify-content: center;
	gap: clamp(10px, 2vw, 22px);
}

.quiz-geo-screens img {
	width: 100%;
	border: 3px solid var(--navy);
	border-radius: clamp(12px, 1.6vw, 20px);
	background: var(--navy);
	box-shadow: 0 8px 20px #172c3422;
}

@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.reading-progress {
			position: absolute;
			inset: auto 0 -1px;
			height: 2px;
			background: var(--coral);
			transform-origin: left;
			animation: reading-progress auto linear both;
			animation-timeline: scroll(root block);
		}
		@keyframes reading-progress {
			from { transform: scaleX(0); }
			to { transform: scaleX(1); }
		}
	}
}
.pagination { margin-top: 29px; }
.nav-links .page-numbers { min-width: 36px; padding: 4px 8px; text-align: center; }
.nav-links .page-numbers.current { border: 1px solid var(--rust); border-radius: 3px; color: var(--rust); }

.site-footer { border-top: 1px solid var(--rule); background: var(--navy); color: var(--cream); }
.site-footer :is(.brand, a) { color: var(--cream); }
.site-footer a:hover { color: var(--peach); }
.footer-brand p { margin: 10px 0 0; font-size: .88rem; }

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-block: 36px;
}

.footer-inner .nav-links { flex-wrap: wrap; gap: 10px clamp(12px, 2vw, 26px); }

.cmplz-cookiebanner {
	--cmplz_banner_background_color: var(--cream);
	--cmplz_banner_border_color: var(--rule);
	--cmplz_text_color: var(--ink);
	--cmplz_link_color: var(--rust);
	--cmplz_button_accept_background_color: var(--navy);
	--cmplz_button_accept_border_color: var(--navy);
	--cmplz_button_deny_background_color: var(--paper);
	--cmplz_button_deny_border_color: var(--rule);
	--cmplz_button_deny_text_color: var(--ink);
}

@media (max-width: 915px) {
	:root { --masthead-height: 64px; }
	.desktop-nav { display: none; }
	.mobile-nav { display: block; }
	.mobile-nav .nav-links { display: grid; align-items: stretch; gap: 0; }
	.mobile-nav li + li { border-top: 1px solid var(--rule); }
	.mobile-nav a { display: block; padding: 8px 4px; }
	.header-disclosure { position: static; }
	.header-popover { top: calc(100% + 5px); }
}

@media (max-width: 750px) {
	.feature { grid-template-columns: 1fr; }
	.feature-photo { min-height: 0; aspect-ratio: 1.52; }
	.feature h1 { font-size: clamp(3.75rem, 11vw, 6rem); }
	.article-cover { aspect-ratio: 1.55; }
	.story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tips-section { grid-template-columns: 1fr; }
	.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.listing-heading-with-cover { grid-template-columns: 1fr; }
	.listing-cover { min-height: 0; aspect-ratio: 2.2; }
	.quiz-geo-promo { grid-template-columns: 1fr; }
	.quiz-geo-screens { justify-content: start; }
}

@media (max-width: 540px) {
	:root { --page-gutter: 18px; }
	.home-content { padding-top: 18px; }
	.feature-copy { padding: 30px 24px; }
	.brand { font-size: clamp(20px, 6vw, 27px); }
	.feature-description { font-size: .96rem; }
	.feature-photo figcaption, .article-cover figcaption { bottom: 8px; right: 8px; }
	.section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
	.story-grid { grid-template-columns: 1fr; }
	.related-story .story-grid, .photo-grid { grid-template-columns: 1fr; }
	.story-card-photo { aspect-ratio: 1.65; }
	.article-heading h1 { font-size: clamp(2.85rem, 11vw, 4rem); }
}

::selection { background: var(--peach); color: var(--ink); }

.photo-lightbox {
	display: none;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--cream);
}

.photo-lightbox[open] { display: grid; place-items: center; }
.photo-lightbox::backdrop { background: #12232bf0; }
html:has(.photo-lightbox[open]) { overflow: hidden; }
.photo-lightbox figure { display: grid; justify-items: center; gap: 12px; max-width: 94vw; }
.photo-lightbox img { max-width: 94vw; max-height: 80dvh; object-fit: contain; border-radius: var(--photo-radius); }
.photo-lightbox figcaption { max-width: 60ch; font-size: .9rem; text-align: center; }

.photo-lightbox button {
	position: absolute;
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 1px solid #fffaf059;
	border-radius: 50%;
	background: #12232bb3;
	color: var(--cream);
	font: 1.5rem/1 var(--body);
	cursor: pointer;
}

.photo-lightbox button:hover { background: var(--coral); border-color: var(--coral); }
.photo-lightbox button:focus-visible { outline-color: var(--cream); }
.photo-lightbox-close { top: 16px; right: 16px; }
.photo-lightbox-prev { left: 16px; }
.photo-lightbox-next { right: 16px; }

@media (prefers-reduced-motion: no-preference) {
	:root { scroll-behavior: smooth; }

	@view-transition { navigation: auto; }
	.masthead { view-transition-name: masthead; }
	::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
}

@media (prefers-reduced-motion: reduce) {
	.story-card, .story-card-photo img, .photo-tile img, .card-arrow { transition: none; }
}
