:root {
  --color-primary: #4a8b7a;
  --color-primary-dark: #3a6f61;
  --color-secondary: #c45c3e;
  --color-secondary-dark: #a3492f;
  --color-dark: #4a8b7a;
  --color-text: #4a8b7a;
  --color-muted: #4a8b7a;
  --color-light: #f7f7f5;
  --color-white: #fff;
  --font-base: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-dark);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-secondary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 92, 62, 0.3);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-secondary:hover {
  background: #f0f0f0;
  color: var(--color-dark);
  transform: translateY(-2px);
}

.trustpilot-btn {
  margin-top: 0.75rem;
}

.trustpilot-btn i {
  margin-left: 0.5rem;
  font-size: 1.1em;
}

/* Header */
.site-header-new {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: background 0.3s, box-shadow 0.3s;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

.site-header-new.scrolled {
  position: fixed;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
}

.site-header-new.scrolled .main-nav-new a,
.site-header-new.scrolled .menu-toggle-new span {
  color: var(--color-dark);
}

.site-header-new.scrolled .logo-new {
  background: transparent;
  box-shadow: none;
}

.header-inner-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.logo-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: background 0.3s, box-shadow 0.3s;
}

.logo-new img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav-new ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav-new a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.main-nav-new a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s;
}

.main-nav-new a:hover::after,
.main-nav-new a.active::after {
  width: 100%;
}

.main-nav-new .cta-nav {
  background: var(--color-secondary);
  color: var(--color-white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
}

.main-nav-new .cta-nav::after {
  display: none;
}

.main-nav-new .cta-nav:hover {
  background: var(--color-secondary-dark);
  color: var(--color-white) !important;
}

.main-nav-new .menu-cta-text {
  color: var(--color-secondary) !important;
  font-weight: 600;
}

.main-nav-new .menu-cta-text:hover {
  color: var(--color-secondary-dark) !important;
}

/* Header inline search (like vacanzeinvietnam.it) */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-size: 1.1rem;
}

.search-toggle:hover {
  background: rgba(255,255,255,0.15);
}

.site-header-new.scrolled .search-toggle,
.legacy-theme .search-toggle {
  color: var(--color-dark);
}

.site-header-new.scrolled .search-toggle:hover,
.legacy-theme .search-toggle:hover {
  background: rgba(0,0,0,0.06);
  color: var(--color-primary);
}

.search-input {
  width: 0;
  padding: 0.45rem 0;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  background: transparent;
  color: var(--color-dark);
  transition: width 0.25s ease, padding 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  pointer-events: none;
}

.header-search.is-open .search-input {
  width: 180px;
  padding: 0.45rem 0.75rem;
  border-color: #d1d5db;
  background: #fff;
  pointer-events: auto;
}

.header-search.is-open .search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42, 116, 117, 0.15);
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 320px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
}

.search-results.is-open {
  display: flex;
}

.search-result {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #f3f4f6;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}

.search-result:last-child {
  border-bottom: none;
}

/* Liste Inclusi / Non inclusi nelle pagine tour */
.single-st_tours .page-content ul li,
.single-st_tours .page-content ol li {
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.search-result:hover {
  background: #f9fafb;
}

.search-result-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.3;
}

.search-result-meta {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.search-no-results {
  padding: 0.8rem;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

.has-submenu {
  position: relative;
}

.has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.submenu-arrow {
  font-size: 0.7rem;
  opacity: 0.8;
}

.submenu {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--color-white);
  min-width: 210px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  z-index: 1001;
}

/* Ponte invisibile per colmare il vuoto tra voce menu e sottomenu */
.has-submenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
  z-index: 1000;
}

.submenu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 2rem;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--color-white);
}

.has-submenu:hover .submenu,
.has-submenu:hover::after,
.has-submenu.open .submenu,
.has-submenu.open::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  display: block;
  width: 100%;
}

.submenu a {
  color: var(--color-dark);
  display: block;
  padding: 0.55rem 1.25rem;
  white-space: nowrap;
}

.submenu a:hover {
  background: var(--color-light);
  color: var(--color-primary);
}

/* Mega menu for Destinations - two columns */
.has-mega-menu {
  position: relative;
}

