/* ============================================================
   БЛОГ — стили для списка статей и страниц статей
   ============================================================ */

/* ── Хлебные крошки ── */
.breadcrumbs {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--clr-text-muted, #888);
}
.breadcrumbs a { color: var(--clr-accent, #00b2a9); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span + span::before { content: " / "; margin: 0 0.3rem; }

/* ── Страница списка блога ── */
.blog-hero {
  padding: 5rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--clr-bg, #0d1b2a) 0%, #0a2540 100%);
}
.blog-hero .section-eyebrow { margin-bottom: 1rem; }
.blog-hero .section-title { color: #fff; margin-bottom: 0.75rem; }
.blog-hero p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto; }

.blog-grid-section { padding: 4rem 0 5rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.14); }

.blog-card__img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}
.blog-card__img--birthday { background: linear-gradient(135deg, #00b2a9 0%, #0077b6 100%); }
.blog-card__img--camp     { background: linear-gradient(135deg, #00c98a 0%, #0077b6 100%); }
.blog-card__img--corp     { background: linear-gradient(135deg, #7b5ea7 0%, #00b2a9 100%); }
.blog-card__img::after {
  content: '';
  position: absolute;
  bottom: -10px; left: -5%;
  width: 110%; height: 50px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}
.blog-card__img-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.9);
  font-family: var(--ff-head, 'Nunito', sans-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { font-size: 0.78rem; color: #999; margin-bottom: 0.75rem; }
.blog-card__title {
  font-family: var(--ff-head, 'Nunito', sans-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.blog-card__excerpt { font-size: 0.9rem; color: #555; line-height: 1.6; flex: 1; }
.blog-card__link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--clr-accent, #00b2a9);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.blog-card__link:hover { text-decoration: underline; }

/* ── Страница статьи ── */
.article-hero {
  padding: 9.5rem 0 3rem;
  background: linear-gradient(135deg, #0d1b2a 0%, #0a2540 100%);
  color: #fff;
}
.article-hero__eyebrow {
  display: inline-block;
  background: rgba(0,178,169,0.2);
  color: #00b2a9;
  border: 1px solid rgba(0,178,169,0.4);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.article-hero__title {
  font-family: var(--ff-head, 'Nunito', sans-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 760px;
}
.article-hero__meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.article-body-section { padding: 3rem 0 5rem; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }

.article-content { max-width: 740px; }
.article-content h2 {
  font-family: var(--ff-head, 'Nunito', sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 2rem 0 0.75rem;
}
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 1.5rem 0 0.5rem;
}
.article-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}
.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-content li {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 0.4rem;
}
.article-content a { color: var(--clr-accent, #00b2a9); }
.article-content strong { color: #1a1a2e; }

.article-highlight {
  background: linear-gradient(135deg, rgba(0,178,169,0.08), rgba(0,119,182,0.08));
  border-left: 4px solid #00b2a9;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.article-highlight p { margin: 0; font-style: italic; }

/* Сайдбар */
.article-sidebar { position: sticky; top: 100px; }
.sidebar-cta {
  background: linear-gradient(135deg, #00b2a9, #0077b6);
  border-radius: 16px;
  padding: 2rem;
  color: #fff;
  text-align: center;
}
.sidebar-cta h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.75rem; }
.sidebar-cta p { font-size: 0.9rem; opacity: 0.85; margin-bottom: 1.5rem; line-height: 1.5; }
.sidebar-cta .btn { width: 100%; justify-content: center; }
.sidebar-cta__phone {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1rem;
  text-decoration: none;
}
.sidebar-cta__phone:hover { text-decoration: underline; }

/* Блок навигации по статьям */
.article-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.article-nav a {
  color: var(--clr-accent, #00b2a9);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.article-nav a:hover { text-decoration: underline; }
