.location {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location {
    gap: 4rem;
  }
}
@media only screen and (max-width: 767px) {
  .location {
    gap: 3rem;
  }
}

.location-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.location-section__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.location-section__icon {
  width: 1.25rem;
  height: 2rem;
  flex-shrink: 0;
}
.location-section__title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--g80);
  line-height: 1.5;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-section__title {
    font-size: 1.5rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-section__title {
    font-size: 1.25rem;
  }
}

.location-map {
  position: relative;
  width: 100%;
}
.location-map__container {
  width: 100%;
  height: 31.25rem;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-map__container {
    height: 25rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-map__container {
    height: 18.75rem;
  }
}
.location-map__container .root_daum_roughmap {
  width: 100% !important;
  height: 100% !important;
}
.location-map__container .wrap_map {
  width: 100% !important;
  height: 100% !important;
}
.location-map__container .map_border {
  display: none !important;
}
.location-map__container .section_address,
.location-map__container .wrap_controllers {
  display: none !important;
}
.location-map__info {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: rgba(17, 17, 17, 0.9);
  color: #fff;
  padding: 2.5rem 3.75rem 2.5rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-map__info {
    padding: 1.5rem 2rem;
    font-size: 1rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-map__info {
    position: relative;
    padding: 1.25rem;
    font-size: 0.875rem;
  }
}
.location-map__info p {
  margin: 0;
}

.location-table {
  width: 100%;
  border-top: 2px solid var(--primary);
}
.location-table table {
  width: 100%;
  border-collapse: collapse;
}
.location-table thead th {
  width: 50%;
  background: var(--b-2);
  border: 1px solid var(--l-2);
  border-top: none;
  padding: 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--g80);
  text-align: center;
}
.location-table thead th:first-child {
  border-left: none;
}
.location-table thead th:last-child {
  border-right: none;
}
@media only screen and (max-width: 767px) {
  .location-table thead th:first-child {
    width: 30%;
  }
  .location-table thead th:last-child {
    width: 70%;
  }
}
.location-table tbody td {
  background: #fff;
  border: 1px solid var(--l-2);
  padding: 1.25rem;
  font-size: 1rem;
  color: var(--g70);
  vertical-align: middle;
}
.location-table tbody td:first-child {
  text-align: center;
  border-left: none;
}
@media only screen and (max-width: 767px) {
  .location-table tbody td:first-child {
    font-size: 0.875rem;
  }
}
.location-table tbody td:last-child {
  border-right: none;
}
.location-table tbody tr:last-child td {
  border-bottom: 1px solid var(--l-2);
}
.location-table__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.location-table__stations {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.location-table__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-table__badge--number {
  width: 1.875rem;
  height: 1.875rem;
  background: var(--g80);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1.5;
}
.location-table__badge--bus {
  width: 1.875rem;
  height: 1.875rem;
  background: var(--g70);
  border-radius: 50%;
}
.location-table__badge--bus svg {
  width: 1rem;
  height: 1rem;
}
.location-table__badge--type {
  padding: 0 0.75rem;
  height: 1.875rem;
  background: var(--g70);
  color: #fff;
  border-radius: 2px;
  font-size: 1rem;
  line-height: 1.5;
}
.location-table__bus-info {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.location-table__bus-info p {
  flex: 1;
  margin: 0;
  line-height: 1.5;
}
@media only screen and (max-width: 767px) {
  .location-table thead th,
  .location-table tbody td {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  .location-table__stations {
    flex-direction: column;
    gap: 0.625rem;
  }
  .location-table__badge--number, .location-table__badge--bus {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }
  .location-table__badge--number svg, .location-table__badge--bus svg {
    width: 0.75rem;
    height: 0.75rem;
  }
  .location-table__badge--type {
    padding: 0 0.5rem;
    height: 1.5rem;
    font-size: 0.75rem;
  }
  .location-table__bus-info {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.location-shuttle-wrap {
  display: flex;
  justify-content: flex-end;
}
@media only screen and (max-width: 767px) {
  .location-shuttle-wrap {
    justify-content: stretch;
  }
}

.location-shuttle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.875rem;
  background: var(--primary);
  border-radius: 0.5rem;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.2s;
}
.location-shuttle-btn:hover {
  background: rgb(130.4690721649, 12.5309278351, 16.2164948454);
}
.location-shuttle-btn img {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
@media only screen and (max-width: 767px) {
  .location-shuttle-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .location-shuttle-btn img {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.location-transport {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
  margin-top: 2.5rem;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-transport {
    gap: 3rem;
    margin-top: 2rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-transport {
    gap: 2rem;
    margin-top: 1.5rem;
  }
}
.location-transport__item {
  display: flex;
  gap: 2.5rem;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-transport__item {
    gap: 1.5rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-transport__item {
    flex-direction: column;
    gap: 1rem;
  }
}
.location-transport__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.25rem;
  height: 6.25rem;
  background: var(--g80);
  border-radius: 50%;
  flex-shrink: 0;
}
.location-transport__icon img {
  width: 3.75rem;
  height: 3.75rem;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-transport__icon {
    width: 5rem;
    height: 5rem;
  }
  .location-transport__icon img {
    width: 3rem;
    height: 3rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-transport__icon {
    width: 4rem;
    height: 4rem;
  }
  .location-transport__icon img {
    width: 2.5rem;
    height: 2.5rem;
  }
}
.location-transport__content {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  flex: 1;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-transport__content {
    gap: 1.5rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-transport__content {
    gap: 1.25rem;
  }
}
.location-transport__block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.location-transport__block h5 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--g80);
  line-height: 1.5;
  margin: 0;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-transport__block h5 {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-transport__block h5 {
    font-size: 1rem;
  }
}
.location-transport__block p {
  font-size: 1.125rem;
  color: var(--g70);
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin: 0;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-transport__block p {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-transport__block p {
    font-size: 0.875rem;
  }
}
.location-transport__block ul {
  margin: 0;
  padding: 0;
  padding-left: 1.6875rem;
}
.location-transport__block ul li {
  list-style: disc;
  font-size: 1.125rem;
  color: var(--g70);
  line-height: 1.5;
  letter-spacing: -0.02em;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-transport__block ul li {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-transport__block ul li {
    font-size: 0.875rem;
  }
}
.location-transport__bullet {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--secondary);
  transform: rotate(45deg);
  margin-right: 0.25rem;
}
.location-transport__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-transport__links {
    gap: 1.5rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-transport__links {
    gap: 0.75rem 1rem;
  }
}
.location-transport__links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: var(--g70);
  line-height: 1.5;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.location-transport__links a:hover {
  color: var(--primary);
}
.location-transport__links a img {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .location-transport__links a {
    font-size: 1rem;
  }
  .location-transport__links a img {
    width: 1.5rem;
    height: 1.5rem;
  }
}
@media only screen and (max-width: 767px) {
  .location-transport__links a {
    font-size: 0.875rem;
  }
  .location-transport__links a img {
    width: 1.25rem;
    height: 1.25rem;
  }
}