@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Lora:ital,wght@0,400..700;1,400..700&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
.dimore-home-slide-subtitle, .qodef-section-title .qodef-m-tagline {
  font-family: "Sansation", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
  color: #27312A;
  text-transform: uppercase;
}

.dimore-home-slide-title, .qodef-h2, h2, h3, h4, h5, h6, .qodef-h1, h1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  word-wrap: unset;
  color: #1E2620;
}

.qodef-h2, h2 {
  font-size: 49px;
}
@media only screen and (max-width: 768px) {
  .qodef-h2, h2 {
    font-size: 39px;
  }
}

.qodef-h3, h3 {
  font-size: 39px;
}

.qodef-h4, h4 {
  font-size: 31px;
}

.dimore-home-slide-title {
  font-weight: 300;
}

.qodef-section-title .qodef-m-text, p, .qodef-copy-text, .qodef-testimonials-list .qodef-e-text, ul, li {
  font-family: "Lora", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #27312A;
  letter-spacing: 0 !important;
}

.qodef-copy-text {
  font-size: 13px !important;
}

.qodef-header-standard--right #qodef-page-header-inner .qodef-header-navigation {
  margin-left: unset;
}

.dimore-inverti-colonne {
  display: flex !important;
  flex-direction: row-reverse !important;
}

@media (max-width: 1024px) {
  .dimore-inverti-colonne {
    flex-direction: column-reverse !important;
  }
}
.qodef-button.qodef-html--link {
  border-radius: 20px;
  padding: 10px 15px;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1;
  text-transform: unset;
}

.qodef-button.qodef-layout--filled.qodef-html--link {
  background-color: transparent;
  color: black;
  border: 1px solid black;
}
.qodef-button.qodef-layout--filled.qodef-html--link:hover {
  border: 1px solid #516858;
  background-color: #516858;
  color: white;
}

.qodef-e-quote-mark path {
  stroke: #9CC9A9;
}

.swiper-pagination-bullets .swiper-pagination-bullet span {
  width: 8px;
  height: 8px;
}

.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 26px;
  height: 26px;
  margin: 0 4px !important;
}

/* Centra il menu di navigazione */
#qodef-page-header-inner {
  display: flex;
  align-items: center;
  position: relative;
}

.qodef-header-logo-link {
  position: relative;
  z-index: 2;
}

.qodef-header-navigation {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
}
@media only screen and (max-width: 1440px) {
  .qodef-header-navigation {
    left: unset;
    right: -45%;
  }
}

@media only screen and (max-width: 1180px) {
  .qodef-header-navigation > ul > li {
    margin: 0 17px;
  }
}

.qodef-header-navigation > ul {
  display: flex;
}

.qodef-header-sticky {
  height: 75px;
}

.dimore-bordo-pre::before {
  content: "";
  position: absolute;
  left: -45px;
  top: -10px;
  width: 0;
  height: 110%;
  border-left: 1px solid #637E6B;
}
@media only screen and (max-width: 1366px) {
  .dimore-bordo-pre::before {
    left: -10px;
  }
}
@media only screen and (max-width: 1024px) {
  .dimore-bordo-pre::before {
    display: none;
  }
}

.home-blocco-verde h6, .home-blocco-verde p {
  color: white !important;
}

.home-blocco-verde .qodef-button.qodef-layout--filled.qodef-html--link {
  background-color: #9CC9A9;
  border: 1px solid #9CC9A9;
}
.home-blocco-verde .qodef-button.qodef-layout--filled.qodef-html--link:hover {
  background-color: transparent;
  border: 1px solid #9CC9A9;
  color: white;
}

.qodef-portfolio-list .qodef-e {
  aspect-ratio: 1/1; /* Metodo moderno */
}

.qodef-portfolio-list .qodef-e img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Forza il contenitore ad essere quadrato */
.qodef-portfolio-list .qodef-e-inner {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Crea proporzione 1:1 */
  overflow: hidden;
}

/* Posiziona l'immagine in modo assoluto */
.qodef-portfolio-list .qodef-e-inner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#qodef-page-footer-top-area, #qodef-page-footer-bottom-area {
  background-color: #E9EAEB;
}

#qodef-page-footer-bottom-area-inner {
  border-top: 1px solid #D5D7DA;
  padding: 18px 0 30px 0;
}

.qodef-footer-logo .qodef-footer-logo-border {
  display: none;
}

[data-area=qodef-footer-top-area-column-4] .wp-block-gallery {
  margin: 0;
}

#qodef-page-footer .widget.widget_nav_menu {
  padding: 0 !important;
}

[data-area=qodef-footer-top-area-column-1] {
  margin: 0 !important;
}

#qodef-page-footer .widget .qodef-widget-title {
  margin: 0 0 15px;
}

/* Fix altezza immagini footer - colonna 4 - allineamento a sinistra */
[data-area=qodef-footer-top-area-column-4] figure.wp-block-gallery.has-nested-images {
  align-items: flex-start !important;
}

[data-area=qodef-footer-top-area-column-4] .wp-block-gallery {
  margin: 0 !important;
}

[data-area=qodef-footer-top-area-column-4] .wp-block-image.size-large,
[data-area=qodef-footer-top-area-column-4] .wp-block-image.size-large img {
  max-height: 40px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain !important;
}

.qodef-footer-logo {
  margin-bottom: 10px;
}

/* Assicura che le colonne della gallery siano allineate a sinistra */
[data-area=qodef-footer-top-area-column-4] .wp-block-gallery .wp-block-image {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  flex-grow: unset !important;
}

[data-area=qodef-footer-top-area-column-4] .wp-block-image.size-full {
  max-height: 20px;
}

[data-area=qodef-footer-top-area-column-4] .wp-block-heading {
  margin: 0;
}

#qodef-page-footer .widget {
  margin: 0 0 15px;
}

[data-area=qodef-footer-top-area-column-4] h5 {
  font-size: 20px;
  padding-top: 20px;
}

footer h6 {
  font-size: 16px !important;
  font-family: "Lora", serif !important;
}

footer h5 {
  font-family: "Lora", serif !important;
}

footer p {
  font-size: 13px !important;
}

#qodef-page-footer .widget ul:not(.qodef-shortcode-list) li a {
  color: #1E2620;
}

#qodef-page-footer .widget ul:not(.qodef-shortcode-list) li {
  font-family: "Lora", serif;
  line-height: 1.3;
  letter-spacing: 0;
  font-size: 13px;
  text-transform: unset;
  font-weight: 300;
}

#qodef-page-footer-top-area-inner {
  padding: 71px 0 29px;
}
@media only screen and (max-width: 1024px) {
  #qodef-page-footer-top-area-inner {
    padding-left: 9% !important;
    padding-right: 9% !important;
    margin: 0;
  }
}

@media only screen and (max-width: 768px) {
  #qodef-page-footer .qodef-grid-item:nth-child(2),
  #qodef-page-footer .qodef-grid-item:nth-child(3) {
    padding-bottom: 40px;
  }
  #qodef-page-footer .qodef-grid-item:nth-child(2):after,
  #qodef-page-footer .qodef-grid-item:nth-child(3):after {
    content: "";
    display: block;
    width: 139px;
    height: 1px;
    background-color: #A4A7AE;
    margin-top: 30px;
  }
}
#qodef-page-footer #text-2 {
  margin: 0;
  margin-bottom: 10px;
}
#qodef-page-footer .wp-block-social-links li {
  margin: 0 !important;
}

.qodef-grid.qodef-gutter--normal > .qodef-grid-inner > .qodef-grid-item {
  margin: 0;
}

#qodef-page-footer .widget a {
  color: #27312A !important;
}
#qodef-page-footer .widget a:hover {
  font-weight: 600;
}

#text-2 p a, #text-14 p a {
  border-bottom: 1px solid;
}

.dimore-border-a p a {
  border-bottom: 1px solid;
  color: #27312A !important;
}
.dimore-border-a p a:hover {
  font-weight: 600;
}

