.nsb-row {
  padding: 72px 0;
}

.nsb-row-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.nsb-col {
  grid-column: span 12;
  min-width: 0;
}

.nsb-col-1 {
  grid-column: span 12;
}

.nsb-col-1-2 {
  grid-column: span 6;
}

.nsb-col-1-3 {
  grid-column: span 4;
}

.nsb-col-2-3 {
  grid-column: span 8;
}

.nsb-col-1-4 {
  grid-column: span 3;
}

.nsb-col-3-4 {
  grid-column: span 9;
}

.nsb-col-1-5 {
  grid-column: span 2;
}

.nsb-col-2-5 {
  grid-column: span 5;
}

.nsb-col-3-5 {
  grid-column: span 7;
}

.nsb-rich-text,
.nsb-text {
  line-height: 1.65;
}

.nsb-image-widget {
  margin: 0;
}

.nsb-image-widget img,
.nsb-gallery img,
.nsb-card img {
  max-width: 100%;
  height: auto;
  display: block;
}

.nsb-video iframe,
.nsb-video video,
.nsb-map iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.nsb-card,
.nsb-icon-box,
.nsb-testimonial,
.nsb-alert,
.nsb-form-placeholder {
  border-radius: 8px;
}

.nsb-card h3,
.nsb-icon-box h3,
.nsb-step h3 {
  font-size: var(--nsb-title-font-size, inherit);
  font-weight: var(--nsb-title-font-weight, inherit);
  color: var(--nsb-title-color, inherit);
}

.nsb-card p,
.nsb-icon-box p,
.nsb-step p {
  font-size: var(--nsb-text-font-size, inherit);
  font-weight: var(--nsb-text-font-weight, inherit);
  color: var(--nsb-text-color, inherit);
}

.nsb-counter strong,
.trust-stat strong,
.price {
  font-size: var(--nsb-price-font-size, inherit);
  font-weight: var(--nsb-price-font-weight, inherit);
  color: var(--nsb-price-color, inherit);
}

.line-icon,
.strip-icon,
.benefit-icon,
.cta-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--nsb-icon-size, 48px);
  height: var(--nsb-icon-size, 48px);
  padding: var(--nsb-icon-padding, 0);
  color: var(--nsb-icon-color, currentColor);
  background: var(--nsb-icon-background, transparent);
}

.line-icon svg,
.strip-icon svg,
.benefit-icon svg,
.cta-mini-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

.line-icon svg *,
.strip-icon svg *,
.benefit-icon svg *,
.cta-mini-icon svg * {
  stroke-width: var(--nsb-icon-stroke-width, 3);
  vector-effect: non-scaling-stroke;
}

.line-icon img,
.strip-icon img,
.benefit-icon img,
.cta-mini-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .nsb-row-inner {
    grid-template-columns: 1fr;
  }

  .nsb-col,
  .nsb-col-1,
  .nsb-col-1-2,
  .nsb-col-1-3,
  .nsb-col-2-3,
  .nsb-col-1-4,
  .nsb-col-3-4,
  .nsb-col-1-5,
  .nsb-col-2-5,
  .nsb-col-3-5 {
    grid-column: 1 / -1;
  }
}

/* Compagni di Viaggi page builder skin */
:root {
  --cdvb-ink: #0b2a46;
  --cdvb-muted: #687589;
  --cdvb-teal: #2f9a98;
  --cdvb-teal-rgb: 47, 154, 152;
  --cdvb-orange: #f36b32;
  --cdvb-orange-rgb: 243, 107, 50;
  --cdvb-cream: #fbf6ef;
  --cdvb-line: #d7e4e5;
  --cdvb-shadow: 0 18px 48px rgba(15, 43, 68, .12);
}

body {
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  color: var(--cdvb-ink);
  box-shadow: 0 1px 0 rgba(15, 43, 68, .08);
  backdrop-filter: blur(16px);
}

.site-header .container {
  max-width: 1240px;
  min-height: 96px;
}

.site-logo a,
.main-nav a {
  color: var(--cdvb-ink);
}

.site-logo img,
.custom-logo {
  max-height: 66px;
  width: auto;
}

