.research-page {
  background: #f8fafc;
  color: #1e293b;
}

.research-main {
  display: grid;
  gap: 2rem;
  padding-top: 2.25rem;
  padding-bottom: 4rem;
}

.research-hero .subpage-hero-content {
  max-width: 860px;
}

.research-eyebrow {
  margin: 0 0 .45rem;
  color: #047857;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.research-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
  padding: 1.8rem;
  border: 1px solid #dbe7e2;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #f0fdf4);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}

.research-intro h2,
.research-card h2,
.research-service-note h2 {
  margin: 0;
  color: #0f172a;
  line-height: 1.2;
}

.research-intro > p,
.research-card > p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.research-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.research-kpis article {
  display: flex;
  min-height: 144px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.3rem;
  border: 1px solid #dce5ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.research-kpis span {
  color: #475569;
  font-size: .88rem;
  font-weight: 700;
}

.research-kpis strong {
  color: #047857;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.research-kpis small {
  color: #64748b;
  line-height: 1.35;
}

.research-chart-grid,
.research-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.research-card {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #dce5ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
}

.research-card h2 {
  margin-bottom: .55rem;
}

.research-bars {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.research-bar-label {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: .4rem;
  color: #334155;
  font-size: .88rem;
}

.research-bar-label strong {
  color: #0f172a;
}

.research-bar-track {
  height: .72rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.research-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.research-bar-track .bar-green {
  background: linear-gradient(90deg, #10b981, #047857);
}

.research-bar-track .bar-blue {
  background: linear-gradient(90deg, #38bdf8, #2563eb);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.research-section-heading {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

#city-result-count {
  flex: 0 0 auto;
  padding: .5rem .8rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: .88rem;
  font-weight: 800;
}

.research-filters {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr) auto;
  gap: .85rem;
  align-items: end;
}

.research-filters label {
  display: grid;
  gap: .4rem;
  color: #334155;
  font-size: .82rem;
  font-weight: 750;
}

.research-filters input,
.research-filters select {
  width: 100%;
  min-height: 45px;
  padding: .65rem .75rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.research-filters input:focus,
.research-filters select:focus {
  border-color: #10b981;
  outline: 3px solid rgba(16, 185, 129, .18);
}

.research-reset {
  min-height: 45px;
  white-space: nowrap;
}

.research-download-link {
  display: inline-flex;
  flex: 0 0 auto;
  padding: .55rem .85rem;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.research-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  scrollbar-gutter: stable;
}

.research-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  background: #fff;
  font-size: .88rem;
}

.research-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.research-table th,
.research-table td {
  padding: .9rem .85rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
  text-align: left;
}

.research-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f1f5f9;
  color: #334155;
  font-size: .76rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.research-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.research-table tbody tr:hover {
  background: #ecfdf5;
}

.research-table a {
  color: #0369a1;
  font-weight: 700;
  text-underline-offset: 2px;
}

.research-cell-note {
  display: block;
  max-width: 250px;
  margin-top: .25rem;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.45;
}

.research-empty {
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
}

.research-method-grid ol,
.research-download-list {
  margin: 1rem 0;
  padding-left: 1.25rem;
  color: #475569;
  line-height: 1.65;
}

.research-download-list a {
  color: #047857;
  font-weight: 750;
}

.research-service-note {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid #a7f3d0;
  border-radius: 20px;
  background: linear-gradient(135deg, #ecfdf5, #f8fafc);
}

.research-service-note p {
  max-width: 720px;
  margin: .55rem 0 0;
  color: #475569;
  line-height: 1.6;
}

.research-service-note .btn {
  flex: 0 0 auto;
}

.press-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.press-download-grid article {
  padding: 1.2rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}

.press-download-grid h3 {
  margin: 0 0 .45rem;
  color: #0f172a;
}

.press-download-grid p {
  margin: .35rem 0;
  color: #475569;
  line-height: 1.55;
}

.press-download-grid a,
.press-contact a {
  color: #047857;
  font-weight: 800;
  text-underline-offset: 2px;
}

.press-license {
  margin-top: 1.2rem !important;
  padding: 1rem;
  border-left: 4px solid #10b981;
  border-radius: 0 10px 10px 0;
  background: #ecfdf5;
}

.press-contact {
  margin-top: 1rem !important;
  font-size: 1.15rem;
}

@media (max-width: 1000px) {
  .research-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .research-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .research-main {
    gap: 1.25rem;
    padding-top: 1.25rem;
  }

  .research-intro,
  .research-chart-grid,
  .research-method-grid,
  .research-kpis,
  .research-filters,
  .press-download-grid {
    grid-template-columns: 1fr;
  }

  .research-intro {
    gap: .8rem;
  }

  .research-kpis article {
    min-height: 126px;
  }

  .research-section-heading,
  .research-service-note {
    align-items: stretch;
    flex-direction: column;
  }

  .research-download-link,
  .research-service-note .btn {
    justify-content: center;
    width: 100%;
  }

  .research-reset {
    width: 100%;
  }
}
