/* --- REGOLAZIONI BASE ED DESKTOP --- */
.custom-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate !important;
  border-spacing: 0 16px !important; /* Spazio verticale pulito tra i blocchi */
  border: none !important;
  background: transparent !important;
}

/* Stile della riga intera */
.custom-table tr {
  background-color: #f3efe6; /* Tono sabbia leggermente più scuro rispetto al fondo #F9F7F1 */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Regole generali per tutte le celle td per RIMOZIONE TOTALE DEI BORDI */
.custom-table td {
  padding: 18px 20px;
  vertical-align: middle;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Prima colonna (Immagine) */
.custom-table td:nth-child(1) {
  width: 30%;
  text-align: center;
  background-color: #f3efe6; /* Mantiene il tono sabbia */
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

/* Seconda colonna (Testo): Schiarita a #FDFBF7 per dare respiro al testo */
.custom-table td:nth-child(2) {
  width: 70%;
  text-align: left;
  background-color: #fdfbf7; /* Un velo crema/bianco caldo molto luminoso */
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  color: #333333;
}

/* Reset totale bordi/ombre su immagini (anche per classi WordPress) */
.custom-table td img {
  display: inline-block;
  float: none !important;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* --- MOBILE / PORTRAIT (<= 768px) --- */
@media screen and (max-width: 768px) {
  .custom-table,
  .custom-table tbody,
  .custom-table tr,
  .custom-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    border: none !important;
  }

  .custom-table tr {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden; /* Mantiene gli angoli arrotondati puliti */
  }

  .custom-table td:nth-child(1) {
    border-radius: 8px 8px 0 0;
    padding: 16px 12px 8px 12px;
  }

  .custom-table td:nth-child(2) {
    border-radius: 0 0 8px 8px;
    padding: 12px 16px 16px 16px;
    text-align: center;
  }
}

/*footer logo*/
.footer_logos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-block: 20px;
}
.footer_logos img {
  width: 100%;
  height: auto;
  max-width: 300px;
}
.section_icons .services_list .service_wrap .icon {
    color: var(--highlighted) !important;
}
.section_icons .services_list .service_wrap .label {
    color: var(--highlighted) !important;
}
.the_content h3, .fbm-description h3, .description h3 {
    font-family: var(--first-font) !important;
}
.the_content h4, .fbm-description h4, .description h4 {
    font-weight: 400 !important;
    font-style: italic;
    color: var(--highlighted);
    margin-top: 0.5em;
}
.filters_select {
    flex-wrap: nowrap;
    max-width: max-content;
}
@media (max-width: 767px) {
    .gallery_section.carousel .filters_wrap .filters_select select {
        font-size: 0.75em;
    }
}
#anchors_wrap #anchors .container .wrap .btnCta {
    display: none;
}
.gallery_section.grid .elements_wrapper {
    overflow: hidden;
}
.gform_wrapper form .gform_body ul.gform_fields li.gfield .ginput_container_consent label:before {
    display:none;
}
.section_icons .services_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: center;
}
#meeting-table-1 .table .table_row .table_cell.table_label.first_in_row {
    display: none;
}
#meeting-table-1 .table .table_row .table_cell.custom_width {
    display: none;
}
#meeting-table-1 .table .table_row .table_cell.table_label {
    color: var(--highlighted);
}
#meeting-table-1 .table .table_row .table_cell {
    color: var(--highlighted);
}