@charset "UTF-8";
.elementor-widget.elementor-widget-template {
  width: 100%;
}

/* ---- Chocolat lightbox — sopra all'header fisso (z-index 1500) ---- */
#chocolat-content,
.chocolat-content,
.chocolat-overlay,
.chocolat-wrapper,
.chocolat-wrapper .chocolat-top,
.chocolat-wrapper .chocolat-bottom {
  z-index: 9999 !important;
}

/* ---- Bottone "Leggi di più" plugin YRM ---- */
.yrm-text-wrapper-custom-dimensions {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin-right: 0 !important;
  transform: none !important;
}

.yrm-btn-wrapper > span.yrm-toggle-expand {
  width: auto !important;
  height: auto !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  background-color: #E33F33 !important;
  color: #fff !important;
  fill: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  text-align: center !important;
  border: none !important;
  display: inline-block !important;
  opacity: 1 !important;
}

/* ---- Header Hero overlay ---- */
.header-hero {
  isolation: isolate;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.header-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.45) 100%);
}

#topbar {
  position: fixed !important;
  top: var(--wp-admin-bar-height, 0px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  background: #fff !important;
}

#header {
  position: fixed !important;
  top: calc(var(--wp-admin-bar-height, 0px) + var(--czmp-topbar-height, 0px)) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

#czmp-header-spacer {
  display: block;
  width: 100%;
  pointer-events: none;
}

.cat-label {
  padding: 15px 22px 12px;
  border-radius: 999px;
  background-color: #fff;
  color: #000 !important;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  display: inline-block;
  line-height: 16px;
  text-decoration: none;
  text-align: center;
}

.czmp-post-cats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.news-box .cat-label,
.news-box-gen .cat-label {
  padding: 8px 12px 5px;
  margin-right: 10px;
  margin-bottom: 5px;
  border-radius: 999px;
  background-color: #fff;
  color: #000;
  font-size: 16px;
  text-transform: uppercase;
  display: inline-block;
  line-height: 16px;
}

.news-box-gen .cat-label {
  padding: 15px 22px 12px !important;
}

/* ---- Servizi Card widget (.czmp-sc) ---- */
.czmp-sc__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.czmp-sc__grid > .czmp-sc__box {
  flex: 0 1 calc(33.333% - 14px);
  min-width: 260px;
}
@media (max-width: 1024px) {
  .czmp-sc__grid > .czmp-sc__box {
    flex: 0 1 calc(50% - 10px);
  }
}
@media (max-width: 600px) {
  .czmp-sc__grid > .czmp-sc__box {
    flex: 0 1 100%;
  }
}