.mega-menu {
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 520px;
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 0 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mega-menu ul,
.main-nav-new .mega-menu ul {
  display: block;
  flex-direction: unset;
}

.mega-menu li,
.main-nav-new .mega-menu li {
  display: block;
}

.mega-col-left {
  background: var(--color-light);
  padding: 1rem 0;
}

.destinations-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.destinations-list li {
  margin: 0;
}

.destinations-list a {
  display: block;
  padding: 0.7rem 1.25rem;
  color: var(--color-dark);
  font-weight: 500;
  border-left: 3px solid transparent;
}

.destinations-list a:hover,
.destinations-list a.active {
  background: var(--color-white);
  border-left-color: var(--color-secondary);
  color: var(--color-primary);
}

.mega-col-right {
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
}

.destination-panel {
  display: none;
}

.destination-panel.active {
  display: block;
}

.destination-panel h4 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--color-dark);
}

.destination-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.destination-panel li {
  margin-bottom: 0.5rem;
}

.destination-panel a {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.destination-panel a:hover {
  color: var(--color-primary);
}

.destination-panel p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.destination-panel .panel-link {
  display: inline-block;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.destination-panel .panel-link:hover {
  color: var(--color-secondary-dark);
}

.menu-toggle-new {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle-new span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: 0.3s;
}

@media (max-width: 900px) {
  .menu-toggle-new {
    display: flex;
  }
  .main-nav-new {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-white);
    padding: 5rem 2rem 2rem;
    transition: right 0.3s;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
  }
  .main-nav-new.open {
    right: 0;
  }
  .main-nav-new ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .main-nav-new a {
    color: var(--color-dark);
  }
  .main-nav-new .search-toggle {
    color: var(--color-dark);
  }
  .main-nav-new .cta-nav {
    color: var(--color-white) !important;
  }
  .site-header-new.scrolled .menu-toggle-new span,
  .site-header-new .menu-toggle-new span {
    background: var(--color-dark);
  }
  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    padding-left: 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
  }
  .has-submenu.open .submenu {
    display: block;
  }
  .mega-menu {
    width: 100%;
    padding-top: 0.5rem;
  }
  .mega-menu-inner {
    grid-template-columns: 1fr;
  }
  .mega-col-left {
    padding: 0.5rem 0;
  }
  .mega-col-right {
    padding: 1rem;
  }
  .destination-panel {
    display: block;
    margin-bottom: 1rem;
  }
  .destination-panel:not(.active) {
    display: none;
  }
}

/* Hero */
.hero,
.page-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  padding: 8rem 1rem 4rem;
  overflow: hidden;
}

.page-hero {
  min-height: 55vh;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}

.page-hero-content .lead {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  color: #fff !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.55);
}

.page-content-section {
  padding-top: 4rem;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.page-content img[src*="Logo-Group"],
.page-content .elementor-widget-image img[src*="Logo-Group"] {
  max-width: 180px !important;
  display: block;
  margin: 2rem auto;
}

.page-content svg:not(.e-font-icon-svg) {
  max-width: 180px;
  max-height: 180px;
  display: block;
  margin: 2rem auto;
}

.page-content svg.e-font-icon-svg,
#st-content-wrapper svg.e-font-icon-svg {
  width: 1em;
  height: 1em;
  max-width: 48px;
  max-height: 48px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.25rem 0 0;
}

.page-content .elementor-section-boxed .elementor-container {
  max-width: 100%;
}

.page-content .elementor img {
  max-width: 100%;
  height: auto;
}

.page-content .elementor-section {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.page-content .elementor-widget-wrap {
  padding: 0 !important;
}

/* Elementor accordion fallback (static site, no Elementor accordion JS/CSS) */
#st-content-wrapper .elementor-accordion {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
}

#st-content-wrapper .elementor-accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

#st-content-wrapper .elementor-accordion-item:last-child {
  border-bottom: none;
}

#st-content-wrapper .elementor-tab-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: var(--color-white);
  transition: background 0.2s;
}

#st-content-wrapper .elementor-tab-title:hover {
  background: var(--color-light);
}

#st-content-wrapper .elementor-accordion-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
}

#st-content-wrapper .elementor-accordion-icon-opened {
  display: none;
}

