/*
Theme Name: No Return Ticket
Theme URI: https://example.com/no-return-ticket
Author: Nicole & Michael
Description: A France travel guide theme for No Return Ticket — travel diaries, La Vie en Instax, the regions of France and Christmas markets. Brand colors Midnight Navy, French Blue, Tricolor Red, Sardine Silver and Baguette Gold; type in Playfair Display and Jost.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: no-return-ticket
Tags: block-theme, full-site-editing, blog, travel, custom-colors, block-patterns
*/

/* ---------- Shared bits ---------- */
.nrt-eyebrow {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	margin: 0;
}
.nrt-tagline {
	font-family: var(--wp--preset--font-family--playfair);
	font-style: italic;
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1.4;
	margin: 0;
}
.nrt-nowrap { white-space: nowrap; }
.nrt-section { padding-top: 72px; padding-bottom: 88px; }
.nrt-section-head { text-align: center; }
.nrt-section-head > * { margin-top: 0; margin-bottom: 0; }
.nrt-btn-red .wp-block-button__link { background: var(--wp--preset--color--tricolor-red); }
.nrt-btn-red .wp-block-button__link:hover { background: var(--wp--preset--color--deep-red); }
.nrt-btn-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--midnight-navy);
	border: 2px solid var(--wp--preset--color--midnight-navy);
	padding: 14px 28px;
}
.nrt-btn-outline .wp-block-button__link:hover { background: var(--wp--preset--color--midnight-navy); color: #fff; }

/* ---------- Header ---------- */
.nrt-header {
	border-bottom: 1px solid var(--wp--preset--color--sardine-silver);
	padding-top: 16px;
	padding-bottom: 16px;
	background: #fff;
}
.nrt-logo { margin: 0; }
.nrt-logo img { width: 196px; height: auto; display: block; }
.nrt-nav {
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.nrt-nav a { text-decoration: none; color: var(--wp--preset--color--midnight-navy); }
.nrt-nav .nrt-nav-highlight > a { color: var(--wp--preset--color--deep-red); }
.nrt-nav .wp-block-navigation__submenu-container {
	text-transform: none;
	letter-spacing: 0.02em;
	font-weight: 400;
	border: 1px solid var(--wp--preset--color--sardine-silver) !important;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 31, 63, 0.14);
	padding: 8px !important;
	min-width: 280px !important;
}
.nrt-nav .wp-block-navigation__submenu-container a { padding: 10px 14px; }

/* ---------- Hero ---------- */
.nrt-hero { padding-top: 72px; padding-bottom: 72px; }
.nrt-hero-text { flex: 1 1 520px; min-width: 0; }
.nrt-hero-text > * { margin-top: 0; margin-bottom: 0; }
.nrt-hero-text h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.05; }
.nrt-hero-text .nrt-tagline { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; }
.nrt-hero-photo { flex: 1 1 420px; min-width: 0; margin: 0 !important; }
.nrt-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; display: block; }

/* ---------- Travel Diaries ---------- */
.nrt-diaries-head { margin-bottom: 48px; }
.nrt-diaries-head > * { margin: 0 !important; }
.nrt-flank { margin: 0; }
.nrt-flank-nicole img { width: 234px; height: auto; display: block; }
.nrt-flank-michael img { width: 164px; height: auto; display: block; }
.nrt-diaries-title { padding-bottom: 12px; text-align: center; }
.nrt-diaries-title > * { margin: 0 !important; }
.nrt-diary-card {
	position: relative;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 31, 63, 0.06);
	height: 100%;
}
.nrt-diary-card .wp-block-post-featured-image { margin: 0; }
.nrt-diary-card .wp-block-post-featured-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.nrt-stamp {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	background: #fff;
	border-radius: 10px;
	padding: 8px 12px;
	text-align: center;
	line-height: 1;
	margin: 0 !important;
}
.nrt-stamp > * { margin: 0 !important; }
.nrt-stamp-day { font-family: var(--wp--preset--font-family--playfair); font-weight: 600; font-size: 28px; }
.nrt-stamp-mon { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--deep-red); margin-top: 4px !important; }
.nrt-diary-body { padding: 24px 28px 28px; }
.nrt-diary-body > * { margin-top: 0; margin-bottom: 12px; }
.nrt-diary-meta { font-size: 14px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wp--preset--color--slate); }
.nrt-diary-meta a { color: inherit; text-decoration: none; }
.nrt-diary-body .wp-block-post-title { font-size: 1.6rem; line-height: 1.2; }
.nrt-diary-body .wp-block-post-title a { color: var(--wp--preset--color--midnight-navy); text-decoration: none; }
.nrt-diary-body .wp-block-post-excerpt { color: var(--wp--preset--color--slate); }
.nrt-diary-body .wp-block-post-excerpt__more-text { margin-top: 12px; }
.nrt-diary-body .wp-block-post-excerpt__more-link { font-weight: 500; text-decoration: none; }

