:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --border: #e5e5ea;
  --header: #111111;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--header);
  color: #fff;
  border-bottom: 1px solid #222;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.main-nav a {
  color: #f5f5f7;
  font-size: 0.95rem;
}

.main-nav a:hover { color: #fff; text-decoration: underline; }

.site-main { min-height: 60vh; }

.meta {
  display: inline-block;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section { padding: 48px 0; }
.section-muted { background: #efeff1; }
.section-title {
  margin: 0 0 24px;
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-slider { background: #000; color: #fff; }
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.hero-link { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 420px; }
.hero-image {
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.hero-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #151515, #000);
}
.hero-copy h1 {
  margin: 12px 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.hero-copy p { color: #d2d2d7; margin: 0 0 16px; }
.read-more {
  color: var(--accent);
  font-weight: 600;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.news-feature, .news-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.news-feature img, .news-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.news-feature-copy, .news-tile > a > div:last-child { padding: 20px; }
.news-feature h3, .news-tile h3 {
  margin: 8px 0 0;
  font-size: 1.15rem;
  line-height: 1.3;
}
.news-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.news-tile > a { display: block; }

.latest-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.latest-feature, .latest-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.latest-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.latest-feature h3, .latest-item h3 {
  margin: 16px 20px 20px;
  font-size: 1.15rem;
  line-height: 1.3;
}
.latest-list { display: grid; gap: 16px; }
.latest-item > a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
}

.date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 16px 20px 0;
  background: #111;
  color: #fff;
  border-radius: 8px;
}
.date-badge.small {
  width: 52px;
  height: 52px;
  margin: 0;
}
.date-badge .day { font-size: 1.25rem; font-weight: 700; line-height: 1; }
.date-badge .month { font-size: 0.75rem; text-transform: uppercase; }

.article-page { padding: 32px 0 64px; }
.article-wrap { max-width: 820px; }
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
}
.article-header h1 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: #eef5fd;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.article-hero {
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
}
.article-body h2 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
}
.article-body p {
  margin: 0 0 16px;
  color: #333;
}

.site-footer {
  background: #111;
  color: #a1a1a6;
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-link, .news-grid, .latest-grid, .news-side {
    grid-template-columns: 1fr;
  }
  .hero-copy { padding: 28px 24px; }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 16px 0; }
}
