/* ANCHOR General */
.mgc-section .mgc-section-title {
  text-align: center;
}

/* ANCHOR Contact details */

.mgc-section.contact-details {
  background-image: linear-gradient(to top, transparent 0%, #f3f5f9 80%);
}

.contact-details .mgc-section-title {
  margin-bottom: 4rem;
}

.contact-details .contact-cards {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 2rem;
  justify-content: center;
}

.contact-details .detail {
  display: flex;
  align-items: center;
}

.contact-details .detail-wrapper {
  --icon-size: 4rem;
  --card-pad: 1rem;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: var(--card-pad) 2rem;
  background-color: white;
  border-radius: 1rem;
  border: 2px solid #00833e;
  box-shadow: 0 0 0.5rem silver;
  transition: scale 0.2s linear;
}

.contact-details .detail-wrapper:hover {
  scale: 1.025;
}

.contact-details .detail .icon {
  width: var(--icon-size);
  aspect-ratio: 1/1;
  margin-inline-end: 3rem;
  color: #3fae2a;
  transition: color 0.2s linear;
}

.contact-details .detail-wrapper:hover .icon {
  color: #95d600;
}

.contact-details .detail-wrapper .svg-wrapper {
  filter: drop-shadow(0 0 0.15rem transparent) drop-shadow(0 0 0.1rem transparent);
  transition: filter 0.2s linear;
}

.contact-details .detail-wrapper:hover .svg-wrapper {
  filter: drop-shadow(0 0 0.2rem #95d60080) drop-shadow(0 0 0.15rem #95d60080);
}

.contact-details .detail .icon .svg-wrapper,
.contact-details .detail .icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-details .detail .text {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.contact-details .detail .text .item {
  color: #000a88;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-details .detail .text .item::after {
  content: ":";
}

.contact-details .detail .text .value {
  white-space: pre-line;
}

/* ANCHOR Our locations */

.locations .map {
  position: relative;
  display: flex;
  justify-content: center;
  border-radius: 3rem;
  box-shadow: 0 0 1.15rem 0.15rem gainsboro;
  overflow: hidden;
}

.locations .map .map-wrapper {
  width: 100%;
}

.locations .map .google-map {
  border: none;
}

.locations .map .mgc-section-title {
  --bw: 6px;
  --border: var(--bw) solid #95d600;
  position: absolute;
  top: 0;
  display: flex;
  width: fit-content;
  padding: 1rem 2rem;
  background-color: white;
}

.locations .map .mgc-section-title::before,
.locations .map .mgc-section-title::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  aspect-ratio: 1/1;
  background-color: white;
}

.locations .map .mgc-section-title::before {
  left: 0;
  border-bottom-left-radius: 100%;
  border-left: var(--border);
  box-shadow:
    calc(-1 * var(--bw)) 0 0 #3fae2a,
    inset var(--bw) 0 0 #c4d600;
  translate: -100%;
}

.locations .map .mgc-section-title::after {
  right: 0;
  border-bottom-right-radius: 100%;
  border-right: var(--border);
  box-shadow:
    var(--bw) 0 0 #3fae2a,
    inset calc(-1 * var(--bw)) 0 0 #c4d600;
  translate: 100%;
}

.locations .map .locations-scroller {
  --control-size: 3rem;
  --shadow: #00000033;
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  display: flex;
  background-color: var(--shadow);
}

.locations .map .scroller-control {
  width: var(--control-size);
  padding: 0;
  border-radius: 0;
  z-index: 1;
}

.locations .map .scroller-control:first-child {
  box-shadow: 0.5rem 0 0.5rem var(--shadow);
}

.locations .map .scroller-control:last-child {
  box-shadow: -0.5rem 0 0.5rem var(--shadow);
}

.locations .map .scroller {
  width: calc(100% - calc(var(--control-size) * 2));
}

.locations .map .slick-list {
  padding: 0 0.5rem;
}

.locations .map .location,
.locations .map .location button {
  height: 100%;
}

.locations .map .location {
  padding: 0.5rem 0.25rem;
}

.locations .map .location button {
  --border-color: #00833e;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem;
  background-color: white;
  outline: none;
  border: 2px solid var(--border-color);
  border-radius: 1rem;
  font-size: 1.35rem;
  font-weight: bold;
  color: #838383;
  box-shadow: 0 0 0.25rem var(--border-color);
  transition: color 0.2s linear;
}

.locations .map .location button:disabled {
  opacity: 0.6;
}

.locations .map .location button:hover,
.locations .map .location.selected button {
  color: #3fae2a;
}

.location-popover {
  --bs-popover-max-width: 25rem;
  --border-color: #3fae2a;
  --bs-popover-border-width: 2px;
  --bs-popover-border-color: var(--border-color);
  --bs-popover-arrow-border: var(--border-color);
  --bs-popover-body-color: #838383;
  --bs-popover-font-size: 1.05rem;
}

.location-popover .popover-arrow {
  --h: var(--bs-popover-arrow-height);
  --w: var(--bs-popover-border-width);
  bottom: calc(calc(-1 * var(--h)) - var(--w) + 1px) !important;
}

.location-popover .detail {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.location-popover .detail:not(:last-child) {
  margin-bottom: 0.5rem;
}

.location-popover .detail .icon {
  margin-inline-end: 1.5rem;
  color: #00833e;
}

/* ANCHOR Media queries */

/* Tablet size */
@media (max-width: 991px) {
  .contact-details .contact-cards {
    --bs-gutter-x: 2rem;
  }

  .contact-details .detail-wrapper {
    padding: var(--card-pad);
  }

  .contact-details .detail .icon {
    margin-inline-end: 1.5rem;
  }

  .locations .map .locations-scroller {
    bottom: 0;
  }

  .locations .map .location button {
    padding: 1rem;
    font-size: 1.15rem;
  }
}

/* Large phone size */
@media (max-width: 650px) {
}

/* Phone size */
@media (max-width: 510px) {
}