#st-content-wrapper .elementor-active .elementor-accordion-icon-closed {
  display: none;
}

#st-content-wrapper .elementor-active .elementor-accordion-icon-opened {
  display: inline-flex;
}

#st-content-wrapper .elementor-accordion-title {
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

#st-content-wrapper .elementor-tab-content {
  display: none;
  padding: 0 1.25rem 1.25rem 3.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

#st-content-wrapper .elementor-active + .elementor-tab-content {
  display: block;
}

/* Stats section on /chi-siamo/ */
#st-content-wrapper .elementor-element-5126ff58 {
  padding: 2rem 0;
}

#st-content-wrapper .elementor-element-5126ff58 > .elementor-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-col-25 {
  flex: 1 1 0;
  min-width: 0;
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-col-25 > .elementor-element-populated {
  padding: 0 !important;
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-inner-section {
  background: var(--color-light);
  border-radius: var(--radius);
  height: 100%;
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-inner-section > .elementor-container {
  height: 100%;
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-inner-column > .elementor-element-populated {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem !important;
  text-align: center;
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-widget-heading {
  margin: 0;
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-heading-title {
  margin: 0;
  line-height: 1.2;
}

/* First stat: "Partner Locali" */
#st-content-wrapper .elementor-element-5126ff58 .elementor-element-592ba8c2 .elementor-widget-heading {
  display: inline-block;
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-element-592ba8c2 .elementor-heading-title {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Number stats */
#st-content-wrapper .elementor-element-5126ff58 .elementor-col-25:not(.elementor-element-592ba8c2) .elementor-widget-heading:first-child .elementor-heading-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-col-25:not(.elementor-element-592ba8c2) .elementor-widget-heading:last-child .elementor-heading-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-top: 0.35rem;
}

/* Theme icons for each stat card */
#st-content-wrapper .elementor-element-5126ff58 .elementor-inner-column > .elementor-element-populated::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
  line-height: 1;
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-element-592ba8c2 .elementor-inner-column > .elementor-element-populated::before {
  content: "\f0c0";
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-element-12aa7efc .elementor-inner-column > .elementor-element-populated::before {
  content: "\f118";
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-element-6770b302 .elementor-inner-column > .elementor-element-populated::before {
  content: "\f0f2";
}

#st-content-wrapper .elementor-element-5126ff58 .elementor-element-318e6507 .elementor-inner-column > .elementor-element-populated::before {
  content: "\f06c";
}

@media (max-width: 768px) {
  #st-content-wrapper .elementor-element-5126ff58 > .elementor-container {
    flex-wrap: wrap;
  }

  #st-content-wrapper .elementor-element-5126ff58 .elementor-col-25 {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }
}

/* FAQ page header with search */
.etg-faq-header > .elementor-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  max-width: 1140px;
  margin: 0 auto;
}

.etg-faq-intro {
  flex: 1 1 auto;
}

.etg-faq-intro h3 {
  margin: 0 0 0.5rem;
  color: var(--color-dark);
}

.etg-faq-intro p {
  margin: 0;
  color: var(--color-muted);
}

.etg-faq-search {
  flex: 0 0 280px;
}

.etg-faq-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-size: 0.95rem;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%234a8b7a' d='M505 442.7 405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z'/%3E%3C/svg%3E") no-repeat 0.9rem center/1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.etg-faq-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74, 139, 122, 0.15);
}

@media (max-width: 768px) {
  .etg-faq-search {
    flex: 1 1 100%;
  }
}

.hero {

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p.lead {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Search bar */
.hero-search {
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 50px;
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero-search a {
  color: var(--color-white);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s;
}

.hero-search a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
}

/* Section generic */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-dark);
  margin: 0 0 0.75rem;
}

.section-header p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Destinations */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.destination-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  background: #f5f5f5;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

.destination-card:hover img {
  transform: scale(1.08);
}

.destination-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--color-white);
}

.destination-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.4rem;
}

.destination-card span {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Tours */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tour-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.tour-card:hover {
  transform: translateY(-6px);
}

.tour-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #f5f5f5;
}

.tour-card .info {
  padding: 1.25rem;
}

.tour-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--color-dark);
}

