/* Changeability pages — matches FAQ/Resources design system */

/* Page layout */
.change-page {
  padding: 32px 0 56px;
}

/* Centered header */
.change-header {
  text-align: center;
  margin-bottom: 40px;
}
h1.change-title {
  font-size: 32px;
  font-weight: 600;
  color: #001837;
  margin: 0 0 10px;
  text-align: center;
}
.change-subtitle {
  font-size: 17px;
  color: #667487;
  margin: 0;
  line-height: 1.6;
}

/* Landing page metric cards */
.metric-cards {
  display: flex;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
a.metric-card {
  flex: 1;
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  position: relative;
}
a.metric-card:hover {
  box-shadow: 0 2px 12px rgba(45, 156, 219, 0.15);
  transform: translateY(-1px);
}
.metric-card-name {
  font-size: 19px;
  font-weight: 600;
  color: #001837;
  margin: 0 0 8px;
}
.metric-card-desc {
  font-size: 15px;
  color: #667487;
  line-height: 1.5;
  margin: 0 0 16px;
}
.metric-card-rank {
  font-size: 14px;
  font-weight: 600;
  color: #1a7ab5;
  margin: 4px 0 12px;
}
.metric-card-arrow {
  font-size: 18px;
  color: #1a7ab5;
  font-weight: 500;
}

/* Landing page callout (above cards) */
.landing-callout {
  max-width: 860px;
  margin: 0 auto 24px;
}

/* Metric nav tabs */
.metric-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
a.metric-nav-link {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  color: #667487;
  background: #fff;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
a.metric-nav-link:hover {
  background: #e8f4fb;
  color: #1a7ab5;
}
a.metric-nav-link.active {
  background: #2d9cdb;
  color: #fff;
}

/* User station callout */
.user-callout {
  background: #e8f4fb;
  border: 1px solid #b8dcf0;
  border-left: 4px solid #2d9cdb;
  border-radius: 10px;
  padding: 18px 24px;
  font-size: 16px;
  color: #001837;
  line-height: 1.5;
  margin-bottom: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.user-callout strong {
  font-weight: 600;
}
.user-callout-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #1a7ab5;
}

/* Table cards */
.change-table-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 28px;
}
.change-table-title {
  font-size: 20px;
  font-weight: 600;
  color: #001837;
  margin: 0 0 8px;
}
.change-table-desc {
  font-size: 15px;
  color: #667487;
  line-height: 1.6;
  margin: 0 0 20px;
}
.change-table-desc strong {
  color: #4a5568;
}
.table-scroll {
  overflow-x: auto;
}
table.change-table {
  width: 100%;
  border-collapse: collapse;
}
table.change-table thead th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #667487;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 12px;
  border-bottom: 2px solid #f0f2f5;
  white-space: nowrap;
}
table.change-table tbody td {
  padding: 10px 12px;
  font-size: 15px;
  color: #001837;
  border-bottom: 1px solid #f0f2f5;
  white-space: nowrap;
}
table.change-table tbody tr:last-child td {
  border-bottom: none;
}
table.change-table td:first-child,
table.change-table th:first-child {
  text-align: center;
  width: 60px;
  color: #667487;
}
.location-cell a {
  color: #1a7ab5;
  text-decoration: none;
}
.location-cell a:hover {
  text-decoration: underline;
}

/* Highlight row for user's station */
tr.highlight-row td {
  background: #e8f4fb;
  font-weight: 500;
}
tr.highlight-row td:first-child {
  border-left: 3px solid #1a7ab5;
}

/* Responsive */
@media (max-width: 768px) {
  .metric-cards {
    flex-direction: column;
  }
  .change-table-card {
    padding: 20px 16px;
  }
}
@media (max-width: 576px) {
  .change-page {
    padding: 20px 0 32px;
  }
  .change-header {
    margin-bottom: 24px;
  }
  h1.change-title {
    font-size: 26px;
  }
  .change-subtitle {
    font-size: 15px;
  }
  a.metric-card {
    padding: 20px 18px;
  }
  .metric-card-name {
    font-size: 17px;
  }
  .metric-nav {
    gap: 6px;
  }
  a.metric-nav-link {
    padding: 6px 14px;
    font-size: 14px;
  }
  .user-callout {
    padding: 14px 16px;
    font-size: 15px;
    gap: 8px;
  }
  .user-callout-icon {
    width: 22px;
    height: 22px;
  }
  .change-table-card {
    padding: 16px 12px;
  }
  table.change-table thead th {
    font-size: 12px;
    padding: 8px;
  }
  table.change-table tbody td {
    font-size: 14px;
    padding: 8px;
  }
}
