/* ===========================
   Import Google Fonts
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;900&display=swap');

/* ===========================
   Box Ricerca Archivio
=========================== */
.cristoforo-search-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;

  padding: 40px;
  background: #fae2cf; 
  color: #000;
  border-radius: 8px;

  max-width: 1140px;
  margin: 0 auto;
  box-sizing: border-box;

  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.cs-header {
  flex: 1 1 45%;
  min-width: 280px;
}

.cs-header h2 {
  font-family: 'painting-with-chocolate', serif;
  font-size: 32px;
  line-height: 1.3em;
  margin-bottom: 15px;
  color: #000;
}

.cs-header strong {
  color: #e5004f;
  font-weight: 700;
}

.cs-header p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #333;
}

.cs-form {
  flex: 1 1 45%;
  min-width: 300px;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.cs-radio {
  margin-bottom: 20px;
  font-weight: 600;
  color: #000;
}

.cs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.cs-filters select {
  flex: 0 0 calc(50% - 15px);
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 15px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.cs-btn-yellow {
  display: block;
  width: 100%;
  padding: 15px;
  background: #e5004f;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background .3s ease;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.cs-btn-yellow:hover { background: #b8003c; }

.cs-link {
  display: block;
  margin-top: 15px;
  color: #e5004f;
  text-decoration: underline;
  font-weight: 500;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 992px) {
  .cristoforo-search-wrap {
    padding: 30px;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .cristoforo-search-wrap {
    flex-direction: column;
    padding: 20px;
    margin: 0 15px; /* aria ai lati */
  }

  .cs-form {
    max-width: 100%; /* non schiacciare il form */
  }

  .cs-filters select {
    flex: 0 0 100%;
    margin-bottom: 15px;
  }

  .cs-header h2 {
    font-size: 26px;
  }
}

/* ===========================
   Boxed Container
=========================== */
.viaggio-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  color: #333;
}

/* Titolo */
.viaggio-header { margin-bottom: 20px; text-align: center; }

.viaggio-title {
  font-family: 'painting-with-chocolate', serif;
  font-size: 34px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

/* Hero Grid */
.cs-hero-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.cs-hero-left, .cs-hero-right {
  flex: 1;
  min-height: 320px;
}

.cs-hero-left img,
.cs-hero-right iframe,
.cs-map-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.cs-map-placeholder {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

/* Info Box */
.cs-intro-box {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cs-intro-box h3 {
  font-family: 'painting-with-chocolate', serif;
  font-size: 20px;
  margin-bottom: 8px;
  color: #111;
}

.cs-intro-box a {
  font-size: 14px;
  color: #e5004f;
  text-decoration: underline;
  margin-bottom: 10px;
  display: inline-block;
}

/* Taxonomies pills */
.cs-taxonomies { margin-top: 10px; }

.cs-pill {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  display: inline-block;
  background: #e5004f;
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  margin: 3px;
}

/* Sezioni */
.viaggio-section {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.viaggio-section-left {
  flex: 0 0 200px;
  border-left: 4px solid #e5004f;
  padding-left: 12px;
}

.viaggio-section-left h3 {
  font-family: 'painting-with-chocolate', serif;
  font-size: 20px;
  margin: 0 0 10px;
  color: #111;
}

.viaggio-section-right { flex: 1; }

.gite-body p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

/* Galleria */
.viaggio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.viaggio-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.viaggio-gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}



.viaggio-section-left h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #e5004f;
}
.viaggio-section-left h3 i {
  color: #e5004f;
  font-size: 18px;
}


/* Responsive */
@media (max-width: 768px) {
  .cs-hero-grid, .viaggio-section {
    flex-direction: column;
  }

  .viaggio-section-left {
    border-left: none;
    border-top: 4px solid #e5004f;
    padding-left: 0;
    padding-top: 10px;
    flex: 0;
  }

  .cs-hero-left, .cs-hero-right {
    min-height: auto;
  }
}




/* ===========================
   Form Contatto Viaggio
=========================== */
.viaggio-contatto {
  margin-top: 60px;
}

.lead-form-wrapper {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.lead-form-title {
  font-family: 'painting-with-chocolate', serif;
  font-size: 26px;
  color: #e5004f;
  text-align: center;
  margin-bottom: 30px;
}

.lead-form-wrapper iframe {
  width: 100%;
  min-height: 680px; /* regola in base al form */
  border: none;
  border-radius: 8px;
  background: #fff;
  transition: all 0.3s ease;
}

.lead-form-wrapper iframe:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 768px) {
  .lead-form-wrapper {
    padding: 25px 15px;
  }

  .lead-form-title {
    font-size: 22px;
  }

  .lead-form-wrapper iframe {
    min-height: 780px;
  }
}
