/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

html {
  scroll-behavior: smooth;
	font-size: 100%;
}
:root {
  --h1: clamp(28px, 2.34vw, 45px);
  --h2: clamp(24px, 1.82vw, 35px);
  --h3: clamp(22px, 1.56vw, 30px);

  --p-lg: clamp(26px, 1.50vw, 30px);
  --p: clamp(19px,1.4vw,23px);
  --p-sm: clamp(16px, 1.04vw, 20px);

  --number: clamp(32px, 3.13vw, 60px);
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

p { font-size: var(--p); }

/* Varianti utili */
.text-lg { font-size: var(--p-lg); }
.text-sm { font-size: var(--p-sm); }

.number-big {
  font-size: var(--number);
  font-weight: 700;
  line-height: 1;
}
h1, h2, h3 {
  line-height: 1.2;
  margin-bottom: 0.5em;
}

p {
  line-height: 1.5;
  margin-bottom: 1em;
}

.bianco{
	color:#f5f5f5;
}
.nero{
	color:#333;
}
.blu{
	color:#0b2c4c;
}
.verde{
	color:#297a38;
}
.bg-bianco{
	background-color:#f5f5f5;
}
.bg-blu{
	background-color:#0b2c4c;
}
.bg-verde{
		background-color:#297a38;
}
.upper{
	text-transform:uppercase;
}
.pt0{
	padding-top:0!important;
}
.pt1{
	padding-top:1rem!important;
}
.pt2{
	padding-top:2rem!important;
}
.pt3{
	padding-top:3rem!important;
}
.pt3_5{
	padding-top:3.5rem!important;
}
.pt4{
	padding-top:4rem!important;
}
.pb0{
	padding-bottom:0!important;
}
.pb1{
	padding-bottom:1rem!important;
}
.pb2{
	padding-bottom:2rem!important;
}
.pb3{
	padding-bottom:3rem!important;
}
.pb4{
	padding-bottom:4rem!important;
}
.mt0{
	margin-top:0!important;
}
.mt1{
	margin-top:1rem!important;
}
.mt2{
	margin-top:2rem!important;
}
.mt3{
	margin-top:3rem!important;
}
.mt4{
	margin-top:4rem!important;
}
.mt5{
	margin-top:5rem!important;
}
.mb0{
	margin-bottom:0!important;
}
.mb1{
	margin-bottom:1rem!important;
}
.mb2{
	margin-bottom:2rem!important;
}
.mb3{
	margin-bottom:3rem!important;
}
.mb3_5{
	margin-bottom:3.5rem!important;
}
.mb4{
	margin-bottom:4rem!important;
}
.mb5{
		margin-bottom:5rem!important;
}
@media screen and (max-width: 768px){
	.pt2{
		padding-top:1.5rem!important;
	}
	.pt3{
		padding-top:2.5rem!important;
	}
	.pt4{
		padding-top:3rem!important;
	}
	.pb2{
		padding-bottom:1.5rem!important;
	}
	.pb3{
		padding-bottom:2.5rem!important;
	}
	.pb4{
		padding-bottom:3rem!important;
	}
	.mt2{
		margin-top:1.5rem!important;
	}
	.mt3{
		margin-top:2.5rem!important;
	}
	.mt4{
		margin-top:3rem!important;
	}
	.mt5{
		margin-top:4rem!important;
	}
	.mb2{
		margin-bottom:2rem!important;
	}
	.mb3{
		margin-bottom:2.5rem!important;
	}
	.mb3_5{
		margin-bottom:3rem!important;
	}
	.mb4{
		margin-bottom:3rem!important;
	}
	.mb5{
		margin-bottom:4rem!important;
	}
}

.centrale{
	text-align:center!important;
}
.destra{
	text-align:right!important;
}
.l-section, .tribe-common.tribe-events.tribe-events-view, #tribe-events-pg-template{
  --padding-inline: 7% !important;
}

#page-header {
  background-color: #f5f5f5;
}

#page-header .l-subheader.at_middle .type_mobile .w-nav-list.level_1 {
  background: var(--color-header-top-bg);
  color: var(--color-header-middle-text);
}

#page-header .l-header a, #page-header .l-header .g-preloader {
  color: inherit;
}

#tribe-events-pg-template {
  padding-left: 7% !important;
  padding-right: 7% !important;
}


.l-canvas > .tribe-common.tribe-events-view {
  padding-left: 7%!important;
  padding-right: 7%!important;
}

.l-subheader {
  --padding-inline: 3%;
}
@media screen and (max-width: 768px){
	.l-section {
	  --padding-inline: 7% !important;
	}
}