.czmp-sc__box {
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.czmp-sc__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.czmp-sc__title-wrap {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 40px;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
}

.czmp-sc__title {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.czmp-sc__arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.czmp-sc__arrow .czmp-sc__arrow-svg {
  display: block;
  transition: transform 0.2s ease;
}

/* Hover su titolo o freccia → freccia si sposta a destra */
.czmp-sc__title-wrap:hover ~ .czmp-sc__arrow .czmp-sc__arrow-svg,
.czmp-sc__arrow:hover .czmp-sc__arrow-svg {
  transform: translateX(7px);
}

.czmp-sc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.czmp-sc__item a {
  font-size: 16px;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.5;
}
.czmp-sc__item a:hover {
  text-decoration: underline;
}

.czmp-sc__item--hidden {
  display: none;
}

.czmp-sc__lists {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.czmp-sc__extra {
  list-style: none !important;
  margin: 6px 0 0 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Scopri tutto */
.czmp-sc__more {
  position: relative;
  background: none !important;
  background-color: transparent !important;
  border: none;
  padding: 0;
  padding-bottom: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: #1a1a1a !important;
  margin-top: 8px;
  align-self: flex-start;
}
.czmp-sc__more::after {
  content: "";
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #1a1a1a;
  transition: width 400ms cubic-bezier(0.25, 0.8, 0.25, 1), left 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
}
.czmp-sc__more:hover, .czmp-sc__more:focus {
  color: #1a1a1a !important;
  background: none !important;
}
.czmp-sc__more:hover::after, .czmp-sc__more:focus::after {
  width: 100%;
  left: 0;
}

/* ---- Bottone pagina padre servizio [czmp_parent_service] ---- */
.czmp-parent-btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background-color: #5396A9;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 24px;
  border-radius: 40px;
  text-decoration: none;
  line-height: 1.3;
}
.czmp-parent-btn .czmp-parent-btn__text {
  display: block;
  transition: opacity 0.2s ease;
}
.czmp-parent-btn .marquee {
  --spacing: 15em;
  --start: 0em;
  --end: 15em;
  animation: marquee-btn 3s linear infinite paused;
  opacity: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #000 !important;
  text-shadow: #000 var(--spacing) 0, #000 calc(var(--spacing) * -1) 0, #000 calc(var(--spacing) * -2) 0;
  transition: opacity 0.02s ease;
}
.czmp-parent-btn, .czmp-parent-btn:link, .czmp-parent-btn:visited, .czmp-parent-btn:hover, .czmp-parent-btn:focus {
  color: #000 !important;
}
.czmp-parent-btn:hover .marquee {
  animation-play-state: running;
  opacity: 1;
}
.czmp-parent-btn:hover .czmp-parent-btn__text {
  opacity: 0;
}

/* ==========================================================================
   COLORI PER CATEGORIA — cat-gruppo-{slug}
   .news-box  → background esterno (rettangolo)
   .cat-label → background interno (cerchio)
   ========================================================================== */
.cat-gruppo-curiosita-sui-gatti .news-box {
  background-color: #7875C8 !important;
}
.cat-gruppo-curiosita-sui-gatti .cat-label {
  background-color: #B8B3E0 !important;
}
.cat-gruppo-curiosita-sui-gatti .news-box-gen .cat-label {
  background-color: #B8B3E0 !important;
}
.cat-gruppo-curiosita-sui-gatti .news-box-gen .elementor-icon svg path {
  fill: #B8B3E0 !important;
}

.cat-gruppo-benessere .news-box {
  background-color: #F2BEC8 !important;
}
.cat-gruppo-benessere .cat-label {
  background-color: #CC70CC !important;
}
.cat-gruppo-benessere .news-box-gen .cat-label {
  background-color: #CC70CC !important;
}
.cat-gruppo-benessere .news-box-gen .elementor-icon svg path {
  fill: #CC70CC !important;
}

.cat-gruppo-alimentazione .news-box {
  background-color: #A4C49A !important;
}
.cat-gruppo-alimentazione .cat-label {
  background-color: #3D9070 !important;
}
.cat-gruppo-alimentazione .news-box-gen .cat-label {
  background-color: #3D9070 !important;
}
.cat-gruppo-alimentazione .news-box-gen .elementor-icon svg path {
  fill: #3D9070 !important;
}

.cat-gruppo-veterinaria .news-box {
  background-color: #7090BC !important;
}
.cat-gruppo-veterinaria .cat-label {
  background-color: #A8D4F0 !important;
}
.cat-gruppo-veterinaria .news-box-gen .cat-label {
  background-color: #A8D4F0 !important;
}
.cat-gruppo-veterinaria .news-box-gen .elementor-icon svg path {
  fill: #A8D4F0 !important;
}

.cat-gruppo-curiosita-sui-cani .news-box {
  background-color: #BCA882 !important;
}
.cat-gruppo-curiosita-sui-cani .cat-label {
  background-color: #EED8B4 !important;
}
.cat-gruppo-curiosita-sui-cani .news-box-gen .cat-label {
  background-color: #EED8B4 !important;
}
.cat-gruppo-curiosita-sui-cani .news-box-gen .elementor-icon svg path {
  fill: #EED8B4 !important;
}

.cat-gruppo-comportamento .news-box {
  background-color: #ECC870 !important;
}
.cat-gruppo-comportamento .cat-label {
  background-color: #E8A030 !important;
}
.cat-gruppo-comportamento .news-box-gen .cat-label {
  background-color: #E8A030 !important;
}
.cat-gruppo-comportamento .news-box-gen .elementor-icon svg path {
  fill: #E8A030 !important;
}

.cat-gruppo-eventi .cat-label,
.tipo-media-news-eventi .cat-label {
  background-color: #FFAC2C !important;
}
.cat-gruppo-eventi .news-box-news-media .cat-label,
.cat-gruppo-eventi .news-box-gen .cat-label,
.tipo-media-news-eventi .news-box-news-media .cat-label,
.tipo-media-news-eventi .news-box-gen .cat-label {
  background-color: #FFAC2C !important;
}
.cat-gruppo-eventi .news-box-news-media .elementor-icon svg path,
.cat-gruppo-eventi .news-box-gen .elementor-icon svg path,
.tipo-media-news-eventi .news-box-news-media .elementor-icon svg path,
.tipo-media-news-eventi .news-box-gen .elementor-icon svg path {
  fill: #FFAC2C !important;
}

.cat-gruppo-news .cat-label,
.tipo-media-news-news .cat-label {
  background-color: #B4E2FF !important;
}
.cat-gruppo-news .news-box-news-media .cat-label,
.cat-gruppo-news .news-box-gen .cat-label,
.tipo-media-news-news .news-box-news-media .cat-label,
.tipo-media-news-news .news-box-gen .cat-label {
  background-color: #B4E2FF !important;
}
.cat-gruppo-news .news-box-news-media .elementor-icon svg path,
.cat-gruppo-news .news-box-gen .elementor-icon svg path,
.tipo-media-news-news .news-box-news-media .elementor-icon svg path,
.tipo-media-news-news .news-box-gen .elementor-icon svg path {
  fill: #B4E2FF !important;
}

.cat-gruppo-rassegna-stampa .cat-label,
.tipo-media-news-rassegna-stampa .cat-label {
  background-color: #08A982 !important;
}
.cat-gruppo-rassegna-stampa .news-box-news-media .cat-label,
.cat-gruppo-rassegna-stampa .news-box-gen .cat-label,
.tipo-media-news-rassegna-stampa .news-box-news-media .cat-label,
.tipo-media-news-rassegna-stampa .news-box-gen .cat-label {
  background-color: #08A982 !important;
}
.cat-gruppo-rassegna-stampa .news-box-news-media .elementor-icon svg path,
.cat-gruppo-rassegna-stampa .news-box-gen .elementor-icon svg path,
.tipo-media-news-rassegna-stampa .news-box-news-media .elementor-icon svg path,
.tipo-media-news-rassegna-stampa .news-box-gen .elementor-icon svg path {
  fill: #08A982 !important;
}

.tipo-media-news-eventi.tipo-media-news-news .cat-label {
  background-color: #FFAC2C !important;
}
.tipo-media-news-eventi.tipo-media-news-news .news-box-news-media .cat-label,
.tipo-media-news-eventi.tipo-media-news-news .news-box-gen .cat-label {
  background-color: #FFAC2C !important;
}
.tipo-media-news-eventi.tipo-media-news-news .news-box-news-media .elementor-icon svg path,
.tipo-media-news-eventi.tipo-media-news-news .news-box-gen .elementor-icon svg path {
  fill: #FFAC2C !important;
}

/* ==========================================================================
   COLORI PILL DIRETTI — classe sull'elemento stesso (.cat-label.pill-xxx)
   Alias colore usabili nei menu WP per panel pill del megamenu.
   ========================================================================== */
.pill-lavanda {
  background-color: #B8B3E0 !important;
}

.cat-label.cat-gruppo-curiosita-sui-gatti,
.czmp-br__btn.cat-gruppo-curiosita-sui-gatti {
  background-color: #B8B3E0 !important;
}

.pill-viola {
  background-color: #CC70CC !important;
}

.cat-label.cat-gruppo-benessere,
.czmp-br__btn.cat-gruppo-benessere {
  background-color: #CC70CC !important;
}

.pill-verde {
  background-color: #3D9070 !important;
}

.cat-label.cat-gruppo-alimentazione,
.czmp-br__btn.cat-gruppo-alimentazione {
  background-color: #3D9070 !important;
}

.pill-azzurro {
  background-color: #A8D4F0 !important;
}

.cat-label.cat-gruppo-veterinaria,
.czmp-br__btn.cat-gruppo-veterinaria {
  background-color: #A8D4F0 !important;
}

.pill-crema {
  background-color: #EED8B4 !important;
}

.cat-label.cat-gruppo-curiosita-sui-cani,
.czmp-br__btn.cat-gruppo-curiosita-sui-cani {
  background-color: #EED8B4 !important;
}

.pill-arancio {
  background-color: #E8A030 !important;
}

.cat-label.cat-gruppo-comportamento,
.czmp-br__btn.cat-gruppo-comportamento {
  background-color: #E8A030 !important;
}

.pill-giallo {
  background-color: #FFAC2C !important;
}

.cat-label.cat-gruppo-eventi,
.czmp-br__btn.cat-gruppo-eventi {
  background-color: #FFAC2C !important;
}

.pill-celeste {
  background-color: #B4E2FF !important;
}

.cat-label.cat-gruppo-news,
.czmp-br__btn.cat-gruppo-news {
  background-color: #B4E2FF !important;
}

.pill-smeraldo {
  background-color: #08A982 !important;
}

.cat-label.cat-gruppo-rassegna-stampa,
.czmp-br__btn.cat-gruppo-rassegna-stampa {
  background-color: #08A982 !important;
}

/* ==========================================================================
   CZMP CLINICHE FILTER (shortcode [czmp_select_map_cliniche])
   ========================================================================== */
.czmp-cm-filter__row {
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 440px;
}
@media (max-width: 767px) {
  .czmp-cm-filter__row {
    flex-direction: column;
    max-width: 100%;
  }
}
.czmp-cm-filter__select {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%233B3B3B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px 40px 12px 16px;
  font-size: 15px;
  color: #3B3B3B;
  cursor: pointer;
  outline: none;
}
.czmp-cm-filter__select:focus {
  border-color: #5396A9;
}
@media (max-width: 767px) {
  .czmp-cm-filter__select {
    width: 100%;
  }
}
.czmp-cm-filter__btn {
  background-color: #E33F33;
  color: #fff;
  border: none;
  border-radius: 0 !important;
  padding: 12px 24px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.czmp-cm-filter__btn:hover {
  background-color: rgb(208.5724137931, 40.8965517241, 28.6275862069);
}
@media (max-width: 767px) {
  .czmp-cm-filter__btn {
    width: 100%;
  }
}

/* ==========================================================================
   CZMP CARD LISTA WIDGET
   ========================================================================== */
.czmp-cl {
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-around;
}

.czmp-cl__label {
  display: inline-block;
  background-color: #fff;
  color: #000;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.czmp-cl__list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.czmp-cl__item {
  border-bottom: 1px solid #000;
}
.czmp-cl__item:first-child {
  border-top: 1px solid #000;
}

.czmp-cl__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  text-decoration: none;
  color: #000;
  font-size: 18px;
  line-height: 1.2;
}
.czmp-cl__link--nolink {
  cursor: default;
}
.czmp-cl__link:hover .czmp-cl__arrow {
  animation: czmp-arrow-bounce 0.45s ease forwards;
}

.czmp-cl__text {
  flex: 1;
}

.czmp-cl__arrow {
  flex-shrink: 0;
  display: block;
}

@keyframes czmp-arrow-bounce {
  0% {
    transform: translate(0, 0);
  }
  30% {
    transform: translate(4px, -4px);
  }
  50% {
    transform: translate(0, 0);
  }
  75% {
    transform: translate(4px, -4px);
  }
  100% {
    transform: translate(0, 0);
  }
}
.czmp-cl__img {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ==========================================================================
   CZMP CARD WIDGET
   ========================================================================== */
.czmp-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
}

.czmp-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
  z-index: 0;
}

.czmp-card:hover .czmp-card__bg {
  transform: scale(1.05);
}

.czmp-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.czmp-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 20px;
}

.czmp-card__label {
  display: inline-block;
  background-color: #fff;
  color: #000;
  border-radius: 999px;
  padding: 8px 18px 6px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
  margin-bottom: 20px;
}

.czmp-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.czmp-card__texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.czmp-card__subtitle {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
}

.czmp-card__title {
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}

.czmp-card__arrow {
  flex-shrink: 0;
  transform: translateX(-4px);
  transition: transform 0.3s ease;
}
.czmp-card__arrow svg {
  display: block;
}

.czmp-card:hover .czmp-card__arrow {
  transform: translateX(0);
}

.czmp-card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.elementor-widget-loop-carousel .swiper-container-initialized > .swiper-wrapper {
  overflow: visible !important;
  gap: 0 !important;
}

.elementor-widget.elementor-widget-loop-carousel .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: #D9D9D9;
  transition: width 0.3s ease, background-color 0.3s ease;
  margin: 0 3px;
}
.elementor-widget.elementor-widget-loop-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--main-color, #E33F33);
  width: 46px;
  border-radius: 10px;
}

.czmp-chevron {
  width: 10px;
}

/* ==========================================================================
   CLINICA — Gallery Swiper
   ========================================================================== */
.czmp-gallery--desktop {
  display: block;
}

.czmp-gallery--mobile {
  display: none;
}

@media (max-width: 1023px) {
  .czmp-gallery--desktop {
    display: none;
  }
  .czmp-gallery--mobile {
    display: block;
  }
}
.czmp-gallery {
  position: relative;
  padding: 40px 40px;
}

.czmp-gallery__swiper {
  overflow: hidden;
  border-radius: 20px;
}

.czmp-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 420px;
}