.qodef-page-title {
  height: 47px !important;
  background-color: #F3EEE8;
}

.qodef-breadcrumbs-link {
  color: #1E2620;
}

.qodef-page-title .qodef-breadcrumbs {
  font-family: "Lora", serif;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: unset;
  font-weight: 400;
}

.qodef-breadcrumbs-current {
  color: #27312A;
}

.qodef-qi-testimonials-list.qodef-item-layout--side-quote .qodef-e-bottom-info {
  justify-content: center;
}

.qodef-qi-testimonials-list.qodef-item-layout--side-quote .qodef-e-bottom-info .qodef-e-author-name {
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  padding-top: 8px;
}

.qodef-qi-testimonials-list.qodef-item-layout--side-quote .qodef-e-content {
  text-align: center;
}

.qodef-qi-testimonials-list .qodef-e-text {
  font-size: 39px;
}

.qodef-qi-section-title h3 {
  font-size: 39px;
  padding-bottom: 27px;
}

.qodef-addons-blog-slider .qodef-e-media-image img {
  height: 365px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.qodef-addons-blog-slider .swiper-pagination-bullets {
  display: none;
}

.qodef-addons-blog-slider.qodef-item-layout--standard .qodef-e-media {
  margin-bottom: unset;
}

.qodef-addons-blog-slider .qodef-blog-item .qodef-e-info.qodef-info--top .qodef-e-info-item {
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #A4A7AE;
}

.qodef-addons-blog-slider.qodef-item-layout--boxed .qodef-e-inner {
  box-shadow: none;
  background-color: transparent;
}

.qodef-addons-blog-slider.qodef-item-layout--boxed .qodef-e-content {
  padding: 0;
}

.qodef-qi-button.qodef-layout--textual {
  border-radius: 20px;
  padding: 10px 15px !important;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: normal;
  line-height: 1;
  background-color: transparent;
  color: #b48b5f !important;
  border: 1px solid #b48b5f;
}
.qodef-qi-button.qodef-layout--textual:hover {
  color: black !important;
  background-color: #b48b5f;
}

.qodef-addons-blog-slider .qodef-blog-item .qodef-e-read-more {
  margin-top: 0;
}

.dimore-white-block h2, .dimore-white-block p {
  color: white !important;
}

.dimore-white-block .qodef-button.qodef-layout--filled.qodef-html--link {
  color: white !important;
  border: 1px solid white !important;
}
.dimore-white-block .qodef-button.qodef-layout--filled.qodef-html--link:hover {
  color: black !important;
  background-color: white;
}

/* === IMMAGINI BLOG POST === */
.elementor-widget-emaurri_core_blog_list .qodef-blog-item .qodef-e-media {
  height: 250px;
  overflow: hidden;
  position: relative;
}
.elementor-widget-emaurri_core_blog_list .qodef-blog-item .qodef-e-media-image {
  height: 100%;
  width: 100%;
}
.elementor-widget-emaurri_core_blog_list .qodef-blog-item .qodef-e-media-image a {
  display: block;
  height: 100%;
  width: 100%;
}
.elementor-widget-emaurri_core_blog_list .qodef-blog-item .qodef-e-media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.elementor-widget-emaurri_core_blog_list .qodef-blog .qodef-blog-item .qodef-e-media > * {
  padding-bottom: 30px;
  margin-bottom: 0;
}
.elementor-widget-emaurri_core_blog_list .qodef-blog .qodef-blog-item .qodef-e-info.qodef-info--top {
  font-family: "Sansation", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
  color: #A4A7AE;
  padding-bottom: 16px;
}
.elementor-widget-emaurri_core_blog_list .qodef-blog .qodef-e-info-author {
  display: none !important;
}

.qodef-button.qodef-layout--outlined {
  color: #b48b5f !important;
  border: 1px solid #b48b5f;
}
.qodef-button.qodef-layout--outlined:hover {
  color: black !important;
  background-color: #b48b5f;
}

.qodef-blog .qodef-blog-item .qodef-e-info.qodef-info--bottom {
  margin-top: 0;
}

.qodef-blog .qodef-blog-item .qodef-e-title {
  font-size: 39px;
}
@media only screen and (max-width: 1024px) {
  .qodef-blog .qodef-blog-item .qodef-e-title {
    padding-bottom: 1em;
  }
}

@media only screen and (max-width: 1024px) {
  .qodef-blog.qodef--single .qodef-blog-item {
    margin-bottom: 0px;
  }
}

.qodef-blog.qodef--single .qodef-blog-item .qodef-e-info.qodef-info--bottom {
  display: none !important;
}

#qodef-page-sidebar .widget ul:not(.qodef-shortcode-list) li {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: #1E2620;
  text-transform: none;
  margin: 0 0 5px;
}

.dimore-blog-sideba p.qodef-e-title {
  font-family: "DM Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: unset !important;
}

.qodef-blog.qodef-item-layout--simple article .qodef-e-info.qodef-info--bottom {
  font-family: "Sansation", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
}

.qodef-blog.qodef-item-layout--simple article .qodef-e-media-image {
  width: 150px;
}

#qodef-page-sidebar .widget {
  margin: 0 0 30px;
}

#qodef-page-comments {
  display: none !important;
}

#qodef-single-post-navigation {
  display: none;
}

.qodef-header-navigation > ul > li > a {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: unset;
  color: #27312A;
}

.dimore-thank-you-text h1 {
  font-size: 96px;
}

.dimore-green-button.qodef-button.qodef-layout--filled.qodef-html--link {
  background-color: #516858;
  color: white;
  border: 1px solid #516858;
}
.dimore-green-button.qodef-button.qodef-layout--filled.qodef-html--link:hover {
  border: 1px solid #516858;
  color: #516858;
  background-color: transparent;
}

.error404 #qodef-page-outer {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.error404 .qodef-m-title.entry-title {
  display: none;
}

/* Nascondi "- Page not found" nel breadcrumb 404 */
.error404 .qodef-breadcrumbs-current {
  font-size: 0;
}

.error404 .qodef-breadcrumbs-current::before {
  content: "404";
  font-size: 14px; /* o la dimensione originale */
}

.elementor-widget-text-editor li {
  list-style: none;
  position: relative;
  padding-left: 18px;
  padding-bottom: 9px;
}
.elementor-widget-text-editor li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border: 1px solid #000000;
  border-radius: 50%;
  background-color: transparent;
}

.elementor-widget-emaurri_core_button .qodef-m-corner {
  display: none;
}

.qodef-button.qodef-layout--outlined .qodef-m-corner {
  display: none !important;
}

.qodef-counter.qodef-layout--simple .qodef-m-digit {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: #1E2620 !important;
}

.dimore-digit .qodef-m-title {
  font-family: "Sansation", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
  line-height: 1.2;
  text-transform: uppercase;
}

.dimore-digit .qodef-m-text {
  font-family: "Lora", serif !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  color: #27312A !important;
  letter-spacing: 0 !important;
  text-transform: unset !important;
}

.qodef-counter.qodef-layout--simple.qodef-spearator--on .qodef-m-digit-wrapper:after {
  display: none;
}

.qodef-widget-holder.qodef--one {
  display: none !important;
}

.dimore-gold-block .qodef-m-text {
  font-size: 13px;
}
.dimore-gold-block .qodef-m-title-text {
  font-size: 20px;
}

.dimore-checklist ul {
  list-style: none;
  padding: 0;
}

.dimore-checklist li {
  padding: 10px 15px;
  background: #f5f5f5;
  margin-bottom: 2px;
}

.dimore-checklist li:before {
  color: #9CC9A9;
  font-weight: bold;
  margin-right: 10px;
}

.dimore-fix-padding-slider .qodef-image-gallery.qodef-swiper-container {
  padding-bottom: 0;
}

