/* Door24 — clean portal layout. White surfaces, deep teal brand,
   terracotta for actions, gold for Premier. */
/* Fonts are served from this site, not from Google: loading them from
   fonts.googleapis.com sends every visitor's IP address to Google, which
   German courts have ruled unlawful without consent (LG München I, 3 O 17493/20).
   Files: @fontsource-variable 5.3.0, SIL Open Font License (public/fonts/*-OFL.txt). */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/plus-jakarta-sans-vietnamese-wght-normal.woff2) format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
:root {
  --bg: #F5F6F4;
  --surface: #FFFFFF;
  --surface-2: #F0F2EF;
  --ink: #15201E;
  --ink-2: #3D4A47;
  --muted: #6B7774;
  --line: #E1E5E2;
  --line-2: #CDD3CF;
  --brand: #0E5A52;
  --brand-2: #127368;
  --brand-ink: #FFFFFF;
  --terra: #D9623B;
  --terra-hover: #C2532F;
  --gold: #B88A2E;
  --gold-text: #7A5A00;     /* the dark gold she liked on the Academy label (18.10.) — section labels, heading icons */
  --ok: #24734A;
  --err: #B3392A;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(21, 32, 30, .06);
  --shadow: 0 1px 2px rgba(21, 32, 30, .05), 0 8px 24px -10px rgba(21, 32, 30, .18);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1413; --surface: #151D1C; --surface-2: #1C2624; --ink: #ECF1EF; --ink-2: #C2CCC9; --muted: #8C9A96;
    --line: #26322F; --line-2: #34423F; --brand: #3FA597; --brand-2: #58B8AA; --terra: #E8774F; --terra-hover: #F08A63;
    --gold: #D9AE55; --gold-text: #E8C76A; --ok: #6CC596; --err: #F08A78;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 26px -12px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1413; --surface: #151D1C; --surface-2: #1C2624; --ink: #ECF1EF; --ink-2: #C2CCC9; --muted: #8C9A96;
  --line: #26322F; --line-2: #34423F; --brand: #3FA597; --brand-2: #58B8AA; --terra: #E8774F; --terra-hover: #F08A63;
  --gold: #D9AE55; --gold-text: #E8C76A; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15.5px/1.55 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
.prose a, .small a { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .4em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-size: .85em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 560px; }
.block { padding-block: clamp(28px, 5vw, 56px); }
.block-tight { padding-top: 24px; }
.block-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.block-head h2, .block-head h1 { margin: 0; }
.block-head p { margin: 4px 0 0; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; }
.mt { margin-top: 36px; }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 52ch; }
.sr, .skip, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 16px; top: 8px; background: var(--surface); padding: 6px 10px; z-index: 10; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.head-row { display: flex; align-items: center; gap: 12px 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; color: var(--brand); flex: none; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--ink-2); padding-block: 22px; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--ink); border-bottom-color: var(--terra); }
.head-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang-pick { position: relative; }
.lang-pick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; padding: 8px 10px; border-radius: 999px; color: var(--ink-2); }
.lang-pick summary:hover { background: var(--surface-2); }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick ul { position: absolute; inset-inline-end: 0; top: 46px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); min-width: 190px; z-index: 30;
  /* 24 languages: never taller than the screen, scrolls inside, two columns where there is room */
  max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (min-width: 560px) { .lang-pick ul { columns: 2; column-gap: 4px; min-width: 360px; } .lang-pick li { break-inside: avoid; } }
.lang-pick a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.lang-pick a:hover, .lang-pick a[aria-current] { background: var(--surface-2); color: var(--ink); }
.lang-pick a[aria-current] { font-weight: 700; }

@media (max-width: 860px) {
  .head-row { flex-wrap: wrap; padding-top: 10px; }
  .main-nav { order: 3; width: 100%; gap: 20px; }
  .main-nav a { padding-block: 8px 10px; }
  .head-login span { display: none; }
}
@media (max-width: 420px) { .head-actions .btn-dark { display: none; } }
/* Between 860 and 1200 px the menu plus the five header buttons no longer fit in one row (the "Dashboard" button was cut off at the right edge, her report 18.10.): the menu takes its own row. */
@media (max-width: 1200px) and (min-width: 861px) {
  .head-row { flex-wrap: wrap; padding-top: 8px; }
  .main-nav { order: 3; width: 100%; gap: 22px; }
  .main-nav a { padding-block: 6px 10px; }
}

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .95rem var(--font); padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-hover); color: #fff; }
.btn-dark { background: var(--ink); color: var(--surface); }
.btn-dark:hover { background: var(--brand); color: #fff; }
.btn-outline, .btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 85%, black); color: #fff; }
.btn-light, .btn-paper { background: #fff; color: #15201E; }
.btn-light:hover, .btn-paper:hover { background: #F0F2EF; color: #15201E; }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-block { width: 100%; }

label > span:not(.sr), legend { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 14px; min-height: 48px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B7774' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 38px; }
[dir="rtl"] select { background-position: left 14px center; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
textarea { resize: vertical; min-height: 0; }
.stack { display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .three { grid-template-columns: 1fr 1fr; } }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; margin-inline-end: 14px; }
.check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--brand); }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 4px; }
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }

.notice { background: var(--surface-2); border-radius: var(--radius-sm); border-inline-start: 4px solid var(--gold); padding: 12px 16px; font-size: .92rem; }
.notice-ok { border-color: var(--ok); }
.notice-err { border-color: var(--err); color: var(--err); }
.badge { display: inline-flex; gap: 4px; align-items: center; font-size: .78rem; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); padding: 4px 10px; border-radius: 999px; margin: 0; }