.czmp-gallery__cell {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
}

.czmp-gallery__cell--1 {
  grid-row: 1/3;
}

.czmp-gallery__cell--2 {
  grid-column: 2;
  grid-row: 1;
}

.czmp-gallery__cell--3 {
  grid-column: 2;
  grid-row: 2;
}

.czmp-gallery__cell--4 {
  grid-column: 3;
  grid-row: 1/3;
}

.czmp-gallery__cell--solo {
  height: 280px;
}

.czmp-gallery__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
}
.czmp-gallery__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  cursor: pointer;
  opacity: 1;
  background-color: #D9D9D9;
  border-radius: 10px;
  transition: width 0.3s ease, background-color 0.3s ease;
  margin: 0 3px;
}
.czmp-gallery__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #E33F33;
  width: 46px;
}

.czmp-gallery__arrow {
  position: absolute;
  transform: translateY(-50%);
  z-index: 10;
  background: none !important;
  border: none !important;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}
.czmp-gallery__arrow:hover {
  opacity: 0.85;
}
.czmp-gallery__arrow:focus {
  outline: none;
}

.czmp-gallery--desktop .czmp-gallery__arrow {
  top: 250px;
}
.czmp-gallery--desktop .czmp-gallery__arrow.czmp-gallery__arrow--prev {
  left: 16px;
}
.czmp-gallery--desktop .czmp-gallery__arrow.czmp-gallery__arrow--next {
  right: 16px;
}

.czmp-gallery--mobile .czmp-gallery__arrow {
  top: 160px;
}
.czmp-gallery--mobile .czmp-gallery__arrow.czmp-gallery__arrow--prev {
  left: 8px;
}
.czmp-gallery--mobile .czmp-gallery__arrow.czmp-gallery__arrow--next {
  right: 8px;
}

/* ==========================================================================
   CLINICA — Responsive padding
   ========================================================================== */
@media (max-width: 768px) {
  .czmp-gallery {
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* ==========================================================================
   CLINICA — Pagina principale (contatti + orari + mappa)
   ========================================================================== */
.czmp-clinica-main__sede {
  padding: 40px;
}
@media (max-width: 768px) {
  .czmp-clinica-main__sede {
    padding: 40px 20px;
  }
}
.czmp-clinica-main__sede + .czmp-clinica-main__sede {
  padding-top: 0;
}
.czmp-clinica-main__sede-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  padding: 0;
}
.czmp-clinica-main__boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 40px;
}
@media (max-width: 768px) {
  .czmp-clinica-main__boxes {
    padding: 20px;
    grid-template-columns: 1fr;
  }
}
.czmp-clinica-main__boxes--sede {
  padding: 0;
}
.czmp-clinica-main__box {
  border: 1px solid #5396A9;
  border-radius: 16px;
  padding: 32px;
}
.czmp-clinica-main__box-title {
  color: #E33F33 !important;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 24px;
}
.czmp-clinica-main__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.czmp-clinica-main__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.czmp-clinica-main__icon {
  flex-shrink: 0;
  display: block;
  width: 34px;
  height: 34px;
}
.czmp-clinica-main__contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px;
  font-size: 16px;
  color: #000;
  font-weight: 400;
}
.czmp-clinica-main__contact-text--link {
  color: #000 !important;
  text-decoration: underline;
  font-weight: 400;
}
.czmp-clinica-main__contact-text--link:hover {
  color: #E33F33 !important;
}
.czmp-clinica-main__contact-label {
  color: #000;
  font-weight: 500;
  font-size: 16px;
  display: block;
}
.czmp-clinica-main__orari {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}
.czmp-clinica-main__mappa {
  margin: 0 40px 40px;
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .czmp-clinica-main__mappa {
    margin: 0 20px 20px;
  }
}
.czmp-clinica-main__mappa iframe {
  display: block;
}

/* ==========================================================================
   CLINICA — Accordion (pagina principale)
   ========================================================================== */
.czmp-clinica-accordion {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 768px) {
  .czmp-clinica-accordion {
    padding: 20px;
  }
}

.czmp-ca__item {
  border: 1px solid #5396A9;
  border-radius: 16px;
  overflow: hidden;
}

.czmp-ca__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 40px;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.czmp-ca__trigger:hover, .czmp-ca__trigger:focus {
  background-color: transparent !important;
  outline: none;
}

.czmp-clinica-accordion h3.czmp-ca__title {
  flex: 1;
  margin: 0;
  color: #E33F33 !important;
  font-weight: 500;
  line-height: 1.2;
}

.czmp-ca__icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
}

.czmp-ca__icon {
  position: absolute;
  inset: 0;
  display: flex;
  transition: opacity 0.2s ease;
}
.czmp-ca__icon--plus {
  opacity: 1;
}
.czmp-ca__icon--minus {
  opacity: 0;
}

.czmp-ca__item.is-open .czmp-ca__icon--plus {
  opacity: 0;
}
.czmp-ca__item.is-open .czmp-ca__icon--minus {
  opacity: 1;
}