.dimore-checklist-text .qodef-m-title {
  font-size: 31px;
}
.dimore-checklist-text .elementor-icon-list-text {
  font-family: "Lora", serif !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  color: #27312A !important;
  letter-spacing: 0 !important;
}
.dimore-checklist-text .dimore-home-slide-subtitle, .dimore-checklist-text .qodef-section-title .qodef-m-tagline {
  text-transform: unset !important;
}
.dimore-checklist-text h3.qodef-m-title {
  font-weight: 700;
}

.dimore-caratteristiche-box .qodef-m-title {
  font-size: 25px;
}
.dimore-caratteristiche-box .qodef-m-text {
  font-size: 16px !important;
}

#qodef-page-footer #nav_menu-2 .sub-menu {
  display: none;
}
#qodef-page-footer #nav_menu-2 .qodef-menu-item-arrow {
  display: none;
}

.dimore-menu-prev a {
  border-radius: 20px;
  padding: 10px 15px;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1;
  text-transform: unset;
  background-color: transparent;
  color: black;
  border: 1px solid black;
}
.dimore-menu-prev a:hover {
  border: 1px solid #1E2620;
  background-color: #1E2620;
  color: white !important;
}

.dimore-menu-prev {
  height: unset !important;
}

.dimore-menu-prev .qodef-menu-item-text:after {
  display: none !important;
}

.qodef-header-navigation > ul > li.qodef-menu-item--narrow ul li > a {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.3;
  color: #27312A;
  letter-spacing: 0 !important;
}

.qodef-header-navigation > ul > li.qodef-menu-item--narrow ul:not(.qodef-drop-down--right) li > a {
  margin: 0;
}

.qodef-header-navigation ul li.qodef-menu-item--narrow ul {
  padding: 20px;
  width: 210px;
}

.qodef-header-navigation ul li.qodef-menu-item--narrow ul li {
  padding: 10px;
}

/* Fix height collapsed su mobile */
@media (max-width: 1024px) {
  .qodef-portfolio-list .qodef-e-inner {
    height: auto !important;
    min-height: 300px !important;
  }
  /* Assicurati che anche gli elementi figli siano visibili */
  .qodef-portfolio-list .qodef-e-image,
  .qodef-portfolio-list .qodef-e-content {
    height: auto !important;
  }
}
.dimore-project-block .qodef-blog-item .qodef-e-inner {
  position: relative;
}
.dimore-project-block .qodef-blog-item .qodef-e-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.dimore-project-block .qodef-blog-item:hover .qodef-e-inner::before {
  background: rgba(0, 0, 0, 0.6);
}
.dimore-project-block .qodef-blog-item .qodef-e-content {
  position: absolute !important;
  top: 55% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  width: 90%;
  text-align: center;
  z-index: 10;
}
.dimore-project-block .qodef-blog-item:hover .qodef-e-content {
  opacity: 1 !important;
  visibility: visible !important;
}
.dimore-project-block .qodef-blog-item .qodef-e-content a {
  display: block;
  width: 100%;
  height: 100%;
}
.dimore-project-block .qodef-blog-item .qodef-e-title-link {
  display: block !important;
  width: 100% !important;
}
.dimore-project-block .qodef-blog-item .qodef-e-media {
  position: relative;
  z-index: 1;
}
.dimore-project-block .qodef-blog-item .qodef-e-inner {
  position: relative;
}
.dimore-project-block .qodef-blog-item .qodef-e-media {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Crea il quadrato */
  overflow: hidden;
}
.dimore-project-block .qodef-blog-item .qodef-e-media-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.dimore-project-block .qodef-blog-item .qodef-e-media-image a {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}
.dimore-project-block .qodef-blog-item .qodef-e-media-image img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.qodef-addons-blog-list .qodef-blog-item .qodef-e-info {
  display: block;
}

@media only screen and (max-width: 768px) {
  .dimore-fix-padding-mobile {
    padding-left: 9% !important;
  }
}

@media only screen and (max-width: 1024px) {
  div[data-element_type=container].qodef-elementor-content-grid.qodef-extended-grid--left {
    padding-left: calc((100% - 768px) / 2);
  }
}
@media only screen and (max-width: 1024px) {
  .dimore-fix-padding-mobile-full div[data-element_type=container].qodef-elementor-content-grid.qodef-extended-grid--left {
    padding-left: calc((100% - 768px) / 2);
    padding-right: calc((100% - 768px) / 2);
  }
}
@media only screen and (max-width: 768px) {
  .dimore-fix-padding-mobile-full {
    padding-left: 9% !important;
    padding-right: 9% !important;
  }
}

@media only screen and (max-width: 768px) {
  .qodef-testimonials-list {
    overflow: visible;
  }
  .qodef-e-quote-mark {
    top: -26px !important;
  }
  .qodef-addons-blog-list.qodef-item-layout--info-on-image .qodef-e-content {
    padding: unset;
  }
  .qodef-addons-blog-list.qodef-item-layout--info-on-image .qodef-e-title {
    font-size: 13px;
  }
  .qodef-blog-item .qodef-e-content {
    top: 50% !important;
  }
  .qodef-footer-logo {
    margin-bottom: 0;
  }
}
#qodef-page-mobile-header .qodef-mobile-header-logo-link {
  max-height: 74px;
}

.qodef-mobile-header-navigation ul li {
  position: relative;
  padding: 15px 20px 0;
}

.qodef-mobile-header-navigation > ul > li > a, .qodef-mobile-header-navigation ul li ul li > a {
  font-family: "Sansation", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
  text-transform: unset !important;
}

@media only screen and (max-width: 767px) {
  #qodef-page-footer-top-area .widget:last-child {
    margin-bottom: 20px !important;
  }
  .qodef-footer-top-area .qodef-grid > .qodef-grid-inner > .qodef-grid-item {
    padding: 15px;
  }
  #block-9, #block-10 {
    display: none !important;
  }
  /* Bordo dopo il secondo grid-item (Contatti) */
  .qodef-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(2)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #D5D7DA; /* Colore del bordo, modifica se necessario */
  }
  /* Bordo dopo il terzo grid-item (Link alle pagine) */
  .qodef-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(3)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #D5D7DA; /* Colore del bordo, modifica se necessario */
  }
  /* Assicurati che i grid-item abbiano position relative per gli ::after */
  .qodef-footer-top-area .qodef-grid-inner > .qodef-grid-item {
    position: relative;
  }
}
.dimore-green-icon .qodef-m-text {
  font-size: 13px;
}

.dimore-blog-sideba .qodef-e-media-image img {
  width: 150px !important;
  height: 100px !important;
  object-fit: cover;
}
@media only screen and (max-width: 768px) {
  .dimore-blog-sideba .qodef-e-media-image img {
    height: unset !important;
    width: unset !important;
    padding-bottom: 1em;
  }
}

.single-post #qodef-page-inner {
  padding: 3em 0 0 0;
}

.qodef-grid.qodef-gutter--huge > .qodef-grid-inner > .qodef-grid-item {
  margin: 0;
}

/* Container padre - abilita overflow */
.elementor-element-fbffd08 {
  overflow: visible !important;
}

/* Container immagine - FISSA LA LARGHEZZA */
.elementor-element-e307d99 {
  overflow: visible !important;
  position: relative;
  flex: 0 0 50% !important; /* Forza al 50% e non si adatta */
  max-width: 50% !important;
}

/* Widget immagine */
.elementor-element-0345295 {
  overflow: visible !important;
  position: relative;
}

.elementor-element-0345295 img {
  position: absolute;
  left: 50px;
  transform: translateY(-11%);
  width: 1100px !important;
  max-width: none !important;
  height: auto;
}

/* RESPONSIVE */
@media (max-width: 1366px) {
  .elementor-element-0345295 img {
    width: 800px !important;
    transform: unset;
  }
}
@media (max-width: 1024px) {
  .elementor-element-e307d99 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    left: 22px;
  }
  .elementor-element-0345295 img {
    position: relative;
    transform: none;
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  .elementor-element-0345295 img {
    width: 100% !important;
    right: 45px;
    left: unset;
  }
}
.dimore-slide-prev .swiper-pagination-bullets {
  bottom: 120px !important;
}

