/* Detect user location blog article — hero-specific layout */
.v2-blog-detect-location-hero {
  padding-bottom: 72px;
}

.v2-blog-detect-location-hero .v2-hero__inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 56px;
  align-items: start;
}

.v2-blog-detect-location-hero .v2-hero__title {
  font-size: 52px;
}

.v2-blog-detect-location-hero .v2-hero__title-sub {
  font-size: 42px;
}

.v2-blog-detect-location-hero .v2-hero__desc {
  max-width: 620px;
}

.v2-blog-detect-location-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 18px;
}

.v2-blog-detect-location-hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  background: var(--v2-soft-bg);
  color: var(--v2-gray);
  font-size: 13px;
  font-weight: 600;
}

.v2-blog-detect-location-hero__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.v2-blog-detect-location-hero__art-wrap {
  display: flex;
  justify-content: center;
  padding-top: 28px;
}

.v2-blog-detect-location-hero__illustration {
  position: relative;
  width: 520px;
  height: 420px;
  max-width: 100%;
}

.v2-blog-detect-location-card {
  left: 0;
  width: 205px;
  min-height: 68px;
}

.v2-blog-detect-location-card--location { top: 28px; }
.v2-blog-detect-location-card--timezone { top: 155px; }
.v2-blog-detect-location-card--security { top: 282px; }

.v2-blog-detect-location-api-card {
  left: 222px;
  top: 28px;
  width: 298px;
}

.v2-blog-detect-location-api-card .v2-api-card__line {
  white-space: nowrap;
}

@media (max-width: 1060px) {
  .v2-blog-detect-location-hero .v2-hero__inner {
    gap: 40px;
  }

  .v2-blog-detect-location-card {
    width: 190px;
  }

  .v2-blog-detect-location-api-card {
    left: 205px;
  }
}

@media (max-width: 860px) {
  .v2-blog-detect-location-hero .v2-hero__inner {
    grid-template-columns: 1fr;
  }

  .v2-blog-detect-location-hero__illustration {
    height: auto;
    width: min(100%, 520px);
  }

  .v2-blog-detect-location-api-card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .v2-blog-detect-location-hero .v2-hero__title {
    font-size: 36px;
  }

  .v2-blog-detect-location-hero .v2-hero__title-sub {
    font-size: 30px;
  }

  .v2-blog-detect-location-hero__panels {
    grid-template-columns: 1fr;
  }
}
