/*
Theme Name: Bali Ferry Routes
Template: kadence
Description: Child theme for Bali Ferry Routes. Colours and type come from the Kadence global palette and typography settings; this file holds the layout, header, footer and the reusable components. Documentation: docs/DESIGN.md in the project folder.
Version: 0.1.0
Text Domain: island-hop
*/

/* ==========================================================================
   1. Lettertype en tokens
   ========================================================================== */

@font-face {
	font-family: "DM Sans";
	src: url("fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("fonts/dm-sans-latin-wght-italic.woff2") format("woff2");
	font-weight: 100 1000;
	font-style: italic;
	font-display: swap;
}

:root {
	/* Uit het Kadence-palet (Customizer > Colors); de terugvalwaarden zijn dezelfde kleuren */
	--ih-sea: var(--global-palette1, #176b73);
	--ih-coral: var(--global-palette2, #e8795b);
	--ih-navy: var(--global-palette3, #123042);
	--ih-text: var(--global-palette4, #26343a);
	--ih-muted: var(--global-palette5, #5d6a6f);
	--ih-lagoon: var(--global-palette6, #35a9a0);
	--ih-sand: var(--global-palette7, #f3e9d8);
	--ih-paper: var(--global-palette8, #ffffff);
	--ih-white: var(--global-palette9, #ffffff);
	--ih-mist: var(--global-palette10, #eaf3f1);
	--ih-alert: var(--global-palette13, #a3402a);

	/* Afgeleide tinten */
	--ih-sea-dark: #0f545b;
	--ih-coral-light: #f0906f;
	--ih-sea-tint: #e1eeeb;
	--ih-sand-line: #d8c6a4;
	--ih-line: rgba(18, 48, 66, 0.13);
	--ih-line-strong: rgba(18, 48, 66, 0.3);

	/* Bestemmingsaccenten: alleen voor randen, silhouetten en kleine labels */
	--ih-dest-bali: #9a4a2e;
	--ih-dest-gili: #137a72;
	--ih-dest-lombok: #4d6b2f;
	--ih-dest-penida: #1e5a8a;
	--ih-dest-lembongan: #85661a;

	/* Placeholders: bewust een eigen, opvallende kleur die niet in het merk zit */
	--ih-ph-bg: #fff3cd;
	--ih-ph-bg-soft: #fff8e6;
	--ih-ph-ink: #5f4300;
	--ih-ph-line: #d3a21c;

	--ih-max: 1200px;
	--ih-gutter: clamp(16px, 4vw, 32px);
	--ih-radius: 8px;
	--ih-radius-lg: 12px;
	--ih-shadow: 0 1px 2px rgba(18, 48, 66, 0.05), 0 4px 14px rgba(18, 48, 66, 0.06);
	--ih-shadow-lg: 0 2px 6px rgba(18, 48, 66, 0.06), 0 20px 44px rgba(18, 48, 66, 0.13);
	--ih-focus: var(--ih-navy);
	--ih-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   2. Basis
   ========================================================================== */

body {
	font-family: var(--ih-font);
	background: var(--ih-paper);
	color: var(--ih-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--ih-font); }

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

.ih-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ih-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Kadence-pagina zonder titel en marges: de secties bepalen zelf hun breedte */
.ih-content { margin: 0; word-break: normal; overflow-wrap: break-word; }
.ih-content > * { margin-block: 0; }
.content-area { margin-block: 0; }

.ih-wrap {
	max-width: var(--ih-max);
	margin-inline: auto;
	padding-inline: var(--ih-gutter);
	box-sizing: content-box;
}

.ih-section { padding-block: clamp(56px, 8vw, 96px); }
.ih-section--sand { background: var(--ih-sand); }
.ih-section--mist { background: var(--ih-mist); }
.ih-section--white { background: var(--ih-white); }
.ih-section--deep {
	--ih-focus: var(--ih-sand);
	background: var(--ih-sea-dark);
	color: #e4f0ee;
}
.ih-section--deep .ih-h2 { color: #fff; }
.ih-section--deep .ih-kicker { color: var(--ih-sand); }
.ih-section--deep .ih-head__intro p { color: #d7e8e5; }
.ih-section--deep .ih-small { color: #cfe2df; }
/* Witte tabel in een donker vlak: de cellen krijgen weer de gewone tekstkleur */
.ih-section--deep .ih-table { color: var(--ih-text); }
.ih-section--deep .ih-table__src { color: #e4f0ee; }
.ih-section--tight { padding-block: clamp(40px, 6vw, 64px); }

/* Typografie */
.ih-h1, .ih-h2, .ih-h3 { color: var(--ih-navy); font-weight: 700; margin: 0; }
.ih-h1 {
	font-size: clamp(2.25rem, 1.45rem + 2.9vw, 3.5rem);
	line-height: 1.05;
	letter-spacing: -0.025em;
}
.ih-h2 {
	font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.4rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.ih-h2--sm { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.9rem); }
.ih-h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; }
.ih-lead {
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	line-height: 1.6;
	color: var(--ih-text);
	margin: 0;
}
.ih-small { font-size: 0.875rem; color: var(--ih-muted); }

/* Kicker met een klein kaartstreepje */
.ih-kicker {
	margin: 0 0 10px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ih-sea);
}


/* Sectiekop: kop links, inleiding rechts vanaf 900 px */
.ih-head {
	display: grid;
	gap: 14px 56px;
	margin-bottom: clamp(28px, 4vw, 44px);
}
.ih-head__intro > p { margin: 0; }
.ih-head__intro > p + p { margin-top: 0.8em; }
@media (min-width: 900px) {
	.ih-head { grid-template-columns: 5fr 7fr; align-items: end; }
	.ih-head__intro { padding-bottom: 4px; }
}

/* Links in tekst */
:where(.ih-content) a:not([class]) {
	color: var(--ih-sea);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
:where(.ih-content) a:not([class]):hover { color: var(--ih-navy); text-decoration-thickness: 2px; }

.ih-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--ih-sea);
	text-decoration: none;
}
.ih-more svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.ih-more:hover { color: var(--ih-navy); }
.ih-more:hover svg { transform: translateX(3px); }

/* ==========================================================================
   3. Knoppen
   ========================================================================== */

.ih-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: 7px;
	background: var(--ih-sea);
	color: #fff;
	font: 700 1rem/1.2 var(--ih-font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ih-btn:hover, .ih-btn:focus-visible { background: var(--ih-sea-dark); color: #fff; }
.ih-btn svg { width: 20px; height: 20px; flex: none; }
.ih-btn--sm { min-height: 42px; padding: 0 16px; font-size: 0.9375rem; }
.ih-btn--light { background: #fff; color: var(--ih-navy); }
.ih-btn--light:hover, .ih-btn--light:focus-visible { background: var(--ih-sand); color: var(--ih-navy); }
.ih-btn--ghost {
	background: transparent;
	color: var(--ih-navy);
	border-color: var(--ih-line-strong);
}
.ih-btn--ghost:hover, .ih-btn--ghost:focus-visible { background: var(--ih-white); color: var(--ih-navy); border-color: var(--ih-navy); }
/* Koraal is alleen voor boekacties */
.ih-btn--book { background: var(--ih-coral); color: var(--ih-navy); }
.ih-btn--book:hover, .ih-btn--book:focus-visible { background: var(--ih-coral-light); color: var(--ih-navy); }

/* ==========================================================================
   4. Placeholders (alleen in concepten; check_html.py blokkeert publicatie)
   ========================================================================== */

.ih-ph {
	background: var(--ih-ph-bg);
	color: var(--ih-ph-ink);
	border-bottom: 1px dashed var(--ih-ph-line);
	border-radius: 3px;
	padding: 0 0.3em;
	font-weight: 500;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.ih-ph-block {
	display: block;
	margin: 0;
	padding: 14px 16px 14px 18px;
	background: var(--ih-ph-bg-soft);
	color: var(--ih-ph-ink);
	border: 1px dashed var(--ih-ph-line);
	border-left: 4px solid var(--ih-ph-line);
	border-radius: var(--ih-radius);
	font-size: 0.9375rem;
	line-height: 1.55;
}
.ih-ph-block strong { color: var(--ih-ph-ink); }

/* Foto's. Zolang de foto ontbreekt: een geïllustreerd tafereel (assets/scenes) met een klein fotolabel.
   Komt de foto, dan gaat er een <img> in de plaats van het label en valt het tafereel weg. */
.ih-photo {
	position: relative;
	overflow: hidden;
	border-radius: var(--ih-radius-lg);
	aspect-ratio: var(--ih-ratio, 3 / 2);
	background: var(--ih-sea-tint);
	margin: 0;
}
.ih-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Foto die het hele vak vult (hero, bestemmingskaart, routefoto); het tafereel blijft als achtergrond tijdens het laden */
.ih-photo__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ih-photo__img--right { object-position: 72% 50%; }
.ih-scene { background-color: var(--ih-sea-tint); background-position: center; background-size: cover; background-repeat: no-repeat; }
.ih-scene--home { background-image: url("assets/scenes/home.svg"); }
.ih-scene--bali { background-image: url("assets/scenes/bali.svg"); }
.ih-scene--gili { background-image: url("assets/scenes/gili.svg"); }
.ih-scene--lombok { background-image: url("assets/scenes/lombok.svg"); }
.ih-scene--penida { background-image: url("assets/scenes/penida.svg"); }
.ih-scene--lembongan { background-image: url("assets/scenes/lembongan.svg"); }
.ih-scene--crop-right { background-position: 85% center; }
.ih-photo__pill {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 8px;
	max-width: calc(100% - 24px);
	box-sizing: border-box;
	margin: 0;
	padding: 6px 12px 6px 10px;
	border: 1px dashed var(--ih-ph-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.93);
	box-shadow: 0 2px 10px rgba(18, 48, 66, 0.12);
	color: var(--ih-ph-ink);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.35;
}
.ih-photo__pill svg { width: 16px; height: 16px; flex: none; }
.ih-photo__pill span { font-weight: 500; opacity: 0.85; }

.ih-figure { margin: 0; }
.ih-figure figcaption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	margin-top: 10px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--ih-muted);
}

/* ==========================================================================
   5. Kop
   ========================================================================== */

.ih-header {
	position: relative;
	z-index: 50;
	background: var(--ih-white);
	border-bottom: 1px solid var(--ih-line);
}
.ih-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	min-height: 80px;
}
.ih-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
	color: var(--ih-navy);
	text-decoration: none;
}
.ih-brand__logo { display: block; width: auto; height: 54px; }
.ih-footer .ih-brand__logo { height: 52px; }
@media (max-width: 959px) { .ih-brand__logo { height: 46px; } }

.ih-nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ih-nav__list > li > a {
	display: block;
	padding: 10px 14px;
	border-radius: 6px;
	color: var(--ih-navy);
	font-weight: 600;
	text-decoration: none;
}
.ih-nav__list > li > a:hover { background: var(--ih-mist); }
.ih-nav__list .current-menu-item > a,
.ih-nav__list > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--ih-coral); }

.ih-cta-short { display: none; }
.ih-menu-toggle {
	display: none;
	align-items: center;
	gap: 6px;
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid var(--ih-line-strong);
	border-radius: 7px;
	background: var(--ih-white);
	color: var(--ih-navy);
	font: 600 0.9375rem/1 var(--ih-font);
	cursor: pointer;
}
.ih-menu-toggle:hover { border-color: var(--ih-navy); background: var(--ih-white); color: var(--ih-navy); }
.ih-menu-toggle svg { width: 22px; height: 22px; }

@media (min-width: 960px) {
	.ih-nav { order: 2; }
	.ih-header__cta { order: 3; margin-left: 10px; }
}
@media (max-width: 959px) {
	.ih-menu-toggle { display: inline-flex; }
	.ih-nav { order: 4; flex-basis: 100%; }
	.ih-header.has-js .ih-nav { display: none; }
	.ih-header.has-js.is-open .ih-nav { display: block; }
	.ih-nav__list { flex-direction: column; padding: 4px 0 14px; border-top: 1px solid var(--ih-line); }
	.ih-nav__list > li > a { padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--ih-line); }
}
@media (max-width: 420px) {
	.ih-cta-long { display: none; }
	.ih-cta-short { display: inline; }
	.ih-brand__logo { height: 40px; }
	.ih-menu-toggle { padding: 0 10px; }
	.ih-menu-toggle__tekst { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

/* Megamenu onder Routes en Destinations. Zonder JavaScript blijven het gewone links. De panelen staan op display: none,
   zodat de lazy beelden pas laden als een paneel opengaat. */
.ih-nav__open, .ih-mega { display: none; }
.ih-header.has-js .ih-nav__open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 10px 0 2px;
	border: 0;
	border-radius: 6px;
	background: none;
	box-shadow: none;
	color: var(--ih-navy);
	cursor: pointer;
}
.ih-nav__open:hover, .ih-nav__open:focus-visible { background: none; color: var(--ih-navy); }
.ih-nav__open svg { width: 16px; height: 16px; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.ih-nav__item--mega.is-open .ih-nav__open svg { transform: rotate(180deg); }
.ih-nav__item--mega.is-open > .ih-mega { display: block; }
.ih-mega ul { margin: 0; padding: 0; list-style: none; }
.ih-mega__groep { margin: 0 0 12px; font-size: 0.9375rem; font-weight: 700; color: var(--ih-navy); }
.ih-mtile { display: block; color: var(--ih-text); text-decoration: none; }
.ih-mtile__beeld { display: block; overflow: hidden; border-radius: 8px; background: var(--ih-sand); }
.ih-mtile__beeld img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.ih-mtile:hover .ih-mtile__beeld img { transform: scale(1.04); }
.ih-mtile__naam { display: block; font-weight: 700; line-height: 1.3; color: var(--ih-navy); }
.ih-mtile:hover .ih-mtile__naam, .ih-mtile[aria-current="page"] .ih-mtile__naam { color: var(--ih-sea); text-decoration: underline; text-underline-offset: 0.18em; }
.ih-mtile__tekst { display: block; font-size: 0.875rem; line-height: 1.4; color: var(--ih-muted); text-wrap: pretty; }
.ih-mega__links a { color: var(--ih-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; }
.ih-mega__links a:hover { color: var(--ih-sea); }
.ih-mega__links .ih-mega__credit { margin: 0; font-size: 0.75rem; font-weight: 400; line-height: 1.4; color: var(--ih-muted); }
.ih-mega__links .ih-mega__credit a { color: inherit; font-weight: 400; }
@media (min-width: 960px) {
	.ih-nav__item--mega { display: flex; align-items: center; border-radius: 6px; }
	.ih-nav__item--mega:hover, .ih-nav__item--mega.is-open { background: var(--ih-mist); }
	.ih-nav__item--mega > a:hover { background: none; }
	.ih-header.has-js .ih-nav__item--mega > a { padding-right: 4px; }
	.ih-mega {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		max-height: calc(100vh - 81px);
		overflow-y: auto;
		border-top: 1px solid var(--ih-line);
		background: var(--ih-white);
		box-shadow: 0 24px 48px rgba(18, 48, 66, 0.16);
	}
	.ih-nav__item--mega.is-open > .ih-mega { animation: ih-mega-in 0.22s cubic-bezier(0.16, 1, 0.3, 1); }
	.ih-mega__in { padding-block: 28px 32px; }
	.ih-mega__rij { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ih-mega__rij + .ih-mega__rij { margin-top: 24px; }
	.ih-mega__blok { grid-column: span 2; }
	.ih-mega__blok--heel { grid-column: 1 / -1; }
	.ih-mega__tegels { display: grid; gap: 24px; grid-template-columns: repeat(var(--ih-kolommen), minmax(0, 1fr)); }
	.ih-mtile__beeld { aspect-ratio: 16 / 9; }
	.ih-mega--foto .ih-mtile__beeld { aspect-ratio: 4 / 3; }
	.ih-mtile__naam { margin-top: 10px; }
	.ih-mtile__tekst { margin-top: 2px; }
	.ih-mega__links { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; align-self: start; margin-top: 37px; padding: 20px 24px; border-radius: 8px; background: var(--ih-mist); }
	.ih-mega__links .ih-mega__credit { flex: 0 1 190px; text-align: right; }
	.ih-mega__links p { margin: 0 0 10px; font-weight: 700; color: var(--ih-navy); }
	.ih-mega__links li + li { margin-top: 8px; }
	.ih-mega__onder { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--ih-line); }
}
@media (max-width: 959px) {
	.ih-header.has-js .ih-nav__open { width: 52px; min-height: 48px; padding: 0; }
	.ih-nav__item--mega { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--ih-line); }
	.ih-nav__list > .ih-nav__item--mega > a { border-bottom: 0; }
	.ih-nav__item--mega > .ih-mega { grid-column: 1 / -1; }
	.ih-mega__in { padding: 0 4px 14px; }
	.ih-mega__groep { margin: 10px 0 4px; }
	.ih-mtile { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 12px; align-content: center; padding: 7px 0; }
	.ih-mtile__beeld { grid-row: 1 / span 2; width: 88px; height: 56px; }
	.ih-mtile__naam { align-self: end; }
	.ih-mtile__tekst { align-self: start; }
	.ih-mega__links { margin-top: 14px; }
	.ih-mega__links .ih-mega__credit { margin-top: 12px; }
	.ih-mega__links p { margin: 0 0 6px; font-size: 0.9375rem; font-weight: 700; color: var(--ih-navy); }
	.ih-mega__links li + li { margin-top: 6px; }
	.ih-mega__onder { margin: 10px 0 0; }
}
@media (min-width: 960px) and (max-width: 1060px) {
	.ih-brand__logo { height: 46px; }
	.ih-nav__list > li > a { padding-inline: 10px; }
	.ih-header.has-js .ih-nav__item--mega > a { padding-right: 2px; }
	.ih-header.has-js .ih-nav__open { padding-right: 6px; }
	.ih-header__cta { margin-left: 4px; }
}
@media (min-width: 960px) and (max-height: 720px) {
	.ih-mtile__beeld { aspect-ratio: 2 / 1; }
	.ih-mega--foto .ih-mtile__beeld { aspect-ratio: 16 / 9; }
	.ih-mega__in { padding-block: 20px 24px; }
	.ih-mega__rij + .ih-mega__rij { margin-top: 16px; }
}
@keyframes ih-mega-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
	.ih-nav__item--mega.is-open > .ih-mega { animation: none; }
	.ih-nav__open svg, .ih-mtile__beeld img { transition: none; }
}

/* ==========================================================================
   6. Voet
   ========================================================================== */

.ih-footer {
	--ih-focus: var(--ih-sand);
	padding-block: 56px 28px;
	background: var(--ih-navy);
	color: #d3dfe2;
	font-size: 0.9375rem;
}
.ih-footer a { color: #fff; text-decoration: none; }
.ih-footer a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.ih-footer__top { display: grid; gap: 36px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ih-footer__brand { grid-column: 1 / -1; }
.ih-footer__brand p { margin: 16px 0 0; max-width: 34em; line-height: 1.6; }
.ih-footer__partner { font-size: 0.875rem; text-wrap: pretty; }
.ih-footer__title { margin: 0 0 12px; font-size: 0.9375rem; font-weight: 700; color: var(--ih-sand); }
.ih-footer__list { margin: 0; padding: 0; list-style: none; }
.ih-footer__list li + li { margin-top: 8px; }
.ih-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	margin-top: 44px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.8125rem;
	color: #b9c8cc;
}
.ih-footer__bottom p { margin: 0; text-wrap: pretty; }
.ih-footer__bottom a { color: #d3dfe2; text-decoration: underline; text-underline-offset: 0.18em; }
@media (min-width: 1000px) {
	.ih-footer__top { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); }
	.ih-footer__brand { grid-column: auto; padding-right: 24px; }
}

/* Zwevende boekbalk. Sticky in plaats van fixed: de balk houdt zijn eigen plek aan het eind van de pagina en bedekt de voet dus nooit. */
html { scroll-padding-bottom: 110px; }
.ih-balk {
	position: sticky;
	bottom: 0;
	z-index: 10; /* boven de pagina-inhoud, onder de kop en het megamenu (Kadence geeft #masthead z-index 11) */
	border-top: 1px solid var(--ih-line);
	background: var(--ih-white);
	box-shadow: 0 -6px 20px rgba(18, 48, 66, 0.1);
}
.ih-balk__in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "kop knop" "info knop" "noot knop";
	align-items: center;
	gap: 0 10px;
	padding-block: 8px 6px;
}
.ih-balk p { margin: 0; }
.ih-balk__kop { grid-area: kop; font-size: 0.9375rem; font-weight: 700; line-height: 1.25; color: var(--ih-navy); }
.ih-balk__info { grid-area: info; display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 0.875rem; line-height: 1.4; color: var(--ih-muted); }
.ih-balk__info a { color: var(--ih-navy); text-decoration: underline; text-underline-offset: 0.18em; }
.ih-balk__knop { grid-area: knop; min-height: 44px; padding: 0 14px; font-size: 0.9375rem; white-space: nowrap; }
.ih-balk__noot { grid-area: noot; display: flex; align-items: center; gap: 6px; margin-top: 4px !important; font-size: 0.75rem; line-height: 1.3; color: var(--ih-muted); white-space: nowrap; }
.ih-balk__logo { display: block; width: auto; height: 18px; }
@media (min-width: 900px) {
	.ih-balk__in {
		grid-template-columns: auto minmax(0, 1fr) auto auto;
		grid-template-areas: "kop info knop noot";
		gap: 0 24px;
		padding-block: 14px;
	}
	.ih-balk__kop { font-size: 1.25rem; }
	.ih-balk__info { font-size: 1rem; }
	.ih-balk__knop { min-height: 48px; padding: 0 22px; font-size: 1rem; }
	.ih-balk__noot { gap: 8px; margin-top: 0 !important; font-size: 0.8125rem; }
	.ih-balk__logo { height: 26px; }
}
@media (max-width: 359px) {
	.ih-balk__in { grid-template-areas: "kop kop" "info knop" "noot knop"; }
}
/* De balk is niet weg te klikken: bij sterk inzoomen blijft hij aan het eind van de pagina staan, anders blijft er te weinig leesruimte over. */
@media (max-height: 340px) { .ih-balk { position: static; } }
@media print { .ih-balk { display: none; } }

/* ==========================================================================
   7. Gedeelde componenten
   ========================================================================== */

/* Kruimelpad */
.ih-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	color: var(--ih-muted);
}
.ih-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ih-line-strong); }
.ih-crumbs a { color: var(--ih-muted); text-decoration: underline; text-underline-offset: 0.18em; }
.ih-crumbs a:hover { color: var(--ih-navy); }
.ih-crumbs [aria-current] { color: var(--ih-navy); font-weight: 600; }

/* Kaarten (algemeen) */
.ih-card {
	display: flex;
	flex-direction: column;
	background: var(--ih-white);
	border: 1px solid var(--ih-line);
	border-radius: var(--ih-radius-lg);
	box-shadow: var(--ih-shadow);
	overflow: hidden;
}

/* Reislijn: van haven naar haven */
.ih-journey {
	display: grid;
	grid-template-columns: fit-content(42%) minmax(44px, 1fr) fit-content(42%);
	align-items: start;
	gap: 8px;
}
.ih-journey__stop { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ih-journey__stop--end { text-align: right; align-items: flex-end; }
.ih-journey__label { font-size: 0.8125rem; font-weight: 600; color: var(--ih-muted); }
.ih-journey__place { font-weight: 700; color: var(--ih-navy); line-height: 1.25; }
.ih-journey__port { font-size: 0.875rem; line-height: 1.4; }
.ih-journey__line {
	position: relative;
	height: 24px;
	margin-top: 14px;
	color: var(--ih-sea);
}
.ih-journey__line::before {
	content: "";
	position: absolute;
	top: 50%;
	right: -2px;
	left: -2px;
	border-top: 2px dotted var(--ih-lagoon);
}
.ih-journey__line::after {
	content: "";
	position: absolute;
	top: calc(50% - 4px);
	right: -6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ih-sea);
}
.ih-journey__line svg {
	position: relative;
	display: block;
	width: 24px;
	height: 24px;
	margin: 0 auto;
	padding: 0 4px;
	background: var(--ih-white);
}

/* Feitjes in een rij */
.ih-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 12px 16px;
	margin: 0;
}
.ih-facts div { min-width: 0; }
.ih-facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--ih-muted); }
.ih-facts dd { margin: 2px 0 0; font-size: 0.9375rem; line-height: 1.4; }
.ih-facts dd small { display: block; margin-top: 3px; font-size: 0.8125rem; color: var(--ih-muted); }

/* Tabellen die op mobiel kaartjes worden */
.ih-table-wrap {
	background: var(--ih-white);
	border: 1px solid var(--ih-line);
	border-radius: var(--ih-radius-lg);
	overflow: hidden;
}
.ih-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }
.ih-table caption { text-align: left; padding: 16px 18px 0; font-weight: 700; color: var(--ih-navy); }
.ih-table th, .ih-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ih-line); }
.ih-table thead th { background: var(--ih-mist); font-size: 0.8125rem; font-weight: 700; color: var(--ih-navy); }
.ih-table tbody th { color: var(--ih-navy); font-weight: 700; }
.ih-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 719px) {
	.ih-table, .ih-table tbody, .ih-table tr, .ih-table th, .ih-table td { display: block; }
	.ih-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.ih-table tr { padding: 14px 16px; border-bottom: 1px solid var(--ih-line); }
	.ih-table tbody tr:last-child { border-bottom: 0; }
	.ih-table th, .ih-table td { padding: 0; border: 0; }
	.ih-table tbody th { margin-bottom: 8px; font-size: 1rem; }
	.ih-table td { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 10px; padding: 5px 0; }
	.ih-table caption { display: block; padding: 16px 16px 4px; }
	.ih-table td > * { justify-self: start; }
	.ih-table td::before { content: attr(data-label); font-size: 0.8125rem; font-weight: 600; color: var(--ih-muted); }
}

/* Meldingen: info, let op, update (altijd met pictogram en label, nooit alleen kleur) */
.ih-note {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 4px 14px;
	padding: 18px 20px;
	border-radius: var(--ih-radius-lg);
	background: var(--ih-mist);
	border-left: 4px solid var(--ih-sea);
	color: var(--ih-text);
}
.ih-note > svg { width: 26px; height: 26px; color: var(--ih-sea); grid-row: span 2; }
.ih-note__label { margin: 0; font-weight: 700; color: var(--ih-navy); }
.ih-note__body > p { margin: 4px 0 0; }
.ih-note--caution { background: #fbeee8; border-left-color: var(--ih-alert); }
.ih-note--caution > svg { color: var(--ih-alert); }
.ih-note--update { background: var(--ih-white); border: 1px solid var(--ih-line); border-left: 4px solid var(--ih-lagoon); }

/* Boekplek: zolang er geen gecontroleerde partnerlink is een placeholder zonder link */
.ih-book {
	padding: 18px;
	border-radius: var(--ih-radius-lg);
	background: var(--ih-paper);
	border: 1px solid var(--ih-line);
}
.ih-book__title { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--ih-navy); }
.ih-book__title svg { width: 22px; height: 22px; color: var(--ih-coral); }
.ih-book__state { margin: 6px 0 14px; font-size: 0.9375rem; line-height: 1.5; }
.ih-book__slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding-block: 8px;
	min-height: 50px;
	padding: 0 18px;
	border: 2px dashed var(--ih-coral);
	border-radius: 7px;
	background: rgba(232, 121, 91, 0.1);
	color: var(--ih-navy);
	font-weight: 700;
	text-align: center;
}
.ih-book__slot small { font-size: 0.75rem; font-weight: 500; color: var(--ih-muted); }
.ih-book .ih-ph-block { margin-top: 12px; font-size: 0.875rem; }
.ih-book--wide { padding: clamp(18px, 3vw, 28px); background: var(--ih-white); box-shadow: var(--ih-shadow); }
@media (min-width: 760px) {
	.ih-book--wide .ih-book__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: center; }
	.ih-book--wide .ih-book__state { margin-bottom: 0; }
}