@media (max-width: 767px) {
  .dimore-fix-quote-mobile .qodef-e-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .dimore-fix-quote-mobile .qodef-e-quote {
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
  .dimore-fix-quote-mobile .qodef-e-content {
    text-align: center !important;
    width: 100% !important;
  }
  .dimore-fix-quote-mobile .qodef-e-text {
    text-align: center !important;
  }
  .dimore-fix-quote-mobile .qodef-e-bottom-info {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }
}

@media only screen and (max-width: 768px) {
  #wp-chatbot-ball {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .elementor-2245 .elementor-element.elementor-element-e5af82d .qodef-item-layout--side-quote .qodef-e-quote {
    transform: translate(35px, -25px);
  }
}
@media (min-width: 1920px) {
  .elementor-2245 .elementor-element.elementor-element-e5af82d .qodef-item-layout--side-quote .qodef-e-quote {
    transform: translate(69px, -25px);
  }
}

.wp-chatbot-ball, .wp-chatbot-ball:hover, .wp-chatbot-ball:focus {
  background: transparent !important;
  width: unset !important;
  height: unset !important;
  box-shadow: unset !important;
}

#wp-chatbot-ball .wp-chatbot-ball img {
  width: 75px !important;
  height: 75px !important;
  display: block;
  border-radius: unset;
  padding: 0;
}

.wp-chatbot-container .slimScrollDiv, .wp-chatbot-footer {
  background: #FEFAF1 !important;
}

.wp-chatbot-editor-area input, #wp-chatbot-editor::placeholder {
  color: #1E2620 !important;
}

.wp-chatbot-msg {
  display: flex !important;
  align-items: center;
}

.wp-chatbot-avatar {
  flex-shrink: 0;
}

.wp-chatbot-avatar img {
  display: block;
  width: 40px;
  height: 40px;
}

/* Wrapper per nome agente e messaggio */
.wp-chatbot-msg > div:not(.wp-chatbot-avatar) {
  flex: 1;
}

.chatbot-theme-shortcode-container ul.wp-chatbot-messages-container > li.wp-chatbot-msg .wp-chatbot-paragraph, .chatbot-theme-shortcode-container .wp-chatbot-agent-profile .wp-chatbot-bubble {
  margin: 0 0 30px !important;
}

ul.wp-chatbot-messages-container > li.wp-chatbot-msg .wp-chatbot-paragraph, .wp-chatbot-agent-profile .wp-chatbot-bubble {
  font-family: "Lora", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0 !important;
  border-radius: 0 !important;
  color: #27312A;
  background: #EDCEAD;
}

.wp-chatbot-msg-flat {
  padding-left: 0 !important;
}
.wp-chatbot-msg-flat .wp-chatbot-avatar {
  margin-right: 50px;
}

.wp-chat-user-msg .wp-chatbot-avatar {
  display: none !important;
}

ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-paragraph {
  border-radius: 0 !important;
  background: #9CC9A9 !important;
  color: #27312A !important;
}

.chatbot-theme-shortcode-container ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-paragraph {
  margin: 0 !important;
}

.wp-chatbot-tab-nav {
  background: #516858 !important;
}

.wp-chatbot-tab-nav ul li a[data-option=chat]:after, .wp-chatbot-tab-nav ul li a[data-option=chat]:before {
  display: none !important;
}

.wp-chatbot-editor-container {
  margin-bottom: 20px !important;
}

.wp-chatbot-tab-nav ul li a, .wp-chatbot-tab-nav ul li.wp-chatbot-operation-active a {
  background-color: transparent !important;
}

.fa-send:before, .fa-paper-plane:before {
  color: #516858;
}

.wp-chatbot-header-style040-center-icon {
  margin: -3px 0 0 10px !important;
}

body .qcchatbot-template-04 li.wp-chatbot-msg.wp-chatbot-msg-flat span {
  color: #1E2620 !important;
  background-color: #D5D7DA !important;
}

body #wp-chatbot-email-transcript {
  color: #516858 !important;
}

body .wp-chatbot-header-style04 span {
  color: #516858 !important;
}

body .wp-chatbot-msg::before,
body .wp-chat-user-msg::before {
  background: #516858 !important;
  box-shadow: #516858 -38px 0px 0px 0px, #EDCEAD -28px 8px 0px 0px, #516858 -14px 35px 0px 0px, #EDCEAD -4px 28px 0px 0px, #516858 30px 32px 0px 0px, #EDCEAD 28px 22px 0px 0px, #516858 43px 0px 0px 0px, #EDCEAD 35px -5px 0px 0px, #516858 20px -30px 0px 0px, #EDCEAD 10px -22px 0px 0px, #516858 -18px -30px 0px 0px, #EDCEAD -14px -22px 0px 0px !important;
}
body .wp-chatbot-container,
body .wp-chatbot-messages {
  background-color: #FEFAF1 !important;
}
body .wp-chatbot-msg span {
  background: #FEFAF1 !important;
  color: #516858 !important;
  border: 1px solid #EDCEAD !important;
}
body .wp-chatbot-editor {
  background: #FEFAF1 !important;
  border: 1px solid #EDCEAD !important;
  color: #516858 !important;
}
body .wp-chatbot-editor::placeholder {
  color: #516858 !important;
  opacity: 0.6;
}

@media only screen and (min-width: 1024px) {
  .qodef-clients-list .qodef-grid-inner {
    display: flex;
    align-items: center;
  }
  .qodef-clients-list .qodef-e-logo img {
    max-width: 250px;
    height: auto;
  }
}
.qodef-page-title .qodef-m-title {
  display: none;
}

.page-id-8829 #qodef-page-header {
  display: none !important;
}
.page-id-8829 .qodef-m-inner {
  display: none !important;
}
.page-id-8829 .qodef-page-title {
  display: none !important;
}
.page-id-8829 #qodef-page-footer-top-area a {
  pointer-events: none;
  cursor: default;
}

.page-id-10606 #qodef-page-header {
  display: none !important;
}
.page-id-10606 .qodef-m-inner {
  display: none !important;
}
.page-id-10606 .qodef-page-title {
  display: none !important;
}
.page-id-10606 #qodef-page-footer-top-area a {
  pointer-events: none;
  cursor: default;
}

.qodef-e-info-category::after {
  display: none !important;
}

.qodef-e-info-item.qodef-e-info-author {
  display: none !important;
}

.qodef-blog .qodef-blog-item .qodef-e-info.qodef-info--top {
  font-family: "Sansation", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
  color: #A4A7AE;
  padding-bottom: 16px;
}

.single-post li p {
  margin: 0;
  display: inline; /* oppure inline-block */
}

.archive.category #qodef-page-inner {
  padding: 3em 0 0;
}

.wp-block-social-links li {
  font-size: 16px !important;
}

.wp-block-social-links .wp-social-link svg {
  height: auto;
  width: auto;
}

@media only screen and (max-width: 1024px) {
  .dimore-fix-button .elementor-widget-container {
    text-align: center;
  }
}

.wp-chatbot-msg.wp-chatbot-msg-flat {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

#qodef-page-sidebar .widget select {
  margin-top: 0;
}

@media only screen and (max-width: 767px) {
  .dimore-fix-img-partner .qodef-image-wrapper img {
    height: 30px !important;
    object-fit: contain;
  }
}

@media only screen and (min-width: 1025px) {
  #qodef-back-to-top {
    display: none !important;
  }
}
#qodef-back-to-top {
  height: 40px;
  right: 15px;
  bottom: 25px;
  width: 40px;
}

/* Focus Slider - Dimore con Swiper */
.dimore-focus-slider-wrapper {
  width: 100%;
  position: relative;
}

.dimore-focus-slider-wrapper .swiper-wrapper {
  justify-content: center;
}