.czmp-ca__body {
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.czmp-ca__content {
  padding: 0 40px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

.czmp-ca__content--servizio {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.czmp-ca__content--servizio .czmp-ca__servizio-img-wrap {
  float: left;
  margin: 0 24px 16px 0;
  display: block;
  cursor: zoom-in;
}
.czmp-ca__content--servizio .czmp-ca__servizio-img {
  display: block;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
}
.czmp-ca__content--servizio .czmp-ca__servizio-titolo {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.czmp-ca__content--servizio .czmp-ca__servizio-testo p {
  margin: 0 0 8px;
}
.czmp-ca__content--servizio .czmp-ca__servizio-testo p:last-child {
  margin-bottom: 0;
}
.czmp-ca__content--servizio .czmp-ca__servizio-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: underline;
  color: #000;
  clear: both;
}
.czmp-ca__content--servizio .czmp-ca__servizio-link:hover {
  color: #E33F33;
}

/* ==========================================================================
   ARROW ANIMATION — sostituisce effetto marquee su tutti i CTA button
   ========================================================================== */
.czmp-cta.czmp-btn-marquee,
.czmp-panel__btn.czmp-btn-marquee {
  overflow: visible;
}
.czmp-cta.czmp-btn-marquee .czmp-marquee,
.czmp-panel__btn.czmp-btn-marquee .czmp-marquee {
  display: none !important;
  animation-play-state: paused !important;
}
.czmp-cta.czmp-btn-marquee:hover .czmp-text, .czmp-cta.czmp-btn-marquee:focus .czmp-text,
.czmp-panel__btn.czmp-btn-marquee:hover .czmp-text,
.czmp-panel__btn.czmp-btn-marquee:focus .czmp-text {
  opacity: 1 !important;
}

.elementor-button {
  overflow: hidden;
}
.elementor-button .elementor-button-content-wrapper {
  position: relative;
}
.elementor-button .elementor-button-text {
  display: block;
  transition: opacity 0.2s ease;
}
.elementor-button .marquee {
  --spacing: 15em;
  --start: 0em;
  --end: 15em;
  animation: marquee-btn 3s linear infinite paused;
  opacity: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: currentColor var(--spacing) 0, currentColor calc(var(--spacing) * -1) 0, currentColor calc(var(--spacing) * -2) 0;
  transition: opacity 0.02s ease;
}
.elementor-button:hover .marquee {
  animation-play-state: running;
  opacity: 1;
}
.elementor-button:hover .elementor-button-text {
  opacity: 0;
}

.button-scroll .elementor-button {
  overflow: visible !important;
}
.button-scroll .elementor-button-text {
  opacity: 1 !important;
  transition: none !important;
}
.button-scroll .marquee {
  display: none !important;
}
.button-scroll .elementor-button-icon svg {
  transform: translateX(-4px);
  transition: transform 0.3s ease;
}
.button-scroll .elementor-button:hover .elementor-button-text,
.button-scroll .elementor-button:focus .elementor-button-text {
  opacity: 1 !important;
}
.button-scroll .elementor-button:hover .elementor-button-icon svg,
.button-scroll .elementor-button:focus .elementor-button-icon svg {
  transform: translateX(0);
}

/* ==========================================================================
   CLINICA — Header fascia
   ========================================================================== */
.czmp-clinica-header__top {
  background-color: #EEFBFE;
  padding: 40px;
}
@media (max-width: 768px) {
  .czmp-clinica-header__top {
    padding: 20px;
  }
}
.czmp-clinica-header__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.czmp-clinica-header__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.czmp-clinica-header__badge {
  display: inline-block;
  background-color: #5196A8;
  color: #000;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.czmp-clinica-header__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  padding: 20px 0;
  color: #000;
}
.czmp-clinica-header__description {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  margin: 0;
}
.czmp-clinica-header__description p {
  margin: 0;
}
.czmp-clinica-header__description h1, .czmp-clinica-header__description h2, .czmp-clinica-header__description h3, .czmp-clinica-header__description h4, .czmp-clinica-header__description h5, .czmp-clinica-header__description h6 {
  margin: 0;
}
.czmp-clinica-header__address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000 !important;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.czmp-clinica-header__address svg {
  flex-shrink: 0;
  width: 16px;
}
.czmp-clinica-header__address:hover, .czmp-clinica-header__address:focus {
  color: #E33F33 !important;
}
.czmp-clinica-header__cta {
  margin-top: 8px;
  background-color: #E33F33 !important;
  border-color: #E33F33 !important;
  color: #fff !important;
}
.czmp-clinica-header__cta:hover, .czmp-clinica-header__cta:focus {
  background-color: #E33F33 !important;
  border-color: #E33F33 !important;
  color: #fff !important;
  outline: none;
}

.czmp-clinica-nav {
  background-color: #5196A8;
  padding: 0 40px;
}
@media (max-width: 1240px) {
  .czmp-clinica-nav {
    padding: 0;
  }
}
.czmp-clinica-nav {
  /* Toggle button — visibile solo sotto 1240px e solo se accordion */
}
.czmp-clinica-nav__toggle {
  display: none;
  width: 100%;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: transparent !important;
  border: none;
  cursor: pointer;
  text-align: left;
}
@media (min-width: 769px) {
  .czmp-clinica-nav__toggle {
    padding: 0 40px;
  }
}
@media (max-width: 1240px) {
  .czmp-clinica-nav--accordion .czmp-clinica-nav__toggle {
    display: flex;
  }
}
@media (max-width: 1240px) {
  .czmp-clinica-nav--accordion .czmp-clinica-nav__label--desktop {
    display: none;
  }
}
.czmp-clinica-nav__toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.czmp-clinica-nav__toggle-icon::before, .czmp-clinica-nav__toggle-icon::after {
  content: "";
  position: absolute;
  background: #000;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.czmp-clinica-nav__toggle-icon::before {
  width: 20px;
  height: 2px;
  top: 9px;
  left: 0;
}
.czmp-clinica-nav__toggle-icon::after {
  width: 2px;
  height: 20px;
  top: 0;
  left: 9px;
}
.czmp-clinica-nav__toggle[aria-expanded=true] .czmp-clinica-nav__toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.czmp-clinica-nav__inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 1240px) {
  .czmp-clinica-nav--accordion .czmp-clinica-nav__inner {
    flex-direction: column;
    align-items: flex-start;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 20px;
  }
}
@media (max-width: 1240px) and (min-width: 769px) {
  .czmp-clinica-nav--accordion .czmp-clinica-nav__inner {
    padding: 0 40px;
  }
}
@media (max-width: 1240px) {
  .czmp-clinica-nav--accordion .czmp-clinica-nav__inner.is-open {
    max-height: 400px;
    padding-bottom: 12px;
  }
}
.czmp-clinica-nav__label {
  color: #000;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  padding: 18px 16px 18px 0;
}
.czmp-clinica-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 12px 0;
}
.czmp-clinica-nav__item {
  display: flex;
}
.czmp-clinica-nav__link {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background-color: transparent;
  color: #000 !important;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.czmp-clinica-nav__link:hover, .czmp-clinica-nav__link:focus {
  background-color: rgba(255, 255, 255, 0.5);
  color: #000;
}
.czmp-clinica-nav__link.is-active {
  background-color: #fff;
  color: #000;
}
@media (max-width: 1240px) {
  .czmp-clinica-nav--accordion .czmp-clinica-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    width: 100%;
  }
  .czmp-clinica-nav--accordion .czmp-clinica-nav__item {
    width: 100%;
  }
  .czmp-clinica-nav--accordion .czmp-clinica-nav__link {
    width: 100%;
    padding: 10px 0;
    border-radius: 0;
    border-bottom: none;
  }
  .czmp-clinica-nav--accordion .czmp-clinica-nav__link:hover, .czmp-clinica-nav--accordion .czmp-clinica-nav__link:focus {
    background-color: transparent;
  }
  .czmp-clinica-nav--accordion .czmp-clinica-nav__link.is-active {
    background-color: transparent;
    font-weight: 700;
  }
}

.czmp-cta {
  padding: 5px 10px 5px 15px !important;
  color: #ffffff !important;
}
.czmp-cta > span {
  position: relative;
  top: 1px;
}

.czmp-cta:hover,
.czmp-cta:focus {
  color: var(--orange-2, #e33f33) !important;
}

.czmp-cta,
.czmp-panel__btn {
  overflow: visible;
}
.czmp-cta svg,
.czmp-panel__btn svg {
  transform: translateX(-4px);
  transition: transform 0.3s ease;
}
.czmp-cta:hover svg, .czmp-cta:focus svg,
.czmp-panel__btn:hover svg,
.czmp-panel__btn:focus svg {
  transform: translateX(0);
}

/* ==========================================================================
   CLINICA — Gallery Lightbox
   ========================================================================== */
.czmp-gallery__cell[data-full] {
  cursor: pointer;
}

.czmp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.czmp-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.czmp-lightbox__img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.czmp-lightbox__img.is-loading {
  opacity: 0;
}
.czmp-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s ease;
}
.czmp-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.czmp-lightbox__close:focus {
  outline: none;
}
.czmp-lightbox__close svg {
  pointer-events: none;
}
.czmp-lightbox__close:hover svg path, .czmp-lightbox__close:focus svg path {
  stroke: #E33F33;
}
.czmp-lightbox__prev, .czmp-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.czmp-lightbox__prev:hover, .czmp-lightbox__next:hover {
  opacity: 1;
}
.czmp-lightbox__prev:focus, .czmp-lightbox__next:focus {
  outline: none;
}
.czmp-lightbox__prev {
  left: 24px;
}
.czmp-lightbox__next {
  right: 24px;
}

/* ==========================================================================
   CLINICA — Fascia Prenota
   ========================================================================== */
.czmp-prenota {
  background-color: #5396A9;
  padding: 60px 40px;
}
.czmp-prenota__inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.czmp-prenota__title {
  color: #fff !important;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  text-align: center;
  margin: 0;
}
.czmp-prenota h4.czmp-prenota__subtitle {
  color: #fff !important;
  font-weight: 400;
  text-align: center;
  margin: 0;
}
.czmp-prenota__form-box {
  width: 100%;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .czmp-prenota {
    padding: 40px 20px;
  }
}

/* ==========================================================================
   CLINICA — Pagina Emergenze
   ========================================================================== */
.czmp-emergenze-intro {
  margin: 40px 40px 0;
  padding: 32px 40px;
  background-color: #EEFBFE;
  border-radius: 16px;
}
@media (max-width: 768px) {
  .czmp-emergenze-intro {
    margin: 20px 20px 0;
    padding: 24px 20px;
  }
}

.czmp-emergenze-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 40px 40px;
  padding: 32px 40px;
  background-color: #EEFBFE;
  border-radius: 16px;
}
.czmp-emergenze-cta-box h2.czmp-emergenze-cta-box__text {
  font-weight: 400;
  color: #000 !important;
  margin: 0;
  flex: 1;
}
.czmp-emergenze-cta-box__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background-color: #E33F33;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #000 !important;
  text-decoration: none;
  white-space: nowrap;
}
.czmp-emergenze-cta-box__btn:hover, .czmp-emergenze-cta-box__btn:focus {
  background-color: #E33F33;
  color: #000 !important;
  outline: none;
}
@media (max-width: 768px) {
  .czmp-emergenze-cta-box {
    flex-direction: column;
    align-items: flex-start;
    margin: 0 20px 20px;
    padding: 24px 20px;
  }
  .czmp-emergenze-cta-box__btn {
    align-self: flex-start;
  }
}

/* ==========================================================================
   CLINICA — SERVIZI & SPECIALISTICHE
   ========================================================================== */
.czmp-clinica--servizi .czmp-servizi-section {
  padding: 40px;
}
.czmp-clinica--servizi .czmp-servizi-section__title {
  color: #E33F33;
  font-weight: 500;
  margin: 0 0 32px;
}
@media (max-width: 768px) {
  .czmp-clinica--servizi .czmp-servizi-section {
    padding: 20px;
  }
  .czmp-clinica--servizi .czmp-servizi-section__title {
    margin-bottom: 20px;
  }
}
.czmp-clinica--servizi .czmp-clinica-accordion {
  padding: 0;
}
.czmp-clinica--servizi .czmp-clinica-accordion h3.czmp-ca__title {
  color: #000 !important;
}

/* ==========================================================================
   CLINICA — TEAM
   ========================================================================== */
/* ==========================================================================
   SINGLE EVENTO
   ========================================================================== */
