/* ==========================================================================
   Flight fares block — the living flight-fare reference on the site.
   Markup: classes/Domain/Fares/FlightFaresBlock.php (variants card|strip|section).

   Ticket 2026-10-06 (fares-site-placement, Fable's plan).

   Theme-safe: every colour is a --lw-* token the light theme remaps
   (functions.php), like offer-promo.css — the same rules serve the dark
   (default) and the light theme. RTL-safe: logical properties only
   (margin-block / padding-inline), no left/right.
   Spacing: --gs-space-* tokens from the plugin design system with fixed
   fallbacks (the marketing pages do not load design-tokens.css), never
   less than 16 px between the block and its neighbours.
   Never a link anywhere in this block: we never search flights for a client.
   ========================================================================== */

.evd-flight-fares {
	/* Local aliases over the shared tokens, remapped by the light theme. */
	--evd-fares-surface: var(--lw-card-bg);
	--evd-fares-border: var(--lw-card-border);
	--evd-fares-heading: var(--lw-section-heading);
	--evd-fares-text: var(--lw-section-text);
	--evd-fares-muted: var(--lw-section-muted);
	--evd-fares-accent: var(--lw-gold-a11y-dark);

	/*
	 * Information note, never part of the offer (Ahmed, 21/10/2026: the fares
	 * must read as information, not as content we sell). Every variant is a
	 * bounded, framed note with a neutral start rule — gold only on the small
	 * icons, no price emphasis — so it cannot be mistaken for an offer card.
	 */
	box-sizing: border-box;
	max-width: min(800px, calc(100% - 2 * var(--gs-space-lg, 16px)));
	/* --gs-space-xl above AND below: adjacent blocks never touch. */
	margin-block: var(--gs-space-xl, 20px);
	margin-inline: auto;
	padding: var(--gs-space-lg, 16px);
	background: var(--evd-fares-surface);
	border: 1px solid var(--evd-fares-border);
	border-inline-start: 3px solid var(--evd-fares-muted);
	border-radius: var(--lw-radius-md, 8px);
	color: var(--evd-fares-muted);
	font-family: var(--lw-font-body);
	font-size: 0.9rem;
}

/* Header of the note: info mark + "for information only" label. */
.evd-flight-fares__notice {
	display: flex;
	align-items: flex-start;
	gap: var(--gs-space-sm, 8px);
	margin: 0 0 var(--gs-space-lg, 16px);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--evd-fares-text);
}

.evd-flight-fares__month {
	margin: 0 0 var(--gs-space-sm, 8px);
	font-family: var(--lw-font-body);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--evd-fares-muted);
}

/* Card variant — retained for plugin block consumers. */
.evd-flight-fares--card {
	max-width: none;
}

/* Strip — villas listing and search results: the same bounded note as the
   section, lines laid out horizontally. */
.evd-flight-fares--strip {
	margin-block-start: var(--gs-space-2xl, 24px);
}

/* Section — long-stay and "comment venir" pages, one sub-block per month. */
.evd-flight-fares--section {
	max-width: min(800px, calc(100% - 2 * var(--gs-space-lg, 16px)));
	margin-inline: auto;
	margin-block-end: var(--gs-space-2xl, 24px);
}

.evd-flight-fares--section .evd-flight-fares__month + .evd-flight-fares__lines,
.evd-flight-fares--section .evd-flight-fares__lines + .evd-flight-fares__footer {
	margin-block-start: var(--gs-space-lg, 16px);
}

.evd-flight-fares--section .evd-flight-fares__footer + .evd-flight-fares__month,
.evd-flight-fares--section .evd-flight-fares__footer + .evd-flight-fares__lines {
	margin-block-start: var(--gs-space-3xl, 32px);
}

.evd-flight-fares__lines {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: var(--gs-space-sm, 8px);
}

.evd-flight-fares--strip .evd-flight-fares__lines {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: var(--gs-space-md, 12px) var(--gs-space-lg, 16px);
}

.evd-flight-fares__lines li {
	line-height: 1.45;
	font-weight: 400;
}

.evd-flight-fares__footer {
	display: flex;
	align-items: center;
	gap: var(--gs-space-sm, 8px);
	margin: var(--gs-space-lg, 16px) 0 0;
	font-size: 0.8rem;
	color: var(--evd-fares-muted);
}

.evd-flight-fares__icon {
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--evd-fares-accent);
}