.tribe-events-pro .tribe-events-pro-photo__event-datetime-featured-text, .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text, .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-day__event-datetime-featured-text {
	color: #297a38!important;
}



#menu-item-36 a:hover{
	transform: translateY(-2px);
	transition: 200ms;
}

.menu-principale .w-nav-anchor.level_1 {
  font-size: clamp(22px,1.5vw,28px);
  font-weight: 600;
}

body.header_hor .w-nav.type_desktop.align-edges > .w-nav-list.level_1 {
  margin-inline: 0;
}

.casetta-home-menu > a.w-nav-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
	.casetta-home-menu > a.w-nav-anchor {
	  justify-content: start;
	}
}

@media (max-width: 1400px) {
	#menu-item-36 {
	  display: flex;
	  align-content: flex-start;
	}
}	

.casetta-home-menu .w-nav-title {
  display: inline-block;
  width: 32px;
  height: 32px;
  overflow: hidden;
  text-indent: -9999px;
  background-image: url("https://calendarioprevenzione.ats-bg.stage.whitehub.it/wp-content/uploads/2026/06/icona-home.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#menu-item-2228 .w-nav-anchor.level_1 {
  margin-inline: 0;
  font-size: clamp(22px,1.5vw,28px);
  text-transform: capitalize;
}


#progetto .wpb_text_column h2 {
  width: 450px;
  max-width: 100%;
}

#hero-home{
	padding-bottom: 300px;
}

#hero-home .wpb_text_column {
  padding-top: 2rem;
}

#hero-home input:not([type="submit"]):focus, #hero-home select:focus, #hero-home textarea:focus {
	box-shadow:none!important;
}




/* -------- MAPPA EVENTI HOME -------- */

.tribe-common-l-container.tribe-events-l-container {
  margin: 0!important;
  width: 100%!important;
  max-width: 100%!important;
	padding: 0 !important;
}


.tribe-events-header__events-bar.tribe-events-c-events-bar.tribe-events-c-events-bar--border {
  border-radius: 50px;
}

.tribe-events-header__events-bar #tribe-events-search-container {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.tribe-events .tribe-events-c-view-selector--labels .tribe-events-c-view-selector__button:focus, .tribe-events .tribe-events-c-view-selector--labels button.tribe-events-c-view-selector__button:focus {
  outline: none!important;
}

.no-touch [type="submit"]:not(.w-btn):not(.button):hover{
	border-radius:50px;
}

.home #tribe-events-view-selector-content {
  left: -26px;
}

#tribe-events-view-selector-content {
  border-radius: 32px;
	left: -40px;
}

.tribe-events-c-view-selector__list-item:hover {
  border-radius: 50px !important;
}

#tribe-events-events-bar-keyword, #tribe-events-events-bar-location{
  font-size: clamp(19px,1.4vw,23px);
  color: #333;
}

.tribe-events .tribe-events-c-search__button:focus, .tribe-events button.tribe-events-c-search__button:focus {
  outline: none !important;
  border-radius: 50px !important;
  background-color: #0b2c4c !important;
}

.tribe-common-c-btn.tribe-events-c-search__button, .tribe-events-pro-map__event-date-tag-daynum.tribe-common-h5 {
  font-size: clamp(19px,1.4vw,23px)!important;
}

.tribe-events-c-view-selector__button-text.tribe-common-a11y-visual-hide, .tribe-events-c-view-selector__list-item-text, .tribe-common-c-btn-border-small.tribe-events-c-top-bar__today-button.tribe-common-a11y-hidden, .tribe-events-pro-map__event-date-tag-month  {
  font-size: clamp(18px,1.3vw,22px) !important;
}

.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-bottom {
  border-radius: 25px !important;
}

.tribe-common .tribe-common-c-svgicon, .tribe-common--breakpoint-medium.tribe-events-pro .tribe-events-pro-map__event-datetime-featured-text {
  color: #297a38!important;
}

.tribe-events-pro-map__event-venue-title.tribe-common-b3--bold {
  display: block;
	padding-bottom: 5px;
}

.tribe-events-pro-map__event-start-datetime {
  display: block;
  font-size: 14px;
}

:root {
  --tec-font-size-1: clamp(13px, 1vw, 17px) !important;
  --tec-font-size-2: clamp(18px,1.2vw,23px) !important;
  --tec-line-height-0: 1.2!important;
  --tec-line-height-3: 1.2!important;
}

.tribe-events-pro-map__event-venue-address{
	position:relative;
	padding-left: 15px !important;
}

.tribe-events-pro-map__event-venue-address::before{
	position:absolute;
	content:"\f3c5";
	font-family: "fontawesome";
	left:0;
	font-size: 14px;
}