/* ---------- La Vie en Instax ---------- */
.nrt-instax-row {
	overflow-x: auto;
	padding: 8px 4px 16px;
	justify-content: center;
}
.nrt-instax-row > * { margin: 0 !important; }
figure.nrt-instax {
	flex: none;
	width: 200px;
	height: 319px;
	box-sizing: border-box;
	padding: 22px 15px 0;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 2px 4px rgba(0, 31, 63, 0.10), 0 8px 20px rgba(0, 31, 63, 0.10);
	display: flex;
	flex-direction: column;
}
figure.nrt-instax img { width: 170px; height: 230px; object-fit: cover; display: block; }
figure.nrt-instax figcaption {
	font-family: var(--wp--preset--font-family--caveat);
	font-weight: 500;
	font-size: 24px;
	color: var(--wp--preset--color--midnight-navy);
	text-align: center;
	margin: auto 0;
}
@media (max-width: 1140px) {
	.nrt-instax-row { justify-content: flex-start; }
}

/* ---------- Regions ---------- */
.nrt-region {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: #3A5068;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 56px 24px 22px;
	box-sizing: border-box;
	color: #fff;
}
.nrt-region > .wp-block-image { position: absolute; inset: 0; margin: 0 !important; z-index: 0; }
.nrt-region > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.nrt-region::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(0, 20, 40, 0.88) 0%, rgba(0, 20, 40, 0.35) 45%, rgba(0, 20, 40, 0) 70%);
	pointer-events: none;
}
.nrt-region > h3, .nrt-region > p { position: relative; z-index: 2; margin: 0 !important; }
.nrt-region > h3 { font-size: 1.5rem; line-height: 1.15; white-space: nowrap; color: #fff; }
.nrt-region > h3 a { color: #fff; text-decoration: none; }
.nrt-region > h3 a::after { content: ""; position: absolute; inset: -400px -400px -400px -400px; z-index: 3; }
.nrt-region { isolation: isolate; }
.nrt-region > p {
	margin-top: 6px !important;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sardine-silver);
}

/* ---------- Christmas markets ---------- */
.nrt-highlight {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	color: var(--wp--preset--color--midnight-navy);
	margin-top: 40px !important;
	margin-bottom: 40px !important;
}
.nrt-highlight > * { margin: 0 !important; }
.nrt-highlight-art { flex: 999 1 560px; min-width: 0; padding: 24px 8px 24px 24px; box-sizing: border-box; align-self: center; }
.nrt-highlight-art img { width: 100%; height: auto; display: block; }
.nrt-highlight-text { flex: 1 1 340px; min-width: 0; padding: 48px 40px; box-sizing: border-box; align-self: center; }
.nrt-highlight-text > * { margin-top: 0 !important; margin-bottom: 18px !important; }
.nrt-highlight-text h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
.nrt-highlight-text h3::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 18px; background: var(--wp--preset--color--tricolor-red); }
.nrt-highlight-text .nrt-eyebrow { line-height: 1.6; letter-spacing: 0.2em; }
.nrt-highlight-text p:not(.nrt-eyebrow) { color: var(--wp--preset--color--slate); }
.nrt-market > * { margin-top: 0 !important; margin-bottom: 10px !important; }
.nrt-market > .wp-block-image { margin-bottom: 14px !important; }
.nrt-frame img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-sizing: border-box;
	border: 7px solid var(--nrt-frame, #0055A4);
	border-radius: 12px;
	display: block;
}
.nrt-frame--blue { --nrt-frame: #0055A4; }
.nrt-frame--red { --nrt-frame: #EF233C; }
.nrt-frame--gold { --nrt-frame: #D99A36; }
.nrt-frame--silver { --nrt-frame: #DCE5EE; }
.nrt-market-region { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #E9B45E; }
.nrt-market h3 { font-size: 1.5rem; line-height: 1.15; }
.nrt-market h3 a { color: #fff; text-decoration: none; }
.nrt-market h3 a:hover { color: #F3D9A8; }
.nrt-market-dates { font-size: 15px; color: var(--wp--preset--color--sardine-silver); }

/* ---------- Footer ---------- */
.nrt-footer { padding-top: 64px; }
.nrt-newsletter {
	background: #fff;
	border-radius: 16px;
	padding: 32px 36px;
}
.nrt-newsletter > * { margin: 0 !important; }
.nrt-newsletter-text { flex: 1 1 380px; min-width: 0; }
.nrt-newsletter-text > * { margin: 0 0 6px !important; }
.nrt-newsletter-text h2 { font-size: 1.75rem; line-height: 1.2; }
.nrt-footer-cols { margin-top: 48px !important; padding-bottom: 48px; }
.nrt-footer-cols > * { margin: 0 !important; }
.nrt-footer-brand { flex: 2 1 300px; min-width: 0; }
.nrt-footer-brand > * { margin-top: 0 !important; margin-bottom: 16px !important; }
.nrt-footer-brand .nrt-logo img { width: 214px; }
.nrt-footer-brand .nrt-tagline { font-size: 1.2rem; }
.nrt-footer-brand .nrt-tagline img { width: 37px; height: auto; display: inline-block; vertical-align: -6px; margin-left: 6px; transform: rotate(-6deg); }
.nrt-footer-col { flex: 1 1 170px; min-width: 0; }
.nrt-footer-col > * { margin-top: 0 !important; }
.nrt-footer-col .nrt-eyebrow { font-size: 13px; letter-spacing: 0.2em; color: var(--wp--preset--color--slate); margin-bottom: 12px !important; }
.nrt-footer-links { list-style: none; padding: 0; margin: 0; }
.nrt-footer-links li { padding: 6px 0; }
.nrt-footer-links a { color: var(--wp--preset--color--midnight-navy); text-decoration: none; }
.nrt-footer-links a:hover { color: var(--wp--preset--color--french-blue); }
.nrt-bottombar { padding-top: 20px; padding-bottom: 20px; font-size: 14px; }
.nrt-bottombar > * { margin: 0 !important; }
.nrt-bottombar a { color: var(--wp--preset--color--sardine-silver); text-decoration: none; margin-right: 24px; }
.nrt-bottombar a:hover { color: #fff; }

/* Postcard (footer newsletter) */
.nrt-postcard {
	flex: none;
	position: relative;
	width: 272px;
	height: 172px;
	box-sizing: border-box;
	padding: 12px;
	background: #FFFDF7;
	border: 1px solid #E6DCC8;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 31, 63, 0.10), 0 10px 22px rgba(0, 31, 63, 0.12);
	transform: rotate(-4deg);
	display: flex;
	gap: 10px;
	margin: 8px 12px;
}
.nrt-postcard-art { flex: none; width: 128px; border-radius: 3px; background: #DCE5EE; display: flex; align-items: center; justify-content: center; }
.nrt-postcard-art img { width: 118px; height: auto; display: block; transform: rotate(-6deg); }
.nrt-postcard-divider { flex: none; width: 1px; background: #E6DCC8; }
.nrt-postcard-lines {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	padding-bottom: 6px;
	font-family: var(--wp--preset--font-family--caveat);
	font-weight: 500;
	font-size: 19px;
	line-height: 1;
	color: #0055A4;
}
.nrt-postcard-lines span { display: block; white-space: nowrap; border-bottom: 1px solid #C9D3DE; padding: 0 0 3px 2px; min-height: 16px; }
.nrt-stamp-post {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 44px;
	height: 54px;
	box-sizing: border-box;
	background: #fff;
	border: 4px dotted #FFFDF7;
	filter: drop-shadow(0 0 0.6px rgba(0, 31, 63, 0.55));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 3px;
}
.nrt-stamp-flag { display: flex; width: 30px; height: 22px; }
.nrt-stamp-flag i { flex: 1; }
.nrt-stamp-flag i:nth-child(1) { background: #0055A4; }
.nrt-stamp-flag i:nth-child(2) { background: #fff; box-shadow: inset 0 0 0 0.5px #D9CFBC; }
.nrt-stamp-flag i:nth-child(3) { background: #EF233C; }
.nrt-stamp-word { font-family: var(--wp--preset--font-family--jost); font-size: 6.5px; font-weight: 500; letter-spacing: 0.12em; color: #001F3F; line-height: 1; }
.nrt-postmark { position: absolute; top: 34px; right: 30px; opacity: 0.75; }

/* ---------- Posts & pages ---------- */
.nrt-post-header { padding-top: 56px; }
.nrt-post-meta { font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--slate); }
.nrt-post-meta a { color: inherit; text-decoration: none; }
.wp-block-post-featured-image.nrt-post-image img { border-radius: 16px; }

/* Small screens */
@media (max-width: 600px) {
	.nrt-section { padding-top: 56px; padding-bottom: 64px; }
	.nrt-highlight-text { padding: 32px 24px; }
	.nrt-newsletter { padding: 28px 22px; }
	.nrt-flank-nicole img { width: 180px; }
	.nrt-flank-michael img { width: 126px; }
}

/* Sections sit flush against each other */
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wp-block-group > .alignfull + .alignfull { margin-block-start: 0; }
