/* =========================================================
   ATS Bergamo Custom - Homepage search/carousel
========================================================= */

/* css barra di ricerca eventi in home */
.home-events-search {
	display: flex;
  align-items: stretch;
  margin-top: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
	border-radius: 50px;
}

.home-events-search-field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
}

.home-events-search-field input,
.home-events-search-field select {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: clamp(19px,1.4vw,23px);
  color: #333;
  padding: 0 55px 0 72px;
  outline: none;
  appearance: none;
	border-radius: 0;
}

.home-events-search-field input::placeholder {
  color: #999;
}

.home-events-search-field input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.home-events-search-field input {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.keyword-field {
  flex: 1.2;
}

.select-field {
  flex: 1;
}

.home-events-search-submit {
  min-width: 300px;
  border: 0;
  background: #f59d0c;
  color: #f5f5f5;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease;
	border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.home-events-search-submit:hover {
  background: #e58e00;
}

.search-icon,
.category-icon,
.place-icon {
  left: 32px;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
}

.search-icon {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='22' y2='22'/%3E%3C/svg%3E");
}

.category-icon {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%23333' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3h10a2 2 0 0 1 2 2v16l-7-4-7 4V5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

.place-icon {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E");
}

.select-field::after {
  content: "";
  position: absolute;
  right: 32px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  pointer-events: none;
  margin-top: -5px;
}

/* Tablet / schermi medi: 2 elementi per riga */
@media screen and (min-width: 768px) and (max-width: 1280px) {

  .home-events-search {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .home-events-search-field {
    flex: 0 0 50%;
    width: 50%;
    min-height: 78px;
    box-sizing: border-box;
  }

  .home-events-search-submit {
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;
    min-height: 78px;
	  border-top-right-radius: 0 !important;
  }

  /* Sistema i bordi */
  .home-events-search-field:nth-child(1),
  .home-events-search-field:nth-child(3) {
    border-right: 1px solid #e5e5e5;
  }

  .home-events-search-field:nth-child(2) {
    border-right: 0;
  }

  .home-events-search-field:nth-child(1),
  .home-events-search-field:nth-child(2) {
    border-bottom: 1px solid #e5e5e5;
  }
}

@media screen and (max-width: 768px) {
  .home-events-search {
    flex-direction: column;
    margin-top: 30px;
  }

  .home-events-search-field {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid #e5e5e5;
  }

  .home-events-search-field input,
  .home-events-search-field select {
    font-size: clamp(19px,1.4vw,23px);
    padding-left: 60px;
	  min-height: 68px;
  }

  .search-icon,
  .category-icon,
  .place-icon {
    left: 24px;
  }

  .home-events-search-submit {
    min-width: 100%;
    min-height: 68px;
    font-size: 20px;
	  border-top-right-radius: 0 !important;
  }
}


/* =========================================================
   ATS - Carosello eventi in evidenza homepage
========================================================= */

.ats-events-carousel {
  position: relative;
  width: 100%;
  margin: 40px 0 0;
}

/* Track */

.ats-events-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 4px 26px;
}

.ats-events-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Card */

.ats-event-card {
  flex: 0 0 calc((100% - 72px) / 4);
  margin: 0;
  border: 1px solid var(--ats-border);
  border-radius: var(--ats-radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  background: #ffffff;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.ats-event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(41, 122, 56, 0.28);
}

.ats-event-card-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.ats-event-card-link:hover {
  color: inherit;
  text-decoration: none;
}

/* Immagine */

.ats-event-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--ats-bg-soft);
  overflow: hidden;
}

.ats-event-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ats-event-card:hover .ats-event-card-image img {
  transform: scale(1.04);
}

/* Contenuto */

.ats-event-card-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ats-event-card-category {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(41, 122, 56, 0.10);
  color: var(--ats-green);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.ats-event-card-title {
  margin: 0;
  padding: 0;
  padding-bottom: 10px;
  color: var(--ats-primary-dark);
  font-size: clamp(20px, 1.55vw, 27px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.ats-event-card-date {
  margin: auto 0 8px;
  color: var(--ats-warning);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.ats-event-card-date span {
  color: var(--ats-warning);
}

.ats-event-card-venue {
  color: var(--ats-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

/* Frecce */

.ats-events-carousel-top {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.ats-carousel-arrow {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ats-green);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.ats-carousel-arrow:hover {
  background: var(--ats-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(41, 122, 56, 0.24);
}

.ats-carousel-arrow i {
  display: none;
}

/* Font Awesome 5 */

.ats-carousel-arrow::before {
  font-family: "Font Awesome 5 Free", "fontawesome";
  font-weight: 900;
  line-height: 1;
}

.ats-carousel-prev::before {
  content: "\f053";
}

.ats-carousel-next::before {
  content: "\f054";
}

/* Nessun evento */

.ats-no-events {
  margin: 30px 0;
  color: var(--ats-muted);
  font-size: var(--ats-text-lg);
  font-weight: 700;
  line-height: 1.4;
}

/* Tablet */

@media screen and (max-width: 1200px) {
  .ats-event-card {
    flex-basis: calc((100% - 48px) / 3);
  }
}

@media screen and (max-width: 900px) {
  .ats-events-carousel-track {
    gap: 18px;
  }

  .ats-event-card {
    flex-basis: calc((100% - 18px) / 2);
    border-radius: var(--ats-radius-md);
  }

  .ats-event-card-title {
    font-size: clamp(24px, 4vw, 32px);
  }
}

/* Mobile */

@media screen and (max-width: 600px) {
  .ats-events-carousel {
    margin-top: 28px;
  }

  .ats-events-carousel-track {
    gap: 16px;
    padding-bottom: 22px;
  }

  .ats-event-card {
    flex-basis: 82%;
    border-radius: 22px;
  }

  .ats-event-card-content {
    padding: 20px;
  }

  .ats-event-card-category {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .ats-event-card-title {
    margin-bottom: 16px;
    font-size: clamp(26px, 8vw, 34px);
  }

  .ats-event-card-date,
  .ats-event-card-venue {
    font-size: 15px;
  }

  .ats-events-carousel-top {
    justify-content: flex-start;
  }

  .ats-carousel-arrow {
    width: 48px;
    height: 48px;
  }
}


/* =========================================================
   ATS - Aree tematiche homepage
========================================================= */

.ats-thematic-areas {
  width: 100%;
  margin: 0;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--ats-border);
  border-radius: var(--ats-radius-lg);
  background:
    radial-gradient(circle at top left, rgba(39, 75, 122, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--ats-bg-soft) 100%);
  box-shadow: var(--ats-shadow-card);
}

.ats-thematic-areas__header {
  margin: 0 0 clamp(30px, 5vw, 54px);
}

.ats-thematic-areas__eyebrow {
  margin: 0 0 10px;
  color: var(--ats-primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ats-thematic-areas__header h2 {
  margin: 0 0 14px;
  color: var(--ats-primary-dark);
  font-size: var(--ats-title-md);
  font-weight: 700;
  line-height: 1.1;
}

.ats-thematic-areas__header p:not(.ats-thematic-areas__eyebrow) {
  margin: 0;
  color: var(--ats-muted);
  font-size: var(--ats-text-lg);
  line-height: 1.45;
}

/* Griglia */

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

/* Card area */

.ats-thematic-area-card {
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--ats-border);
  border-radius: var(--ats-radius-md);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: #ffffff;
  color: var(--ats-text);
  text-decoration: none;
  box-shadow: var(--ats-shadow-soft);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.ats-thematic-area-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 122, 56, 0.28);
  color: var(--ats-text);
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(18, 52, 59, 0.12);
}

.ats-thematic-area-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(41, 122, 56, 0.10);
  color: var(--ats-green);
  font-size: 24px;
}

.ats-thematic-area-card__icon i {
  font-family: "Font Awesome 5 Free", "fontawesome";
  font-weight: 900;
  font-style: normal;
  line-height: 1;
}

.ats-thematic-area-card__content {
  min-width: 0;
  display: block;
}

.ats-thematic-area-card__title {
  display: block;
  color: var(--ats-primary-dark);
  font-size: clamp(20px, 1.55vw, 27px);
  font-weight: 700;
  line-height: 1.15;
}

.ats-thematic-area-card__cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ats-green);
  font-size: clamp(16px, 1.04vw, 20px);
  font-weight: 800;
  line-height: 1;
}

.ats-thematic-area-card__cta::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free", "fontawesome";
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease;
}

.ats-thematic-area-card:hover .ats-thematic-area-card__cta::after {
  transform: translateX(3px);
}

/* Variante più compatta se inserita vicino al carosello */

.ats-thematic-areas {
  margin-top: 0;
}

/* Responsive */

@media (max-width: 1100px) {
  .ats-thematic-areas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ats-thematic-areas {
    padding: 26px 18px;
    border-radius: var(--ats-radius-md);
  }

  .ats-thematic-areas__grid {
    grid-template-columns: 1fr;
  }

  .ats-thematic-area-card {
    min-height: auto;
    padding: 18px;
    border-radius: 22px;
  }
}

.home .ats-map-hero, .home .tribe-events-header {
  display: none!important;
}

.mappa .tribe-events-pro .gm-style .gm-style-iw-d {
  max-height: none !important;
  max-width: 100% !important;
}

.mappa .tribe-events-pro .tribe-events-pro-map__event-column {
  height: 600px;
}

#tribe-events-pg-template, .ats-event-category-template__inner {
  padding-inline: 7%!important;
  padding-bottom: 4rem;
}

.home .tribe-filter-bar.tribe-filter-bar--vertical {
    display:none;
}

.home .tribe-events--filter-bar-vertical.tribe-common--breakpoint-medium .tribe-events-l-container .tribe-filter-bar--open ~ .tribe-events-pro-map{
    width:100%;
}


/* =========================================================
   ATS - Autocomplete ricerca eventi homepage
========================================================= */

.home-events-search {
  overflow: visible;
}

.home-events-search .keyword-field {
  position: relative;
}

.ats-home-search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 18px;
  right: 18px;
  z-index: 9999;
  padding: 8px;
  border: 1px solid var(--ats-border);
  border-radius: 20px;
  display: none;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(18, 52, 59, 0.16);
}

.ats-home-search-suggestions.is-visible {
  display: grid;
  gap: 4px;
}

.ats-home-search-suggestion {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 0;
  border-radius: 14px;
  display: block;
  background: transparent;
  color: var(--ats-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.ats-home-search-suggestion:hover,
.ats-home-search-suggestion:focus-visible {
  background: rgba(39, 75, 122, 0.08);
  color: var(--ats-primary);
  outline: none;
}

/* Mantiene corretti gli angoli della barra dopo overflow visible */

.home-events-search-submit {
border-top-right-radius: 28px !important;
  border-bottom-right-radius: 28px !important;
}

@media screen and (max-width: 768px) {
  .ats-home-search-suggestions {
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    border-radius: 18px;
  }

  .home-events-search .keyword-field {
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    border-bottom-left-radius: 0;
  }

  .home-events-search-submit {
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 28px !important;
    border-bottom-right-radius: 28px !important;
  }
}



/* =========================================================
   ATS - Selettore accesso homepage
========================================================= */

.ats-access-selector {
  width: 100%;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid var(--ats-border);
  border-radius: var(--ats-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(41, 122, 56, 0.10), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, var(--ats-bg-soft) 100%);
  box-shadow: var(--ats-shadow-card);
}

.ats-access-selector__header {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.ats-access-selector__eyebrow {
  margin: 0 0 10px;
  color: var(--ats-green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ats-access-selector__header h2 {
  margin: 0;
  color: var(--ats-primary);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.ats-access-selector__header p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--ats-text);
  font-size: 18px;
  line-height: 1.6;
}

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

.ats-access-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(18, 52, 59, 0.12);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(18, 52, 59, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.ats-access-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 75, 122, 0.24);
  box-shadow: 0 24px 60px rgba(18, 52, 59, 0.12);
}

.ats-access-card__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(41, 122, 56, 0.10);
  color: var(--ats-green);
  font-size: 24px;
}

.ats-access-card--organizer .ats-access-card__icon {
  background: rgba(39, 75, 122, 0.10);
  color: var(--ats-primary);
}

.ats-access-card--admin .ats-access-card__icon {
  background: rgba(245, 157, 12, 0.14);
  color: var(--ats-warning);
}

.ats-access-card__content {
  flex: 1;
}

.ats-access-card__content h3 {
  margin: 0 0 10px;
  color: var(--ats-primary);
  font-size: 25px;
  line-height: 1.15;
}

.ats-access-card__content p {
  margin: 0;
  color: var(--ats-text);
  font-size: 16px;
  line-height: 1.55;
}

.ats-access-card__actions {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.ats-access-card__button {
  min-height: 50px;
  margin-top: 24px;
  padding: 13px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ats-primary);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.ats-access-card__actions .ats-access-card__button {
  margin-top: 0;
}

.ats-access-card__button:hover {
  background: var(--ats-primary-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(39, 75, 122, 0.22);
}

.ats-access-card__button--secondary {
  background: var(--ats-green);
}

.ats-access-card__button--secondary:hover {
  background: var(--ats-green-dark);
}

.ats-access-card__link {
  color: var(--ats-primary);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.ats-access-card__link:hover {
  color: var(--ats-primary-dark);
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .ats-access-selector__grid {
    grid-template-columns: 1fr;
  }

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

@media screen and (max-width: 768px) {
  .ats-access-selector {
    padding: 28px 18px;
    border-radius: 28px;
  }

  .ats-access-selector__header {
    text-align: left;
  }

  .ats-access-selector__header p {
    font-size: 16px;
  }

  .ats-access-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .ats-access-card__button {
    width: 100%;
  }
}



/* =========================================================
   HOME - Barra ricerca eventi
========================================================= */

.home-events-search {
    width: min(100%, 1500px);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, 1fr)
        minmax(0, 1fr)
        auto;
    gap: 0;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid rgba(39, 75, 122, 0.10);
    border-radius: 32px;
    box-shadow:
        0 20px 50px rgba(18, 52, 59, 0.10),
        0 4px 12px rgba(18, 52, 59, 0.04);

    overflow: hidden;
}


/* Singolo blocco */

.home-events-search-group {
    min-width: 0;

    padding: 14px 24px 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right: 1px solid rgba(39, 75, 122, 0.12);
}


/* Label */

.home-events-search-label {
    display: block;

    margin: 0 0 5px;

    color: #274B7A;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.01em;
}


/* Riga icona + campo */

.home-events-search-field {
    min-width: 0;
    min-height: 42px;

    display: flex;
    align-items: center;

    gap: 14px;
}


/* Icone */

.home-events-search-field .search-icon,
.home-events-search-field .category-icon,
.home-events-search-field .place-icon {
    flex: 0 0 auto;

    width: 22px;
    height: 22px;

    opacity: 0.72;
}


/* Input e select */

.home-events-search .home-events-search-field input,
.home-events-search .home-events-search-field select {
    width: 100%;
    min-width: 0;
    height: 42px;

    margin: 0;
    padding: 0 34px 0 0;

    border: 0 !important;
    border-radius: 0;

    background-color: transparent !important;

    color: #333333;

    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;

    outline: none !important;
    box-shadow: none !important;
}


/* Placeholder */

.home-events-search .home-events-search-field input::placeholder {
    color: rgba(51, 51, 51, 0.42);
    opacity: 1;
}


/* Select */

.home-events-search .home-events-search-field select {
    cursor: pointer;
}


/* Focus */

.home-events-search-group:focus-within {
    background: rgba(39, 75, 122, 0.035);
}

.home-events-search-group:focus-within .home-events-search-label {
    color: #297a38;
}


/* Bottone */

.home-events-search-submit-wrap {
    padding: 0;
    display: flex;
    align-items: stretch;
}

.home-events-search .home-events-search-submit {
    min-width: 180px;
    min-height: 100%;

    margin: 0;
    padding: 0 32px;

    border: 0;
    border-radius: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #297a38;
    color: #ffffff;

    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;

    text-transform: none;

    cursor: pointer;

    box-shadow: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.home-events-search .home-events-search-submit:hover {
    background: #1f662c;

    transform: translateY(-1px);

    box-shadow: 0 10px 22px rgba(41, 122, 56, 0.18);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .home-events-search {
        grid-template-columns: 1fr 1fr;

        gap: 0;

        border-radius: 24px;
    }

    .home-events-search-group {
        border-bottom: 1px solid rgba(39, 75, 122, 0.12);
    }

    .home-events-search-group:nth-child(2) {
        border-right: 0;
    }

    .home-events-search-group:nth-child(3) {
        border-bottom: 0;
    }

    .home-events-search-submit-wrap {
        border-left: 1px solid rgba(39, 75, 122, 0.12);
    }

    .home-events-search .home-events-search-submit {
        width: 100%;
        min-width: 0;
        min-height: 64px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .home-events-search {
        padding: 8px;

        grid-template-columns: 1fr;

        border-radius: 22px;
    }

    .home-events-search-group {
        padding: 15px 16px;

        border-right: 0;
        border-bottom: 1px solid rgba(39, 75, 122, 0.12);
    }

    .home-events-search-group:nth-child(3) {
        border-bottom: 0;
    }

    .home-events-search-label {
        font-size: 12px;
    }

    .home-events-search .home-events-search-field input,
    .home-events-search .home-events-search-field select {
        font-size: 16px;
    }

    .home-events-search-submit-wrap {
        padding: 8px 0 0;

        border-left: 0;
    }

    .home-events-search .home-events-search-submit {
        min-height: 56px;

        border-radius: 16px;
    }
}