.main-nav ul {
  gap: 30px !important;
}

.main-nav .nav-menu > li {
  margin: 0 !important;
}

.site-header .main-nav .nav-menu > li + li {
  margin-left: 30px !important;
}

.main-nav a {
  border-radius: 0;
  font-weight: 800;
  font-size: 14px;
  padding: 34px 2px 30px;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--cdvb-ink);
  border-bottom-color: var(--cdvb-orange);
}

.btn-header {
  min-width: 94px;
  justify-content: center;
  border-radius: 5px;
  padding: 12px 18px;
}

.btn-header-primary {
  background: var(--cdvb-orange) !important;
  border-color: var(--cdvb-orange) !important;
  color: #fff !important;
  box-shadow: none;
}

.btn-header-secondary {
  background: #fff;
  border-color: #c9d4dd;
  color: var(--cdvb-ink);
}

.cdvb-row {
  padding: 38px 0;
}

.cdvb-row-hero {
  padding: 0;
}

.cdvb-row-white {
  background: #fff;
}

.cdvb-row-soft {
  padding: 22px 0 34px;
  background: #fff;
}

.cdvb-row-compact {
  padding-top: 16px;
}

.cdvb-container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 24px;
}

.cdvb-full {
  width: 100%;
}

.cdv-builder-page,
.cdv-builder-archive-page {
  background: #fff;
}

.cdvb-page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(255,255,255,.96), rgba(255,255,255,.78) 44%, rgba(255,255,255,.34)),
    var(--cdvb-hero-bg) center / cover no-repeat;
  color: var(--cdvb-ink);
  box-shadow: inset 0 -1px 0 rgba(15, 43, 68, .08);
}

.cdvb-page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -42px;
  height: 78px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 58% 58% 0 0;
}

.cdvb-page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 24px 82px;
}

.cdvb-page-hero h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--cdvb-ink);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.cdvb-page-hero p {
  max-width: 650px;
  margin: 0;
  color: #17344e;
  font-size: 18px;
  line-height: 1.55;
}

.cdvb-page-hero-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 5px;
  background: var(--cdvb-orange);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(var(--cdvb-orange-rgb), .18);
}

.cdvb-content-card {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--cdvb-line);
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 36px rgba(15, 43, 68, .08);
}

.cdvb-content-card h2,
.cdvb-content-card h3 {
  color: var(--cdvb-ink);
  font-weight: 900;
  letter-spacing: 0;
}

.cdvb-content-card h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 10px;
  background: var(--cdvb-orange);
}

.cdvb-hero {
  position: relative;
  min-height: 440px;
  padding: 58px max(24px, calc((100vw - 1240px) / 2 + 24px)) 44px;
  overflow: hidden;
  color: var(--cdvb-ink);
  isolation: isolate;
}

.cdvb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 34%, rgba(255,255,255,.22) 58%, rgba(255,255,255,0) 100%), var(--cdvb-hero-bg) center / cover no-repeat;
}

.cdvb-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -58px;
  height: 110px;
  z-index: -1;
  background: #fff;
  border-radius: 50% 50% 0 0 / 58% 58% 0 0;
}

.cdvb-hero-copy {
  width: min(570px, 100%);
  margin-bottom: 30px;
}

.cdvb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cdvb-teal);
  font-size: 14px;
  font-weight: 900;
}

.cdvb-eyebrow::before {
  content: "✦";
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--cdvb-teal);
  font-size: 13px;
}

.cdvb-hero h1 {
  max-width: 620px;
  margin: 0 0 14px;
  color: var(--cdvb-ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 900;
}

.cdvb-hero p {
  max-width: 520px;
  margin: 0;
  color: #17344e;
  font-size: 18px;
  line-height: 1.55;
}

.cdvb-search {
  width: min(1020px, calc(100% - 90px));
  display: grid;
  grid-template-columns: 1.2fr .85fr 1fr 170px;
  align-items: stretch;
  gap: 0;
  margin-top: 24px;
  padding: 18px;
  background: #fff;
  border-radius: 13px;
  box-shadow: var(--cdvb-shadow);
}

.cdvb-search label {
  display: grid;
  gap: 4px;
  padding: 0 22px;
  border-right: 1px solid #dce5ea;
}

.cdvb-search span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #253d56;
  font-size: 12px;
  font-weight: 900;
}