.home .dimore-focus-slider-wrapper .swiper-wrapper {
  justify-content: unset;
}

.dimore-focus-slider-wrapper .swiper {
  width: 100%;
  padding: 0 8px;
}

/* Default: slide si espandono per riempire lo spazio */
.dimore-focus-slider-wrapper .swiper-slide {
  width: auto !important;
  flex: 1 1 0 !important;
}

/* Solo per home: max 4 slide visibili con larghezza fissa */
.dimore-home-focus .swiper-slide {
  width: calc((100% - 60px) / 4) !important;
  flex: 0 0 auto !important;
}

.dimore-home-focus .dimore-focus-slider-wrapper .swiper-slide {
  height: 385px;
}

.dimore-focus-slider-wrapper .swiper-slide {
  height: 300px;
}

.dimore-home-focus .dimore-focus-slider-wrapper .swiper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgb(255, 255, 255) 100%);
  pointer-events: none;
  z-index: 10;
}

.dimore-focus-card {
  background: #637E6B;
  border-radius: 5px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0 28px;
}

.dimore-focus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.dimore-focus-icon {
  width: 140px;
  height: auto;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dimore-focus-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.home .dimore-focus-icon img {
  filter: invert(1);
}

.dimore-focus-title {
  color: white;
  font-size: 20px;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.dimore-focus-description {
  color: white;
  font-size: 13px;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 30px;
}

/* Swiper Pagination */
.dimore-focus-slider-wrapper .swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
  /* Tablet: 2 slide visibili per home */
  .dimore-home-focus .swiper-slide {
    width: calc((100% - 20px) / 2) !important;
  }
}
@media (max-width: 767px) {
  /* Mobile: 1 slide visibile che scorre */
  .dimore-focus-slider-wrapper .swiper-slide {
    width: 85% !important; /* Larghezza fissa che mostra un pezzo della successiva */
    flex: 0 0 auto !important;
  }
  .dimore-home-focus .swiper-slide {
    width: 85% !important;
    flex: 0 0 auto !important;
  }
  .dimore-focus-slider-wrapper .swiper-wrapper {
    justify-content: flex-start;
  }
  .dimore-focus-card {
    padding: 30px 15px;
  }
  .dimore-focus-icon {
    width: 135px;
  }
  .dimore-home-focus .dimore-focus-slider-wrapper .swiper-slide {
    height: 270px;
  }
  .dimore-home-focus .dimore-focus-slider-wrapper .swiper::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.5) 90%, rgb(255, 255, 255) 100%);
    width: 30px;
  }
}
/* Tipologie Slider - Dimore con Swiper */
/* ============================================
   STILI BASE PER FORMATO
   ============================================ */
/* Stile Homepage - Formato Quadrato */
.dimore-tipologie-slider-wrapper.style-homepage .dimore-tipologia-card {
  height: 400px;
}

.dimore-tipologie-slider-wrapper.style-homepage .dimore-tipologia-image-wrapper {
  aspect-ratio: 1/1;
}

/* Stile Default - Formato Rettangolare (pagine interne) 
.dimore-tipologie-slider-wrapper.style-default .dimore-tipologia-card {
    height: 400px;
}
*/
/* ============================================
   STRUTTURA BASE SLIDER
   ============================================ */
.dimore-tipologie-slider-wrapper {
  width: 100%;
  position: relative;
}

.dimore-tipologie-slider-wrapper .swiper {
  width: 100%;
}

/* ============================================
   CARD STYLES
   ============================================ */
.dimore-tipologia-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  max-height: 400px;
}

.dimore-tipologia-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dimore-tipologia-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  display: block;
}

.dimore-tipologia-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background 0.6s ease;
  pointer-events: none;
}

/* Titolo - Nascosto di default su desktop */
.dimore-tipologia-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  width: 90%;
}

/* ============================================
   DECORAZIONI (quadrati angoli)
   ============================================ */
.dimore-tipologie-slider-wrapper::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 245px;
  height: 245px;
  border: 1px solid #D5D7DA;
  z-index: 1;
}

.dimore-tipologie-slider-wrapper::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 245px;
  height: 245px;
  border: 1px solid #D5D7DA;
  z-index: 0;
}
@media only screen and (max-width: 1366px) {
  .dimore-tipologie-slider-wrapper::after {
    bottom: 0;
  }
}
@media only screen and (max-width: 1024px) {
  .dimore-tipologie-slider-wrapper::after {
    bottom: 120px;
  }
}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */
.dimore-tipologie-slider-wrapper .swiper-button-prev,
.dimore-tipologie-slider-wrapper .swiper-button-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dimore-tipologie-slider-wrapper .swiper-button-prev:after,
.dimore-tipologie-slider-wrapper .swiper-button-next:after {
  font-size: 20px;
  font-weight: bold;
}

.dimore-tipologie-slider-wrapper .swiper-button-prev {
  left: 0;
}

.dimore-tipologie-slider-wrapper .swiper-button-next {
  right: 0;
}

.dimore-tipologie-slider-wrapper .swiper-button-prev:hover,
.dimore-tipologie-slider-wrapper .swiper-button-next:hover {
  background: #ffffff;
  transform: scale(1.1);
}

.dimore-tipologie-slider-wrapper .swiper-button-prev.swiper-button-disabled,
.dimore-tipologie-slider-wrapper .swiper-button-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Fix per link clickable */
a.dimore-tipologia-card {
  color: inherit;
}

a.dimore-tipologia-card:hover {
  text-decoration: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
/* Extra Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .dimore-tipologie-slider-wrapper.style-homepage .dimore-tipologia-card {
    height: 450px;
  }
  /*
  .dimore-tipologie-slider-wrapper.style-default .dimore-tipologia-card {
      height: 450px;
  }
  */
  .dimore-tipologia-title {
    font-size: 36px;
  }
  .dimore-tipologie-slider-wrapper::before,
  .dimore-tipologie-slider-wrapper::after {
    width: 280px;
    height: 280px;
  }
}
/* Desktop Standard (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .dimore-tipologie-slider-wrapper.style-homepage .dimore-tipologia-card {
    height: 400px;
  }
  /*
  .dimore-tipologie-slider-wrapper.style-default .dimore-tipologia-card {
      height: 400px;
  }*/
  .dimore-tipologia-title {
    font-size: 28px;
  }
}
/* Hover Effects - Solo Desktop (1024px+) */
@media (min-width: 1025px) {
  .dimore-tipologia-card:hover .dimore-tipologia-image {
    transform: scale(1.1);
    filter: blur(2px);
  }
  .dimore-tipologia-card:hover .dimore-tipologia-overlay {
    background: rgba(0, 0, 0, 0.6);
  }
  .dimore-tipologia-card:hover .dimore-tipologia-title {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(-5px);
  }
}
/* Tablet Portrait (600px - 767px) 
@media (min-width: 600px) and (max-width: 1024px) {
    .dimore-tipologie-slider-wrapper .swiper {
        padding: 0;
    }

    .dimore-tipologie-slider-wrapper.style-homepage .dimore-tipologia-card,
    .dimore-tipologie-slider-wrapper.style-default .dimore-tipologia-card {
        height: 350px;
    }

    .dimore-tipologia-title {
        opacity: 1;
        top: auto;
        bottom: 12px;
        left: 12px;
        transform: none;
        font-size: 18px;
        text-align: left;
        width: auto;
        max-width: calc(100% - 24px);
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    }

    /* Nascondi navigation */
.dimore-tipologie-slider-wrapper .swiper-button-prev,
.dimore-tipologie-slider-wrapper .swiper-button-next {
  display: none;
}

