/* MLB Standings - Main Stylesheet */

/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --color-bg: #1a1d23;
  --color-bg-secondary: #22262e;
  --color-card: #2a2f38;
  --color-border: #3a3f4a;
  --color-text: #f5f5f5;
  --color-text-muted: #9ca3af;
  --color-primary: #c53030;
  --color-primary-hover: #9b2c2c;
  --color-accent: #ecc94b;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  
  /* Container */
  --container-max: 1280px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ===== Utilities ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-primary { color: var(--color-primary); }
.text-balance { text-wrap: balance; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.25rem;
  font-weight: 700;
}

.header__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: var(--spacing-lg);
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--color-primary);
}

.header__mobile-toggle {
  display: flex;
  padding: var(--spacing-sm);
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

@media (min-width: 768px) {
  .header__nav {
    display: block;
  }
  .header__mobile-toggle {
    display: none;
  }
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-md);
}

.mobile-nav--open {
  display: block;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-nav__link {
  display: block;
  padding: var(--spacing-sm) 0;
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.footer__inner {
  padding: var(--spacing-2xl) var(--spacing-lg);
}

@media (min-width: 768px) {
  .footer__inner {
    padding: var(--spacing-2xl) var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  .footer__inner {
    padding: var(--spacing-2xl) 0;
  }
}

.footer__grid {
  display: grid;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand-desc {
  margin-top: var(--spacing-md);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer__title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer__link {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--color-primary);
}

.footer__bottom {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: white;
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background-color: var(--color-bg-secondary);
}

.btn--lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(197, 48, 48, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  padding: var(--spacing-3xl) var(--spacing-md);
  text-align: center;
}

@media (min-width: 768px) {
  .hero__inner {
    padding: 5rem var(--spacing-md);
  }
}

.hero__title {
  margin-bottom: var(--spacing-md);
}

.hero__desc {
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ===== Stats Bar ===== */
.stats-bar {
  background-color: var(--color-card);
  border-bottom: 1px solid var(--color-border);
}

.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  padding: var(--spacing-xl) var(--spacing-md);
}

@media (min-width: 768px) {
  .stats-bar__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-bar__item {
  text-align: center;
}

.stats-bar__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stats-bar__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--spacing-xs);
}

/* ===== Sections ===== */
.section {
  padding: var(--spacing-2xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--spacing-3xl) 0;
  }
}

.section--alt {
  background-color: var(--color-bg-secondary);
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

@media (min-width: 640px) {
  .section__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.section__title {
  margin-bottom: var(--spacing-xs);
}

.section__desc {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.section__link {
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.section__link:hover {
  text-decoration: underline;
}

/* ===== Cards ===== */
.card {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--color-primary);
}

.card__body {
  padding: var(--spacing-lg);
}

.card__title {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.card__tag {
  background-color: rgba(197, 48, 48, 0.1);
  color: var(--color-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.card__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.card__author {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ===== Season Grid ===== */
.season-grid {
  display: grid;
  gap: var(--spacing-md);
}

@media (min-width: 640px) {
  .season-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .season-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.season-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}

.season-card:hover {
  border-color: var(--color-primary);
  background-color: var(--color-bg-secondary);
}

.season-card__title {
  font-weight: 600;
}

.season-card__subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.season-card__arrow {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.season-card:hover .season-card__arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* ===== Standings Table ===== */
.standings {
  margin-bottom: var(--spacing-xl);
  width: 100%;
}

.standings__title {
  font-size: 1.125rem;
  font-weight: 600;
  padding: var(--spacing-md) var(--spacing-lg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  color: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Table wrapper for sticky columns */
.standings__table-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background-color: var(--color-card);
}

.standings__table--responsive {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.standings__table--responsive::-webkit-scrollbar {
  height: 8px;
}

.standings__table--responsive::-webkit-scrollbar-track {
  background: var(--color-bg-secondary);
}

.standings__table--responsive::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 4px;
}

.standings__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--color-card);
  font-size: 0.875rem;
  table-layout: auto;
}

/* PC端：表格自动占满宽度 */
@media (min-width: 1024px) {
  .standings__table th,
  .standings__table td {
    padding: 0.75rem 1rem;
  }
}

/* Header row */
.standings__table thead tr {
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, #1e222a 100%);
}

.standings__table th {
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--color-primary);
  white-space: nowrap;
}

/* Rank column - first column */
.standings__table th:first-child,
.standings__table td:first-child {
  text-align: center;
  font-weight: 700;
  color: var(--color-text-muted);
  background-color: var(--color-bg-secondary);
  width: 55px;
  min-width: 55px;
}

/* Team column - second column */
.standings__table th:nth-child(2),
.standings__table td:nth-child(2) {
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  padding-left: 1rem;
  background-color: var(--color-card);
  min-width: 180px;
}

/* Data cells */
.standings__table td {
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(58, 63, 74, 0.5);
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

/* Alternating row colors */
.standings__table tbody tr:nth-child(odd) td {
  background-color: var(--color-card);
}

.standings__table tbody tr:nth-child(even) td {
  background-color: rgba(34, 38, 46, 0.7);
}

/* Keep sticky columns consistent background */
.standings__table tbody tr:nth-child(odd) td:first-child {
  background-color: var(--color-bg-secondary);
}

.standings__table tbody tr:nth-child(even) td:first-child {
  background-color: #1e222a;
}

.standings__table tbody tr:nth-child(even) td:nth-child(2) {
  background-color: rgba(34, 38, 46, 0.9);
}

/* Row hover effect */
.standings__table tbody tr:hover td {
  background-color: rgba(197, 48, 48, 0.12) !important;
}

/* First place highlight */
.standings__table tbody tr:first-child td {
  background-color: rgba(197, 48, 48, 0.15);
}

.standings__table tbody tr:first-child td:first-child {
  background-color: rgba(197, 48, 48, 0.25);
}

.standings__table tbody tr:first-child:hover td {
  background-color: rgba(197, 48, 48, 0.2) !important;
}

/* Last row remove border */
.standings__table tbody tr:last-child td {
  border-bottom: none;
}

/* Key stats highlight - W, L, PCT */
.standings__table td:nth-child(3),
.standings__table td:nth-child(4),
.standings__table td:nth-child(5) {
  font-weight: 600;
}

/* PCT column special styling */
.standings__table td:nth-child(5) {
  color: var(--color-accent);
}

/* GB column */
.standings__table td:nth-child(6) {
  color: var(--color-text-muted);
}

/* Streak column */
.standings__table td:nth-child(9) {
  font-weight: 600;
}

/* DIFF column */
.standings__table td:nth-child(12) {
  font-weight: 500;
}

/* ===== Mobile: Sticky columns ===== */
@media (max-width: 1023px) {
  .standings__table {
    font-size: 0.8rem;
    min-width: 900px;
  }
  
  .standings__table th,
  .standings__table td {
    padding: 0.625rem 0.5rem;
  }
  
  .standings__table th {
    font-size: 0.65rem;
  }

  /* Rank column - sticky */
  .standings__table th.rank,
  .standings__table td.rank {
    position: sticky;
    left: 0;
    z-index: 10;
    min-width: 50px;
    width: 50px;
    background-color: #1a1d24;
  }
  
  .standings__table th.rank {
    z-index: 12;
    background-color: #22262e;
  }

  /* Team column - sticky */
  .standings__table th.team,
  .standings__table td.team {
    position: sticky;
    left: 50px;
    z-index: 10;
    min-width: 160px;
    width: 160px;
    background-color: #1a1d24;
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.3);
  }
  
  .standings__table th.team {
    z-index: 12;
    background-color: #22262e;
  }
  
  /* Alternating row backgrounds for sticky columns */
  .standings__table tbody tr:nth-child(odd) td.rank,
  .standings__table tbody tr:nth-child(odd) td.team {
    background-color: #1e2229;
  }
  
  .standings__table tbody tr:nth-child(even) td.rank,
  .standings__table tbody tr:nth-child(even) td.team {
    background-color: #1a1d24;
  }
  
  /* First row highlight for sticky columns */
  .standings__table tbody tr:first-child td.rank,
  .standings__table tbody tr:first-child td.team {
    background-color: rgba(197, 48, 48, 0.2);
  }
  
  /* Hover state for sticky columns */
  .standings__table tbody tr:hover td.rank,
  .standings__table tbody tr:hover td.team {
    background-color: rgba(197, 48, 48, 0.15);
  }
}

/* ===== Very small screens ===== */
@media (max-width: 480px) {
  .standings__table {
    font-size: 0.75rem;
    min-width: 800px;
  }
  
  .standings__table th,
  .standings__table td {
    padding: 0.5rem 0.35rem;
  }
  
  /* Rank column */
  .standings__table th.rank,
  .standings__table td.rank {
    min-width: 40px;
    width: 40px;
  }
  
  /* Team column */
  .standings__table th.team,
  .standings__table td.team {
    left: 40px;
    min-width: 130px;
    width: 130px;
  }
}

/* League divider row styling */
.standings__table tbody + tbody tr:first-child th,
.standings__table tbody + tbody tr:first-child td {
  border-top: 3px solid var(--color-primary);
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, #1e222a 100%);
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

/* ===== Anchor Links Navigation ===== */
.a_links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin: var(--spacing-lg) 0 var(--spacing-xl);
  padding: var(--spacing-md);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.a_links_mlb {
  flex: 1 1 auto;
}

.a_links_mlb a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.a_links_mlb a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}

.a_links_mlb a:active {
  transform: translateY(0);
}

/* Mobile: Stack vertically */
@media (max-width: 640px) {
  .a_links {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .a_links_mlb {
    width: 100%;
  }
  
  .a_links_mlb a {
    width: 100%;
    padding: var(--spacing-md);
    font-size: 0.9rem;
  }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 900px) {
  .a_links {
    justify-content: center;
  }
  
  .a_links_mlb {
    flex: 0 1 auto;
  }
}

/* Desktop */
@media (min-width: 901px) {
  .a_links {
    justify-content: center;
    gap: var(--spacing-md);
  }
  
  .a_links_mlb a {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1rem;
  }
}

/* ===== Division Section ===== */
.division-section {
  margin-bottom: var(--spacing-2xl);
}

.division-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--color-text);
}

@media (min-width: 768px) {
  .division-title {
    font-size: 1.75rem;
  }
}

/* ===== Standings Grid ===== */
.standings-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

/* Two-column layout for homepage on PC */
@media (min-width: 1024px) {
  .standings-grid--two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

/* ===== Teams Grid ===== */
.teams-grid {
  display: grid;
  gap: var(--spacing-md);
}

@media (min-width: 640px) {
  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .teams-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}

.team-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.team-card__logo {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
}

.team-card__info {
  flex: 1;
}

.team-card__name {
  font-weight: 600;
}

.team-card__division {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ===== Blog Grid ===== */
.blog-grid {
  display: grid;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.breadcrumb__separator {
  color: var(--color-border);
}

.breadcrumb__link:hover {
  color: var(--color-primary);
}

.breadcrumb__current {
  color: var(--color-text);
}

/* ===== Page Header ===== */
.page-header {
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--spacing-xl);
}

.page-header__title {
  margin-bottom: var(--spacing-sm);
}

.page-header__desc {
  color: var(--color-text-muted);
}

/* ===== Team Detail ===== */
.team-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .team-header {
    flex-direction: row;
    align-items: center;
  }
}

.team-header__logo {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  font-weight: 700;
}

.team-header__info {
  flex: 1;
}

.team-header__city {
  color: var(--color-text-muted);
  margin-top: var(--spacing-xs);
}

.team-header__meta {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.team-header__badge {
  background-color: var(--color-bg-secondary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== About Page ===== */
.about-grid {
  display: grid;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-card {
  padding: var(--spacing-xl);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.about-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(197, 48, 48, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.about-card__title {
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.about-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== Contact Info ===== */
.contact-info {
  display: grid;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-info__item {
  text-align: center;
  padding: var(--spacing-lg);
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(197, 48, 48, 0.1);
  border-radius: 50%;
  color: var(--color-primary);
}

.contact-info__title {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.contact-info__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Blog Post ===== */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article__header {
  margin-bottom: var(--spacing-xl);
}

.article__meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.article__content {
  line-height: 1.8;
}

.article__content p {
  margin-bottom: var(--spacing-lg);
}

.article__content h2 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

/* ===== Division Section ===== */
.division-section {
  margin-bottom: var(--spacing-2xl);
}

.division-section:last-child {
  margin-bottom: 0;
}

.division-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-primary);
}