.cdvb-search svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
}

.cdvb-search input,
.cdvb-search select {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--cdvb-muted);
  font-size: 15px;
  outline: none;
}

.cdvb-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 5px;
  background: var(--cdvb-orange);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.cdvb-search button span,
.cdvb-search button svg {
  width: 18px;
  height: 18px;
}

.cdvb-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 26px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 5px;
  color: #fff;
  font-weight: 900;
  background: rgba(17, 47, 75, .22);
  backdrop-filter: blur(8px);
}

.cdvb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
}

.cdvb-section-head h2,
.cdvb-process h2 {
  position: relative;
  margin: 0;
  color: var(--cdvb-ink);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.cdvb-section-head h2::before {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  margin-bottom: 9px;
  background: var(--cdvb-orange);
}

.cdvb-section-head a {
  color: var(--cdvb-ink);
  font-size: 13px;
  font-weight: 800;
}

.cdvb-filter-summary {
  margin: -8px 0 26px;
  color: var(--cdvb-muted);
  font-size: 14px;
  font-weight: 700;
}

.cdvb-post-grid {
  display: grid;
  gap: 22px;
}

.cdvb-pagination {
  margin: 42px 0 0;
}

.cdvb-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cdvb-pagination a,
.cdvb-pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cdvb-line);
  border-radius: 7px;
  background: #fff;
  color: var(--cdvb-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15, 43, 68, .06);
}

.cdvb-pagination a:hover,
.cdvb-pagination .current {
  border-color: var(--cdvb-orange);
  background: var(--cdvb-orange);
  color: #fff;
}

.cdvb-post-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cdvb-post-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cdvb-post-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cdvb-post-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cdvb-post-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cdvb-travel-card,
.cdvb-story-card {
  overflow: hidden;
  border: 1px solid var(--cdvb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 43, 68, .06);
}

.cdvb-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  color: #fff;
}

.cdvb-card-image img,
.cdvb-story-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.cdvb-travel-card:hover img,
.cdvb-story-card:hover img {
  transform: scale(1.05);
}

.cdvb-card-image span,
.cdvb-story-card figure span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--cdvb-teal);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.cdvb-card-image i {
  position: absolute;
  top: 8px;
  right: 9px;
  font-style: normal;
  font-size: 22px;
  text-shadow: 0 2px 8px rgba(0,0,0,.32);
}

.cdvb-card-body {
  padding: 13px 13px 14px;
}

.cdvb-card-body h3,
.cdvb-story-card h3 {
  margin: 0 0 10px;
  color: var(--cdvb-ink);
  font-size: 17px;
  font-weight: 900;
}

.cdvb-card-body h3 a {
  color: inherit;
}

.cdvb-card-body p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 6px;
  color: #33465c;
  font-size: 12px;
  line-height: 1.25;
}

.cdvb-card-body svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  flex: 0 0 auto;
}

.cdvb-card-body strong {
  display: block;
  margin: 8px 0 11px;
  color: var(--cdvb-ink);
  font-size: 15px;
}

.cdvb-card-button {
  display: block;
  padding: 8px 10px;
  border: 1px solid var(--cdvb-teal);
  border-radius: 4px;
  color: var(--cdvb-ink);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.cdvb-process {
  position: relative;
  padding: 24px 36px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 248, 241, .82), rgba(255, 255, 255, .7) 44%, rgba(255, 248, 241, .82)),
    url("/wp-content/uploads/cdv-theme-assets/sfondo-centrale.webp") center / cover no-repeat;
  box-shadow: 0 10px 28px rgba(15, 43, 68, .06);
}

.cdvb-process h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
  text-align: center;
}

.cdvb-process h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--cdvb-orange);
}

.cdvb-process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.cdvb-process article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  position: relative;
}

.cdvb-process article i {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cdvb-teal);
  border-radius: 50%;
  color: var(--cdvb-teal);
  background: #fff;
}

.cdvb-process article:nth-child(odd) i {
  border-color: var(--cdvb-orange);
  color: var(--cdvb-orange);
}