/* ---------- home hero & search box ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand) 0%, #0A403B 100%); color: #fff; }
/* Photo hero: slides cross-fade and drift slowly (Ken Burns); a dark veil keeps the text readable. */
.hero-slides { position: absolute; inset: 0; pointer-events: none; }
/* Cross-fade: the new photo fades in on top while the old one keeps its slow drift
   underneath (is-out carries the same animation, so it does not snap back). */
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 2.4s cubic-bezier(.4, 0, .2, 1); will-change: opacity; }
.hero-slide.is-on { opacity: 1; z-index: 1; }
.hero-slide.is-out { opacity: 0; z-index: 0; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); will-change: transform; }
.hero-slide.is-on img, .hero-slide.is-out img { animation: kenburns 11s linear forwards; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-photos::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 36, 33, .82) 0%, rgba(8, 36, 33, .55) 45%, rgba(8, 36, 33, .25) 100%); z-index: 1; }
.hero-photos .hero-inner { z-index: 2; }
.hero-place { position: absolute; z-index: 2; inset-inline-end: 18px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: #fff; background: rgba(8, 36, 33, .45); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; transition: opacity .6s; }
.hero-place:hover { color: #fff; background: rgba(8, 36, 33, .7); }
.hero-place.is-fading { opacity: 0; }
.quick { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; grid-column: 1; align-self: start; }
.quick a { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: #fff; border: 1px solid rgba(255, 255, 255, .35); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s, border-color .2s; }
.quick a:hover { color: #fff; background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .7); transform: translateY(-2px); }
.hero-bg { position: absolute; inset: auto 0 0 0; height: 240px; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-bg g:first-of-type { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .28); }
.hero-bg g:last-of-type { stroke: rgba(255, 255, 255, .25); }
.hero-bg circle { fill: #F2B35B; opacity: .9; }
.hero-inner { position: relative; padding-block: clamp(36px, 7vw, 80px) clamp(48px, 9vw, 110px); display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: 18px 48px; align-items: center; }
.hero-photos .hero-inner { padding-block: clamp(56px, 9vw, 120px) clamp(64px, 11vw, 140px); }
.hero-photos h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 14ch; grid-column: 1; margin: 0; }
.hero .lede { color: rgba(255, 255, 255, .85); grid-column: 1; margin: 0; align-self: start; }
.searchbox { grid-column: 2; grid-row: 1 / span 2; background: var(--surface); color: var(--ink); border-radius: 18px; padding: 22px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45); display: grid; gap: 12px; }
.searchbox-count { font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; }
.searchbox-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.searchbox-row-3 { grid-template-columns: repeat(3, 1fr); }
.searchbox-row-2 { grid-template-columns: 1fr 1fr; }
.field { position: relative; display: block; }
.field-where .ico { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--brand); pointer-events: none; }
.field-where select, .field-where input { padding-inline-start: 40px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .searchbox { grid-column: 1; grid-row: auto; }
}
@media (max-width: 520px) { .searchbox-row, .searchbox-row-2, .searchbox-row-3 { grid-template-columns: 1fr; } .searchbox { padding: 16px; } }

/* ---------- listing cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px 22px; }
.card { position: relative; min-width: 0; }
.card-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-sm); }
.card-media > a, .card-media img, .card-media svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-media img, .card-media svg { transition: transform .35s ease; }
.card:hover .card-media img, .card:hover .card-media svg { transform: scale(1.04); }
.card-photos { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card-photos::-webkit-scrollbar { display: none; }
.card-photos img { flex: 0 0 100%; scroll-snap-align: start; }
.card:hover .card-photos img { transform: none; }
.photo-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92); color: #15201E; font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; box-shadow: var(--shadow-sm); display: grid; place-items: center; padding: 0 0 3px; }
.photo-prev { inset-inline-start: 10px; }
.photo-next { inset-inline-end: 10px; }
[dir="rtl"] .photo-nav { transform: translateY(-50%) scaleX(-1); }
.card-media:hover .photo-nav, .photo-nav:focus-visible, .lightbox .photo-nav { opacity: 1; }
@media (hover: none) { .card-media .photo-nav { display: none; } }
.photo-count { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(21, 32, 30, .72); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 8px; border-radius: 8px; }
.card-premier .card-media { box-shadow: 0 0 0 3px var(--gold); }
.card-tags { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: #fff; color: #15201E; font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.tag-gold { background: var(--gold); color: #fff; }
.tag-dark { background: rgba(21, 32, 30, .82); color: #fff; }
.fav { z-index: 2; position: absolute; top: 10px; inset-inline-end: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.fav svg { width: 20px; height: 20px; fill: transparent; stroke: #15201E; stroke-width: 1.8; transition: fill .15s; }
.fav[aria-pressed="true"] svg { fill: var(--terra); stroke: var(--terra); }
.card-agency { position: absolute; bottom: 12px; inset-inline-start: 12px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(255, 255, 255, .94); color: #15201E; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.card-body { padding: 12px 2px 0; }
.card-title { font-size: 1rem; margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 4px; font-size: .92rem; color: var(--ink-2); }
.card-keys strong { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.card-keys span { display: inline-flex; align-items: center; gap: 4px; }
.card-place { margin: 0; font-size: .875rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.dest { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.dest:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.dest-flag { font-size: 2rem; line-height: 1; }
.dest-text { display: grid; min-width: 0; flex: 1; }
.dest-name { font-weight: 700; font-size: 1.02rem; }
.dest-cities { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest-count { font-weight: 800; font-size: .85rem; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); border-radius: 999px; padding: 4px 10px; }

/* ---------- agent band ---------- */
.agent-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 4vw, 44px); border-radius: 20px; background: linear-gradient(120deg, #15201E, #0E5A52); color: #fff; }
.agent-band h2 { color: #fff; margin-bottom: .3em; }
.agent-band p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 54ch; }

/* ---------- search page ---------- */
.filterbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 68px; z-index: 10; }
.filterbar-form { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr .9fr .9fr .8fr auto; gap: 8px; padding-block: 12px; }
.filterbar .btn { min-height: 48px; }
@media (max-width: 1100px) { .filterbar-form { grid-template-columns: repeat(3, 1fr); } .filterbar .btn { grid-column: span 3; } }
@media (max-width: 860px) { .filterbar { position: static; } }
@media (max-width: 560px) { .filterbar-form { grid-template-columns: 1fr 1fr; } .filterbar-form .field-where { grid-column: span 2; } .filterbar .btn { grid-column: span 2; } }
.more-filters { grid-column: 1 / -1; }
.more-filters summary { cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; color: var(--ink); }
.count-badge { background: var(--terra, #c4622d); color: #fff; border-radius: 999px; font-size: .75rem; min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 6px; }
.more-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 12px; padding: 12px 0 8px; }
.more-grid .field-wide { grid-column: span 2; }
.more-grid { align-items: end; }
.more-grid .field-full { grid-column: 1 / -1; }
.field-labelled { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.field-labelled input, .field-labelled select { min-height: 44px; }
.checks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.checks legend { font-size: .85rem; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--terra, #c4622d); }
.filter-group > .small { margin: 0; }
.filter-group { border: 0; border-top: 1px solid var(--line); margin: 10px 0 0; padding: 12px 0 4px; }
.filter-group > legend { font-weight: 800; font-size: .95rem; padding: 0 8px 0 0; color: var(--ink); }
.filter-group .more-grid { padding-top: 4px; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 16px; padding-top: 6px; }
.more-actions { display: flex; align-items: center; gap: 18px; padding: 12px 0 6px; border-top: 1px solid var(--line); margin-top: 8px; }
.more-actions a { text-decoration: underline; color: var(--muted); font-weight: 600; }
.more-filters[open] { max-height: none; }
.active-filters { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; }
.active-filters a:hover { border-color: var(--ink); }
.active-filters .clear { border-color: transparent; text-decoration: underline; color: var(--muted); }
@media (max-width: 1100px) { .more-grid { grid-template-columns: repeat(3, 1fr); } .more-grid .field-wide { grid-column: span 3; } }
@media (max-width: 560px) { .checks-grid { grid-template-columns: 1fr 1fr; gap: 10px 12px; } .more-grid { grid-template-columns: 1fr 1fr; } .more-grid .field-wide { grid-column: span 2; }
.more-grid { align-items: end; }
.more-grid .field-full { grid-column: 1 / -1; } }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 24px; }
.results-head h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.results-head p { margin: 4px 0 0; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort > span { margin: 0 !important; white-space: nowrap; }
.sort select { min-width: 210px; }
.empty { padding: 48px 24px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.pager { display: flex; gap: 6px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; }
.pager span { background: var(--ink); border-color: var(--ink); color: var(--surface); }

/* ---------- listing page ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { text-decoration: underline; }
.gallery { position: relative; display: grid; gap: 8px; border-radius: 18px; overflow: hidden; margin-bottom: 28px; }
.gallery img, .gallery-art svg { width: 100%; height: clamp(260px, 46vw, 520px); object-fit: cover; display: block; }
.gallery-multi { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(260px, 46vw, 520px); }
.gallery-multi img { height: 100%; }
.gallery-multi img:first-child { grid-row: span 2; }
.gallery-tag { position: absolute; top: 16px; inset-inline-start: 16px; }
.gallery-shot { all: unset; display: block; height: 100%; cursor: zoom-in; min-height: 0; overflow: hidden; }
.gallery-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.gallery-shot:hover img { transform: scale(1.03); }
.gallery-shot:focus-visible { outline: 3px solid var(--terra); outline-offset: -3px; }
.gallery-five { grid-template-columns: 2fr 1fr 1fr; }
.gallery-five .gallery-shot:first-child { grid-row: span 2; }
.gallery-multi:not(.gallery-five) .gallery-shot:first-child { grid-row: span 2; }
.gallery-all { position: absolute; bottom: 16px; inset-inline-end: 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.lightbox { padding: 0; border: 0; width: min(1100px, 100vw); max-width: 100vw; max-height: 100vh; background: #0d1312; color: #fff; border-radius: 14px; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.lightbox-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox-track img { flex: 0 0 100%; width: 100%; height: min(78vh, 720px); object-fit: contain; scroll-snap-align: start; }
.lightbox-close { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92); color: #15201E; font-size: 1.6rem; cursor: pointer; }

.listing-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .listing-layout { grid-template-columns: 1fr; } .gallery-multi { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .gallery-multi .gallery-shot:not(:first-child) { display: none; } .gallery-multi .gallery-shot:first-child img { height: clamp(240px, 60vw, 420px); } }
.listing-place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.listing-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.keys { display: flex; flex-wrap: wrap; gap: 0; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.keys div { flex: 1 1 120px; padding: 16px 20px; border-inline-end: 1px solid var(--line); }
.keys div:last-child { border-inline-end: 0; }
.keys dd { margin: 0; font-size: 1.35rem; font-weight: 800; }
.keys .key-main dd { color: var(--terra); }
.keys dt { font-size: .8rem; color: var(--muted); font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.2rem; }
.prose p { white-space: pre-line; color: var(--ink-2); }
.agent-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); position: sticky; top: 90px; display: grid; gap: 12px; }
.agent-box h2 { font-size: 1.15rem; margin: 0; }
.agent-box h3 { margin: 6px 0 0; }
.agent-row { display: flex; gap: 14px; align-items: center; }
.agent-row p { margin: 0; }
.avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.avatar-lg { width: 88px; height: 88px; font-size: 2.2rem; }
.agent-head { display: flex; gap: 22px; align-items: center; margin-bottom: 24px; }
.agent-head h1 { margin-bottom: 4px; }
.agent-head p { margin: 0 0 6px; }

/* ---------- agents marketing ---------- */
.page-hero { background: linear-gradient(135deg, var(--brand), #0A403B); color: #fff; padding-block: clamp(40px, 7vw, 80px); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lede { color: rgba(255, 255, 255, .85); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps p { margin: 0; color: var(--ink-2); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--terra); color: #fff; font-weight: 800; margin-bottom: 12px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; margin-block: 8px 24px; }
.plan { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.15rem; color: var(--muted); }
.plan ul { padding: 0; margin: 0 0 24px; list-style: none; flex: 1; }
.plan li { padding: 9px 0 9px 26px; position: relative; font-size: .95rem; border-top: 1px solid var(--line); }
[dir="rtl"] .plan li { padding: 9px 26px 9px 0; }
.plan li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 800; }
.plan-price { margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.plan-price span { font-size: clamp(1.5rem, 2.2rem - .04em * var(--len, 0), 2.2rem); font-weight: 800; letter-spacing: -.03em; }
.plan-price small { white-space: nowrap; }
.plan-price s { font-size: 1.1rem; color: var(--muted); font-weight: 600; margin-inline-end: 4px; }
.plan-launch { margin: -12px 0 14px; font-size: .82rem; font-weight: 700; color: var(--terra); }
.plan-notes { color: var(--muted); margin: -8px 0 24px; }
.plan-eq { margin: -12px 0 14px; font-size: .85rem; color: var(--muted); }
.offer-toggle { display: inline-flex; background: var(--surface-2, #eef3f2); border-radius: 999px; padding: 4px; gap: 2px; justify-self: start; }
.offer-toggle label { position: relative; border-radius: 999px; padding: 7px 18px; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.offer-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.offer-toggle label:has(input:checked) { background: #fff; color: var(--text, #10201d); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.offer-toggle label:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.tag-rent { background: var(--terra); color: #fff; }
.per-month { font-weight: 500; font-size: .8em; color: var(--muted); }
.period-toggle { display: inline-flex; background: var(--surface-2, #eef3f2); border-radius: 999px; padding: 4px; margin-bottom: 18px; gap: 2px; }
.period-toggle button { border: 0; background: transparent; border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.period-toggle button.is-on { background: #fff; color: var(--text, #10201d); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.period-toggle em { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--terra); margin-inline-start: 6px; }
.listing-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.share { position: relative; flex: none; }
.share-btn .ico { width: 16px; height: 16px; }
.share-menu[hidden] { display: none; }
.share-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 20; min-width: 180px; display: grid; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 6px; }
.share-menu a, .share-menu button { display: block; width: 100%; text-align: start; padding: 9px 12px; border: 0; background: none; font: inherit; color: inherit; border-radius: 8px; cursor: pointer; text-decoration: none; }
.share-menu a:hover, .share-menu button:hover { background: var(--surface-2, #eef3f2); }
.field-price { display: grid; grid-template-columns: 1fr auto; gap: 4px; }
.lang-bar { background: var(--brand); color: #fff; text-align: center; font-size: .9rem; padding: 8px 16px; }
.lang-bar a { color: #fff; font-weight: 600; }
.alert-box { margin-top: 32px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface-2, #eef3f2); display: grid; gap: 14px; }
.alert-box h2 { font-size: 1.15rem; margin: 0 0 4px; }
.alert-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.alert-form label { flex: 1 1 260px; }
.alert-form input[type="email"] { width: 100%; }
.alert-form .notice { flex-basis: 100%; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field-price select { padding-inline: 10px 28px; min-width: 84px; }
.price-country select { padding: 6px 10px; }
.plan-popular { border-color: var(--terra); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; inset-inline-start: 22px; background: var(--terra); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin: 0; }
.plan-premier { border-color: var(--gold); background: linear-gradient(170deg, var(--surface) 55%, color-mix(in srgb, var(--gold) 12%, var(--surface))); }
.plan-premier li::before { color: var(--gold); }

.claim-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }
.claim-flag { position: absolute; top: 24px; inset-inline-end: 28px; font-size: 3rem; line-height: 1; }

/* ---------- dashboard ---------- */
.status { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.status p { margin: 0; }
.status-on { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); background: color-mix(in srgb, var(--ok) 8%, var(--surface)); }
.status-off { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
@media (max-width: 860px) { .dash-cols { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.panel h2 { font-size: 1.15rem; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { text-align: start; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tbl .num { font-weight: 700; white-space: nowrap; }
.panel:has(.tbl) { overflow-x: auto; }
.add-listing { margin-top: 20px; }
.add-listing summary { cursor: pointer; font-weight: 700; color: var(--terra); margin-bottom: 14px; }
.enq { list-style: none; padding: 0; margin: 0; }
.enq li { border-top: 1px solid var(--line); padding: 10px 0; }
.enq p { margin: 0 0 4px; white-space: pre-line; }

/* ---------- admin ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.kpi-v { font-size: 1.7rem; font-weight: 800; margin: 0; }
.kpi-k { font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0; }
.kpi-n { font-size: .78rem; color: var(--muted); margin: 4px 0 0; }
.admin .kpi-v { font-size: 1.45rem; overflow-wrap: anywhere; }
.admin h3 { font-size: 1rem; margin: 18px 0 8px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.bar-fill { display: block; background: var(--terra, #c4572e); border-radius: 3px 3px 0 0; min-height: 1px; }
.bar-label { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: .62rem; color: var(--muted); white-space: nowrap; }
.bar:nth-child(odd) .bar-label { visibility: hidden; }
.bars:has(> .bar:nth-child(-n+12):last-child) .bar-label { visibility: visible; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tbl-tight th, .tbl-tight td { padding: 6px 8px; }
.share-cell { width: 40%; }
.share-cell .share { display: block; height: 8px; border-radius: 4px; background: var(--brand); opacity: .75; }
.mail-preview { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: #EDE5D8; }

/* ---------- footer ---------- */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding-block: 40px; margin-top: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 28px; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--ink-2); align-content: start; }
.foot-legal { display: grid; gap: 6px; font-size: .9rem; align-content: start; }
.brand-foot { font-size: 1.1rem; margin-bottom: 8px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- private profile preview ---------- */
.preview-banner { background: #15201E; color: #fff; font-size: .88rem; font-weight: 600; padding-block: 10px; }
.card-ghost .card-media { display: grid; place-items: center; border: 2px dashed var(--line-2); background: var(--surface); box-shadow: none; color: var(--muted); font-weight: 600; text-align: center; padding: 16px; }
.ghost-line { height: 12px; border-radius: 6px; background: var(--surface-2); margin: 10px 0 0; }
.ghost-line.short { width: 55%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
.linklike:hover { color: var(--err); }

/* find your agency */
.find-form { display: grid; grid-template-columns: 2fr 1fr auto; gap: 12px; align-items: end; max-width: 760px; margin-top: 20px; }
.find-form label { display: grid; gap: 4px; }
.find-form label span { font-size: .85rem; color: inherit; opacity: .9; }
@media (max-width: 640px) { .find-form { grid-template-columns: 1fr; } }
.find-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.find-results details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.find-results summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.find-results summary .linklike { margin-inline-start: auto; }
.find-results form { margin-top: 14px; }

.plan-trial { display: inline-block; width: fit-content; align-self: flex-start; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--terra); font-weight: 700; font-size: .85rem; }

.dest-more { margin-top: 16px; }
.dest-more > summary { list-style: none; display: inline-flex; cursor: pointer; }
.dest-more > summary::-webkit-details-marker { display: none; }
.dest-more[open] > summary { margin-bottom: 16px; }

/* all countries */
.region + .region { margin-top: 32px; }
.country-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 16px; }
.country-list a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.country-list a:hover { color: var(--brand); }

/* Real numbers on the agent pages and the private preview */
.band-stat { margin-top: .6em !important; font-weight: 600; color: #fff !important; }
.stat-line { font-size: 1.15rem; font-weight: 600; margin: .4em 0 .2em; }
.reach-line { margin: 0 0 1em; opacity: .85; }
.local-note { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); font-weight: 600; }
.avatar-logo { object-fit: contain; background: #fff; border: 1px solid var(--line-2); padding: 8px; }
.filterbar:has(details[open]) { position: static; }

/* Listing photos in the dashboard: chosen (not yet saved) and saved ones. */
.photo-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.photo-pick label.btn { cursor: pointer; }
.photo-thumbs { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.photo-thumbs:empty { display: none; }
.photo-thumbs[data-busy]::after { content: attr(data-busy); font-size: .85rem; color: var(--muted); align-self: center; }
.photo-thumbs[data-busy]:empty { display: flex; }
.photo-thumb { position: relative; width: 96px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb button { position: absolute; top: 4px; inset-inline-end: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%;
  background: rgba(21, 32, 30, .7); color: #fff; font-size: .75rem; cursor: pointer; }
.photo-row td { padding-top: 0; }
.photo-manage { display: grid; gap: 10px; }
.photo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.photo-list li { display: grid; gap: 4px; width: 120px; }
.photo-list img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
.photo-list li > form, .photo-list li > .tag { justify-self: start; }
.photo-list li { position: relative; }
.photo-list li > form:last-child { position: absolute; top: 4px; inset-inline-end: 4px; }
.photo-list li > form:last-child button { background: rgba(255, 255, 255, .9); padding: 2px 8px; }

/* ---------- motion ---------- */
/* Sections and cards rise into view as you scroll (app.js adds .in); staggered by --i. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.card { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-photos img { transition: transform .6s ease; }
.card:hover .card-photos img { transform: scale(1.04); }
.dest { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.dest:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dest:hover .dest-flag { transform: scale(1.15) rotate(-6deg); }
.dest-flag { transition: transform .3s; }
/* Destination tiles with a photo: the picture fills the tile, the text sits on a dark fade. */
.dest-photo { position: relative; min-height: 150px; color: #fff; background: var(--photo) center / cover no-repeat; overflow: hidden; border-color: transparent; }
.dest-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 36, 33, .05) 30%, rgba(8, 36, 33, .78) 100%); transition: background .3s; }
.dest-photo:hover::before { background: linear-gradient(180deg, rgba(8, 36, 33, .15) 20%, rgba(8, 36, 33, .85) 100%); }
.dest-photo > * { position: relative; }
.dest-photo .dest-name, .dest-photo .dest-cities, .dest-photo .dest-count { color: #fff; }
.dest-photo .dest-cities { color: rgba(255, 255, 255, .8); }
.dest-photo .dest-count { background: rgba(255, 255, 255, .18); }
.dest-photo:hover { color: #fff; }
.btn { transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn-terra:hover, .btn-dark:hover, .btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.site-head { transition: box-shadow .25s, background .25s; }
.site-head.scrolled { box-shadow: 0 6px 24px -14px rgba(21, 32, 30, .35); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-on img, .hero-slide.is-out img, .card-photos img, .card, .dest, .dest-flag, .quick a, .btn { animation: none; transition: none; }
  .card:hover, .dest:hover, .quick a:hover { transform: none; }
}
.offer-form h2 { margin-bottom: 6px; }

.video-frame { background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; max-width: 960px; }
.video-frame video { width: 100%; height: 100%; display: block; }

/* The no-commission promise on the agents page: the one sentence to remember. */
.lede-strong { font-weight: 700; color: var(--ink); }

/* The presenter from the video, carried into the page design. */
/* The photo column is fixed: with `auto` the 1200-px image made its track swallow the text column (184 px of text next to 1000 px of photo, her report 18.10.). */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) min(440px, 42%); gap: 48px; align-items: center; }
.presenter { display: flex; align-items: center; gap: 16px; max-width: 420px; padding: 14px 18px 14px 14px; border-radius: 999px 20px 20px 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: inherit; text-decoration: none; backdrop-filter: blur(6px); }
.presenter:hover { background: rgba(255,255,255,.14); }
.presenter img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px #C9A961, 0 8px 24px rgba(0,0,0,.25); }
.presenter-text { display: grid; gap: 4px; font-size: .95rem; line-height: 1.4; }
.presenter-text q { quotes: "\201C" "\201D"; font-family: Georgia, 'Times New Roman', serif; font-style: italic; }
.presenter-text small { font-size: .72rem; letter-spacing: .4px; text-transform: uppercase; opacity: .75; }
.block-head-presenter { display: flex; align-items: center; gap: 16px; }
.presenter-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #C9A961; }
@media (max-width: 760px) { .hero-split { grid-template-columns: 1fr; } .presenter { max-width: none; } .presenter img { width: 72px; height: 72px; } }

/* Search results: one link to switch between buying and renting; the nav already says which one you are in. */
.offer-switch { margin: -6px 0 14px; font-size: .95rem; }
.offer-switch a { color: var(--brand); text-decoration: none; border-bottom: 1px solid currentColor; }
.plans-two { grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); justify-content: center; }

/* Listing facts with a small symbol each; the energy class on a coloured A–G scale. */
.keys div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.keys .key-ico { grid-row: 1 / span 2; color: var(--muted); display: flex; }
.keys .key-ico .ico { width: 22px; height: 22px; }
.keys dd, .keys dt { grid-column: 2; }
.energy-scale { display: inline-flex; align-items: center; gap: 2px; height: 28px; }
.energy-step { display: inline-flex; align-items: center; justify-content: center; width: 10px; height: 14px; border-radius: 3px; color: #fff; font-size: .95rem; font-weight: 800; transition: width .2s; }
.energy-step.is-current { width: 30px; height: 28px; border-radius: 6px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px currentColor; }
.energy-a { background: #009640; } .energy-b { background: #52ae32; } .energy-c { background: #c8d400; color: #333; }
.energy-d { background: #ffed00; color: #333; } .energy-e { background: #fbba00; color: #333; } .energy-f { background: #ec6608; } .energy-g { background: #e30613; }
.energy-step.is-current.energy-c, .energy-step.is-current.energy-d, .energy-step.is-current.energy-e { color: #222; }
.map-section { margin: 28px 0; }
.map-section h2 { display: flex; align-items: center; gap: 8px; }
.map-section h2 .ico { width: 22px; height: 22px; color: var(--brand); }
.map-box { aspect-ratio: 16 / 9; max-height: 420px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; overflow: hidden; }
.map-box p { max-width: 46ch; margin: 0; color: var(--muted); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-box.is-loaded { padding: 0; display: block; }

.chips li, label.check > span:not(.sr) { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: inherit; }
.chips .ico, .check .ico { width: 16px; height: 16px; color: var(--brand); }

/* Property-type picker with drawn symbols (built by app.js over the native select). */
.pick-native { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; inset-inline-start: 0; top: 0; }
.pick { position: relative; }
.pick-btn { width: 100%; display: flex; align-items: center; gap: 10px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 38px 11px 14px; min-height: 48px; text-align: start; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B7774' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
[dir="rtl"] .pick-btn { padding: 11px 14px 11px 38px; background-position: left 14px center; }
.pick-btn[aria-expanded="true"], .pick-btn:focus-visible { border-color: var(--brand); outline: none; }
.pick-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-ico { display: inline-flex; color: var(--brand); flex: none; }
.pick-ico .ico { width: 20px; height: 20px; }
.pick-menu { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 60vh; overflow: auto; }
.pick-menu li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-weight: 600; }
.pick-menu li:hover, .pick-menu li:focus-visible { background: var(--surface-2, #eef3f2); outline: none; }
.pick-menu li[aria-selected="true"] { color: var(--brand); }
.pick-menu li[aria-selected="true"]::after { content: '✓'; margin-inline-start: auto; }
.field-labelled .pick-btn { min-height: 44px; }

/* "Who is selling?" on the sell page: owner or agent. */
.who-title { margin: 0 0 14px; font-size: 1.15rem; }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.who-tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; text-decoration: none; }
.who-tile > .ico { width: 30px; height: 30px; color: var(--brand); flex: none; }
.who-tile > span { display: grid; gap: 2px; flex: 1; }
.who-tile strong { font-size: 1.05rem; }
.who-tile small { color: var(--muted); }
.who-tile:hover { border-color: var(--brand); }
.head-sell[aria-current="page"] { outline: 2px solid var(--terra); outline-offset: 2px; }
@media (max-width: 560px) { .head-sell { padding: 8px 10px; } }

/* Ratings: the line on the agent box and profile, the Top-rated badge, the star input. */
.rating { display: flex; align-items: center; gap: 6px; margin: 6px 0; }
.rating-star { color: #E0A800; }
.badge-top, .tag-top { background: #FFF4D6; color: var(--gold-text); border-color: #E8C76A; }
.tag-top { font-weight: 700; }
.stars-input { border: 0; padding: 0; margin: 0; }
.stars-row { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
.stars-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-row label { font-size: 2.6rem; line-height: 1; color: var(--line-2); cursor: pointer; transition: color .1s; }
.stars-row input:checked ~ label, .stars-row label:hover, .stars-row label:hover ~ label { color: #E0A800; }
.stars-row input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* Voices: comments their authors allowed on the site. */
.voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.voice { margin: 0; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; }
.voice-stars { margin: 0; color: #E0A800; letter-spacing: 2px; }
.voice-stars-off { color: var(--line-2); }
.voice p { margin: 0; }
.voice footer { color: var(--muted); font-size: .9rem; }

/* Stories: a photo on top when there is one, the person's own post linked underneath. */
.story { padding: 0; overflow: hidden; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.story-body { padding: 18px 22px; display: grid; gap: 10px; }
.story footer a { color: var(--brand); }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.plain-list .row { justify-content: space-between; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.head-agents[aria-current="page"] { border-color: var(--terra); color: var(--ink); }

/* Map of the searched area above the results, folded until asked for. */
.map-details { margin: 0 0 18px; }
.map-details summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; color: var(--brand); list-style: none; }
.map-details summary::-webkit-details-marker { display: none; }
.map-details summary .ico { width: 20px; height: 20px; }
.map-details[open] summary { margin-bottom: 10px; }
.map-box-wide { aspect-ratio: 21 / 9; max-height: 380px; }

/* Creators directory */
.creator .card-body { display: grid; gap: 10px; }
.creator-nets li { display: flex; justify-content: space-between; gap: 8px; }
.creator-contact summary { list-style: none; display: inline-flex; cursor: pointer; }
.creator-contact summary::-webkit-details-marker { display: none; }
.creator-contact[open] summary { margin-bottom: 10px; }

/* Visuals: a photo in page heroes, line drawings on step cards, tiles and empty states. */
.hero-photo { margin: 0; justify-self: end; width: 100%; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.12); display: block; }
@media (max-width: 760px) { .hero-photo { justify-self: stretch; width: 100%; } .hero-photo img { aspect-ratio: 16 / 9; border-radius: 14px; } }
.spot-svg { width: 56px; height: 56px; color: var(--brand); flex: none; }
.spot-svg .accent { stroke: var(--terra); }
.spot-svg .accent[fill] { fill: var(--terra); stroke: none; }
.steps-spot li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: start; }
.steps-spot li .spot-svg { grid-row: 1 / span 3; margin-top: 2px; }
.steps-spot li .step-n, .steps-spot li h3, .steps-spot li p { grid-column: 2; }
.steps-spot li .step-n { width: 26px; height: 26px; font-size: .8rem; margin-bottom: 8px; }
.who-tile > .spot-svg { width: 48px; height: 48px; }
.empty-state { display: grid; justify-items: center; gap: 12px; padding: 40px 0; text-align: center; }
.empty-state .spot-svg { width: 80px; height: 80px; }
.title-spot { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.title-spot h1 { margin: 0; }

/* Creators page: four network photos with captions. */
.nets-block { padding-top: 0; }
.nets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px; }
.net { margin: 0; }
.net img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; display: block; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.net figcaption { display: grid; grid-template-columns: 24px 1fr; column-gap: 10px; align-items: center; margin-top: 12px; }
.net figcaption strong { font-size: 1.02rem; }
.net figcaption span { grid-column: 2; color: var(--muted, #5b6b68); font-size: .92rem; line-height: 1.35; }
.net-ico { width: 24px; height: 24px; color: var(--terra, #c4603c); grid-row: 1; }
@media (max-width: 900px) { .nets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nets { grid-template-columns: 1fr; } }

/* Refer and earn */
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; }
.stat-row { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.stat-row a { display: grid; gap: 2px; color: inherit; text-decoration: none; }
.stat-row a:hover strong { color: var(--terra); }
.stat-row li { background: var(--card, #fff); border: 1px solid var(--line, #e4e8e6); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.stat-row strong { font-size: 1.25rem; }
.stat-row span { color: var(--muted, #6B7774); font-size: .85rem; }
@media (max-width: 640px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* Likes, views, comments, messages */
.like-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card, #fff); border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; color: inherit; }
.like-btn svg { width: 18px; height: 18px; fill: transparent; stroke: currentColor; stroke-width: 1.8; }
.like-btn[aria-pressed="true"] { border-color: var(--terra); color: var(--terra); }
.like-btn[aria-pressed="true"] svg { fill: var(--terra); stroke: var(--terra); }
.views-line { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .9rem; margin-inline-start: 6px; }
.views-line .ico { width: 18px; height: 18px; }
.card-likes { color: var(--terra); }
.comments { margin-top: 28px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 18px; }
.comment-list li { border-top: 1px solid var(--line); padding: 12px 0; }
.comment-head { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.comment-text { margin: 0; white-space: pre-line; }
.inline { display: inline; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand, #1F6F65); cursor: pointer; font: inherit; text-decoration: underline; }
.msg-box { margin-top: 16px; }
.badge-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--terra); color: #fff; font-size: .75rem; font-weight: 600; margin-inline-start: 6px; }
.head-msgs { position: relative; }
.thread-list { list-style: none; padding: 0; margin: 0; }
.thread-list li { border-top: 1px solid var(--line); }
.thread-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: inherit; text-decoration: none; }
.thread-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.thread-last { color: var(--muted); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-list .is-unread .thread-last { color: inherit; font-weight: 600; }
.msgs { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.msgs li { max-width: 80%; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.msgs li.mine { margin-inline-start: auto; background: var(--brand-soft, #E8F3F1); }
.msg-text { margin: 0 0 4px; white-space: pre-line; }
.nowrap { white-space: nowrap; }

/* Costs and financing */
.costs { margin-top: 28px; }
.cost-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cost-list { margin: 8px 0 10px; display: grid; gap: 0; }
.cost-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.cost-list dt { color: var(--muted); }
.cost-list dd { margin: 0; font-weight: 600; white-space: nowrap; }
.cost-list .cost-total { border-top: 2px solid var(--ink, #15201E); }
.cost-list .cost-total dt { color: inherit; font-weight: 600; }
.cost-list .cost-total dd { font-size: 1.1rem; color: var(--terra); }
.mortgage { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.mortgage h3 { margin-top: 0; }
.mortgage .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mortgage input { width: 100%; }
@media (max-width: 760px) { .cost-cols { grid-template-columns: 1fr; } }

/* Price history charts */
.trend { margin-top: 28px; }
.chart { width: 100%; height: auto; display: block; margin: 8px 0 10px; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-line { fill: none; stroke: var(--brand, #1F6F65); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-dot { fill: #fff; stroke: var(--brand, #1F6F65); stroke-width: 2; }
.chart-y, .chart-x { font-size: 12px; fill: var(--muted); }
.chart-ext { fill: none; stroke: var(--terra); stroke-width: 2; stroke-dasharray: 6 5; }
.chart-dot-ext { stroke: var(--terra); }
.chart-x-ext { fill: var(--terra); }

/* Purchase-cost donut */
.donut-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.donut { width: 150px; height: 150px; }
.donut-track { fill: none; stroke: var(--line); stroke-width: 14; }
.donut-seg { fill: none; stroke-width: 14; transform: rotate(-90deg); transform-origin: 70px 70px; }
.donut-price { stroke: var(--brand, #1F6F65); }
.donut-tax { stroke: var(--terra); }
.donut-legal { stroke: #E0A526; }
.donut-agent { stroke: #4C8DD9; }
.donut-fig { margin: 0; display: grid; justify-items: center; gap: 4px; }
.donut-value { font-weight: 700; fill: var(--ink, #15201E); }
.donut-label { font-size: .8rem; color: var(--muted); text-align: center; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 8px; vertical-align: middle; }
.sw-price { background: var(--brand, #1F6F65); } .sw-tax { background: var(--terra); } .sw-legal { background: #E0A526; } .sw-agent { background: #4C8DD9; }
@media (max-width: 480px) { .donut-row { grid-template-columns: 1fr; justify-items: center; } }

/* Price-history timeframe buttons */
.range-pick { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 6px 0 4px; }
.range-pick button { border: 0; background: var(--card, #fff); padding: 7px 14px; font: inherit; cursor: pointer; color: inherit; }
.range-pick button + button { border-inline-start: 1px solid var(--line); }
.range-pick button[aria-pressed="true"] { background: var(--brand, #1F6F65); color: #fff; }
.range-chart[hidden] { display: none; }

/* Listing tools: print and report */
.listing-tools { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.listing-tools .btn .ico { width: 16px; height: 16px; vertical-align: -3px; margin-inline-end: 4px; }
.report summary { list-style: none; display: inline-block; }
.report summary::-webkit-details-marker { display: none; }
.report[open] { flex-basis: 100%; }
.report form, .report .notice { margin-top: 10px; max-width: 420px; }
.print-only { display: none; }
@media print {
  .site-head, .site-foot, .lang-bar, .crumbs, .share-cell, .like-btn, .views-line, .listing-tools, .comments, .msg-box, .trend .range-pick,
  .agent-box form, .map-box button, .map-box iframe, .lightbox, .gallery-all, .photo-nav, .mortgage input, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { max-width: none; padding: 0; }
  .listing-layout { display: block; }
  .agent-box { border: 1px solid #999; padding: 12px; margin-top: 16px; page-break-inside: avoid; }
  .gallery { display: block; }
  .gallery .gallery-shot:not(:first-child) { display: none; }
  .gallery img { max-height: 320px; width: auto; }
  .keys > div, .costs, .trend, .map-section { page-break-inside: avoid; }
  .print-only { display: block; margin-top: 18px; }
  a { color: inherit; text-decoration: none; }
}

/* Stories: share */
.story-share { margin-top: 8px; }
.voices-one { display: block; max-width: 720px; }

/* Homepage agent band with the presenter from the video */
.agent-band-presenter { flex-wrap: wrap; }
.agent-band-presenter .presenter { flex: 1 1 300px; max-width: 360px; }
.agent-band-presenter > div { flex: 2 1 320px; }

/* Account pages: one frame for agencies, owners, buyers, creators and partners */
.account-head { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; margin-bottom: 20px; }
.account-who { flex: 1 1 260px; min-width: 0; }
.account-who h1 { margin: 0 0 4px; font-size: clamp(1.5rem, 3vw, 2rem); overflow-wrap: anywhere; }
.account-who p { margin: 0; overflow-wrap: anywhere; }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.account-actions form { margin: 0; }
.account-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; margin: 0 0 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.account-nav::-webkit-scrollbar { display: none; }
.account-nav a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; background: var(--surface); }
.account-nav a:hover { border-color: var(--ink); }
.account .panel h3 { font-size: 1rem; margin: 0 0 4px; }
.account .panel h2 { margin-top: 0; }
.account .panel h2 .muted { font-weight: 500; }
.account .status { scroll-margin-top: 70px; }
.account .panel, .account [id] { scroll-margin-top: 70px; }
.stack-panels { display: grid; gap: 20px; align-content: start; }
.btn-danger { color: var(--err); border-color: color-mix(in srgb, var(--err) 40%, var(--line)); }
.btn-danger:hover { color: #fff; background: var(--err); border-color: var(--err); }
.enq { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.enq li { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.enq li p { margin: 0 0 6px; }
.enq li p:last-child { margin: 0; }
@media (max-width: 760px) { .dash-cols { grid-template-columns: 1fr; } }

/* Adverts: sponsored tag, booking form, full-page advert */
.tag-ad { background: var(--gold); color: #1d1d1b; }
.ad-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 12px 0 18px; }
.ad-slot { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.ad-slot .ad-price { font-weight: 700; margin-top: 4px; }
.ad-form { max-width: 640px; }
.splash-body { margin: 0; min-height: 100vh; background: #15201d; color: #fff; }
.splash { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.1) 40%, rgba(0,0,0,.75)), var(--cover, none) center / cover no-repeat #15201d; }
.splash-label { display: flex; gap: 10px; align-items: center; margin: 0; font-size: .9rem; color: rgba(255,255,255,.9); }
.splash-card { max-width: 640px; }
.splash-card h1 { font-size: clamp(1.8rem, 5vw, 3rem); margin: 0 0 8px; line-height: 1.1; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.splash-place, .splash-facts { margin: 0 0 6px; color: rgba(255,255,255,.9); }
.splash-price { font-size: 1.5rem; font-weight: 800; margin: 6px 0 14px; }
.splash .row { gap: 12px; margin-top: 10px; }
.btn-light { background: rgba(255,255,255,.92); color: #1d1d1b; border-color: transparent; }
.btn-light:hover { background: #fff; }

/* Profile photo, discount campaigns, ratings on the dashboard */
.avatar-photo { object-fit: cover; }
.photo-form { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.photo-form .row { gap: 12px; }
.tag-deal { background: var(--terra); color: #fff; }
.price-before { color: var(--muted); font-weight: 500; margin-inline-end: 4px; }
.campaign-box { margin: 10px 0; }
.campaign-box summary { display: inline-block; list-style: none; }
.campaign-box[open] { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.campaign-box form { margin-top: 10px; max-width: 640px; }
.rating-summary { font-size: 1.1rem; }

/* Dashboard visuals */
.account-cover { padding: 22px 24px; border-radius: var(--radius); color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--gold) 55%, transparent) 0%, transparent 45%), linear-gradient(120deg, var(--brand), var(--brand-2)); }
.account-cover .muted { color: rgba(255,255,255,.82); }
.account-cover .avatar { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.account-cover .btn-ghost, .account-cover .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.account-cover .btn-ghost:hover, .account-cover .btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.account-cover .badge-n { background: var(--gold); color: #1d1d1b; }
.stat-icons li { position: relative; padding-inline-start: 56px; min-height: 64px; }
.stat-ico { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); }
.stat-ico .ico { width: 18px; height: 18px; }
.account .panel h2 .ico, .account-nav .ico { width: 18px; height: 18px; vertical-align: -3px; margin-inline-end: 4px; color: var(--brand); }
.bars-brand .bar-fill { background: var(--brand); }
.bars-brand .bar-label { visibility: visible; }
.plan-bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 18%, var(--surface)); overflow: hidden; margin: 8px 0 4px; max-width: 420px; }
.plan-bar span { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.thumb-cell { width: 76px; }
.thumb { display: block; width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.thumb-art svg { width: 100%; height: 100%; }
.rating-bars { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 6px; max-width: 360px; }
.rating-bars li { display: grid; grid-template-columns: 36px 1fr 28px; gap: 10px; align-items: center; font-size: .9rem; }
.rating-track { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.rating-track span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.empty-state { display: grid; justify-items: start; gap: 6px; padding: 10px 0; }
.empty-state .ico { width: 28px; height: 28px; color: var(--line-2); }
.panel-tint { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 14%, var(--surface)), var(--surface)); }

/* Footer: the site's own social accounts */
.foot-social p { margin: 0 0 8px; }
.foot-social ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot-social a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: inherit; text-decoration: none; font-size: .88rem; }
.foot-social a:hover { border-color: var(--ink); }
.foot-social .net-ico { width: 18px; height: 18px; }

/* Admin */
.admin-nav a.is-active { color: var(--terra); font-weight: 700; }
.nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--terra); color: #fff; font-size: .7rem; font-weight: 700; vertical-align: 2px; }
.attention h2 { margin-top: 0; }
.attention-on { border-color: color-mix(in srgb, var(--terra) 45%, var(--line)); background: color-mix(in srgb, var(--terra) 7%, var(--surface)); }
.todo { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.inline-confirm { display: inline-block; }
.inline-confirm summary { display: inline-block; list-style: none; }
.inline-confirm[open] form { margin-top: 6px; }
.tbl tr.muted td { color: var(--muted); }

/* Who lives here: country-wide figures */
.area { margin-top: 32px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.area h2 { margin-top: 0; }
.ring { width: 220px; height: 220px; }
.ring-pct { font-size: 11.5px; font-weight: 700; }
.ring-young { fill: #B8831A; } .ring-working { fill: var(--brand, #1F6F65); } .ring-old { fill: #2F6FBF; }
.area-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.area-age { display: grid; gap: 10px; justify-items: center; }
.donut-young { stroke: #E0A526; } .donut-working { stroke: var(--brand, #1F6F65); } .donut-old { stroke: #4C8DD9; }
.swatch-young { background: #E0A526; } .swatch-working { background: var(--brand, #1F6F65); } .swatch-old { background: #4C8DD9; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: minmax(140px, 1fr) auto; gap: 4px 14px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.fact-k { color: var(--muted); font-size: .92rem; }
.fact-track { grid-column: 1; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.fact-track span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.facts li .small { grid-column: 2; justify-self: end; }
@media (max-width: 640px) { .area-grid { grid-template-columns: 1fr; } }
.deal-line { margin: 10px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--terra) 9%, var(--surface)); font-size: .95rem; }
.keys .price-before { display: block; font-size: .8em; }

/* Premier listing videos */
.tag-video { background: #1d1d1b; color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.tag-video .ico { width: 12px; height: 12px; }
.gallery-video { position: absolute; inset-inline-start: 14px; bottom: 14px; background: rgba(0,0,0,.72); color: #fff; border-color: transparent; display: inline-flex; align-items: center; gap: 6px; }
.gallery-video .ico { width: 16px; height: 16px; }
.clip-box { border: 0; padding: 0; background: transparent; max-width: none; }
.clip-box::backdrop { background: rgba(0,0,0,.85); }
.clip-box video { display: block; width: min(92vw, 56vh); aspect-ratio: 9 / 16; border-radius: 16px; background: #000; margin: 0 auto; }
.clip-box .row { justify-content: center; margin-top: 12px; }
.clip-box .lightbox-close { position: fixed; top: 16px; inset-inline-end: 16px; }
.clip-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.clip-list video { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; }
.clip-list p { margin: 8px 0 0; }

/* Market watch */
.market-hero { position: relative; background: linear-gradient(135deg, var(--brand), #0A403B); color: #fff; background-size: cover; background-position: center; }
.market-hero.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 36, 33, .88) 0%, rgba(8, 36, 33, .6) 50%, rgba(8, 36, 33, .3) 100%); }
.market-hero-inner { position: relative; padding-block: clamp(40px, 7vw, 80px); max-width: 760px; }
.market-hero h1, .market-hero .lede { color: #fff; }
.market-hero .lede { color: rgba(255, 255, 255, .9); font-size: 1.15rem; }
.market-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.market-kicker .ico { width: 18px; height: 18px; }
.market-hero .hero-place { position: relative; display: inline-flex; margin-top: 18px; }
.market-head { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 14px; align-items: flex-start; }
.market-head > div { flex: 1; min-width: 0; }
.market-head .stat-ico { position: static; transform: none; flex: none; }
.market-head p { margin: 2px 0 0; }
.interest-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.interest-card { position: relative; display: grid; grid-template-rows: 130px auto; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card, #fff); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.interest-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.interest-card img { width: 100%; height: 130px; object-fit: cover; }
.interest-blank { display: grid; place-items: center; height: 130px; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); }
.interest-blank .ico { width: 36px; height: 36px; }
.interest-rank { position: absolute; top: 10px; inset-inline-start: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.interest-body { display: grid; gap: 4px; padding: 10px 12px 12px; }
.interest-body .small .ico { width: 14px; height: 14px; vertical-align: -2px; color: var(--muted); }
.interest-track { display: block; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 4px 0; }
.interest-track span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.price-tbl .bar-cell { min-width: 120px; }
.price-tbl .bar-cell .interest-track span { background: var(--brand); }
.country-cell { display: flex; gap: 12px; align-items: center; min-width: 220px; }
.country-cell > span:last-child { display: grid; gap: 2px; flex: 1; }
.country-photo { width: 56px; height: 42px; object-fit: cover; border-radius: 8px; flex: none; }
.country-flag { display: grid; place-items: center; font-size: 1.5rem; background: var(--surface-2); }
.btn-sm { padding: 6px 12px; font-size: .85rem; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; }
.tbl .up { color: var(--ok); font-weight: 600; } .tbl .down { color: var(--err); font-weight: 600; }

/* Magazine */
.subscribe-box { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.subscribe-art { width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 14%, var(--surface)); color: var(--brand); }
.subscribe-art svg { width: 52px; height: 52px; }
.subscribe-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 8px; }
.subscribe-form input[type=email] { flex: 1 1 240px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .subscribe-box { grid-template-columns: 1fr; } .subscribe-art { width: 64px; height: 64px; border-radius: 16px; } }
.issue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.issue-list a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; color: inherit; text-decoration: none; }
.issue-list a:hover, .issue-list a[aria-current] { background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.issue-list .ico { width: 16px; height: 16px; color: var(--brand); }
.issue-list-wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.post-list a { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.post-list a > span { display: grid; }
.post-list img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.post-card { display: grid; grid-template-rows: 160px auto; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card, #fff); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.post-card img { width: 100%; height: 160px; object-fit: cover; }
.post-blank { display: grid; place-items: center; height: 160px; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); }
.post-blank .ico { width: 40px; height: 40px; }
.post-body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.post { max-width: 760px; }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin: 12px 0 20px; }
.post-text { font-size: 1.08rem; line-height: 1.65; }

/* Advisers + news */
.adviser-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.adviser-head .card-title, .adviser-head .card-place { margin: 0; }
.adviser-box { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.adviser-box .stat-ico { position: static; transform: none; flex: none; }
.adviser-box > div { flex: 1; min-width: 220px; }
.adviser-box h2, .adviser-box p { margin: 0; }
.filter-row { margin: 0 0 16px; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px 16px; }
.news-list a { display: grid; gap: 6px; color: inherit; text-decoration: none; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card, #fff); transition: transform .15s, box-shadow .15s; }
.news-list a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); border-color: var(--brand); }
.news-src { display: flex; align-items: center; gap: 8px; min-width: 0; }
.news-src .small:first-of-type { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-emblem { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.news-initial { display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: #fff; background: hsl(var(--h) 45% 45%); border: 0; }
.news-emblem-lg { width: 40px; height: 40px; border-radius: 10px; }
.news-publishers { list-style: none; margin: 0 0 16px; padding: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; border-bottom: 1px solid var(--line); }
.news-publishers li { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.news-publishers .news-emblem { width: 22px; height: 22px; border-radius: 6px; }
.news-lead { display: grid; gap: 10px; padding: 18px 20px; margin-bottom: 14px; border-radius: 14px; color: #fff; text-decoration: none; background: linear-gradient(120deg, var(--brand), #0A403B); }
.news-lead-src { display: flex; align-items: center; gap: 10px; }
.news-lead-src > span { display: grid; }
.news-lead-src .muted { color: rgba(255, 255, 255, .75); }
.news-lead-title { font-size: 1.3rem; font-weight: 700; line-height: 1.3; }
.news-lead-go { font-size: .9rem; color: rgba(255, 255, 255, .85); }
.news-compact { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .news-compact { grid-template-columns: 1fr; } }

/* Links on green surfaces keep white text on hover: the global a:hover turns links brand green, which vanishes on a green background. */
.market-hero a:hover, .page-hero a:hover, .account-cover a:hover, .news-lead:hover, .news-lead:hover *, .hero-inner a:hover, .splash a:hover, .dest-photo:hover * { color: #fff; }
.market-hero .btn-terra:hover, .page-hero .btn-terra:hover, .hero-inner .btn-terra:hover { color: #fff; }
.news-lead:hover { filter: brightness(1.08); }

/* Advisers directory */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.svc-grid li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card, #fff); }
.svc-grid .stat-ico { position: static; transform: none; }
.adv-stats { margin-top: 0; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .adv-stats { grid-template-columns: 1fr; } }
.adv-steps { margin-bottom: 20px; }
.flag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.flag-filter a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card, #fff); font-size: .9rem; font-weight: 600; color: inherit; }
.flag-filter a:hover { border-color: var(--brand); color: var(--brand); }
.flag-filter a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.flag-filter .ico { width: 16px; height: 16px; }
.adviser-top { display: flex; align-items: center; gap: 14px; padding: 18px 18px 0; }
.adviser-top .card-title, .adviser-top .card-place { margin: 0; }
.avatar-md { width: 56px; height: 56px; border-radius: 14px; flex: none; font-size: 1.4rem; }
.adviser .chips { margin-bottom: 12px; }
.adviser-flags { font-size: 1.3rem; letter-spacing: 4px; margin: 0 0 12px; }
.adviser-facts { margin-bottom: 12px; }
.adviser-facts .fact-k { display: inline-flex; align-items: center; gap: 6px; }
.adviser-facts .fact-k .ico { width: 15px; height: 15px; color: var(--brand); }
.creator-contact summary .ico { width: 16px; height: 16px; vertical-align: -3px; }
.empty-adv { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 40px 16px; border: 1px dashed var(--line-2); border-radius: 16px; }
.empty-adv .stat-ico { position: static; transform: none; width: 56px; height: 56px; border-radius: 16px; }
.empty-adv .stat-ico .ico { width: 28px; height: 28px; }
.adviser-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.adviser-cta h2, .adviser-cta p { margin: 0; }
.grid:has(.adviser) { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.adviser .chips li { font-size: .8rem; padding: 5px 11px; }

/* Presenter in the hero (her request 18.10.: a face at the very top, next to "For agents"); on phones after the search box. */
.hero-guide { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; align-self: start; }
.hero-guide .presenter { max-width: 400px; }
.hero-guide .presenter img { width: 84px; height: 84px; }
.hero-guide .btn-light:hover { color: var(--ink); }
@media (max-width: 900px) { .hero-guide { order: 10; } }
/* Feedback: footer link plus a small pill at the bottom edge on wide screens. */
.fb-pill { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 15; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; box-shadow: 0 10px 30px -12px rgba(21, 32, 30, .6); text-decoration: none; }
.fb-pill:hover { color: #fff; background: var(--brand); }
.fb-pill .ico { width: 18px; height: 18px; }
@media (max-width: 760px) { .fb-pill { display: none; } }
@media print { .fb-pill { display: none; } }
.fb-form textarea { width: 100%; min-height: 150px; }
.fb-form label small { display: block; margin-top: 4px; }
.admin .tbl tr.is-new td { background: #FFF7E6; }

/* Premium advisers (18.10.): gold card in the directory, spotlight in the adviser box, two-plan pick on the dashboard. */
.adviser-premium { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 18px 40px -24px rgba(201, 169, 97, .7); }
.card-tag-gold { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; margin: 0; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.adviser-premium .adviser-top { padding-inline-end: 96px; }
.plan-flag-gold { background: var(--gold); }
.adviser-spot { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.adviser-spot a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid var(--gold); border-radius: 999px; color: var(--ink); text-decoration: none; background: color-mix(in srgb, var(--gold) 10%, var(--surface)); }
.adviser-spot a:hover { background: color-mix(in srgb, var(--gold) 22%, var(--surface)); color: var(--ink); }
.adviser-spot span { display: grid; line-height: 1.2; }
.adviser-spot small { color: var(--muted); font-size: .72rem; }
.avatar-sm { width: 32px; height: 32px; font-size: .85rem; }
.plan-pick { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 10px 0; }
.plan-pick > div { display: grid; gap: 6px; justify-items: start; }
.plan-pick .plan-price { font-size: 1.1rem; }
/* Recommendations at the foot of the homepage: real voices or an honest empty state. */
.voices-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); }
.voices-empty .stat-ico { position: static; transform: none; flex: none; }
.voices-empty > div { flex: 1; min-width: 240px; }
.voices-empty p { margin: 0; }
.voices-empty .lede { font-size: 1.05rem; margin-bottom: 4px; }
/* "For advisers" next to "For agents" in the header (her request 18.10.); hidden on narrow screens where the footer link remains. */
@media (max-width: 760px) { .head-advisers { display: none; } }

/* Door24 Academy (18.10.): course cards, lesson pages, badges on profiles, listing pages and cards. */
.courses .course .card-body { display: grid; gap: 10px; align-content: start; }
.course-meta { margin: 0; color: var(--muted); font-size: .85rem; display: flex; align-items: center; gap: 6px; }
.course-done { border-color: var(--gold); }
.course-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 860px) { .course-split { grid-template-columns: 1fr; } }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lesson-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.lesson-list li a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.lesson-list li.is-done { border-color: var(--brand); }
.lesson-list li.is-now { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
.lesson-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); font-weight: 700; font-size: .85rem; flex: none; }
.is-done .lesson-n { background: var(--brand); color: #fff; }
.lesson-list-sm li { padding: 8px 10px; font-size: .9rem; }
.lesson-prose p { font-size: 1.05rem; line-height: 1.65; }
.quiz fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 0 0 14px; display: grid; gap: 6px; }
.quiz legend { font-weight: 700; padding: 0 6px; }
.quiz .btn + .btn { margin-inline-start: 10px; }
.page-hero-slim { padding-block: clamp(24px, 4vw, 44px); }
.page-hero-slim h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: none; }
.badge-academy { background: #FFF4D6; color: #7A5A00; border: 1px solid #E8C76A; }
.badges-academy { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.agent-box .badges-academy { display: flex; margin: 6px 0; }
.card-cap { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-inline-start: 6px; vertical-align: -4px; border-radius: 50%; background: #FFF4D6; color: #7A5A00; }
.card-cap .ico { width: 12px; height: 12px; }
.academy-teaser { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.academy-teaser .stat-ico { position: static; transform: none; flex: none; }
.academy-teaser > div { flex: 1; min-width: 240px; }
.academy-teaser h2, .academy-teaser p { margin: 0; }

/* ---------- admin redesign (18.10.2026): sidebar in groups, glance strip, one card per feature area ---------- */
.admin { background: #F4F3EF; }
.admin-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.admin-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #15201E; color: #fff; padding: 18px 12px 24px; display: flex; flex-direction: column; gap: 14px; }
.admin-brand { display: flex; align-items: baseline; gap: 8px; color: #fff; text-decoration: none; padding: 6px 10px; font-weight: 800; font-size: 1.1rem; }
.admin-brand small { color: rgba(255,255,255,.55); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-nav { display: flex; flex-direction: column; gap: 10px; }
.admin-group { display: grid; gap: 2px; }
.admin-group-k { margin: 10px 10px 4px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: rgba(255,255,255,.85); text-decoration: none; font-size: .92rem; font-weight: 500; }
.admin-nav a .ico { width: 18px; height: 18px; opacity: .8; flex: none; }
.admin-nav a span:first-of-type { flex: 1; }
.admin-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav a.is-active { background: rgba(255,255,255,.14); color: #fff; font-weight: 700; box-shadow: inset 3px 0 0 var(--terra); }
.admin-nav .nav-badge { margin: 0; }
.admin-site { margin-top: auto; opacity: .8; }
.admin-main { padding: 28px clamp(16px, 3vw, 44px) 60px; min-width: 0; }
.admin-main > h1 { margin-top: 0; }
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.admin-head h1 { margin: 0; }
.admin-head p { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.chip-ok { background: #E6F4EA; color: #1B5E20; border-color: #BFE3C6; }
.chip-warn { background: #FFF4D6; color: #7A5A00; border-color: #E8C76A; }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.glance .kpi { background: linear-gradient(160deg, var(--surface), #F7F6F2); border-color: var(--line); }
.glance .kpi-v { font-size: 1.6rem; color: var(--brand); }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 10px; }
.area { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.area:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(21, 32, 30, .5); border-color: var(--brand); color: var(--ink); }
.area-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand); }
.area-ico .ico { width: 22px; height: 22px; }
.area-body { display: grid; gap: 8px; min-width: 0; flex: 1; }
.area-body strong { font-size: 1.02rem; }
.area dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.area dl > div { display: grid; }
.area dd { margin: 0; font-weight: 800; font-size: 1.05rem; overflow-wrap: anywhere; }
.area dt { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.area small { display: block; padding-top: 4px; border-top: 1px solid var(--line); }
.admin .panel { border-radius: 16px; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 12px; gap: 6px; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .admin-group { display: contents; }
  .admin-group-k { display: none; }
  .admin-nav a { padding: 6px 9px; font-size: .85rem; }
  .admin-nav a .ico { display: none; }
  .admin-site { margin: 0; }
}

/* Academy visuals (18.10.): covers, progress rings, takeaways and exercises, the certificate. */
.course-cover { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.course-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.course:hover .course-cover img { transform: scale(1.04); }
.pring { width: 34px; height: 34px; vertical-align: middle; transform: rotate(-90deg); }
.pring-bg { fill: none; stroke: var(--line); stroke-width: 3.5; }
.pring-fg { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linecap: round; transition: stroke-dasharray .4s; }
.pring text { transform: rotate(90deg); transform-origin: 18px 18px; font-size: 9px; font-weight: 700; fill: var(--ink); }
.course-progress { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 600; }
.course-progress .pring { width: 48px; height: 48px; }
.takeaways, .exercise { margin: 22px 0; padding: 16px 18px; border-radius: 14px; }
.takeaways { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); }
.exercise { background: #FFF8EA; border: 1px solid #E8C76A; }
.takeaways h3, .exercise h3 { margin: 0 0 8px; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.takeaways ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.takeaways li, .exercise p { font-size: .98rem; line-height: 1.5; margin: 0; }
.certificate { max-width: 860px; margin: 0 auto; padding: 14px; background: linear-gradient(135deg, #C9A961, #E9D9A8 50%, #C9A961); border-radius: 18px; }
.cert-inner { background: var(--surface); border-radius: 12px; padding: clamp(28px, 6vw, 64px); text-align: center; border: 1px solid #E8C76A; }
.cert-kicker { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: #7A5A00; margin: 0 0 10px; }
.certificate h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 18px; }
.cert-text { font-size: 1.15rem; line-height: 1.6; max-width: 56ch; margin: 0 auto 14px; }
.cert-meta { color: var(--muted); margin: 0 0 18px; }
.cert-note { max-width: 60ch; margin: 0 auto 10px; color: var(--muted); }
.cert-id { letter-spacing: .08em; margin: 0; }
@media print { .site-head, .site-foot, .fb-pill, .no-print, .lang-bar { display: none !important; } .certificate { padding: 10px; } body { background: #fff; } }

/* Academy band on the homepage (18.10.): photo left, text right; stacked on phones. */
.academy-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.academy-band-photo { display: block; min-height: 240px; }
.academy-band-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.academy-band-text { padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 10px; justify-content: center; align-items: flex-start; }
.academy-band-text h2, .academy-band-text p { margin: 0; }
/* Gold section label, used above headings site-wide (18.10., "I liked this golden color, use it more"). */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--gold-text); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.eyebrow .ico { width: 16px; height: 16px; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.page-hero .eyebrow, .market-hero .eyebrow { color: #E8C76A; }
.block-head .eyebrow { margin-bottom: 6px; }
.panel h2 .ico, .block-head h2 .ico, .market-head .stat-ico, .page-hero h1 .ico { color: var(--gold-text); }
.market-head .stat-ico { background: color-mix(in srgb, var(--gold) 16%, var(--surface)); }
.market-kicker { color: #E8C76A; }
.academy-band-text .btn { margin-top: 8px; }
@media (max-width: 760px) { .academy-band { grid-template-columns: 1fr; } .academy-band-photo { aspect-ratio: 3 / 2; min-height: 0; } }

/* Refer-and-earn on a course page */
.course-refer{margin-top:1rem;padding-top:.9rem;border-top:1px solid var(--line)}
.course-refer p{margin:0 0 .5rem}

/* Academy band lives in the dashboard panel (moved off the homepage 18.10.) */
.panel-band { padding: 0; overflow: hidden; }
.panel-band .academy-band { border: 0; border-radius: 0; margin-bottom: 0; }
.panel-band > ul, .panel-band > p { margin-left: clamp(16px, 3vw, 28px); margin-right: clamp(16px, 3vw, 28px); }
.panel-band > ul { margin-top: 16px; }
.panel-band > p:last-child { padding-bottom: 20px; }