/* FAQ met <details> (toetsenbord werkt zonder script) */
.ih-faq { border-top: 1px solid var(--ih-line); }
.ih-faq details { border-bottom: 1px solid var(--ih-line); }
.ih-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 2px;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	color: var(--ih-navy);
	font-size: 1.0625rem;
}
.ih-faq summary::-webkit-details-marker { display: none; }
.ih-faq summary::after {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	border-right: 2.5px solid var(--ih-sea);
	border-bottom: 2.5px solid var(--ih-sea);
	transform: rotate(45deg) translate(-3px, -3px);
	transition: transform 0.15s ease;
}
.ih-faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.ih-faq__answer { padding: 0 2px 20px; }
.ih-faq__answer > p { margin: 0; }

/* Bronnen en controle */
.ih-sources { margin: 0; padding-left: 1.3em; }
.ih-sources li + li { margin-top: 10px; }
.ih-checked {
	margin: 22px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--ih-line);
	font-size: 0.875rem;
	color: var(--ih-muted);
}

/* Gerelateerde links */
.ih-related { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ih-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ih-related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ih-related a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	box-sizing: border-box;
	padding: 18px 18px 16px;
	background: var(--ih-white);
	border: 1px solid var(--ih-line);
	border-radius: var(--ih-radius-lg);
	color: var(--ih-text);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ih-related a:hover .ih-related__title { text-decoration: underline; text-underline-offset: 0.15em; }
.ih-related a:hover { border-color: var(--ih-sea); box-shadow: var(--ih-shadow); }
.ih-related__type { font-size: 0.8125rem; font-weight: 600; color: var(--ih-muted); }
.ih-related__title { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; color: var(--ih-navy); line-height: 1.3; }
.ih-related__title svg { width: 20px; height: 20px; flex: none; color: var(--ih-sea); margin-top: 1px; }
.ih-related__text { font-size: 0.9375rem; line-height: 1.5; }

/* Eilandsilhouet */
.ih-sil { display: block; fill: currentColor; }

/* ==========================================================================
   8. Kaart
   ========================================================================== */

.ih-map { display: block; width: 100%; height: auto; font-family: var(--ih-font); }
.ih-map__sea { fill: var(--ih-sea-tint); }
.ih-map__isl--land { fill: var(--ih-sand); stroke: var(--ih-sand-line); stroke-width: 1.2; }
.ih-map__isl--context { fill: #efe6d3; stroke: #ddcdae; stroke-width: 1; }
.ih-map__isl--accent { fill: var(--ih-white); stroke: var(--ih-accent, var(--ih-dest-gili)); stroke-width: 2.5; }
.ih-map__route {
	fill: none;
	stroke: var(--ih-sea);
	stroke-width: 3;
	stroke-dasharray: 0.1 8;
	stroke-linecap: round;
	transition: stroke-width 0.15s ease;
}
.ih-map__route--active { stroke: var(--ih-coral); stroke-width: 4.5; stroke-dasharray: 0.1 9; }
.ih-map__dot--dest { fill: var(--ih-accent, var(--ih-sea)); }
.ih-map__hit { fill: none; stroke: transparent; stroke-width: 26; }
.ih-map__ring { fill: none; stroke: var(--ih-coral); stroke-width: 3; }
.ih-map__dot { r: 7px; fill: var(--ih-sea); stroke: var(--ih-white); stroke-width: 3; }
.ih-map__dot--origin { r: 8.5px; fill: var(--ih-coral); }
.ih-map__label {
	font-weight: 700;
	fill: var(--ih-navy);
	paint-order: stroke;
	stroke: var(--ih-white);
	stroke-width: 5px;
	stroke-linejoin: round;
}
.ih-map__label--context { fill: var(--ih-muted); font-weight: 600; }
.ih-map__label--sub { font-weight: 500; font-size: 0.78em; }
.ih-map--wide .ih-map__label { font-size: 23px; }
.ih-map--compact .ih-map__label { font-size: 36px; }
.ih-map--compact .ih-map__dot { r: 11px; }
.ih-map--route .ih-map__label { font-size: 34px; }
.ih-map a { cursor: pointer; text-decoration: none; }
.ih-map a:hover .ih-map__route, .ih-map a:focus-visible .ih-map__route { stroke-width: 5.5; }
.ih-map a:hover .ih-map__label, .ih-map a:focus-visible .ih-map__label { fill: var(--ih-sea); text-decoration: underline; }
.ih-map a:focus-visible { outline: 3px solid var(--ih-navy); outline-offset: 2px; }
.ih-map--compact { display: none; }
@media (max-width: 640px) {
	.ih-map--wide { display: none; }
	.ih-map--compact { display: block; }
}

.ih-mapfig {
	margin: 0;
	background: var(--ih-white);
	border: 1px solid var(--ih-line);
	border-radius: var(--ih-radius-lg);
	overflow: hidden;
}
.ih-mapfig figcaption { padding: 14px 18px 16px; border-top: 1px solid var(--ih-line); font-size: 0.875rem; color: var(--ih-muted); line-height: 1.5; }
.ih-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 6px; padding: 0; list-style: none; color: var(--ih-text); font-weight: 500; }
.ih-legend li { display: inline-flex; align-items: center; gap: 8px; }
.ih-legend__line { width: 30px; border-top: 3px dotted var(--ih-sea); }
.ih-legend__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ih-coral); box-shadow: 0 0 0 2px var(--ih-white), 0 0 0 3px var(--ih-line-strong); }
.ih-mapfig figcaption p { margin: 0; }

