/* Статьи — тёмный люкс. Вынесено из inline <style> в contacts.html. */

/* ─── Hero ─── */
.articles-hero {
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
}

.articles-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, var(--gold-5) 0%, transparent 60%);
  pointer-events: none;
}

.articles-hero__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.articles-hero__title {
  font-family: 'Forum', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--text);
  margin-bottom: 16px;
}

.articles-hero__desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Сетка статей ─── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 0 0 140px;
}

/* ─── Карточка статьи ─── */
.article-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: rgba(216, 201, 153, 0.15);
  box-shadow: var(--glow-gold);
  transform: translateY(-4px);
}

.article-card__image {
  height: 220px;
  overflow: hidden;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card__image svg {
  opacity: 0.15;
}

.article-card__body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.article-card__tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 12px;
  border: 1px solid var(--gold-10);
  border-radius: 20px;
}

.article-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-card__title {
  font-family: 'Forum', serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.article-card:hover .article-card__title {
  color: var(--gold-bright);
}

.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.article-card__footer {
  display: flex;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-card__open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  font-family: 'Forum', serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(216, 201, 153, 0.06);
  border: 1px solid rgba(216, 201, 153, 0.25);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.article-card__arrow {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.4s ease;
}

.article-card__open:hover,
.article-card:hover .article-card__open {
  color: var(--gold-bright);
  background: rgba(216, 201, 153, 0.12);
  border-color: rgba(216, 201, 153, 0.5);
}

.article-card__open:hover .article-card__arrow,
.article-card:hover .article-card__arrow {
  transform: translateX(4px);
}

/* ─── Пустое состояние ─── */
.articles-empty {
  text-align: center;
  padding: 100px 0;
}

.articles-empty__icon {
  margin-bottom: 32px;
  opacity: 0.2;
}

.articles-empty__title {
  font-family: 'Forum', serif;
  font-size: 1.6rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.articles-empty__text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ─── Адаптив ─── */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-hero {
    padding: 140px 0 60px;
  }
}