/* ----- FOOTER ----- */
#page-footer > .l-section{
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
	border-top-left-radius: 35px;
	border-top-right-radius: 35px;
}

#page-footer > .l-section > .l-section-h{
	padding-inline: 3%;
	padding-top: 5%;
	padding-bottom: 3rem;
	background-color: #f5f5f5;
	border-top-left-radius: 35px;
	border-top-right-radius: 35px;
}

#page-footer .w-image {
  width: 200px;
  max-width: 100%;
  margin-bottom: 2rem;
}

#page-footer h3{
	font-weight: 700;
	font-size: clamp(20px,1.3vw,26px);
}

#page-footer .menu-footer{
	margin-left: 0;
	list-style-type: none;
	font-size: clamp(19px,1.4vw,23px);
}

#page-footer .menu-footer li{
  transition: 200ms;
}

#page-footer .menu-footer li:hover{
	transform: translateX(4px);
  transition: 200ms;
}

#page-footer .cta {
  background-color: #274B7A;
  color: #fff;
  padding: 8px 28px;
  border-radius: 50px;
}

#page-footer .cta:hover {
	background-color: #0b2c4c;
	transition:300ms;
}

#page-footer #copy {
  padding-bottom: 0;
}

#page-footer #copy .l-section-h {
  padding-bottom: 2rem;
}

#page-footer #copy, #page-footer #copy .l-section-h{
	padding-top: 0;
}

#page-footer #copy .l-section-h .vc_column-inner > .wpb_wrapper{
	border-top: 1px solid #297a38;
	padding-top: 2rem;
}

#page-footer #copy .c-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: 2rem;
  row-gap: .5rem;
}


/* ---- PAGINA IL PROGETTO e CONTATTI ---- */

/* ---- ATS COMMON ---- */
:root {
  --ats-primary: #274B7A;
  --ats-primary-dark: #0b2c4c;
  --ats-green: #297a38;
  --ats-green-dark: #1f662c;
  --ats-text: #333;
  --ats-muted: #5f6b76;
  --ats-bg-soft: #f5f5f5;
  --ats-border: rgba(0, 107, 122, .16);
  --ats-white: #fff;
}

.ats-page {
  color: var(--ats-text);
  font-size: 16px;
  line-height: 1.6;
}

.ats-page * {
  box-sizing: border-box;
}

.ats-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 42px;
  align-items: center;
  padding: 70px 64px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 15%, rgba(41, 122, 56, .22), transparent 34%),
    linear-gradient(135deg, var(--ats-primary-dark), var(--ats-primary));
  color: var(--ats-white);
}

.ats-hero::after {
  content: "";
  position: absolute;
right: -60px;
  bottom: -60px;
  width: 400px;
  height: 400px;
  background-image: url("https://calendarioprevenzione.ats-bg.stage.whitehub.it/wp-content/uploads/2026/07/icona-ghost.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.10;
  pointer-events: none;
  z-index: 1;
}

.ats-hero__content,
.ats-hero__card {
  position: relative;
  z-index: 1;
}

.ats-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ats-green);
  font-size: clamp(19px, 1.4vw, 23px);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ats-hero .ats-eyebrow,
.ats-project-cta .ats-eyebrow,
.ats-contact-cta .ats-eyebrow {
  color: #f5f5f5;
}

.ats-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.ats-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #f5f5f5;
  font-weight: 700;
  line-height: 1.04;
}

.ats-lead {
  max-width: 720px;
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(26px, 1.50vw, 30px);
  line-height: 1.55;
}

.ats-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ats-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(19px, 1.4vw, 23px);
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ats-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.ats-btn:focus-visible {
  outline: 3px solid rgba(41, 122, 56, .35);
  outline-offset: 3px;
}

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

.ats-btn--primary:hover {
  background: var(--ats-green-dark);
  color: #fff !important;
}

.ats-btn--secondary {
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff !important;
  background: rgba(255, 255, 255, .08);
}

.ats-btn--secondary:hover {
  border-color: var(--ats-white);
  color: var(--ats-white);
  background: rgba(255, 255, 255, .16);
}

.ats-btn--white {
  background: var(--ats-white);
  color: var(--ats-primary);
  white-space: nowrap;
}

.ats-btn--white:hover {
  color: #fff !important;
  background-color: var(--ats-primary);
}

.ats-hero__card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
}

.ats-hero__card img {
  width: 60px;
  max-width: 100%;
}

.ats-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--ats-green);
  color: var(--ats-white);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.ats-hero__card h2 {
  margin: 0 0 12px;
  color: #f5f5f5;
  font-size: clamp(30px, 1.6vw, 40px);
  font-weight: 600;
}

