:root {
    --bg: #fdfbf7;
    --tint: #f4eee3;
    --surface: #fff;
    --text: #1c2629;
    --muted: #556569;
    --border: #e4ddd0;
    --brand: #0f6266;
    --brand-dark: #0a4549;
    --night: #08262a;
    --accent: #b9500a;
    --accent-dark: #964007;
    --gold: #f5b942;
    --radius: 16px;
    --header: 68px;
    --gutter: clamp(16px, 3.6vw, 72px);
    --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --shadow: 0 14px 40px rgba(20, 40, 44, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16.5px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.18; margin: 1.1em 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 2.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }

/* Full-width layout: content spans the screen, with breathing room at the edges. */
.wrap { width: 100%; padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(1000px + 2 * var(--gutter)); margin-inline: auto; }
.wrap.slim { max-width: calc(440px + 2 * var(--gutter)); margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 60; }
.prose { white-space: pre-line; overflow-wrap: anywhere; max-width: 82ch; }
.lead { font-size: 1.28rem; line-height: 1.55; max-width: 70ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--accent); margin: 1.6em 0 0; }
.eyebrow + h1, .eyebrow + h2 { margin-top: .25em; }
.eyebrow a { color: inherit; }
.empty { color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); padding: 16px 18px; }
.notice { font-size: .86rem; background: #fff4de; border-left: 3px solid var(--accent); padding: 8px 12px; border-radius: 0 8px 8px 0; }
.messages > :first-child { margin-top: 20px; }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); transition: background .25s, border-color .25s; }
.bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; min-height: var(--header); padding-block: 8px; }
.brand { font-family: var(--serif); font-weight: 800; font-size: 1.45rem; text-decoration: none; color: var(--night); }
.brand-mark { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.nav a, .nav .linklike { text-decoration: none; color: var(--night); font-weight: 600; font-size: .95rem; }
.nav a:not(.button):hover, .nav .linklike:hover { color: var(--accent); }
.nav form { margin: 0; }
.nav a.button { color: #fff; }
.nav-toggle { display: none; background: transparent; border: 1px solid currentColor; border-radius: 99px; color: var(--night); font: inherit; font-weight: 600; padding: 6px 18px; cursor: pointer; }

/* Over a hero picture the header starts see-through. */
.has-hero .site-header { position: fixed; left: 0; right: 0; }
.has-hero .site-header:not(.scrolled):not(.menu-open) { background: linear-gradient(rgba(0, 0, 0, .65), transparent) border-box; border-color: transparent; backdrop-filter: none; }
.has-hero .site-header:not(.scrolled):not(.menu-open) :is(.brand, .nav a, .nav .linklike, .nav-toggle) { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.has-hero .site-header:not(.scrolled):not(.menu-open) .brand-mark { color: var(--gold); }

.site-footer { margin-top: 0; padding: 40px 0 26px; background: var(--night); color: #cfe0df; }
.site-footer .brand { color: #fff; margin: 0; }
.site-footer .brand-mark { color: var(--gold); }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1.05rem; color: var(--gold); margin-top: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer-note { margin-top: 26px; font-size: .85rem; color: #9fbab9; }

/* Tighter spacing before the menu has to fold, so the header stays on one line. */
@media (min-width: 1141px) and (max-width: 1320px) { .nav { column-gap: 15px; } .nav a, .nav .linklike { font-size: .9rem; } }
@media (max-width: 1140px) {
    .js .nav-toggle { display: block; }
    .js .nav { display: none; }
    .js .nav.open { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding-bottom: 12px; }
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* Buttons */
.button { display: inline-block; background: var(--brand); color: #fff; border: 1.5px solid var(--brand); border-radius: 99px; padding: 10px 22px; font: inherit; font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: var(--brand-dark); }
.button:disabled { opacity: .45; cursor: default; }
.button.alt { background: var(--accent); border-color: var(--accent); }
.button.alt:hover { background: var(--accent-dark); }
.button.ghost { background: transparent; color: var(--brand); }
.button.ghost:hover { background: #e4f0ef; }
.button.glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .75); color: #fff; backdrop-filter: blur(6px); }
.button.glass:hover { background: rgba(255, 255, 255, .3); }
.button.whatsapp { background: #17683f; border-color: #17683f; }
.button.small { padding: 5px 14px; font-size: .88rem; }
.button.large { padding: 13px 30px; font-size: 1.05rem; }
.button.wide { width: 100%; }
.linklike { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; text-decoration: underline; cursor: pointer; }
.danger { color: #a4161a; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.toolbar form, .actions form { margin: 0; }
.actions { display: inline-flex; gap: 10px; flex-wrap: wrap; align-items: center; }
:focus-visible { outline: 3px solid #f2a33c; outline-offset: 2px; }

/* Forms */
input, select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c9c2b4; border-radius: 10px; background: #fff; color: var(--text); }
input[type=checkbox], input[type=radio] { width: auto; }
fieldset { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 6px 20px 20px; margin: 0 0 22px; min-width: 0; }
legend { font-weight: 700; padding: 0 6px; font-family: var(--serif); font-size: 1.15rem; }
.field { margin: 12px 0; display: flex; flex-direction: column; gap: 4px; }
.field label { font-weight: 600; font-size: .9rem; }
label.field { font-weight: 600; font-size: .9rem; }
label.field input { font-weight: 400; }
.field-error { color: #a4161a; display: block; }
.req { color: #a4161a; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 18px; align-items: start; }
.check { display: flex; gap: 8px; align-items: baseline; margin: 8px 0; }
.checks { display: flex; flex-wrap: wrap; column-gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 8px 0; }
.row label:not(.check) { display: flex; flex-direction: column; font-size: .82rem; flex: 1 1 130px; }
.row label.grow { flex: 3 1 220px; }
.row label.full { flex: 1 1 100%; }
.row > input[type=text] { flex: 1 1 220px; width: auto; }
.options { max-height: 260px; overflow: auto; border: 1px solid var(--border); border-radius: 10px; padding: 4px 12px; margin-top: 8px; }
.trap { position: absolute; left: -9999px; }

.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 24px 0; box-shadow: var(--shadow); }
.filters label { display: flex; flex-direction: column; font-size: .8rem; font-weight: 700; }

/* Messages */
.alert { border-radius: 12px; padding: 12px 18px; margin: 16px 0; border: 1px solid; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert.success { background: #e8f5ec; border-color: #9fd1ae; }
.alert.error { background: #fdeceb; border-color: #f0aaa5; }
.alert.warning { background: #fff4de; border-color: #f0cd85; }
.adminbar { background: #eef0fb; border: 1px solid #c3c8ee; border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; }

/* Pictures standing in where there is no photo yet */
.placeholder { display: grid; place-items: center; font-family: var(--serif); font-size: 3.5rem; font-weight: 800; color: rgba(255, 255, 255, .85); background: radial-gradient(circle at 78% 18%, #4d9da0, transparent 55%), linear-gradient(135deg, #08262a, #0f6266); }
.placeholder.pilgrim { background: radial-gradient(circle at 78% 18%, #f0a851, transparent 55%), linear-gradient(135deg, #4a1c02, #a5480a); }
.placeholder.event { background: radial-gradient(circle at 78% 18%, #d9709f, transparent 55%), linear-gradient(135deg, #260d3d, #6b2a77); }

/* Home slider and page heroes */
.slider, .detail-hero { position: relative; overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.slider { height: 100vh; height: 100svh; min-height: 600px; max-height: 1200px; touch-action: pan-y; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s; }
.slide.current { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.slide-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 18, 20, .6), rgba(3, 18, 20, .12) 55%, transparent), linear-gradient(transparent 48%, rgba(3, 18, 20, .82)); }
@media (prefers-reduced-motion: no-preference) {
    .slide.current .slide-image:not(.placeholder) { animation: drift 12s ease-out both; }
}
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08); } }

.slide-text { position: absolute; bottom: 168px; z-index: 2; max-width: calc(820px + 2 * var(--gutter)); text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.slide-text .eyebrow { color: var(--gold); margin: 0; }
.slide-text h2 { font-size: clamp(2.2rem, 5.4vw, 5rem); margin: .12em 0; }
.slide-when { font-weight: 700; font-size: 1.15rem; margin: 0; }
.slide-summary { font-size: clamp(1rem, 1.4vw, 1.28rem); max-width: 60ch; margin: .4em 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; text-shadow: none; }
.credit { position: absolute; right: 10px; top: calc(var(--header) + 8px); z-index: 2; font-size: .7rem; color: rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .45); border-radius: 99px; padding: 1px 10px; max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.slider-arrow { position: absolute; top: 42%; z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .3); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.slider-arrow:hover { background: var(--accent); }
.slider-arrow.previous { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-rail { position: absolute; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.slider-pause { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; font-size: .7rem; letter-spacing: 2px; padding: 0 0 0 2px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { position: relative; flex: 1 0 150px; max-width: 220px; height: 94px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #123; color: #fff; cursor: pointer; opacity: .72; transition: opacity .2s; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current] { border-color: var(--gold); opacity: 1; }
.thumbs img, .thumbs .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs button > span:last-child { position: absolute; inset: auto 0 0; padding: 16px 8px 5px; font: 700 .76rem/1.2 system-ui, sans-serif; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Without JavaScript only the first slide shows, so its controls are of no use. */
html:not(.js) :is(.slider-arrow, .slider-rail) { display: none; }

.detail-hero { height: 88vh; height: 88svh; min-height: 580px; max-height: 1000px; }
.hero-text { position: absolute; bottom: clamp(22px, 4vw, 52px); z-index: 2; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.hero-text h1 { font-size: clamp(2.2rem, 5.6vw, 5.2rem); margin: .1em 0; max-width: 22ch; }
.hero-text p { margin: 4px 0; }
.hero-text a:not(.button) { color: #fff; }
.hero-text .where { font-size: 1.12rem; font-weight: 600; }
.alt-names { display: block; font-weight: 400; font-size: .95rem; opacity: .9; }
.hero-date { font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 700; color: var(--gold); }
.tagline { font-size: clamp(1rem, 1.35vw, 1.25rem); max-width: 68ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; text-shadow: none; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; text-shadow: none; }

.banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(320px, 52vh, 560px); background: radial-gradient(circle at 80% 10%, #4d9da0, transparent 50%), linear-gradient(135deg, #08262a, #0f6266); color: #fff; overflow: hidden; isolation: isolate; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(3, 18, 20, .25), rgba(3, 18, 20, .82)); }
.banner-text { padding-block: calc(var(--header) + 24px) 36px; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.banner-text h1 { font-size: clamp(2.1rem, 4.8vw, 4.2rem); margin: .1em 0; }
.banner-text .eyebrow { color: var(--gold); margin: 0; }
.banner-text p { margin: 6px 0; font-size: 1.1rem; }
.banner-text .button { text-shadow: none; font-size: 1rem; }
.banner .credit { top: auto; bottom: 8px; }

/* Home sections */
.search-band { background: var(--night); color: #fff; padding: 28px 0; }
.search-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; }
.search-band h1 { font-size: clamp(1.35rem, 2vw, 1.9rem); margin: 0; }
.search-band p { margin: 4px 0 0; color: var(--gold); font-weight: 600; font-size: .95rem; }
.search { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 min(460px, 100%); max-width: 860px; min-width: 0; }
.search input { flex: 3 1 240px; width: auto; min-width: 0; border-radius: 99px; padding-inline: 20px; }
.search select { flex: 1 1 200px; width: auto; min-width: 0; border-radius: 99px; }
.band { padding: clamp(24px, 4vw, 60px) 0; }
.band .section-head h2, .band > .wrap > h2:first-child { margin-top: 0; }
.band .eyebrow { margin-top: 0; }
.tinted { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.section-head h1, .section-head h2 { margin-bottom: 0; }
.cta { background: linear-gradient(120deg, #08262a, #0f6266 60%, #a5480a); color: #fff; padding: clamp(34px, 5vw, 70px) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; max-width: 70ch; }

/* Cards and chips */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(20, 40, 44, .09); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card h3 { margin: 8px 0 4px; font-size: 1.35rem; }
.card p { margin: 4px 0; }
.card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 18px 20px 20px; }
.more { font-weight: 700; color: var(--accent); }
.card-foot { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; width: 100%; margin: auto 0 0; padding-top: 10px; }

/* Eight home page cards in two even rows on wide screens. */
@media (min-width: 1100px) { .grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tile > a { position: relative; justify-content: flex-end; min-height: 440px; color: #fff; isolation: isolate; }
.tile-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tile:hover .tile-image { transform: scale(1.06); }
.tile > a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 28%, rgba(3, 18, 20, .93)); }
.tile .placeholder { place-items: start center; padding-top: 60px; }
.tile-body { padding: 22px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.tile .badge { text-shadow: none; }
.tile h3 { font-size: 1.6rem; }
.tile .where { font-weight: 600; font-size: .92rem; color: var(--gold); }
.tile .summary { font-size: .95rem; }
.tile .more { color: #fff; border-bottom: 2px solid var(--gold); display: inline-block; margin-top: 6px; }

.event-picture { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.event-picture img, .event-picture .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event-card:hover .event-picture img { transform: scale(1.06); }
.date-chip { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; align-items: center; min-width: 66px; padding: 6px 10px; border-radius: 12px; background: #fff; color: var(--night); font-size: .72rem; font-weight: 700; line-height: 1.25; box-shadow: var(--shadow); }
.date-chip strong { font-family: var(--serif); font-size: 1.5rem; color: var(--accent); }
.when { font-weight: 700; color: var(--accent); }

.interests { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.interest { position: relative; display: flex; align-items: flex-end; min-height: 220px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.interest > img, .interest > .placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.interest:hover > img { transform: scale(1.08); }
.interest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(3, 18, 20, .88)); }
.interest > span:last-child { padding: 16px 18px; font-size: .85rem; }
.interest strong { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }

.badge { display: inline-block; font-size: .74rem; font-weight: 700; border-radius: 99px; padding: 3px 12px; background: #e7ecec; color: #24393b; vertical-align: middle; font-family: system-ui, sans-serif; line-height: 1.6; }
.badge.attraction { background: #d9f0f0; color: #0a4549; }
.badge.pilgrim { background: #fde8d0; color: #7a3603; }
.badge.event { background: #efe1f8; color: #4d1d72; }
.badge.countdown { background: var(--gold); color: #3a2600; }
.badge.status-pending, .badge.status-partial, .badge.status-open, .badge.booking-requested { background: #fff0c7; color: #6b4a00; }
.badge.status-published, .badge.status-approved, .badge.status-dismissed, .badge.status-verified, .badge.open-open, .badge.booking-confirmed { background: #d9f2df; color: #14532d; }
.badge.status-rejected, .badge.status-removed, .badge.status-upheld, .badge.open-closed, .badge.open-closed_today, .badge.booking-declined { background: #fbdcda; color: #7f1d1d; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 6px 16px; text-decoration: none; }
.chips a:hover { border-color: var(--brand); }
.chips a[aria-current] { background: var(--brand); color: #fff; }
.chips a span { color: var(--muted); font-size: .8rem; margin-left: 4px; }
.chips.plain li { font-size: .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 5px 14px; }

/* Place and event pages */
.subnav { position: sticky; top: var(--header); z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 14px 14px 11px; font-weight: 700; font-size: .9rem; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }
[id] { scroll-margin-top: calc(var(--header) + 66px); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; margin: 24px 0 0; }
.facts > div { background: var(--surface); border-radius: 14px; border-top: 4px solid var(--gold); padding: 14px 18px; box-shadow: 0 4px 18px rgba(20, 40, 44, .08); }
.facts dt { margin: 0; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--muted); }
.facts dd { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; line-height: 1.35; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 28vw, 480px); gap: clamp(24px, 3.5vw, 64px); align-items: start; padding-bottom: 40px; }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.main > section { padding: 12px 0 20px; }
@media (min-width: 1001px) { .js .layout > aside { position: sticky; top: 136px; } }
.main > section + section { border-top: 1px solid var(--border); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 22px 18px; margin: 18px 0; box-shadow: 0 4px 18px rgba(20, 40, 44, .06); }
.panel h2 { font-size: 1.3rem; }
dt { font-weight: 700; margin-top: 10px; }
dd { margin: 0; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
th small { display: block; font-weight: 400; }
.scroll { overflow-x: auto; }
.diff td { width: 40%; }
.diff td.pick { width: 1%; white-space: nowrap; }
.diff td.pick input { width: 22px; height: 22px; }
.button.suggest { background: #fff; color: #8a3b00; border: 2px solid #e8962f; }
.button.suggest:hover { background: #fff4de; }
.revision form { margin: 12px 0 0; }

/* Ratings and reviews */
.stars { position: relative; display: inline-block; color: #cbd2d4; letter-spacing: 1px; line-height: 1; white-space: nowrap; }
.stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #e5940c; }
.rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .9rem; }
.tile-body .rating { color: #fff; }
.tile-body .stars { color: rgba(255, 255, 255, .45); }
.tile-body .stars > span { color: var(--gold); }
.hero-rating { margin: 6px 0; }
.hero-rating a { color: inherit; }
.hero-rating .rating { font-size: 1.05rem; }
.hero-rating .stars { color: rgba(255, 255, 255, .45); }
.hero-rating .stars > span { color: var(--gold); }
.rating-link { color: inherit; text-decoration: none; }
.place-head { padding-top: 22px; }
.review-summary { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin: 12px 0 20px; }
.score { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.score strong { font-size: 3rem; line-height: 1; }
.score .stars { font-size: 1.4rem; }
.bars { list-style: none; margin: 0; padding: 0; flex: 1 1 240px; max-width: 420px; }
.bars li { display: grid; grid-template-columns: 40px 1fr 36px; gap: 10px; align-items: center; font-size: .85rem; }
.meter { height: 9px; border-radius: 6px; background: #e3e7e8; overflow: hidden; }
.meter > span { display: block; height: 100%; background: #e5940c; }
.review { border-top: 1px solid var(--border); padding: 16px 0 6px; }
.review header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.review-photos { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; }
.review-photos img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; display: block; }
.review-photos label { flex-direction: column; align-items: flex-start; }
.review-actions { display: flex; flex-wrap: wrap; gap: 16px; font-size: .86rem; margin: 6px 0; }
.star-input { border: 0; padding: 0; margin: 12px 0; }
.star-choices { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.star-choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-choices label { font-size: 2.6rem; line-height: 1; padding: 0 3px; color: #cbd2d4; cursor: pointer; }
.star-choices input:checked ~ label, .star-choices label:hover, .star-choices label:hover ~ label { color: #e5940c; }
.star-choices input:focus-visible + label { outline: 3px solid var(--accent); border-radius: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.tabs a { padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem; }
.tabs a[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }
.flag { border-left: 4px solid #c0392b; background: #fdf1f0; border-radius: 0 10px 10px 0; padding: 4px 16px 10px; margin: 12px 0; }
.review-admin form.row { margin-top: 14px; }
.button.danger-button { background: #a4161a; }

/* Left-to-right rows of Reels, Shorts and videos */
.strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; }
.strip-head p { margin: 0 0 8px; }
.strip-controls { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.strip-arrow { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--brand); background: #fff; color: var(--brand); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.strip-arrow:disabled { opacity: .3; cursor: default; }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 4px 2px 14px; }
.clip { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.strip.reels .clip { width: min(212px, 62vw); }
.strip.wide .clip { width: min(360px, 82vw); }
.strip.reels .player, .strip.reels .clip-space { aspect-ratio: 9 / 16; }
.strip.wide .player, .strip.wide .clip-space { aspect-ratio: 16 / 9; }
.clip figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .84rem; padding-top: 6px; overflow-wrap: anywhere; }
.clip .player button span.clip-source { position: absolute; inset: 0; transform: none; display: flex; align-items: flex-start; justify-content: center; padding: 22px 10px; border-radius: 0; background: linear-gradient(160deg, #7b2a8e, #d6366b 55%, #f2a13b); white-space: normal; }
.clip .player button span.clip-source.youtube_short, .clip .player button span.clip-source.youtube { background: linear-gradient(160deg, #3b0d0d, #c4161c); }
.clip .player button span.clip-source.facebook_video { background: linear-gradient(160deg, #0b2a5b, #1877f2); }
.clip-space { display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; border: 2px dashed #b9c8ca; border-radius: 14px; background: #eef4f4; color: var(--muted); font-weight: 700; font-size: .9rem; }
.clip-space span { display: block; font-size: 1.8rem; }
.clip-space a { text-decoration: none; }
.brand-full { font-weight: 700; color: var(--gold); }
blockquote { margin: 12px 0; padding: 8px 14px; border-left: 4px solid var(--border); }

.highlights { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.highlights li { position: relative; background: linear-gradient(135deg, #fff6e6, #fff); border: 1px solid #f1dfba; border-radius: 14px; padding: 16px 18px 16px 50px; font-weight: 600; line-height: 1.45; }
.highlights li::before { content: "✦"; position: absolute; left: 18px; top: 13px; color: var(--accent); font-size: 1.35rem; }
.numbered { list-style: none; padding: 0; counter-reset: item; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.numbered li { counter-increment: item; display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; line-height: 1.45; }
.numbered li::before { content: counter(item); flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 1.05rem var(--serif); }
.ticks { list-style: none; padding: 0; max-width: 82ch; }
.ticks li { position: relative; padding: 5px 0 5px 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--brand); font-weight: 800; }
.story .prose { font-size: 1.07rem; }
.tale { border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 4px 22px 18px; margin: 16px 0; }
.sources { font-size: .9rem; }
.sources a { overflow-wrap: anywhere; }
.timeline { list-style: none; padding: 0 0 0 4px; margin: 0; }
.timeline li { position: relative; display: flex; flex-direction: column; padding: 0 0 20px 28px; border-left: 2px solid #f0d9ab; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.timeline li:last-child { border-left-color: transparent; }

.seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.season { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px 12px; }
.season h3 { margin-bottom: 0; }
.season p { margin: 6px 0; }
.months { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.months li { text-align: center; font-size: .72rem; font-weight: 700; padding: 6px 0; border-radius: 6px; background: #eee9de; color: var(--muted); }
.months li.on { background: var(--brand); color: #fff; }
.months li.now { outline: 2px solid var(--accent); outline-offset: 1px; }

.transport { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-bottom: 16px; }
.transport div { background: var(--tint); border-radius: 14px; padding: 14px 18px; }
.transport span { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; color: var(--muted); }
.transport strong { display: block; line-height: 1.4; }
.map { display: block; width: 100%; height: clamp(300px, 46vh, 520px); border: 0; border-radius: var(--radius); margin: 16px 0; background: var(--tint); }

/* Tickets and organisers */
.tickets { border: 2px solid var(--accent); }
.ticket-list { list-style: none; padding: 0; margin: 0 0 12px; }
.ticket-list li { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.ticket-list small { display: block; line-height: 1.4; }
.price { font: 800 1.2rem var(--serif); color: var(--accent); text-align: right; }
.direct { margin: 14px 0 6px; }
.direct small { display: block; text-align: center; }
.booking-form summary { cursor: pointer; font-weight: 700; padding: 12px 16px; border-radius: 12px; background: #fdefe0; color: #7a3603; margin-top: 12px; }
.reference { font-family: ui-monospace, monospace; letter-spacing: .08em; }
.contact { border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.contact p { margin: 10px 0 0; }
.contact small { display: block; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-actions .button { overflow-wrap: anywhere; }
.booking-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.booking-cards .panel { margin: 0; padding-top: 4px; }
.booking-cards h2 { margin: .3em 0; }

/* Home slider administration */
.add-slide { grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 24px; }
.slide-row { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px; padding-top: 20px; }
.slide-row h2 { margin-top: 0; }
.slide-preview img, .slide-preview > .placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.slide-preview > .placeholder { font-size: 1.2rem; }
.slide-preview .row form { margin: 0; }
.picker { padding: 4px 12px 12px; display: flex; flex-wrap: wrap; gap: 10px; max-height: 250px; overflow: auto; }
.picker label { position: relative; display: block; cursor: pointer; }
.picker input { position: absolute; left: 8px; top: 8px; z-index: 1; width: 18px; height: 18px; }
.picker img, .picker label span { width: 130px; height: 84px; object-fit: cover; border-radius: 8px; border: 3px solid transparent; }
.picker label span { display: grid; place-items: center; background: var(--tint); font-size: .82rem; font-weight: 700; }
.picker input:checked + * { border-color: var(--accent); }
@media (max-width: 820px) { .slide-row { grid-template-columns: minmax(0, 1fr); } }

.list { list-style: none; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.list li.stack { flex-direction: column; align-items: flex-start; gap: 4px; }
.list li > span { min-width: 0; }
.list small { display: block; }
.url { display: block; font-size: .85rem; overflow-wrap: anywhere; }
.thumb { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; display: inline-block; vertical-align: middle; }
.stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stats li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.stats strong { display: block; font-size: 1.8rem; font-family: var(--serif); }

/* Photos and videos */
figure { margin: 0; }
figcaption { font-size: .85rem; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 210px), 1fr)); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 10px; }
.gallery figure { position: relative; overflow: hidden; border-radius: 12px; background: var(--tint); }
.gallery figure > a, .gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery img { transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 18px 10px 6px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); max-height: 100%; overflow: auto; }
.gallery figcaption:empty { display: none; }
.gallery figcaption :is(a, .linklike, .muted) { color: #fff; }
.gallery.feature figure:first-child { grid-column: span 2; grid-row: span 2; }
.js .gallery:not(.all) [data-extra] { display: none; }
.credits { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.credits summary { cursor: pointer; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.videos.tall { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.player { position: relative; aspect-ratio: 16 / 9; background: #10262a; border-radius: 14px; overflow: hidden; }
.videos.tall .player { aspect-ratio: 9 / 16; }
.player button, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player button { background: none; padding: 0; cursor: pointer; color: #fff; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.player button span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(0, 0, 0, .75); border-radius: 99px; padding: 10px 22px; font-weight: 700; white-space: nowrap; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; color: #fff; text-align: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .93); }
.lightbox img { max-width: 96vw; max-height: 82vh; margin: 0 auto; }
.lightbox .controls { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }

.pagination { display: flex; justify-content: center; gap: 24px; margin: 32px 0; }
main > .wrap:last-child { padding-bottom: 48px; }

@media (max-width: 700px) {
    .slider { min-height: 640px; }
    .slider-arrow { display: none; }
    .slide-text { bottom: 128px; }
    .slide::after { background: linear-gradient(rgba(3, 18, 20, .25), rgba(3, 18, 20, .2) 30%, rgba(3, 18, 20, .9)); }
    .slide-summary { -webkit-line-clamp: 2; }
    .thumbs button { flex-basis: 96px; height: 70px; }
    .detail-hero { height: auto; min-height: 0; max-height: none; display: grid; }
    /* On small screens the text sets the height, so long titles are never cut off. */
    .detail-hero > * { grid-area: 1 / 1; }
    .detail-hero .slide { position: relative; inset: auto; grid-area: 1 / 1; }
    .detail-hero .hero-text { position: relative; bottom: auto; align-self: end; padding-top: 230px; padding-bottom: 24px; }
    .hero-actions .button { padding: 8px 16px; font-size: .9rem; }
    .tile > a { min-height: 360px; }
    .gallery { grid-auto-rows: 130px; }
    .add-slide { grid-template-columns: minmax(0, 1fr); }
}

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

@media print {
    .site-header, .subnav, .toolbar, .hero-actions, .map { display: none !important; }
}

.meta-preview { max-width: 320px; width: 100%; border-radius: 10px; }
.meta-choices { display: flex; flex-wrap: wrap; gap: 12px; }
.meta-choices label { display: flex; gap: 6px; align-items: center; }

/* Distances and places near the visitor */
.tile .distance { font-weight: 700; font-size: .92rem; margin: 2px 0; }
.hero-distance { font-weight: 700; color: var(--gold); margin: 4px 0; }
.near-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.near-bar select { width: auto; }
.near-status { color: var(--muted); }
.near-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
[data-near-results]:empty { display: none; }
.button[hidden] { display: none; }
