/*
Theme Name: Ease Advise
Theme URI: https://easeadvise.com/
Author: Ease Advise
Description: A fast, ad-ready editorial theme for Ease Advise with a built-in affiliate Shop page, product cards for posts, AdSense slots and click counting.
Version: 1.5.1
Requires at least: 6.3
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: easeadvise
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--paper: #ffffff;
	--surface: #f2f4f3;
	--ink: #15202b;
	--muted: #586470;
	--rule: #dce1de;
	--accent: #0d6b58;      /* brand / reading links */
	--accent-dk: #08503f;
	--deal: #f2b300;        /* reserved for buying actions */
	--deal-dk: #d99f00;
	--sale: #b42318;

	--display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--text: "Source Serif 4", Georgia, "Times New Roman", serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 10px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--text);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dk); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	color: var(--ink);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	padding: 10px 16px; background: var(--ink); color: #fff;
	font-family: var(--display); border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }

.site-main { padding-bottom: 64px; }

.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 20px;
	font-family: var(--display); font-weight: 600; font-size: 1rem;
	color: #fff; background: var(--accent);
	border-radius: 8px; text-decoration: none;
}
.btn:hover { background: var(--accent-dk); color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--rule);
	backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.header-inner {
	display: flex; align-items: center; gap: 24px;
	min-height: 68px;
}

.brand { flex: 0 0 auto; }
.brand img { max-height: 44px; width: auto; }
.wordmark {
	font-family: var(--display); font-weight: 800; font-size: 1.5rem;
	letter-spacing: -0.03em; color: var(--ink); text-decoration: none;
}

.primary-nav { flex: 1 1 auto; }
.primary-nav .menu { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: block; padding: 10px 12px;
	font-family: var(--display); font-weight: 500; font-size: 0.975rem;
	color: var(--ink); text-decoration: none; border-radius: 6px;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a { color: var(--accent); }

.primary-nav .sub-menu {
	position: absolute; left: 0; top: 100%;
	min-width: 220px; margin: 0; padding: 8px; list-style: none;
	background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
	box-shadow: 0 12px 32px rgba(21, 32, 43, 0.12);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.header-actions { display: flex; gap: 4px; margin-left: auto; }
.icon-btn {
	display: inline-grid; place-items: center;
	width: 42px; height: 42px; padding: 0;
	color: var(--ink); background: transparent; border: 0; border-radius: 8px; cursor: pointer;
}
.icon-btn:hover { background: var(--surface); }
.menu-toggle { display: none; }

.header-search { border-top: 1px solid var(--rule); padding: 14px 0; background: var(--paper); }

@media (max-width: 960px) {
	.menu-toggle { display: inline-grid; }
	.primary-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		max-height: calc(100vh - 68px); overflow-y: auto;
		background: var(--paper); border-bottom: 1px solid var(--rule);
		padding: 8px var(--gutter) 20px;
	}
	.menu-open .primary-nav { display: block; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav a { padding: 12px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--surface); }
	.primary-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0;
	}
}

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 640px; }
.search-form input[type="search"] {
	flex: 1; min-width: 0;
	padding: 12px 14px;
	font: inherit; font-family: var(--display); font-size: 1rem;
	border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: var(--ink);
}
.search-form input[type="search"]:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(13, 107, 88, 0.18); }
.search-form button {
	padding: 0 18px;
	font-family: var(--display); font-weight: 600; font-size: 0.975rem;
	color: #fff; background: var(--ink); border: 0; border-radius: 8px; cursor: pointer;
}

/* ==========================================================================
   Shared: meta, category link, section titles
   ========================================================================== */
.cat-link {
	display: inline-block; margin-bottom: 8px;
	font-family: var(--display); font-weight: 600; font-size: 0.875rem;
	color: var(--accent); text-decoration: none;
}
.cat-link:hover { text-decoration: underline; }

.post-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
	margin: 0;
	font-family: var(--display); font-size: 0.875rem; color: var(--muted);
}
.post-meta a { color: var(--ink); text-decoration: none; font-weight: 600; }
.post-meta .sep { color: var(--rule); }
.updated-note { margin: 2px 0 0; font-family: var(--display); font-size: 0.8125rem; color: var(--muted); }

.section-title { font-size: 1.5rem; margin: 56px 0 20px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 56px 0 20px; }
.section-head .section-title { margin: 0; }
.section-link { font-family: var(--display); font-weight: 600; }

/* ==========================================================================
   Home lead story (the one loud moment)
   ========================================================================== */