/* ==========================================================================
   9. Homepage
   ========================================================================== */

.ih-hero { position: relative; }
.ih-hero__visual { position: relative; height: 250px; }
.ih-hero__inner { position: relative; z-index: 1; }
.ih-hero__panel {
	margin: -44px 0 0;
	padding: clamp(22px, 3vw, 38px);
	background: var(--ih-white);
	border-radius: 16px;
	box-shadow: var(--ih-shadow-lg);
}
.ih-hero__panel .ih-lead { margin-top: 16px; }
.ih-hero__ask { margin: 26px 0 12px; font-size: 1rem; font-weight: 700; color: var(--ih-navy); }
.ih-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ih-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	box-sizing: border-box;
	padding: 8px 14px 8px 8px;
	border: 1px solid var(--ih-line);
	border-radius: 12px;
	background: var(--ih-white);
	box-shadow: 0 1px 2px rgba(18, 48, 66, 0.06);
	color: var(--ih-navy);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.ih-chip:hover { border-color: var(--ih-accent, var(--ih-sea)); box-shadow: var(--ih-shadow); color: var(--ih-navy); transform: translateY(-1px); }
.ih-chip .ih-sil {
	width: 44px;
	height: 44px;
	flex: none;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 10px;
	background: color-mix(in srgb, var(--ih-accent, var(--ih-sea)) 13%, white);
	color: var(--ih-accent, var(--ih-sea));
}
.ih-chip > span { flex: 1; min-width: 0; }
.ih-thumb { display: block; flex: none; width: 52px; height: 52px; border-radius: 9px; object-fit: cover; }
.ih-chip { padding: 7px 14px 7px 7px; }
.ih-routeitem > .ih-thumb { width: 48px; height: 48px; }
.ih-chip > svg { width: 18px; height: 18px; flex: none; color: var(--ih-accent, var(--ih-sea)); }
.ih-hero__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 20px 0 0; }
@media (min-width: 560px) and (max-width: 959px) { .ih-hero__visual { height: 360px; } }
@media (max-width: 959px) { .ih-hero .ih-photo__pill { top: 12px; bottom: auto; } }
@media (min-width: 960px) {
	.ih-hero__visual { position: absolute; inset: 0; height: auto; }
	.ih-hero__inner { padding-block: clamp(40px, 4.5vw, 64px) 116px; }
	.ih-hero__panel { width: min(580px, 50%); margin: 0; }
	.ih-hero .ih-photo__pill { right: max(var(--ih-gutter), calc((100% - var(--ih-max)) / 2)); bottom: 96px; }
}
@media (max-width: 559px) {
	.ih-chips { grid-template-columns: minmax(0, 1fr); }
}