.cdvb-process svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
}

.cdvb-step-number {
  position: absolute;
  left: -12px;
  bottom: -6px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cdvb-teal);
  color: #fff;
  font-weight: 900;
}

.cdvb-process h3 {
  margin: 0 0 7px;
  color: var(--cdvb-ink);
  font-size: 15px;
  font-weight: 900;
}

.cdvb-process p {
  margin: 0;
  color: #34485f;
  font-size: 12px;
  line-height: 1.45;
}

.cdvb-story-card a {
  display: block;
  color: inherit;
}

.cdvb-story-card figure {
  position: relative;
  height: 150px;
  margin: 0;
}

.cdvb-story-card > a > div {
  padding: 15px 16px;
}

.cdvb-story-card p {
  min-height: 42px;
  margin: 0 0 15px;
  color: #34485f;
  font-size: 13px;
  line-height: 1.45;
}

.cdvb-story-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6e7b89;
  font-size: 12px;
}

.cdvb-story-card footer span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cdvb-story-card .avatar {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  max-width: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.cdvb-stats-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 30px;
  border-radius: 14px;
  background: linear-gradient(90deg, #eefdf8, #eef8fb);
}

.cdvb-stats-band div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 3px 14px;
  align-items: center;
}

.cdvb-stats-band i {
  grid-row: span 2;
  color: var(--cdvb-ink);
}

.cdvb-stats-band svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
}

.cdvb-stats-band strong {
  color: var(--cdvb-ink);
  font-size: 25px;
  line-height: 1;
}

.cdvb-stats-band span {
  color: #33465c;
  font-size: 12px;
  font-weight: 800;
}

.cdvb-cta-banner {
  display: grid;
  grid-template-columns: 250px 1fr 300px;
  gap: 34px;
  align-items: center;
  padding: 24px 38px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  background: var(--cdvb-orange);
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 20%), linear-gradient(135deg, var(--cdvb-orange), color-mix(in srgb, var(--cdvb-orange), #fff 10%));
}

.cdvb-cta-banner img {
  width: 188px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.cdvb-cta-banner h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 33px;
  line-height: 1.1;
  font-weight: 900;
}

.cdvb-cta-banner p {
  margin: 0;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.35;
}

.cdvb-cta-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 5px;
  background: #fff;
  color: var(--cdvb-ink);
  font-weight: 900;
}

.cdvb-cta-banner small {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  background: #06283f;
  color: #dce9ef;
  padding: 0;
}

.site-footer .container {
  max-width: 1240px;
  padding-top: 30px;
  padding-bottom: 18px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 44px;
}

.footer-section h3,
.footer-section h4 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 15px;
}

.footer-section p,
.footer-section a,
.footer-section li {
  color: #dce9ef;
  font-size: 13px;
}

.footer-section ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-logo-img {
  max-width: 190px;
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom p {
  margin: 0;
}

.footer-legal,
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social {
  gap: 8px;
  margin-top: 8px;
}

.footer-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .cdvb-post-grid-6,
  .cdvb-post-grid-5,
  .cdvb-post-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cdvb-stats-band,
  .cdvb-cta-banner,
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header .container {
    min-height: 74px;
  }

  .cdvb-container {
    width: min(100% - 28px, 1240px);
  }

  .cdvb-hero {
    min-height: 0;
    padding: 40px 18px 64px;
  }

  .cdvb-hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.76)), var(--cdvb-hero-bg) center / cover no-repeat;
  }

  .cdvb-hero h1 {
    font-size: 42px;
  }

  .cdvb-search,
  .cdvb-process-grid,
  .cdvb-post-grid-6,
  .cdvb-post-grid-5,
  .cdvb-post-grid-4,
  .cdvb-post-grid-3,
  .cdvb-post-grid-2,
  .cdvb-stats-band,
  .cdvb-cta-banner,
  .footer-bottom,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .cdvb-search {
    width: 100%;
    padding: 14px;
  }

  .cdvb-search label {
    padding: 12px 4px;
    border-right: 0;
    border-bottom: 1px solid #dce5ea;
  }

  .cdvb-search button {
    min-height: 52px;
  }

  .cdvb-process {
    padding: 22px 18px;
  }

  .cdvb-stats-band div {
    grid-template-columns: 46px 1fr;
  }

  .cdvb-cta-banner {
    padding: 24px;
    gap: 18px;
  }

  .cdvb-cta-banner img {
    width: 150px;
  }
}

