/* ============================================================
   CorfuDiscovery  -  Homepage redesign
   Design system: coral brand (#E5503A, from logo) + deep Ionian
   navy + warm sand neutrals. Type: Newsreader (serif display) +
   Hanken Grotesque (UI/body).
   ============================================================ */

:root {
  /* Brand */
  --coral: #E5503A;          /* primary  -  sampled from logo */
  --coral-deep: #C53F2B;     /* hover/active */
  --coral-ink: #8F2C1C;
  --coral-soft: #FCEBE5;     /* tint surface */
  --coral-soft-2: #F8DDD3;

  /* Sea / dark */
  --navy: #0F2A3B;           /* deep Ionian at dusk */
  --navy-2: #0A1E2B;
  --navy-soft: #1B3F54;

  /* Neutrals (warm) */
  --sand: #FAF6F0;
  --sand-2: #F3ECE2;
  --sand-3: #ECE2D4;
  --paper: #FFFFFF;

  --ink: #1A242E;
  --body: #44515D;
  --muted: #768591;
  --line: #E8DFD2;
  --line-strong: #DBCFBC;

  --gold: #D99A33;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16,42,59,.06), 0 2px 6px rgba(16,42,59,.05);
  --shadow: 0 4px 14px rgba(16,42,59,.08), 0 12px 32px rgba(16,42,59,.07);
  --shadow-lg: 0 18px 50px rgba(16,42,59,.16);
  --shadow-coral: 0 10px 26px rgba(229,80,58,.30);

  --maxw: clamp(1240px, 84vw, 1600px);
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html,
body {
  max-width: 100%;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
/* Scope svg display:block only inside our own components so Listeo inline icons are not broken */
.site-header svg, .site-footer svg, .front-page-wrap svg, .cdf-user-menu svg,
.topbar svg, .drawer svg, .btn svg, .cdf-dashboard-nav svg, .cdf-dashboard-content svg,
.footer svg, .hero svg, .listing-card svg, .search-bar svg, .archive-wrap svg,
.auth-modal svg, .single-listing-wrap svg, .contact-wrap svg, .blog-wrap svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus { outline: none; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(229,80,58,.72);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(229,80,58,.14);
}
.brand:focus-visible,
.lcard:focus-visible,
.post:focus-visible,
.jcard:focus-visible,
.cat-card:focus-visible {
  border-radius: var(--r-sm);
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.serif { font-family: var(--serif); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px; }
.eyebrow.center::before { display: none; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 660px; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -.02em;
  margin-top: 14px; color: var(--ink);
}
.section-head p { margin-top: 16px; color: var(--body); font-size: 17.5px; max-width: 56ch; }
.section-head .row-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-weight: 600; font-size: 15.5px; letter-spacing: .005em;
  padding: 13px 24px; border-radius: var(--pill); transition: .22s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn.is-disabled,
.btn.is-disabled:hover {
  opacity: .52;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--coral); font-size: 15.5px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Refined "View all / Read the journal" action link  -  always one line,
   text + a coral arrow chip that slides on hover. */
.link-arrow.add-desktop {
  white-space: nowrap; gap: 12px;
  padding: 7px 7px 7px 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.link-arrow.add-desktop svg {
  width: 16px; height: 16px; padding: 8px; box-sizing: content-box; flex-shrink: 0;
  border-radius: 50%; background: var(--coral); color: #fff;
  transition: transform .22s ease, background .22s ease;
}
.link-arrow.add-desktop:hover {
  border-color: var(--coral); color: var(--coral); box-shadow: var(--shadow-sm); transform: translateY(-1px);
}
.link-arrow.add-desktop:hover svg { background: var(--coral-deep); transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--navy); color: #cdd9e0; font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; min-width: 0; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar .tb-left svg { width: 14px; height: 14px; opacity: .8; }
.topbar .socials { display: flex; gap: 10px; flex: 0 1 auto; min-width: 0; max-width: 45vw; overflow: hidden; justify-content: flex-end; }
.topbar .socials a { display: grid; place-items: center; opacity: .8; flex: 0 0 auto; }
.topbar .socials a:hover { opacity: 1; }
.topbar .socials svg { width: 15px; height: 15px; }
@media (max-width: 820px){ .topbar .tb-left span.hide-sm, .topbar .tb-weather .hide-sm { display: none; } }

/* smart day + weather widget */
.tb-weather { display: inline-flex; align-items: center; gap: 14px; }
.tb-weather > span { display: inline-flex; align-items: center; gap: 7px; }
.tb-weather svg { width: 14px; height: 14px; opacity: .8; }
.tb-weather .tb-day-val, .tb-weather .tb-temp-val { font-weight: 600; color: #eaf1f5; }
.tb-weather .tb-temp .tb-ico { color: #ffd27a; opacity: 1; }
.tb-unit {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px;
  padding: 2px 8px; border-radius: var(--pill); font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  color: #cdd9e0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); cursor: pointer;
  transition: .18s;
}
.tb-unit:hover { color: #fff; background: var(--coral); border-color: var(--coral); }
@media (max-width: 720px){
  .topbar .wrap { min-height: 36px; gap: 10px; padding-inline: 14px; }
  .topbar .tb-left { flex: 1 1 auto; min-width: 0; }
  .topbar .socials {
    max-width: 36vw; overflow: hidden; scrollbar-width: none;
    gap: 5px; padding: 4px 2px 4px 0; -webkit-overflow-scrolling: touch;
  }
  .topbar .socials::-webkit-scrollbar { display: none; }
  .topbar .socials a {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  }
  .topbar .socials svg { width: 13px; height: 13px; }
  .tb-weather { width: 100%; min-width: 0; gap: 7px; }
  .tb-weather > span { min-width: 0; gap: 5px; }
  .tb-weather .tb-day { flex: 0 1 auto; overflow: hidden; }
  .tb-weather .tb-day-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tb-weather .tb-temp { flex: 0 0 auto; }
  .tb-unit { flex: 0 0 auto; min-width: 30px; padding-inline: 7px; font-size: 11px; }
}
@media (max-width: 420px){
  .topbar { font-size: 12px; }
  .topbar .wrap { padding-inline: 10px; }
  .topbar .socials { max-width: 28vw; gap: 4px; }
  .topbar .socials a { width: 20px; height: 20px; }
  .tb-weather .tb-day svg { display: none; }
  .tb-weather .tb-temp svg { display: block; width: 13px; height: 13px; }
  .tb-unit { min-width: 28px; padding-inline: 6px; }
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.95); }
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand .bt { display: flex; flex-direction: column; line-height: 1; }
.brand .bt b { font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
.brand .bt small { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--coral); font-weight: 700; margin-top: 4px; }

.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu > li { position: relative; }
.menu > li > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--ink); transition: .18s; white-space: nowrap;
}
.menu > li > a .caret { width: 12px; height: 12px; opacity: .55; transition: transform .2s; }
.menu > li > a:hover { color: var(--coral); background: var(--coral-soft); }
.menu > li:hover > a .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  min-width: 244px; padding: 10px; opacity: 0; visibility: hidden; transition: .2s ease; z-index: 70;
}
.menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--body); }
.dropdown a:hover { background: var(--sand-2); color: var(--coral); }
.dropdown a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex-shrink: 0; opacity: .65; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta .signin { font-weight: 600; font-size: 15px; padding: 9px 8px; }
.nav-cta .signin:hover { color: var(--coral); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); place-items: center; background: #fff; }
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1080px){
  .menu, .nav-cta .signin, .nav-cta .add-desktop { display: none; }
  .nav-cta { margin-left: auto; }
  .burger { display: grid; }
}
@media (max-width: 640px){
  :root { --header-h: 66px; --gutter: clamp(14px, 4vw, 22px); }
  .nav { gap: 12px; }
  .brand { gap: 9px; min-width: 0; }
  .brand img { width: 38px; height: 38px; }
  .brand .bt { min-width: 0; }
  .brand .bt b { font-size: 18px; max-width: 58vw; overflow: hidden; text-overflow: ellipsis; }
  .brand .bt small { font-size: 9px; letter-spacing: .16em; }
  .burger { width: 42px; height: 42px; border-radius: 10px; }
}

