/* Reisinformatie Uitjes – compacte databasestijl */
:root {
	--ri-groen: #0b6e4f;
	--ri-groen-donker: #08533b;
	--ri-licht: #eef5f1;
	--ri-rand: #d5ddd8;
	--ri-tekst: #1d2420;
	--ri-grijs: #5d6863;
	--ri-oranje: #e8752a;
}

.ri-profiel, .ri-blok, .ri-tabel, .ri-sectie, .ri-overzicht { font-size: 15px; color: var(--ri-tekst); }

/* Titelbalk */
.ri-titelbalk { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 10px; }
.ri-badge { background: var(--ri-groen); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 3px; }
.ri-plaats { color: var(--ri-grijs); font-size: 14px; }

/* Kop: foto + infobox */
.ri-kop { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .ri-kop { grid-template-columns: 1fr; } }
.ri-foto { margin: 0; background: var(--ri-licht); border: 1px solid var(--ri-rand); }
.ri-foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ri-foto figcaption { font-size: 11px; color: var(--ri-grijs); padding: 4px 8px; }
.ri-foto figcaption a { color: inherit; }
.ri-foto-leeg { aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--ri-grijs); }

.ri-infobox { width: 100%; border-collapse: collapse; border: 1px solid var(--ri-rand); background: #fff; margin: 0; }
.ri-infobox caption { caption-side: top; text-align: left; background: var(--ri-groen); color: #fff; font-weight: 700; padding: 7px 10px; font-size: 14px; }
.ri-infobox th, .ri-infobox td { padding: 6px 10px; border-top: 1px solid var(--ri-rand); vertical-align: top; text-align: left; }
.ri-infobox th { width: 38%; background: var(--ri-licht); font-weight: 600; color: var(--ri-groen-donker); white-space: nowrap; }
.ri-infobox a { color: var(--ri-groen); }

/* Knoppen */
.ri-actiebalk, .ri-knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ri-knop { display: inline-block; padding: 9px 14px; border: 1px solid var(--ri-groen); color: var(--ri-groen) !important; background: #fff; border-radius: 4px; font-weight: 600; text-decoration: none !important; line-height: 1.2; }
.ri-knop:hover { background: var(--ri-licht); }
.ri-knop-primair { background: var(--ri-groen); color: #fff !important; }
.ri-knop-primair:hover { background: var(--ri-groen-donker); }
.ri-knop-tiqets, .ri-knop-gyg, .ri-knop-booking { border-color: var(--ri-oranje); color: #a84c12 !important; }

/* Tabs (ankernavigatie) */
.ri-tabs { display: flex; overflow-x: auto; border-bottom: 2px solid var(--ri-groen); margin: 8px 0 18px; position: sticky; top: 0; background: #fff; z-index: 5; }
.ri-tabs a { padding: 9px 12px; white-space: nowrap; text-decoration: none; color: var(--ri-tekst); font-weight: 600; font-size: 14px; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.ri-tabs a:hover, .ri-tabs a.is-actief { color: var(--ri-groen); border-bottom-color: var(--ri-groen); }

/* Secties en datatabellen */
.ri-sectie h2, h2.ri-kopje { font-size: 18px; border-bottom: 1px solid var(--ri-rand); padding-bottom: 6px; margin: 28px 0 10px; scroll-margin-top: 60px; }
.ri-tabel { width: 100%; border-collapse: collapse; margin: 8px 0 14px; border: 1px solid var(--ri-rand); }
.ri-tabel th { background: var(--ri-groen); color: #fff; text-align: left; padding: 7px 10px; font-size: 13px; }
.ri-tabel td { padding: 6px 10px; border-top: 1px solid var(--ri-rand); }
.ri-tabel tbody tr:nth-child(even) td { background: #f7faf8; }
.ri-tabel td:first-child { font-weight: 500; }
.ri-tabel table { table-layout: auto; }
.ri-tabs { scrollbar-width: none; }
.ri-tabs::-webkit-scrollbar { display: none; }
.wp-block-table.ri-tabel table { border-collapse: collapse; width: 100%; }
.wp-block-table.ri-tabel thead th { background: var(--ri-groen); color: #fff; }

/* Blokken */
.ri-blok { border: 1px solid var(--ri-rand); border-left: 4px solid var(--ri-oranje); background: #fff; padding: 12px 14px; margin: 16px 0; }
.ri-blok-kop { font-weight: 700; margin-bottom: 8px; }
.ri-korting { background: #fff8ef; border: 1px solid #f3d3b3; border-left: 4px solid var(--ri-oranje); padding: 10px 14px; margin: 12px 0; }
.ri-korting ul { margin: 4px 0 0 18px; }
.ri-disclaimer, .ri-gecontroleerd { font-size: 12px; color: var(--ri-grijs); margin: 8px 0 0; }
.ri-admin-notice { background: #fff3cd; border: 1px dashed #c9a400; padding: 8px 10px; font-size: 13px; }
.ri-bronnen { font-size: 13px; color: var(--ri-grijs); }

/* Overzicht */
.ri-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.ri-filters input[type=search], .ri-filters select { padding: 7px 9px; border: 1px solid var(--ri-rand); border-radius: 4px; font-size: 14px; }
.ri-filters input[type=search] { flex: 1 1 220px; }
.ri-teller { font-size: 13px; color: var(--ri-grijs); margin: 4px 0; }
.ri-binnenkort { font-size: 11px; color: var(--ri-grijs); border: 1px solid var(--ri-rand); border-radius: 3px; padding: 0 5px; margin-left: 4px; }
.ri-overzicht .ri-tabel a { color: var(--ri-groen); font-weight: 600; }
@media (max-width: 600px) {
	.ri-overzicht .ri-tabel th:nth-child(3), .ri-overzicht .ri-tabel td:nth-child(3),
	.ri-overzicht .ri-tabel th:nth-child(5), .ri-overzicht .ri-tabel td:nth-child(5) { display: none; }
}

/* Veelgestelde vragen en badkledingdagen (1.4.0) */
.ri-faq details{border:1px solid #dfe7e3;border-radius:4px;margin:0 0 .5rem;background:#fff}
.ri-faq summary{cursor:pointer;padding:.7rem .9rem;font-weight:600;color:#0d6e4f}
.ri-faq details[open] summary{border-bottom:1px solid #dfe7e3}
.ri-faq details p{margin:0;padding:.7rem .9rem}
.ri-badkleding{border-left:4px solid #0d6e4f;background:#eef5f1;padding:.8rem 1rem;margin:1rem 0}
.ri-badkleding h3{margin:0 0 .4rem;font-size:1.05rem}

/* Agenda (1.5.0) */
.ri-agenda{list-style:none;margin:0 0 1rem;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.75rem}
.ri-agenda-item{border:1px solid #dfe3e8;border-radius:8px;padding:.85rem 1rem;background:#fff}
.ri-agenda-nu{border-left:4px solid #0b6e4f}
.ri-agenda-binnenkort{border-left:4px solid #c7891c}
.ri-agenda-meta{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.35rem}
.ri-agenda-badge,.ri-agenda-type{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;padding:.12rem .45rem;border-radius:4px;background:#eef2f5;color:#344}
.ri-agenda-nu .ri-agenda-badge{background:#0b6e4f;color:#fff}
.ri-agenda-binnenkort .ri-agenda-badge{background:#c7891c;color:#fff}
h3.ri-agenda-titel{margin:.1rem 0 .25rem;font-size:1.05rem}
.ri-agenda-item p{margin:.25rem 0;font-size:.92rem}
.ri-agenda-datum{font-weight:600}
.ri-agenda-tijden,.ri-agenda-waar{color:#556}
.ri-agenda-noot{font-size:.82rem;color:#667}

/* Afgeronde hoeken (1.6.2) */
:root { --ri-radius: 12px; --ri-radius-klein: 8px; }
.ri-badge { border-radius: 999px; padding: 3px 10px; }
.ri-foto { border-radius: var(--ri-radius); overflow: hidden; }
.ri-infobox { border-collapse: separate; border-spacing: 0; border: 1px solid var(--ri-rand); border-top: 0; border-radius: 0 0 var(--ri-radius) var(--ri-radius); }
.ri-infobox caption { border-radius: var(--ri-radius) var(--ri-radius) 0 0; }
.ri-infobox tr:first-child th, .ri-infobox tr:first-child td { border-top: 0; }
.ri-infobox tr:last-child th { border-bottom-left-radius: var(--ri-radius); }
.ri-infobox tr:last-child td { border-bottom-right-radius: var(--ri-radius); }
.ri-tabel { border-radius: var(--ri-radius); overflow: hidden; }
table.ri-tabel, .ri-tabel table { border-collapse: separate; border-spacing: 0; }
.wp-block-table.ri-tabel table { border: 0; }
.ri-knop { border-radius: var(--ri-radius-klein); }
.ri-blok, .ri-korting, .ri-badkleding { border-radius: var(--ri-radius); }
.ri-stay22 iframe { border-radius: var(--ri-radius-klein); }
.ri-faq details { border-radius: var(--ri-radius-klein); overflow: hidden; }
.ri-agenda-item { border-radius: var(--ri-radius); }
.ri-admin-notice { border-radius: var(--ri-radius-klein); }
.ri-filters input[type=search], .ri-filters select { border-radius: var(--ri-radius-klein); }
.ri-tabs a { border-radius: var(--ri-radius-klein) var(--ri-radius-klein) 0 0; }

/* Tabellen: themaranden en -marges neutraliseren (1.6.2) */
.wp-block-table.ri-tabel { margin: 8px 0 14px; border: 1px solid var(--ri-rand); }
.wp-block-table.ri-tabel table { margin: 0; border: 0; width: 100%; }
.wp-block-table.ri-tabel th, .wp-block-table.ri-tabel td, table.ri-tabel th, table.ri-tabel td { border: 0; border-top: 1px solid var(--ri-rand); }
.wp-block-table.ri-tabel thead th, table.ri-tabel thead th { border-top: 0; }
.ri-infobox th, .ri-infobox td { border-left: 0; border-right: 0; border-bottom: 0; }
.ri-infobox { margin-bottom: 0; }

/* Paginaopbouw 1.7.0: introductie naast de foto, Gegevens als los blok */
.ri-profiel-intro .ri-kop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 760px) { .ri-profiel-intro .ri-kop { grid-template-columns: 1fr; } }
.ri-intro h2 { margin-top: 0 !important; }
.ri-intro p { margin: 0 0 12px; }
.ri-intro p:last-child { margin-bottom: 0; }
.ri-infobox.ri-infobox-los { border-top: 1px solid var(--ri-rand); border-radius: var(--ri-radius); }
.ri-infobox.ri-infobox-los tr:first-child th { border-top-left-radius: var(--ri-radius); }
.ri-infobox.ri-infobox-los tr:first-child td { border-top-right-radius: var(--ri-radius); }

/* ===== Moderne stijl (1.7.1): knoppen met iconen, kaarten met schaduw, tabs als pillen ===== */
:root { --ri-schaduw: 0 1px 2px rgba(16,40,30,.06), 0 4px 14px rgba(16,40,30,.08); --ri-schaduw-hover: 0 2px 4px rgba(16,40,30,.08), 0 8px 22px rgba(16,40,30,.14); }
.ri-actiebalk, .ri-knoppen { gap: 10px; }
.ri-knop { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--ri-rand); background: #fff; color: var(--ri-groen-donker) !important; font-weight: 700; font-size: 15px; box-shadow: var(--ri-schaduw); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.ri-knop:hover { transform: translateY(-1px); box-shadow: var(--ri-schaduw-hover); background: #fff; }
.ri-knop:focus-visible { outline: 3px solid rgba(11,110,79,.35); outline-offset: 2px; }
.ri-knop-primair { background: linear-gradient(135deg, #12875f 0%, var(--ri-groen) 55%, var(--ri-groen-donker) 100%); border-color: transparent; color: #fff !important; }
.ri-knop-primair:hover { background: linear-gradient(135deg, #149a6c 0%, #0c7a57 55%, var(--ri-groen-donker) 100%); }
.ri-knop-tiqets, .ri-knop-gyg, .ri-knop-booking { background: linear-gradient(135deg, #ff9a4d 0%, var(--ri-oranje) 100%); border-color: transparent; color: #fff !important; }
.ri-knop-tiqets:hover, .ri-knop-gyg:hover, .ri-knop-booking:hover { background: linear-gradient(135deg, #ffa862 0%, #f07f33 100%); }
.ri-knop::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: currentColor; -webkit-mask: var(--ri-ico) center / contain no-repeat; mask: var(--ri-ico) center / contain no-repeat; display: none; }
.ri-knop-ticket, .ri-knop-tiqets, .ri-knop-gyg { --ri-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 0 2-2h14a2 2 0 0 0 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 0-2 2H5a2 2 0 0 0-2-2v-2a2 2 0 0 0 0-4z'/%3E%3Cpath d='M13 6v2M13 11v2M13 16v2'/%3E%3C/svg%3E"); }
.ri-knop-route { --ri-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.ri-knop-kaart { --ri-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4 3 6v14l6-2 6 2 6-2V4l-6 2z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E"); }
.ri-knop-bed, .ri-knop-booking { --ri-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18V6M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-7v5'/%3E%3Ccircle cx='7' cy='11' r='2'/%3E%3C/svg%3E"); }
.ri-knop-ticket::before, .ri-knop-tiqets::before, .ri-knop-gyg::before, .ri-knop-route::before, .ri-knop-kaart::before, .ri-knop-bed::before, .ri-knop-booking::before { display: inline-block; }

/* Tabs als pillen */
.ri-tabs { border-bottom: 0; gap: 6px; padding: 8px 0; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(6px); -webkit-backdrop-filter: saturate(1.4) blur(6px); }
.ri-tabs a { border: 1px solid var(--ri-rand); border-radius: 999px; margin: 0; padding: 7px 14px; font-size: 14px; background: #fff; transition: background .15s, color .15s, border-color .15s; }
.ri-tabs a:hover, .ri-tabs a.is-actief { background: var(--ri-groen); border-color: var(--ri-groen); color: #fff; }

/* Blokken als kaarten */
.ri-blok { border: 1px solid #e3ebe6; border-left: 1px solid #e3ebe6; border-radius: var(--ri-radius, 12px); box-shadow: var(--ri-schaduw); padding: 18px 20px; background: linear-gradient(180deg, #fff 0%, #fbfdfc 100%); }
.ri-blok-kop { font-size: 17px; font-weight: 800; color: var(--ri-groen-donker); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.ri-ticketblok .ri-blok-kop::before { content: ""; width: 22px; height: 22px; background: var(--ri-oranje); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 0 2-2h14a2 2 0 0 0 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 0-2 2H5a2 2 0 0 0-2-2v-2a2 2 0 0 0 0-4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 0 2-2h14a2 2 0 0 0 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 0-2 2H5a2 2 0 0 0-2-2v-2a2 2 0 0 0 0-4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ri-korting { border: 1px solid #f6dcc4; border-left: 1px solid #f6dcc4; border-radius: var(--ri-radius, 12px); background: linear-gradient(135deg, #fff7ee 0%, #fff 100%); box-shadow: var(--ri-schaduw); padding: 14px 18px; }
.ri-infobox, .ri-tabel, .wp-block-table.ri-tabel table { box-shadow: var(--ri-schaduw); }
.ri-foto { box-shadow: var(--ri-schaduw); border: 0; }
.ri-badge { background: linear-gradient(135deg, #12875f, var(--ri-groen-donker)); box-shadow: 0 2px 6px rgba(11,110,79,.25); }
.ri-agenda-item { border-radius: var(--ri-radius, 12px); box-shadow: var(--ri-schaduw); }
@media (max-width: 600px) { .ri-actiebalk .ri-knop { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 11px 12px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .ri-knop { transition: none; } .ri-knop:hover { transform: none; } }
/* Partnerkleuren: Tiqets turquoise (#47c4c6), GetYourGuide oranje (#ff5533) */
.ri-knop-tiqets { background: linear-gradient(135deg, #5fd3d5 0%, #47c4c6 45%, #2fa3a5 100%); text-shadow: 0 1px 1px rgba(0,60,62,.35); }
.ri-knop-tiqets:hover { background: linear-gradient(135deg, #6fdcde 0%, #4fcdcf 45%, #36adaf 100%); }
.ri-knop-gyg { background: linear-gradient(135deg, #ff7a5c 0%, #ff5533 55%, #e8401f 100%); text-shadow: 0 1px 1px rgba(110,20,0,.3); }
.ri-knop-gyg:hover { background: linear-gradient(135deg, #ff8a6e 0%, #ff6342 55%, #f04a28 100%); }

/* ===== 1.8.0: actieknoppen naast de foto + mobiele app-weergave ===== */
.ri-intro .ri-actiebalk { margin: 18px 0 0; gap: 8px; }
.ri-intro .ri-knop { padding: 9px 14px; font-size: 14px; gap: 6px; }
.ri-intro .ri-knop::before { width: 16px; height: 16px; flex-basis: 16px; }
.ri-appbar { display: none; }

@media (max-width: 768px) {
	html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
	body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

	/* Kop: compact, blijft staan, groter logo */
	.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.96); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 1px 0 rgba(16,40,30,.08), 0 4px 16px rgba(16,40,30,.06); }
	.admin-bar .site-header { top: 46px; }
	.site-header .inside-header { padding-top: 8px !important; padding-bottom: 8px !important; align-items: center; }
	body .site-header .site-logo img.header-image, body .site-header .site-logo img { height: 58px !important; width: auto !important; max-width: 64vw; }
	.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .search-item a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }

	/* Tabbalk onderaan */
	.ri-appbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; gap: 2px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); border-top: 1px solid rgba(16,40,30,.08); box-shadow: 0 -6px 24px rgba(16,40,30,.10); }
	.ri-appbar-item { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 4px 2px; border: 0; border-radius: 14px; background: none; color: #5d6863 !important; font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.1; letter-spacing: .01em; text-decoration: none !important; cursor: pointer; transition: background .15s, color .15s; }
	.ri-appbar-item svg { width: 23px; height: 23px; }
	.ri-appbar-item.is-actief, .ri-appbar-item:active { color: var(--ri-groen) !important; background: var(--ri-licht); }
	.ri-appbar-item.is-actief svg { stroke-width: 2.4; }

	/* Actiebalk op uitjespagina's */
	.ri-appbar-actie { align-items: center; }
	.ri-appbar-actie .ri-appbar-item { flex: 0 0 58px; }
	.ri-appbar-cta { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; margin-left: 4px; padding: 0 16px; border-radius: 999px; background: linear-gradient(135deg, #12875f 0%, var(--ri-groen) 55%, var(--ri-groen-donker) 100%); color: #fff !important; font-weight: 800; font-size: 16px; text-decoration: none !important; box-shadow: 0 6px 18px rgba(11,110,79,.35); }
	.ri-appbar-cta:active { transform: scale(.98); }

	/* Uitjespagina als app-scherm */
	.ri-intro .ri-actiebalk { display: none; }
	.ri-profiel-intro .ri-kop { gap: 14px; }
	.ri-foto { border-radius: 18px; }
	.ri-foto img { aspect-ratio: 16 / 11; }
	.ri-tabs { top: 70px; margin-left: -4px; margin-right: -4px; padding: 8px 4px; scroll-snap-type: x proximity; }
	.admin-bar .ri-tabs { top: 116px; }
	.ri-tabs a { scroll-snap-align: start; padding: 9px 15px; }
	.ri-blok, .ri-korting, .ri-infobox, .ri-tabel, .wp-block-table.ri-tabel table, .ri-agenda-item { border-radius: 18px; }
	.ri-knoppen .ri-knop { flex: 1 1 100%; justify-content: center; min-height: 48px; }
	.entry-content h2[id] { scroll-margin-top: 130px; }

	/* Terug-naar-boven-knop van het thema boven de balk houden */
	.generate-back-to-top { bottom: calc(88px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 1.8.4: menubalk onder de titel, vóór foto en knoppen */
.ri-profiel-top .ri-titelbalk { margin-bottom: 4px; }
.ri-profiel-top + .ri-tabs { margin: 6px 0 18px; }

/* 1.8.5 Illustratie als er geen foto is */
.ri-foto-illustratie { position: relative; }
.ri-foto-illustratie svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.ri-foto-label { position: absolute; top: 10px; left: 10px; background: rgba(29,36,32,.78); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
@media (max-width: 768px) { .ri-foto-illustratie svg { aspect-ratio: 16 / 11; } }
