/* ==========================================
   NEWS SECTION — CARD STACK REVEAL
   Royal Bronze Theme · Compact Redesign
   ========================================== */

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

.news-container {
  position: relative;
  background: transparent;
}

/* ── Sticky Header ── */
.news-header {
  position: sticky;
  top: 0; z-index: 100;
  text-align: center;
  padding: 72px 20px 44px;
  background: linear-gradient(180deg, #faf8f5 0%, #f5f2ed 65%, #ede9e2 100%);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.05);
}

html[data-theme="dim"] .news-header {
  background: linear-gradient(180deg, #2a3749 0%, #1f2e3e 65%, #182231 100%);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.45);
}

/* Kicker — Inter */
.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 — Inter (kursiv als Akzent) ── */
.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); }

/* ── Card Grid ── */
.news-grid {
  position: relative; width: 100%;
  padding: 0 24px; box-sizing: border-box;
}

@media (min-width: 1400px) { .news-grid { padding: 0 40px; } }

.news-card-wrapper { height: 70vh; position: relative; }
.news-card-wrapper:first-child { margin-top: 60px; }
.news-card-wrapper:last-child  { height: calc(100vh + 60px); }

/* ── Card ── */
.news-card {
  position: sticky;
  top: 340px; left: 0; right: 0;
  height: 380px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #ffffff;
  border: 1px solid rgba(176, 141, 87, 0.18);
  border-radius: 18px; overflow: hidden;
  text-decoration: none;
  max-width: 1200px; margin: 0 auto;
  box-shadow: 0 6px 24px rgba(176, 141, 87, 0.10), inset 0 1px 0 rgba(176, 141, 87, 0.07);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center top;
  will-change: transform, opacity, clip-path;
}

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

.news-card-wrapper:nth-child(1) .news-card { z-index: 1; }
.news-card-wrapper:nth-child(2) .news-card { z-index: 2; }
.news-card-wrapper:nth-child(3) .news-card { z-index: 3; }
.news-card-wrapper:nth-child(4) .news-card { z-index: 4; }

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

html[data-theme="dim"] .news-card:hover {
  box-shadow: 0 12px 40px rgba(176, 141, 87, 0.22), inset 0 1px 0 rgba(176, 141, 87, 0.14);
}

/* ── Card Image ── */
.news-card-image {
  width: 100%; height: 100%;
  background-size: cover; background-position: center; position: relative;
}

.news-card-image::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 80px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02));
  pointer-events: none;
}

html[data-theme="dim"] .news-card-image::after {
  background: linear-gradient(90deg, transparent, rgba(27,23,18,0.04));
}

/* ── Card Content ── */
.news-card-content {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 5vh, 56px) clamp(28px, 4vw, 60px);
  justify-content: center; position: relative; z-index: 1;
}

/* Meta — Inter */
.news-card-meta {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-size: var(--text-label);
  color: rgba(44, 62, 80, 0.55);
}

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

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

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

html[data-theme="dim"] .news-card-tag { background: rgba(176, 141, 87, 0.14); color: #d4b07a; }

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

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

/* Card text — Inter */
.news-card-text {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: var(--weight-body);
  line-height: 1.65;
  color: rgba(44, 62, 80, 0.68);
  max-width: 520px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

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

html[data-theme="dim"] .news-card-cta { color: #d4b07a; }
.news-card:hover .news-card-cta { gap: 14px; }

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .news-header { padding: 48px 16px 24px; top: 0; }
  .news-kicker  { font-size: 9px; margin-bottom: 8px; }
  .news-title   { font-size: 1.75rem; margin-bottom: 8px; }
  .news-subtitle { font-size: 0.9rem; line-height: 1.5; margin-bottom: 18px; }

  .news-cta-buttons { gap: 18px; flex-wrap: nowrap; justify-content: center; }
  .news-cta-btn,
  .news-cta-primary,
  .news-cta-secondary { font-size: 0.95rem; gap: 7px; }

  .news-grid { padding: 0 12px; }
  .news-card-wrapper { height: calc(80vh + 40px); }
  .news-card-wrapper:first-child { margin-top: 32px; }
  .news-card-wrapper:last-child  { height: calc(100vh - 40px); }

  .news-card {
    grid-template-columns: 1fr;
    grid-template-rows: 120px auto;
    height: auto; min-height: 290px;
    border-radius: 14px; top: 260px;
  }

  .news-card-image { height: 100%; width: 100%; }

  .news-card-image::after {
    width: 100%; height: 60px; top: auto; bottom: 0; right: 0;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02));
  }

  html[data-theme="dim"] .news-card-image::after {
    background: linear-gradient(180deg, transparent, rgba(27,23,18,0.04));
  }

  .news-card-content { padding: 18px 16px; gap: 9px; }
  .news-card-meta    { gap: 8px; font-size: 0.72rem; }
  .news-card-text    { font-size: 0.83rem; -webkit-line-clamp: 2; }
  .news-card-cta     { font-size: 0.88rem; margin-top: 4px; }
}

/* ── Very small ≤ 480px ── */
@media (max-width: 480px) {
  .news-card { grid-template-rows: 22vw auto; min-height: 260px; top: 220px; }
  .news-card-content { padding: 14px 12px; gap: 7px; }
  .news-card-title   { font-size: 1.05rem; }
  .news-card-text    { font-size: 0.78rem; }
}

/* ── Desktop scroll snap ── */
@media (min-width: 769px) {
  .news-section { scroll-snap-type: y proximity; }
  .news-card    { scroll-snap-align: start; }
}