.tour-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.tour-card .price {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

.tour-card .btn-sm {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
}

.tour-card .btn-sm:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

/* Why us / features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature {
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
}

.feature-icon i {
  line-height: 1;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature p {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA section */
.cta-section {
  background: #f4f2ee;
  color: var(--color-dark);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}

.cta-section .btn-secondary:hover {
  background: var(--color-light);
}

/* Footer */
.site-footer-new {
  background: #4a8b7a;
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.page-chi-siamo .site-footer-new {
  padding-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  width: 62px;
  height: 62px;
  min-width: 62px;
  min-height: 62px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.footer-logo img {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  object-fit: contain;
}

.footer-brand p {
  max-width: 300px;
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-white);
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact a {
  color: var(--color-white);
}

.footer-cta {
  margin-top: 1.25rem;
}

.footer-cta .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.footer-blog-intro {
  font-size: 0.9rem;
  margin: -0.5rem 0 0.75rem;
  opacity: 0.8;
}

.footer-brand h4 {
  margin-top: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  transition: background 0.2s, transform 0.2s;
}

.social-icons a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom p {
  margin: 0.25rem 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.8);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
  }
}

/* idee-di-viaggio page content overrides */
.page-content-section {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Avvicina il contenuto all'hero nelle pagine idee di viaggio */
.page-idee-di-viaggio-thailandia .page-content-section,
.page-idee-di-viaggio-vietnam .page-content-section,
.page-idee-di-viaggio-cambogia .page-content-section,
.page-idee-di-viaggio-laos .page-content-section,
.page-idee-di-viaggio-indonesia .page-content-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.page-content-section .elementor-widget-text-editor,
.page-content-section p,
.page-content-section li {
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-content-section .elementor-button {
  background-color: var(--color-primary) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 0.85rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background-color 0.2s !important;
}

.page-content-section .elementor-button:hover {
  background-color: var(--color-primary-dark) !important;
}

/* Ospiti Speciali regions grid (matches original design) */
#st-content-wrapper .elementor-element-b03507f {
  text-align: center;
}

#st-content-wrapper .elementor-element-b03507f .elementor-widget-text-editor {
  color: #424242;
  font-size: 1rem;
  line-height: 1.6;
}

#st-content-wrapper .elementor-element-1d88289 > .elementor-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 3rem 0;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-col-25 {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 10px;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-col-25 > .elementor-element-populated {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  padding: 20px 0 30px 0 !important;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
  overflow: hidden;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-col-25 > .elementor-element-populated > .elementor-background-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-primary);
  z-index: 0;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-col-25 > .elementor-element-populated > *:not(.elementor-background-overlay) {
  position: relative;
  z-index: 1;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-element-cf098ff > .elementor-element-populated {
  background-image: url('/static/media/www-static.easytravelgeo.com/wp-content/uploads/2026/03/Leone.webp');
}

#st-content-wrapper .elementor-element-1d88289 .elementor-element-cf098ff > .elementor-element-populated > .elementor-background-overlay {
  opacity: 0.2;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-element-ffd5818 > .elementor-element-populated {
  background-image: url('/static/media/www-static.easytravelgeo.com/wp-content/uploads/2026/03/australia.webp');
}

#st-content-wrapper .elementor-element-1d88289 .elementor-element-ffd5818 > .elementor-element-populated > .elementor-background-overlay {
  opacity: 0.8;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-element-ffdaa6b > .elementor-element-populated {
  background-image: url('/static/media/www-static.easytravelgeo.com/wp-content/uploads/2026/03/maldive.jpg');
}

#st-content-wrapper .elementor-element-1d88289 .elementor-element-ffdaa6b > .elementor-element-populated > .elementor-background-overlay {
  opacity: 0.8;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-element-fe52bf1 > .elementor-element-populated {
  background-image: url('/static/media/www-static.easytravelgeo.com/wp-content/uploads/2026/03/peru.jpg');
}

#st-content-wrapper .elementor-element-1d88289 .elementor-element-fe52bf1 > .elementor-element-populated > .elementor-background-overlay {
  opacity: 0.8;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-heading-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#st-content-wrapper .elementor-element-1d88289 .elementor-widget-button {
  margin-top: auto;
  padding-top: 20px;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-button {
  background-color: #fff !important;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary) !important;
  border-radius: 10px !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background-color 0.2s, color 0.2s !important;
}

#st-content-wrapper .elementor-element-1d88289 .elementor-button:hover {
  background-color: var(--color-primary) !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  #st-content-wrapper .elementor-element-1d88289 > .elementor-container {
    flex-wrap: wrap;
  }

  #st-content-wrapper .elementor-element-1d88289 .elementor-col-25 {
    flex: 1 1 calc(50% - 20px);
    min-width: 140px;
    padding: 0 10px 20px;
  }
}