.ats-hero__card p {
  margin: 0;
  color: #f5f5f5;
}

/* Responsive common */
@media (max-width: 1024px) {
  .ats-hero {
    grid-template-columns: 1fr;
    padding: 56px 38px;
  }
}

@media (max-width: 767px) {
  .ats-hero {
    padding: 42px 24px;
    border-radius: 22px;
  }

  .ats-actions {
    flex-direction: column;
  }

  .ats-btn {
    width: 100%;
  }

  .ats-hero__card {
    padding: 24px;
  }
}






.ats-project-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.ats-info-card {
  position: relative;
  min-height: 245px;
  padding: 32px;
  border: 1px solid var(--ats-border);
  border-radius: 24px;
  background: var(--ats-white);
  box-shadow: 0 16px 40px rgba(11, 44, 76, .07);
}


.ats-info-card__number {
  display: block;
  margin-bottom: 34px;
  color: rgba(39, 75, 122, .18);
  font-size: clamp(42px,6vw,65px);
  font-weight: 700;
  line-height: 1;
}

.ats-info-card h3,
.ats-feature-card h3,
.ats-step-card h3 {
  margin: 0 0 10px;
  color: var(--ats-primary-dark);
  line-height: 1.22;
}

.ats-info-card h3 {
  padding-top: 0;
  font-weight: 700;
}

.ats-info-card p,
.ats-feature-card p,
.ats-step-card p,
.ats-project-section__heading p,
.ats-project-cta p {
  margin: 0;
  color: var(--ats-muted);
}

.ats-project-section {
  padding: 86px 0 0;
}

.ats-project-section__heading {
 width: 860px;
  margin-bottom: 34px;
  max-width: 100%;
}

.ats-project-section__heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.ats-project-section__heading--center .ats-eyebrow {
  justify-content: center;
}

.ats-project-section__heading h2 {
  margin: 0 0 16px;
  color: var(--ats-primary-dark);
  line-height: 1.1;
  font-weight: 700;
}

.ats-feature-list {
  display: grid;
  gap: 18px;
}

.ats-feature-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--ats-border);
  border-radius: 22px;
  background: var(--ats-white);
}

.ats-feature-card img{
	width: 60px;
	max-width: 100%;
}

.ats-feature-card__icon span {
  position: relative;
  width: 22px;
  height: 22px;
}

.ats-feature-card h3 {
	font-weight: 700;
}

.ats-project-steps {
  padding: 86px 0 0;
}

.ats-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ats-step-card {
  padding: 30px;
  border-radius: 24px;
  background: var(--ats-white);
  border: 1px solid var(--ats-border);
  box-shadow: 0 16px 40px rgba(11, 44, 76, .06);
}

.ats-step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--ats-primary);
  color: var(--ats-white);
  font-weight: 800;
}

.ats-step-card h3 {
  font-size: 24px;
}

.ats-project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 86px;
  padding: 46px 52px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(135deg, var(--ats-green), var(--ats-green-dark));
  color: var(--ats-white);
}

.home .ats-project-cta {
  margin-top: 0;
}

.ats-text-cta{
	max-width:100%;
}

.ats-project-cta h2 {
  margin: 0 0 12px;
  color: var(--ats-white);
  line-height: 1.12;
  font-weight: 700;
}

.ats-project-cta p {
	width: 700px;
	max-width:100%;
	color: #f5f5f5;
}

/* Responsive progetto */
@media (max-width: 1024px) {
  .ats-project-intro-grid,
  .ats-steps-grid {
    grid-template-columns: 1fr;
  }

  .ats-info-card {
    min-height: auto;
  }

  .ats-info-card__number {
    margin-bottom: 22px;
  }

  .ats-project-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .ats-project-cta {
    border-radius: 22px;
    padding: 24px;
    margin-top: 64px;
  }

  .ats-info-card,
  .ats-feature-card,
  .ats-step-card {
    padding: 24px;
  }

  .ats-project-section,
  .ats-project-steps {
    padding-top: 64px;
  }

  .ats-feature-card {
    grid-template-columns: 1fr;
  }

  .ats-feature-card__icon {
    width: 52px;
    height: 52px;
  }
}


/* ---- PAGINA CONTATTI ---- */

.ats-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.ats-contact-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid var(--ats-border);
  border-radius: 24px;
  background: var(--ats-white);
  box-shadow: 0 16px 40px rgba(11, 44, 76, .07);
}

.ats-contact-card__icon::before {
  font-family: "fontawesome";
  font-weight: 700;
  font-size: clamp(26px, 1.50vw, 30px);
  line-height: 1;
}

.ats-contact-card__icon--email::before {
  content: "\f0e0";
}

