/*
 * GerinAuto 6 - contact page reusable styles
 * Version 1.5.3: CSS fully centralised. The Joomla article can now contain HTML only.
 */
.ga-contact-centered,
.ga-contact-full-layout {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.ga-contact-full-layout {
  display: grid;
  gap: 28px;
}

.ga-hours-wide,
.ga-contact-panel,
.ga-contact-location-strip {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.ga-hours-wide {
  width: 100%;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(12, 86, 55, .12), rgba(15, 23, 42, .04));
}

.ga-hours-wide__icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #0c5637;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .10);
}

.ga-hours-wide__icon svg {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
}

.ga-hours-wide__content h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.ga-hours-wide__content p {
  margin: 0;
  color: #52606d;
  line-height: 1.7;
  font-size: 1.05rem;
}

.ga-hours-wide__badge {
  justify-self: end;
  padding: 12px 18px;
  color: #0c5637;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(12, 86, 55, .18);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.ga-contact-panel {
  overflow: hidden;
}

.ga-contact-panel__head {
  padding: 28px 34px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(12, 86, 55, .10), rgba(15, 23, 42, .04));
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.ga-contact-panel__head h2 {
  margin: 8px 0;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
}

.ga-contact-panel__head p {
  max-width: 760px;
  margin: 0 auto;
  color: #52606d;
  line-height: 1.7;
}

.ga-contact-panel__body {
  padding: 32px 34px 36px;
}

.ga-contact-form-slot {
  width: 100%;
  max-width: none;
  margin: 0;
}

.ga-contact-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  color: #244236;
  font-size: .98rem;
  text-align: center;
  border-radius: 18px;
  background: rgba(12, 86, 55, .08);
}

.ga-contact-location-strip {
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

.ga-contact-location-strip h2 {
  margin: 0 0 8px;
}

.ga-contact-location-strip p {
  margin: 0;
  color: #52606d;
  line-height: 1.7;
}

.ga-contact-location-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.ga-btn--whatsapp {
  color: #ffffff;
  background: #25d366;
  border-color: #25d366;
}

.ga-btn--whatsapp:hover,
.ga-btn--whatsapp:focus {
  color: #ffffff;
  background: #1fb85a;
  border-color: #1fb85a;
}

.ga-contatti-page .ga-contact-quick-clean {
  text-align: center;
}

.ga-contatti-page .ga-contact-quick-clean > strong {
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

.ga-contatti-page .ga-contact-quick-clean .ga-contact-lines {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 16px;
  justify-content: center;
  justify-items: stretch;
  text-align: left;
}

.ga-contatti-page .ga-contact-quick-clean .ga-contact-line {
  min-width: 270px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  column-gap: 16px;
  margin: 0;
  padding: 0;
  color: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ga-contatti-page .ga-contact-quick-clean .ga-contact-line:hover,
.ga-contatti-page .ga-contact-quick-clean .ga-contact-line:focus-visible {
  color: #0c5637;
}

.ga-contatti-page .ga-contact-quick-clean .ga-contact-line__icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #0c5637;
  line-height: 1 !important;
  border-radius: 50% !important;
  background: rgba(12, 86, 55, .10);
  box-shadow: inset 0 0 0 1px rgba(12, 86, 55, .10);
}

.ga-contatti-page .ga-contact-quick-clean .ga-contact-line__icon svg {
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;
  display: block !important;
  fill: currentColor;
}

.ga-contatti-page .ga-contact-quick-clean .ga-contact-line__text {
  display: block;
  text-align: left;
  white-space: nowrap;
}

.ga-contact-line--whatsapp .ga-contact-line__icon {
  color: #25d366;
  background: rgba(37, 211, 102, .14);
  box-shadow: inset 0 0 0 1px rgba(37, 211, 102, .18);
}

.ga-inline-icon {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -.16em;
  fill: currentColor;
}

.ga-inline-icon--button {
  width: 1.05em;
  height: 1.05em;
  margin-right: .35rem;
}

@media (max-width: 760px) {
  .ga-hours-wide {
    grid-template-columns: 1fr;
    padding: 26px 20px;
    text-align: center;
  }

  .ga-hours-wide__icon {
    margin: 0 auto;
  }

  .ga-hours-wide__badge {
    justify-self: center;
    white-space: normal;
  }

  .ga-contact-panel__head,
  .ga-contact-panel__body,
  .ga-contact-location-strip {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ga-contact-location-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ga-contact-location-actions {
    justify-content: center;
  }

  .ga-contatti-page .ga-contact-quick-clean .ga-contact-lines {
    width: max-content;
    max-width: 100%;
  }

  .ga-contatti-page .ga-contact-quick-clean .ga-contact-line {
    min-width: 245px;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .ga-contatti-page .ga-contact-quick-clean .ga-contact-line__text {
    white-space: nowrap;
  }
}
