/* SanSel Rental – sansel.no / en.sansel.no
   Own identity for the hub: deep navy (fjord, night), apricot (Spanish sun) and warm sand.
   Fonts: Fraunces (headings) + DM Sans (text), self-hosted, SIL Open Font License. */

@font-face { font-family: 'Fraunces'; src: url(/assets/fonts/fraunces.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(/assets/fonts/fraunces-italic.woff2) format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(/assets/fonts/dm-sans.woff2) format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap; }
/* size-matched fallbacks, so the text does not jump when the web fonts arrive */
@font-face { font-family: 'Fraunces fallback'; src: local('Georgia'); size-adjust: 104%; ascent-override: 94%; descent-override: 25%; }
@font-face { font-family: 'DM Sans fallback'; src: local('Arial'); size-adjust: 99%; ascent-override: 96%; descent-override: 30%; }

:root {
  --navy: #17324d;
  --navy-2: #234a6e;
  --ink: #1d2833;
  --muted: #56636f;
  --sun: #f4a259;
  --sun-2: #f7b97c;
  --sun-ink: #a4520f;
  --coral: #d9644a;
  --sky: #5fa8d3;
  --sky-tint: #eaf3f9;
  --sand: #fbf6ef;
  --sand-2: #f4ece0;
  --line: #e7dfd3;
  --white: #fff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(23, 50, 77, .10);
  --shadow-lg: 0 22px 50px rgba(23, 50, 77, .16);
  --serif: 'Fraunces', 'Fraunces fallback', Georgia, serif;
  --sans: 'DM Sans', 'DM Sans fallback', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: 'SOFT' 50, 'WONK' 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 46em; }
.small { font-size: .92rem; color: var(--muted); }
.center { text-align: center; }
.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; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-head { margin-bottom: 2.4rem; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-ink); margin-bottom: .9rem; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--sun); border-radius: 2px; }
.eyebrow-light { color: var(--sun-2); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.flag { width: 22px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.2rem); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 1rem/1 var(--sans); padding: .95rem 1.45rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(23, 50, 77, .22); }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-sun { background: var(--sun); color: var(--navy); }
.btn-sun:hover { background: var(--sun-2); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: .6rem 1rem; font-size: .92rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
a.link-arrow:hover .icon, .post-card:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(23, 50, 77, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand img { border-radius: 11px; }
.brand-text { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; line-height: 1; display: flex; flex-direction: column; }
.brand-sub { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--sun-ink); margin-top: .25rem; }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: var(--sun-2); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .3rem; }
.main-nav a { display: inline-flex; align-items: center; padding: .55rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--ink); }
.main-nav a:hover { background: var(--sand-2); color: var(--navy); }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
.lang-switch:hover { border-color: var(--navy); background: var(--white); }
.lang-switch .flag { width: 24px; height: 17px; }
.main-nav .nav-lang a { padding: 0; margin-left: .4rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle-bars { top: 22px; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ''; left: 0; right: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded='true'] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded='true'] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) {
  .js .menu-toggle { display: block; }
  .js .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .js .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: .6rem 1rem 1rem; }
  .js .main-nav a { padding: .85rem 1rem; border-radius: 12px; }
  .main-nav .nav-lang { padding: .4rem 1rem; }
  .main-nav .nav-lang a { margin: 0; }
  html:not(.js) .main-nav ul { flex-direction: row; flex-wrap: wrap; padding: 0; }
}

/* ---------- hero ----------
   One big photo that slowly changes between Bergen, Voss and Fuengirola (3.5 s each, in a random order per visit – see the script in the hero),
   dark toning behind the text, and the place shown lights up at the bottom. */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 760px); display: flex; align-items: flex-end; background: var(--navy); color: #fff; overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slides { z-index: -2; }