@media (max-width: 480px) {
  #st-content-wrapper .elementor-element-1d88289 .elementor-col-25 {
    flex: 1 1 100%;
  }
}

/* Center title and bottom banner on Ospiti Speciali */
#st-content-wrapper .elementor-element-98e4dfd,
#st-content-wrapper .elementor-element-6098066 {
  text-align: center;
}

#st-content-wrapper .elementor-element-98e4dfd .elementor-widget-text-editor,
#st-content-wrapper .elementor-element-6098066 .elementor-widget-text-editor {
  text-align: center;
}

#st-content-wrapper .elementor-element-98e4dfd .elementor-widget-container,
#st-content-wrapper .elementor-element-6098066 .elementor-widget-container {
  text-align: center;
}

/* Blog page */
.etg-blog-section {
  padding: 3rem 0 5rem;
}

.etg-blog-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.etg-blog-intro h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.etg-blog-intro p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.etg-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.etg-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.etg-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.etg-blog-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.etg-blog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.etg-blog-body h3 {
  color: var(--color-dark);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.etg-blog-body p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.etg-blog-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Contact page fixes */
.contact-page .content img.emoji {
  width: 1.2em;
  height: 1.2em;
  display: inline-block !important;
  vertical-align: middle;
  margin-right: 0.3em;
}

.contact-page .content p {
  line-height: 1.8;
}

.etg-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.etg-checklist li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.etg-checklist li strong {
  color: var(--color-dark);
  font-weight: 600;
}

.etg-checklist-detail {
  display: block;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
  line-height: 1.45;
}

.etg-checklist li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.1em;
  color: var(--color-primary);
}

.etg-checklist li.icon-request::before {
  content: "\f15c";
}

.etg-checklist li.icon-contact::before {
  content: "\f508";
}

.etg-checklist li.icon-quote::before {
  content: "\f571";
}

.etg-checklist li.icon-commission::before {
  content: "\f4c0";
}

.etg-checklist li.icon-price::before {
  content: "\f02c";
}

.contact-page .gform_wrapper,
.contact-page #gform_wrapper_6,
.contact-page .gform_legacy_markup_wrapper {
  display: none !important;
}