/* Drie ingangen: vanaf 1000 px één witte balk die over de onderrand van de hero valt */
.ih-paths { position: relative; z-index: 2; padding-block: 20px 0; }
.ih-paths__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ih-path {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 20px;
	align-items: center;
	gap: 14px;
	height: 100%;
	box-sizing: border-box;
	padding: 18px;
	background: var(--ih-white);
	border: 1px solid var(--ih-line);
	border-radius: var(--ih-radius-lg);
	color: var(--ih-text);
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ih-path:hover { border-color: var(--ih-sea); color: var(--ih-text); }
.ih-path__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ih-mist); color: var(--ih-sea); }
.ih-path__icon svg { width: 24px; height: 24px; }
.ih-path__title { display: block; font-weight: 700; color: var(--ih-navy); font-size: 1.0625rem; line-height: 1.25; }
.ih-path__text { display: block; margin-top: 3px; font-size: 0.9375rem; line-height: 1.45; color: var(--ih-muted); }
.ih-path > svg { width: 20px; height: 20px; color: var(--ih-sea); transition: transform 0.15s ease; }
.ih-path:hover > svg { transform: translateX(3px); }
@media (min-width: 1000px) {
	.ih-paths { margin-top: -72px; padding-top: 0; }
	.ih-paths__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 8px; background: var(--ih-white); border-radius: 18px; box-shadow: var(--ih-shadow-lg); }
	.ih-path { border: 0; border-radius: 12px; padding: 18px 20px; }
	.ih-paths__list li + li { border-left: 1px solid var(--ih-line); }
	.ih-path:hover { background: var(--ih-mist); }
}

/* Kaart met routelijst */
.ih-mapblock { display: grid; gap: 24px; }
@media (min-width: 960px) { .ih-mapblock { grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; } }
.ih-routelist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ih-routeitem {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 20px;
	align-items: center;
	gap: 14px;
	padding: 12px 18px 12px 12px;
	background: var(--ih-white);
	border: 1px solid var(--ih-line);
	border-radius: var(--ih-radius);
	color: var(--ih-text);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ih-routeitem:hover { box-shadow: var(--ih-shadow); border-color: var(--ih-accent, var(--ih-sea)); color: var(--ih-text); }
.ih-routeitem__sil { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: color-mix(in srgb, var(--ih-accent, var(--ih-sea)) 13%, white); color: var(--ih-accent, var(--ih-sea)); }
.ih-routeitem__sil .ih-sil { width: 32px; height: 32px; }
.ih-routeitem__name { display: block; font-weight: 700; color: var(--ih-navy); font-size: 1.0625rem; }
.ih-routeitem__ports { display: block; margin-top: 4px; font-size: 0.875rem; line-height: 1.45; }
.ih-routeitem > svg { width: 20px; height: 20px; color: var(--ih-sea); }
.ih-routelist__title { margin-bottom: 14px; }
.ih-routelist__all { margin: 16px 0 0; }

/* Routekaarten met foto */
.ih-rcards { display: grid; gap: 20px; }
@media (min-width: 820px) { .ih-rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.ih-rcard__head {
	--ih-focus: #fff;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "kicker sils" "title title";
	align-items: center;
	gap: 2px 16px;
	padding: 20px 24px 28px;
	background: color-mix(in srgb, var(--ih-accent) 86%, #0b2530);
	color: #fff;
}
/* Rand als een afscheurstrook */
.ih-rcard__head::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 10px;
	background: radial-gradient(circle at 10px 10px, var(--ih-white) 5.5px, transparent 6px) 0 0 / 20px 10px repeat-x;
}
.ih-rcard__kicker { grid-area: kicker; margin: 0; font-size: 0.8125rem; font-weight: 600; color: #fff; }
.ih-rcard__sils { grid-area: sils; display: flex; align-items: center; gap: 2px; color: #fff; }
.ih-rcard__sils .ih-sil { width: auto; height: 40px; max-width: 84px; }
.ih-rcard__sils .ih-sil:first-child { height: 26px; opacity: 0.72; }
.ih-rcard__arc { width: 54px; height: 18px; color: rgba(255, 255, 255, 0.8); }
.ih-rcard__title { grid-area: title; margin-top: 4px; font-size: 1.4375rem; color: #fff; }
.ih-rcard__body { display: flex; flex-direction: column; gap: 18px; flex: 1; padding: 20px 22px 18px; }
.ih-rcard__title a { color: #fff; text-decoration: none; }
.ih-rcard__title a::after { content: ""; position: absolute; inset: 0; }
.ih-rcard__title a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.15em; }
.ih-rcard .ih-facts { padding-top: 16px; border-top: 1px solid var(--ih-line); }
.ih-rcard__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 16px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--ih-line);
}
.ih-rcard__checked { font-size: 0.8125rem; color: var(--ih-muted); }
/* Havenkeuze */
.ih-steps { display: grid; gap: 14px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: ih-step; }
@media (min-width: 760px) { .ih-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.ih-steps li {
	counter-increment: ih-step;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 4px 14px;
	padding: 18px;
	background: var(--ih-white);
	border-radius: var(--ih-radius-lg);
	border: 1px solid rgba(18, 48, 66, 0.08);
	color: var(--ih-text);
}
.ih-steps li::before {
	content: counter(ih-step);
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ih-navy);
	color: #fff;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ih-steps strong { color: var(--ih-navy); font-size: 1.0625rem; line-height: 1.3; }
.ih-steps span { font-size: 0.9375rem; line-height: 1.5; }
.ih-portchoice__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }

/* Bestemmingen */
.ih-dcards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ih-dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .ih-dcards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; } .ih-dcards > li { grid-column: span 2; } .ih-dcards > li:nth-child(n + 4) { grid-column: span 3; } }
.ih-dcard { height: 100%; }
.ih-dcard__visual { position: relative; aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .ih-dcard__visual { aspect-ratio: auto; height: 240px; } }
.ih-dcard__visual::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(rgba(11, 37, 48, 0), rgba(11, 37, 48, 0.55) 55%, rgba(11, 37, 48, 0.8)); }
.ih-dcard__visual .ih-photo__pill { top: 14px; right: 14px; bottom: auto; max-width: calc(100% - 100px); }
.ih-dcard__sil {
	position: absolute;
	left: 14px;
	top: 14px;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--ih-white);
	box-shadow: var(--ih-shadow);
	color: var(--ih-accent);
}
.ih-dcard__sil .ih-sil { width: 40px; height: 40px; }
.ih-dcard__caption { position: absolute; right: 18px; bottom: 14px; left: 18px; z-index: 1; }
.ih-dcard__role { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 999px; background: var(--ih-accent); color: #fff; font-size: 0.75rem; font-weight: 700; }
.ih-dcard__caption .ih-h3 { color: #fff; font-size: 1.5rem; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3); }
.ih-dcard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 18px; }
.ih-dcard__body > p { margin: 0; font-size: 0.9375rem; line-height: 1.55; }
.ih-dcard__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 10px; }
.ih-dcard__links .ih-more { color: var(--ih-navy); }
.ih-dcard__links .ih-more svg { color: var(--ih-accent); }

.ih-accent--bali { --ih-accent: var(--ih-dest-bali); }
.ih-accent--gili { --ih-accent: var(--ih-dest-gili); }
.ih-accent--lombok { --ih-accent: var(--ih-dest-lombok); }
.ih-accent--penida { --ih-accent: var(--ih-dest-penida); }
.ih-accent--lembongan { --ih-accent: var(--ih-dest-lembongan); }

