:root {
  --ink: #15201c;
  --muted: #5a6b63;
  --line: #e6e9e4;
  --paper: #ffffff;
  --soft: #f6f8f4;
  --accent: #0f8b6f;
  --accent-dark: #0a6c55;
  --accent-soft: #e7f4ef;
  --sun: #f3b44b;
  --sea: #1d75a8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(20, 40, 30, 0.06);
  --shadow: 0 14px 40px rgba(20, 40, 30, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 40, 30, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3,
.listing-title,
.owner-form-heading h3,
.seo-page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.4px;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(16px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  box-shadow: var(--shadow-sm);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 139, 111, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.header-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 139, 111, 0.36);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-field {
  display: grid;
  gap: 4px;
  min-width: 128px;
}

.language-field label {
  color: var(--muted);
  font-size: 12px;
}

.language-field select {
  min-height: 34px;
  padding: 6px 10px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px) 14px;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg, rgba(8, 25, 20, 0.82), rgba(8, 25, 20, 0.34) 62%, rgba(8, 25, 20, 0.14)),
    radial-gradient(circle at 15% 20%, rgba(15, 139, 111, 0.55), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(10, 108, 85, 0.55), transparent 50%),
    linear-gradient(135deg, var(--accent-dark), #08281f 60%, #05140f);
  background-size: 100% 100%, 140% 140%, 140% 140%, 100% 100%;
  background-position: center, 0% 0%, 100% 100%, center;
  transform: scale(1.04);
  animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  to { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-width: 1120px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(243, 180, 75, 0.18);
  color: var(--sun);
  letter-spacing: 0.6px;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.5px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.4px;
}

.hero-copy {
  max-width: 620px;
  margin: 8px 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.hero-note {
  max-width: 620px;
  margin: -4px 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.value-message {
  display: grid;
  max-width: 760px;
  gap: 4px;
  margin: 0 0 14px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(10, 26, 22, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

.value-message strong {
  font-size: 18px;
  line-height: 1.25;
}

.value-message span,
.value-message small {
  color: rgba(255, 255, 255, 0.88);
}

.value-message small {
  font-size: 12.5px;
  font-weight: 800;
}

.primary-action,
.submit-button,
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 139, 111, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.primary-action:hover,
.submit-button:hover,
.whatsapp-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 139, 111, 0.32);
}

.whatsapp-button-disabled,
.whatsapp-button-disabled:hover {
  color: #667085;
  background: #e4e7ec;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* CTA "Rivendica questa struttura" per schede IMPORTED_UNCLAIMED: e un link
   attivo verso /rivendica-struttura/, chiaramente distinto dal grigio dei
   contatti bloccati. */
.claim-listing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent, #0f8b6f);
  border-radius: 999px;
  color: var(--accent-dark, #0b6e58);
  background: #e9f7f2;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.claim-listing-button:hover {
  background: var(--accent, #0f8b6f);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 139, 111, 0.24);
}
.claim-listing-button:focus-visible {
  outline: 2px solid var(--accent, #0f8b6f);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #344054;
  border-radius: 8px;
  color: #344054;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.price-on-request {
  color: #475467;
  font-size: 15px;
}

.province-section {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 30px;
  align-items: start;
}

.province-section[hidden] {
  display: none;
}

.province-copy p {
  color: #475467;
  line-height: 1.7;
}

.province-copy {
  min-width: 0;
}

.province-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.locality-details {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.locality-details article {
  background: #fff;
  border: 1px solid #d6dbe6;
  border-radius: 8px;
  padding: 16px;
}

.locality-details-full {
  grid-template-columns: 1fr;
}

.locality-details-full article {
  max-width: 760px;
}

.locality-details h3 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.locality-details ul {
  color: #475467;
  line-height: 1.55;
  margin: 0;
  padding-left: 18px;
}

.locality-details p {
  margin: 0 0 12px;
  color: #475467;
  line-height: 1.55;
}

.detail-link {
  color: #0f8b6f;
  font-weight: 800;
  text-decoration: none;
}

.premium-box {
  position: sticky;
  top: 18px;
  padding: 18px;
  background: #101828;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.18);
}

.premium-box h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.premium-box p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.premium-listing {
  padding: 12px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.premium-listing strong {
  display: block;
  margin-bottom: 4px;
}

.premium-box a {
  color: #fff;
  font-weight: 800;
}

.province-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.province-gallery figure {
  margin: 0;
  min-width: 0;
}

.province-gallery figure:first-child {
  grid-row: auto;
}

.province-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.province-gallery a {
  color: #475467;
  font-size: 12px;
}

@media (max-width: 800px) {
  .province-section {
    grid-template-columns: 1fr;
  }

  .premium-box {
    position: static;
  }

  .locality-details {
    grid-template-columns: 1fr;
  }

}

.search-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(118px, 1fr)) repeat(2, minmax(158px, 0.8fr)) minmax(78px, 0.5fr) minmax(96px, auto);
  gap: 8px 10px;
  width: 100%;
  max-width: 1120px;
  margin: 12px 0 0;
  padding: 10px;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero .search-band { color: var(--ink); }
.search-band .field { min-width: 0; display: grid; gap: 4px; }
.search-band label { color: #344054; font-size: 11px; font-weight: 800; line-height: 1.1; }
.search-band select,
.search-band input {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.search-submit {
  grid-column: -2 / -1;
  grid-row: 1;
  align-self: end;
  min-height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-submit:hover {
  background: var(--accent-dark);
}
.search-band.is-loading { opacity: 0.72; pointer-events: none; }
.search-error { grid-column: 1 / -1; margin: 0; color: #b42318; font-weight: 800; }

.promise-band {
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 0 clamp(18px, 4vw, 28px);
}

.promise-band p {
  margin: 0;
  padding: 16px 20px;
  color: #5a4a1e;
  background: #fff7e6;
  border: 1px solid #f3d49c;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.coverage-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 0 clamp(18px, 4vw, 28px);
}

.coverage-strip span,
.coverage-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.coverage-strip span {
  color: #475467;
}

.coverage-strip a {
  color: #173f3a;
  background: #fff;
  border: 1px solid #d6dbe6;
  box-shadow: var(--shadow-sm);
}

.route-page[hidden] {
  display: none;
}

.routed-section[hidden] {
  display: none;
}

.route-page > p {
  max-width: 920px;
  color: #475467;
  line-height: 1.75;
}

.route-detail {
  display: none;
}

.routed-section.is-route-view .route-detail {
  display: grid;
}

.routed-section.is-route-view .home-summary-link {
  display: none;
}

.content-columns,
.contact-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.content-columns > div,
.contact-options > div {
  padding: 18px 0;
  border-top: 3px solid #0f8b6f;
}

.content-columns h3,
.content-columns p,
.contact-options strong,
.contact-options span {
  margin: 0;
}

.content-columns p,
.contact-options span {
  display: block;
  margin-top: 8px;
  color: #475467;
  line-height: 1.6;
}

.process-list {
  gap: 0;
  max-width: 860px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 62px;
  padding: 4px 0 22px 56px;
  color: #475467;
  line-height: 1.6;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: #0f8b6f;
  border-radius: 50%;
  font-weight: 900;
}

.legal-detail {
  gap: 8px;
  max-width: 900px;
  margin-top: 24px;
}

.legal-detail h3,
.legal-detail p {
  margin: 0;
}

.legal-detail h3 {
  margin-top: 16px;
}

.legal-detail p {
  color: #475467;
  line-height: 1.65;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 18px;
  color: #08745d;
  font-weight: 900;
  text-decoration: none;
}

.section-link::after {
  content: "\2192";
  margin-left: 8px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.route-grid article {
  padding: 18px;
  background: #fff;
  border: 1px solid #d6dbe6;
  border-radius: 8px;
}

.route-grid h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.route-grid p {
  margin: 0;
  color: #475467;
  line-height: 1.6;
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-journey-strip {
  padding-top: 0;
}

.home-journey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-journey-grid article {
  padding: 22px;
  background: linear-gradient(180deg, #f8fbfa 0%, #eef6f4 100%);
  border: 1px solid #d6e4df;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(23, 63, 58, 0.06);
}

.home-journey-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #0f6b5d;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-journey-grid h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.home-journey-grid p {
  margin: 0;
  color: #475467;
  line-height: 1.65;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #1d2939;
  background: #fff;
  border: 1px solid #c8ced8;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 86px) clamp(18px, 4vw, 28px);
}

#case {
  padding-top: 18px;
  padding-bottom: 34px;
}

.home-spots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.home-spot {
  display: grid;
  min-height: 178px;
  padding: 24px;
  color: #1d2939;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid #0f8b6f;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-spot-premium {
  border-top-color: #d48a16;
}

.home-spot-pro {
  border-top-color: #2563a8;
}

.home-spot span {
  color: #08745d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-spot strong {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.home-spot small {
  align-self: end;
  margin-top: 16px;
  color: #475467;
  font-size: 14px;
  line-height: 1.5;
}

.home-spot:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.seo-directory { padding-top: 42px; }
.seo-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.seo-directory-grid nav { display: grid; align-content: start; gap: 10px; padding-top: 16px; border-top: 3px solid #0f8b6f; }
.seo-directory-grid h3 { margin: 0 0 8px; }
.seo-directory-grid a { color: #344054; font-weight: 750; text-decoration: none; }
.seo-directory-grid a:hover { color: #08745d; text-decoration: underline; }
.seo-directory-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.seo-directory-actions a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 15px; color: #08745d; background: #fff; border: 1px solid #b8ded3; border-radius: 8px; font-weight: 900; text-decoration: none; }

.cvo-national-directory { background: #f8fbfa; }
.cvo-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cvo-region-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d6dbe6;
  border-radius: 8px;
}
.cvo-region-card h3,
.cvo-region-card p { margin: 0; }
.cvo-region-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cvo-region-card a,
.cvo-link-cloud a {
  color: #08745d;
  font-weight: 800;
  text-decoration: none;
}
.cvo-region-card a:hover,
.cvo-link-cloud a:hover { text-decoration: underline; }
.cvo-region-card span,
.cvo-link-cloud span {
  color: #667085;
  font-size: 13px;
  font-weight: 650;
}
.cvo-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cvo-link-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid #d6dbe6;
  border-radius: 8px;
}
.cvo-city-cloud {
  max-height: 420px;
  overflow: auto;
}

.editorial-meta-block {
  border-left: 4px solid rgba(15, 139, 111, 0.32);
}

.editorial-meta {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}

.editorial-meta div {
  display: grid;
  gap: 0.25rem;
}

.editorial-meta dt {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.editorial-meta dd {
  margin: 0;
}

.editorial-source-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.editorial-source-list li span {
  color: #667085;
  display: block;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.slave-editorial-home {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 248, 0.96));
}

.slave-faq {
  margin-top: 1.25rem;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.network-portal {
  display: grid;
  gap: 12px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid #d8e3df;
  border-radius: 8px;
  background: #fff;
}

.network-portal h2 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.2;
}

.network-portal h2 a,
.network-url {
  color: #08745d;
  font-weight: 850;
  text-decoration: none;
}

.network-portal h2 a:hover,
.network-url:hover {
  text-decoration: underline;
}

.network-portal p {
  margin: 0;
  color: #475467;
}

.network-portal.is-current {
  border-color: #0f8b6f;
  box-shadow: inset 0 0 0 2px rgba(15, 139, 111, 0.12);
}

.current-domain {
  display: inline-flex;
  width: max-content;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e7f5ef;
  color: #08624f;
  font-weight: 850;
}
.listing-title a { color: inherit; text-decoration: none; }

.destination-field {
  position: relative;
  min-width: min(100%, 260px);
}

.destination-field input[type="search"] {
  width: 100%;
}

.destination-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  max-height: 290px;
  overflow: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.destination-suggestions[hidden] {
  display: none;
}

.destination-suggestions button {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.destination-suggestions button:hover,
.destination-suggestions button[aria-selected="true"] {
  background: var(--soft);
}

.destination-suggestions span {
  font-weight: 850;
}

.destination-suggestions small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.result-count {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.listing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.home-listing-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.home-listing-more[hidden] {
  display: none;
}

.home-ad-banner {
  max-width: 1180px;
  margin: 24px auto 8px;
  padding: 0 clamp(18px, 4vw, 28px);
}

.home-ad-banner a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow-sm);
}

.home-ad-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 260;
  height: auto;
  object-fit: cover;
}

.listing-card {
  display: grid;
  grid-template-columns: minmax(280px, 36%) minmax(0, 1fr);
  min-height: 220px;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card-demo-alert {
  cursor: pointer;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.listing-image-wrap {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.listing-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 290px;
  object-fit: cover;
  display: block;
  background: #d7e1e8;
  transition: transform 0.5s ease;
}

.listing-card:hover .listing-image-wrap img {
  transform: scale(1.05);
}

.photo-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 28px);
  padding: 7px 13px;
  color: #fff;
  background: rgba(15, 139, 111, 0.95);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.photo-badge::before {
  content: "\2713";
  display: inline-grid;
  width: 17px;
  height: 17px;
  margin-right: 6px;
  place-items: center;
  color: var(--accent-dark);
  background: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}


.photo-badge.demo-card-badge {
  background: rgba(52, 64, 84, 0.96);
  color: #fff;
  letter-spacing: 0.08em;
}

.photo-badge.demo-card-badge::before {
  content: "D";
  color: #344054;
  background: #fff;
}

.listing-badges span.demo-badge {
  color: #344054;
  background: #f2f4f7;
  border-color: #d0d5dd;
}

.photo-badge.premium-card-badge {
  background: rgba(243, 180, 75, 0.96);
  color: #4a3408;
}

.photo-badge.premium-card-badge::before {
  content: "\2605";
  color: var(--sun);
  background: #4a3408;
}

.listing-body {
  display: grid;
  height: 100%;
  align-content: start;
  gap: 8px;
  padding: 16px 18px;
}

.availability-line { margin: 0; color: #475467; font-size: 14px; font-weight: 800; }
.availability-line.is-available { color: #08745d; }
.demo-listing-disclaimer {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #f8fafc;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}
.availability-freshness { margin: -6px 0 0; color: #667085; font-size: 12px; }

.listing-title {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.listing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.listing-badges span {
  padding: 4px 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid #cce6dd;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.listing-description {
  margin: 0;
  color: #475467;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.listing-service-chips {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-service-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: #344054;
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.price {
  font-size: 21px;
  font-weight: 800;
  font-family: var(--font-display);
}

.price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
}

.price-row {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price-row-demo {
  justify-content: flex-end;
}

.area-alert-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.area-alert-modal[hidden] {
  display: none !important;
}

.area-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 32, 28, 0.58);
}

.area-alert-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(480px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.area-alert-dialog h2,
.area-alert-dialog p {
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.area-alert-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: flex-start;
  gap: 10px;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.area-alert-consent input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--accent);
}

.area-alert-consent span {
  min-width: 0;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

body.modal-open {
  overflow: hidden;
}

.listing-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.listing-inline-note {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.listing-inline-action {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px 22px;
  text-align: center;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  color: #101828;
  font-size: 20px;
}

.empty-state p {
  max-width: 640px;
  margin: 10px auto 0;
  line-height: 1.65;
}

.empty-state a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-dark);
  font-weight: 800;
}

.support-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.support-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.support-card {
  display: grid;
  gap: 8px;
  min-width: 260px;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(28, 39, 62, 0.08);
}

.support-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
}

.support-card:hover strong {
  background: var(--accent-dark);
}

.professionals-section {
  border-top: 1px solid var(--line);
}

.professionals-copy {
  max-width: 760px;
  margin-top: -8px;
  color: var(--muted);
}

.professional-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.professional-tags span {
  padding: 9px 12px;
  color: #344054;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.owner-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.form-intro p:not(.eyebrow) {
  color: var(--muted);
  max-width: 420px;
}

.owner-panel {
  display: grid;
  gap: 18px;
}

.owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.owner-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--accent-dark);
  background: #e8f5f1;
  border: 1px solid #b8ded3;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.owner-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.owner-service-grid article {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.owner-service-grid h3,
.owner-service-grid p {
  margin: 0;
}

.owner-service-grid h3 {
  font-size: 18px;
}

.owner-service-grid p {
  margin-top: 8px;
  color: var(--muted);
}

.listing-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(28, 39, 62, 0.08);
}

.owner-form-heading {
  display: grid;
  gap: 6px;
  padding-bottom: 4px;
}

.owner-form-heading h3,
.owner-form-heading p {
  margin: 0;
}

.owner-form-heading h3 {
  font-size: 24px;
}

.owner-form-heading p {
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field small {
  color: var(--muted);
  line-height: 1.45;
}

.form-fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-fieldset legend {
  padding: 0 8px;
  color: #344054;
  font-weight: 800;
}

.wizard-step-heading {
  margin: 0 0 18px;
}

.wizard-step-heading > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wizard-step-heading h4 {
  margin: 5px 0 6px;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(25px, 3vw, 34px);
}

.wizard-step-heading p {
  margin: 0;
  color: var(--muted);
}

.verification-placeholder {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px dashed #b87914;
  border-radius: 8px;
  background: #fff8e8;
  color: #6d4608;
  font-size: 14px;
  line-height: 1.45;
}

.registration-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  line-height: 1.45;
}

.registration-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.listing-wizard-page { display: grid; gap: 18px; }
.listing-wizard-page[hidden] { display: none; }
.wizard-navigation { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; }
.wizard-navigation .secondary-action { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; }
.wizard-navigation .submit-button { width: auto; margin-left: auto; }
.quick-mode-panel { padding: 14px 16px; background: #f6fbf9; border: 1px solid #c8d8d4; border-radius: 8px; }
.quick-mode-panel label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 0; cursor: pointer; }
.quick-mode-panel input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.quick-mode-panel strong, .quick-mode-panel small { display: block; }
.quick-mode-panel small { margin-top: 3px; color: var(--muted); line-height: 1.45; }
.requirement-badge { display: inline-flex; margin-left: 8px; padding: 3px 7px; border-radius: 999px; font-size: 11px; font-weight: 900; vertical-align: middle; }
.requirement-badge.is-required { color: #8a2c0d; background: #fff2dd; border: 1px solid #f3c37a; }
.requirement-badge.is-optional { color: #475467; background: #eef2f6; border: 1px solid #d0d5dd; }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.amenities-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.amenities-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.bed-detail-grid, .room-detail-grid, .room-checkbox-grid, .service-catalog > section > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.bed-detail-grid label, .room-detail-grid label { display: grid; grid-template-columns: 1fr 78px; align-items: center; gap: 10px; font-weight: 600; }
.room-organization { display: grid; gap: 14px; }
.room-detail-card { border: 1px solid var(--border); border-radius: 8px; padding: 14px; background: #fff; }
.room-detail-card h5 { margin: 0 0 12px; color: var(--ink); font-size: 15px; }
.room-checkbox-grid label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.room-checkbox-grid input { width: 14px; height: 14px; accent-color: var(--accent); }
.service-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.service-filters button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.service-filters button.is-active { border-color: var(--accent); background: #effaf7; color: var(--accent); font-weight: 800; }
.search-band .commercial-filter-group { grid-column: 1 / -1; grid-row: 2; display: block; min-width: 0; margin: 0; padding: 2px 4px 0; border: 0; background: transparent; overflow: hidden; line-height: 1; }
.search-band .commercial-filter-group legend { float: left; padding: 5px 2px 0 0; margin: 0 8px 0 0; color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1.2; }
.search-band .commercial-filter-group label { display: inline-flex; align-items: center; gap: 5px; width: auto; min-height: 24px; margin: 0 8px 4px 0; padding: 3px 8px; border: 1px solid #d6dbe6; border-radius: 999px; background: #f8faf9; font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--ink); white-space: nowrap; vertical-align: middle; }
.search-band .commercial-filter-group input { width: 13px; min-width: 13px; height: 13px; min-height: 13px; margin: 0; accent-color: var(--accent); }
.service-catalog { display: grid; gap: 18px; }
.service-catalog h5 { margin: 0 0 10px; color: var(--ink); font-size: 15px; }
.service-catalog label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.service-catalog input { width: 14px; height: 14px; accent-color: var(--accent); }
.cleaning-fieldset { gap: 12px; }
.cleaning-card { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.cleaning-card summary { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px; cursor: pointer; list-style: none; }
.cleaning-card summary::-webkit-details-marker { display: none; }
.cleaning-card summary strong { display: block; color: var(--ink); }
.cleaning-card summary small { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; }
.cleaning-card summary em { justify-self: end; border-radius: 999px; padding: 5px 9px; background: #fff7ed; color: #9a3412; font-size: 12px; font-style: normal; font-weight: 800; }
.cleaning-card summary em.is-ready { background: #ecfdf5; color: #047857; }
.cleaning-card[open] { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06); }
.cleaning-card > :not(summary) { margin: 0 14px 14px; }
.card-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: #effaf7; color: var(--accent); font-weight: 900; }
.radio-card-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.radio-card-group label, .switch-row { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fbfdfc; font-weight: 700; }
.radio-card-group input, .switch-row input { width: 16px; height: 16px; accent-color: var(--accent); }
.conditional-fields[hidden] { display: none; }
.conditional-fields { display: grid; gap: 10px; }
.linen-panel { display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfdfc; }
.linen-panel select, .linen-panel input { width: 100%; }

@media (max-width: 620px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  .bed-detail-grid, .room-detail-grid, .room-checkbox-grid, .service-catalog > section > div { grid-template-columns: 1fr; }
  .cleaning-card summary { grid-template-columns: 30px 1fr; }
  .cleaning-card summary em { grid-column: 2; justify-self: start; }
  .radio-card-group { grid-template-columns: 1fr; }
}

.optional-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.field-hint {
  margin: -4px 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.consent-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.consent-box label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #344054;
  font-size: 13px;
  line-height: 1.45;
}

.consent-box input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

label {
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d3dbd5;
  border-radius: var(--radius-sm);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 139, 111, 0.18);
  border-color: var(--accent);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 800;
}

.form-message.is-error {
  color: #b42318;
}

[aria-invalid="true"] {
  border-color: #b42318;
  outline: 3px solid rgba(180, 35, 24, 0.14);
}

.listing-photo-preview {
  width: min(100%, 420px);
  max-height: 260px;
  margin-top: 4px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.help-whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 16px;
  color: #fff;
  background: #16803c;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(22, 128, 60, 0.32);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.help-whatsapp-fab .fab-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.help-whatsapp-fab .fab-text {
  display: grid;
  gap: 2px;
}

.help-whatsapp-fab .fab-text span {
  font-size: 12px;
  font-weight: 700;
}

.help-whatsapp-fab:hover {
  color: #fff;
  background: #0f6b31;
  transform: translateY(-2px);
}

.footer {
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #eaf0f6;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 14px;
}

.footer a {
  color: #344054;
  font-weight: 800;
  text-decoration: none;
}

/* Su ogni pagina seo-route, nascondi tutte le sezioni home tranne il
 * contenuto editoriale (#seoPage). L'hero (che contiene il motore di
 * ricerca) e escluso da questa regola generale: la sua visibilita e
 * decisa esplicitamente sotto, come band compatta riutilizzabile.
 *
 * MOTORE DI RICERCA SULLE SOTTOPAGINE: il motore e lo stesso della homepage
 * (nessun secondo motore). L'hero viene mostrato in forma compatta su TUTTE
 * le pagine seo-route (destinazioni, temi, informative, sicurezza) cosi'
 * l'utente che entra da Google non deve tornare in homepage per cercare una
 * struttura. E' nascosto solo sulle pagine di conversione host (pubblicazione
 * annuncio / guida pubblicazione / proprietari), dove la ricerca e fuori
 * contesto. Eyebrow, titolo e messaggi marketing dell'hero non vengono
 * duplicati perche nascondiamo tutto tranne la band di ricerca. */
.seo-route main > section:not(#seoPage):not(.hero) { display: none !important; }
.seo-route .hero { display: block; }
.seo-route .hero > .hero-content > .eyebrow,
.seo-route .hero > .hero-content > h1,
.seo-route .hero .value-message,
.seo-route .hero .hero-note { display: none; }
/* Nel markup #seoPage e inserito come primo figlio di <main>, prima
 * dell'hero. Il motore deve comparire in alto: riordiniamo solo visivamente
 * con order, senza spostare i nodi nel DOM (nessuna riscrittura del punto
 * di inserimento lato PHP). */
.seo-route main {
  display: flex;
  flex-direction: column;
}
/* min-width:0 evita che i figli flex si allarghino oltre il contenitore
 * (comportamento predefinito min-width:auto di flexbox), causando overflow
 * orizzontale su mobile con testo lungo (breadcrumb, titoli). */
.seo-route .hero,
.seo-route #seoPage {
  min-width: 0;
  width: 100%;
}
.seo-route .hero { order: -1; }
.seo-route #seoPage { order: 0; }
/* Pagine di conversione host: il motore resta nascosto (off-context). */
body.page-type-owner-guide.seo-route .hero,
body.page-type-owner-conversion.seo-route .hero { display: none; }
/* Dopo una ricerca avviata direttamente da una sottopagina, i risultati
 * (sezione #case) diventano visibili sotto il contenuto editoriale. */
body.seo-route.search-results-active main > section#case { display: block !important; }
.owner-publish-page main {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px) clamp(18px, 4vw, 28px) 80px;
}

.owner-publish-page .topbar {
  flex-wrap: wrap;
}

.owner-publish-page .header-actions,
.owner-publish-page .nav {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.owner-publish-page .owner-publish-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border-top: 0;
  min-width: 0;
}

.owner-publish-page .owner-panel,
.owner-publish-page .listing-form {
  min-width: 0;
  width: 100%;
}

.owner-publish-page .wizard-step,
.owner-publish-page .form-fieldset,
.owner-publish-page .field {
  min-width: 0;
}

.owner-publish-page .owner-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.owner-process-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.owner-process-summary article {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.owner-process-summary strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.owner-process-summary p {
  margin: 0;
  color: var(--muted);
}

.owner-trust-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 30px);
  background: linear-gradient(180deg, var(--paper) 0%, var(--soft) 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.owner-trust-heading h1 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.owner-trust-heading p,
.owner-trust-note,
.owner-inline-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.owner-info-grid,
.owner-inline-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.owner-info-card,
.owner-inline-notes article {
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.owner-info-card strong,
.owner-inline-notes strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.owner-inline-notes {
  margin-top: 4px;
}

.owner-flow-note {
  margin: 6px 0 0;
  color: #b42318;
  font-weight: 700;
}

.owner-trust-note a {
  color: #0f6b5d;
  font-weight: 700;
}

.static-page-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px) clamp(18px, 4vw, 28px) 80px;
}

.static-page-panel {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 30px);
  background: linear-gradient(180deg, #fbfcfc 0%, #f3f7f6 100%);
  border: 1px solid #d6e4df;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(23, 63, 58, 0.08);
}

.static-page-panel h1,
.static-page-panel h2,
.static-page-panel h3 {
  margin: 0;
}

.static-page-panel p,
.static-page-panel li {
  color: #475467;
  line-height: 1.7;
}

.static-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.static-page-card {
  padding: 18px;
  background: #fff;
  border: 1px solid #d6e4df;
  border-radius: 12px;
}

.static-page-list {
  margin: 0;
  padding-left: 20px;
}

.notice-box {
  padding: 16px 18px;
  color: #7a2e0b;
  background: #fff2dd;
  border: 1px solid #f3c37a;
  border-radius: 12px;
  font-weight: 700;
}

.faq-stack {
  display: grid;
  gap: 18px;
}

.faq-block {
  padding: 20px;
  background: #fff;
  border: 1px solid #d6e4df;
  border-radius: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 16px 18px;
  background: #f8fbfa;
  border: 1px solid #dce7e2;
  border-radius: 12px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
}
.seo-page { max-width: 1180px; margin: 0 auto; padding: 18px clamp(18px, 4vw, 28px) 72px; }
.seo-breadcrumb { margin-bottom: 34px; overflow-x: auto; }
.seo-breadcrumb ol { display: flex; align-items: center; gap: 8px; min-width: max-content; margin: 0; padding: 0; list-style: none; color: #667085; font-size: 13px; }
.seo-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #98a2b3; }
.seo-breadcrumb a { color: #475467; }
.seo-page-hero { max-width: 900px; padding: clamp(18px, 4vw, 38px) 0; }
.seo-page-hero h1 { max-width: 880px; margin: 6px 0 12px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: 0; }
.seo-page-hero > p:not(.eyebrow) { max-width: 760px; margin: 0; color: #475467; font-size: 18px; line-height: 1.55; }
.seo-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.seo-content-block { padding: 42px 0; border-top: 1px solid #d6dbe6; }
.seo-content-block > h2, .seo-related > h2, .seo-owner-cta h2 { max-width: 760px; margin: 0 0 16px; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: 0; }
.seo-poi-list { display: grid; gap: 16px; max-width: 850px; margin: 20px 0 0; padding: 0; list-style: none; }
.seo-poi-item { padding: 18px; background: #fff; border: 1px solid #d6dbe6; border-radius: 8px; }
.seo-poi-item p { margin: 8px 0 0; color: #475467; line-height: 1.65; }
.seo-poi-distance { font-size: 14px; color: #667085 !important; }
.seo-locality-distances p { max-width: 850px; margin: 0 0 10px; color: #475467; line-height: 1.65; }
.territory-home { max-width: 1180px; margin: 0 auto; padding: 56px clamp(18px, 4vw, 28px); }
.territory-section { position: relative; }
.territory-section > h2 { color: #173f3a; }
.territory-poi-list, .territory-distance-list { display: grid; gap: 14px; max-width: 920px; margin: 20px 0 0; padding: 0; list-style: none; }
.territory-poi-item { border-color: #c8d8d4; box-shadow: 0 14px 36px rgba(23, 74, 67, 0.08); }
.territory-poi-item a { color: #0f6b5d; text-decoration: none; }
.territory-poi-item a:hover { text-decoration: underline; }
.territory-distance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.territory-distance-list li { padding: 16px 18px; color: #475467; background: #f6fbf9; border: 1px solid #c8d8d4; border-radius: 12px; line-height: 1.55; }
.territory-note { max-width: 850px; margin: 16px 0 0; color: #667085; font-size: 14px; line-height: 1.6; }
.photo-status-badge { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; color: #533f03; background: #fff4c2; border: 1px solid #f1cf65; border-radius: 999px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; }
.photo-status-real_local_photo_ok { color: #075e4f; background: #dff8ef; border-color: #8bd8c5; }
@media (max-width: 720px) { .territory-home { padding-top: 38px; padding-bottom: 38px; } .territory-distance-list { grid-template-columns: 1fr; } }
.seo-content-block > p { max-width: 850px; margin: 0; color: #475467; font-size: 17px; line-height: 1.75; }
.seo-listing-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 16px; }
.seo-listing-card { display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); min-height: 210px; overflow: hidden; background: #fff; border: 1px solid #d6dbe6; border-radius: 8px; box-shadow: 0 10px 28px rgba(28, 39, 62, 0.08); }
.seo-listing-card img { display: block; width: 100%; height: 100%; min-height: 210px; object-fit: cover; background: #e4e7ec; }
.seo-listing-card > div { display: grid; align-content: start; gap: 9px; padding: 18px 20px; }
.seo-listing-card h3, .seo-listing-card p { margin: 0; }
.seo-listing-card h3 { font-size: 22px; }
.seo-listing-card h3 a { color: #1d2939; text-decoration: none; }
.seo-listing-card p:not(.eyebrow) { color: #667085; }
.seo-listing-card .listing-badges { margin: 0; }
.seo-listing-card .listing-inline-action { justify-self: start; margin-top: 2px; }
.seo-empty { max-width: 820px; margin-top: 22px; padding: 24px; background: #fff; border: 1px dashed #98a2b3; border-radius: 8px; }
.seo-empty h3, .seo-empty p { margin: 0; }
.seo-empty p { margin-top: 8px; color: #475467; line-height: 1.6; }
.seo-empty a, .safety-link { display: inline-flex; margin-top: 14px; color: #08745d; font-weight: 900; }
.seo-owner-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; margin: 34px 0; padding: 28px; color: #fff; background: #174a43; border-radius: 8px; }
.seo-owner-cta h2, .seo-owner-cta p { margin-top: 0; color: #fff; }
.seo-owner-cta > a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; color: #1d2939; background: #f5d27a; border-radius: 8px; font-weight: 900; text-decoration: none; }
.seo-faq { max-width: 900px; }
.seo-faq details { padding: 18px 0; border-bottom: 1px solid #d6dbe6; }
.seo-faq summary { cursor: pointer; font-weight: 900; }
.seo-faq p { margin: 12px 0 0; color: #475467; line-height: 1.6; }
.seo-related { padding-top: 42px; border-top: 1px solid #d6dbe6; }
.seo-related ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.seo-related a { display: inline-flex; padding: 10px 12px; color: #344054; background: #fff; border: 1px solid #d6dbe6; border-radius: 8px; font-weight: 800; text-decoration: none; }
.listing-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(150px, 260px)); gap: 8px; overflow: hidden; margin-bottom: 34px; border-radius: 8px; }
.listing-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; background: #e4e7ec; }
.listing-gallery img:first-child { grid-row: 1 / 3; }
.listing-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.listing-detail-layout article > section { padding: 28px 0; border-top: 1px solid #d6dbe6; }
.listing-detail-layout h2 { margin: 0 0 14px; font-size: 28px; }
.listing-detail-layout p { color: #475467; line-height: 1.7; }
.listing-contact-panel { position: sticky; top: 18px; display: grid; gap: 14px; padding: 22px; background: #fff; border: 1px solid #d6dbe6; border-radius: 8px; box-shadow: 0 10px 26px rgba(28, 39, 62, 0.08); }
.listing-contact-panel p, .listing-contact-panel .safety-link { margin: 0; }
.listing-detail-price { font-size: 24px; }
.demo-contact-notice { display: grid; gap: 6px; width: 100%; padding: 14px 16px; color: #344054; background: #f8fafc; border: 1px solid #d6dbe6; border-radius: 8px; line-height: 1.5; }
.demo-contact-notice strong { color: #1d2939; }
.demo-contact-notice span { color: #475467; }
.demo-detail-notice { max-width: 760px; }
.listing-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.listing-facts div { padding: 14px; background: #f8fafc; border: 1px solid #e4e7ec; border-radius: 8px; }
.listing-facts dt { color: #667085; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.listing-facts dd { margin: 5px 0 0; font-weight: 900; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; padding-left: 20px; }
.listing-enquiry-form { display: grid; gap: 16px; max-width: 760px; padding: 22px; background: #fff; border: 1px solid #d6dbe6; border-radius: 8px; }
.listing-enquiry-form label { display: grid; gap: 7px; }
.listing-enquiry-form .consent-inline { grid-template-columns: 18px 1fr; align-items: start; font-size: 13px; line-height: 1.5; }
.listing-enquiry-form .consent-inline input { width: 18px; min-height: 18px; margin-top: 2px; }
.analytics-consent { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 900px; margin: 0 auto; padding: 16px; color: #fff; background: #101828; border: 1px solid #344054; border-top: 3px solid var(--accent); border-radius: var(--radius-sm); box-shadow: 0 16px 44px rgba(16, 24, 40, 0.3); }
.analytics-consent p { margin: 0; line-height: 1.5; }
.analytics-consent a { color: #f5d27a; }
.analytics-consent > div { display: flex; gap: 8px; }
.analytics-consent button { min-height: 40px; padding: 0 14px; border: 1px solid #667085; border-radius: 10px; color: #fff; background: #344054; font-weight: 900; cursor: pointer; }
.analytics-consent button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.analytics-consent button[data-consent-action="accept"] { color: var(--ink); background: var(--accent-soft); border-color: var(--accent); }
.analytics-consent-custom { align-items: flex-start; flex-direction: column; }
.analytics-consent-custom > div:first-child { display: grid; gap: 10px; }
.analytics-consent-custom p { margin: 0; }
.analytics-consent-custom label { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 700; }
.analytics-consent-custom > div:last-child { align-self: flex-end; }

.photo-credit-list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.photo-credit-list li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.photo-credit-list img { display: block; width: 160px; height: 120px; object-fit: cover; border-radius: 6px; }
.photo-credit-list div { display: grid; gap: 5px; min-width: 0; }
.photo-credit-list span { color: var(--muted); overflow-wrap: anywhere; }
.photo-credit-list a { color: var(--accent-dark); font-weight: 700; }

@media (max-width: 760px) {
  .listing-card,
  .seo-listing-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .listing-image-wrap {
    min-height: 0;
  }

  .listing-image-wrap img,
  .seo-listing-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

.search-band.has-type-filter {
  grid-template-columns: repeat(3, minmax(112px, 1fr)) repeat(2, minmax(118px, 0.8fr)) repeat(2, minmax(76px, 0.55fr)) minmax(96px, auto);
}

@media (max-width: 1100px) {
  .search-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .search-submit {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
  }

  .search-band .commercial-filter-group {
    grid-row: auto;
  }
}

@media (max-width: 900px) {
  .listing-grid,
  .support-section,
  .owner-section,
  .owner-service-grid,
  .owner-process-summary,
  .home-journey-grid,
  .owner-info-grid,
  .owner-inline-notes,
  .static-page-grid,
  .route-grid,
  .home-spots,
  .content-columns,
  .contact-options,
  .seo-listing-grid,
  .seo-owner-cta,
  .listing-detail-layout,
  .seo-directory-grid,
  .cvo-region-grid,
  .cvo-region-card ul,
  .network-grid {
    grid-template-columns: 1fr;
  }

  .search-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-submit { width: 100%; }

  .listing-contact-panel { position: static; }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .photo-credit-list li { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .photo-credit-list img { width: 96px; height: 72px; }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px;
  }

  .header-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .header-cta { justify-content: center; }

  .language-field {
    gap: 2px;
  }

  .language-field select,
  .header-cta {
    min-height: 36px;
  }

  .nav-toggle { display: grid; place-items: center; align-self: flex-end; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open { display: flex; }
  .header-actions > .nav:first-child { display: none; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }

  .hero {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero .eyebrow {
    margin-bottom: 8px;
    padding: 4px 10px;
    font-size: 11px;
  }

  .hero-copy {
    margin: 6px 0 10px;
    font-size: 14px;
    line-height: 1.45;
  }

  .search-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
  }

  .search-band .field:first-child,
  .search-submit {
    grid-column: 1 / -1;
  }

  .search-band select,
  .search-band input,
  .search-submit {
    min-height: 36px;
  }

  .search-band .commercial-filter-group {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  .search-band .commercial-filter-group legend {
    float: none;
    display: block;
    padding: 0;
    margin: 0 0 6px;
  }

  .search-band .commercial-filter-group label {
    justify-content: flex-start;
    white-space: normal;
  }

  .form-row,
  .price-row,
  .listing-cta-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .whatsapp-button {
    width: 100%;
  }

  .seo-page-hero h1 { font-size: 38px; }
  .seo-page-hero > p:not(.eyebrow) { font-size: 17px; }
  .seo-hero-actions > a { width: 100%; }
  .listing-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px; }
  .listing-gallery img:first-child { grid-column: 1 / 3; grid-row: auto; }
  .listing-whatsapp-sticky { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 50; width: auto; box-shadow: 0 10px 30px rgba(16, 24, 40, 0.25); }
  .listing-facts, .service-list { grid-template-columns: 1fr; }
  .analytics-consent { align-items: stretch; flex-direction: column; }
  .analytics-consent > div, .analytics-consent button { width: 100%; }
}

/* --- Toolbar ordinamento risultati --- */
.results-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sort-field { display: inline-flex; align-items: center; gap: 8px; }
.sort-field span { color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.sort-field select { min-height: 40px; width: auto; min-width: 180px; }

/* --- Separatore di sezione tra gruppi di risultati (stile Booking) --- */
.results-separator { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 10px 0 2px; color: #475467; }
.results-separator::before, .results-separator::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.results-separator span { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); white-space: nowrap; }

/* --- Card non disponibile: leggermente attenuata --- */
.listing-card-muted { opacity: 0.92; }
.availability-line.availability-unavailable { color: #b42318; font-weight: 700; }
.availability-line.availability-unavailable::before { content: "\2022"; margin-right: 6px; color: #b42318; }

/* --- METE POPOLARI: sezione inserita sotto le prime card della homepage --- */
.popular-destinations { grid-column: 1 / -1; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.popular-destinations-heading { display: grid; gap: 4px; margin-bottom: 14px; }
.popular-destinations-heading .eyebrow { margin: 0; }
.popular-destinations-heading h2 { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--ink); }
.popular-destinations-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.popular-destinations-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.popular-destination-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); text-decoration: none; min-height: 0; }
.popular-destination-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.popular-destination-meta { display: grid; gap: 2px; padding: 10px 12px; }
.popular-destination-meta strong { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.popular-destination-meta span { font-size: 13px; color: var(--muted); }
.popular-destination-card:hover img { transform: scale(1.02); }
.popular-destination-card img { transition: transform 0.25s ease; }
.popular-destination-card:hover { box-shadow: var(--shadow); }
.popular-destination-card:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

@media (max-width: 900px) {
  .popular-destinations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .popular-destinations-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --- Scegli in base alla posizione --- */
.position-choices { grid-column: 1 / -1; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.position-choices-heading { display: grid; gap: 4px; margin-bottom: 14px; }
.position-choices-heading h2 { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.2; color: var(--ink); }
.position-choices-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.position-choices-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.position-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  font: inherit;
}
.position-choice-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.position-choice-card:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.position-choice-card[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.position-choice-icon-wrap { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); }
.position-choice-icon { width: 22px; height: 22px; display: block; }
.position-choice-label { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); }
.position-choice-hint { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .position-choices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .position-choices-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .results-toolbar { width: 100%; justify-content: space-between; }
  .sort-field select { min-width: 0; }
}

/* ===== SISTEMA MULTI-TIPOLOGIA RICETTIVA =====
 *
 * MOTORE E LAYOUT COMUNI a tutte le tipologie (case vacanza, B&B, hotel,
 * ostelli, affittacamere, residence, guest house, agriturismi).
 * Le differenze passano solo da:
 *   - data-theme        -> famiglia grafica (colori, font, raggi, ombre)
 *   - data-portal-type  -> categoria e terminologia (gestita lato PHP/JS)
 *
 * portalType e theme sono SEPARATI: piu tipologie possono condividere la
 * stessa famiglia grafica. Vedi themes/portal-types.json e i branding.json
 * dentro ciascuna cartella tema.
 *
 * NON aggiungere qui layout, griglie o strutture specifiche di una tipologia.
 * ============================================================ */

/* --- Famiglia grafica: hospitality-warm ---
 * Rispecchia themes/hospitality-warm/theme.css. Sovrascrive SOLO le custom
 * properties: tutti i componenti che usano var(--accent), var(--soft), ecc.
 * seguono automaticamente, senza duplicare regole per componente. */
body[data-theme="hospitality-warm"] {
  --ink: #173b34;
  --muted: #61746c;
  --line: #dfe9e3;
  --paper: #ffffff;
  --soft: #f4f8f4;
  --accent: #16845f;
  --accent-dark: #0b5f47;
  --accent-soft: #e4f3eb;
  --sun: #f0b85a;
  --sea: #1f6f73;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(15, 70, 50, 0.08);
  --shadow: 0 14px 40px rgba(15, 70, 50, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 70, 50, 0.18);
}

.photo-badge.photo-badge-unverified {
  color: #3f2d09;
  background: rgba(255, 246, 214, 0.96);
  border: 1px solid rgba(137, 91, 8, 0.35);
}

.photo-badge.photo-badge-unverified::before {
  content: "i";
  color: #fff;
  background: #8a5b08;
}

.seo-listing-image,
.listing-gallery.has-unverified-image {
  position: relative;
}

.seo-listing-image .photo-badge,
.listing-gallery.has-unverified-image .photo-badge {
  z-index: 2;
}

/* Le uniche regole per componente ammesse: quelle con colori non derivabili
   dalle variabili (gradiente hero, footer scuro). Struttura invariata. */
[data-theme="hospitality-warm"] .topbar {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(15, 70, 50, 0.07);
}

[data-theme="hospitality-warm"] .hero {
  background:
    linear-gradient(90deg, rgba(7, 45, 36, 0.9) 0%, rgba(7, 45, 36, 0.64) 48%, rgba(7, 45, 36, 0.22) 82%, rgba(7, 45, 36, 0.08) 100%),
    url("/assets/demo-photos/demo-provincia-toscana-siena.webp") center 52% / cover no-repeat;
}

[data-theme="hospitality-warm"] .footer {
  background: #082d24;
  color: rgba(255, 255, 255, 0.82);
  border-top: 3px solid var(--accent);
}

[data-theme="hospitality-warm"] .footer a { color: #c8f1df; }
[data-theme="hospitality-warm"] .footer a:hover { color: #fff; }

/* B&B network visual refresh: shared structure, hospitality-warm identity. */
body[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] {
  background:
    linear-gradient(180deg, #f4f8f4 0%, #fff 46%, #f6faf7 100%);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .brand {
  color: var(--ink);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .brand-mark {
  background: var(--accent);
  border-radius: 14px 14px 14px 4px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .header-cta,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .primary-action,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .submit-button,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .whatsapp-button {
  box-shadow: 0 8px 20px rgba(22, 132, 95, 0.28);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .hero::before {
  content: none;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"]:not(.seo-route) .hero {
  min-height: 560px;
  align-items: center;
  padding: 52px clamp(18px, 4vw, 56px) 40px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .hero .eyebrow {
  padding: 0;
  background: transparent;
  color: #dff8eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .hero h1 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 700;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .hero-copy {
  max-width: 600px;
  margin: 18px 0 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.55;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .hero-note,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .value-message {
  display: none;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band {
  grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(128px, 0.75fr)) minmax(90px, 0.5fr) minmax(160px, 0.8fr) minmax(170px, auto);
  gap: 8px;
  border: 0;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 18px 50px rgba(7, 45, 36, 0.3);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band label,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band legend {
  color: var(--ink);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .commercial-filter-group {
  min-width: 0;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-submit {
  grid-column: -2 / -1;
  grid-row: 1;
  align-self: stretch;
  min-height: 48px;
  border-radius: 10px;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(22, 132, 95, 0.3);
  white-space: normal;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-submit:hover {
  background: var(--accent-dark);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .bnb-trust-row span {
  color: #fff;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] #case .section-heading h2,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-why-copy h2,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-dest-head h2 {
  font-size: clamp(30px, 4vw, 46px);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-all-listings,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-all-listings:hover,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-text-link:hover {
  text-decoration: underline;
}

body[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"]:not(.seo-route) .listing-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

body[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"]:not(.seo-route) .listing-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  border-radius: 16px;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

body[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"]:not(.seo-route) .listing-card .listing-image-wrap img {
  height: 210px;
  min-height: 0;
  max-height: 210px;
}

body[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"]:not(.seo-route) .listing-card .listing-body {
  padding: 16px 18px 18px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .bnb-why {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-why-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 6vw, 64px);
  align-items: start;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-why-copy .eyebrow.coral,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-dest-head .eyebrow.coral {
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.16em;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-why-lead,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-dest-sub {
  color: var(--muted);
  line-height: 1.6;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-why-benefits {
  display: grid;
  gap: 14px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-why-benefits > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-benefit-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-top: 3px solid var(--accent-dark);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-why-benefits b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-why-benefits small {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .bnb-dest-head {
  padding-top: 40px;
  padding-bottom: 0;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .bnb-destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 70px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-dest-card {
  position: relative;
  display: flex;
  min-height: 210px;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background-color: #0b3a2f;
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-dest-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-dest-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-dest-card > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .owner-cta-section {
  max-width: 1180px;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(135deg, #082d24 0%, #0b5f47 68%, #16845f 100%);
  border-radius: 18px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .owner-cta-section .eyebrow {
  color: #c8f1df;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .owner-cta-section h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 42px);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .owner-cta-section .form-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .owner-cta-section .owner-actions a {
  color: #fff;
  background: var(--accent);
  border-color: transparent;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .promise-band p {
  color: #24513f;
  background: #edf8f0;
  border-color: #cce8d6;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .home-spot,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .seo-directory-grid nav {
  border-top-color: var(--accent);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .home-spot span,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .seo-directory-actions a,
[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .seo-directory-grid a:hover {
  color: var(--accent-dark);
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .footer {
  padding-top: 38px;
  padding-bottom: 38px;
}

[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .footer .footer-legal-line a {
  color: #d8f7e8;
}

@media (max-width: 1060px) {
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-submit {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .bnb-destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .header-actions {
    flex-wrap: wrap;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .nav-toggle {
    display: grid;
    place-items: center;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .header-actions > .nav {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    gap: 0;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .header-actions > .nav.is-open {
    display: flex;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .header-actions > .nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-why-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  body[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"]:not(.seo-route) .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px 10px;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .brand {
    min-height: 44px;
    min-width: 0;
    padding-right: 56px;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .nav-toggle {
    position: absolute;
    top: 8px;
    right: 16px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .header-actions {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .tourist-controls {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 0;
    align-items: stretch;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .tourist-login-btn,
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .header-cta {
    min-height: 44px;
    justify-content: center;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .header-cta {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"]:not(.seo-route) .hero {
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 28px;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band .destination-field,
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band .commercial-filter-group,
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-submit {
    grid-column: 1 / -1;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band select,
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band input,
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-submit {
    min-height: 38px;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .search-band .commercial-filter-group label {
    min-height: 22px;
    padding: 3px 7px;
    font-size: 11px;
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .bnb-destination-grid,
  body[data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"]:not(.seo-route) .listing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-theme="hospitality-warm"][data-portal-type="bed-and-breakfast"] .cv-dest-card {
    min-height: 190px;
  }
}

/* --- Classificazione page type: blocchi non pertinenti ---
 * Comune a tutte le tipologie ricettive (nessuno scoping [data-theme]).
 * #case (griglia annunci), .hero .search-band (motore di ricerca) e
 * .value-message restano nel DOM per ogni pagina (motore comune), ma
 * vengono nascosti sulle pagine editoriali/istituzionali dove annunci e
 * ricerca sono fuori contesto: guida pubblicazione, sicurezza, conversione host.
 * Le pagine destinazione (page-type-destination) NON sono in questo elenco:
 * li il motore di ricerca resta visibile in alto, come richiesto. */
body.page-type-owner-guide .home-only,
body.page-type-owner-guide .seo-directory,
body.page-type-owner-guide .promise-band,
body.page-type-owner-guide #case,
body.page-type-owner-guide .home-listing-more,
body.page-type-owner-guide .area-alert-modal,
body.page-type-owner-guide .hero .search-band,
body.page-type-owner-guide .hero .value-message,
body.page-type-owner-guide .hero .hero-note,
body.page-type-trust-and-safety .home-only,
body.page-type-trust-and-safety .seo-directory,
body.page-type-trust-and-safety .promise-band,
body.page-type-trust-and-safety #case,
body.page-type-trust-and-safety .home-listing-more,
body.page-type-trust-and-safety .area-alert-modal,
body.page-type-owner-conversion .home-only,
body.page-type-owner-conversion .seo-directory,
body.page-type-owner-conversion .promise-band,
body.page-type-owner-conversion #case,
body.page-type-owner-conversion .home-listing-more,
body.page-type-owner-conversion .area-alert-modal,
body.page-type-owner-conversion .hero .search-band,
body.page-type-owner-conversion .hero .value-message,
body.page-type-owner-conversion .hero .hero-note { display: none; }

@media (max-width: 640px) {
  /* body.page-type-owner-conversion copre la pagina /proprietari/ (renderizzata da
     index.php). pubblica-annuncio.html e' invece un file statico con il proprio body
     class "owner-publish-page": senza questo selettore aggiuntivo il CTA header
     "Pubblica gratis" non veniva mai nascosto su mobile nella pagina di pubblicazione
     vera e propria, l'unica esplicitamente richiesta da questo fix. */
  body.page-type-owner-conversion .header-cta,
  body.owner-publish-page .header-cta { display: none; }
}

/* --- Pagina Sicurezza: controlli e badge presentati come card ---
 * Stessa struttura HTML generica (.seo-content-block) di tutte le pagine
 * informative del network: qui viene solo aggiunto un trattamento visivo a
 * riquadro, scoped al page-type, senza toccare il markup condiviso. */
body.page-type-trust-and-safety #seoPage > .seo-content-block {
  padding: 1.5rem 1.75rem;
  margin: 0 0 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
body.page-type-trust-and-safety #seoPage > .seo-content-block > h2 {
  font-size: clamp(20px, 2.4vw, 26px);
}
body.page-type-trust-and-safety #seoPage > .seo-content-block > p {
  font-size: 16px;
}
body.page-type-trust-and-safety .seo-report-cta {
  background: var(--accent, #174a43);
}
@media (min-width: 720px) {
  body.page-type-trust-and-safety #seoPage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.25rem;
  }
  body.page-type-trust-and-safety #seoPage > .seo-breadcrumb,
  body.page-type-trust-and-safety #seoPage > .seo-page-hero,
  body.page-type-trust-and-safety #seoPage > .seo-report-cta,
  body.page-type-trust-and-safety #seoPage > .seo-related,
  body.page-type-trust-and-safety #seoPage > .editorial-meta-block {
    grid-column: 1 / -1;
  }
  body.page-type-trust-and-safety #seoPage > .seo-content-block {
    margin: 0;
  }
}

/* --- POI card: "Cosa vedere" layout a card --- */
.poi-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.poi-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s;
}

.poi-card:hover {
  box-shadow: var(--shadow);
}

.poi-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--line);
}

.poi-card-image-fallback {
  display: block;
  background: linear-gradient(135deg, var(--paper), var(--line));
}

.poi-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.poi-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.poi-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.poi-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.poi-card-meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.poi-card-link {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
  align-self: flex-start;
}

.poi-card-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .poi-card-grid { grid-template-columns: 1fr; }
}

/* --- Stato zero annunci editoriale --- */
.empty-state-editorial {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 520px;
  margin: 1.5rem auto;
}

.empty-state-editorial h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.empty-state-editorial p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* --- Guida passo-passo: layout verticale accessibile --- */
.guide-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.guide-step-icon {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.guide-step-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.guide-step-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* --- Checklist preparazione --- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Dettagli/summary accessibile --- */
.accordion details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  background: var(--paper);
}

.accordion summary {
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.accordion details[open] summary::after { content: "−"; }

.accordion details[open] summary { color: var(--accent); }

.accordion .accordion-body {
  padding: 0 1.2rem 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Badge DEMO e VERIFICATA --- */
.badge-demo {
  background: #fef3cd;
  color: #856404;
  border: 1px solid #ffc107;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-verificata {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* --- Sicurezza: blocchi informativi --- */
.safety-block {
  background: var(--soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}

.safety-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.safety-block p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* --- Card pubblica: blocchi sintetici --- */
.owner-quick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.owner-quick-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.owner-quick-card strong {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 700;
}

.owner-quick-card p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .owner-quick-cards { grid-template-columns: 1fr 1fr; }
  .guide-step { flex-direction: row; }
}

@media (max-width: 380px) {
  .owner-quick-cards { grid-template-columns: 1fr; }
}

/* ===== FINE SISTEMA MULTI-TEMA ===== */

/* ── HOST-REGISTRATION-UX-28: nuovi componenti pagina pubblica ── */

/* Hero breve */
.publish-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) clamp(18px, 4vw, 28px) clamp(16px, 3vw, 32px);
  text-align: center;
}
.publish-hero .eyebrow {
  margin-bottom: 10px;
}
.publish-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 12px;
}
.publish-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  margin: 0 0 22px;
}
.publish-hero-cta {
  display: inline-flex;
  margin-bottom: 14px;
}
.publish-microcopy {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* Sezione 4 card informative — riusa .owner-info-grid (2x2 su mobile) */
.owner-info-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 28px) 24px;
}

/* Card informative compatte */
.owner-publish-page .owner-info-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.owner-publish-page .owner-info-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.owner-publish-page .owner-info-card-head,
.owner-publish-page .owner-info-card summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}
.owner-publish-page .owner-info-card summary::-webkit-details-marker {
  display: none;
}
.owner-publish-page .owner-info-card summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.owner-publish-page .owner-info-card-head strong,
.owner-publish-page .owner-info-card summary strong {
  display: inline;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  min-width: 0;
}
.owner-publish-page .owner-info-card .info-card-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 10%, var(--paper));
  color: var(--accent);
}
.owner-publish-page .owner-info-card .info-card-icon svg {
  width: 20px;
  height: 20px;
}
.owner-publish-page .owner-info-card .card-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.18s ease;
}
.owner-publish-page .owner-info-card[open] .card-chevron {
  transform: rotate(180deg);
}
.owner-publish-page .owner-info-card .card-body {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.owner-publish-page .owner-info-card .card-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (min-width: 901px) {
  .owner-publish-page .owner-info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Scelta host type */
.publish-host-choice {
  margin-bottom: 28px;
}
.publish-host-choice-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}
.host-choice-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}
.host-choice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  flex: 1 1 200px;
  min-width: 0;
  max-width: 100%;
}
.host-choice-card:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--paper));
}
.host-choice-card input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.host-choice-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.host-choice-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Indicatore 5 fasi */
.publish-steps {
  display: flex;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  gap: 0;
  counter-reset: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.publish-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 56px;
  position: relative;
  padding-bottom: 4px;
}
.publish-steps li + li::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.publish-steps li.step-active + li::before,
.publish-steps li.step-done + li::before {
  background: var(--accent);
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.step-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.publish-steps .step-active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.publish-steps .step-active .step-label {
  color: var(--accent);
  font-weight: 600;
}
.publish-steps .step-done .step-num {
  background: color-mix(in srgb, var(--accent) 20%, var(--paper));
  border-color: var(--accent);
  color: var(--accent);
}

/* Accordions approfondimento */
.publish-accordions {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* Responsive 320–768 per nuovi componenti */
@media (max-width: 640px) {
  .host-choice-options {
    flex-direction: column;
  }
  .host-choice-card {
    width: 100%;
  }
  .publish-steps {
    gap: 0;
  }
  .publish-steps li {
    gap: 4px;
  }
  .publish-steps .step-label {
    display: none;
  }
  .publish-steps li[aria-current="step"] .step-label {
    display: block;
    font-size: 0.7rem;
  }
  .owner-publish-page .wizard-navigation {
    justify-content: center;
    flex-wrap: wrap;
  }
  .owner-publish-page .wizard-navigation .submit-button {
    margin-left: 0;
  }
  .help-whatsapp-fab {
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 50%;
  }
  .help-whatsapp-fab .fab-icon {
    width: 26px;
    height: 26px;
  }
  .help-whatsapp-fab .fab-text {
    display: none;
  }
}
@media (max-width: 380px) {
  .owner-publish-page main {
    padding-right: 12px;
    padding-left: 12px;
  }
  .owner-publish-page .listing-form {
    padding: 14px;
  }
  .owner-publish-page .form-fieldset {
    padding: 12px;
  }
  .owner-publish-page .owner-info-grid {
    gap: 10px;
  }
  .publish-hero h1 {
    font-size: 1.3rem;
  }
  .step-num {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  .publish-steps li + li::before {
    top: 12px;
  }
}

/* ===== Account turista: preferiti, ricerche salvate e notifiche ===== */
.tourist-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.area-alert-email-row {
  grid-template-columns: minmax(0, 1fr);
}
.tourist-login-btn,
.tourist-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft, #f0f4f2);
  color: var(--ink, #15201c);
  border: 1px solid var(--line, #dce5df);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}
.tourist-login-btn:hover,
.tourist-account-btn:hover,
.tourist-bell:hover {
  border-color: var(--accent, #0f8b6f);
  color: var(--accent, #0f8b6f);
}
.tourist-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line, #dce5df);
  background: var(--soft, #f0f4f2);
  color: var(--ink, #15201c);
  cursor: pointer;
  padding: 0;
}
.tourist-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent, #0f8b6f);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.favorite-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #6b7a72;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 1px 4px rgba(21, 32, 28, 0.14);
  transition: transform 0.15s ease, color 0.15s ease;
}
.favorite-toggle:hover {
  transform: scale(1.06);
  color: var(--accent, #0f8b6f);
}
.favorite-toggle.is-active {
  color: #e0405a;
}
.listing-favorite-toggle {
  position: static;
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 10px 16px;
  margin: 10px 0 0;
  border: 1px solid var(--line, #dce5df);
  background: var(--soft, #f0f4f2);
  color: var(--ink, #15201c);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none;
}
.listing-favorite-toggle.is-active {
  border-color: #e0405a;
  color: #e0405a;
}
.tourist-save-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, #dce5df);
  background: var(--soft, #f0f4f2);
  color: var(--ink, #15201c);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}
.tourist-save-search:hover:not(:disabled) {
  border-color: var(--accent, #0f8b6f);
  color: var(--accent, #0f8b6f);
}
.tourist-save-search:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.tourist-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 16px;
}
.tourist-modal[hidden] {
  display: none;
}
.tourist-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 32, 28, 0.55);
}
.tourist-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: var(--radius, 18px);
  box-shadow: var(--shadow-lg, 0 18px 50px rgba(21, 32, 28, 0.24));
  padding: 28px 24px 24px;
  margin-top: 4vh;
}
.tourist-modal-dialog h2 {
  margin: 0 0 4px;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 1.35rem;
}
.tourist-auth-context {
  color: var(--muted, #5c6b63);
  font-size: 0.92rem;
  margin: 4px 0 14px;
}
.tourist-auth-tabs,
.tourist-account-tabs {
  display: flex;
  gap: 6px;
  margin: 14px 0 16px;
  border-bottom: 1px solid var(--line, #dce5df);
  padding-bottom: 10px;
}
.tourist-auth-tabs button,
.tourist-account-tabs button {
  border: 1px solid var(--line, #dce5df);
  background: transparent;
  color: var(--muted, #5c6b63);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  min-height: 44px;
  flex: 1 1 0;
}
.tourist-auth-tabs button:focus-visible,
.tourist-account-tabs button:focus-visible {
  outline: 2px solid var(--accent, #0f8b6f);
  outline-offset: 2px;
}
.tourist-auth-tabs button.is-active,
.tourist-account-tabs button.is-active {
  background: var(--accent, #0f8b6f);
  border-color: var(--accent, #0f8b6f);
  color: #fff;
}
.tourist-privacy-note {
  font-size: 0.82rem;
  color: var(--muted, #5c6b63);
  margin: 10px 0 0;
}
.tourist-privacy-note a {
  color: var(--accent, #0f8b6f);
  text-decoration: underline;
}
.tourist-modal .field {
  display: block;
  margin-bottom: 12px;
}
.tourist-modal .field span {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.tourist-modal .field input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--line, #dce5df);
  border-radius: var(--radius-sm, 10px);
  font: inherit;
}
.tourist-modal .form-message {
  margin-top: 10px;
}
.tourist-account-content {
  min-height: 160px;
}
.tourist-loading,
.tourist-empty {
  color: var(--muted, #5c6b63);
  padding: 18px 4px;
}
.tourist-account-footer {
  border-top: 1px solid var(--line, #dce5df);
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.tourist-favorite-list,
.tourist-search-list,
.tourist-notification-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tourist-favorite-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line, #dce5df);
}
.tourist-favorite-info {
  min-width: 0;
}
.tourist-favorite-link {
  color: var(--ink, #15201c);
  font-weight: 600;
  text-decoration: none;
}
.tourist-favorite-link:hover {
  color: var(--accent, #0f8b6f);
}
.tourist-favorite-meta,
.tourist-search-meta {
  display: block;
  color: var(--muted, #5c6b63);
  font-size: 0.82rem;
  margin-top: 2px;
}
.tourist-favorite-remove {
  border: none;
  background: transparent;
  color: #e0405a;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px;
}
.tourist-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line, #dce5df);
}
.tourist-search-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.tourist-search-delete {
  border: 1px solid var(--line, #dce5df);
  background: transparent;
  color: var(--muted, #5c6b63);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.tourist-search-delete:hover {
  border-color: #e0405a;
  color: #e0405a;
}
.tourist-notif-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.tourist-notification-item {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line, #dce5df);
  border-radius: 10px;
}
.tourist-notification-item.is-unread {
  background: var(--accent-soft, #e7f5f0);
}
.tourist-notification-link {
  display: block;
  text-decoration: none;
  color: var(--ink, #15201c);
}
.tourist-notification-link strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.tourist-notification-link span {
  display: block;
  color: var(--muted, #5c6b63);
  font-size: 0.85rem;
  line-height: 1.4;
}
.tourist-mark-read {
  border: none;
  background: transparent;
  color: var(--accent, #0f8b6f);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 2px;
  margin-top: 6px;
}
.tourist-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink, #15201c);
  color: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.9rem;
  box-shadow: var(--shadow, 0 8px 24px rgba(21, 32, 28, 0.2));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1300;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.tourist-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 640px) {
  .tourist-controls {
    gap: 6px;
    margin-left: 4px;
  }
  .tourist-login-btn,
  .tourist-account-btn {
    padding: 7px 10px;
    font-size: 0.78rem;
  }
  .tourist-bell {
    width: 36px;
    height: 36px;
  }
  .tourist-modal-dialog {
    padding: 20px 16px 18px;
    margin-top: 2vh;
  }
  .tourist-favorite-item,
  .tourist-search-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .tourist-search-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .tourist-save-search {
    font-size: 0.78rem;
    padding: 7px 10px;
  }
}

/* ============================================================================
 * GRAFICA CASE-VACANZE (CV-20260813-001) — SOLO MASTER casavacanzeonline.it
 *
 * Fedelta' al prototipo statico case-vacanze-prototipo-statico (header bianco
 * responsive, palette blu mediterraneo/avorio/corallo, hero fotografica ampia,
 * card annunci moderne, sezione "Piu vacanza. Meno intermediari", destinazioni
 * con route SEO reali, CTA proprietari, footer con 4web.it - P. IVA).
 *
 * SCOPE STRETTO: ogni regola richiede BOTH [data-portal-role="master"] e
 * [data-theme="case-vacanze"]. Slave con tema case-vacanze e tutti i portali
 * hospitality-warm NON ricevono alcuna di queste regole (nessun rollout).
 *
 * Motore di ricerca, card, preferiti e account turista restano gli stessi:
 * qui cambia solo la resa visiva, con gli stessi id/campi di app.js.
 * ========================================================================== */

body[data-portal-role="master"][data-theme="case-vacanze"] {
  --ink: #173440;
  --muted: #65777e;
  --line: #e3e9ea;
  --paper: #ffffff;
  --soft: #f7f3eb;
  --accent: #ef765f;
  --accent-dark: #d85f48;
  --accent-soft: #fdeae5;
  --sun: #f3b44b;
  --sea: #123746;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(18, 55, 70, 0.08);
  --shadow: 0 14px 40px rgba(18, 55, 70, 0.12);
  --shadow-lg: 0 24px 60px rgba(18, 55, 70, 0.16);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* --- Header bianco responsive --- */
[data-portal-role="master"][data-theme="case-vacanze"] .topbar {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e8edee;
  box-shadow: 0 2px 12px rgba(18, 55, 70, 0.07);
}

[data-portal-role="master"][data-theme="case-vacanze"] .brand-mark {
  background: var(--accent);
  border-radius: 14px 14px 14px 4px;
  font-family: var(--font-display);
  color: #fff;
}

[data-portal-role="master"][data-theme="case-vacanze"] .brand {
  color: var(--sea);
}

[data-portal-role="master"][data-theme="case-vacanze"] .header-cta {
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(239, 118, 95, 0.3);
}

[data-portal-role="master"][data-theme="case-vacanze"] .header-cta:hover {
  background: var(--accent-dark);
}

/* --- Hero fotografica ampia --- */
[data-portal-role="master"][data-theme="case-vacanze"] .hero {
  padding: 52px clamp(18px, 4vw, 56px) 40px;
  background:
    linear-gradient(90deg, rgba(5, 31, 42, 0.88) 0%, rgba(5, 31, 42, 0.6) 46%, rgba(5, 31, 42, 0.22) 78%, rgba(5, 31, 42, 0.08) 100%),
    url("/assets/demo-photos/demo-taormina-vista-mare.webp") center 56% / cover no-repeat;
}

[data-portal-role="master"][data-theme="case-vacanze"] .hero::before {
  content: none;
}

[data-portal-role="master"][data-theme="case-vacanze"]:not(.seo-route) .hero {
  min-height: 560px;
  align-items: center;
}

[data-portal-role="master"][data-theme="case-vacanze"] .hero-content {
  width: min(1120px, 100%);
  max-width: 1120px;
}

[data-portal-role="master"][data-theme="case-vacanze"] .hero .eyebrow {
  padding: 0;
  background: transparent;
  color: #ffe9e2;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

[data-portal-role="master"][data-theme="case-vacanze"] .hero h1 {
  max-width: 680px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 700;
}

[data-portal-role="master"][data-theme="case-vacanze"] .hero-copy {
  max-width: 560px;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.55;
}

[data-portal-role="master"][data-theme="case-vacanze"] .hero-note,
[data-portal-role="master"][data-theme="case-vacanze"] .value-message {
  display: none;
}

/* --- Barra di ricerca reale (stessi id/campi app.js), resa prototipo --- */
[data-portal-role="master"][data-theme="case-vacanze"] .search-band {
  grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(118px, 0.8fr)) minmax(82px, 0.55fr) minmax(96px, auto);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(5, 31, 42, 0.3);
  padding: 12px 14px;
}

[data-portal-role="master"][data-theme="case-vacanze"] .search-band.has-type-filter {
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(118px, 0.75fr)) repeat(2, minmax(96px, 0.65fr)) minmax(96px, auto);
}

@media (max-width: 1100px) {
  [data-portal-role="master"][data-theme="case-vacanze"] .search-band,
  [data-portal-role="master"][data-theme="case-vacanze"] .search-band.has-type-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  [data-portal-role="master"][data-theme="case-vacanze"] .search-band,
  [data-portal-role="master"][data-theme="case-vacanze"] .search-band.has-type-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

[data-portal-role="master"][data-theme="case-vacanze"] .search-submit {
  border-radius: 10px;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(239, 118, 95, 0.3);
}

[data-portal-role="master"][data-theme="case-vacanze"] .search-submit:hover {
  background: var(--accent-dark);
}

/* --- Riga fiducia: Nessuna commissione / Contatto diretto / Annunci moderati --- */
.cv-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 14px 0 0;
}

.cv-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.cv-trust-row span::first-line { color: #fff; }

/* --- Sezione annunci: intestazione prototipo --- */
[data-portal-role="master"][data-theme="case-vacanze"] #case .section-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-all-listings {
  flex: 0 0 auto;
  align-self: end;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-all-listings:hover {
  text-decoration: underline;
}

/* --- Card annunci moderne (stesso markup app.js, layout verticale) --- */
body[data-portal-role="master"][data-theme="case-vacanze"]:not(.seo-route) .listing-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

body[data-portal-role="master"][data-theme="case-vacanze"]:not(.seo-route) .listing-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

body[data-portal-role="master"][data-theme="case-vacanze"]:not(.seo-route) .listing-card .listing-image-wrap img {
  height: 210px;
  min-height: 0;
  max-height: 210px;
}

body[data-portal-role="master"][data-theme="case-vacanze"]:not(.seo-route) .listing-card .listing-body {
  padding: 16px 18px 18px;
}

[data-portal-role="master"][data-theme="case-vacanze"] .empty-state-editorial {
  grid-column: 1 / -1;
  width: min(100%, 860px);
  max-width: 860px;
  box-sizing: border-box;
  margin: 1.5rem auto;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 3rem);
}

/* --- Sezione "Piu vacanza. Meno intermediari" --- */
.cv-why {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cv-why-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 6vw, 64px);
  align-items: start;
}

.cv-why-copy h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.cv-why-copy .eyebrow.coral,
.cv-dest-head .eyebrow.coral {
  color: var(--accent-dark);
}

.cv-why-lead {
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.cv-text-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.cv-text-link:hover { text-decoration: underline; }

.cv-why-benefits {
  display: grid;
  gap: 18px;
  padding: 10px 0 4px;
}

.cv-why-benefits > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
}

.cv-benefit-icon {
  display: block;
  width: 28px;
  height: 28px;
  border-top: 3px solid var(--accent-dark);
  margin-top: 10px;
}

.cv-why-benefits b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.cv-why-benefits small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* --- Destinazioni con route SEO reali --- */
.cv-dest-head {
  padding-top: 40px;
  padding-bottom: 0;
}

.cv-dest-head h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.cv-dest-sub {
  margin: 8px 0 0;
  color: var(--muted);
}

.cv-destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 70px;
}

.cv-dest-card {
  position: relative;
  display: flex;
  min-height: 210px;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background-color: #123746;
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-dest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cv-dest-card > div {
  position: relative;
  z-index: 1;
}

.cv-dest-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.cv-dest-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.cv-dest-card > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 18px;
}

/* --- CTA proprietari --- */
[data-portal-role="master"][data-theme="case-vacanze"] .owner-cta-section {
  margin: 0 auto;
  background: linear-gradient(135deg, #082a39 0%, #123746 60%, #1a4a5e 100%);
  color: #fff;
  border-radius: 18px;
  max-width: 1180px;
}

[data-portal-role="master"][data-theme="case-vacanze"] .owner-cta-section .eyebrow {
  color: #ffc6b7;
}

[data-portal-role="master"][data-theme="case-vacanze"] .owner-cta-section h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 42px);
}

[data-portal-role="master"][data-theme="case-vacanze"] .owner-cta-section .form-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
}

[data-portal-role="master"][data-theme="case-vacanze"] .owner-cta-section .owner-actions a {
  color: #fff;
  background: var(--accent);
  border-color: transparent;
}

[data-portal-role="master"][data-theme="case-vacanze"] .owner-cta-section .owner-actions .primary-action {
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(239, 118, 95, 0.35);
}

[data-portal-role="master"][data-theme="case-vacanze"] .owner-cta-section .owner-actions a:hover {
  background: var(--accent-dark);
}

.cv-owner-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  max-width: 480px;
  margin-top: 22px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.cv-owner-note .cv-benefit-icon { color: #ffc6b7; }

.cv-owner-note-copy { display: grid; gap: 4px; }

.cv-owner-note b { display: block; font-size: 15px; }

.cv-owner-note-copy > span { font-size: 13px; }

/* --- Footer coerente (4web.it · P. IVA 06304500876) --- */
[data-portal-role="master"][data-theme="case-vacanze"] .footer {
  color: rgba(255, 255, 255, 0.82);
  background: #082a39;
  border-top: 3px solid var(--accent);
  padding-top: 38px;
  padding-bottom: 38px;
}

[data-portal-role="master"][data-theme="case-vacanze"] .footer a {
  color: #ffd9cf;
}

[data-portal-role="master"][data-theme="case-vacanze"] .footer a:hover {
  color: #fff;
}

[data-portal-role="master"][data-theme="case-vacanze"] .footer .footer-legal-line a {
  color: #ffc6b7;
}

/* --- Sezioni secondarie home: riallineate alla palette --- */
[data-portal-role="master"][data-theme="case-vacanze"] .promise-band p {
  color: #7a4b1e;
  background: #fff2e8;
  border-color: #f3c8a8;
}

[data-portal-role="master"][data-theme="case-vacanze"] .coverage-strip a {
  color: var(--sea);
  border-color: #dbe5e7;
}

[data-portal-role="master"][data-theme="case-vacanze"] .home-spot {
  border-top-color: var(--accent);
}

[data-portal-role="master"][data-theme="case-vacanze"] .home-spot span {
  color: var(--accent-dark);
}

/* CV-20260818-002: spot istituzionale "Percorsi del network" della home master.
   Elemento editoriale con headline leggibile, visivamente distinto dalle card
   listing (che hanno immagine, prezzo e badge). Solo master case-vacanze: gli
   slave territoriali mantengono il markup base invariato. */
[data-portal-role="master"][data-theme="case-vacanze"] .home-spots.cvo-editorial-spot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
[data-portal-role="master"][data-theme="case-vacanze"] .home-spots.cvo-editorial-spot .cvo-editorial-spot-head {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-bottom: 4px;
}
[data-portal-role="master"][data-theme="case-vacanze"] .home-spots.cvo-editorial-spot .cvo-editorial-spot-head .eyebrow {
  color: var(--accent-dark, #0b6e58);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
[data-portal-role="master"][data-theme="case-vacanze"] .home-spots.cvo-editorial-spot .cvo-editorial-spot-head h2 {
  margin: 6px 0 8px;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
[data-portal-role="master"][data-theme="case-vacanze"] .home-spots.cvo-editorial-spot .cvo-editorial-spot-head p:last-child {
  margin: 0;
  color: var(--muted, #5c6b63);
  font-size: 0.98rem;
  line-height: 1.65;
}
[data-portal-role="master"][data-theme="case-vacanze"] .home-spots.cvo-editorial-spot .home-spot {
  min-height: 150px;
  background: linear-gradient(180deg, #f5faf8 0%, #ecf5f1 100%);
  border: 1px solid #d2e6de;
  border-top: 4px solid var(--accent, #0f8b6f);
  box-shadow: 0 12px 28px rgba(23, 63, 58, 0.07);
}
[data-portal-role="master"][data-theme="case-vacanze"] .home-spots.cvo-editorial-spot .home-spot strong {
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 1.3rem;
  line-height: 1.25;
}
[data-portal-role="master"][data-theme="case-vacanze"] .home-spots.cvo-editorial-spot .home-spot:hover {
  border-top-color: var(--accent-dark, #0b6e58);
}
@media (max-width: 640px) {
  [data-portal-role="master"][data-theme="case-vacanze"] .home-spots.cvo-editorial-spot {
    grid-template-columns: minmax(0, 1fr);
  }
}

[data-portal-role="master"][data-theme="case-vacanze"] .seo-directory-grid nav {
  border-top-color: var(--sea);
}

[data-portal-role="master"][data-theme="case-vacanze"] .seo-directory-grid a:hover {
  color: var(--accent-dark);
}

[data-portal-role="master"][data-theme="case-vacanze"] .seo-directory-actions a {
  color: var(--accent-dark);
  border-color: #f0c7b8;
}

[data-portal-role="master"][data-theme="case-vacanze"] .content-columns > div,
[data-portal-role="master"][data-theme="case-vacanze"] .contact-options > div {
  border-top-color: var(--sea);
}

/* --- Responsive grafica case-vacanze --- */
@media (max-width: 1024px) {
  .cv-destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cv-why-inner { grid-template-columns: minmax(0, 1fr); }
  [data-portal-role="master"][data-theme="case-vacanze"]:not(.seo-route) .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Header bianco compatto tra 641 e 900px (come nel prototipo): nav nascosta,
     hamburger visibile e CTA sulla stessa riga; il menu aperto va a capo sotto. */
  [data-portal-role="master"][data-theme="case-vacanze"] .header-actions {
    flex-wrap: wrap;
  }
  [data-portal-role="master"][data-theme="case-vacanze"] .nav-toggle {
    display: grid;
    place-items: center;
  }
  [data-portal-role="master"][data-theme="case-vacanze"] .header-actions > .nav {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    gap: 0;
  }
  [data-portal-role="master"][data-theme="case-vacanze"] .header-actions > .nav.is-open {
    display: flex;
  }
  [data-portal-role="master"][data-theme="case-vacanze"] .header-actions > .nav a {
    padding: 10px 0;
    border-bottom: 1px solid #e8edee;
  }
}

/* CV-20260814-001: header mobile master compatto a due righe da 340 a 768px.
   Prima riga: logo CV + nome non troncato + hamburger a destra (touch 44x44).
   Seconda riga: Accedi e Pubblica gratis affiancati con la stessa altezza.
   Desktop (>= 769px) invariato: il blocco resta sotto max-width:768px. */
@media (max-width: 768px) {
  [data-portal-role="master"][data-theme="case-vacanze"] .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px 10px;
  }

  [data-portal-role="master"][data-theme="case-vacanze"] .brand {
    min-height: 44px;
    min-width: 0;
    padding-right: 56px;
  }

  [data-portal-role="master"][data-theme="case-vacanze"] .nav-toggle {
    position: absolute;
    top: 8px;
    right: 16px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  [data-portal-role="master"][data-theme="case-vacanze"] .header-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  [data-portal-role="master"][data-theme="case-vacanze"] .tourist-controls {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 0;
    align-items: stretch;
  }

  [data-portal-role="master"][data-theme="case-vacanze"] .tourist-login-btn {
    min-height: 44px;
    justify-content: center;
  }

  [data-portal-role="master"][data-theme="case-vacanze"] .header-cta {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
  }

  [data-portal-role="master"][data-theme="case-vacanze"] .header-actions > .nav {
    flex: 1 1 100%;
  }

  [data-portal-role="master"][data-theme="case-vacanze"] .header-actions > .nav a {
    padding: 10px 0;
  }
}

/* CV-20260814-001: nessun overflow orizzontale sotto 320px sul master: gli URL del
   network territoriale (es. https://casavacanzemarzamemi.it/) vanno a capo. */
[data-portal-role="master"] .network-url {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 640px) {
  [data-portal-role="master"][data-theme="case-vacanze"]:not(.seo-route) .hero {
    min-height: 0;
  }
  .cv-destination-grid { grid-template-columns: minmax(0, 1fr); }
  [data-portal-role="master"][data-theme="case-vacanze"]:not(.seo-route) .listing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cv-trust-row span { font-size: 13px; }
  .cv-dest-card { min-height: 190px; }
}

@media (max-width: 420px) {
  .cv-why-benefits > div { grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
  .cv-benefit-icon { width: 24px; height: 24px; }
}

/* ===== CV-026: gerarchia e responsive "Piu vacanza. Meno intermediari" =====
 * Migliora gerarchia visiva e comportamento responsive della sezione, mantenendo
 * invariati testi, CTA e i tre punti del prototipo. Regole scoped al master
 * case-vacanze (gli slave e hospitality-warm restano invariati).
 * ======================================================================== */
[data-portal-role="master"][data-theme="case-vacanze"] .cv-why {
  padding-top: clamp(44px, 7vw, 84px);
  padding-bottom: clamp(44px, 7vw, 84px);
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-why-copy .eyebrow.coral,
[data-portal-role="master"][data-theme="case-vacanze"] .cv-dest-head .eyebrow.coral {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-why-copy h2 {
  margin: 10px 0 18px;
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-why-benefits {
  gap: 14px;
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-why-benefits > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-why-benefits > div:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-why-benefits .cv-benefit-icon {
  align-self: start;
  margin-top: 1px;
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-dest-head {
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: 0;
}

[data-portal-role="master"][data-theme="case-vacanze"] .cv-dest-head h2 {
  margin: 8px 0 12px;
}

@media (max-width: 900px) {
  [data-portal-role="master"][data-theme="case-vacanze"] .cv-why-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  [data-portal-role="master"][data-theme="case-vacanze"] .cv-why-benefits > div {
    padding: 12px 14px;
  }
  [data-portal-role="master"][data-theme="case-vacanze"] .cv-destination-grid {
    gap: 12px;
    padding-bottom: 48px;
  }
}

/* ===== CV-025: pubblica-annuncio coerente con la home master =====
 * La pagina di pubblicazione e un file statico: sul master app.js applica
 * data-portal-role="master" e data-theme="case-vacanze" (come index.php fa
 * server-side sulla home). Queste regole, scoped allo stesso selettore,
 * rendono hero, card e accordion coerenti con la grafica case-vacanze.
 * Slave B&B e altri portali non ricevono il ruolo master e restano invariati.
 * ==================================================================== */
body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] {
  background: var(--soft);
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .publish-hero {
  position: relative;
  padding: clamp(48px, 8vw, 88px) clamp(18px, 4vw, 28px) clamp(40px, 6vw, 56px);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(5, 31, 42, 0.88) 0%, rgba(5, 31, 42, 0.6) 46%, rgba(5, 31, 42, 0.22) 78%, rgba(5, 31, 42, 0.08) 100%),
    url("/assets/demo-photos/demo-taormina-vista-mare.webp") center 56% / cover no-repeat;
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .publish-hero .eyebrow {
  color: #ffe9e2;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .publish-hero h1 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .publish-hero-subtitle {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .publish-microcopy {
  color: rgba(255, 255, 255, 0.8);
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .publish-hero-cta {
  line-height: 1;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(239, 118, 95, 0.3);
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .publish-hero-cta:hover {
  background: var(--accent-dark);
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .owner-info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .owner-info-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .owner-info-card summary strong {
  font-size: 1rem;
}

body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .owner-info-card .card-chevron {
  color: var(--accent);
}

@media (max-width: 420px) {
  body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .publish-hero {
    padding-top: 44px;
    padding-bottom: 36px;
  }
  body.owner-publish-page[data-portal-role="master"][data-theme="case-vacanze"] .owner-info-card {
    padding: 12px;
  }
}