.czmp-evento-single__hero {
  background: #EEFBFE;
}
.czmp-evento-single__hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px;
}
@media (max-width: 768px) {
  .czmp-evento-single__hero-inner {
    padding: 24px 20px;
  }
}
.czmp-evento-single__back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 20px;
}
.czmp-evento-single__back:hover {
  text-decoration: underline;
}
.czmp-evento-single__data {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0 0 8px;
}
.czmp-evento-single__title {
  margin: 0 0 24px;
}
.czmp-evento-single__body {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: block;
}
.czmp-evento-single__body--with-image {
  display: grid;
  grid-template-columns: 1fr minmax(600px, 45%);
  align-items: stretch;
}
@media (max-width: 960px) {
  .czmp-evento-single__body--with-image {
    grid-template-columns: 1fr;
  }
}
.czmp-evento-single__content {
  padding: 48px 40px;
}
@media (max-width: 768px) {
  .czmp-evento-single__content {
    padding: 32px 20px;
  }
}
.czmp-evento-single__image-wrap {
  padding: 40px 40px 40px 0;
}
@media (max-width: 960px) {
  .czmp-evento-single__image-wrap {
    padding: 0 20px 32px;
  }
}
.czmp-evento-single__image {
  position: relative;
  min-height: 480px;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 960px) {
  .czmp-evento-single__image {
    min-height: 360px;
  }
}
.czmp-evento-single__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}
.czmp-evento-single__image-caption {
  position: relative;
  z-index: 1;
  padding: 32px;
  color: #fff;
}
.czmp-evento-single__image-data {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.85;
}
.czmp-evento-single__image-title {
  color: #fff !important;
  margin: 0 0 12px;
}
.czmp-evento-single__image-riassunto {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
}
.czmp-evento-single__image-riassunto p {
  margin: 0;
}

/* ==========================================================================
   CLINICA — TAB EVENTI
   ========================================================================== */
.czmp-clinica--eventi .czmp-clinica--eventi__inner {
  padding: 40px;
}
@media (max-width: 768px) {
  .czmp-clinica--eventi .czmp-clinica--eventi__inner {
    padding: 20px;
  }
}
.czmp-clinica--eventi .czmp-clinica--eventi__empty {
  color: #666;
}

.czmp-eventi-gruppo + .czmp-eventi-gruppo {
  margin-top: 48px;
}

.czmp-eventi-gruppo__title {
  color: #E33F33 !important;
  font-weight: 500;
  margin: 0 0 24px;
}

.czmp-eventi-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.czmp-evento-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #EEFBFE;
  border-radius: 12px;
  padding: 20px 28px;
  text-decoration: none;
  color: inherit;
}
.czmp-evento-card:hover {
  background: #ddf4fb;
}
.czmp-evento-card__title {
  margin: 0;
  font-weight: 700;
  color: #000;
}
.czmp-evento-card__meta {
  display: flex;
  align-items: center;
  gap: 0;
  color: #555;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .czmp-evento-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 20px;
  }
  .czmp-evento-card__meta {
    white-space: normal;
  }
}

.czmp-clinica--team .czmp-team-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px;
}
@media (max-width: 768px) {
  .czmp-clinica--team .czmp-team-inner {
    padding: 20px;
  }
}

.czmp-team-section + .czmp-team-section {
  border-top: 1px solid #E5E5E5;
  margin-top: 48px;
  padding-top: 48px;
}
@media (max-width: 768px) {
  .czmp-team-section + .czmp-team-section {
    margin-top: 32px;
    padding-top: 32px;
  }
}
.czmp-team-section__title {
  color: #E33F33 !important;
  font-weight: 500;
  margin: 0 0 32px;
}
@media (max-width: 768px) {
  .czmp-team-section__title {
    margin-bottom: 20px;
  }
}

.czmp-team-area + .czmp-team-area {
  border-top: 1px solid #E5E5E5;
  margin-top: 40px;
  padding-top: 40px;
}
@media (max-width: 768px) {
  .czmp-team-area + .czmp-team-area {
    margin-top: 24px;
    padding-top: 24px;
  }
}
.czmp-team-area__title {
  color: #E33F33;
  font-weight: 400;
  margin: 0 0 24px;
}
@media (max-width: 768px) {
  .czmp-team-area__title {
    margin-bottom: 16px;
  }
}

.czmp-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) {
  .czmp-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .czmp-team-grid {
    grid-template-columns: 1fr;
  }
}

.czmp-team-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}
.czmp-team-card__photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
}
.czmp-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.czmp-team-card__photo--placeholder {
  background-color: #5396A9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.czmp-team-card__photo--placeholder svg {
  width: 40%;
  height: auto;
  display: block;
}
.czmp-team-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}
.czmp-team-card__ruolo {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  line-height: 1.3;
}
.czmp-team-card__nome {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
}
.czmp-team-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.czmp-team-card__spec {
  display: inline-block;
  background-color: #F3F3F3;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  color: #000;
  line-height: 1.4;
}
.czmp-team-card--large {
  gap: 24px;
  margin-bottom: 40px;
}
.czmp-team-card--large .czmp-team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 16px;
}
.czmp-team-card--large .czmp-team-card__ruolo {
  font-size: 12px;
}
.czmp-team-card--large .czmp-team-card__nome {
  font-size: 22px;
}
@media (max-width: 768px) {
  .czmp-team-card--large .czmp-team-card__nome {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  .czmp-team-card--large {
    flex-direction: column;
  }
  .czmp-team-card--large .czmp-team-card__photo {
    width: 100px;
    height: 100px;
  }
}

.czmp-servizi-pills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1023px) {
  .czmp-servizi-pills {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .czmp-servizi-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.czmp-servizio-pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid #5396A9;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: #000;
  transition: background 0.15s ease;
}
.czmp-servizio-pill__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.czmp-servizio-pill__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.czmp-servizio-pill__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}
.czmp-servizio-pill:hover {
  background: #F0F8FA;
}
@media (max-width: 768px) {
  .czmp-servizio-pill {
    padding: 8px 12px 8px 8px;
    gap: 8px;
  }
  .czmp-servizio-pill__icon {
    width: 32px;
    height: 32px;
  }
  .czmp-servizio-pill__icon img {
    width: 32px;
    height: 32px;
  }
  .czmp-servizio-pill__label {
    font-size: 13px;
  }
}

.evento-prenota .nf-form-cont {
  background-color: var(--czmp-form-bg);
  border-radius: 16px;
  padding: 32px 20px 40px;
  margin: 0 auto 40px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .evento-prenota .nf-form-cont {
    padding: 32px 40px 40px;
  }
}
.evento-prenota .nf-form-cont .nf-next-previous::after {
  display: none;
}
.evento-prenota .nf-form-cont .nf-form-fields-required {
  display: none;
}
.evento-prenota .nf-form-cont .ninja-forms-field {
  background: var(--czmp-white);
  border: 1px solid var(--czmp-form-input-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  color: var(--czmp-form-input-text);
  transition: border-color 0.2s ease;
}
.evento-prenota .nf-form-cont .ninja-forms-field:focus {
  border-color: var(--czmp-red);
  box-shadow: none;
}
.evento-prenota .nf-form-cont input[type=submit] {
  background-color: var(--czmp-red);
  color: var(--czmp-white);
  border: none;
  border-radius: 999px;
  padding: 12px 48px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.evento-prenota .nf-form-cont .list-radio-wrap {
  display: flex !important;
  align-items: center;
  gap: 16px;
}
.evento-prenota .nf-form-cont .list-radio-wrap .nf-field-label {
  white-space: nowrap;
  width: auto !important;
  margin: 0;
}
.evento-prenota .nf-form-cont .list-radio-wrap .nf-field-element {
  width: auto !important;
}
.evento-prenota .nf-form-cont .list-radio-wrap ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.evento-prenota .nf-form-cont .list-radio-wrap ul li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 !important;
}
.evento-prenota .nf-form-cont .nf-next, .evento-prenota .nf-form-cont .nf-previous {
  background-color: var(--czmp-red);
  color: var(--czmp-white);
  border: none;
  border-radius: 999px;
  padding: 12px 48px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease;
}
.evento-prenota .nf-form-cont .nf-next:hover, .evento-prenota .nf-form-cont .nf-previous:hover {
  background-color: var(--czmp-red-dark);
}
.evento-prenota .nf-form-cont .nf-next-previous {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  gap: 40px;
}
.evento-prenota .nf-form-cont .nf-mp-footer {
  text-align: center;
  padding: 0 20px;
}
.evento-prenota .nf-form-cont .nf-step-counter,
.evento-prenota .nf-form-cont .nf-progress-bar-wrap,
.evento-prenota .nf-form-cont .nf-mp-steps {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--czmp-form-muted);
  margin-top: 8px;
}

/* ----------------------------------------
   Servizi Bottoni widget (.czmp-sb)
   ---------------------------------------- */