/* Wat een routegids behandelt */
.ih-features { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
@media (min-width: 760px) { .ih-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.ih-features li { padding: 22px; background: var(--ih-white); border-radius: var(--ih-radius-lg); border: 1px solid rgba(18, 48, 66, 0.08); }
.ih-features svg { width: 30px; height: 30px; color: var(--ih-sea); }
.ih-features h3 { margin: 12px 0 6px; }
.ih-features p { margin: 0; font-size: 0.9375rem; line-height: 1.55; }
.ih-trust { display: grid; gap: 22px 40px; padding: clamp(20px, 3vw, 30px); background: var(--ih-white); border-radius: var(--ih-radius-lg); border: 1px solid rgba(18, 48, 66, 0.08); }
@media (min-width: 900px) { .ih-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ih-trust h3 { margin: 0 0 8px; }
.ih-trust p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.ih-trust p + p { margin-top: 10px; }

/* ==========================================================================
   10. Routegids
   ========================================================================== */

.ih-rhero { padding-block: clamp(18px, 3vw, 30px) clamp(40px, 6vw, 64px); background: linear-gradient(180deg, var(--ih-mist) 0, var(--ih-paper) 480px); }
.ih-rhero__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) {
	.ih-rhero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; gap: 28px 48px; align-items: start; }
	.ih-summary { grid-column: 2; grid-row: 1 / span 2; }
	.ih-rhero__main, .ih-rhero__photo { grid-column: 1; }
	/* De foto vult de ruimte tot de onderkant van het samenvattingspaneel */
	.ih-rhero__photo { align-self: stretch; display: flex; flex-direction: column; }
	.ih-rhero__photo .ih-photo { flex: 1; aspect-ratio: auto; min-height: 320px; }
}
.ih-rhero__title { display: flex; flex-direction: column; gap: 4px; }
.ih-rhero__answer { margin-top: 22px; }
.ih-rhero__answer .ih-ph-block { font-size: 1.0625rem; line-height: 1.6; }
.ih-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ih-jump a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--ih-line-strong);
	border-radius: 999px;
	background: var(--ih-white);
	color: var(--ih-navy);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}
.ih-jump a:hover { border-color: var(--ih-sea); background: var(--ih-mist); }
.ih-jump svg { width: 16px; height: 16px; color: var(--ih-sea); transform: rotate(90deg); }
.ih-rhero__photo { margin: 0; }
.ih-rhero__photo .ih-photo { --ih-ratio: 16 / 8; }

/* Samenvattingspaneel */
.ih-summary { position: relative; }
.ih-summary__map { position: relative; border-bottom: 1px solid var(--ih-line); }
.ih-summary__maptag {
	position: absolute;
	left: 12px;
	top: 10px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ih-muted);
}
.ih-summary__body { padding: 20px 22px 22px; }
.ih-summary__head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 22px 22px;
	background: color-mix(in srgb, var(--ih-accent) 86%, #0b2530);
	color: #fff;
}
.ih-summary__head::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 10px;
	background: radial-gradient(circle at 10px 10px, var(--ih-white) 5.5px, transparent 6px) 0 0 / 20px 10px repeat-x;
}
.ih-summary__head h2 { margin: 0; font-size: 1.1875rem; color: #fff; }
.ih-summary__body { padding-top: 8px; }
.ih-sumlist { margin: 0 0 18px; }
.ih-sumlist > div { display: grid; grid-template-columns: 8.2em minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ih-line); }
.ih-sumlist dt { font-size: 0.875rem; font-weight: 600; color: var(--ih-muted); line-height: 1.45; }
.ih-sumlist dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.ih-sumlist dd small { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--ih-muted); }
.ih-summary__foot { margin: 14px 0 0; font-size: 0.875rem; }
.ih-summary__foot a { color: var(--ih-muted); text-decoration: underline; text-underline-offset: 0.18em; }

/* Artikel met inhoudsopgave */
.ih-article { padding-block: 0 clamp(48px, 7vw, 88px); }
.ih-article__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .ih-article__grid { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; } }

.ih-toc {
	background: var(--ih-white);
	border: 1px solid var(--ih-line);
	border-radius: var(--ih-radius-lg);
}
.ih-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	color: var(--ih-navy);
}
.ih-toc summary::-webkit-details-marker { display: none; }
.ih-toc summary::after {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2.5px solid var(--ih-sea);
	border-bottom: 2.5px solid var(--ih-sea);
	transform: rotate(45deg) translate(-2px, -2px);
}
.ih-toc[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.ih-toc ol { margin: 0; padding: 4px 10px 12px; list-style: none; counter-reset: ih-toc; }
.ih-toc li { counter-increment: ih-toc; }
.ih-toc a {
	display: grid;
	grid-template-columns: 1.6em minmax(0, 1fr);
	padding: 7px 8px;
	border-radius: 6px;
	color: var(--ih-text);
	font-size: 0.9375rem;
	line-height: 1.35;
	text-decoration: none;
}
.ih-toc a::before { content: counter(ih-toc); color: var(--ih-muted); font-variant-numeric: tabular-nums; font-size: 0.875rem; }
.ih-toc a:hover { background: var(--ih-mist); color: var(--ih-navy); }
@media (min-width: 1024px) {
	.ih-toc { position: sticky; top: 24px; }
	.ih-toc summary { cursor: default; pointer-events: none; padding-bottom: 6px; }
	.ih-toc summary::after { display: none; }
}

.ih-asec { padding-block: 40px; border-top: 1px solid var(--ih-line); scroll-margin-top: 20px; }
.ih-asec:first-child { padding-top: 0; border-top: 0; }
.ih-asec > .ih-h2 { margin-bottom: 14px; }
.ih-asec > p { margin: 0 0 16px; }
.ih-asec > * + .ih-table-wrap,
.ih-asec > * + .ih-note,
.ih-asec > * + .ih-cols,
.ih-asec > * + .ih-infogrid,
.ih-asec > * + .ih-time,
.ih-asec > * + .ih-book,
.ih-asec > * + .ih-figure,
.ih-asec > * + .ih-faq { margin-top: 20px; }
.ih-asec > .ih-ph-block { margin-bottom: 0; }

.ih-cols { display: grid; gap: 16px; }
@media (min-width: 720px) { .ih-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ih-portcard { padding: 20px; }
.ih-portcard h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.ih-portcard h3 svg { width: 24px; height: 24px; color: var(--ih-sea); }
.ih-portcard ul { margin: 0; padding: 0; list-style: none; }
.ih-portcard li { padding: 10px 0; border-top: 1px solid var(--ih-line); font-size: 0.9375rem; line-height: 1.45; }
.ih-portcard li strong { display: block; color: var(--ih-navy); }

/* Overtocht tegenover de hele reisdag */
.ih-time { padding: clamp(18px, 3vw, 26px); background: var(--ih-white); border: 1px solid var(--ih-line); border-radius: var(--ih-radius-lg); }
.ih-time__steps { display: grid; margin: 0; padding: 0; list-style: none; }
.ih-time__step { position: relative; display: flex; flex-direction: column; gap: 4px; }
.ih-time__name { font-weight: 700; color: var(--ih-navy); line-height: 1.3; }
.ih-time__val { font-size: 0.875rem; line-height: 1.4; }
.ih-time__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ih-mist); color: var(--ih-sea); }
.ih-time__icon svg { width: 22px; height: 22px; }
.ih-time__step--sea .ih-time__icon { background: var(--ih-sea); color: #fff; }
.ih-time__defs { display: grid; gap: 12px; margin: 22px 0 0; }
.ih-time__defs dt { font-weight: 700; color: var(--ih-navy); }
.ih-time__defs dd { margin: 2px 0 0; font-size: 0.9375rem; line-height: 1.5; }
.ih-time__key { flex: none; width: 22px; height: 8px; border-radius: 4px; background: var(--ih-sea); }
.ih-time__key--all { background: repeating-linear-gradient(90deg, var(--ih-navy) 0 6px, transparent 6px 9px); }
.ih-time__note { margin: 14px 0 0; font-size: 0.8125rem; color: var(--ih-muted); }
@media (min-width: 720px) {
	.ih-time__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-bottom: 34px; position: relative; }
	.ih-time__step { padding: 0 14px 16px 0; border-bottom: 8px solid var(--ih-mist); }
	.ih-time__step + .ih-time__step { padding-left: 14px; border-left: 2px solid var(--ih-white); }
	.ih-time__step--sea { border-bottom-color: var(--ih-sea); }
	.ih-time__icon { margin-bottom: 8px; }
	/* De beugel onder alle stappen: de hele reisdag */
	.ih-time__steps::after {
		content: "Door-to-door time";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 22px;
		padding-top: 8px;
		border-top: 0;
		background: linear-gradient(var(--ih-navy), var(--ih-navy)) left 0 / 2px 10px no-repeat, linear-gradient(var(--ih-navy), var(--ih-navy)) right 0 / 2px 10px no-repeat;
		box-shadow: inset 0 0 0 0 transparent;
		font-size: 0.8125rem;
		font-weight: 700;
		color: var(--ih-navy);
		text-align: center;
	}
	.ih-time__steps::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 22px;
		border-top: 2px dashed var(--ih-navy);
	}
}
@media (max-width: 719px) {
	.ih-time__steps { gap: 0; border-left: 3px dashed var(--ih-navy); margin-left: 19px; padding-left: 0; }
	.ih-time__step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; padding: 0 0 18px; margin-left: -21.5px; }
	.ih-time__step .ih-time__icon { grid-row: span 2; }
	.ih-time__step:last-child { padding-bottom: 0; }
}

/* Voor je vertrekt */
.ih-infogrid { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .ih-infogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ih-infogrid li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 18px; background: var(--ih-white); border: 1px solid var(--ih-line); border-radius: var(--ih-radius-lg); }
.ih-infogrid li > svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 50%; background: var(--ih-mist); color: var(--ih-sea); }
.ih-infogrid h3 { margin: 0; font-size: 1.0625rem; color: var(--ih-navy); }
.ih-infogrid p { margin: 2px 0 0; font-size: 0.9375rem; line-height: 1.5; }