.lead {
	display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 56px);
	align-items: center;
	padding: 40px 0 8px;
}
.lead-media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 3 / 2; }
.lead-media img { width: 100%; height: 100%; object-fit: cover; }
.lead-title {
	font-size: clamp(2rem, 4.4vw, 3.75rem);
	font-weight: 750; line-height: 1.02; letter-spacing: -0.035em;
	font-variation-settings: "opsz" 96;
	margin-bottom: 18px;
	text-wrap: balance;
}
.lead-title a { color: var(--ink); text-decoration: none; }
.lead-title a:hover { color: var(--accent); }
.lead-excerpt { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); margin: 0 0 18px; max-width: 46ch; }

@media (max-width: 860px) {
	.lead { grid-template-columns: 1fr; padding-top: 24px; }
}

/* ==========================================================================
   Card grid
   ========================================================================== */
.card-grid {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 28px;
}
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; gap: 32px; } }

.card-media { display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--surface); margin-bottom: 14px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-title { font-size: 1.25rem; font-weight: 650; line-height: 1.22; margin: 0 0 10px; text-wrap: pretty; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent); }

/* Archive heading */
.archive-head { padding: 40px 0 28px; border-bottom: 1px solid var(--rule); margin-bottom: 36px; }
.archive-title { font-size: clamp(1.875rem, 3.6vw, 2.75rem); letter-spacing: -0.025em; margin: 0; }
.archive-desc { margin-top: 10px; color: var(--muted); max-width: 64ch; }
.archive-search { margin-top: 18px; }

/* Breadcrumbs (Rank Math or fallback) */
.rank-math-breadcrumb, .crumbs {
	font-family: var(--display); font-size: 0.875rem; color: var(--muted); margin-bottom: 14px;
}
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb a, .crumbs a { color: var(--muted); text-decoration: none; }
.rank-math-breadcrumb a:hover, .crumbs a:hover { color: var(--accent); }

/* Pagination */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers {
	min-width: 42px; padding: 9px 14px; text-align: center;
	font-family: var(--display); font-weight: 600; color: var(--ink);
	border: 1px solid var(--rule); border-radius: 8px; text-decoration: none;
}
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Single post
   ========================================================================== */
.entry-head { max-width: 860px; padding: 40px 0 24px; }
.entry-title {
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	font-weight: 750; letter-spacing: -0.03em; line-height: 1.06;
	font-variation-settings: "opsz" 96;
	text-wrap: balance;
}
.entry-dek { font-size: 1.25rem; line-height: 1.5; color: var(--muted); margin: 0 0 20px; max-width: 60ch; }
.entry-byline { display: flex; align-items: center; gap: 12px; }
.byline-avatar { border-radius: 50%; }

.entry-hero { margin: 8px 0 40px; }
.entry-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface); }
.entry-hero figcaption { margin-top: 8px; font-family: var(--display); font-size: 0.8125rem; color: var(--muted); }

.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.entry-main { max-width: 720px; min-width: 0; }
@media (max-width: 1024px) {
	.entry-layout { grid-template-columns: 1fr; }
	.entry-main { margin: 0 auto; }
}