.czmp-sb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.czmp-sb__btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.3;
  transition: filter 0.2s, transform 0.15s;
}
.czmp-sb__btn-text {
  display: block;
  transition: opacity 0.2s ease;
}
.czmp-sb__btn .marquee {
  --spacing: 26em;
  --start: 0em;
  --end: 15em;
  animation: marquee-btn 3s linear infinite paused;
  opacity: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #1a1a1a !important;
  text-shadow: #1a1a1a var(--spacing) 0, #1a1a1a calc(var(--spacing) * -1) 0, #1a1a1a calc(var(--spacing) * -2) 0;
  transition: opacity 0.02s ease;
}
.czmp-sb__btn:hover .marquee {
  animation-play-state: running;
  opacity: 1;
}
.czmp-sb__btn:hover .czmp-sb__btn-text {
  opacity: 0;
}

/* ----------------------------------------
   Cliniche + Mappa widget (.czmp-cm)
   ---------------------------------------- */
.czmp-cm {
  display: flex;
  overflow: hidden;
  position: relative;
  /* ---- Lista sinistra ---- */
}
.czmp-cm__list {
  flex: 0 0 400px;
  width: 400px;
  min-width: 0;
  background: #fff;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: width 0.3s ease, flex 0.3s ease;
}
.czmp-cm__list-inner {
  height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.czmp-cm__list-inner::-webkit-scrollbar {
  width: 4px;
}
.czmp-cm__list-inner::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}
.czmp-cm {
  /* ---- Singola clinica ---- */
}
.czmp-cm__item {
  padding: 20px 24px;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  transition: background 0.2s;
}
.czmp-cm__item:last-child {
  border-bottom: none;
}
.czmp-cm__item:hover, .czmp-cm__item.is-active {
  background: #EEFBFE;
}
.czmp-cm__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
  line-height: 1.3;
}
.czmp-cm__title {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 6px;
}
.czmp-cm__title:hover {
  color: #E33F33;
}
.czmp-cm__item.is-active .czmp-cm__title {
  color: #E33F33;
}
.czmp-cm__address {
  font-size: 16px;
  color: #000;
  margin: 0;
  line-height: 1.4;
}
.czmp-cm {
  /* ---- Pulsante toggle ---- */
}
.czmp-cm__toggle {
  position: absolute;
  left: 400px;
  top: 60px;
  z-index: 10;
  width: 20px;
  height: 44px;
  background: #fff !important;
  background-color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: left 0.3s ease;
}
.czmp-cm__toggle:hover, .czmp-cm__toggle:focus {
  background: #fff !important;
  background-color: #fff !important;
  border-radius: 0 !important;
}
.czmp-cm__toggle svg {
  transition: transform 0.3s ease;
}
.czmp-cm {
  /* Stato collassato */
}
.czmp-cm--collapsed .czmp-cm__list {
  flex: 0 0 0;
  width: 0;
  border-right: none;
  overflow: hidden;
}
.czmp-cm--collapsed .czmp-cm__toggle {
  left: 0;
}
.czmp-cm--collapsed .czmp-cm__toggle svg {
  transform: rotate(180deg);
}
.czmp-cm {
  /* ---- Mappa ---- */
}
.czmp-cm__map {
  flex: 1;
  min-height: 500px;
  background: #f0f0f0;
}
.czmp-cm {
  /* ---- Mobile ---- */
}
@media (max-width: 768px) {
  .czmp-cm {
    flex-direction: column;
  }
  .czmp-cm__list {
    flex: none;
    width: 100% !important;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  .czmp-cm__list-inner {
    height: 280px;
  }
  .czmp-cm__toggle {
    display: none;
  }
  .czmp-cm__map {
    height: 350px;
    min-height: 350px;
  }
}

/* ---- Cards Swiper [cazampa-cards-swiper] ---- */
.czmp-cs {
  overflow: hidden;
}
.czmp-cs__swiper {
  overflow: visible;
  padding: 40px 0;
}
.czmp-cs .swiper-wrapper {
  align-items: center;
}
.czmp-cs__card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--czmp-cs-bg, #eee);
}
.czmp-cs__img-wrap {
  width: 100%;
  height: 220px !important;
  overflow: hidden;
  padding: 20px;
}
.czmp-cs__img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: 20px !important;
}
.czmp-cs__title {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  text-align: center;
}
.czmp-cs__text {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}
.czmp-cs__title, .czmp-cs__text {
  padding: 0 16px;
}
.czmp-cs__title {
  padding-top: 14px;
}
.czmp-cs__text {
  padding-bottom: 16px;
}
.czmp-cs__pagination {
  margin-top: 16px;
  text-align: center;
}
.czmp-cs {
  /* Rotazioni alternanti */
}
.czmp-cs--rotated .swiper-slide:nth-child(4n+1) .czmp-cs__card {
  transform: rotate(-6deg);
}
.czmp-cs--rotated .swiper-slide:nth-child(4n+2) .czmp-cs__card {
  transform: rotate(5deg);
}
.czmp-cs--rotated .swiper-slide:nth-child(4n+3) .czmp-cs__card {
  transform: rotate(-3deg);
}
.czmp-cs--rotated .swiper-slide:nth-child(4n+4) .czmp-cs__card {
  transform: rotate(2deg);
}

/* ---- Carousel Immagine + Testo [cazampa-carousel-it] ---- */
.czmp-cit {
  --czmp-cit-img-h: 380px;
  --czmp-cit-img-w: 50%;
  position: relative;
}
.czmp-cit__swiper {
  overflow: hidden;
}
.czmp-cit__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #EEFBFE;
  border-radius: 20px;
}
.czmp-cit__media {
  flex: 0 0 var(--czmp-cit-img-w);
  max-width: var(--czmp-cit-img-w);
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}
.czmp-cit__media img {
  width: 100%;
  height: var(--czmp-cit-img-h);
  object-fit: cover;
  display: block;
}
.czmp-cit__body {
  flex: 1;
  min-width: 0;
  padding-right: 30px;
}
.czmp-cit__title {
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 16px;
}
.czmp-cit__text {
  font-size: 18px;
  line-height: 1.7;
}
.czmp-cit__text p {
  margin: 0 0 12px;
}
.czmp-cit__text p:last-child {
  margin-bottom: 0;
}
.czmp-cit {
  /* Frecce */
}
.czmp-cit__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}
.czmp-cit__btn svg {
  display: block;
}
.czmp-cit__btn--prev {
  left: -22.5px;
}
.czmp-cit__btn--prev svg {
  transform: scaleX(-1);
}
.czmp-cit__btn--next {
  right: -22.5px;
}
.czmp-cit {
  /* Paginazione — solo mobile */
}
.czmp-cit__pagination {
  display: none;
  position: relative;
  text-align: center;
  margin-top: 20px;
}
.czmp-cit__pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  margin: 0 4px;
  opacity: 1;
  background-color: #D9D9D9;
  transition: all 0.3s ease-in-out;
}
.czmp-cit__pagination .swiper-pagination-bullet-active {
  width: 49px;
  background-color: #E33F33;
  border-radius: 30px;
}
.czmp-cit {
  /* Mobile */
}
@media (max-width: 767px) {
  .czmp-cit__inner {
    flex-direction: column;
    gap: 0;
  }
  .czmp-cit__media {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100%;
  }
  .czmp-cit__media img {
    height: 260px;
  }
  .czmp-cit__body {
    padding: 20px;
  }
  .czmp-cit__btn {
    display: none;
  }
  .czmp-cit__pagination {
    display: block;
    margin-top: 0;
  }
}

#topbar {
  z-index: 9999 !important;
}

.dialog-lightbox-widget .elementor-slideshow__footer .elementor-slideshow__title {
  display: none !important;
}

.elementor-lightbox .dialog-lightbox-close-button {
  z-index: 99999;
}

/* ---- Razza Info [czmp_razza_info] ---- */
.czmp-ri {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  /* ---- Left sticky sidebar ---- */
}
.czmp-ri__sidebar {
  flex: 0 0 600px;
  position: sticky;
  top: 160px;
}
.czmp-ri__box {
  background: #EEFBFE;
  border-radius: 25px;
  padding: 40px;
}
.czmp-ri__box-title {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 40px;
  line-height: 1.3;
  text-align: center;
}
.czmp-ri__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 8px;
}
.czmp-ri__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.czmp-ri__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.czmp-ri__icon-wrap img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.czmp-ri__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.czmp-ri__label {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.3;
}
.czmp-ri__value {
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.3;
}
.czmp-ri {
  /* ---- Right content ---- */
}
.czmp-ri__content {
  flex: 1 1 0;
  min-width: 0;
}
.czmp-ri__section {
  margin-bottom: 36px;
}
.czmp-ri__section:last-child {
  margin-bottom: 0;
}
.czmp-ri__section-title {
  font-size: 24px;
  font-weight: 400;
  color: #E33F33 !important;
  margin: 0 0 12px;
  line-height: 1.3;
}
.czmp-ri__section-body {
  font-size: 18px;
  color: #000;
  line-height: 1.6;
}
.czmp-ri__section-body p {
  margin: 0 0 12px;
}
.czmp-ri__section-body p:last-child {
  margin-bottom: 0;
}
.czmp-ri {
  /* ---- Responsive ---- */
}
@media (max-width: 1366px) {
  .czmp-ri__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .czmp-ri__sidebar {
    flex: 0 0 500px;
  }
}
@media (max-width: 1024px) {
  .czmp-ri__sidebar {
    flex: 1;
  }
}
@media (max-width: 767px) {
  .czmp-ri {
    flex-direction: column;
  }
  .czmp-ri__sidebar {
    position: static;
    flex: none;
    width: 100%;
  }
  .czmp-ri__grid {
    grid-template-columns: 1fr 1fr;
  }
  .czmp-ri__box {
    padding: 20px;
  }
}