.ih-arrival { display: grid; gap: 20px; }
@media (min-width: 900px) { .ih-arrival { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }

.ih-related-sec { padding-block: clamp(44px, 6vw, 72px); background: var(--ih-sand); }
.ih-related-sec .ih-h2 { margin-bottom: 22px; }

.ih-photo--4x3 { --ih-ratio: 4 / 3; }
.ih-asec > .ih-after { margin: 16px 0 0; }
.ih-arrival__text > .ih-h3 { margin: 22px 0 8px; }
.ih-onward { margin: 0; padding: 0; list-style: none; }
.ih-onward li { padding: 10px 0; border-top: 1px solid var(--ih-line); font-size: 0.9375rem; line-height: 1.5; }
.ih-onward strong { display: block; color: var(--ih-navy); }
.ih-time__defs dt { display: flex; align-items: center; gap: 10px; }
.ih-time__defs dd { margin-left: 32px; }

/* Routehero op tablet en mobiel: springknoppen weg (de inhoudsopgave volgt direct), kaart naast de samenvatting */
@media (max-width: 1023px) {
	.ih-jump { display: none; }
}
@media (min-width: 640px) and (max-width: 1023px) {
	.ih-summary { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
	.ih-summary__map { background: var(--ih-sea-tint); border-bottom: 0; border-right: 1px solid var(--ih-line); }
}

/* ==========================================================================
   11. Bestemmingspagina en beslisgids (fase 2)
   ========================================================================== */

.ih-accent--neutral { --ih-accent: #4f5e64; }
.ih-accent--sea { --ih-accent: var(--ih-sea); }
.ih-wrap--narrow { max-width: 860px; }
.ih-h1--sm { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.08; }

/* Hero met foto over de volle breedte en een paneel (bestemming, gids) */
.ih-dhero { position: relative; }
.ih-dhero__visual { position: relative; height: 240px; }
.ih-dhero__inner { position: relative; z-index: 1; }
.ih-dhero__panel {
	margin: -44px 0 0;
	padding: clamp(20px, 3vw, 34px);
	background: var(--ih-white);
	border-radius: 16px;
	box-shadow: var(--ih-shadow-lg);
}
.ih-dhero__panel .ih-crumbs ol { margin-bottom: 16px; }
.ih-dhero__panel > .ih-ph-block { margin-top: 18px; }
.ih-dhero__lead { margin: 14px 0 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ih-text); text-wrap: pretty; }
.ih-dhero__title { display: flex; align-items: center; gap: 16px; }
.ih-dhero__title .ih-kicker { margin-bottom: 6px; }
.ih-dhero__sil {
	display: grid;
	place-items: center;
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 18px;
	background: color-mix(in srgb, var(--ih-accent) 13%, white);
	color: var(--ih-accent);
}
.ih-dhero__sil .ih-sil { width: 50px; height: 50px; }
.ih-dfacts { display: grid; gap: 10px 20px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--ih-line); }
.ih-dfacts dt { font-size: 0.8125rem; font-weight: 600; color: var(--ih-muted); }
.ih-dfacts dd { margin: 2px 0 0; font-size: 0.9375rem; font-weight: 600; color: var(--ih-navy); line-height: 1.4; }
@media (min-width: 560px) { .ih-dfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 560px) and (max-width: 959px) { .ih-dhero__visual { height: 340px; } }
@media (min-width: 960px) {
	.ih-dhero__visual { position: absolute; inset: 0; height: auto; }
	.ih-dhero__inner { padding-block: clamp(44px, 5vw, 72px); }
	.ih-dhero__panel { width: min(620px, 52%); margin: 0; }
}

/* De drie eilanden: kaart en lijst */
.ih-islands { display: grid; gap: 20px; }
@media (min-width: 900px) { .ih-islands { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px; align-items: start; } }
.ih-map--gilis .ih-map__label { font-size: 30px; }
@media (max-width: 640px) { .ih-map--gilis .ih-map__label { font-size: 44px; } }
.ih-islandlist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ih-island {
	padding: 18px 20px;
	background: var(--ih-white);
	border-radius: var(--ih-radius-lg);
	border: 1px solid rgba(18, 48, 66, 0.08);
}
.ih-island__sil { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: color-mix(in srgb, var(--ih-dest-gili) 12%, white); color: var(--ih-dest-gili); }
.ih-island__sil .ih-sil { width: 40px; height: 40px; }
.ih-island .ih-h3 { margin: 2px 0 4px; }
.ih-island p { margin: 0; font-size: 0.9375rem; line-height: 1.5; }
.ih-island__arrive { margin-top: 8px !important; font-size: 0.875rem !important; }
.ih-island__arrive strong { color: var(--ih-navy); margin-right: 4px; }
.ih-island__stay { margin-top: 10px !important; }
.ih-facts .ih-more { display: inline; }
.ih-facts .ih-more svg { display: inline-block; margin-left: 6px; vertical-align: -4px; }
/* Eilanden naast elkaar onder een kaart over de volle breedte */
.ih-islandlist--row { margin-top: 20px; }
@media (min-width: 900px) { .ih-islandlist--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.ih-section .ih-tips { margin-top: 0; }
@media (min-width: 900px) { .ih-islandlist--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ih-islandlist--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ih-rmapfig--before { margin-bottom: 24px; }

@media (min-width: 1000px) { .ih-infogrid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Open routekaart (nog geen gids) */
.ih-rcard--open .ih-rcard__body { gap: 14px; }

.ih-sources-title, .ih-faq-title { margin: 44px 0 14px; }
.ih-wrap--narrow > .ih-h2--sm:first-child { margin-bottom: 14px; }
.ih-after-cards { margin: 18px 0 0; font-size: 0.9375rem; color: var(--ih-muted); }

/* Havenkaarten: "Choose this port if" */
.ih-choose { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .ih-choose { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.ih-choose__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	background: var(--ih-white);
	border: 1px solid var(--ih-line);
	border-top: 4px solid var(--ih-sea);
	border-radius: var(--ih-radius-lg);
	box-shadow: var(--ih-shadow);
}
.ih-choose__head { display: flex; align-items: center; gap: 12px; }
.ih-choose__pin { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ih-mist); color: var(--ih-sea); }
.ih-choose__pin svg { width: 22px; height: 22px; }
.ih-choose__label { margin: 4px 0 0; font-size: 0.8125rem; font-weight: 700; color: var(--ih-muted); }
.ih-checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; line-height: 1.45; }
.ih-checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; }
.ih-checks svg { width: 20px; height: 20px; margin-top: 1px; color: var(--ih-sea); }
.ih-choose .ih-facts { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ih-line); }

/* Vier factoren */
.ih-factors { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: ih-factor; }
@media (min-width: 640px) { .ih-factors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ih-factors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.ih-factors li { counter-increment: ih-factor; padding: 20px 4px 4px; border-top: 3px solid var(--ih-navy); }
.ih-factors li::before { content: counter(ih-factor); display: block; font-size: 2.25rem; font-weight: 700; line-height: 1; color: var(--ih-sea); font-variant-numeric: tabular-nums; }
.ih-factors__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ih-sea); color: #fff; }
.ih-factors__icon svg { width: 24px; height: 24px; }
.ih-factors h3 { margin: 12px 0 6px; }
.ih-factors p { margin: 0; font-size: 0.9375rem; line-height: 1.55; }

/* Vergelijkingstabel: eerste kolom als rijkop */
.ih-table--compare tbody th { width: 22%; background: var(--ih-paper); font-size: 0.875rem; }

/* ==========================================================================
   12. Ferryhopper-widget (plugin island-hop-core, shortcode [ih_ferryhopper])
   ========================================================================== */

.ih-book__btn { width: 100%; box-sizing: border-box; }
.ih-fh {
	padding: clamp(18px, 3vw, 26px);
	background: var(--ih-white);
	border: 1px solid var(--ih-line);
	border-top: 4px solid var(--ih-coral);
	border-radius: var(--ih-radius-lg);
	box-shadow: var(--ih-shadow);
}
.ih-fh__label { margin: 0 0 2px; font-size: 0.875rem; font-weight: 600; color: var(--ih-muted); }
.ih-fh__title { margin: 0; font-size: 1.375rem; line-height: 1.25; color: var(--ih-navy); }
.ih-fh__pick { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 16px 0 4px; }
.ih-fh__pick label { display: grid; gap: 4px; min-width: 180px; flex: 1; font-size: 0.8125rem; font-weight: 600; color: var(--ih-muted); }
.ih-fh__pick select {
	-webkit-appearance: none;
	appearance: none;
	min-height: 44px;
	padding: 0 40px 0 12px;
	background: var(--ih-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23176B73' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px 18px;
	cursor: pointer;
	border: 1px solid var(--ih-line-strong);
	border-radius: 8px;
	color: var(--ih-navy);
	font: 600 1rem var(--ih-font);
}
.ih-fh__pick select:hover { border-color: var(--ih-sea); }
.ih-fh ferryhopper-widget { display: block; min-height: 420px; margin-top: 16px; }
.ih-fh__note { margin: 14px 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--ih-text); }
.ih-fh__disclosure { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--ih-line); font-size: 0.8125rem; color: var(--ih-muted); }
.ih-fh__fallback a { font-weight: 700; }

