* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f8fafd;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    sans-serif;
  color: #0a1927;
  line-height: 1.45;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

/* Хлебные крошки */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  color: #5a6e7c;
}
.breadcrumb a {
  color: #2c6e9e;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #0f4c6f;
  text-decoration: underline;
}
.breadcrumb span:last-child {
  color: #1f3b4c;
  font-weight: 500;
}

/* hero */
.hero-news {
  margin-bottom: 2.5rem;
}
.hero-news h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #1a4d5f, #2c7a6e);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}
.hero-news p {
  font-size: 1.05rem;
  color: #3c5a64;
  max-width: 700px;
  border-left: 3px solid #2c6e9e;
  padding-left: 1.2rem;
}

/* сетка новостей */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow:
    0 12px 28px -8px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02);
  border: 1px solid #eef2f6;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -12px rgba(0, 41, 41, 0.12);
  border-color: #dce5ec;
}

.news-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #d4e2ec;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.news-badge {
  background: #2c6e9e;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 1rem;
  border-radius: 40px;
  margin: 1rem;
  letter-spacing: 0.3px;
}

.news-content {
  padding: 1.5rem 1.5rem 1.2rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cf2e2e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.news-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a4d5f;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.news-excerpt {
  font-size: 0.88rem;
  color: #3c6470;
  line-height: 1.45;
  margin-bottom: 1.2rem;
  flex: 1;
}
.read-more {
  font-weight: 600;
  font-size: 0.8rem;
  color: #2c6e9e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.read-more:hover {
  gap: 0.6rem;
  color: #0f4c6f;
}

/* пагинация / подвал новостей */
.news-footer {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.load-more {
  background: transparent;
  border: 1px solid #cbdde6;
  padding: 0.7rem 2rem;
  border-radius: 60px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #1f6475;
  cursor: pointer;
  transition: all 0.2s;
}
.load-more:hover {
  background: #eef3fc;
  border-color: #b0ccda;
  color: #cf2e2e;
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.empty-state {
  text-align: center;
  padding: 3rem;
  background: #ffffff;
  border-radius: 32px;
  color: #5f7f8c;
}
.grecaptcha-badge {
  opacity: 0 !important;
  visibility: hidden !important;
}
