.wgt-geo-kpi {
  --gap-2xl-42: 42px;

  padding-top: var(--gap-section-120);
  padding-bottom: var(--gap-2xl-42);
  margin-bottom: var(--gap-section-120);
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--background-gray) 80%, transparent) 0%,
    color-mix(in srgb, var(--background-gray) 80%, transparent) 52%,
    color-mix(in srgb, var(--background-white) 80%, transparent) 100%
  );
}

.wgt-geo-kpi .home-inner {
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: flex-start;
}

.geo-kpi-intro {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: var(--gap-xl-32);
  align-items: flex-start;
  max-width: 384px;
}

.wgt-geo-kpi .home-section-text {
  gap: var(--gap-md-12);
  align-items: flex-start;
}

.wgt-geo-kpi .home-tag {
  background: var(--background-primary-light);
  border-color: var(--primary-color-05);
}

/* Section title: 24px → 36px (375→1920) */
.wgt-geo-kpi .geo-kpi-title,
.wgt-geo-kpi .geo-kpi-title :is(h1, h2, h3, h4, h5, h6, p) {
  margin: 0;
  color: var(--text-title);
  font-size: clamp(1.5rem, 1.3179rem + 0.7767vw, 2.25rem);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-heading);
}

.wgt-geo-kpi .geo-kpi-description,
.wgt-geo-kpi .geo-kpi-description p {
  margin: 0;
  color: var(--text-body);
  font-size: clamp(0.875rem, 0.8447rem + 0.1294vw, 1rem);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
}

.geo-kpi-card {
  flex: 1 1 0;
  min-width: 0;
  padding: var(--padding-2lg-28);
  border: 1px solid var(--border-default-purple);
  border-radius: var(--radius-sm);
  background: var(--background-white);
}

.geo-kpi-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.geo-kpi-col-name {
  width: 67%;
}

.geo-kpi-col-status {
  width: 33%;
}

.geo-kpi-table thead th {
  height: 82px;
  padding: var(--padding-smm-8) var(--padding-lg-24);
  background: var(--background-gray);
  color: var(--text-title);
  font-size: clamp(1rem, 0.8786rem + 0.5178vw, 1.5rem);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-heading);
  text-align: left;
  vertical-align: middle;
}

.geo-kpi-table thead th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.geo-kpi-table thead th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.geo-kpi-table tbody th,
.geo-kpi-table tbody td {
  padding: var(--gap-lg-24) var(--padding-2lg-28);
  color: var(--text-title);
  font-size: clamp(1rem, 0.9393rem + 0.2589vw, 1.25rem);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  border-bottom: 1px solid var(--border-default-grey);
}

.geo-kpi-table tbody td {
  padding-right: var(--padding-lg-24);
  padding-left: var(--padding-lg-24);
}

.geo-kpi-table tbody tr:last-child th,
.geo-kpi-table tbody tr:last-child td {
  padding-bottom: var(--padding-sm-12);
  border-bottom: 0;
}

.geo-kpi-status {
  display: inline-flex;
  gap: var(--padding-xs-6);
  align-items: center;
  padding: var(--padding-xss-4) var(--padding-sm-12);
  border-radius: var(--radius-full);
  background: var(--icon-success);
  color: var(--status-success-text);
  font-size: clamp(0.8125rem, 0.767rem + 0.1942vw, 1rem);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  white-space: nowrap;
}

.geo-kpi-check {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  object-fit: contain;
}

@media (max-width: 768px) {
  .wgt-geo-kpi {
    padding: var(--padding-4xl-80) var(--padding-md-15) 34px;
    margin-bottom: var(--padding-4xl-80);
  }

  .wgt-geo-kpi .home-inner {
    flex-direction: column;
    gap: var(--gap-lg-24);
    align-items: stretch;
  }

  .geo-kpi-intro {
    gap: var(--gap-md-12);
    align-items: center;
    max-width: none;
    width: 100%;
  }

  .wgt-geo-kpi .home-section-text {
    align-items: center;
  }

  .wgt-geo-kpi .geo-kpi-title,
  .wgt-geo-kpi .geo-kpi-title :is(h1, h2, h3, h4, h5, h6, p) {
    text-align: center;
    line-height: var(--line-height-display);
  }

  .wgt-geo-kpi .geo-kpi-description,
  .wgt-geo-kpi .geo-kpi-description p {
    text-align: center;
  }

  .geo-kpi-card {
    flex: none;
    width: 100%;
    overflow: visible;
    padding: var(--padding-md-14);
    border-color: var(--color_border_cards_active);
  }

  .geo-kpi-table thead th {
    height: 58px;
    padding: var(--padding-18) var(--padding-sm-12);
    font-size: 1rem;
    line-height: var(--line-height-caption);
  }

  .geo-kpi-table thead th:first-child {
    border-radius: var(--radius-xs) 0 0 var(--radius-xs);
  }

  .geo-kpi-table thead th:last-child {
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  }

  .geo-kpi-table tbody th,
  .geo-kpi-table tbody td {
    padding: var(--padding-lg-20) var(--padding-sm-12);
    font-size: 1rem;
    line-height: var(--line-height-caption);
  }

  .geo-kpi-table tbody td {
    text-align: right;
  }

  .geo-kpi-table tbody tr:last-child th,
  .geo-kpi-table tbody tr:last-child td {
    padding-bottom: var(--padding-lg-20);
  }

  .geo-kpi-status {
    padding: var(--padding-xs-6) var(--padding-smm-8);
    font-size: 0.8125rem;
    line-height: 1;
  }

  .geo-kpi-check {
    width: 13px;
    height: 13px;
  }
}