/* Twee opties naast elkaar in een artikel (bijv. fast boat of openbare veerboot) */
@media (min-width: 720px) { .ih-choose--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.ih-choose--two .ih-choose__card { border-top-color: var(--ih-accent, var(--ih-sea)); }
.ih-choose__card .ih-choose__tag { margin: 0; font-size: 0.8125rem; font-weight: 700; color: var(--ih-muted); }
.ih-choose__card .ih-h3 { margin: 0; }
.ih-asec > * + .ih-choose { margin-top: 20px; }
.ih-arrival--after { margin-top: 24px; }

/* ==========================================================================
   13. Routegids met inhoud (ronde 3: frisser, beeld voorop, minder sjabloon)
   ========================================================================== */

/* Omslag: foto over de volle breedte, titel erop */
.ih-rcover { position: relative; display: flex; align-items: flex-end; min-height: 500px; color: #fff; background: var(--ih-navy); overflow: hidden; }
.ih-rcover__media { position: absolute; inset: 0; }
.ih-rcover__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(11, 37, 48, 0.55) 0%, rgba(11, 37, 48, 0) 28%),
		linear-gradient(0deg, rgba(11, 37, 48, 0.82) 0%, rgba(11, 37, 48, 0.35) 42%, rgba(11, 37, 48, 0) 70%);
}
.ih-rcover__inner { --ih-focus: #fff; position: relative; z-index: 1; width: 100%; padding-block: 28px 96px; }
.ih-rcover__crumbs { position: absolute; top: 22px; left: 0; right: 0; z-index: 2; }
.ih-rcover .ih-crumbs ol { box-sizing: border-box; max-width: calc(var(--ih-max) + 2 * var(--ih-gutter)); margin: 0 auto; padding-inline: var(--ih-gutter); color: rgba(255, 255, 255, 0.85); }
.ih-rcover .ih-crumbs a { color: #fff; }
.ih-rcover .ih-crumbs li + li::before { color: rgba(255, 255, 255, 0.6); }
.ih-rcover .ih-crumbs [aria-current] { color: #fff; }
.ih-rcover__kicker { margin: 0 0 8px; font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.ih-rcover .ih-h1 { color: #fff; font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5rem); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.ih-rcover__lead { max-width: 38em; margin: 16px 0 0; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, 0.95); }
.ih-rcover__caption { position: absolute; right: var(--ih-gutter); bottom: 84px; z-index: 1; margin: 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.8); }
@media (min-width: 900px) { .ih-rcover { min-height: min(72vh, 660px); } .ih-rcover__inner { padding-bottom: 120px; } .ih-rcover__caption { bottom: 108px; } }
@media (max-width: 899px) { .ih-rcover__caption { display: none; } }

/* Feitenstrook met beslisgetallen, over de onderrand van de omslag */
.ih-keyfacts { position: relative; z-index: 2; margin-top: -64px; }
@media (min-width: 900px) { .ih-keyfacts { margin-top: -84px; } }
.ih-keyfacts__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	background: var(--ih-white);
	border-radius: 16px;
	box-shadow: var(--ih-shadow-lg);
	overflow: hidden;
}
@media (min-width: 900px) { .ih-keyfacts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ih-keyfacts__list > div { padding: 20px 22px; border-top: 1px solid var(--ih-line); }
.ih-keyfacts__list > div:nth-child(-n + 2) { border-top: 0; }
.ih-keyfacts__list > div:nth-child(even) { border-left: 1px solid var(--ih-line); }
@media (min-width: 900px) {
	.ih-keyfacts__list > div { border-top: 0; padding: 26px 28px; }
	.ih-keyfacts__list > div + div { border-left: 1px solid var(--ih-line); }
}
.ih-keyfacts dd { order: -1; margin: 0; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ih-navy); font-variant-numeric: tabular-nums; }
.ih-keyfacts__list > div { display: flex; flex-direction: column; gap: 6px; }
.ih-keyfacts dt { font-size: 0.875rem; line-height: 1.4; color: var(--ih-muted); }
.ih-keyfacts__src { margin: 10px 0 0; font-size: 0.8125rem; color: var(--ih-muted); }

/* Kort antwoord met samenvatting ernaast */
.ih-rintro { padding-block: clamp(40px, 6vw, 72px); }
.ih-rintro__grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .ih-rintro__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; } }
.ih-rintro__text > p { margin: 0 0 1em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.65; }
.ih-rintro__text > .ih-h2 { margin-bottom: 18px; }
.ih-rintro__text strong { color: var(--ih-navy); }

/* Twee manieren om over te steken */
.ih-ways { padding-block: clamp(48px, 7vw, 88px); background: var(--ih-sand); }
.ih-ways__grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .ih-ways__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.ih-way { display: flex; flex-direction: column; background: var(--ih-white); border-radius: var(--ih-radius-lg); overflow: hidden; box-shadow: var(--ih-shadow); }
.ih-way .ih-photo { --ih-ratio: 16 / 9; border-radius: 0; }
.ih-way__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 24px 26px 26px; }
.ih-way__body > .ih-h3 { font-size: 1.5rem; }
.ih-way__body > p { margin: 0; line-height: 1.6; }
.ih-way__rows { margin: 4px 0 0; border-top: 1px solid var(--ih-line); }
.ih-way__rows > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ih-line); }
.ih-way__rows dt { font-size: 0.875rem; font-weight: 600; color: var(--ih-muted); }
.ih-way__rows dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.ih-way__foot { margin-top: auto; padding-top: 6px; }

