.top_box .started_btn,
.therr_box > div .started_btn {
  display: inline-block;
  text-decoration: none;
}

.top_box > .w1280 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.top_box .left {
  width: 100%;
  max-width: 560px;
  min-width: 0;
  margin: 0;
}

.top_box .left .txt {
  max-width: 560px;
  word-break: normal;
  overflow-wrap: break-word;
}

.xi0_location_top_bg {
  width: min(100%, 470px);
  max-width: 470px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
}

.xi0_location_orb {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 189, 0, 0.22) 0%, rgba(255, 189, 0, 0) 72%);
  pointer-events: none;
}

.xi0_location_orb_one {
  width: 360px;
  height: 360px;
  top: -10px;
  right: 50px;
}

.xi0_location_orb_two {
  width: 240px;
  height: 240px;
  bottom: 10px;
  left: 40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 72%);
}

.xi0_location_hero_card {
  width: 100%;
  max-width: 470px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
  padding: 34px 34px 30px;
  position: relative;
  z-index: 1;
}

.xi0_location_hero_head {
  display: flex;
  gap: 22px;
  align-items: center;
}

.xi0_location_flag_wrap {
  width: 86px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(28, 39, 70, 0.14);
}

.xi0_location_flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xi0_location_hero_meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.xi0_location_eyebrow {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6d89;
}

.xi0_location_country {
  margin: 0;
  font-size: 32px;
  line-height: 38px;
  font-weight: 600;
  color: #1e2330;
}

.xi0_location_count {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: #ff8a00;
}

.xi0_location_city_count {
  margin: 2px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d2e5ff;
  background: #eef5ff;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  color: #1f4d84;
  letter-spacing: 0.01em;
}

.xi0_location_city_count::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8fff;
  box-shadow: 0 0 0 3px rgba(47, 143, 255, 0.2);
  flex-shrink: 0;
}

.xi0_location_badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.xi0_location_badges span {
  border-radius: 999px;
  background: #f5f7fb;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 20px;
  color: #313849;
}

.therr_box > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  margin-bottom: clamp(56px, 8vw, 120px);
}

.therr_box > div > div:not(.img_box) {
  min-width: 0;
}

.therr_box > div .txt {
  width: 100%;
  max-width: 533px;
}