/* Decorazioni ancora più ridotte 
    .dimore-tipologie-slider-wrapper::before,
    .dimore-tipologie-slider-wrapper::after {
        width: 120px;
        height: 120px;
        top: -20px;
        left: -20px;
    }

    .dimore-tipologie-slider-wrapper::after {
        bottom: -20px;
        right: -20px;
        top: auto;
        left: auto;
    }
}*/
/* Mobile Large (480px - 1024px) */
@media (max-width: 1024px) {
  .dimore-tipologie-slider-wrapper .swiper {
    padding: 0;
  }
  .dimore-tipologie-slider-wrapper .swiper-wrapper {
    flex-direction: column;
    transform: none !important;
  }
  .dimore-tipologie-slider-wrapper .swiper-slide {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .dimore-tipologie-slider-wrapper.style-homepage .dimore-tipologia-card,
  .dimore-tipologie-slider-wrapper.style-default .dimore-tipologia-card {
    height: 320px;
    max-height: 320px;
  }
  /* EFFETTO SFOCATO E TITOLO CENTRATO */
  .dimore-tipologia-image {
    filter: blur(3px);
    transform: scale(1.05);
  }
  .dimore-tipologia-overlay {
    background: rgba(0, 0, 0, 0.3);
  }
  .dimore-tipologia-title {
    opacity: 1;
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 90%;
  }
  /* Nascondi navigation */
  .dimore-tipologie-slider-wrapper .swiper-button-prev,
  .dimore-tipologie-slider-wrapper .swiper-button-next {
    display: none;
  }
  /* Decorazioni minime */
  .dimore-tipologie-slider-wrapper::before,
  .dimore-tipologie-slider-wrapper::after {
    top: -15px;
    left: -20px;
  }
  .dimore-tipologie-slider-wrapper::after {
    bottom: 0;
    right: -10px;
    top: auto;
    left: auto;
  }
}
/* Mobile Small (< 480px) */
@media (max-width: 479px) {
  .dimore-tipologie-slider-wrapper .swiper {
    padding: 0;
  }
  .dimore-tipologie-slider-wrapper .swiper-wrapper {
    flex-direction: column;
    transform: none !important;
  }
  .dimore-tipologie-slider-wrapper .swiper-slide {
    width: 100% !important;
    margin-bottom: 15px;
  }
  .dimore-tipologie-slider-wrapper.style-homepage .dimore-tipologia-card,
  .dimore-tipologie-slider-wrapper.style-default .dimore-tipologia-card {
    height: 280px;
    max-height: 280px;
  }
  /* EFFETTO SFOCATO E TITOLO CENTRATO */
  .dimore-tipologia-image {
    filter: blur(3px);
    transform: scale(1.05);
  }
  .dimore-tipologia-overlay {
    background: rgba(0, 0, 0, 0.3);
  }
  .dimore-tipologia-title {
    opacity: 1;
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    font-size: 31px;
    text-align: center;
    width: 90%;
    max-width: 90%;
  }
  /* Nascondi navigation */
  .dimore-tipologie-slider-wrapper .swiper-button-prev,
  .dimore-tipologie-slider-wrapper .swiper-button-next {
    display: none;
  }
}
body:not(.home) .dimore-focus-slider-wrapper .swiper-slide:last-child {
  margin-right: 0 !important;
}

/* Home Slider - Dimore */
.dimore-home-slider-wrapper {
  width: 100%;
  height: 65vh;
  position: relative;
  overflow: hidden;
}

.dimore-home-slider-wrapper .swiper {
  width: 100%;
  height: 100%;
}

.dimore-home-slider-wrapper .swiper-slide {
  width: 100%;
  height: 100%;
}

/* Slide */
.dimore-home-slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

/* Background Image */
.dimore-home-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay con effetto blur graduale */
.dimore-home-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

/* Content Container */
.dimore-home-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dimore-home-slide-inner {
  max-width: 550px;
}

/* Typography */
.dimore-home-slide-subtitle {
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 7px 0;
}

.dimore-home-slide-title {
  color: #ffffff;
  font-size: 61px;
  font-weight: 300;
  line-height: 1;
  margin: 0 0 15px 0;
}

.dimore-home-slide-description {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 40px 0;
}

/* Button*/
.dimore-home-slide-btn.qodef-button.qodef-layout--filled.qodef-html--link {
  background-color: white;
  border: 1px solid white;
}
.dimore-home-slide-btn.qodef-button.qodef-layout--filled.qodef-html--link:hover {
  background-color: unset;
  border: 1px solid white;
  color: white;
}

.dimore-green-btn .dimore-home-slide-btn.qodef-button.qodef-layout--filled.qodef-html--link {
  margin-top: 21px;
  background-color: #9CC9A9;
  border: 1px solid #9CC9A9;
  color: black !important;
}
.dimore-green-btn .dimore-home-slide-btn.qodef-button.qodef-layout--filled.qodef-html--link:hover {
  background-color: unset;
  border: 1px solid #9CC9A9;
  color: white !important;
}

/* Social Media Links */
.dimore-home-social {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dimore-home-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  transition: opacity 0.3s ease;
  opacity: 0.8;
  position: relative;
}

.dimore-home-social a:hover {
  opacity: 1;
}

.dimore-home-social a:hover svg {
  transform: translateX(5px);
}

.dimore-home-social a:first-child::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 1px;
  height: 9px;
  background-color: rgba(213, 215, 218, 0.2);
}

.dimore-home-social svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

/* Swiper Pagination */
.dimore-home-slider-wrapper .swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dimore-home-slide-content .swiper-pagination {
  position: absolute;
  bottom: 60px !important;
  left: 0;
  width: auto;
  text-align: left !important;
}

.swiper-pagination-bullets {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.dimore-home-slider-wrapper .swiper-pagination-bullets .swiper-pagination-bullet-active span {
  background-color: white;
}

.dimore-home-slider-wrapper .swiper-pagination-bullets .swiper-pagination-bullet span {
  border: 1px solid white;
}

.dimore-home-slider-wrapper .swiper-pagination-bullets .swiper-pagination-bullet:after, .dimore-home-slider-wrapper .swiper-pagination-bullets .swiper-pagination-bullet:before {
  background-color: white;
}

.dimore-home-slider-wrapper .swiper-pagination-bullets .swiper-pagination-bullet-active {
  border: 1px solid white;
}

@media (max-width: 1600px) {
  .dimore-home-slide-content {
    padding: 0 60px 0 180px;
  }
}
@media (max-width: 1024px) {
  .dimore-home-slide-content {
    padding: 0 60px 0 120px;
  }
  .dimore-home-slide-title {
    font-size: 42px;
  }
  .dimore-home-slide-description {
    font-size: 16px;
  }
  .dimore-home-social {
    left: 30px;
  }
}
/* Responsive - Mobile */
@media (max-width: 768px) {
  .dimore-home-slider-wrapper {
    height: 80vh;
    min-height: 500px;
  }
  .dimore-home-slide-content {
    padding: 0 30px;
  }
  .dimore-home-slide-title {
    font-size: 39px;
  }
  /* Social nascosti su mobile */
  .dimore-home-social {
    display: none;
  }
  /* Overlay più scuro su mobile per leggibilità */
  .dimore-home-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    -webkit-mask-image: unset;
    mask-image: unset;
    backdrop-filter: unset;
  }
  .dimore-home-slider-wrapper .swiper-pagination {
    left: 30px;
  }
}
.home .dimore-home-slider-wrapper {
  height: 95vh;
}

/* FAQ Tabs Wrapper */
.qodef-faq-tabs-wrapper {
  width: 100%;
}