/* Internal WordPress pages */
body.page:not(.home) {
  background: #fff;
}

body.page:not(.home) .site-main:not(.cdv-builder-front-page),
body.page-template:not(.home) .main-content,
body.page-template:not(.home) .feed-viaggi-page,
body.page-template:not(.home) .contact-page,
body.page-template:not(.home) .registration-page,
body.page-template:not(.home) .wishlist-page,
body.page-template:not(.home) .privacy-settings-page,
body.page-template:not(.home) .pending-profile-page {
  background:
    linear-gradient(180deg, rgba(250, 246, 239, .72), #fff 360px),
    #fff !important;
  color: var(--cdvb-ink);
}

body.page:not(.home) .page-content {
  padding: 0 0 72px !important;
  background: transparent !important;
}

body.page:not(.home) .page-article {
  max-width: 1240px !important;
  padding: 0 0 32px;
}

body.page:not(.home) .page-header,
body.page-template .page-header,
body.page-template .page-hero,
body.page-template .feed-hero,
body.page-template .login-header,
body.page-template .registration-header,
body.page-template .dashboard-header,
body.page-template .wishlist-header,
body.page-template .pending-card,
body.page-template .groups-hero {
  position: relative;
  margin: 0 auto 42px !important;
  padding: 58px 0 46px !important;
  border: 0 !important;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(255,255,255,.96), rgba(255,255,255,.78) 44%, rgba(255,255,255,.34)),
    url("/wp-content/uploads/2025/11/hero-section-800x450.png") center / cover no-repeat !important;
  color: var(--cdvb-ink) !important;
  text-align: left !important;
  box-shadow: inset 0 -1px 0 rgba(15, 43, 68, .08);
}

body.page:not(.home) .page-content .page-article > .page-header {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(24px, calc((100vw - 1240px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1240px) / 2)) !important;
}

body.page:not(.home) .page-header::after,
body.page-template .page-hero::after,
body.page-template .feed-hero::after,
body.page-template .login-header::after,
body.page-template .registration-header::after,
body.page-template .dashboard-header::after,
body.page-template .wishlist-header::after,
body.page-template .groups-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -42px;
  height: 78px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 58% 58% 0 0;
}