.therr_box > div .img_box {
  width: 100%;
  max-width: 470px;
  min-height: 226px;
  aspect-ratio: 469 / 226;
  padding: 14px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.therr_box > div .img_box img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media only screen and (max-width: 1280px) {
  .top_box > .w1280 {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: 34px;
  }

  .top_box .left {
    max-width: 520px;
  }

  .top_box .left .txt {
    max-width: 520px;
  }

  .xi0_location_top_bg {
    min-height: 320px;
    max-width: 430px;
  }

  .therr_box > div {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 28px;
  }
}

@media only screen and (max-width: 1100px) {
  .top_box {
    padding-top: 172px !important;
    padding-bottom: 42px !important;
  }

  .top_box > .w1280 {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .top_box .left {
    max-width: 760px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .top_box .left > img {
    display: block;
    margin: 0 auto;
  }

  .top_box .left .txt {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .top_box .started_btn {
    margin-top: 20px;
  }

  .xi0_location_top_bg {
    min-height: 0;
    max-width: 470px;
  }

  .xi0_location_top_bg .xi0_location_hero_card {
    margin-top: 18px;
  }

  .xi0_location_orb_one {
    width: 280px;
    height: 280px;
    top: -8px;
    right: 34px;
  }

  .xi0_location_orb_two {
    width: 190px;
    height: 190px;
    bottom: 6px;
    left: 24px;
  }

  .therr_box > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 64px;
  }

  .therr_box > div .img_box {
    order: 1;
  }

  .therr_box > div > div:not(.img_box) {
    order: 2;
  }

  .therr_box > div > div:not(.img_box) {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .therr_box > div .txt {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .therr_box > div .started_btn {
    margin-left: auto;
    margin-right: auto;
  }

  .therr_box > div .img_box {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 900px) {
  .top_box {
    padding-top: 148px !important;
    padding-bottom: 32px !important;
  }

  .top_box > .w1280 {
    gap: 8px;
  }

  .top_box .left {
    max-width: 100%;
  }

  .top_box .started_btn {
    margin-top: 16px;
  }

  .xi0_location_top_bg {
    max-width: 420px;
  }

  .xi0_location_top_bg .xi0_location_hero_card {
    margin-top: 22px;
  }

  .therr_box > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
  }

  .therr_box > div:nth-child(2n-1) {
    flex-direction: column;
  }

  .therr_box > div > div:not(.img_box) {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }

  .therr_box > div .img_box {
    max-width: 360px;
    min-height: 0;
    aspect-ratio: auto;
    padding: 10px;
  }

  .therr_box > div .img_box img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 220px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 650px) {
  .top_box {
    padding-top: 132px !important;
    padding-bottom: 26px !important;
  }

  .top_box > .w1280 {
    gap: 6px;
  }

  .xi0_location_hero_card {
    padding: 24px;
  }

  .xi0_location_top_bg .xi0_location_hero_card {
    margin-top: 18px;
  }

  .xi0_location_hero_head {
    gap: 16px;
    align-items: flex-start;
  }

  .xi0_location_flag_wrap {
    width: 72px;
    height: 48px;
  }

  .xi0_location_country {
    font-size: 28px;
    line-height: 34px;
  }

  .xi0_location_count {
    font-size: 18px;
    line-height: 24px;
  }

  .xi0_location_city_count {
    font-size: 14px;
    line-height: 18px;
    padding: 5px 10px;
    gap: 7px;
  }

  .xi0_location_badges span {
    width: 100%;
  }

  .therr_box > div {
    margin-bottom: 46px;
  }

  .therr_box > div .img_box {
    max-width: 320px;
    padding: 8px;
  }

  .therr_box > div .img_box img {
    max-height: 190px;
  }
}

.xi0_location_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.top_box .xi0_location_secondary_btn {
  min-width: 240px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.top_box .xi0_location_secondary_btn:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.xi0_location_hub {
  margin-top: 0;
  margin-bottom: 88px;
}

.xi0_location_hub_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.xi0_location_hub_card {
  min-height: 100%;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 189, 0, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 245, 0.98)),
    #ffffff;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.xi0_location_hub_eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a6642;
}

.xi0_location_hub_title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: #222439;
}

.xi0_location_hub_text {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: #4b5563;
}

.xi0_location_hub_links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.xi0_location_hub_link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 11px 15px;
  border-radius: 999px;
  background: #fff7dd;
  color: #2e3039;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.xi0_location_hub_link::after {
  content: ">";
  color: #ff8a00;
}

.xi0_location_hub_link:hover {
  background: #ffefb8;
  transform: translateX(2px);
}

@media only screen and (max-width: 1280px) {
  .xi0_location_hub {
    margin-bottom: 70px;
  }
}

@media only screen and (max-width: 1100px) {
  .xi0_location_actions {
    justify-content: center;
  }

  .xi0_location_hub_grid {
    grid-template-columns: 1fr;
  }

  .xi0_location_hub_card {
    padding: 24px;
  }
}

@media only screen and (max-width: 900px) {
  .top_box .xi0_location_secondary_btn,
  .top_box .started_btn {
    width: 100%;
    max-width: 320px;
  }

  .xi0_location_hub {
    margin-bottom: 54px;
  }

  .xi0_location_hub_title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 650px) {
  .xi0_location_actions {
    margin-top: 24px;
    gap: 12px;
  }

  .xi0_location_hub_card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .xi0_location_hub_title {
    font-size: 22px;
  }

  .xi0_location_hub_text,
  .xi0_location_hub_link {
    font-size: 14px;
  }
}