.contact-page .content h2 {
  color: var(--color-dark);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.contact-page .content p {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-form h2 {
  color: var(--color-primary);
}

.contact-form button[type="submit"] {
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.contact-form button[type="submit"]:hover {
  background: var(--color-primary-dark);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label,
.contact-form .form-fieldset {
  display: block;
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: #232323;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form input[type="date"],
.contact-form .etg-datepicker,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  font-weight: 400;
  color: #232323;
  background: #fff;
  border: 1px solid #b0bec5;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form input[type="date"]:focus,
.contact-form .etg-datepicker:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 174, 159, 0.12);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input.etg-datepicker[type="text"] {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20448%20512%27%3E%3Cpath%20fill%3D%27%235E6D77%27%20d%3D%27M152%2024c0-13.3-10.7-24-24-24s-24%2010.7-24%2024v40H64C28.7%2064%200%2092.7%200%20128v320c0%2035.3%2028.7%2064%2064%2064h320c35.3%200%2064-28.7%2064-64V128c0-35.3-28.7-64-64-64h-40V24c0-13.3-10.7-24-24-24s-24%2010.7-24%2024v40H152V24zm-32%2088h256c17.7%200%2032%2014.3%2032%2032v64H48v-64c0-17.7%2014.3-32%2032-32zm-32%20128h320v224c0%2017.7-14.3%2032-32%2032H64c-17.7%200-32-14.3-32-32V240z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.1rem;
  padding-right: 2.4rem;
  cursor: pointer;
}

.contact-form .form-fieldset {
  border: 1px solid #dae1e7;
  border-radius: 8px;
  padding: 1rem;
  margin: 0 0 1.25rem 0;
}

.contact-form .form-fieldset legend {
  width: auto;
  padding: 0 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
  float: none;
}

.contact-form .choice-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-weight: 400;
  color: #232323;
  cursor: pointer;
}

.contact-form .choice-label input[type="checkbox"],
.contact-form .choice-label input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  margin: 0;
}

.contact-form .choice-label span {
  line-height: 1.3;
}

.contact-form .destinations-group .choice-label {
  display: inline-flex;
  margin-right: 1rem;
}

.contact-form .checkbox {
  display: block;
  position: relative;
  padding-left: 1.8rem;
  font-weight: 400;
  font-size: 0.95rem;
  color: #232323;
  cursor: pointer;
  line-height: 1.5;
}

.contact-form .checkbox input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-primary);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-message.success {
  background: #e6f7f5;
  color: #117a6b;
  border: 1px solid #b3e5e0;
}

.form-message.error {
  background: #fdedec;
  color: #c0392b;
  border: 1px solid #f5b7b1;
}

@media (max-width: 576px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-page .content p.p2 {
  margin-top: 2rem;
  color: var(--color-primary);
}

.contact-form .form-captcha {
  display: block;
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: #232323;
}

.contact-form .form-captcha input[type="text"] {
  display: block;
  width: 100%;
  max-width: 160px;
  margin-top: 0.35rem;
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  border: 1px solid #dae1e7;
  border-radius: 8px;
}

.contact-form .checkbox a,
.contact-form .form-legal a {
  color: var(--color-primary);
  text-decoration: underline;
  display: inline-block;
  white-space: nowrap;
}

.contact-form .checkbox a:hover,
.contact-form .form-legal a:hover {
  color: var(--color-primary-dark);
}

.contact-form .form-legal {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #555;
}

/* Card idee di viaggio: niente riga recensioni; la durata (con icona orologio)
   prende il suo posto sopra il divisore, il prezzo sta sotto il divisore.
   Il divisore è spostato da .section-footer a .price-tour. */
.services-item.item-elementor .item .content-item .reviews {
  display: none;
}

.services-item.item-elementor .item .content-item .section-footer {
  border-top: none;
}

.services-item.item-elementor .item .content-item .price-wrapper.price-wrapper-tour {
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  row-gap: 15px;
  min-height: unset;
}

.services-item.item-elementor .item .content-item .price-wrapper.price-wrapper-tour .unit {
  order: -1;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: normal;
}

.services-item.item-elementor .item .content-item .price-wrapper.price-wrapper-tour .price-tour {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  border-top: 1px solid #DEDEDE;
  padding-top: 15px;
}

.services-item.item-elementor .item .content-item .price-wrapper.price-wrapper-tour .price {
  margin-left: 0;
  margin-right: 0;
  white-space: nowrap;
}

/* Card idee di viaggio: stessa altezza per tutte le card della riga.
   Le colonne diventano flex, la card riempie la colonna e il footer
   (durata + prezzo) viene ancorato in basso così le righe si allineano. */
.st-list-service.grid .service-list-wrapper .row > [class*="col-"] {
  display: flex;
}

.st-list-service.grid .services-item.grid.item-elementor {
  display: flex;
  width: 100%;
}

.st-list-service.grid .services-item.grid.item-elementor .item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.st-list-service.grid .services-item.grid.item-elementor .item .content-item {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.st-list-service.grid .services-item.grid.item-elementor .item .content-item .section-footer {
  margin-top: auto;
  padding-top: 20px;
}

/* Pagina tour: nascondi il blocco valutazione vuota nell'header
   ("Nessuna valutazione / da 0 recensioni"). */
.single-st_tours .st-service-header .review-score {
  display: none;
}

/* Card correlate ("Potrebbero interessarti"): stesso layout delle card
   dell'elenco principale — niente recensioni, durata con orologio sopra
   il divisore, prezzo sotto, tutte alla stessa altezza. */
.st-list-tour-related > [class*="col-"] {
  display: flex;
}

.st-list-tour-related .item.item-tours {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.st-list-tour-related .item .content-item {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.st-list-tour-related .item .content-item .section-footer {
  margin-top: auto;
}

.st-list-tour-related .item .content-item .section-footer .reviews {
  display: none !important; /* vince .d-flex di Bootstrap */
}

.st-list-tour-related .item .content-item .section-footer .footer-inner {
  flex-direction: column;
  align-items: center !important;
  row-gap: 15px;
}

.st-list-tour-related .item .content-item .section-footer .service-duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  text-align: center;
}

.st-list-tour-related .item .content-item .section-footer .price-wrapper {
  width: 100%;
  justify-content: center !important;
  border-top: 1px solid #DEDEDE;
  padding-top: 15px;
}

/* Widget Trustpilot: niente bordo di focus persistente dopo il click. */
.trustpilot-widget iframe,
.trustpilot-widget iframe:focus {
  outline: none;
  border: none;
}

/* Card idee di viaggio: titolo limitato a 2 righe per ridurre lo spazio
   vuoto e accorciare le card (elenco principale e correlate). */
.services-item.item-elementor .item .content-item .title,
.st-list-tour-related .item .content-item .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.st-list-service.grid .services-item.grid.item-elementor .item .content-item .section-footer {
  padding-top: 10px;
}


/* Fix mobile: la colonna della grid contatti puo' superare la larghezza
   del viewport; min-width:0 permette al contenuto elementor di restringersi.
   (grid-template minmax e' nella regola .contact-layout in static/css/main.css) */
.contact-page .content {
  min-width: 0;
}

/* Destination card in home: su mobile il rapporto 4/5 (verticale) croppa
   troppo le foto landscape; 4/3 le mostra quasi intere. */
@media (max-width: 768px) {
  .destination-card {
    aspect-ratio: 4/3;
  }
}

/* Thank you page */
.etg-thankyou-box {
  text-align: center;
  padding: 2.5rem 2rem;
  max-width: 680px;
  margin: 2rem auto;
  background: #4a8b7a;
  border-radius: 16px;
  color: #fff;
}

.etg-thankyou-box .etg-thankyou-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: #fff;
  color: #4a8b7a;
  font-size: 2rem;
  border-radius: 50%;
}

.etg-thankyou-box h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.etg-thankyou-box p {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.etg-thankyou-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 8rem 1rem 4rem;
}

.etg-thankyou-section .container {
  width: 100%;
}

.etg-thankyou-box .btn {
  margin-top: 1.5rem;
  background: #fff;
  color: #4a8b7a;
  border: 2px solid #fff;
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.etg-thankyou-box .btn::after {
  content: "→";
  margin-left: 0.5rem;
  display: inline-block;
  transition: transform 0.2s;
}

.etg-thankyou-box .btn:hover {
  background: #f5f5f5;
  color: #4a8b7a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.etg-thankyou-box .btn:hover::after {
  transform: translateX(4px);
}

/* Agenzie amiche */
.etg-agenzie-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.etg-agenzie-header {
  text-align: center;
  margin-bottom: 1rem;
}

.etg-agenzie-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.etg-agenzie-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
}

.etg-agenzie-hero {
  margin: 1rem 0 1.5rem;
}

.etg-agenzie-hero img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.etg-agenzie-intro {
  padding: 1.5rem;
  background: var(--color-light);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.etg-agenzie-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #232323;
  margin: 0;
}

.etg-agenzie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.etg-agenzie-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.etg-agenzie-card h3 {
  font-size: 1.2rem;
  color: #888;
  margin: 0;
  font-weight: 500;
}

.etg-agenzie-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--color-light);
  border-radius: var(--radius);
}

.etg-agenzie-footer h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.etg-agenzie-footer p {
  font-size: 1rem;
  color: #232323;
  margin: 0;
}

@media (max-width: 768px) {
  .etg-agenzie-grid {
    grid-template-columns: 1fr;
  }
  .etg-agenzie-header h2 {
    font-size: 1.6rem;
  }
}

/* Ospiti speciali - override layout originale Elementor */
.agenzie-page.page-content-section {
  padding-top: 1rem;
}

.agenzie-page .elementor-15867 .elementor-element.elementor-element-1d88289 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.agenzie-page .elementor-15867 .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 2px !important;
}

