.location_section {
  width: 100%;
  padding: 90px 0;
  background: #f5f8f4;
  overflow: hidden;
}

.location_section .location_small_title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #332f09;
}
.location_section .location_small_title svg {
  font-size: 16px;
}

.location_section .location_heading h2 {
  margin: 0 0 15px;
  font-size: 45px;
  line-height: 1.15;
  font-weight: 700;
  color: #183d2d;
}

.location_section .location_heading h2 span {
  color: #b58a3b;
}

.location_section .location_heading p {
  max-width: 650px;
  margin: 0 auto;

  font-size: 16px;
  line-height: 1.8;
  color: #66746c;
}

.location_section .location_cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: auto;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    scrollbar-width: thin;
}
.location_section .location_cards .location_card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    min-height: 130px;
    height: auto;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e3e9e4;
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
    overflow: hidden;
}
.location_section .location_cards .location_card::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;

  width: 4px;
  height: 100%;

  background: #b58a3b;

  transform: scaleY(0);
  transform-origin: center;

  transition: transform 0.35s ease;
}

.location_section .location_cards .location_card:hover {
  transform: translateX(6px);

  border-color: #c9d9cd;

  box-shadow: 0 15px 35px rgba(23, 65, 45, 0.1);
}

.location_section .location_cards .location_card.active {
    background: linear-gradient(135deg, #edf5ef 0%, #ffffff 100%);
    border-color: #820802;
    box-shadow: 0 18px 40px rgb(130 8 2 / 7%);
}
.location_section .location_cards .location_card.active::before {
  transform: scaleY(1);
}

.location_section .location_cards .location_icon {
    /* flex: 0 0 55px; */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #b46a5f40;
    color: #820802;
    font-size: 18px;
    transition: all 0.35s ease;
    aspect-ratio: 1/1;
}
.location_section .location_cards .location_card.active .location_icon {
    background: #820802;
    color: #ffffff;
}
.location_section .location_cards .location_content {
  flex: 1;
  min-width: 0;
}

.location_section .location_cards .location_number {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #731712;
}

.location_section .location_cards .location_content h3 {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 700;
    color: #820802;
}
.location_section .location_cards .location_content h4 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 600;
  color: #820802;
}

.location_section .location_cards .location_content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #820802;
}

.location_section .location_cards .location_arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f2f5f2;
  color: #607066;
  font-size: 13px;
  transition: all 0.35s ease;
  aspect-ratio: 1/1;
}

.location_card:hover .location_arrow, .location_card.active .location_arrow {
    background: #820802ad;
    color: #ffffff;
    transform: rotate(5deg);
}

.location_section .location_map_wrapper {
  height: 100%;
  min-height: 500px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e2e9e3;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(24, 61, 45, 0.1);
}

.location_section .location_map_wrapper .map_top_bar {
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 12px 0 15px;
}

.location_section .location_map_wrapper .map_top_bar > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #52665a;
}

.location_section .location_map_wrapper .map_status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #57510b;
  box-shadow: 0 0 0 5px rgba(45, 155, 100, 0.12);
}
.location_section .location_map_wrapper .map_external_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 30px;
  background: #3f3b0d2e;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #000;
}

.location_section .location_map_wrapper .map_external_btn:hover {
    background: #820802bf;
    color: #ffffff;
    transform: translateY(-2px);
}

.location_section .location_map_wrapper .location_map {
  position: relative;

  width: 100%;
  height: calc(100% - 55px);

  min-height: 430px;

  overflow: hidden;

  border-radius: 18px;

  background: #e8eee9;
}

.location_section .location_map_wrapper .location_map iframe {
  display: block;

  width: 100%;
  height: 100%;

  filter: saturate(0.9);
}

.location_section .location_map_wrapper .map_overlay_card {
  position: absolute;
  left: 60px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.location_section .location_map_wrapper .map_overlay_icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #e8f2eb;
  color: #5c1f06;

  font-size: 16px;
}

.location_section .location_map_wrapper .map_overlay_card span {
  display: block;

  margin-bottom: 2px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;

  color: #7e3206;
}

.location_section .location_map_wrapper .map_overlay_card h4 {
  margin: 0;

  font-size: 13px;
  font-weight: 700;

  color: #802109;
}
@media (min-width: 0px) and (max-width: 575px) {
  .location_heading h2 {
    font-size: 28px;
  }
  .location_section {
    padding: 75px 0;
}

  .location_section .location_card {
    padding: 15px;
  }

.location_section .location_cards .location_icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
}
.location_section .location_cards .location_content h3 {
    font-size: 13px;
}

  .location_section .location_cards .location_content h4 {
    font-size: 11px;
  }

  .location_section .location_cards .location_content p {
    font-size: 11px;
  }

  .location_section .location_map_wrapper .map_top_bar > div {
    font-size: 11px;
  }

  .location_section .location_map_wrapper .map_external_btn {
    font-size: 10px;
    padding: 7px 9px;
  }
    .location_section .location_cards .location_arrow {
    display: none;
  }

}

@media (min-width: 576px) and (max-width: 767px) {
  .location_section {
    padding: 55px 0;
  }

  .location_section .location_cards .location_heading h2 {
    font-size: 32px;
  }

  .location_section .location_cards .location_heading p {
    font-size: 14px;
    line-height: 1.7;
  }

  .location_section .location_cards .location_card {
    padding: 18px;
    gap: 13px;
  }

  .location_section .location_cards .location_icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    font-size: 18px;
  }

  .location_section .location_cards .location_content h3 {
    font-size: 17px;
  }

  .location_section .location_cards .location_content h4 {
    font-size: 12px;
  }

  .location_section .location_cards .location_content p {
    font-size: 12px;
  }

  .location_section .location_cards .location_arrow {
    display: none;
  }

  .location_section .location_map_wrapper {
    min-height: 430px;
    padding: 7px;

    border-radius: 18px;
  }

  .location_section .location_map_wrapper .map_top_bar {
    height: 50px;
    padding: 0 8px;
  }

  .location_section .location_map_wrapper .map_external_btn {
    padding: 8px 11px;
    font-size: 11px;
  }

  .location_section .location_map_wrapper .location_map {
    min-height: 360px;
    height: 360px;
  }

  .location_section .location_map_wrapper .map_overlay_card {
    left: 12px;
    bottom: 12px;
    padding: 10px 13px;
  }
}

@media (min-width:767.98px) and (max-width: 991px) {
  .location_section {
    padding: 70px 0;
  }

  .location_heading {
    margin-bottom: 35px;
  }

  .location_section .location_cards .location_heading h2 {
    font-size: 38px;
  }

  .location_section .location_map_wrapper {
    min-height: 480px;
  }

  .location_section .location_map_wrapper .location_map {
    min-height: 400px;
  }
}