.hero-slide { width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: hero-show 10.5s infinite; }
.hero-slide:nth-child(2) { animation-delay: 3.5s; }
.hero-slide:nth-child(3) { animation-delay: 7s; }
@keyframes hero-show { 0% { opacity: 0; transform: scale(1.08); } 5%, 33% { opacity: 1; } 38%, 100% { opacity: 0; transform: scale(1); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 33, 52, .88) 0%, rgba(14, 33, 52, .55) 45%, rgba(14, 33, 52, .05) 80%), linear-gradient(0deg, rgba(14, 33, 52, .7), transparent 45%); }
.hero-inner { padding: clamp(5rem, 12vw, 9rem) 0 clamp(5.5rem, 8vw, 6rem); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 11em; line-height: 1.02; margin-bottom: .45em; }
.hero h1 em { color: var(--sun); font-weight: 500; }
.hero .lead { color: #e3ebf2; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }
.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--navy); }
.hero-places { list-style: none; display: flex; gap: .6rem; flex-wrap: wrap; padding: 0; margin: 2.4rem 0 0; }
.hero-places li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .9rem; background: rgba(255, 255, 255, .14); opacity: .55; animation: hero-place 10.5s infinite; }
.hero-places li:nth-child(2) { animation-delay: 3.5s; }
.hero-places li:nth-child(3) { animation-delay: 7s; }
@keyframes hero-place { 0%, 33% { opacity: 1; background: rgba(255, 255, 255, .92); color: var(--navy); } 38%, 100% { opacity: .55; background: rgba(255, 255, 255, .14); color: #fff; } }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-places li { animation: none; } .hero-slide:first-child { opacity: 1; } }

/* ---------- homes ---------- */
.filter { display: inline-flex; flex-wrap: wrap; gap: .5rem; padding: .35rem; margin-bottom: 1.8rem; background: var(--sand); border: 1px solid var(--line); border-radius: 999px; }
.js .filter[hidden] { display: inline-flex; }
.filter-btn { display: inline-flex; align-items: center; gap: .45rem; font: 600 .95rem var(--sans); padding: .6rem 1.1rem; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.filter-btn[aria-pressed='true'] { background: var(--navy); color: #fff; }
.filter-btn:not([aria-pressed='true']):hover { background: var(--white); }
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.6rem; }
.home-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.home-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.home-card[hidden] { display: none; }
.home-card-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.home-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.home-card:hover .home-card-img img { transform: scale(1.04); }
.home-card-flag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: .8rem; font-weight: 700; color: var(--navy); }
.home-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.home-card-place { display: flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: .35rem; }
.home-card h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.home-card h3 a { color: inherit; text-decoration: none; }
.home-card-facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.home-card-facts li { font-size: .82rem; font-weight: 700; padding: .3rem .65rem; border-radius: 8px; background: var(--sky-tint); color: var(--navy-2); }
.home-card[data-country='es'] .home-card-facts li { background: #fdf0e2; color: var(--sun-ink); }
.home-card-body > p { color: var(--muted); font-size: .98rem; }
.home-card-note { display: flex; align-items: flex-start; gap: .45rem; font-size: .9rem !important; font-weight: 600; color: var(--navy-2) !important; background: var(--sand); border-radius: 10px; padding: .6rem .8rem; }
.home-card-note .icon { margin-top: .2em; color: var(--coral); }
.home-card-btn { margin-top: auto; align-self: flex-start; }
.home-card.is-unavailable .home-card-img img { filter: saturate(.75); }

/* ---------- benefits ---------- */
.benefits { background: var(--sand); }
.benefit-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.3rem; }
.benefit { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.benefit-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--sun); margin-bottom: 1rem; }
.benefit-icon .icon { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.25rem; }
.benefit p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- hosts ---------- */
.hosts-grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hosts-photo { position: relative; margin: 0; }
.hosts-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% var(--radius) var(--radius); box-shadow: var(--shadow-lg); }
.hosts-photo::before { content: ''; position: absolute; inset: auto -18px -18px auto; width: 70%; height: 70%; border-radius: var(--radius); background: var(--sky-tint); z-index: -1; }
.hosts-sign { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--navy); }
@media (max-width: 760px) { .hosts-grid { grid-template-columns: 1fr; } .hosts-photo { max-width: 300px; } }