.agenzie-page .elementor-15867 .elementor-col-25 > .elementor-element-populated {
  margin-left: 0 !important;
  margin-right: 0 !important;
  --e-column-margin-left: 0 !important;
  --e-column-margin-right: 0 !important;
}

/* Africa sud orientale - spazio tra immagine principale e titoli */
.page-content-section .elementor-15686 .elementor-element-878abd3,
.page-content-section .elementor-15686 .elementor-element-930118c {
  margin-top: 1.25rem !important;
}

/* Pagine Info destinazioni: separatore sopra "Idee di viaggio" */
.page-content-section .elementor-12729 .elementor-element-5d3bd676,
.page-content-section .elementor-12719 .elementor-element-0fe153e,
.page-content-section .elementor-12738 .elementor-element-1e38bc2e,
.page-content-section .elementor-15458 .elementor-element-7ec3e0b7,
.page-content-section .elementor-12682 .elementor-element-27c9772 {
  margin-top: 1.25rem !important;
  border-top: 1px solid #e0e0e0 !important;
  padding-top: 1.25rem !important;
}

/* Mega menu destination panels with background images */
.destination-panel {
  position: relative;
  min-height: 220px;
  padding: 1.25rem 1.5rem;
  background-size: cover;
  background-position: center;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.destination-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 100%);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.destination-panel > * {
  position: relative;
  z-index: 1;
}

