body {
  --mobile-metric-scale: 1.2;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f6f7f9;
  color: #111827;
  line-height: 1.5;
}

.header {
  /*background: rgba(67, 159, 155, 0.4);*/
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: #111827;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-subtitle {
  color: #4b5563;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 36px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav a,
a {
  /*color: #1f3a8a;*/
  color: #36c;
  text-decoration: none;
}

.nav a:hover,
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px;
}


.breadcrumbs {
  margin: -6px 0 14px;
  color: #6b7280;
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li:not(:last-child)::after {
  content: ">";
  color: #9ca3af;
}

.breadcrumbs span[aria-current="page"] {
  color: #374151;
}

.breadcrumbs-bottom {
  margin: 18px 0 0;
}

.hero {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  /*margin-bottom: 16px;*/
  margin-bottom: 8px 0;
}

.hero h1 {
  margin: 0;
  font-size: 30px;
}

.subtitle {
  margin-top: 4px;
  margin-bottom: 0;
  color: #4b5563;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  margin: 16px 0;
}

.regions-card {
  margin-top: 16px;
}

.regions-card h2 {
  margin-bottom: 14px !important;
}

.region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.region-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #eff6ff;
  font-weight: 700;
}

.region-link:hover {
  background: #dbeafe;
  text-decoration: none;
}

.metric-label {
  color: #6b7280;
  margin-bottom: 6px;
}

.metric-value {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.positive {
  color: #dc2626;
}

.negative {
  color: #16a34a;
}

.chart {
  width: 100%;
  /*border-radius: 16px;*/
  /*border: 1px solid #e5e7eb;*/
  background: #ffffff;
  min-height: 180px;
  object-fit: cover;
}

h2 {
  /*margin-top: 28px;*/
  margin: 0 !important;
}

@media (max-width: 640px) {
  .hero {
    padding: 16px 18px;
  }

  .metric-value {
    font-size: 24px;
  }
}

.table-wrap {
  overflow-x: auto;
}

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.metrics-table th,
.metrics-table td {
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  padding: 10px;
  font-size: 14px;
}

.metrics-table th {
  color: #374151;
  font-weight: 700;
}


.neutral {
  color: #2563eb;
}


.region-switcher {
  position: relative;
}

.region-switcher summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  font-weight: 600;
}

.region-switcher summary::-webkit-details-marker {
  display: none;
}

.region-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 8px;
  display: grid;
  gap: 4px;
  z-index: 20;
}

.region-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
}

.region-menu a:hover {
  background: #f3f4f6;
  text-decoration: none;
}

.mobile-metrics {
  display: none;
  /*padding: 0 16px;*/
  padding: 20px;
}

.metric-mobile-card {
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}

.metric-mobile-card:last-child {
  border-bottom: 0;
}

.metric-mobile-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.metric-mobile-card h3 {
  margin: 0;
  font-size: calc(16px * var(--mobile-metric-scale));
  font-weight: 700;
}

.metric-mobile-lots {
  color: #6b7280;
  font-size: calc(14px * var(--mobile-metric-scale));
  font-weight: 400;
}

.metric-mobile-line {
  margin: 0;
  font-size: calc(14px * var(--mobile-metric-scale));
  line-height: 1.45;
}

.metric-mobile-change {
  margin-top: 4px;
}


@media (max-width: 900px) {
  .desktop-only {
    display: none;
  }

  .mobile-metrics {
    display: grid;
  }
}

.rc-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.rc-list li {
  line-height: 1.4;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.rating-list {
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

.rating-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.rating-list li:last-child {
  border-bottom: 0;
}

.rating-list strong {
  white-space: nowrap;
}

.muted {
  display: block;
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 2px;
}

.lot-rating-list li {
  justify-content: flex-start;
}

.home-hero p {
  max-width: 680px;
}

.home-rating-list li {
  align-items: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.info-grid article {
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f9fafb;
}

.info-grid h3 {
  margin: 0 0 8px;
}

.info-grid p {
  margin: 0;
  color: #4b5563;
}

.channel-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.channel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.channel-list li:last-child {
  border-bottom: 0;
}

.channel-region {
  font-weight: 700;
}

.channel-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 640px) {
  .channel-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .channel-links {
    justify-content: flex-start;
  }
}

.steps-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.steps-list li::marker {
  font-weight: 700;
}

.steps-list strong,
.steps-list span {
  display: block;
}

.steps-list span {
  color: #4b5563;
  margin-top: 2px;
}

.seo-text p:last-child {
  margin-bottom: 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.metric-card {
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}

.metric-card:last-child,
.metric-card:nth-last-child(2):nth-child(odd) {
  border-bottom: 0;
}

.metric-price-group {
  margin-top: 12px;
}

.metric-price-group h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .metric-card:nth-last-child(2):nth-child(odd) {
    border-bottom: 1px solid #e5e7eb;
  }

  .metric-card:last-child {
    border-bottom: 0;
  }
}

.rc-list-detailed .muted {
  margin-top: 4px;
}

.rc-list-detailed .rc-inline-meta {
  display: inline;
  margin-left: 6px;
  margin-top: 0;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: #36c;
  color: #ffffff;
  font-weight: 700;
}

.button-link:hover {
  text-decoration: none;
  background: #254a99;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.pagination > * {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .pagination {
    gap: 8px;
    font-size: 14px;
  }
}

.footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
  color: #4b5563;
}

.info-page h1 {
  margin-top: 0;
}