.ats-contact-card__icon--phone::before {
  content: "\f095";
}

.ats-contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(41, 122, 56, .12);
  color: var(--ats-green);
  font-size: 28px;
  line-height: 1;
}

.ats-contact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ats-green);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ats-contact-card h2 {
  margin: 0 0 10px;
  color: var(--ats-primary-dark);
  font-weight: 700;
  line-height: 1.2;
}

.ats-contact-card p {
  margin: 0 0 20px;
  color: var(--ats-muted);
}

.ats-contact-link {
  display: inline-flex;
  align-items: center;
  color: var(--ats-primary);
  font-size: clamp(18px, 1.3vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  word-break: break-word;
}

.ats-contact-link:hover {
  color: var(--ats-green);
  text-decoration: underline;
}

.ats-contact-link:focus-visible {
  outline: 3px solid rgba(41, 122, 56, .35);
  outline-offset: 3px;
}

.ats-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 86px;
  padding: 46px 52px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(135deg, var(--ats-green), var(--ats-green-dark));
  color: var(--ats-white);
}

.ats-contact-cta h2 {
  max-width: 860px;
  margin: 0 0 12px;
  color: var(--ats-white);
  line-height: 1.12;
  font-weight: 700;
}

.ats-contact-cta p {
  width: 700px;
  max-width: 100%;
  margin: 0;
  color: #f5f5f5;
}

/* Responsive contatti */
@media (max-width: 1024px) {
  .ats-contact-grid {
    grid-template-columns: 1fr;
  }

  .ats-contact-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .ats-contact-card,
  .ats-contact-cta {
    padding: 24px;
  }

  .ats-contact-card {
    grid-template-columns: 1fr;
  }

  .ats-contact-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 24px;
  }

  .ats-contact-link {
    font-size: 16px;
  }

  .ats-contact-cta {
    margin-top: 64px;
    border-radius: 22px;
  }
}

.ats-contact-cta > div{
	max-width:100%;
}

.ats-map-hero {
  margin: 0 0 34px !important;
  padding: clamp(32px, 5vw, 52px) !important;
  border: 1px solid var(--ats-border) !important;
  border-radius: 32px;
  background: radial-gradient(circle at top left, rgba(39, 75, 122, 0.10), transparent 36%), #fff;
  width: 100%;
}

.ats-map-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--ats-primary);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ats-map-hero h1 {
  margin: 0 0 18px !important;
  color: var(--ats-green);
  font-size: clamp(42px, 6vw, 65px);
  font-weight: 700 !important;
  line-height: 1.1;
  font-style: normal;
  letter-spacing: 0em;
}

.ats-map-hero p:last-child {
  width: 930px;
  max-width: 100%;
  margin: 0;
  color: var(--ats-text);
  font-size: clamp(19px, 1.4vw, 23px);
  line-height: 1.45;
}

.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:focus, .single-tribe_events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text:focus, .tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text:focus {
  outline: none !important;
}

.ats-events-map-page .tribe-filter-bar.tribe-filter-bar--open {
  background-color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 25px;
}

.tribe-filter-bar .tribe-filter-bar-c-filter--accordion .tribe-filter-bar-c-filter__toggle:focus, .tribe-filter-bar .tribe-filter-bar-c-filter--accordion button.tribe-filter-bar-c-filter__toggle:focus, .tribe-filter-bar .tribe-filter-bar-c-filter__toggle:focus, .tribe-filter-bar button.tribe-filter-bar-c-filter__toggle:focus {
  outline: none !important;
}

.ats-events-map-page .tribe-filter-bar .tribe-filter-bar-c-filter:first-child{
  border-top: none;
}


.tribe-filter-bar .tribe-filter-bar-c-filter:last-child {
  border-bottom: none;
}

.tribe-filter-bar-c-filter__toggle {
  padding: 10px 10px !important;
  border-radius: 55px !important;
  margin: 10px 0 !important;
}

.tribe-filter-bar .tribe-filter-bar-c-filter__toggle:hover, .tribe-filter-bar button.tribe-filter-bar-c-filter__toggle:focus, .tribe-filter-bar button.tribe-filter-bar-c-filter__toggle:hover {
  background-color: #f5f5f5 !important;
  border-radius: 55px;
  opacity: 1;
}

.tribe-common--breakpoint-medium .tribe-filter-bar--horizontal.tribe-filter-bar .tribe-filter-bar__filters-slider-wrapper {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
}

.ats-app-nav {
  display: none !important;
}

/* ------- STYLE PER PWA webapp ------- */


