:root {
  --bg: #f2f3f5;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --border: #d7dbe2;
  --accent: #9f1239;
  --accent-dark: #881337;
  --max: 1140px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.45;
  text-rendering: optimizeSpeed;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.84rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand h1 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.subscribe-btn {
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.subscribe-btn:hover {
  background: var(--accent-dark);
}

.main-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  padding: 0.55rem 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

.nav-list a {
  display: inline-block;
  padding: 0.42rem 0.72rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #1f2937;
}

.nav-list a:hover,
.nav-list a.active {
  background: #eceff4;
}

main {
  padding: 1.3rem 0 2rem;
}

.section-block,
.editorial-grid,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.headline-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.headline-main,
.breaking-panel,
.section-block,
.opinion-card,
.mini-list {
  background: var(--surface);
  border: 1px solid var(--border);
}

.headline-main img {
  height: 320px;
  width: 100%;
  object-fit: cover;
}

.headline-content {
  padding: 1rem 1.1rem 1.2rem;
}

.tag {
  display: inline-block;
  background: #fce7ef;
  color: var(--accent-dark);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.headline-content h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.22;
  margin-bottom: 0.7rem;
}

.headline-content p {
  color: #374151;
}

.text-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--accent-dark);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.breaking-panel {
  padding: 1rem 1.1rem;
}

.breaking-panel h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.6px;
  color: var(--accent-dark);
  margin-bottom: 0.7rem;
}

.breaking-panel ul {
  list-style: none;
}

.breaking-panel li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.97rem;
}

.breaking-panel li:first-child {
  border-top: none;
  padding-top: 0.2rem;
}

.breaking-panel span {
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  color: #1e3a8a;
  margin-right: 0.35rem;
}

.section-block {
  padding: 1rem;
  margin-bottom: 1.1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.section-header h2,
.opinion-card h2,
.mini-list h2 {
  font-size: 1.25rem;
}

.section-header a {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--accent-dark);
  font-weight: 600;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.news-card {
  border: 1px solid var(--border);
  background: #fff;
}

.news-card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  background: #e5e7eb;
}

.news-card div {
  padding: 0.8rem;
}

.meta {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.news-card h3 {
  font-size: 1.04rem;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.news-card p {
  color: #374151;
}

.skeleton-card {
  min-height: 320px;
  background: linear-gradient(90deg, #eef1f5 25%, #f6f8fa 50%, #eef1f5 75%);
  background-size: 200% 100%;
  animation: pulse 1.1s linear infinite;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.opinion-card,
.mini-list {
  padding: 1rem;
}

.opinion-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0.45rem 0 0.55rem;
}

.mini-list ol {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
}

.mini-list li {
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.mini-list a:hover {
  text-decoration: underline;
}

.site-footer {
  margin-top: 1.6rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.site-footer p {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--muted);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.88rem;
}

@keyframes pulse {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 980px) {
  .headline-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .headline-main img {
    height: 270px;
  }
}

@media (max-width: 760px) {
  .news-cards {
    grid-template-columns: 1fr 1fr;
  }

  .topline {
    flex-direction: column;
    gap: 0.25rem;
  }

  .site-header {
    position: static;
  }

  .headline-content h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 560px) {
  .news-cards {
    grid-template-columns: 1fr;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list a {
    font-size: 0.84rem;
    padding: 0.35rem 0.5rem;
  }

  .headline-main img {
    height: 190px;
  }
}