body.page:not(.home) .page-header > .container,
body.page-template .page-hero > .container,
body.page-template .feed-hero-content,
body.page-template .login-header,
body.page-template .registration-header,
body.page-template .dashboard-header,
body.page-template .wishlist-header,
body.page-template .groups-hero > .container {
  width: min(1240px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

body.page-template .login-header,
body.page-template .registration-header {
  display: block;
  width: min(1240px, calc(100% - 48px));
  border-radius: 0;
}

body.page-template .page-header,
body.page-template .page-hero,
body.page-template .feed-hero,
body.page-template .login-header,
body.page-template .registration-header,
body.page-template .dashboard-header,
body.page-template .wishlist-header,
body.page-template .groups-hero,
body.page:not(.home) .page-content .page-header {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(24px, calc((100vw - 1240px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1240px) / 2)) !important;
}

body.page-template .page-header,
body.page-template .page-hero,
body.page:not(.home) .page-content .page-header {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-template .login-header,
body.page-template .registration-header,
body.page-template .dashboard-header,
body.page-template .wishlist-header {
  padding-left: max(24px, calc((100vw - 1240px) / 2 + 24px)) !important;
  padding-right: max(24px, calc((100vw - 1240px) / 2 + 24px)) !important;
}

body.page:not(.home) .page-title,
body.page-template .page-header h1,
body.page-template .page-hero h1,
body.page-template .feed-title,
body.page-template .login-header h1,
body.page-template .registration-header h1,
body.page-template .dashboard-header h1,
body.page-template .wishlist-header h1,
body.page-template .pending-card h1,
body.page-template .groups-hero h1 {
  max-width: 720px;
  margin: 0 0 12px !important;
  color: var(--cdvb-ink) !important;
  font-size: clamp(38px, 5vw, 64px) !important;
  line-height: 1.04 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

body.page:not(.home) .page-title::before,
body.page-template .page-header h1::before,
body.page-template .page-hero h1::before,
body.page-template .feed-title::before,
body.page-template .login-header h1::before,
body.page-template .registration-header h1::before,
body.page-template .dashboard-header h1::before,
body.page-template .wishlist-header h1::before,
body.page-template .groups-hero h1::before {
  content: "LA COMMUNITY DI CHI AMA VIAGGIARE";
  display: block;
  margin: 0 0 14px;
  color: var(--cdvb-teal);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

body.page-id-123 .page-hero h1,
body.page-id-307 .page-header h1,
body.page-id-370 .page-header h1 {
  font-size: 0 !important;
}

body.page-id-123 .page-hero h1::after,
body.page-id-307 .page-header h1::after,
body.page-id-370 .page-header h1::after {
  display: block;
  color: var(--cdvb-ink);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 700;
}

body.page-id-123 .page-hero h1::after {
  content: "Racconti di Viaggio";
}

body.page-id-307 .page-header h1::after {
  content: "Contattaci";
}

body.page-id-370 .page-header h1::after {
  content: "Impostazioni Privacy e Dati";
}

body.page:not(.home) .page-excerpt,
body.page-template .page-header p,
body.page-template .page-hero p,
body.page-template .feed-subtitle,
body.page-template .login-header p,
body.page-template .registration-header p,
body.page-template .dashboard-header p,
body.page-template .wishlist-header p,
body.page-template .groups-hero p {
  max-width: 640px;
  margin: 0 !important;
  color: #17344e !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
  opacity: 1 !important;
}

body.page-template .container,
body.page:not(.home) .container {
  max-width: 1240px;
}

body.page-template-page-login .main-content > .container {
  max-width: 1240px !important;
}

body.page-template-page-login .login-container {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

body.page-template .create-travel-wrapper,
body.page-template .registration-wrapper,
body.page-template .dashboard > .container,
body.page-template .privacy-settings-page > .container,
body.page-template .wishlist-content,
body.page-template .feed-container,
body.page-template .groups-grid,
body.page-template .groups-info {
  max-width: 1240px !important;
}

body.page:not(.home) .page-content-body,
body.page-template .section,
body.page-template .contact-layout,
body.page-template .create-travel-wrapper,
body.page-template .registration-wrapper,
body.page-template .dashboard > .container,
body.page-template .privacy-settings-page > .container,
body.page-template .wishlist-content,
body.page-template .feed-container,
body.page-template .groups-grid,
body.page-template .groups-info {
  position: relative;
  z-index: 1;
}

body.page-template .section-card,
body.page-template .sidebar-card,
body.page-template .form-section,
body.page-template .registration-form-container,
body.page-template .privacy-settings-section,
body.page-template .contact-form-section > div,
body.page-template .wishlist-count,
body.page-template .wishlist-empty,
body.page-template .dashboard-tabs,
body.page-template .tab-content,
body.page-template .groups-info,
body.page-template .group-card,
body.page-template .stat-card,
body.page-template .feed-section,
body.page:not(.home) .page-content-body {
  border: 1px solid var(--cdvb-line) !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 14px 36px rgba(15, 43, 68, .08) !important;
}

body.page:not(.home) .page-content-body {
  padding: 34px;
}

body.page-template .section-card,
body.page-template .sidebar-card,
body.page-template .form-section,
body.page-template .registration-form-container,
body.page-template .privacy-settings-section,
body.page-template .feed-section {
  padding: 28px !important;
}

body.page-template h2,
body.page-template h3,
body.page:not(.home) .page-content-body h2,
body.page:not(.home) .page-content-body h3 {
  color: var(--cdvb-ink) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

body.page-template h2::after,
body.page:not(.home) .page-content-body h2::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 10px;
  background: var(--cdvb-orange);
}

body.page-template p,
body.page-template li,
body.page:not(.home) .page-content-body {
  color: #34485f;
}

body.page-template .btn,
body.page-template .btn-primary,
body.page-template button[type="submit"],
body.page-template input[type="submit"],
body.page:not(.home) .page-content-body .wp-block-button__link {
  border: 0 !important;
  border-radius: 5px !important;
  background: var(--cdvb-orange) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 24px rgba(var(--cdvb-orange-rgb), .18) !important;
}

body.page-template .btn-secondary,
body.page-template .btn-outline {
  border: 1px solid var(--cdvb-teal) !important;
  background: #fff !important;
  color: var(--cdvb-ink) !important;
  box-shadow: none !important;
}

body.page-template input[type="text"],
body.page-template input[type="email"],
body.page-template input[type="password"],
body.page-template input[type="url"],
body.page-template input[type="number"],
body.page-template input[type="date"],
body.page-template select,
body.page-template textarea,
body.page:not(.home) .page-content-body input,
body.page:not(.home) .page-content-body select,
body.page:not(.home) .page-content-body textarea {
  width: 100%;
  border: 1px solid #cddbdd !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--cdvb-ink) !important;
  box-shadow: none !important;
}

body.page-template input:focus,
body.page-template select:focus,
body.page-template textarea:focus {
  outline: none !important;
  border-color: var(--cdvb-teal) !important;
  box-shadow: 0 0 0 3px rgba(var(--cdvb-teal-rgb), .14) !important;
}

body.page-template label {
  color: var(--cdvb-ink);
  font-weight: 800;
}

body.page-template .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.page-template .checkbox-group label,
body.page-template .radio-group label,
body.page-template .travel-type-option,
body.page-template .contact-info-item,
body.page-template .privacy-setting-item,
body.page-template .faq-item,
body.page-template .quick-links a {
  border: 1px solid var(--cdvb-line) !important;
  border-radius: 8px !important;
  background: #fbfefe !important;
}

body.page-template .registration-steps,
body.page-template .groups-stats,
body.page-template .dashboard-tabs,
body.page-template .stories-filters {
  border: 1px solid var(--cdvb-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 43, 68, .06);
}

body.page-template .registration-steps {
  padding: 18px;
  margin-bottom: 28px;
}

body.page-template .step-number,
body.page-template .badge-count,
body.page-template .stat-number {
  color: var(--cdvb-ink) !important;
}

body.page-template .step.active .step-number,
body.page-template .tab-button.active,
body.page-template .mobile-tab-toggle {
  background: var(--cdvb-teal) !important;
  color: #fff !important;
}

body.page-template .tab-button {
  border-radius: 5px !important;
  color: var(--cdvb-ink) !important;
  font-weight: 900 !important;
}

body.page-template .contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
}

body.page-template .story-card,
body.page-template .travel-card,
body.page-template .wishlist-travel-card {
  border: 1px solid var(--cdvb-line) !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 43, 68, .08) !important;
}

body.page-template .stories-grid {
  gap: 22px !important;
}

body.page-template .feed-cta-section,
body.page-template .disclaimer-box,
body.page-template .gdpr-notice {
  border-radius: 10px !important;
  border: 1px solid rgba(var(--cdvb-orange-rgb), .22) !important;
  background: #fff8f2 !important;
  color: var(--cdvb-ink) !important;
}

body.page-template .group-card-header {
  background: linear-gradient(135deg, var(--cdvb-teal), #46b8a8) !important;
}

@media (max-width: 900px) {
  body.page-template .contact-layout,
  body.page-template .form-row {
    grid-template-columns: 1fr;
  }

  body.page:not(.home) .page-header,
  body.page-template .page-header,
  body.page-template .page-hero,
  body.page-template .feed-hero,
  body.page-template .login-header,
  body.page-template .registration-header,
  body.page-template .dashboard-header,
  body.page-template .wishlist-header,
  body.page-template .groups-hero {
    padding: 40px 0 46px !important;
  }

  body.page:not(.home) .page-content-body,
  body.page-template .section-card,
  body.page-template .sidebar-card,
  body.page-template .form-section,
  body.page-template .registration-form-container,
  body.page-template .privacy-settings-section,
  body.page-template .feed-section {
    padding: 22px !important;
  }
}