/* Tabs Navigation */
.qodef-tabs-navigation {
  margin-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.qodef-tabs-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.qodef-tab-nav {
  font-family: "DM Sans", sans-serif;
  line-height: 1;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  color: black;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.qodef-tab-nav.active {
  font-weight: 600;
  border-bottom-color: #9CC9A9;
}

/* Tabs Content */
.qodef-tabs-content {
  position: relative;
}

.qodef-tab-pane {
  display: none !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.qodef-tab-pane.active {
  display: block !important;
  visibility: visible;
  height: auto;
  overflow: visible;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .qodef-tabs-nav {
    flex-direction: column;
  }
  .qodef-tab-nav {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 20px;
  }
  .qodef-tab-nav.active {
    border-bottom-color: #a8d5ba;
    background-color: #f5f5f5;
  }
}
.ui-icon {
  display: none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
  background: unset;
}

.qodef-accordion.qodef-layout--simple p.qodef-accordion-title {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0;
  font-size: 16px;
  text-transform: unset;
  border: 1px solid #A4A7AE;
  border-radius: 0;
}

.qodef-accordion.qodef-layout--simple .qodef-accordion-title.ui-state-active, .qodef-accordion.qodef-layout--simple .qodef-accordion-title.ui-state-hover {
  border-color: #1E2620;
}

.qodef-tabs-nav.ol:not(.wp-block), ul:not(.wp-block) {
  margin: 0;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
  border: 0;
}

.qodef-accordion.qodef-layout--simple .qodef-accordion-title .qodef-m-corner {
  color: #E9EAEB;
}

.ui-state-active .qodef-m-corner {
  color: #A4A7AE !important;
}

.qodef-accordion.qodef-layout--simple .qodef-accordion-title .qodef-accordion-mark {
  color: #A4A7AE;
}

.qodef-accordion.qodef-layout--simple .qodef-accordion-title.ui-state-active .qodef-accordion-mark span.qodef-icon--plus, .qodef-accordion.qodef-layout--simple .qodef-accordion-title.ui-state-hover .qodef-accordion-mark span.qodef-icon--plus {
  color: black;
}

/* Row per il layout a griglia */
.cf7-row {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

/* Colonne */
.cf7-col-half {
  flex: 1;
}

.cf7-col-full {
  flex: 1 1 100%;
}

/* Select Dropdown */
.custom-cf7-form select.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%23999' d='M6 8L0 0h12z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 35px;
  cursor: pointer;
}

/* Placeholder */
.custom-cf7-form input::placeholder,
.custom-cf7-form textarea::placeholder,
.custom-cf7-form select::placeholder {
  color: #27312A;
  text-transform: none !important;
  font-variant: normal !important;
}

/* Focus */
.custom-cf7-form input:focus,
.custom-cf7-form select:focus {
  border-bottom-color: #d4af37;
  border-bottom-width: 2px;
  outline: none;
}

/* Focus textarea */
.custom-cf7-form textarea:focus {
  outline: 2px solid #d4af37;
  outline-offset: -2px;
}

/* Textarea */
.custom-cf7-form textarea {
  resize: vertical;
  border: 1px solid #D5D7DA;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 15px;
}

/* Rimuovi margini default di CF7 */
.custom-cf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

/* Spazio uniforme tra tutti i paragrafi/campi */
.custom-cf7-form p {
  margin-bottom: 25px;
}

/* Messaggi di errore */
.custom-cf7-form span.wpcf7-not-valid-tip {
  font-size: 12px;
  display: block;
  font-family: "Lora", serif;
  margin-top: -20px;
  margin-bottom: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

.cf7-radio-group span.wpcf7-not-valid-tip {
  margin-top: 10px;
}

/* Radio Button Group */
.cf7-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 10px;
}

.qodef-qi-contact-form-7 .wpcf7-checkbox, .qodef-qi-contact-form-7 .wpcf7-radio {
  margin-bottom: 15px !important;
}

.cf7-radio-group .radio-label {
  font-size: 13px;
  color: #27312A;
  font-family: "Lora", serif;
  margin-bottom: 10px;
  display: block;
  line-height: 1.2;
  letter-spacing: 0;
}

/* Container inline */
.custom-cf7-form .wpcf7-form-control.custom-radio .wpcf7-list-item {
  position: relative;
  display: inline-block;
  margin: 0 20px 0 0;
  padding: 0;
  list-style: none;
}

/* Nascondi radio button reale MA lascia che sia cliccabile */
.custom-cf7-form .wpcf7-form-control.custom-radio input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  left: 0;
  top: 0;
}

/* Label custom */
.custom-cf7-form .wpcf7-form-control.custom-radio .wpcf7-list-item-label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
  color: #27312A;
  font-family: "Lora", serif;
  letter-spacing: 0;
  user-select: none;
  display: inline-block;
}

/* Box quadrato */
.custom-cf7-form .wpcf7-form-control.custom-radio .wpcf7-list-item-label::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 2px;
  width: 13px;
  height: 13px;
  border: 1px solid #B48B5F;
  background-color: rgba(152, 117, 80, 0.2);
  border-radius: 1px;
  transition: all 0.3s ease;
  display: block;
  z-index: 1;
}

/* Spunta */
.custom-cf7-form .wpcf7-form-control.custom-radio .wpcf7-list-item-label::after {
  content: " ";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: opacity 0.2s ease;
  opacity: 0;
  display: block;
  z-index: 1;
}

/* Checked */
.custom-cf7-form .wpcf7-form-control.custom-radio input[type=radio]:checked + .wpcf7-list-item-label::before {
  background-color: #b8985f;
  border-color: #b8985f;
}

.custom-cf7-form .wpcf7-form-control.custom-radio input[type=radio]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}

/* Hover */
.custom-cf7-form .wpcf7-form-control.custom-radio .wpcf7-list-item-label:hover::before {
  border-color: #b8985f;
}

/* Textarea Label */
.textarea-label {
  font-size: 13px;
  color: #27312A;
  font-family: "Lora", serif;
  margin-bottom: 5px;
  display: block;
  line-height: 1.2;
  letter-spacing: 0;
  padding-bottom: 15px;
}

/* Checkbox container */
.custom-cf7-form .wpcf7-list-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-cf7-form .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 0;
}

/* Nascondi checkbox reale */
.custom-cf7-form input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Crea checkbox custom */
.custom-cf7-form .wpcf7-list-item-label {
  position: relative;
  padding-left: 20px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
  display: inline-block;
  user-select: none;
}

/* Box della checkbox custom */
.custom-cf7-form .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 13px;
  height: 13px;
  border: 1px solid #B48B5F;
  background-color: rgba(152, 117, 80, 0.2);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* Segno di spunta custom */
.custom-cf7-form .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: opacity 0.2s ease;
  opacity: 0;
}

/* Stato checked */
.custom-cf7-form input[type=checkbox]:checked + .wpcf7-list-item-label::before {
  background-color: #b8985f;
  border-color: #b8985f;
}

.custom-cf7-form input[type=checkbox]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}

/* Hover */
.custom-cf7-form .wpcf7-list-item-label:hover::before {
  border-color: #b8985f;
}

/* Focus (accessibilità) */
.custom-cf7-form input[type=checkbox]:focus + .wpcf7-list-item-label::before,
.custom-cf7-form .wpcf7-form-control.custom-radio input[type=radio]:focus + .wpcf7-list-item-label::before {
  box-shadow: 0 0 0 2px rgba(184, 152, 95, 0.2);
}

/* Pulsante submit */
.custom-cf7-form .custom-submit {
  border-radius: 20px;
  padding: 10px 15px !important;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: normal;
  line-height: 1;
  background-color: transparent;
  color: #b48b5f !important;
  border: 1px solid #b48b5f;
  margin-top: 26px;
}
.custom-cf7-form .custom-submit:hover {
  color: black !important;
  background-color: #b48b5f;
}

.custom-cf7-form .qodef-m-corner,
.qodef-m-btn-line {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .cf7-row {
    flex-direction: column;
    gap: 15px;
  }
  .custom-cf7-form {
    padding: 25px;
  }
  .custom-cf7-form p {
    margin-bottom: 20px;
  }
}
/* Stile degli input - margin-bottom uniforme */
.custom-cf7-form input[type=text],
.custom-cf7-form input[type=email],
.custom-cf7-form input[type=tel],
.custom-cf7-form select {
  width: 100%;
  padding: 15px 0;
  border: unset;
  border-bottom: 1px solid #D5D7DA;
  font-size: 13px;
  font-family: "Lora", serif;
  line-height: 1.2;
  letter-spacing: 0;
  color: #27312A;
  margin-bottom: 25px;
  background-color: transparent;
}

