/* ==========================================================================
   v38 — single destination guide (templates/destination.php). Loaded only on that page.
   ========================================================================== */
.rv-dg-page { --dg-r: 22px; --dg-sh: 0 18px 40px -24px rgb(2 44 60 / 45%); background: var(--rv-bg-soft); }

/* ---------- cover ---------- */
.rv .rv-dg-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(440px, 62vh, 620px); padding: 120px 0 110px; color: #fff; background: radial-gradient(120% 120% at 85% 0%, #0C4A62 0%, var(--rv-primary) 55%, #011C27 100%); overflow: hidden; }
.rv .rv-dg-hero__bg { position: absolute; inset: 0; z-index: -1; }
.rv .rv-dg-hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.rv .rv-dg-hero.has-photo .rv-dg-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(1 28 39 / 35%) 0%, rgb(1 28 39 / 20%) 35%, rgb(1 28 39 / 82%) 78%, rgb(1 28 39 / 95%) 100%), linear-gradient(90deg, rgb(1 28 39 / 0%) 40%, rgb(1 28 39 / 35%) 100%); }
.rv .rv-dg-hero__in { position: relative; width: 100%; }
.rv .rv-dg-hero .rv-trail, .rv .rv-dg-hero .rv-trail a { color: rgb(255 255 255 / 78%); }
.rv .rv-dg-hero .rv-trail a:hover { color: #fff; }
.rv .rv-dg-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 12px; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / 12%); border: 1px solid rgb(255 255 255 / 22%); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; color: #fff; }
.rv .rv-dg-hero__eyebrow svg { width: 16px; height: 16px; color: var(--rv-accent); }
.rv .rv-dg-hero__title { max-width: 18ch; margin: 0 0 14px; color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.3; letter-spacing: -.01em; text-shadow: 0 4px 30px rgb(0 0 0 / 30%); }
.rv .rv-dg-hero__lead { max-width: 60ch; margin: 0 0 26px; color: rgb(255 255 255 / 88%); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 2; }
.rv .rv-dg-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* buttons */
.rv .rv-dg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 14px; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .2s var(--rv-ease), box-shadow .2s, background .2s; }
.rv .rv-dg-btn svg { width: 19px; height: 19px; flex: none; }
.rv .rv-dg-btn em { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: rgb(2 44 60 / 14%); font-style: normal; font-size: 12px; }
.rv .rv-dg-btn--gold { background: var(--rv-accent); color: var(--rv-primary); box-shadow: 0 12px 26px -12px rgb(232 163 61 / 80%); }
.rv .rv-dg-btn--gold:hover { background: #F3B657; color: var(--rv-primary); transform: translateY(-2px); }
.rv .rv-dg-btn--glass { background: rgb(255 255 255 / 12%); border: 1px solid rgb(255 255 255 / 30%); color: #fff; backdrop-filter: blur(8px); }
.rv .rv-dg-btn--glass:hover { background: rgb(255 255 255 / 22%); color: #fff; }
.rv .rv-dg-btn--navy { background: var(--rv-primary); color: #fff; }
.rv .rv-dg-btn--navy:hover { background: var(--rv-primary-700); color: #fff; }
.rv .rv-dg-btn--navy svg { color: var(--rv-accent); }
.rv .rv-dg-btn--block { width: 100%; }
.rv .rv-dg-btn:focus-visible { outline: 3px solid var(--rv-accent); outline-offset: 3px; }

/* ---------- key facts ---------- */
.rv .rv-dg-facts-wrap { position: relative; z-index: 2; margin-top: -64px; }
.rv .rv-dg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; margin: 0; padding: 8px; list-style: none; border-radius: var(--dg-r); background: #fff; box-shadow: 0 24px 50px -28px rgb(2 44 60 / 55%); border: 1px solid var(--rv-line); }
.rv .rv-dg-facts li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; }
.rv .rv-dg-facts li + li { border-inline-start: 1px dashed var(--rv-line); }
.rv .rv-dg-facts__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--rv-primary); color: var(--rv-accent); }
.rv .rv-dg-facts__ic svg { width: 22px; height: 22px; }
.rv .rv-dg-facts small { display: block; color: var(--rv-muted); font-size: 12px; font-weight: 600; }
.rv .rv-dg-facts b { display: block; margin-top: 2px; color: var(--rv-ink); font-size: 15px; font-weight: 900; line-height: 1.6; }

/* ---------- section bar ---------- */
.rv .rv-dg-nav { position: sticky; top: var(--rv-hdr-h, 0px); z-index: 20; margin-top: 22px; background: rgb(244 248 249 / 88%); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.rv .rv-dg-nav.is-stuck { border-bottom-color: var(--rv-line); box-shadow: 0 10px 24px -20px rgb(2 44 60 / 60%); }
.rv .rv-dg-nav ul { display: flex; gap: 6px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.rv .rv-dg-nav ul::-webkit-scrollbar { display: none; }
.rv .rv-dg-nav li { flex: none; margin: 0; }
.rv .rv-dg-nav a { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--rv-line); color: var(--rv-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.rv .rv-dg-nav a svg { width: 16px; height: 16px; color: var(--rv-accent-700); }
.rv .rv-dg-nav a:hover { border-color: var(--rv-primary); }
.rv .rv-dg-nav a.is-on { background: var(--rv-primary); border-color: var(--rv-primary); color: #fff; }
.rv .rv-dg-nav a.is-on svg { color: var(--rv-accent); }

/* ---------- layout ---------- */
.rv .rv-dg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 10px; }
@media (min-width: 1024px) { .rv .rv-dg { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; } }
.rv .rv-dg-s { margin: 0 0 22px; padding: clamp(20px, 3vw, 32px); border-radius: var(--dg-r); background: #fff; border: 1px solid var(--rv-line); box-shadow: var(--dg-sh); scroll-margin-top: calc(var(--rv-hdr-h, 0px) + 80px); }

/* numbered section title */
.rv .rv-dg-h { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.rv .rv-dg-h__n { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(145deg, #FFF4DF, #FBE3B6); color: var(--rv-accent-700); font-size: 17px; font-weight: 900; }
.rv .rv-dg-h__e { margin: 0 0 2px; color: var(--rv-accent-700); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.rv .rv-dg-h h2 { margin: 0; color: var(--rv-ink); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 900; line-height: 1.5; }

/* intro */
.rv .rv-dg-prose { font-size: 15.5px; line-height: 2.15; color: #2E4652; }
.rv .rv-dg-prose > p:first-child { font-size: 1.08em; color: var(--rv-ink); }
.rv .rv-dg-prose h3 { margin: 1.6em 0 .6em; padding-inline-start: 12px; border-inline-start: 4px solid var(--rv-accent); color: var(--rv-ink); font-size: 1.15rem; font-weight: 900; }

/* attractions */
.rv .rv-dg-attr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 640px) { .rv .rv-dg-attr { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rv .rv-dg-attr__i.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .rv .rv-dg-attr__i.is-lead .rv-dg-attr__media { aspect-ratio: auto; min-height: 260px; } .rv .rv-dg-attr__i.is-lead .rv-dg-attr__b { align-self: center; padding: 24px; } .rv .rv-dg-attr__i.is-lead h3 { font-size: 1.3rem; }
	/* an attraction left alone on the last row takes the full row too (image on the other side) */
	.rv .rv-dg-attr__i:last-child:nth-child(even) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
	.rv .rv-dg-attr__i:last-child:nth-child(even) .rv-dg-attr__media { order: 2; aspect-ratio: auto; min-height: 230px; }
	.rv .rv-dg-attr__i:last-child:nth-child(even) .rv-dg-attr__b { align-self: center; padding: 24px; }
	/* horizontal cards: the photo fills its half at a fixed height, whatever its own proportions */
	.rv .rv-dg-attr__i.is-lead .rv-dg-attr__media, .rv .rv-dg-attr__i:last-child:nth-child(even) .rv-dg-attr__media { height: 100%; min-height: 250px; max-height: 300px; }
	.rv .rv-dg-attr__i.is-lead .rv-dg-attr__img, .rv .rv-dg-attr__i:last-child:nth-child(even) .rv-dg-attr__img { position: absolute; inset: 0; } }
.rv .rv-dg-attr__i { display: flex; flex-direction: column; margin: 0; overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--rv-line); transition: transform .25s var(--rv-ease), box-shadow .25s; }
.rv .rv-dg-attr__i:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgb(2 44 60 / 55%); }
.rv .rv-dg-attr__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rv-primary-50, #E6EFF2); }
.rv .rv-dg-attr__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rv-ease); }
.rv .rv-dg-attr__i:hover .rv-dg-attr__img { transform: scale(1.05); }
.rv .rv-dg-attr__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--rv-primary); opacity: .3; }
.rv .rv-dg-attr__ph svg { width: 54px; height: 54px; }
.rv .rv-dg-attr__n { position: absolute; top: 12px; inset-inline-start: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--rv-accent); color: var(--rv-primary); font-size: 16px; font-weight: 900; box-shadow: 0 8px 18px -8px rgb(0 0 0 / 55%); }
.rv .rv-dg-attr__b { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.rv .rv-dg-attr__b h3 { margin: 0; color: var(--rv-ink); font-size: 1.08rem; font-weight: 900; line-height: 1.6; }
.rv .rv-dg-attr__b p { margin: 0; color: var(--rv-muted); font-size: 14px; line-height: 1.95; }
.rv .rv-dg-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: #FFF4DF; color: var(--rv-accent-700); font-size: 13px; font-weight: 800; text-decoration: none; transition: background .2s; }
.rv .rv-dg-pill:hover { background: #FBE3B6; color: var(--rv-accent-700); }
.rv .rv-dg-pill svg { width: 15px; height: 15px; }

/* gallery mosaic */
.rv .rv-dg-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .rv .rv-dg-gal { grid-auto-rows: 150px; } }
.rv .rv-dg-gal li { margin: 0; min-width: 0; }
.rv .rv-dg-gal li:first-child { grid-column: span 2; grid-row: span 2; }
.rv .rv-dg-gal--n1 li:first-child { grid-column: 1 / -1; }
.rv .rv-dg-gal--n2 li { grid-column: span 2; grid-row: span 2; }
.rv .rv-dg-gal--n3 li:not(:first-child) { grid-column: span 2; }
.rv .rv-dg-gal li.is-extra { display: none; }
.rv .rv-dg-gal a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 14px; }
.rv .rv-dg-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--rv-ease); }
.rv .rv-dg-gal a:hover img { transform: scale(1.06); }
.rv .rv-dg-gal a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(1 28 39 / 35%)); opacity: 0; transition: opacity .3s; }
.rv .rv-dg-gal a:hover::after { opacity: 1; }
.rv .rv-dg-gal a[data-more]::before { direction: ltr; unicode-bidi: isolate; content: attr(data-more); position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: rgb(1 28 39 / 62%); color: #fff; font-size: 26px; font-weight: 900; }
.rv .rv-dg-gal a:focus-visible { outline: 3px solid var(--rv-accent); outline-offset: 2px; }

/* practical info cards */
.rv .rv-dg-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rv .rv-dg-info__c { padding: 18px 20px; border-radius: 18px; background: #F8FAFB; border: 1px solid var(--rv-line); scroll-margin-top: calc(var(--rv-hdr-h, 0px) + 80px); }
.rv .rv-dg-info__c > header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rv .rv-dg-info__c h3 { margin: 0; color: var(--rv-ink); font-size: 1.05rem; font-weight: 900; }
.rv .rv-dg-info__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: #fff; }
.rv .rv-dg-info__ic svg { width: 21px; height: 21px; }
.rv .rv-dg-info__c--access .rv-dg-info__ic { background: #0B6E8A; }
.rv .rv-dg-info__c--food .rv-dg-info__ic { background: #C2571E; }
.rv .rv-dg-info__c--tips .rv-dg-info__ic { background: var(--rv-accent); color: var(--rv-primary); }
.rv .rv-dg-info__c .rv-prose { font-size: 14.5px; line-height: 2.05; color: #2E4652; }
.rv .rv-dg-info__c .rv-prose > :last-child { margin-bottom: 0; }
.rv .rv-dg-info__c .rv-prose ul { margin: 0; padding: 0; list-style: none; }
.rv .rv-dg-info__c .rv-prose li { position: relative; margin: 0 0 6px; padding-inline-start: 26px; }
.rv .rv-dg-info__c .rv-prose li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%; background: #FFF4DF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A12' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* map card */
.rv .rv-dg-map { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: 18px; border: 1px solid var(--rv-line); }
@media (min-width: 640px) { .rv .rv-dg-map { grid-template-columns: 220px minmax(0, 1fr); } }
.rv .rv-dg-map__art { position: relative; display: grid; place-items: center; min-height: 170px; background-color: #DCEAE4; background-image: radial-gradient(circle at 30% 70%, #CBE0D6 0 18%, transparent 19%), radial-gradient(circle at 75% 25%, #D5E6DE 0 22%, transparent 23%), linear-gradient(115deg, transparent 46%, #F3E3BE 46% 50%, transparent 50%), linear-gradient(25deg, transparent 55%, #fff 55% 57%, transparent 57%), repeating-linear-gradient(0deg, rgb(2 44 60 / 5%) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgb(2 44 60 / 5%) 0 1px, transparent 1px 22px); }
.rv .rv-dg-map__pin { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--rv-primary); box-shadow: 0 14px 24px -10px rgb(2 44 60 / 70%); }
.rv .rv-dg-map__pin svg { width: 26px; height: 26px; color: var(--rv-accent); transform: rotate(45deg); }
.rv .rv-dg-map__b { padding: 20px 22px; background: #fff; }
.rv .rv-dg-map__t { margin: 0; color: var(--rv-ink); font-size: 1.15rem; font-weight: 900; }
.rv .rv-dg-map__c { margin: 2px 0 10px; color: var(--rv-muted); font-size: 13px; font-family: ui-monospace, Menlo, Consolas, monospace; text-align: right; }
.rv .rv-dg-map__s { margin: 0 0 10px; color: var(--rv-muted); font-size: 13.5px; }
.rv .rv-dg-map__act { display: flex; flex-wrap: wrap; gap: 8px; }
.rv .rv-dg-mapbtn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--rv-line); background: #fff; color: var(--rv-ink); font-size: 14px; font-weight: 800; text-decoration: none; transition: border-color .2s, background .2s; }
.rv .rv-dg-mapbtn svg { width: 17px; height: 17px; color: var(--rv-accent-700); }
.rv .rv-dg-mapbtn:hover { border-color: var(--rv-primary); background: var(--rv-bg-soft); color: var(--rv-ink); }

/* FAQ */
.rv .rv-dg-faq { display: grid; gap: 10px; }
.rv .rv-dg-faq__i { border-radius: 16px; border: 1px solid var(--rv-line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.rv .rv-dg-faq__i[open] { border-color: rgb(232 163 61 / 60%); box-shadow: 0 14px 28px -22px rgb(2 44 60 / 55%); }
.rv .rv-dg-faq__i summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.rv .rv-dg-faq__i summary::-webkit-details-marker { display: none; }
.rv .rv-dg-faq__q { color: var(--rv-ink); font-size: 15px; font-weight: 800; line-height: 1.8; }
.rv .rv-dg-faq__x { position: relative; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--rv-bg-soft); transition: background .2s, transform .25s; }
.rv .rv-dg-faq__x::before, .rv .rv-dg-faq__x::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--rv-ink); transition: transform .25s; }
.rv .rv-dg-faq__x::after { transform: rotate(90deg); }
.rv .rv-dg-faq__i[open] .rv-dg-faq__x { background: var(--rv-accent); }
.rv .rv-dg-faq__i[open] .rv-dg-faq__x::after { transform: rotate(0deg); }
.rv .rv-dg-faq__a { padding: 0 18px 16px; color: var(--rv-muted); font-size: 14.5px; line-height: 2; }
.rv .rv-dg-faq__a > :last-child { margin-bottom: 0; }

/* sidebar */
.rv .rv-dg__side { min-width: 0; }
@media (min-width: 1024px) { .rv .rv-dg-card { position: sticky; top: calc(var(--rv-hdr-h, 0px) + 84px); } }
.rv .rv-dg-card { padding: 20px; border-radius: var(--dg-r); background: #fff; border: 1px solid var(--rv-line); box-shadow: var(--dg-sh); }
.rv .rv-dg-card__h { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--rv-ink); font-size: 1rem; font-weight: 900; }
.rv .rv-dg-card__h svg { width: 19px; height: 19px; color: var(--rv-accent-700); }
.rv .rv-dg-cal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.rv .rv-dg-cal li { position: relative; display: grid; place-items: center; margin: 0; height: 40px; border-radius: 10px; background: var(--rv-bg-soft); color: #8399A3; font-size: 12.5px; font-weight: 700; }
.rv .rv-dg-cal li.is-good { background: linear-gradient(145deg, #0C4A62, var(--rv-primary)); color: #fff; }
.rv .rv-dg-cal li.is-now { box-shadow: inset 0 0 0 2px var(--rv-accent); }
.rv .rv-dg-cal li.is-now::after { content: ""; position: absolute; top: 5px; inset-inline-end: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--rv-accent); }
.rv .rv-dg-cal__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 0 16px; color: var(--rv-muted); font-size: 12px; }
.rv .rv-dg-cal__legend i { display: inline-block; width: 12px; height: 12px; margin-inline-end: -8px; border-radius: 4px; vertical-align: -2px; }
.rv .rv-dg-cal__legend i.is-good { background: var(--rv-primary); }
.rv .rv-dg-cal__legend i.is-now { box-shadow: inset 0 0 0 2px var(--rv-accent); background: var(--rv-bg-soft); }
.rv .rv-dg-card__call { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--rv-bg-soft); color: var(--rv-ink); text-decoration: none; }
.rv .rv-dg-card__call svg { width: 22px; height: 22px; color: var(--rv-accent-700); flex: none; }
.rv .rv-dg-card__call span { display: flex; flex-direction: column; font-size: 12px; color: var(--rv-muted); }
.rv .rv-dg-card__call b { color: var(--rv-ink); font-size: 15px; font-weight: 900; text-align: right; }

/* closing call */
.rv .rv-dg-cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 14px 0 8px; padding: clamp(22px, 4vw, 38px); overflow: hidden; border-radius: 26px; background: radial-gradient(120% 140% at 100% 0%, #0C4A62 0%, var(--rv-primary) 60%, #011C27 100%); color: #fff; }
.rv .rv-dg-cta::after { content: ""; position: absolute; inset-inline-end: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgb(232 163 61 / 14%); pointer-events: none; }
.rv .rv-dg-cta__t { position: relative; max-width: 620px; }
.rv .rv-dg-cta__e { margin: 0 0 4px; color: var(--rv-accent); font-size: 13px; font-weight: 800; }
.rv .rv-dg-cta h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 900; line-height: 1.5; }
.rv .rv-dg-cta p { margin: 0; color: rgb(255 255 255 / 78%); font-size: 14.5px; line-height: 1.95; }
.rv .rv-dg-cta .rv-dg-btn { position: relative; }
.rv .rv-dg-cta .rv-dg-btn svg { transition: transform .2s; }
.rv .rv-dg-cta .rv-dg-btn:hover svg { transform: translateX(-4px); }
.rv .rv-dg-tours { scroll-margin-top: calc(var(--rv-hdr-h, 0px) + 70px); }

/* ==========================================================================
   v39 — shorter cover; richer section cards, rhythm (dark / soft sections) and content typography
   ========================================================================== */
.rv .rv-dg-hero { min-height: clamp(360px, 48vh, 480px); padding: 104px 0 96px; }
.rv .rv-dg-hero:not(.has-photo) { min-height: clamp(320px, 38vh, 400px); }
.rv .rv-dg-hero:not(.has-photo) .rv-dg-hero__bg::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: .9; -webkit-mask: url("../img/topo.svg") center / 720px auto repeat; mask: url("../img/topo.svg") center / 720px auto repeat; }
.rv .rv-dg-hero:not(.has-photo) .rv-dg-hero__bg::after { content: ""; position: absolute; inset-inline-start: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgb(232 163 61 / 22%) 0%, transparent 65%); }

/* section card */
.rv .rv-dg-s { position: relative; overflow: hidden; padding: clamp(22px, 3.2vw, 36px); }
.rv .rv-dg-s::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--rv-primary) 0%, #0C6A86 45%, var(--rv-accent) 100%); }
.rv .rv-dg-h { position: relative; gap: 16px; margin: 0 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--rv-line); }
.rv .rv-dg-h::after { content: ""; position: absolute; bottom: -1px; inset-inline-start: 0; width: 72px; height: 3px; border-radius: 3px; background: var(--rv-accent); }
.rv .rv-dg-h__n { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(150deg, #0C4A62, var(--rv-primary)); color: var(--rv-accent); font-size: 18px; box-shadow: 0 12px 22px -12px rgb(2 44 60 / 70%); }
.rv .rv-dg-h__e { display: inline-block; margin: 0 0 4px; padding: 3px 10px; border-radius: 999px; background: #FFF4DF; color: var(--rv-accent-700); font-size: 12px; }
.rv .rv-dg-h h2 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); }

/* dark sections (gallery, map) */
.rv .rv-dg-s--dark { background: radial-gradient(130% 120% at 100% 0%, #0C4A62 0%, var(--rv-primary) 55%, #011C27 100%); border-color: transparent; color: #fff; }
.rv .rv-dg-s--dark::before { background: linear-gradient(90deg, var(--rv-accent), rgb(232 163 61 / 0%)); }
.rv .rv-dg-s--dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: #fff; opacity: .05; -webkit-mask: url("../img/topo.svg") center / 720px auto repeat; mask: url("../img/topo.svg") center / 720px auto repeat; }
.rv .rv-dg-s--dark > * { position: relative; z-index: 1; }
.rv .rv-dg-s--dark .rv-dg-h { border-bottom-color: rgb(255 255 255 / 14%); }
.rv .rv-dg-s--dark .rv-dg-h h2 { color: #fff; }
.rv .rv-dg-s--dark .rv-dg-h__e { background: rgb(232 163 61 / 16%); color: var(--rv-accent); }
.rv .rv-dg-s--dark .rv-dg-h__n { background: var(--rv-accent); color: var(--rv-primary); box-shadow: 0 12px 22px -12px rgb(0 0 0 / 70%); }
.rv .rv-dg-s--dark .rv-dg-gal a { box-shadow: 0 14px 26px -18px rgb(0 0 0 / 80%); }
.rv .rv-dg-s--dark .rv-dg-map { border-color: rgb(255 255 255 / 14%); box-shadow: 0 18px 34px -22px rgb(0 0 0 / 80%); }

/* soft section (FAQ) */
.rv .rv-dg-s--soft { background: linear-gradient(180deg, #FFFBF3 0%, #fff 140px); }

/* intro: lead paragraph and rich content */
.rv .rv-dg-s--intro .rv-dg-prose > p:first-child { position: relative; margin-bottom: 1.4em; padding: 16px 20px; padding-inline-start: 22px; border-radius: 16px; background: var(--rv-bg-soft); border-inline-start: 4px solid var(--rv-accent); color: var(--rv-ink); font-size: 1.12em; font-weight: 500; line-height: 2.1; }
.rv .rv-dg-prose, .rv .rv-dg-info__c .rv-prose { max-width: none; } /* the general prose width (for articles) does not apply inside the guide's cards */
.rv .rv-dg-prose p { margin: 0 0 1.1em; }
.rv .rv-dg-prose h2, .rv .rv-dg-prose h3, .rv .rv-dg-prose h4 { display: flex; align-items: center; gap: 10px; margin: 1.7em 0 .7em; padding: 0; border: 0; color: var(--rv-ink); font-weight: 900; line-height: 1.6; }
.rv .rv-dg-prose h2 { font-size: 1.25rem; } .rv .rv-dg-prose h3 { font-size: 1.12rem; } .rv .rv-dg-prose h4 { font-size: 1rem; }
.rv .rv-dg-prose h2::before, .rv .rv-dg-prose h3::before, .rv .rv-dg-prose h4::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--rv-accent); transform: rotate(45deg); }
.rv .rv-dg-prose strong, .rv .rv-dg-prose b { color: var(--rv-ink); font-weight: 800; }
.rv .rv-dg-prose a { color: #0B6E8A; font-weight: 700; text-decoration: underline; text-decoration-color: rgb(232 163 61 / 70%); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rv .rv-dg-prose a:hover { color: var(--rv-ink); text-decoration-color: var(--rv-accent); }
.rv .rv-dg-prose ul, .rv .rv-dg-prose ol { margin: 0 0 1.2em; padding: 0; list-style: none; }
.rv .rv-dg-prose ul li { position: relative; margin: 0 0 .5em; padding-inline-start: 22px; }
.rv .rv-dg-prose ul li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: var(--rv-accent); box-shadow: 0 0 0 4px #FFF4DF; }
.rv .rv-dg-prose ol { counter-reset: rvdg; }
.rv .rv-dg-prose ol li { position: relative; margin: 0 0 .6em; padding-inline-start: 36px; counter-increment: rvdg; }
.rv .rv-dg-prose ol li::before { content: counter(rvdg); position: absolute; inset-inline-start: 0; top: .2em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--rv-primary); color: var(--rv-accent); font-size: 12px; font-weight: 900; }
.rv .rv-dg-prose blockquote { position: relative; margin: 1.4em 0; padding: 18px 22px; padding-inline-start: 56px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #FFF8EC, #FFF1D8); color: var(--rv-ink); font-size: 1.05em; font-weight: 600; }
.rv .rv-dg-prose blockquote::before { content: "\201D"; position: absolute; inset-inline-start: 16px; top: 4px; color: var(--rv-accent); font-size: 52px; font-weight: 900; line-height: 1; font-family: Georgia, serif; }
.rv .rv-dg-prose blockquote p:last-child { margin: 0; }
.rv .rv-dg-prose img { height: auto; border-radius: 16px; box-shadow: 0 16px 32px -24px rgb(2 44 60 / 60%); }
.rv .rv-dg-prose figure { margin: 1.4em 0; }
.rv .rv-dg-prose figcaption { margin-top: 8px; color: var(--rv-muted); font-size: 13px; text-align: center; }
.rv .rv-dg-prose table { width: 100%; margin: 1.2em 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--rv-line); border-radius: 14px; font-size: 14px; }
.rv .rv-dg-prose th { background: var(--rv-primary); color: #fff; font-weight: 800; }
.rv .rv-dg-prose th, .rv .rv-dg-prose td { padding: 10px 14px; border: 0; border-top: 1px solid var(--rv-line); text-align: start; }
.rv .rv-dg-prose tr:nth-child(even) td { background: var(--rv-bg-soft); }
.rv .rv-dg-prose hr { margin: 1.8em 0; border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--rv-line) 20%, var(--rv-line) 80%, transparent); }

/* practical info: two columns on wide screens; a lone card spans both */
@media (min-width: 900px) {
	.rv .rv-dg-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rv .rv-dg-info__c:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.rv .rv-dg-info__c { position: relative; background: #fff; box-shadow: 0 10px 24px -20px rgb(2 44 60 / 55%); transition: transform .2s var(--rv-ease), box-shadow .2s; }
.rv .rv-dg-info__c:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -22px rgb(2 44 60 / 60%); }
.rv .rv-dg-info__c > header { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed var(--rv-line); }

/* attractions: softer card edge */
.rv .rv-dg-attr__i { box-shadow: 0 10px 24px -20px rgb(2 44 60 / 55%); }

/* a guide with nothing filled in yet */
.rv .rv-dg-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-block: 44px; text-align: center; }
.rv .rv-dg-empty__ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: linear-gradient(145deg, #FFF4DF, #FBE3B6); color: var(--rv-accent-700); }
.rv .rv-dg-empty__ic svg { width: 32px; height: 32px; }
.rv .rv-dg-empty h2 { margin: 6px 0 0; color: var(--rv-ink); font-size: 1.35rem; font-weight: 900; }
.rv .rv-dg-empty p { max-width: 52ch; margin: 0; color: var(--rv-muted); font-size: 14.5px; line-height: 2; }
.rv .rv-dg-card__p { margin: -4px 0 16px; color: var(--rv-muted); font-size: 13.5px; line-height: 1.95; }

/* phones */
@media (max-width: 640px) {
	.rv .rv-dg-hero { min-height: 420px; padding: 84px 0 84px; }
	.rv .rv-dg-hero:not(.has-photo) { min-height: 340px; }
	.rv .rv-dg-h { gap: 12px; margin-bottom: 18px; padding-bottom: 14px; }
	.rv .rv-dg-s--intro .rv-dg-prose > p:first-child { padding: 14px 16px; font-size: 1.04em; }
	.rv .rv-dg-hero__cta .rv-dg-btn { flex: 1 1 auto; }
	.rv .rv-dg-facts-wrap { margin-top: -52px; }
	.rv .rv-dg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; }
	.rv .rv-dg-facts li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
	.rv .rv-dg-facts li + li { border-inline-start: 0; }
	.rv .rv-dg-facts li:nth-child(2n) { border-inline-start: 1px dashed var(--rv-line); }
	.rv .rv-dg-facts li:nth-child(n+3) { border-top: 1px dashed var(--rv-line); }
	.rv .rv-dg-facts__ic { width: 38px; height: 38px; border-radius: 11px; }
	.rv .rv-dg-facts b { font-size: 14px; }
	.rv .rv-dg-s { padding: 18px 16px; border-radius: 18px; }
	.rv .rv-dg-h__n { width: 44px; height: 44px; border-radius: 13px; font-size: 15px; }
	.rv .rv-dg-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 110px; }
	.rv .rv-dg-gal li:first-child { grid-column: 1 / -1; grid-row: span 2; }
	.rv .rv-dg-gal--n3 li:not(:first-child) { grid-column: span 1; }
	.rv .rv-dg-cta .rv-dg-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .rv .rv-dg-attr__i, .rv .rv-dg-attr__img, .rv .rv-dg-gal img, .rv .rv-dg-btn { transition: none; } }