/* ---- Bottoni Razze [cazampa-bottoni-razze] ---- */
.czmp-br {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.czmp-br__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 100px;
  text-decoration: none;
  padding: 8px 24px 8px 8px;
}
.czmp-br__btn:hover .czmp-br__img, .czmp-br__btn:focus .czmp-br__img {
  transform: translateX(5px);
}
.czmp-br__img {
  width: 58px;
  height: 58px;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.czmp-br__img--placeholder {
  background: rgba(0, 0, 0, 0.15);
}
.czmp-br__text {
  font-size: 24px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.2;
}
@media (max-width: 1024px) {
  .czmp-br {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .czmp-br {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   NEWS ARCHIVE — [czmp_news_cats] + [czmp_news_hero] + CaZampa_News_Grid_Widget
   ========================================================================== */
/* ---- Sezione 1: pill categorie ---- */
.czmp-na__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.czmp-na__cats .czmp-na__cat-link {
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #000 !important;
  text-decoration: none;
  padding: 10px 28px 8px !important;
  border-radius: 40px !important;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.czmp-na__cats .czmp-na__cat-link .czmp-na__cat-text {
  display: block;
  transition: opacity 0.2s ease;
}
.czmp-na__cats .czmp-na__cat-link .marquee {
  --spacing: 20em;
  --start: 0em;
  --end: 20em;
  animation: marquee-btn 3s linear infinite paused;
  opacity: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #000 !important;
  text-shadow: #000 var(--spacing) 0, #000 calc(var(--spacing) * -1) 0, #000 calc(var(--spacing) * -2) 0;
  transition: opacity 0.02s ease;
}
.czmp-na__cats .czmp-na__cat-link:hover .marquee {
  animation-play-state: running;
  opacity: 1;
}
.czmp-na__cats .czmp-na__cat-link:hover .czmp-na__cat-text {
  opacity: 0;
}
@media (max-width: 767px) {
  .czmp-na__cats {
    flex-direction: column;
    align-items: stretch;
  }
  .czmp-na__cats .czmp-na__cat-link {
    display: block;
    text-align: center;
    white-space: normal;
  }
}

/* ---- Bottone freccia condiviso ---- */
.czmp-na__arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
}
.czmp-na__arrow-btn .czmp-na__btn-icon {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.czmp-na__arrow-btn:hover .czmp-na__btn-icon, .czmp-na__arrow-btn:focus .czmp-na__btn-icon {
  transform: translateX(8px);
}
.czmp-na__arrow-btn--blue {
  background: #fff;
  color: #5396A9 !important;
  align-self: flex-start;
  padding: 10px 20px 10px 28px;
  border-radius: 40px;
}
.czmp-na__arrow-btn--blue svg circle {
  fill: #5396A9;
  stroke: #5396A9;
}
.czmp-na__arrow-btn--blue svg path {
  fill: #fff;
}
.czmp-na__arrow-btn--blue:hover, .czmp-na__arrow-btn--blue:focus {
  color: #5396A9 !important;
}
.czmp-na__arrow-btn--red {
  background: #E33F33;
  color: #fff !important;
  padding: 10px 20px 10px 28px;
  border-radius: 40px;
  align-self: flex-start;
}
.czmp-na__arrow-btn--red:hover, .czmp-na__arrow-btn--red:focus {
  color: #fff;
}

/* ---- Sezione 2: hero in evidenza ---- */
.czmp-na__hero {
  display: flex;
  gap: 40px;
  align-items: center;
}
.czmp-na__hero-img-wrap {
  flex: 0 0 60%;
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  line-height: 0;
}
.czmp-na__hero-img-wrap a {
  display: block;
}
.czmp-na__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 25px;
}
.czmp-na__hero-cat {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  font-size: 14px !important;
}
.czmp-na__hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.czmp-na__hero-title {
  font-size: 28px;
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
}
.czmp-na__hero-title a {
  color: inherit;
  text-decoration: none;
}
.czmp-na__hero-title a:hover {
  color: #E33F33;
}
.czmp-na__hero-text {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .czmp-na__hero {
    gap: 24px;
  }
  .czmp-na__hero-img-wrap {
    flex: 0 0 50%;
  }
}
@media (max-width: 767px) {
  .czmp-na__hero {
    flex-direction: column;
  }
  .czmp-na__hero-img-wrap {
    flex: none;
    width: 100%;
  }
}

/* ==========================================================================
   POST SECTIONS — [czmp_post_sections]
   ========================================================================== */
.czmp-ps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Testo wysiwyg */
.czmp-ps__text {
  font-size: 16px;
  line-height: 1.7;
  color: #000;
}
.czmp-ps__text h1, .czmp-ps__text h2, .czmp-ps__text h3, .czmp-ps__text h4, .czmp-ps__text h5, .czmp-ps__text h6 {
  color: #E33F33 !important;
}
.czmp-ps__text p {
  margin: 0 0 16px;
}
.czmp-ps__text p:last-child {
  margin-bottom: 0;
}

/* Art1 — Box full (testo sx, immagine dx, nessun gap, radius sul container) */
.czmp-ps__art1 {
  display: flex;
  gap: 0;
  height: 450px;
  border-radius: 25px;
  overflow: hidden;
}
.czmp-ps__art1-img {
  flex: 0 0 50%;
  overflow: hidden;
  position: relative;
}
.czmp-ps__art1-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.czmp-ps__art1-img--mobile {
  display: none;
}
.czmp-ps__art1-box {
  flex: 1;
  background: #5396A9;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.czmp-ps__art1-title {
  font-weight: 400;
  color: #fff !important;
  margin: 0;
  line-height: 1.3;
}
.czmp-ps__art1-text {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
}
.czmp-ps__art1-text p {
  margin: 0 0 10px;
}
.czmp-ps__art1-text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 1240px) {
  .czmp-ps__art1 {
    flex-direction: column-reverse;
    height: auto;
    background-color: #5396A9;
  }
  .czmp-ps__art1 .czmp-ps__art1-img {
    flex: 0 0 400px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
  }
  .czmp-ps__art1 .czmp-ps__art1-box {
    padding: 24px;
  }
}
@media (max-width: 767px) {
  .czmp-ps__art1 .czmp-ps__art1-img {
    flex: 0 0 300px;
    height: 300px;
  }
  .czmp-ps__art1 .czmp-ps__art1-img--desktop {
    display: none;
  }
  .czmp-ps__art1 .czmp-ps__art1-img--mobile {
    display: block;
  }
}

/* Placeholder condiviso solo per Archivio (gap + radius propri) */
.czmp-ps__archivio-img {
  flex: 0 0 calc(50% - 10px);
  overflow: hidden;
  border-radius: 25px;
  position: relative;
}
.czmp-ps__archivio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 25px;
}
.czmp-ps__archivio-box {
  flex: 1;
  background: #5396A9;
  border-radius: 25px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.czmp-ps__archivio-title {
  font-weight: 400;
  color: #fff !important;
  margin: 0;
  line-height: 1.3;
}

.czmp-ps__archivio-text {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
}
.czmp-ps__archivio-text p {
  margin: 0 0 10px;
}
.czmp-ps__archivio-text p:last-child {
  margin-bottom: 0;
}

.czmp-ps__ad-pill,
.czmp-ng__ad-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 13px;
  padding: 8px 16px 6px;
  pointer-events: none;
}

.czmp-ps__ad-pill.cat-label,
.czmp-ng__ad-pill.cat-label {
  background-color: #fff !important;
}

/* Art2 — 2 box */
.czmp-ps__art2 {
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.czmp-ps__art2-img {
  flex: 0 0 calc(50% - 10px);
  overflow: hidden;
  border-radius: 25px;
  position: relative;
  min-height: 300px;
}
.czmp-ps__art2-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 25px;
}
.czmp-ps__art2-img--mobile {
  display: none;
}
.czmp-ps__art2-boxes {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.czmp-ps__art2-box {
  flex: 1;
  border-radius: 25px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.czmp-ps__art2-box--1 {
  background: #5396A9;
}
.czmp-ps__art2-box--1 a:not(.czmp-na__arrow-btn) {
  color: #fff !important;
  text-decoration: underline;
}
.czmp-ps__art2-box--2 {
  background: #E33F33;
}
.czmp-ps__art2-box--2 a:not(.czmp-na__arrow-btn) {
  color: #fff !important;
  text-decoration: underline;
}
.czmp-ps__art2-box--2 .czmp-na__arrow-btn--blue {
  color: #E33F33 !important;
}
.czmp-ps__art2-box--2 .czmp-na__arrow-btn--blue svg circle {
  fill: #E33F33;
  stroke: #E33F33;
}
.czmp-ps__art2-box--2 .czmp-na__arrow-btn--blue svg path {
  fill: #fff;
}
.czmp-ps__art2-box--2 .czmp-na__arrow-btn--blue:hover, .czmp-ps__art2-box--2 .czmp-na__arrow-btn--blue:focus {
  color: #E33F33 !important;
}
.czmp-ps__art2-title {
  font-weight: 400;
  color: #fff !important;
  margin: 0;
  line-height: 1.3;
  font-size: 20px;
}
.czmp-ps__art2-text {
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
}
.czmp-ps__art2-text p {
  margin: 0 0 8px;
}
.czmp-ps__art2-text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 1240px) {
  .czmp-ps__art2 {
    flex-direction: column;
    min-height: 0;
  }
  .czmp-ps__art2 .czmp-ps__art2-img {
    flex: none;
    height: 400px;
    min-height: 0;
  }
  .czmp-ps__art2 .czmp-ps__art2-box {
    padding: 24px;
  }
}
@media (max-width: 767px) {
  .czmp-ps__art2 .czmp-ps__art2-img {
    height: 300px;
  }
  .czmp-ps__art2 .czmp-ps__art2-img--desktop {
    display: none;
  }
  .czmp-ps__art2 .czmp-ps__art2-img--mobile {
    display: block;
  }
}

/* Archivio (gap + radius propri, come .czmp-ng__ad) */
.czmp-ps__archivio {
  display: flex;
  gap: 20px;
  height: 450px;
}
@media (max-width: 1240px) {
  .czmp-ps__archivio {
    flex-direction: column;
    height: auto;
  }
  .czmp-ps__archivio .czmp-ps__archivio-img {
    flex: none;
    height: 400px;
  }
  .czmp-ps__archivio .czmp-ps__archivio-box {
    padding: 24px;
  }
}
@media (max-width: 767px) {
  .czmp-ps__archivio .czmp-ps__archivio-img {
    height: 300px;
  }
  .czmp-ps__archivio .czmp-ps__archivio-img--desktop {
    display: none;
  }
  .czmp-ps__archivio .czmp-ps__archivio-img--mobile {
    display: block;
  }
}

/* ---- Sezione 3: news grid con blocco pub ---- */
.czmp-ng {
  display: grid;
  grid-template-columns: repeat(var(--czmp-ng-cols, 3), 1fr);
  gap: 24px;
  /* Blocco pubblicità — occupa tutta la larghezza */
}
.czmp-ng__ad {
  grid-column: 1/-1;
  display: flex;
  gap: 20px;
  height: 450px;
}
.czmp-ng__ad-img {
  flex: 0 0 calc(50% - 10px);
  overflow: hidden;
  position: relative;
  border-radius: 25px;
}
.czmp-ng__ad-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 25px;
}
.czmp-ng__ad-img--mobile {
  display: none;
}
.czmp-ng__ad-img .czmp-ng__ad-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 13px;
  padding: 8px 16px 6px;
  pointer-events: none;
}
.czmp-ng__ad-box {
  flex: 1;
  background: #5396A9;
  border-radius: 25px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.czmp-ng__ad-title {
  font-weight: 400;
  color: #fff !important;
  margin: 0;
  line-height: 1.3;
}
.czmp-ng__ad-text {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
}
.czmp-ng__ad-text p {
  margin: 0 0 10px;
}
.czmp-ng__ad-text p:last-child {
  margin-bottom: 0;
}
@media (max-width: 1240px) {
  .czmp-ng__ad {
    flex-direction: column;
    height: auto;
  }
  .czmp-ng__ad-img {
    flex: none;
    height: 400px;
  }
  .czmp-ng__ad-box {
    padding: 24px;
  }
}
@media (max-width: 767px) {
  .czmp-ng__ad-img {
    height: 300px;
  }
  .czmp-ng__ad-img--desktop {
    display: none;
  }
  .czmp-ng__ad-img--mobile {
    display: block;
  }
}
.czmp-ng {
  /* Paginazione */
}
.czmp-ng__pagination {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding-top: 40px;
}
.czmp-ng__pagination-prev, .czmp-ng__pagination-info, .czmp-ng__pagination-next {
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  color: #1D2C5E;
  letter-spacing: 0.03em;
}
.czmp-ng__pagination-prev {
  text-transform: uppercase;
}
.czmp-ng__pagination-prev--disabled {
  opacity: 0.3;
  pointer-events: none;
}
.czmp-ng__pagination-next {
  text-transform: uppercase;
  color: #5396A9;
}
.czmp-ng__pagination-next--disabled {
  opacity: 0.3;
  pointer-events: none;
}
.czmp-ng__pagination-info strong {
  font-weight: 700;
}
@media (max-width: 1024px) {
  .czmp-ng {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .czmp-ng {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .czmp-lavoro-filters-label {
    width: 100%;
  }
}
@media (max-width: 767px) {
  #breadcrumbs {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .elementor-element.header-hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
@media (min-width: 768px) {
  .elementor-element.header-hero {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}
/* --------------------------------------------------------------------------
   FIX: Elementor Gallery — il modulo e-gallery setta le variabili CSS
   (--columns, --hgap, --vgap, --aspect-ratio) ma non applica il grid layout.
   -------------------------------------------------------------------------- */
.elementor-widget-gallery .elementor-gallery__container {
  display: grid !important;
  grid-template-columns: repeat(var(--columns, 3), 1fr) !important;
  gap: var(--vgap, 20px) var(--hgap, 20px) !important;
  min-height: unset !important;
}

.elementor-widget-gallery .e-gallery-item {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.elementor-widget-gallery .e-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.nf-fu-button-cancel {
  display: none !important;
}

.files_uploaded {
  padding-top: 20px;
}

.checkbox-wrap .nf-field-label .nf-label-span,
.checkbox-wrap .nf-field-label label {
  font-weight: 400;
}

.nf-form-content button:hover,
.nf-form-content input[type=button]:hover,
.nf-form-content input[type=submit]:hover {
  background: #fff !important;
  color: #000 !important;
}

.list-radio-wrap .nf-field-element li label {
  line-height: 1;
  padding: 2px 0;
}

#nf-field-257-wrap ul,
#nf-field-259-wrap ul {
  display: flex;
}

#nf-field-257-wrap ul li,
#nf-field-259-wrap ul li {
  padding-right: 20px !important;
}

.nf-next-previous {
  display: flex;
  justify-content: space-around;
}

.nf-form-cont .nf-form-content {
  padding-top: 35px;
}

#nf-form-29-cont .step-container span {
  font-weight: 500;
}

#nf-form-29-cont .nf-form-content input[type=button] {
  background: #333;
  font-size: 16px;
  padding: 15px 30px;
  line-height: 1;
}

.page-404 .error-404-btn:hover {
  background-color: #e33f33 !important;
}

.page-404 .error-404-desc {
  color: #000;
}

.page-id-2256 #main-body .elementor-widget-container > ul {
  list-style: none;
  padding-left: 0;
}
.page-id-2256 #main-body .elementor-widget-container > ul ul {
  list-style: disc;
  padding-left: 1.5em;
}

.czmp-ng__pagination-prev,
.czmp-ng__pagination-info,
.czmp-ng__pagination-next {
  color: #000;
}
@media (max-width: 768px) {
  .czmp-ng__pagination-prev,
  .czmp-ng__pagination-info,
  .czmp-ng__pagination-next {
    font-size: 16px;
  }
}

.czmp-emergenze-cta-box__btn,
.czmp-emergenze-cta-box__btn:hover,
.czmp-emergenze-cta-box__btn:focus {
  color: #fff !important;
}

@media (min-width: 1440px) {
  .czmp-panel__col .czmp-acc__children li a.btn-more {
    color: #000;
  }
}
.error404 #primary {
  background-color: #d4edf7;
}

@media (max-width: 1240px) {
  .form-step-description {
    font-size: 20px;
  }
}
#topbar {
  background-color: var(--orange-2, #e33f33) !important;
}

.czmp-rec-data {
  font-size: 12px;
  font-weight: 400;
  color: #000;
  margin: 4px 0 0;
  text-align: center;
}
