/* ==========================================
   NEWS SECTION — ACCORDION CARDS
   Royal Bronze Theme · Hover Expand
   ========================================== */

.news-section {
  position: relative;
  padding: 80px 0 100px;
  background: transparent;
  overflow: visible;
}

.news-container {
  position: relative;
  background: transparent;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.news-header {
  text-align: center;
  padding: 0 20px 56px;
}

.news-kicker {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--weight-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(44, 62, 80, 0.5);
  margin-bottom: 12px;
}

html[data-theme="dim"] .news-kicker { color: rgba(176, 141, 87, 0.65); }

/* Title — Cormorant Garamond */
.news-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: var(--weight-h1);
  font-style: normal;
  line-height: 1.08;
  color: #2C3E50;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

html[data-theme="dim"] .news-title { color: #B08D57; }

.news-title::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: #B08D57;
  transition: width 0.35s ease;
}

.news-title:hover { color: #B08D57; }
html[data-theme="dim"] .news-title:hover { color: #d4b07a; }
.news-title:hover::after { width: 100%; }

/* Subtitle — Inter */
.news-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: 1.6;
  color: rgba(44, 62, 80, 0.65);
  max-width: 620px;
  margin: 0 auto 32px;
}

html[data-theme="dim"] .news-subtitle { color: rgba(245, 242, 237, 0.65); }

/* ── CTA Row ── */
.news-cta-buttons {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.news-cta-btn,
.news-cta-primary,
.news-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 3px;
  background: none; border: none;
  border-bottom: 2px solid currentColor;
  color: #2C3E50;
  font-family: var(--font-body);
  font-size: var(--text-lead);
  font-weight: var(--weight-button);
  font-style: italic;
  letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

html[data-theme="dim"] .news-cta-btn,
html[data-theme="dim"] .news-cta-primary,
html[data-theme="dim"] .news-cta-secondary { color: #B08D57; }

.news-cta-btn:hover,
.news-cta-primary:hover,
.news-cta-secondary:hover {
  color: #B08D57; border-bottom-color: #B08D57; transform: translateY(-1px);
}

html[data-theme="dim"] .news-cta-btn:hover,
html[data-theme="dim"] .news-cta-primary:hover,
html[data-theme="dim"] .news-cta-secondary:hover { color: #d4b07a; border-bottom-color: #d4b07a; }

.news-cta-btn svg,
.news-cta-primary svg,
.news-cta-secondary svg { transition: transform 0.3s ease; }

.news-cta-btn:hover svg,
.news-cta-primary:hover svg,
.news-cta-secondary:hover svg { transform: translateX(4px); }

/* ── Accordion Grid ── */
.news-grid {
  display: flex;
  gap: 12px;
  height: 520px;
  padding: 0;
}

/* ── Card Wrapper ── */
.news-card-wrapper {
  flex: 1;
  min-width: 80px;
  transition: flex 1s cubic-bezier(0.22, 1, 0.36, 1); /* war: 0.6s */
  position: relative;
}

/* Expand on hover */
.news-card-wrapper:hover {
  flex: 4;
}

/* Shrink siblings when any card is hovered */
.news-grid:has(.news-card-wrapper:hover) .news-card-wrapper:not(:hover) {
  flex: 0.4;
}

/* ── Card ── */
.news-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(176, 141, 87, 0.18);
  box-shadow: 0 6px 24px rgba(176, 141, 87, 0.10);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  background: #1b1712;
}

html[data-theme="dim"] .news-card {
  border-color: rgba(176, 141, 87, 0.22);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
}

.news-card:hover {
  border-color: #B08D57;
  box-shadow: 0 12px 40px rgba(176, 141, 87, 0.22);
}

/* ── Card Image ── */
.news-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1); /* war: 0.6s */
  will-change: transform;
}

.news-card:hover .news-card-image {
  transform: scale(1.05);
}

/* Dark overlay — always present, stronger at bottom */
.news-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.75) 100%
  );
  transition: opacity 0.4s ease;
}

/* ── Card Content — hidden until hover ── */
.news-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(12px);
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),   /* war: 0.5s */
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);  /* war: 0.5s */
}

.news-card-wrapper:hover .news-card-content {
  opacity: 1;
  transform: translateY(0);
}

/* Meta — Inter */
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(245, 242, 237, 0.7);
}

.news-card-date {
  font-weight: var(--weight-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Tag — Inter */
.news-card-tag {
  padding: 3px 8px;
  background: rgba(176, 141, 87, 0.25);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: var(--weight-button);
  color: #d4b07a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Card title — Cormorant Garamond */
.news-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: var(--weight-h3);
  font-style: normal;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
}

/* Card text — Inter */
.news-card-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: var(--weight-body);
  line-height: 1.55;
  color: rgba(245, 242, 237, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA — Inter */
.news-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: var(--weight-button);
  color: #B08D57;
  margin-top: 4px;
  transition: gap 0.3s ease;
}

.news-card:hover .news-card-cta { gap: 12px; }

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .news-grid {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  .news-card-wrapper {
    flex: none;
    height: 180px;
    min-width: unset;
    transition: height 1s cubic-bezier(0.22, 1, 0.36, 1); /* war: 0.6s */
  }

  .news-card-wrapper:hover {
    height: 340px;
    flex: none;
  }

  .news-grid:has(.news-card-wrapper:hover) .news-card-wrapper:not(:hover) {
    flex: none;
    height: 100px;
  }

  .news-card { border-radius: 14px; }
  .news-card-content { padding: 20px 16px; }
  .news-card-title { font-size: 1rem; }
  .news-card-text { -webkit-line-clamp: 2; font-size: 0.8rem; }

  .news-header { padding: 0 16px 40px; }
  .news-title  { font-size: 1.75rem; }
  .news-subtitle { font-size: 0.9rem; margin-bottom: 18px; }
  .news-cta-buttons { gap: 18px; }
}

/* ── Very small ≤ 480px ── */
@media (max-width: 480px) {
  .news-card-wrapper { height: 160px; }
  .news-card-wrapper:hover { height: 300px; }
  .news-card-content { padding: 16px 12px; }
  .news-card-title { font-size: 0.95rem; }
}