/* Sfeerband: foto over de volle breedte met een kort bijschrift */
.ih-band { position: relative; height: clamp(260px, 38vw, 480px); overflow: hidden; background: var(--ih-sea-dark); }
.ih-band .ih-photo__img { object-position: center 60%; }
.ih-band__caption { position: absolute; left: var(--ih-gutter); bottom: 18px; z-index: 1; margin: 0; padding: 6px 12px; border-radius: 6px; background: rgba(11, 37, 48, 0.6); color: #fff; font-size: 0.875rem; }

/* Praktische punten als tekstkolommen, zonder pictogrammen */
.ih-tips { display: grid; gap: 0 40px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .ih-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ih-tips li { padding: 18px 0 20px; border-top: 2px solid var(--ih-navy); }
.ih-tips h3 { margin: 0 0 6px; font-size: 1.0625rem; color: var(--ih-navy); }
.ih-tips p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.ih-tips p + p { margin-top: 8px; }

/* Lichtere inhoudsopgave en tabellen */
.ih-toc { background: transparent; border: 0; border-left: 2px solid var(--ih-line); border-radius: 0; }
.ih-toc summary { padding: 4px 16px 8px; }
.ih-toc ol { padding: 0 6px 4px 6px; }
.ih-toc a { border-radius: 4px; }
@media (max-width: 1023px) { .ih-toc { border-left: 0; border-top: 1px solid var(--ih-line); border-bottom: 1px solid var(--ih-line); } .ih-toc summary { padding: 14px 2px; } }
.ih-table thead th { background: transparent; border-bottom: 2px solid var(--ih-navy); }
.ih-table-wrap { box-shadow: none; }
.ih-table td.ih-num, .ih-table th.ih-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ih-table__src { margin: 10px 0 0; font-size: 0.8125rem; color: var(--ih-muted); }

/* Bronnenlijst met echte links */
.ih-sources a { word-break: break-word; }
.ih-sources li { font-size: 0.9375rem; line-height: 1.5; }
.ih-article--after-band { padding-top: clamp(40px, 6vw, 72px); }
.ih-summary__foot a + a { margin-left: 2px; }
.ih-rintro .ih-summary .ih-book { margin-top: 0; }

/* ==========================================================================
   14. Ronde 4: echte routekaart, reisschema, ticketsectie, boekknop met witte tekst
   ========================================================================== */

/* H1 met een tweede regel (zoekterm erin, beeld blijft rustig) */
.ih-h1__sub { display: block; margin-top: 6px; font-size: 0.42em; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.ih-rcover .ih-h1__sub { color: rgba(255, 255, 255, 0.92); }

/* Boekknop: koraal verdiept tot wit erop voldoet (4,8:1) */
.ih-btn--book { background: #c04e30; color: #fff; }
.ih-btn--book:hover, .ih-btn--book:focus-visible { background: #a8432a; color: #fff; }
.ih-book__note { margin: 10px 0 0; font-size: 0.8125rem; color: var(--ih-muted); }
.ih-book__note a { color: var(--ih-muted); }

/* Rechterkolom van de inleiding: kaart en boekblok */
.ih-rintro__side { display: grid; gap: 16px; }
.ih-rmapfig { margin: 0; background: var(--ih-white); border-radius: var(--ih-radius-lg); overflow: hidden; box-shadow: var(--ih-shadow); }
.ih-rmapfig figcaption { padding: 12px 16px 14px; font-size: 0.8125rem; line-height: 1.5; color: var(--ih-muted); }
.ih-rmapfig figcaption p { margin: 6px 0 0; }
.ih-rmap__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; font-weight: 600; color: var(--ih-navy); }
.ih-rmap__legend li { display: inline-flex; align-items: center; gap: 8px; }
.ih-rmap__key { width: 28px; height: 0; border-top: 3px solid #dd5f42; border-radius: 2px; }
.ih-rmap__key--ferry { border-top: 3px dashed var(--ih-navy); }
.ih-rmap__key--south { border-top: 3px dotted #dd5f42; }
.ih-rmap__key--town { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #4f5e64; }
.ih-rmap__key--port, .ih-rmap__key--port-dep { width: 14px; height: 14px; border: 0; border-radius: 50%; background: radial-gradient(circle, #fff 0 2.5px, var(--ih-navy) 3px); }
.ih-rmap__key--port-dep { background: radial-gradient(circle, #fff 0 2.5px, #c04e30 3px); }

/* De routekaart zelf (SVG uit tools/kaart/maak_routekaart.py, terrein uit maak_terrein.py):
   breed op desktop en tablet, smal op de telefoon */
.ih-rmap { display: block; width: 100%; height: auto; font-family: var(--ih-font); background: #b9dcdc center / 100% 100% no-repeat; }
.ih-rmap--smal { display: none; }
@media (max-width: 640px) { .ih-rmap--breed { display: none; } .ih-rmap--smal { display: block; } }
.ih-rmap__coast { fill: none; stroke: rgba(70, 78, 66, 0.3); stroke-linejoin: round; }
.ih-rmap__island { font-weight: 600; letter-spacing: 0.45em; fill: rgba(92, 84, 64, 0.62); }
.ih-rmap__water { font-style: italic; font-weight: 500; letter-spacing: 0.2em; fill: #2f6a74; }
.ih-rmap__minor { font-weight: 500; fill: #4c4636; paint-order: stroke; stroke: rgba(247, 245, 238, 0.85); stroke-width: 0.25em; stroke-linejoin: round; }
.ih-rmap__wallace { fill: none; stroke: rgba(11, 37, 48, 0.4); stroke-dasharray: 0 4; stroke-linecap: round; }
.ih-rmap__wallace-label { font-weight: 600; letter-spacing: 0.32em; fill: rgba(11, 37, 48, 0.55); }
.ih-rmap__peak path { fill: #6b5e4a; }
.ih-rmap__peak text { font-weight: 600; fill: #4c4636; paint-order: stroke; stroke: rgba(247, 245, 238, 0.85); stroke-width: 0.25em; stroke-linejoin: round; }
.ih-rmap__peak .ih-rmap__peak-h { font-weight: 500; fill: #6e6553; font-variant-numeric: tabular-nums; }
.ih-rmap__casing { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.ih-rmap__route { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ih-rmap__route--fast { stroke: #dd5f42; }
.ih-rmap__route--south { stroke: #dd5f42; stroke-dasharray: 0 5.5; }
.ih-rmap__route--ferry { stroke: var(--ih-navy); stroke-dasharray: 6 4.5; stroke-linecap: butt; }
.ih-rmap__boat circle { fill: #fff; stroke: #dd5f42; stroke-width: 1.8; }
.ih-rmap__boat path { fill: none; stroke: #dd5f42; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.ih-rmap__boat--ferry circle, .ih-rmap__boat--ferry path { stroke: var(--ih-navy); }
.ih-rmap__boat--static { display: none; }
@media (prefers-reduced-motion: reduce) { .ih-rmap__mover { display: none; } .ih-rmap__boat--static { display: inline; } }
.ih-rmap__chip rect { fill: #fff; stroke: rgba(11, 37, 48, 0.14); stroke-width: 1; }
.ih-rmap__chip text { font-weight: 700; fill: #c04e30; font-variant-numeric: tabular-nums; }
.ih-rmap__chip--ferry text { fill: var(--ih-navy); }
.ih-rmap__port circle { fill: var(--ih-navy); stroke: #fff; }
.ih-rmap__port--vertrek circle { fill: #c04e30; }
.ih-rmap__port .ih-rmap__port-in { fill: #fff; stroke: none; }
.ih-rmap__portname { font-weight: 700; fill: var(--ih-navy); paint-order: stroke; stroke: rgba(250, 248, 242, 0.92); stroke-width: 0.24em; stroke-linejoin: round; }
.ih-rmap__town circle { fill: #4c4636; }
.ih-rmap__townlabel { font-weight: 500; fill: #4c4636; paint-order: stroke; stroke: rgba(247, 245, 238, 0.85); stroke-width: 0.25em; stroke-linejoin: round; }
.ih-rmap__scale path { fill: none; stroke: var(--ih-navy); }
.ih-rmap__scale .ih-rmap__scale-halo { stroke: rgba(255, 255, 255, 0.75); }
.ih-rmap__scale text, .ih-rmap__north text { font-weight: 700; fill: var(--ih-navy); paint-order: stroke; stroke: rgba(250, 248, 242, 0.85); stroke-width: 0.25em; stroke-linejoin: round; }
.ih-rmap__north path { fill: var(--ih-navy); }
.ih-rmapfig__credit { font-size: 0.75rem; color: var(--ih-muted); }

/* Ticketsectie met de widget, direct na de vergelijking */
.ih-tickets { padding-block: clamp(48px, 7vw, 88px); background: var(--ih-white); }
.ih-tickets__widget { max-width: none; }
.ih-tickets .ih-fh { box-shadow: none; }

/* Reisschema: van deur tot deur, de overtocht uitgelicht */
.ih-trip-fig { margin: 20px 0 0; padding: clamp(18px, 3vw, 28px); background: var(--ih-white); border: 1px solid var(--ih-line); border-radius: var(--ih-radius-lg); }
.ih-trip { display: grid; margin: 0; padding: 0; list-style: none; }
.ih-trip > li { position: relative; display: flex; flex-direction: column; }
.ih-trip__place { font-weight: 700; color: var(--ih-navy); line-height: 1.25; }
.ih-trip__meta { font-size: 0.8125rem; line-height: 1.4; color: var(--ih-muted); }
.ih-trip__time { margin-top: 2px; font-size: 0.875rem; font-weight: 700; color: var(--ih-sea); font-variant-numeric: tabular-nums; }
.ih-trip__mode { font-size: 0.8125rem; font-weight: 600; color: var(--ih-muted); }
.ih-trip__value { font-weight: 700; color: var(--ih-navy); font-variant-numeric: tabular-nums; }
.ih-trip__leg--sea .ih-trip__mode { color: var(--ih-sea); }
.ih-trip__leg--sea .ih-trip__value { font-size: 1.125rem; color: var(--ih-sea); }
.ih-trip-fig figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ih-line); font-size: 0.875rem; line-height: 1.55; color: var(--ih-text); }
.ih-trip-fig figcaption strong { color: var(--ih-navy); }

@media (min-width: 760px) {
	.ih-trip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
	/* Dagtocht: de zesde kolom is de tijd op het eiland en heeft meer ruimte nodig */
	.ih-trip--day { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1.1fr); }
	/* Lijn op vaste hoogte: haltes zijn stippen, trajecten zijn lijnen */
	.ih-trip > li { padding-top: 34px; text-align: center; align-items: center; }
	.ih-trip > li::before { content: ""; position: absolute; top: 12px; left: 0; right: 0; border-top: 3px dashed #b9c6c9; }
	.ih-trip__stop::before { left: 50% !important; right: 0 !important; }
	.ih-trip > li:first-child::before { left: 50% !important; }
	.ih-trip > li:last-child::before { left: 0 !important; right: 50% !important; }
	.ih-trip__stop:not(:first-child):not(:last-child)::before { left: 0 !important; right: 0 !important; }
	.ih-trip__stop::after { content: ""; position: absolute; top: 5px; left: calc(50% - 8px); width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; background: var(--ih-white); border: 3px solid var(--ih-navy); }
	.ih-trip__stop--port::after { background: var(--ih-navy); }
	.ih-trip__leg--sea::before { border-top: 6px solid var(--ih-sea) !important; top: 11px !important; }
	.ih-trip__leg { padding-top: 30px !important; }
	.ih-trip__scale { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr); row-gap: 8px; margin-top: 18px; }
	.ih-trip__span { position: relative; padding-top: 12px; font-size: 0.8125rem; font-weight: 700; text-align: center; }
	.ih-trip__span::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 4px 4px; }
	.ih-trip__span--sea { grid-column: 4; color: var(--ih-sea); }
	.ih-trip__span--all { grid-column: 1 / -1; grid-row: 2; color: var(--ih-navy); }
}
@media (max-width: 759px) {
	/* Mobiel: verticaal schema met de lijn links */
	.ih-trip { gap: 0; }
	.ih-trip > li { padding: 0 0 16px 34px; }
	.ih-trip > li::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; border-left: 3px dashed #b9c6c9; }
	.ih-trip > li:first-child::before { top: 10px; }
	.ih-trip > li:last-child::before { bottom: auto; height: 10px; }
	.ih-trip__stop::after { content: ""; position: absolute; left: 2px; top: 2px; width: 17px; height: 17px; box-sizing: border-box; border-radius: 50%; background: var(--ih-white); border: 3px solid var(--ih-navy); }
	.ih-trip__stop--port::after { background: var(--ih-navy); }
	.ih-trip__leg { flex-direction: row !important; gap: 8px; align-items: baseline; padding-top: 2px !important; padding-bottom: 18px !important; }
	.ih-trip__leg--sea::before { border-left: 6px solid var(--ih-sea) !important; left: 7.5px !important; }
	.ih-trip__scale { display: none; }
}

/* ==========================================================================
   15. Impeccable-ronde (28 okt 2026)
   ========================================================================== */

/* Koppen in evenwicht, geen losse woorden onderaan alinea's */
.ih-content h1, .ih-content h2, .ih-content h3, .ih-h1, .ih-h2, .ih-h3 { text-wrap: balance; }
.ih-content p, .ih-content li, .ih-content dd, .ih-content figcaption { text-wrap: pretty; }

/* Geen dikke accentrand op afgeronde kaders */
.ih-fh { border-top: 1px solid var(--ih-line); }
.ih-note, .ih-note--caution, .ih-note--update { border-left: 0; border: 1px solid transparent; }
.ih-note { background: var(--ih-mist); border-color: rgba(23, 107, 115, 0.18); }
.ih-note--caution { background: #fbeee8; border-color: rgba(163, 64, 42, 0.22); }
.ih-note--update { background: var(--ih-white); border-color: var(--ih-line); }

/* Omslag: tekst leesbaar op elke foto */
.ih-rcover__media::after {
	background:
		linear-gradient(180deg, rgba(11, 37, 48, 0.88) 0, rgba(11, 37, 48, 0.72) 70px, rgba(11, 37, 48, 0) 170px),
		linear-gradient(90deg, rgba(11, 37, 48, 0.6) 0%, rgba(11, 37, 48, 0.15) 55%, rgba(11, 37, 48, 0) 75%),
		linear-gradient(0deg, rgba(11, 37, 48, 0.92) 0%, rgba(11, 37, 48, 0.72) 32%, rgba(11, 37, 48, 0.28) 60%, rgba(11, 37, 48, 0) 80%);
}
.ih-rcover__caption { padding: 4px 10px; border-radius: 6px; background: rgba(11, 37, 48, 0.72); color: #fff; }

/* Artikel: smaller en gecentreerd, zodat regels kort blijven zonder halve regels naast brede blokken */
@media (min-width: 1024px) {
	.ih-article .ih-article__grid { max-width: 1040px; margin-inline: auto; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
}
.ih-asec > p:not(.ih-table__src):not(.ih-checked) { font-size: 1.0625rem; line-height: 1.7; }

/* Voet: warme tint in plaats van grijs op navy */
.ih-footer__bottom { color: #e6dbc6; }
.ih-footer__bottom a { color: #f3e9d8; }

/* Grote routekaart als eigen sectie, met de havenlijsten eronder */
.ih-mapsec { padding-block: clamp(48px, 7vw, 88px); background: var(--ih-mist); }
.ih-mapsec .ih-rmapfig { box-shadow: var(--ih-shadow-lg); }
.ih-mapsec .ih-rmapfig figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 20px; }
.ih-mapsec .ih-rmapfig figcaption p { margin: 0; }
.ih-mapsec .ih-cols { margin-top: 24px; }
.ih-mapsec .ih-portcard { box-shadow: none; }
.ih-rintro__side { align-self: start; }
@media (min-width: 1024px) { .ih-rintro__side { position: sticky; top: 24px; } }

/* Tweeklik voor de Ferryhopper-widget (plugin island-hop-core): uitleg en knop tot de bezoeker kiest */
.ih-fh__gate { display: grid; align-content: center; min-height: 420px; margin-top: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--ih-radius-lg); background: var(--ih-mist); }
.ih-fh__gate-text { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ih-text); }
.ih-fh__alt { margin: 12px 0 0; font-size: 0.875rem; color: var(--ih-text); }

/* Juridische en vertrouwenspagina's (about, contact, disclaimer, privacy, cookies) en de 404 */
.ih-legal { padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.ih-legal .ih-crumbs ol { margin-bottom: 18px; }
.ih-legal .ih-h1 { margin: 0 0 14px; }
.ih-legal__lead { margin: 0 0 8px; font-size: 1.125rem; line-height: 1.6; color: var(--ih-text); text-wrap: pretty; }
.ih-legal h2 { margin: 40px 0 10px; font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ih-navy); }
.ih-legal p, .ih-legal li { font-size: 1.0625rem; line-height: 1.65; color: var(--ih-text); text-wrap: pretty; }
.ih-legal .ih-legal__lead { font-size: 1.1875rem; }
.ih-legal ul { padding-left: 1.2em; }
.ih-legal li + li { margin-top: 6px; }
.ih-legal__facts { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 8px 20px; margin: 16px 0 0; padding: 18px 20px; border: 1px solid var(--ih-line); border-radius: var(--ih-radius-lg); background: var(--ih-white); }
.ih-legal__facts dt { font-weight: 600; color: var(--ih-muted); }
.ih-legal__facts dd { margin: 0; color: var(--ih-navy); }
@media (max-width: 560px) { .ih-legal__facts { grid-template-columns: 1fr; } .ih-legal__facts dd { margin-bottom: 8px; } }
.ih-legal .ih-legal__links { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.ih-legal__links a { font-weight: 600; }

/* Planpagina: wat te controleren voor het boeken */
#before-you-book [id] { scroll-margin-top: 96px; }
#before-you-book .ih-tips li p + p { margin-top: 10px; }
.ih-after-tips { margin-top: 40px; }
.ih-after-tips__intro { margin: 8px 0 20px; max-width: 62ch; }
#before-you-book .ih-table-wrap + .ih-table-wrap { margin-top: 20px; }
@media (min-width: 720px) { #before-you-book .ih-table tbody th { white-space: nowrap; } }
.ih-book__times { margin: 12px 0 0; font-size: 0.9375rem; font-weight: 600; }
.ih-tickets.ih-tickets--mist { background: var(--ih-mist); }
.ih-tickets--mist .ih-fh__gate { background: var(--ih-white); }
.ih-rmapkop { margin: 32px 0 14px; }
.ih-rmapkop:first-of-type { margin-top: 0; }

/* Routetabel op bestemmingspagina's */
.ih-routetabel { margin-top: 24px; }
.ih-zoeklink { font-weight: 700; white-space: nowrap; }
.ih-routelinks { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 0; }
.ih-routenote { margin: 8px 0 0; font-size: 0.8125rem; color: var(--ih-muted); }
.ih-routenote a { color: var(--ih-muted); }
.ih-vervolg { margin: 40px 0 0; }