@media (max-width: 900px) {

	/* Menu inferiore visibile solo nella PWA installata */
	html.ats-pwa-standalone .ats-app-nav {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99999;

		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));

		padding: 6px 5px calc(6px + env(safe-area-inset-bottom));

		background: rgba(255, 255, 255, 0.97);
		border-top: 1px solid rgba(39, 75, 122, 0.14);
		box-shadow: 0 -5px 20px rgba(11, 44, 76, 0.10);

		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
	}

	html.ats-pwa-standalone .ats-app-nav__item {
		position: relative;

		display: flex;
		min-width: 0;
		min-height: 56px;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 3px;

		padding: 4px 2px;

		color: var(--ats-primary, #274B7A);
		font-size: 11px;
		font-weight: 600;
		line-height: 1.15;
		text-align: center;
		text-decoration: none;

		border-radius: 10px;
		transition:
			color 0.2s ease,
			background-color 0.2s ease;
	}

	html.ats-pwa-standalone .ats-app-nav__item svg {
		width: 23px;
		height: 23px;

		fill: none;
		stroke: currentColor;
		stroke-width: 1.8;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	html.ats-pwa-standalone .ats-app-nav__item.is-active {
		color: var(--ats-green, #297A38);
		background: rgba(41, 122, 56, 0.09);
	}

	html.ats-pwa-standalone .ats-app-nav__item.is-active::before {
		content: "";

		position: absolute;
		top: -6px;
		left: 50%;

		width: 28px;
		height: 3px;

		background: var(--ats-green, #297A38);
		border-radius: 0 0 4px 4px;
		transform: translateX(-50%);
	}

	/* Evita che il menu copra il contenuto */
	html.ats-pwa-standalone body {
		padding-bottom: calc(74px + env(safe-area-inset-bottom));
	}
}

@media (max-width: 900px) {
	html.ats-pwa-standalone .l-header .w-nav {
		display: none !important;
	}
}

@media (max-width: 900px) {
	html.ats-pwa-standalone .l-header {
		display: none !important;
	}
}

@media (max-width: 900px) {

	html.ats-pwa-standalone .l-main > .l-section:first-of-type > .l-section-h,
	html.ats-pwa-standalone .l-main > form > .l-section:first-of-type > .l-section-h{
		padding-top: 0 !important;
	}
}





/* =========================================================
   Banner installazione PWA
   ========================================================= */

.ats-pwa-install-banner {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom));
	left: 16px;
	z-index: 99990;

	display: flex;
	max-width: 560px;
	min-height: 76px;
	align-items: center;
	gap: 12px;

	margin: 0 auto;
	padding: 12px 12px 12px 14px;

	color: #333;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(39, 75, 122, 0.14);
	border-radius: 16px;
	box-shadow: 0 10px 35px rgba(11, 44, 76, 0.18);

	opacity: 0;
	transform: translateY(calc(100% + 40px));
	transition:
		opacity 0.25s ease,
		transform 0.25s ease;

	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.ats-pwa-install-banner[hidden] {
	display: none !important;
}

.ats-pwa-install-banner.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ats-pwa-install-banner__close {
	position: absolute;
	top: -9px;
	right: -5px;
	display: flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: #274b7a;
	font-size: 21px;
	font-weight: 400;
	line-height: 1;

	background: #fff;
	border: 1px solid rgba(39, 75, 122, 0.16);
	border-radius: 50%;
	box-shadow: 0 3px 10px rgba(11, 44, 76, 0.12);
	cursor: pointer;
}

.ats-pwa-install-banner__icon {
	display: flex;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;

	color: #fff;
	background: #274b7a;
	border-radius: 12px;
}

.ats-pwa-install-banner__icon svg {
	width: 25px;
	height: 25px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ats-pwa-install-banner__content {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	gap: 2px;
}

.ats-pwa-install-banner__title {
	color: #0b2c4c;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.ats-pwa-install-banner__text {
	color: #333;
	font-size: 12px;
	line-height: 1.35;
}

.ats-pwa-install-banner__button {
	flex: 0 0 auto;

	min-height: 42px;
	padding: 9px 14px;

	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;

	background: #297a38;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}

.ats-pwa-install-banner__button:hover,
.ats-pwa-install-banner__button:focus-visible {
	color: #fff;
	background: #1f662c;
}


/* =========================================================
   Finestra istruzioni iPhone
   ========================================================= */

.ats-pwa-ios-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.ats-pwa-ios-modal[hidden] {
	display: none !important;
}

.ats-pwa-ios-modal.is-visible {
	opacity: 1;
}

.ats-pwa-ios-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(11, 44, 76, 0.56);
}

.ats-pwa-ios-modal__dialog {
	position: relative;
	z-index: 1;
	width: 560px;
	max-width: 100%;
	max-height: calc(100vh - 30px);
	overflow-y: auto;
	padding: 28px 24px calc(24px + env(safe-area-inset-bottom));
	color: #333;
	background: #fff;
	border-radius: 24px 24px 0 0;
	transform: translateY(40px);
	transition: transform 0.25s ease;
}

.ats-pwa-ios-modal.is-visible .ats-pwa-ios-modal__dialog {
	transform: translateY(0);
}

.ats-pwa-ios-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	width: 34px;
	height: 34px;
	padding: 0;
	color: #274b7a;
	font-size: 26px;
	line-height: 1;
	background: #f5f5f5;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.ats-pwa-ios-modal__app-icon {
	display: flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	color: #fff;
	background: #274b7a;
	border-radius: 16px;
}

.ats-pwa-ios-modal__app-icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ats-pwa-ios-modal h2 {
	margin: 0 40px 10px 0;
	color: #0b2c4c;
	font-size: 22px;
	line-height: 1.2;
}

.ats-pwa-ios-modal__intro {
	margin: 0 0 18px;
}

.ats-pwa-ios-modal__steps {
	display: flex;
	flex-direction: column;
	gap: 13px;
	margin: 0 0 22px;
	padding-left: 24px;
}

.ats-pwa-ios-modal__steps li {
	padding-left: 4px;
	line-height: 1.45;
}

.ats-pwa-share-icon {
	display: inline-flex;
	width: 25px;
	height: 25px;
	align-items: center;
	justify-content: center;

	margin-left: 3px;

	color: #274b7a;
	vertical-align: middle;
}

.ats-pwa-share-icon svg {
	width: 22px;
	height: 22px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ats-pwa-ios-modal__confirm {
	width: 100%;
	min-height: 48px;
	padding: 12px 18px;

	color: #fff;
	font-weight: 700;

	background: #297a38;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
}

html.ats-pwa-modal-open {
	overflow: hidden;
}


/* Il banner non deve mai apparire su desktop */
@media (min-width: 901px) {
	.ats-pwa-install-banner,
	.ats-pwa-ios-modal {
		display: none !important;
	}
}


/* Ottimizzazione per smartphone molto piccoli */
@media (max-width: 380px) {
	.ats-pwa-install-banner {
		gap: 9px;
		padding-left: 10px;
	}

	.ats-pwa-install-banner__icon {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.ats-pwa-install-banner__text {
		display: none;
	}

	.ats-pwa-install-banner__button {
		padding-right: 11px;
		padding-left: 11px;
	}
}


/* =========================================================
   FOOTER PWA
   ========================================================= */

@media (max-width: 900px) {

	/*
	 * Nasconde le colonne:
	 * Esplora, Aree tematiche, Partecipa alle iniziative
	 */
	html.ats-pwa-standalone
	#page-footer
	.bg-verde
	.g-cols
	> .wpb_column:nth-child(n + 2) {
		display: none !important;
	}

	/*
	 * Prima colonna: logo e descrizione a tutta larghezza
	 */
	html.ats-pwa-standalone
	#page-footer
	.bg-verde
	.g-cols
	> .wpb_column:first-child {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
		margin: 0 !important;
	}

	html.ats-pwa-standalone
	#page-footer
	.bg-verde
	.l-section-h {
		padding-top: 28px !important;
		padding-bottom: 24px !important;
	}

	html.ats-pwa-standalone
	#page-footer
	.bg-verde
	.wpb_wrapper {
		text-align: left;
	}

	/*
	 * Logo più compatto
	 */
	html.ats-pwa-standalone
	#page-footer
	.bg-verde
	.w-image {
		max-width: 150px;
		margin-bottom: 14px;
	}

	html.ats-pwa-standalone
	#page-footer
	.bg-verde
	.w-image img {
		display: block;
		width: 100%;
		height: auto;
	}

	/*
	 * Descrizione
	 */
	html.ats-pwa-standalone
	#page-footer
	.bg-verde
	.wpb_text_column {
		width: 430px;
		max-width:100%;
	}

	html.ats-pwa-standalone
	#page-footer
	.bg-verde
	.wpb_text_column p {
		margin: 0;
		font-size: 16px;
		line-height: 1.5;
	}

	/*
	 * Sezione copyright e link legali
	 */
	html.ats-pwa-standalone
	#page-footer
	#copy
	.l-section-h {
		padding-top: 18px !important;
		padding-bottom:
			calc(92px + env(safe-area-inset-bottom)) !important;
	}

	html.ats-pwa-standalone
	#page-footer
	#copy
	.c-flex {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		gap: 10px;
		text-align: left;
	}

	html.ats-pwa-standalone
	#page-footer
	#copy
	.c-flex > div {
		width: 100%;
		font-size: 16px;
		line-height: 1.55;
	}

	html.ats-pwa-standalone
	#page-footer
	#copy
	a {
		display: inline-block;
		padding: 2px 1px;
	}
}



/* Nascosto sempre come impostazione predefinita */
.ats-app-nav {
	display: none !important;
}

/* Visibile solo nella PWA, su dispositivo mobile/touch */
@media screen and (max-width: 900px) and (hover: none) and (pointer: coarse) {
	html.ats-pwa-standalone .ats-app-nav {
		display: grid !important;
	}
}

/* Sicurezza aggiuntiva per desktop */
@media screen and (min-width: 901px) {
	html.ats-pwa-standalone .ats-app-nav,
	.ats-app-nav {
		display: none !important;
	}
}


/* ==========================================================
   ATS BERGAMO - NOTE LEGALI
   ========================================================== */

/* HEADER
   ========================================================== */

.ats-legal__header {
    max-width: 820px;
    margin-bottom: 52px;
}

.ats-legal__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--ats-green);
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ats-legal__title {
    margin: 0 0 18px;
    color: var(--ats-primary);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    font-weight: 700;
}

.ats-legal__lead {
    margin: 0;
    max-width: 760px;
    font-size: 19px;
    line-height: 1.6;
    color: var(--ats-text);
}


/* CONTENUTO
   ========================================================== */

.ats-legal__content {
    width: 100%;
}

.ats-legal__section {
    padding: 38px 0;
}

.ats-legal__section:last-child {
    border-bottom: 1px solid #d9d9d9;
}

.ats-legal__section h2 {
    margin: 0 0 20px;
    color: var(--ats-primary);
    font-weight: 700;
}

.ats-legal__section p {
    margin: 0 0 16px;
}

.ats-legal__section p:last-child {
    margin-bottom: 0;
}

.ats-legal__section strong {
    font-weight: 700;
}


/* BLOCCO IN EVIDENZA - RUOLO ATS
   ========================================================== */

.ats-legal__section--highlight {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin: 60px 0;
    padding: 32px;
    border: 1px solid #e4e4e4;
    border-left: 4px solid var(--ats-primary)!important;
    border-radius: 24px;
    background: var(--ats-bg-soft);
}

.ats-legal__section--highlight h2 {
    margin-top: 0;
}

.ats-legal__icon {
    flex: 0 0 28px;
    width: 28px;
    margin-top: 3px;
}

.ats-legal__icon svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: var(--ats-primary);
}


/* BLOCCO CONTATTI FINALE
   ========================================================== */

.ats-legal__section--contact {
    margin-top: 18px;
    padding: 30px;
    border: 0;
    border-radius: 24px;
    background: var(--ats-primary);
    color: #fff;
}

.ats-legal__section--contact h2 {
    color: #fff;
}

.ats-legal__section--contact p {
    color: #fff;
}


/* RESPONSIVE
   ========================================================== */

@media (max-width: 767px) {

    .ats-legal__header {
        margin-bottom: 36px;
    }

    .ats-legal__lead {
        font-size: 17px;
    }

    .ats-legal__section {
        padding: 30px 0;
    }

    .ats-legal__section p {
        font-size: 15px;
        line-height: 1.7;
    }

    .ats-legal__section--highlight {
        gap: 16px;
        margin: 12px 0;
        padding: 22px 20px;
    }

    .ats-legal__icon {
        flex-basis: 24px;
        width: 24px;
    }

    .ats-legal__icon svg {
        width: 24px;
        height: 24px;
    }

    .ats-legal__section--contact {
        padding: 24px 20px;
    }
}

@media (max-width: 520px) {

    .ats-legal__section--highlight {
        display: block;
    }

    .ats-legal__icon {
        margin: 0 0 14px;
    }
}

label#ats-events-keyword-label-1, label#ats-events-location-label-2, label#ats-events-keyword-label-1, label#ats-events-location-label-2, label#ats-events-keyword-label-1, label#ats-events-location-label-2 {
    margin-left: 40px !important;
	       margin-bottom: 10px !important;
}

input#tribe-events-events-bar-location, input#tribe-events-events-bar-keyword {
    line-height: 1;
    height: 40px;
    max-height: 35px;
    min-height: 20px;
}
.tribe-common-form-control-text.tribe-events-c-search__input-control.tribe-events-c-search__input-control--location.ats-event-search-control--labelled, .tribe-common-form-control-text.tribe-events-c-search__input-control.tribe-events-c-search__input-control--keyword.ats-event-search-control--labelled {
    gap: 15px;
}