/* Textarea con stesso margin */
.custom-cf7-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #D5D7DA;
  font-size: 13px;
  font-family: "Lora", serif;
  line-height: 1.2;
  letter-spacing: 0;
  color: #27312A;
  margin-top: 0;
  margin-bottom: 25px;
  background-color: transparent;
  resize: vertical;
}

/* Rimuovi margin extra dai wrapper */
.custom-cf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-bottom: 0;
}

/* Rimuovi margin dai paragrafi per evitare doppi spazi */
.custom-cf7-form p {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────
   Dimore in Legno – Lavora con Noi
   Palette: verde scuro #516858, beige #EDCEAD, fondo #f5f1eb
   ───────────────────────────────────────────────────────────── */

:root {
    --dil-verde:        #516858;
    --dil-verde-scuro:  #3d5245;
    --dil-verde-chiaro: #6a8574;
    --dil-beige:        #EDCEAD;
    --dil-beige-chiaro: #f5f1eb;
    --dil-beige-scuro:  #d4b48e;
    --dil-testo:        #3d3d3d;
    --dil-testo-light:  #6b6b6b;
    --dil-bianco:       #ffffff;
    --dil-bordo:        #e0dcd5;
    --dil-radius:       6px;
    --dil-transition:   0.3s ease;
}

/* ── Wrapper ───────────────────────────────────────────────── */
.dil-lavora-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: inherit;
    color: var(--dil-testo);
}

/* ── Nessuna offerta ───────────────────────────────────────── */
.dil-no-offerte {
    text-align: center;
    padding: 60px 20px;
    background: var(--dil-beige-chiaro);
    border-radius: var(--dil-radius);
}

.dil-no-offerte p {
    font-size: 17px;
    color: var(--dil-testo-light);
    margin: 0;
}

/* ── Filtri ─────────────────────────────────────────────────── */
.dil-filtri {
    margin-bottom: 32px;
}

.dil-filtri-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dil-filtro-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dil-verde);
    margin-bottom: 6px;
}

.dil-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--dil-testo);
    background-color: var(--dil-bianco);
    border: 1.5px solid var(--dil-bordo);
    border-radius: 36px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23516858' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color var(--dil-transition);
}

.dil-select:hover,
.dil-select:focus {
    border-color: var(--dil-verde);
    outline: none;
}

.dil-filtri-count {
    margin-top: 16px;
    font-size: 14px;
    color: var(--dil-testo-light);
}

.dil-filtri-count span {
    font-weight: 700;
    color: var(--dil-verde);
}

/* ── Card Offerta ──────────────────────────────────────────── */
.dil-offerta-card {
    border: 1.5px solid var(--dil-bordo);
    border-radius: var(--dil-radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--dil-bianco);
    transition: border-color var(--dil-transition), box-shadow var(--dil-transition);
}

.dil-offerta-card:hover {
    border-color: var(--dil-verde-chiaro);
}

.dil-offerta-card.dil-card--open {
    border-color: var(--dil-verde);
    box-shadow: 0 4px 20px rgba(81, 104, 88, 0.1);
}

/* Header (bottone) */
.dil-offerta-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background-color var(--dil-transition);
}

.dil-offerta-header:hover {
    background-color: var(--dil-beige-chiaro);
}

.dil-offerta-header-left {
    flex: 1;
    min-width: 0;
}

.dil-offerta-titolo {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--dil-testo);
    margin-bottom: 6px;
    line-height: 1.3;
}

.dil-offerta-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dil-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--dil-beige-chiaro);
    color: var(--dil-testo-light);
    line-height: 1.4;
}

.dil-tag--loc svg {
    flex-shrink: 0;
}

/* Toggle icon +/- */
.dil-toggle-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dil-beige-chiaro);
    color: var(--dil-verde);
    margin-left: 16px;
    transition: background-color var(--dil-transition), transform var(--dil-transition);
}

.dil-offerta-header:hover .dil-toggle-icon {
    background-color: var(--dil-beige);
}

.dil-card--open .dil-toggle-icon {
    background: var(--dil-verde);
    color: var(--dil-bianco);
}

.dil-icon-v {
    transition: transform 0.3s ease;
    transform-origin: center;
}

.dil-card--open .dil-icon-v {
    transform: scaleY(0);
}

/* Body (collassabile) */
.dil-offerta-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.dil-offerta-body-inner {
    padding: 0 24px 24px;
    border-top: 1px solid var(--dil-bordo);
}

.dil-offerta-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    padding-top: 24px;
}

/* Colonne contenuto */
.dil-offerta-section {
    margin-bottom: 20px;
}

.dil-offerta-section:last-child {
    margin-bottom: 0;
}

.dil-offerta-section h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dil-verde);
    margin: 0 0 10px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--dil-beige);
}

.dil-offerta-section p,
.dil-offerta-section ul,
.dil-offerta-section ol {
    font-size: 15px;
    line-height: 1.65;
    color: var(--dil-testo);
    margin: 0 0 10px 0;
}

.dil-offerta-section ul,
.dil-offerta-section ol {
    padding-left: 20px;
}

/* Sidebar dettagli */
.dil-offerta-details {
    background: var(--dil-beige-chiaro);
    border-radius: var(--dil-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.dil-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--dil-bordo);
}

.dil-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dil-detail-row:first-child {
    padding-top: 0;
}

.dil-detail-label {
    font-size: 13px;
    color: var(--dil-testo-light);
    font-weight: 500;
}

.dil-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dil-testo);
    text-align: right;
}

/* Bottone Candidati */
.dil-btn-candidati {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--dil-verde);
    color: var(--dil-bianco) !important;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none !important;
    border: none;
    border-radius: 36px;
    cursor: pointer;
    transition: background-color var(--dil-transition), transform 0.15s ease;
    text-align: center;
    letter-spacing: 0.02em;
}

.dil-btn-candidati:hover {
    background: var(--dil-verde-scuro);
    color: var(--dil-bianco) !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.dil-btn-candidati:active {
    transform: translateY(0);
}

.dil-btn-candidati svg {
    transition: transform var(--dil-transition);
}

.dil-btn-candidati:hover svg {
    transform: translateX(3px);
}

/* Nessun risultato filtri */
.dil-no-risultati {
    text-align: center;
    padding: 48px 20px;
    background: var(--dil-beige-chiaro);
    border-radius: var(--dil-radius);
    border: 1.5px dashed var(--dil-bordo);
}

.dil-no-risultati p {
    font-size: 16px;
    color: var(--dil-testo-light);
    margin: 0;
}

/* Card nascosta dal filtro */
.dil-offerta-card.dil-hidden {
    display: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .dil-filtri-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dil-offerta-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dil-offerta-header {
        padding: 16px 16px;
    }

    .dil-offerta-body-inner {
        padding: 0 16px 20px;
    }

    .dil-offerta-titolo {
        font-size: 16px;
    }

    .dil-toggle-icon {
        width: 32px;
        height: 32px;
        margin-left: 12px;
    }
}

@media (max-width: 480px) {
    .dil-offerta-meta-tags {
        flex-direction: column;
        gap: 4px;
    }

    .dil-tag {
        align-self: flex-start;
    }
}

/* ── Highlight campo CF7 auto-compilato ────────────────────── */
input.dil-field-highlight {
    border-color: var(--dil-verde) !important;
    box-shadow: 0 0 0 3px rgba(81, 104, 88, 0.2) !important;
    background-color: #f0f7f2 !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.cf7-row.lavora-con-noi {
  margin-bottom: 20px;
  }
.cf7-row.lavora-con-noi div {
    font-size: 13px;
    font-family: "Lora", serif;
    line-height: 1.2;
    letter-spacing: 0;
    color: #27312A;
}