.destination-panel[data-destination="thailandia"] {
  background-image: url('/static/media/www-static.easytravelgeo.com/wp-content/uploads/2023/03/Koh-Phangan-1-card.webp');
}

.destination-panel[data-destination="vietnam"] {
  background-image: url('/static/media/www-static.easytravelgeo.com/wp-content/uploads/2026/04/vietnam-card.webp');
}

.destination-panel[data-destination="cambogia"] {
  background-image: url('/static/media/www-static.easytravelgeo.com/wp-content/uploads/2024/09/Angkor-Wat-card.webp');
}

.destination-panel[data-destination="laos"] {
  background-image: url('/static/media/www-static.easytravelgeo.com/wp-content/uploads/2026/03/Wat-Xiengthong-1-card.webp');
}

.destination-panel[data-destination="indonesia"] {
  background-image: url('/static/media/www-static.easytravelgeo.com/wp-content/uploads/2023/01/padar-card.webp');
}

.destination-panel[data-destination="team"],
.destination-panel[data-destination="faqs"],
.destination-panel[data-destination="condizioni"],
.destination-panel[data-destination="privacy"],
.destination-panel[data-destination="cookie"] {
  background-image: none;
}

.destination-panel[data-destination="team"]::before,
.destination-panel[data-destination="faqs"]::before,
.destination-panel[data-destination="condizioni"]::before,
.destination-panel[data-destination="privacy"]::before,
.destination-panel[data-destination="cookie"]::before {
  display: none;
}

@media (max-width: 900px) {
  .destination-panel {
    min-height: auto;
    background-image: none !important;
  }
  .destination-panel::before {
    display: none;
  }
}

/* Tour cards carousel (Chi siamo) */
.etg-tour-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.etg-tour-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.etg-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.etg-tour-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
}

.etg-tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.etg-tour-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.etg-tour-card-body h3 {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  color: var(--color-dark);
  line-height: 1.3;
}

.etg-tour-card-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.45;
  margin: 0 0 1rem;
  flex: 1;
}

.etg-tour-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-weight: 500;
}

.etg-tour-card-price {
  font-weight: 700;
}

.etg-tour-card-cta {
  display: block;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s;
}

.etg-tour-card:hover .etg-tour-card-cta {
  background: var(--color-primary-dark);
}

@media (max-width: 992px) {
  .etg-tour-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .etg-tour-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .header-search {
    width: 100%;
    margin: 0.5rem 0;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .header-search.is-open .search-input {
    flex: 1;
    width: auto;
  }

  .search-input {
    pointer-events: auto;
    border-color: #d1d5db;
    background: #fff;
    width: 0;
  }

  .search-results {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
}

/* Benefici pagina Contatti */
.contact-benefits {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.contact-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.contact-benefits .cb-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #2f855a;
  margin-top: 0.125rem;
}

.contact-benefits .cb-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