/* mobile drawer */
.drawer-back { position: fixed; inset: 0; background: rgba(10,30,43,.5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .25s; z-index: 9999999998; }
.drawer-back.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 88vw); background: #fff; z-index: 9999999999;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-top .close { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); }
.drawer-nav { overflow-y: auto; padding: 12px 14px 24px; flex: 1; }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 15px 6px; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary .caret { width: 16px; height: 16px; opacity: .5; transition: transform .2s; }
.drawer-nav details[open] summary .caret { transform: rotate(180deg); }
.drawer-nav .sub { padding: 2px 6px 14px; display: flex; flex-direction: column; gap: 2px; }
.drawer-nav .sub a { padding: 9px 12px; color: var(--body); font-size: 15px; border-radius: 8px; }
.drawer-nav .sub a:hover { background: var(--sand-2); color: var(--coral); }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
@media (max-width: 480px){
  .drawer { width: 100vw; }
  .drawer-top { padding: 14px 16px; }
  .drawer-nav { padding-inline: 12px; }
  .drawer-foot { padding: 14px 16px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,30,43,.55) 0%, rgba(10,30,43,.18) 30%, rgba(10,30,43,.35) 62%, rgba(10,30,43,.86) 100%),
    linear-gradient(90deg, rgba(10,30,43,.55), rgba(10,30,43,0) 55%);
}
.hero-inner { padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 10px; border-radius: var(--pill);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(6px);
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
}
.hero-badge .pill-i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); }
.hero-badge .pill-i svg { width: 14px; height: 14px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -.022em;
  margin-top: 22px; max-width: 16ch; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero h1 em { font-style: italic; color: #FFD9CF; }
.hero-sub { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); max-width: 52ch; color: rgba(255,255,255,.92); }

/* centered hero variant */
.hero-centered .hero-inner { text-align: center; }
.hero-centered .hero-inner > h1,
.hero-centered .hero-inner > .hero-sub { margin-left: auto; margin-right: auto; }
.hero-centered .searchbar { margin-left: auto; margin-right: auto; text-align: left; }
.hero-centered .hero-quick { justify-content: center; }

/* search */
.searchbar {
  margin-top: 34px; background: rgba(255,255,255,.97); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 10px; max-width: min(1040px, 100%); color: var(--ink);
}
.search-tabs { display: flex; gap: 4px; padding: 4px 4px 10px; flex-wrap: wrap; }
.search-tabs button {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: var(--pill);
  font-weight: 600; font-size: 14px; color: var(--muted); transition: .18s;
}
.search-tabs button svg { width: 16px; height: 16px; }
.search-tabs button.active { background: var(--coral-soft); color: var(--coral-deep); }
.search-tabs button:hover:not(.active) { background: var(--sand-2); color: var(--ink); }
.search-fields { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 6px; }
.field { display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-radius: var(--r); background: var(--sand); border: 1px solid transparent; transition: .18s; min-width: 0; }
.field:focus-within { background: #fff; border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.field .fi { width: 20px; height: 20px; color: var(--coral); flex-shrink: 0; }
.field .fcol { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.field label, .field .field-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { border: none; background: none; outline: none; font-weight: 600; font-size: 15.5px; width: 100%; padding: 2px 0; }
.field select { cursor: pointer; appearance: none; }
.search-go { display: grid; }
.search-go button { width: 100%; height: 100%; padding-inline: 30px; }
@media (max-width: 760px){
  .search-fields { grid-template-columns: 1fr; }
  .search-go button { padding-block: 14px; }
}

.hero-quick { margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-quick .ql { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.78); }
.hero-quick a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); font-size: 14px; font-weight: 600; transition: .18s; backdrop-filter: blur(4px);
}
.hero-quick a:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-quick a svg { width: 15px; height: 15px; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { background: var(--navy); color: #fff; position: relative; z-index: 2; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 52px); line-height: 1; }
.stat .num .u { color: var(--coral); }
.stat .lbl { margin-top: 10px; font-size: 14px; letter-spacing: .03em; color: #b9c7d0; font-weight: 500; }
@media (max-width: 720px){
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2){ border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2){ border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.cats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 230px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff;
  isolation: isolate; transition: .3s ease; box-shadow: var(--shadow);
}
.cat-card .cph { position: absolute; inset: 0; z-index: -2; }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,42,59,0) 30%, rgba(15,42,59,.85) 100%); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card .cicon { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); margin-bottom: auto; }
.cat-card .cicon svg { width: 24px; height: 24px; color: var(--coral); }
/* Real custom SVG icon, recoloured to the brand coral via a CSS mask */
.cat-card .cicon .cicon-img { width: 24px; height: 24px; display: block; background: var(--coral);
  -webkit-mask: var(--cdf-mask) center / contain no-repeat; mask: var(--cdf-mask) center / contain no-repeat; }
.cat-card h3 { font-size: 21px; font-weight: 600; margin-top: 16px; font-family: var(--serif); }
.cat-card .count { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.85); margin-top: 4px; display: flex; align-items: center; gap: 7px; }
.cat-card .go { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid #fff; color: var(--coral); box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: .25s; }
.cat-card:hover .go { background: var(--coral); border-color: var(--coral); color: #fff; transform: rotate(-45deg); }
.cat-card .go svg { width: 17px; height: 17px; }
@media (max-width: 1080px){ .cats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px){ .cats-grid { grid-template-columns: 1fr 1fr; } .cat-card { min-height: 180px; } }
@media (max-width: 420px){ .cats-grid { grid-template-columns: 1fr; } }

/* photo placeholder treatment (real listing photos drop in here) */
.ph {
  background-color: var(--sand-3);
  background-image:
    repeating-linear-gradient(135deg, rgba(229,80,58,.07) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--sand-2), var(--sand-3));
  position: relative;
}
.ph[data-tone="navy"] { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 11px), linear-gradient(160deg, #1d4257, #0f2a3b); }
.ph::after { content: attr(data-label); position: absolute; left: 12px; bottom: 12px; font-family: ui-monospace, "SF Mono", monospace; font-size: 10.5px; letter-spacing: .04em; color: rgba(26,36,46,.42); background: rgba(255,255,255,.55); padding: 3px 7px; border-radius: 6px; }
.cat-card .ph::after, .ph[data-tone="navy"]::after { color: rgba(255,255,255,.6); background: rgba(0,0,0,.22); }
.cdf-branded-ph {
  width: 100%; height: 100%; min-height: 180px; display: block; overflow: hidden; background: var(--sand-2);
}
.cdf-branded-ph img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ============================================================
   HOMEPAGE SEO INTRO
   ============================================================ */
.seo-intro { padding: 0 0 clamp(28px, 4vw, 48px); margin-top: -8px; }
.seo-intro p {
  max-width: 72ch; margin: 0 auto; text-align: center;
  font-size: 17px; line-height: 1.65; color: var(--body);
}

/* ============================================================
   EDITORIAL "WHY CORFU"
   ============================================================ */
.editorial { background: var(--paper); }
.ed-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.ed-figures { position: relative; }
.ed-figures .f1 { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.1; }
.ed-figures .f1 img { width: 100%; height: 100%; object-fit: cover; }
.ed-figures .f2 { position: absolute; right: -18px; bottom: -34px; width: 46%; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid #fff; aspect-ratio: 4/3; }
.ed-figures .f2 img { width: 100%; height: 100%; object-fit: cover; }
.ed-figures .stamp { position: absolute; left: -22px; top: -22px; background: var(--coral); color: #fff; width: 108px; height: 108px; border-radius: 50%; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-coral); transform: rotate(-8deg); }
.ed-figures .stamp b { font-family: var(--serif); font-size: 30px; line-height: 1; }
.ed-figures .stamp span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.ed-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.02em; margin-top: 14px; }
.ed-body p.lede { margin-top: 20px; font-size: 18px; color: var(--body); }
.values { margin-top: 30px; display: grid; gap: 16px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value .vi { flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; background: var(--coral-soft); color: var(--coral-deep); display: grid; place-items: center; }
.value .vi svg { width: 24px; height: 24px; }
.value h4 { font-size: 17.5px; font-weight: 700; }
.value p { font-size: 15px; color: var(--body); margin-top: 3px; }
@media (max-width: 920px){
  .ed-grid { grid-template-columns: 1fr; gap: 56px; }
  .ed-figures { max-width: 540px; }
  .ed-figures .f2 { right: 0; }
}

/* ============================================================
   LISTING CAROUSELS
   ============================================================ */
.rail-section + .rail-section { padding-top: 0; }
.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 20px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 1100px){ .rail { grid-auto-columns: minmax(0, 1fr); grid-template-columns: repeat(4, 1fr); grid-auto-flow: row; overflow: visible; } }
@media (min-width: 1900px){ .rail { grid-template-columns: repeat(5, 1fr); } }

.lcard { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: .26s ease; display: flex; flex-direction: column; }
.lcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.lcard .media { aspect-ratio: 16/11; position: relative; overflow: hidden; }
.lcard .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lcard:hover .media img { transform: scale(1.06); }
.lcard .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 7px; z-index: 2; }
.tag { font-size: 11.5px; font-weight: 700; letter-spacing: .03em; padding: 5px 10px; border-radius: var(--pill); background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--shadow-sm); }
.tag.feat { background: var(--coral); color: #fff; }
.tag.open { background: #1f8a52; color: #fff; }
.tag.closed { background: #7a8893; color: #fff; }
.lcard .fav { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); border: none; padding: 0; cursor: pointer; display: grid; place-items: center; z-index: 2; box-shadow: var(--shadow-sm); transition: .2s; }
.lcard .fav svg { width: 18px; height: 18px; color: var(--coral); transition: fill .18s, color .18s, transform .18s; }
.lcard .fav:hover { transform: scale(1.1); background: #fff; }
.lcard .fav.liked,
.lcard .fav.listeo_core-unbookmark-it { background: #fff; }
.lcard .fav.liked svg,
.lcard .fav.listeo_core-unbookmark-it svg { fill: var(--coral); color: var(--coral); transform: scale(1.05); }
.lcard .body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.lcard .cat-line { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); display: flex; align-items: center; gap: 7px; }
.lcard h3 { font-size: 18px; font-weight: 700; margin-top: 8px; letter-spacing: -.01em; }
.lcard .loc { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13.5px; margin-top: 7px; }
.lcard .loc svg { width: 14px; height: 14px; flex-shrink: 0; }
.lcard .foot { margin-top: auto; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 9px; border-top: 1px solid var(--line); margin-top: 15px; flex-wrap: wrap; }
.lcard .rating { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.lcard .rating svg { width: 15px; height: 15px; color: var(--gold); }
.lcard .rating span { color: var(--muted); font-weight: 500; }
.lcard .price { font-weight: 700; font-size: 15px; margin-left: auto; }
.lcard .price small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.lcard .status-badge {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0;
  font-size: 12.5px; font-weight: 800; color: var(--body);
}
.lcard .status-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(118,133,145,.15);
}
.lcard .status-badge.is-open { color: #1f8a52; }
.lcard .status-badge.is-open::before { background: #1f8a52; box-shadow: 0 0 0 3px rgba(31,138,82,.16); }
.lcard .status-badge.is-soon { color: var(--coral-deep); }
.lcard .status-badge.is-soon::before { background: var(--coral); box-shadow: 0 0 0 3px rgba(229,80,58,.16); }
.lcard .status-badge.is-closed { color: var(--muted); }

.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center; transition: .2s; }
.rail-nav button:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.rail-nav button svg { width: 18px; height: 18px; }
@media (min-width: 1100px){ .rail-nav { display: none; } }

.alt-bg { background: var(--sand-2); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.cta-band .cph { position: absolute; inset: 0; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(10,30,43,.92), rgba(15,42,59,.7) 60%, rgba(197,63,43,.6)); }
.cta-inner { padding-block: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-inner h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -.02em; }
.cta-inner p { margin-top: 16px; font-size: 18px; color: rgba(255,255,255,.9); max-width: 48ch; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-actions .btn { width: 100%; padding-block: 16px; font-size: 16px; }
.cta-actions .note { font-size: 13.5px; color: rgba(255,255,255,.75); text-align: center; }
@media (max-width: 820px){ .cta-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   BLOG
   ============================================================ */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: .26s;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post .media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .media img { transform: scale(1.05); }
.post .spons { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(15,42,59,.85); color: #fff; padding: 5px 11px; border-radius: var(--pill); }
.post .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post .date { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.post .date svg { width: 14px; height: 14px; }
.post h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; margin-top: 11px; letter-spacing: -.01em; }
.post p { font-size: 14.5px; color: var(--body); margin-top: 11px; flex: 1; }
.post .read { margin-top: 16px; }
@media (max-width: 900px){ .posts-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-2); color: #aebcc6; padding-top: clamp(56px, 7vw, 84px); }
.footer .ftop { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .fbrand .brand .bt b { color: #fff; }
.footer .fbrand p { margin-top: 18px; font-size: 14.5px; line-height: 1.7; max-width: 34ch; }
.footer .fsoc { display: flex; gap: 10px; margin-top: 22px; }
.footer .fsoc { flex-wrap: wrap; max-width: 100%; overflow: hidden; }
.footer .fsoc a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: .2s; }
.footer .fsoc a:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.footer .fsoc svg { width: 17px; height: 17px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .03em; margin-bottom: 18px; }
.footer .fcol a { display: block; padding: 7px 0; font-size: 14.5px; transition: .18s; }
.footer .fcol a:hover { color: #fff; padding-left: 5px; }
.footer .fcontact .ci { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14.5px; }
.footer .fcontact .ci svg { width: 18px; height: 18px; color: var(--coral); flex-shrink: 0; margin-top: 2px; }
.footer .fnews { margin-top: 18px; }
.footer .fnews form { display: flex; gap: 8px; margin-top: 12px; }
.footer .fnews input { flex: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--pill); padding: 11px 16px; color: #fff; font-size: 14px; }
.footer .fnews input::placeholder { color: #7d8d98; }
.footer .fnews button { width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: .2s; }
.footer .fnews button:hover { background: var(--coral-deep); }
.footer .fbot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 26px; font-size: 13.5px; flex-wrap: wrap; }
.footer .fbot .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer .fbot a:hover { color: #fff; }
@media (max-width: 940px){ .footer .ftop { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px){ .footer .ftop { grid-template-columns: 1fr; } }

/* reveal: content is always visible; gentle entrance only where motion ticks */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .anim-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .anim-ready .reveal.in { opacity: 1; transform: none; }
}

/* Third-party chat widgets can inject off-canvas wrappers wider than the viewport. */
[id*="puriot" i],
[class*="puriot" i],
[id*="puroit" i],
[class*="puroit" i],
[id*="chat" i][style*="position: fixed"],
[class*="chat" i][style*="position: fixed"],
iframe[src*="puriot" i],
iframe[src*="puroit" i] {
  max-width: calc(100vw - 24px) !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  [id*="puriot" i],
  [class*="puriot" i],
  [id*="puroit" i],
  [class*="puroit" i],
  iframe[src*="puriot" i],
  iframe[src*="puroit" i] {
    right: max(12px, env(safe-area-inset-right)) !important;
    left: auto !important;
  }
}