/* Article typography */
.prose { font-size: 1.1875rem; line-height: 1.72; }
.prose > * { margin-top: 0; margin-bottom: 1.15em; }
.prose h2 { font-size: 1.75rem; margin-top: 1.9em; margin-bottom: 0.55em; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.375rem; margin-top: 1.6em; margin-bottom: 0.5em; }
.prose h4 { font-size: 1.125rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent); }
.prose img { border-radius: 8px; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption, .prose .wp-element-caption { font-family: var(--display); font-size: 0.8125rem; color: var(--muted); margin-top: 8px; }
.prose blockquote {
	margin-left: 0; padding: 4px 0 4px 22px;
	border-left: 3px solid var(--accent);
	font-style: italic; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; font-family: var(--display); font-size: 0.975rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { background: var(--surface); font-weight: 650; }
.prose code { font-size: 0.9em; background: var(--surface); padding: 2px 5px; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.prose .rank-math-toc, .prose #ez-toc-container, .prose .lwptoc {
	background: var(--surface); border: 0; border-radius: var(--radius); padding: 18px 22px; font-family: var(--display);
}

.page-links { font-family: var(--display); margin: 24px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.tags a {
	padding: 5px 12px; font-family: var(--display); font-size: 0.875rem;
	color: var(--ink); background: var(--surface); border-radius: 999px; text-decoration: none;
}
.tags a:hover { color: var(--accent); }

.author-box {
	display: grid; grid-template-columns: 64px 1fr; gap: 18px;
	padding: 24px 0; margin: 32px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.author-box img { border-radius: 50%; }
.author-name { font-size: 1.125rem; margin-bottom: 4px; }
.author-name a { color: var(--ink); text-decoration: none; }
.author-box p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Sidebar */
.sidebar { position: relative; height: 100%; font-family: var(--display); }
.sidebar-sticky { position: sticky; top: 92px; }
.widget { margin-bottom: 36px; font-size: 0.975rem; }
.widget-title { font-size: 1.0625rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.widget a { color: var(--ink); text-decoration: none; }
.widget a:hover { color: var(--accent); }
@media (max-width: 1024px) { .sidebar { display: none; } }

/* Related, comments */
.related { border-top: 1px solid var(--rule); margin-top: 56px; }
.comments { margin-top: 48px; font-family: var(--display); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-metadata { font-size: 0.8125rem; }
.comment-metadata a { color: var(--muted); }
.comment-content { font-family: var(--text); clear: both; padding-top: 8px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px; font: inherit; border: 1px solid var(--rule); border-radius: 8px;
}
.comment-form .submit {
	padding: 12px 22px; font-family: var(--display); font-weight: 600; font-size: 1rem;
	color: #fff; background: var(--accent); border: 0; border-radius: 8px; cursor: pointer;
}

/* Pages */
.entry--page .entry-head { padding-bottom: 8px; }

/* Empty states */
.empty { padding: 56px 0; text-align: left; }
.empty h1, .empty h2 { font-size: 1.75rem; }
.empty .search-form { margin: 20px 0; }
.big-code { font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; letter-spacing: -0.05em; color: var(--surface); -webkit-text-stroke: 2px var(--rule); margin: 0 0 8px; }

/* ==========================================================================
   Ad slots
   ========================================================================== */
.ad-slot { margin: 36px auto; text-align: center; overflow: hidden; clear: both; }
.ad-label {
	display: block; margin-bottom: 6px;
	font-family: var(--display); font-size: 0.75rem; color: var(--muted);
}
.ad-header { margin: 16px auto 0; padding: 0 var(--gutter); max-width: var(--wrap); min-height: 90px; }
.ad-incontent, .ad-incontent_2, .ad-after_content { min-height: 280px; }
.ad-archive, .ad-shop { min-height: 250px; margin: 48px auto; }
.ad-sidebar { margin: 0; min-height: 600px; }
@media (max-width: 600px) { .ad-header { min-height: 60px; } }

/* ==========================================================================
   Affiliate: disclosure, products, shop page
   ========================================================================== */
.disclosure {
	margin: 0 0 28px; padding: 14px 18px;
	font-family: var(--display); font-size: 0.9rem; line-height: 1.5; color: var(--muted);
	background: var(--surface); border-radius: 8px;
}
.prose .disclosure { font-size: 0.875rem; }
.disclosure-inline { margin: 12px 0 0; font-family: var(--display); font-size: 0.8125rem; color: var(--muted); }

.product-grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.product-grid--embed { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.6em 0; }
@media (max-width: 520px) { .product-grid--embed { grid-template-columns: 1fr; } }

.product {
	display: flex; flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--rule); border-radius: var(--radius);
	overflow: hidden;
	font-family: var(--display);
	transition: border-color 0.15s;
}
.product:hover { border-color: #b9c3be; }

.product-media {
	position: relative; display: block;
	aspect-ratio: 1;
	background: #f7f8f7;
}
.product-media img {
	position: absolute; inset: 16px;
	width: calc(100% - 32px); height: calc(100% - 32px);
	object-fit: contain; mix-blend-mode: multiply;
}
.product-badge {
	position: absolute; left: 10px; top: 10px;
	padding: 4px 10px;
	font-size: 0.75rem; font-weight: 700; color: var(--ink);
	background: var(--deal); border-radius: 999px;
}

.product-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.product-store { margin: 0 0 4px; font-size: 0.8125rem; color: var(--muted); }
.product-title {
	font-size: 1rem; font-weight: 600; line-height: 1.3; margin: 0 0 8px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-rating { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 0.8125rem; color: var(--muted); }
.product-blurb {
	margin: 0 0 12px; font-family: var(--text); font-size: 0.9375rem; line-height: 1.45; color: var(--muted);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-buy { margin-top: auto; }

.stars {
	position: relative; display: inline-block; width: 80px; height: 15px;
	background: left center / 16px 15px repeat-x
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M8 .8l2.2 4.6 5 .6-3.7 3.4 1 5L8 12 3.5 14.4l1-5L.8 6l5-.6z' fill='%23dce1de'/%3E%3C/svg%3E");
}
.stars-fill {
	position: absolute; inset: 0 auto 0 0; overflow: hidden;
	background: left center / 16px 15px repeat-x
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M8 .8l2.2 4.6 5 .6-3.7 3.4 1 5L8 12 3.5 14.4l1-5L.8 6l5-.6z' fill='%23e39b00'/%3E%3C/svg%3E");
}
.stars-num { font-weight: 600; color: var(--ink); }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 12px; }
.price-now { font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.price-was { font-size: 0.875rem; color: var(--muted); }
.price-off { font-size: 0.8125rem; font-weight: 700; color: var(--sale); }

.btn-buy {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; padding: 11px 14px;
	font-family: var(--display); font-weight: 650; font-size: 0.9375rem; line-height: 1.2; text-align: center;
	color: var(--ink); background: var(--deal);
	border-radius: 8px; text-decoration: none;
	transition: background-color 0.15s;
}
.btn-buy:hover { background: var(--deal-dk); color: var(--ink); }
.btn-buy svg { flex: 0 0 auto; }

/* Inline (horizontal) product: inside posts and the picks row */
.product--inline { flex-direction: row; }
.product--inline .product-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 200px; }
.product--inline .product-body { padding: 18px 20px; }
.product--inline .product-title { font-size: 1.125rem; -webkit-line-clamp: 2; }
.product--inline .btn-buy { width: auto; display: inline-flex; padding: 11px 20px; }
.product-embed { margin: 1.6em 0; }
.prose .product-title { margin: 0 0 8px; letter-spacing: 0; }
.prose .product p { margin-top: 0; }
@media (max-width: 520px) {
	.product--inline .product-media { flex-basis: 36%; min-height: 0; }
	.product--inline .product-media img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
	.product--inline .product-body { padding: 14px; }
	.product--inline .product-title { font-size: 1rem; }
	.product--inline .product-blurb { -webkit-line-clamp: 2; font-size: 0.875rem; }
	.product--inline .btn-buy { width: 100%; padding: 10px 12px; }
}

/* Shop page */
.shop-head { padding: 44px 0 20px; max-width: 760px; }
.shop-title {
	font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02;
	font-variation-settings: "opsz" 96;
	margin-bottom: 14px;
}
.shop-intro { font-size: 1.125rem; color: var(--muted); }
.shop-intro > :last-child { margin-bottom: 0; }

.picks { margin-bottom: 8px; }
.picks .section-title { margin-top: 12px; }
.picks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.picks .product--inline { flex-direction: column; }
.picks .product--inline .product-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
.picks .product--inline .btn-buy { width: 100%; }
@media (max-width: 900px) {
	.picks-grid { grid-template-columns: 1fr; gap: 12px; }
	.picks .product--inline { flex-direction: row; }
	.picks .product--inline .product-media { flex: 0 0 36%; aspect-ratio: auto; }
}

.shop-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	margin: 44px 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
	font-family: var(--display);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	padding: 8px 14px;
	font-size: 0.9rem; font-weight: 600; color: var(--ink);
	background: var(--surface); border: 1px solid transparent; border-radius: 999px; text-decoration: none;
}
.chip:hover { border-color: var(--rule); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); }
.sort select {
	padding: 8px 32px 8px 12px; font: inherit; color: var(--ink);
	border: 1px solid var(--rule); border-radius: 8px; background-color: var(--paper);
}

/* Shop strip on the home page */
.shop-strip { margin-top: 8px; padding: 0 0 8px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #c9d1d6; font-family: var(--display); padding-top: 56px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--deal); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
.wordmark--footer { color: #fff; font-size: 1.75rem; }
.footer-about p { max-width: 42ch; font-size: 0.975rem; line-height: 1.55; margin: 12px 0 18px; }
.social { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; font-weight: 600; }
.site-footer .widget-title { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.25); }
.site-footer .widget li { border-bottom-color: rgba(255, 255, 255, 0.1); }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
	padding: 20px var(--gutter); border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem;
}
.footer-bottom p { margin: 0; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }

/* ==========================================================================
   WordPress core classes
   ========================================================================== */
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { max-width: none; }
.wp-caption-text, .gallery-caption { font-size: 0.8125rem; color: var(--muted); }
.bypostauthor > .comment-body .fn::after { content: " (author)"; font-weight: 400; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.site-header, .site-footer, .sidebar, .ad-slot, .comments, .related { display: none !important; }
}

/* Compact two-up product grid on phones */
@media (max-width: 760px) {
	.product-grid .product-blurb { display: none; }
	.product-grid .product-body { padding: 12px; }
	.product-grid .btn-buy { font-size: 0.875rem; padding: 10px 8px; }
	.product-grid .btn-buy svg { display: none; }
}

/* ==========================================================================
   Home page (magazine layout)
   ========================================================================== */
.home { padding-top: 28px; }

/* Hero: lead story with headline over the photo, top stories beside it */
.hero {
	display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px;
	align-items: stretch;
}
.hero-lead {
	position: relative; isolation: isolate;
	min-height: 460px; border-radius: 14px; overflow: hidden;
	background: var(--ink);
}
.hero-lead-media, .hero-lead-media img, .hero-lead-media .img-ph {
	position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-lead-media img { object-fit: cover; transition: transform 0.5s ease; }
.hero-lead:hover .hero-lead-media img { transform: scale(1.025); }
.hero-lead-body {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
	padding: 96px clamp(20px, 3vw, 36px) clamp(20px, 3vw, 32px);
	background: linear-gradient(to top, rgba(10, 16, 22, 0.92) 0%, rgba(10, 16, 22, 0.72) 45%, rgba(10, 16, 22, 0) 100%);
	color: #fff;
	pointer-events: none;
}
.hero-lead-body a { pointer-events: auto; }
.hero-lead .cat-link { color: var(--deal); }
.hero-title {
	font-size: clamp(1.75rem, 3.3vw, 2.9rem);
	font-weight: 750; line-height: 1.05; letter-spacing: -0.03em;
	font-variation-settings: "opsz" 96;
	margin: 0 0 12px; max-width: 22ch; text-wrap: balance;
}
.hero-title a { color: #fff; text-decoration: none; }
.hero-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.hero-excerpt { margin: 0 0 14px; max-width: 58ch; font-size: 1.0625rem; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.hero-lead .post-meta, .hero-lead .post-meta a { color: rgba(255, 255, 255, 0.82); }
.hero-lead .post-meta .sep { color: rgba(255, 255, 255, 0.4); }

.hero-side { display: flex; flex-direction: column; }
.hero-side-title {
	font-size: 1.125rem; margin: 0; padding-bottom: 12px; border-bottom: 2px solid var(--ink);
}
.hero-side .mini { flex: 1; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.hero-side .mini:last-child { border-bottom: 0; padding-bottom: 0; }

/* Compact row */
.mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
.mini-media { display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--surface); }
.mini-media img { width: 100%; height: 100%; object-fit: cover; }
.mini .cat-link { margin-bottom: 2px; font-size: 0.8125rem; }
.mini-title {
	font-size: 1rem; font-weight: 600; line-height: 1.28; margin: 0 0 4px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-title a { color: var(--ink); text-decoration: none; }
.mini-title a:hover { color: var(--accent); }
.mini .post-meta { font-size: 0.8125rem; }

/* Sections */
.home-section { margin-top: 56px; }
.home .section-head {
	margin: 0 0 22px; padding-top: 14px; border-top: 2px solid var(--ink);
}
.home .section-title { margin: 0; font-size: 1.5rem; }
.home .section-title a { color: var(--ink); text-decoration: none; }
.home .section-title a:hover { color: var(--accent); }
.section-link { font-size: 0.9375rem; text-decoration: none; }
.section-link:hover { text-decoration: underline; }

/* Category block: one feature + three compact rows */
.cat-block-grid {
	display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start;
}
.cat-block--flip .cat-block-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.cat-block--flip .cat-block-grid > .card { order: 2; }
.cat-block .card-title { font-size: 1.5rem; letter-spacing: -0.015em; }
.cat-block-list { display: flex; flex-direction: column; gap: 0; }
.cat-block-list .mini { padding: 16px 0; border-bottom: 1px solid var(--rule); grid-template-columns: 136px minmax(0, 1fr); }
.cat-block-list .mini:first-child { padding-top: 0; }
.cat-block-list .mini:last-child { border-bottom: 0; }
.card-excerpt { margin: 0 0 10px; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }

.home .shop-strip { margin-top: 56px; }
.home .ad-slot { margin: 48px auto 0; }

.more-wrap { text-align: center; margin: 56px 0 0; }
.btn--outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* Placeholder image when a post has no picture at all */
.img-ph {
	display: grid; place-items: center; width: 100%; height: 100%; min-height: 64px;
	font-family: var(--display); font-weight: 800; color: rgba(255, 255, 255, 0.92);
	font-size: clamp(1.5rem, 6vw, 4rem);
}
.mini-media .img-ph { font-size: 1.5rem; }
.tone-1 { background: linear-gradient(135deg, #0d6b58, #0a4b3f); }
.tone-2 { background: linear-gradient(135deg, #1f4e79, #163757); }
.tone-3 { background: linear-gradient(135deg, #8a4a2f, #5f3220); }
.tone-4 { background: linear-gradient(135deg, #5b4b8a, #3f3463); }
.tone-5 { background: linear-gradient(135deg, #3d6b2f, #2a4a20); }
.tone-6 { background: linear-gradient(135deg, #9a6a00, #6d4b00); }
.card-media .img-ph { aspect-ratio: 3 / 2; }

/* Home responsive */
@media (max-width: 1024px) {
	.hero { grid-template-columns: 1fr; }
	.hero-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
	.hero-side-title { grid-column: 1 / -1; }
	.hero-side .mini:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 760px) {
	.home { padding-top: 16px; }
	.hero-lead { min-height: 0; aspect-ratio: 4 / 5; border-radius: 12px; }
	.hero-excerpt { display: none; }
	.hero-lead-body { padding-top: 120px; }
	.hero-side { grid-template-columns: 1fr; }
	.hero-side .mini:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
	.cat-block-grid, .cat-block--flip .cat-block-grid { grid-template-columns: 1fr; gap: 20px; }
	.cat-block--flip .cat-block-grid > .card { order: 0; }
	.cat-block .card-title { font-size: 1.3125rem; }
	.cat-block-list .mini { grid-template-columns: 112px minmax(0, 1fr); }
	.home-section, .home .shop-strip { margin-top: 44px; }
	.home .section-head { flex-wrap: wrap; gap: 4px 16px; }
}
@media (max-width: 560px) {
	.home .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.home .card-grid { gap: 0; }
	.home .card-grid .card { padding: 16px 0; border-bottom: 1px solid var(--rule); }
	.home .card-grid .card:first-child { padding-top: 0; }
	.home .card-grid .card:last-child { border-bottom: 0; }
	.home .card-grid .card:not(:first-child) {
		display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start;
	}
	.home .card-grid .card:not(:first-child) .card-media { margin: 0; border-radius: 8px; }
	.home .card-grid .card:not(:first-child) .card-title { font-size: 1rem; line-height: 1.28; margin-bottom: 4px; }
	.home .card-grid .card:not(:first-child) .cat-link { font-size: 0.8125rem; margin-bottom: 2px; }
	.home .card-grid .card:not(:first-child) .post-meta { font-size: 0.8125rem; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-page { padding: 44px var(--gutter) 0; }
.contact-head { max-width: 720px; margin-bottom: 36px; }
.contact-title {
	font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02;
	font-variation-settings: "opsz" 96; margin-bottom: 14px;
}
.contact-intro { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); margin: 0; }
.contact-intro.prose > :last-child { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.contact-card {
	background: var(--paper); border: 1px solid var(--rule); border-radius: 16px;
	padding: clamp(22px, 4vw, 40px);
	box-shadow: 0 1px 0 var(--rule), 0 24px 48px -32px rgba(21, 32, 43, 0.35);
	font-family: var(--display);
}
.contact-card-title { font-size: 1.5rem; margin-bottom: 22px; }

.contact-form fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.contact-form legend, .contact-form .field > label {
	display: block; margin-bottom: 8px; padding: 0;
	font-size: 0.9375rem; font-weight: 600; color: var(--ink);
}

/* Topic pills */
.topic-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
	display: inline-block; padding: 9px 14px;
	font-size: 0.9rem; font-weight: 500; color: var(--ink);
	background: var(--surface); border: 1.5px solid transparent; border-radius: 999px;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.pill:hover span { border-color: var(--rule); }
.pill input:checked + span { background: var(--accent); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin: 0 0 18px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
	width: 100%; padding: 13px 14px;
	font: inherit; font-size: 1rem; color: var(--ink);
	background: #fbfcfb; border: 1.5px solid var(--rule); border-radius: 10px;
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.contact-form textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.contact-form input:hover, .contact-form textarea:hover { border-color: #c3cbc7; }
.contact-form input:focus, .contact-form textarea:focus {
	outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(13, 107, 88, 0.14);
}
.contact-form ::placeholder { color: #8b959d; }
.was-validated input:invalid, .was-validated textarea:invalid { border-color: var(--sale); }
.field-count { position: absolute; right: 12px; bottom: 10px; font-size: 0.75rem; color: var(--muted); pointer-events: none; }

.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 4px 0 22px; font-size: 0.9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.was-validated .consent input:invalid { outline: 2px solid var(--sale); outline-offset: 2px; }

.btn-send {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; min-width: 200px;
	font-family: var(--display); font-weight: 650; font-size: 1.0625rem;
	color: #fff; background: var(--accent); border: 0; border-radius: 10px; cursor: pointer;
	transition: background-color 0.15s, transform 0.1s;
}
.btn-send:hover { background: var(--accent-dk); }
.btn-send:active { transform: translateY(1px); }
.btn-send:disabled { opacity: 0.7; cursor: progress; }

.form-alert {
	margin: 0 0 20px; padding: 12px 16px;
	font-size: 0.9375rem; color: #7a1a12; background: #fdecea; border-radius: 10px;
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-done { text-align: center; padding: 24px 0; color: var(--accent); }
.contact-done svg { margin: 0 auto 14px; }
.contact-done h2 { color: var(--ink); font-size: 1.75rem; }
.contact-done p { color: var(--muted); font-size: 1.0625rem; margin: 0 0 18px; }

/* Side column */
.contact-side { font-family: var(--display); display: flex; flex-direction: column; gap: 14px; }
.side-block { padding: 20px 22px; background: var(--surface); border-radius: 14px; }
.side-block h2 { font-size: 1.0625rem; margin-bottom: 6px; }
.side-block p { margin: 0; color: var(--muted); font-size: 0.975rem; line-height: 1.5; }
.side-email { font-weight: 600; word-break: break-all; }
.side-block--ad { background: var(--ink); color: #c9d1d6; }
.side-block--ad h2 { color: #fff; }
.side-block--ad p { color: #c9d1d6; margin-bottom: 14px; }
.side-cta {
	display: inline-block; padding: 10px 16px; font-weight: 650; font-size: 0.9375rem;
	color: var(--ink); background: var(--deal); border-radius: 8px; text-decoration: none;
}
.side-cta:hover { background: var(--deal-dk); color: var(--ink); }
.side-social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 6px 0 0; padding: 0; }
.side-social a {
	display: inline-block; padding: 7px 12px; font-size: 0.875rem; font-weight: 600;
	color: var(--ink); background: var(--paper); border-radius: 999px; text-decoration: none;
}
.side-social a:hover { color: var(--accent); }

@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
	.contact-page { padding-top: 28px; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.btn-send { width: 100%; }
	.contact-card { border-radius: 14px; }
}

/* ==========================================================================
   Cheap flights page
   ========================================================================== */
.fl-hero {
	position: relative; overflow: hidden;
	padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
	color: #fff;
	background:
		radial-gradient(1200px 400px at 85% -10%, rgba(13, 107, 88, 0.55), transparent 60%),
		linear-gradient(160deg, #15202b 0%, #12303a 100%);
}
.fl-hero::after {
	/* a faint dotted flight path across the hero */
	content: ""; position: absolute; right: -60px; top: 30px; width: 520px; height: 220px;
	border-top: 2px dashed rgba(242, 179, 0, 0.35); border-radius: 50%; transform: rotate(-8deg);
	pointer-events: none;
}
.fl-title {
	color: #fff; max-width: 18ch;
	font-size: clamp(2.1rem, 5vw, 3.9rem); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02;
	font-variation-settings: "opsz" 96; margin-bottom: 14px; text-wrap: balance;
}
.fl-sub { max-width: 60ch; margin: 0 0 28px; font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }

.fl-search-card {
	position: relative; z-index: 1;
	background: #fff; color: var(--ink); border-radius: 16px;
	padding: 18px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}
.fl-widget { min-height: 120px; }

.fl-form {
	display: grid; gap: 10px; align-items: end;
	grid-template-columns: minmax(0, 1.25fr) 40px minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr) auto;
	font-family: var(--display);
}
.fl-field label { display: block; margin: 0 0 6px 2px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.fl-field input, .fl-field select {
	width: 100%; height: 52px; padding: 0 14px;
	font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink);
	background: #f6f8f7; border: 1.5px solid var(--rule); border-radius: 10px;
}
.fl-field input:focus, .fl-field select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(13, 107, 88, 0.14); }
.fl-swap {
	height: 40px; width: 40px; margin-bottom: 6px; display: grid; place-items: center;
	color: var(--accent); background: #fff; border: 1.5px solid var(--rule); border-radius: 50%; cursor: pointer;
}
.fl-swap:hover { border-color: var(--accent); }
.fl-submit {
	height: 52px; padding: 0 26px; white-space: nowrap;
	font-family: var(--display); font-weight: 700; font-size: 1.0625rem;
	color: var(--ink); background: var(--deal); border: 0; border-radius: 10px; cursor: pointer;
	transition: background-color 0.15s;
}
.fl-submit:hover { background: var(--deal-dk); }
.fl-error { grid-column: 1 / -1; margin: 4px 0 0; font-size: 0.9rem; color: var(--sale); }

.fl-trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; padding: 0; list-style: none; font-family: var(--display); font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); }
.fl-trust li { display: flex; align-items: center; gap: 8px; }
.fl-trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--deal); }
.fl-admin-hint { margin: 16px 0 0; padding: 10px 14px; background: #fff3cd; color: #5c4300; border-radius: 8px; font-family: var(--display); font-size: 0.875rem; }

.fl-page { padding-top: 20px; }
.fl-disclosure { margin: 0; font-family: var(--display); font-size: 0.8125rem; color: var(--muted); }
.fl-section { margin-top: 52px; }
.section-head--rule { margin: 0 0 22px; padding-top: 14px; border-top: 2px solid var(--ink); }
.section-head--rule .section-title { margin: 0; }

.fl-routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fl-route {
	display: flex; flex-direction: column; gap: 4px;
	padding: 18px; border: 1px solid var(--rule); border-radius: 14px;
	font-family: var(--display); color: var(--ink); text-decoration: none; background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.fl-route:hover { border-color: var(--accent); box-shadow: 0 10px 24px -16px rgba(13, 107, 88, 0.6); color: var(--ink); }
.fl-route-codes { display: flex; align-items: center; gap: 8px; font-size: 1.5rem; font-weight: 750; letter-spacing: 0.01em; }
.fl-route-codes svg { color: var(--accent); }
.fl-route-names { font-size: 0.9375rem; color: var(--muted); }
.fl-route-cta { margin-top: 8px; font-size: 0.875rem; font-weight: 650; color: var(--accent); }

.fl-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl-extra {
	display: flex; gap: 16px; align-items: center; padding: 20px;
	background: var(--surface); border-radius: 14px; text-decoration: none; color: var(--muted);
	font-family: var(--display); font-size: 0.975rem;
}
.fl-extra strong { display: block; color: var(--ink); font-size: 1.125rem; margin-bottom: 2px; }
.fl-extra:hover strong { color: var(--accent); }
.fl-extra-icon { flex: 0 0 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--accent); }

.fl-tip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.fl-tip h3 { font-size: 1.125rem; margin-bottom: 6px; }
.fl-tip p { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.55; }

.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
	cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
	font-family: var(--display); font-weight: 650; font-size: 1.125rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item p { margin: 0 0 18px; max-width: 70ch; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }

.fl-bottom { margin-top: 56px; padding: clamp(22px, 4vw, 36px); background: var(--surface); border-radius: 16px; }
.fl-bottom h2 { font-size: 1.5rem; margin-bottom: 16px; }

/* Flight box inside articles */
.fl-box {
	margin: 2.2em 0; padding: 22px; border-radius: 16px;
	background: linear-gradient(160deg, #15202b 0%, #12303a 100%); color: #fff; font-family: var(--display);
}
.prose .fl-box > * { margin-top: 0; }
.fl-box-title { font-size: 1.375rem; font-weight: 750; margin: 0 0 4px; letter-spacing: -0.01em; }
.fl-box-sub { margin: 0 0 16px; font-size: 0.975rem; color: rgba(255, 255, 255, 0.8); }
.fl-box-note { margin: 12px 0 0; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.fl-box .fl-field label { color: rgba(255, 255, 255, 0.75); }
.fl-box .fl-error { color: #ffb4a8; }
.fl-form--compact { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) auto; }

/* Highlight a menu item: add the CSS class "menu-cta" to it in Appearance → Menus */
.primary-nav .menu-cta > a { background: var(--deal); color: var(--ink); font-weight: 650; padding: 8px 14px; margin: 2px 0 2px 6px; border-radius: 999px; }
.primary-nav .menu-cta > a:hover { background: var(--deal-dk); color: var(--ink); }

@media (max-width: 1100px) {
	.fl-form { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); }
	.fl-form .fl-date, .fl-form .fl-pax { grid-column: span 1; }
	.fl-form .fl-date:first-of-type { grid-column: 1; }
	.fl-form:not(.fl-form--compact) .fl-pax { grid-column: 3; }
	.fl-form:not(.fl-form--compact) .fl-submit { grid-column: 1 / -1; }
	.fl-routes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.fl-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.fl-route { padding: 14px; }
	.fl-route-codes { font-size: 1.25rem; }
	.fl-extras, .fl-tip-grid { grid-template-columns: 1fr; }
	.fl-hero::after { display: none; }
}
@media (max-width: 560px) {
	.fl-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 8px; }
	.fl-field input, .fl-field select { min-width: 0; }
	.fl-form--compact { grid-template-columns: 1fr; }
	.fl-form .fl-from, .fl-form .fl-to, .fl-form .fl-swap, .fl-form .fl-pax, .fl-form .fl-submit { grid-column: 1 / -1 !important; }
	.fl-form .fl-date { grid-column: auto !important; }
	.fl-form .fl-date label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.fl-form .fl-swap { justify-self: end; width: 36px; height: 36px; margin: -22px 14px -22px 0; position: relative; z-index: 1; transform: rotate(90deg); }
	.fl-submit { width: 100%; }
	.fl-search-card { padding: 14px; border-radius: 14px; }
	.primary-nav .menu-cta > a { display: inline-block; margin: 8px 0; }
}