/* ---------- posts ---------- */
.blog-teaser { background: var(--sand); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.6rem; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card-date { font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .98rem; }
.post-card .link-arrow { margin-top: auto; }

/* ---------- newsletter ---------- */
.newsletter-band { background: var(--navy); color: #dce6ef; position: relative; overflow: hidden; }
.newsletter-band::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 162, 89, .55), rgba(244, 162, 89, 0) 70%); }
.newsletter-band h2 { color: #fff; }
.newsletter-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.newsletter-band .newsletter-form { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 1.6rem; }
.newsletter-band label { color: #fff; }
.newsletter-band .form-note, .newsletter-band .form-status { color: #c3d2df; }
.newsletter-form { display: grid; gap: 1rem; }
.newsletter-card { max-width: 560px; margin-inline: auto; }
@media (max-width: 820px) { .newsletter-inner { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .95rem; border-radius: 12px; border: 1.5px solid #d3cabd; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(95, 168, 211, .2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #1f7a4d; }
.form-status.err { color: #b3261e; }
.newsletter-band .form-status.ok { color: #9be3bd; }
.newsletter-band .form-status.err { color: #ffb4a8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .8rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.contact-card > span:last-child { display: flex; flex-direction: column; }
.contact-card b { color: var(--navy); }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sand-2); color: var(--navy); transition: background .2s, color .2s; }
.contact-card:hover .contact-icon { background: var(--navy); color: var(--sun); }
.contact-form { display: grid; gap: 1rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #10263b; color: #b9c7d4; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun-2); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .45rem; }
.footer-about p { margin: 1.2rem 0; max-width: 34em; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-title { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-2); margin-bottom: .9rem; }
.footer-place { color: #8ea2b4; font-size: .85rem; }
.footer-social { grid-template-columns: repeat(2, max-content); column-gap: 1.4rem !important; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 1.5rem; padding-top: 1.3rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp button (bottom left – the chat sits bottom right), same as on the property sites */
.whatsapp-float { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-head { background: var(--sand); padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: .3rem; color: #b9ad9c; }
.crumbs a { color: var(--muted); }
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h4 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--sun-ink); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.3rem; border-left: 4px solid var(--sun); background: var(--sand); border-radius: 0 12px 12px 0; }
.prose code { font-size: .95em; background: var(--sand-2); padding: .12em .4em; border-radius: 6px; }
.article-head { padding-top: clamp(2rem, 5vw, 3.5rem); }
.article-meta { color: var(--muted); font-size: .95rem; }
.article-banner { margin: 1.5rem auto 2.5rem; }
.article-banner img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding: clamp(1.5rem, 4vw, 2.2rem); border-radius: var(--radius); background: var(--navy); color: #dce6ef; }
.cta-card h2 { color: #fff; font-size: 1.6rem; }
.cta-card p { margin: 0; max-width: 34em; }
.welcome-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.welcome-photo { margin: 0; }
.welcome-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% var(--radius) var(--radius); box-shadow: var(--shadow-lg); }
.welcome-letter { font-size: 1.08rem; }
.welcome-letter ul { padding-left: 1.2em; }
.welcome-letter li { margin-bottom: .35em; }
.welcome-letter li::marker { color: var(--sun-ink); }
.welcome-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 760px) { .welcome-grid { grid-template-columns: 1fr; } .welcome-photo { max-width: 240px; margin-inline: auto; } }
.not-found { text-align: center; padding: 5rem 0; }
.not-found .big { font-family: var(--serif); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--sun); margin: 0; }
.not-found .small { margin-top: 2rem; }

/* images in Markdown */
.fig { margin: 1.4rem 0; }
.fig img { border-radius: var(--radius-sm); border: 1px solid var(--line); width: auto; max-height: 520px; }
.fig .zoom { display: inline-block; }
.fig-small { max-width: 320px; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; align-items: start; margin: 1.4rem 0; }
.figs .fig { margin: 0; }
.md-icon { display: inline-block; vertical-align: middle; width: auto; height: 1.9em; margin: 0 .4rem .15em 0; border-radius: 6px; }
h4 .md-icon { height: 1.6em; }
.zoom { position: relative; display: block; cursor: zoom-in; }
.zoom-hint { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(23, 50, 77, .78); color: #fff; opacity: 0; transition: opacity .2s; }
.zoom:hover .zoom-hint, .zoom:focus-visible .zoom-hint { opacity: 1; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 180px), 1fr)); gap: .6rem; margin: 1.2rem 0 2rem; }
.gallery .zoom { aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery .zoom:hover img { transform: scale(1.05); }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 22, 34, .88); }
.lightbox img { max-width: 96vw; max-height: 88vh; width: auto; height: auto; border-radius: 10px; }
.lightbox-close { position: absolute; top: -18px; right: -10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }

/* YouTube: thumbnail until clicked */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; margin: 1.4rem 0; }
.yt-play { width: 100%; height: 100%; border: 0; background-size: cover; background-position: center; cursor: pointer; display: grid; place-items: center; color: #fff; }
.yt-play .icon { width: 72px; height: 72px; padding: 20px 18px 20px 24px; border-radius: 50%; background: rgba(217, 100, 74, .92); box-shadow: 0 8px 26px rgba(0, 0, 0, .35); transition: transform .2s; }
.yt-play:hover .icon { transform: scale(1.08); }
.yt iframe { width: 100%; height: 100%; border: 0; }

/* embedded forms */
.embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.embed iframe { display: block; width: 100%; height: 1500px; border: 0; }
.embed-tall iframe { height: 900px; }

/* ---------- guest guides ---------- */
.guest-header .brand-sub { letter-spacing: .14em; }
.guest-actions { display: flex; align-items: center; gap: .6rem; }
.guide-hero { background:
  radial-gradient(800px 380px at 100% 0%, var(--sky-tint), transparent 60%), var(--sand); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.guide-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.guide-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.guide-hero-img { margin: 0; }
.guide-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 760px) { .guide-hero-grid { grid-template-columns: 1fr; } .guide-hero-img { order: -1; } .guide-hero-img img { aspect-ratio: 16 / 9; } }
.guide-quick { padding-top: 0; margin-top: -1rem; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.quick-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }
.quick-card h2 { display: flex; align-items: center; gap: .55rem; font-size: 1.2rem; margin-bottom: .9rem; }
.quick-card h2 .icon { color: var(--sun-ink); }
.quick-wifi { background: var(--navy); color: #dce6ef; border-color: var(--navy); }
.quick-wifi h2 { color: #fff; }
.quick-wifi h2 .icon { color: var(--sun); }
.quick-card dl { margin: 0; display: grid; gap: .8rem; }
.quick-card dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.quick-card dd { margin: .2rem 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.quick-card code { font: 700 1.15rem/1.3 var(--sans); background: rgba(255, 255, 255, .1); padding: .3rem .6rem; border-radius: 8px; word-break: break-all; }
.copy-btn { display: inline-flex; align-items: center; gap: .35rem; font: 600 .82rem var(--sans); padding: .4rem .7rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; }
.copy-btn:hover { background: var(--sun); color: var(--navy); border-color: var(--sun); }
.copy-btn .icon { width: 1em; height: 1em; }
.times { grid-template-columns: 1fr 1fr; margin-bottom: 1rem !important; }
.times dd { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--navy); }
.quick-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.quick-links a { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .55rem; padding: .55rem .7rem; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--navy); background: var(--sand); }
.quick-links a:hover { background: var(--sand-2); color: var(--navy); }
.quick-links a span { font-weight: 400; color: var(--muted); font-size: .9rem; }
.quick-links .icon { color: var(--sun-ink); }
.guide-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: 1.5rem 0 4rem; }
.guide-toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; padding: 1.2rem; border-radius: var(--radius); background: var(--sand); }
.guide-toc-title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-ink); margin-bottom: .6rem; }
.guide-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; counter-reset: toc; }
.guide-toc li { counter-increment: toc; }
.guide-toc a { display: flex; gap: .55rem; padding: .4rem .5rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .93rem; line-height: 1.35; }
.guide-toc a::before { content: counter(toc); font-weight: 700; color: var(--sun-ink); min-width: 1.1em; }
.guide-toc a:hover, .guide-toc a.is-active { background: var(--white); color: var(--navy); }
.guide-body { min-width: 0; display: grid; gap: 1.2rem; }
.guide-intro { font-size: 1.12rem; }
.guide-section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); scroll-margin-top: 90px; }
.guide-section h2 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2rem); padding-bottom: .6rem; border-bottom: 2px solid var(--sand-2); }
.guide-section h3 { scroll-margin-top: 90px; }
.guide-section > :last-child { margin-bottom: 0; }
.guide-section h2[id], .guide-section h3[id] { scroll-margin-top: 90px; }
.tourist-btns { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0 .3rem; }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; max-height: none; }
  .guide-toc ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
}
@media (max-width: 520px) { .print-btn span { display: none; } }

/* ---------- print (guest guides) ---------- */
@media print {
  .site-header, .site-footer, .whatsapp-float, .guide-toc, .print-btn, .copy-btn, .skip-link, .zoom-hint, .yt, .tourist-btns, .lightbox { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .guide-hero, .page-head { background: none; padding: 0 0 1rem; }
  .guide-hero-img { display: none; }
  .guide-layout { display: block; padding: 0; }
  .guide-section, .quick-card { box-shadow: none; border: 1px solid #bbb; break-inside: avoid-page; }
  .quick-wifi { background: none; color: #000; }
  .quick-wifi h2, .quick-card code { color: #000; }
  .guide-quick { margin: 0; }
  a { color: #000; }
  .fig img { max-height: 9cm; width: auto; }
}

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

/* live PDF list (site.js): the title is in <b>, shown like the other links */
.quick-links a b { font-weight: inherit; }
