/* =====================================================
   NEWS — Comunicati ufficiali. Empty state for now.
   ===================================================== */

.news-page {
  position: relative;
  background: var(--zink);
  color: #fff;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  padding-top: 80px;
}
@media (min-width: 768px) {
  .news-page { padding-top: 92px; min-height: calc(100vh - 92px); }
}

/* Decorative giant Z behind */
.news-page::before {
  content: "Z";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Anton', sans-serif;
  font-size: 80vw;
  line-height: 0.8;
  color: rgba(227, 6, 19, 0.045);
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 1200px) {
  .news-page::before { font-size: 880px; }
}

/* ---------- HERO ---------- */
.news-hero {
  position: relative;
  z-index: 1;
  padding: 100px 0 40px;
  text-align: center;
}
@media (min-width: 768px) { .news-hero { padding: 140px 0 56px; } }

.news-hero .eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}
.news-hero .eyebrow-row .bar {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.news-hero .eyebrow-row .accent { color: var(--zred); }

.news-hero h1 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  margin: 0;
}
.news-hero h1 .red { color: var(--zred); }

.news-hero p {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(244, 241, 236, 0.7);
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- EMPTY STATE ---------- */
.news-empty-section {
  position: relative;
  z-index: 1;
  padding: 40px 0 140px;
}
@media (min-width: 768px) { .news-empty-section { padding: 56px 0 170px; } }

.news-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
}
@media (min-width: 768px) {
  .news-empty { padding: 80px 48px; }
}

.news-empty .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--zred);
  color: var(--zred);
  border-radius: 999px;
}
.news-empty .icon svg { width: 24px; height: 24px; }

.news-empty .tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--zred);
  margin-bottom: 16px;
}

.news-empty h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}
.news-empty h2 .red { color: var(--zred); }

.news-empty p {
  margin: 18px auto 0;
  max-width: 480px;
  color: rgba(244, 241, 236, 0.7);
  font-size: 15px;
  line-height: 1.6;
}

.news-empty .divider {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 32px auto;
}

.news-empty .channels {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.news-empty .channels-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.5);
}
.news-empty .channels-row {
  display: inline-flex;
  gap: 10px;
}
.news-empty .channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--hairline);
  color: #fff;
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
@media (hover: hover) {
  .news-empty .channel-btn:hover {
    background: var(--zred);
    border-color: var(--zred);
    color: #fff;
  }
}
.news-empty .channel-btn svg { width: 14px; height: 14px; }

/* ============ NEWS LIST · article cards ============ */
.news-list-section {
  position: relative;
  z-index: 1;
  padding: 24px 0 140px;
}
@media (min-width: 768px) { .news-list-section { padding: 32px 0 170px; } }

.news-list {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 768px) { .news-list { padding: 0 40px; gap: 36px; } }

.news-card {
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 220ms ease, background 220ms ease;
  overflow: hidden;
}
@media (hover: hover) {
  .news-card:hover {
    border-color: var(--zred);
    background: rgba(227, 6, 19, 0.04);
  }
}

/* The <details> element wraps every card */
.news-card details { display: block; }

/* The <summary> is the always-visible header (title + date + chevron) */
.news-card summary {
  position: relative;
  display: block;
  padding: 26px 56px 26px 24px;
  cursor: pointer;
  list-style: none;
  outline: none;
}
.news-card summary::-webkit-details-marker { display: none; }
.news-card summary::marker { display: none; content: ""; }
.news-card summary:focus-visible {
  outline: 2px solid var(--zred);
  outline-offset: -2px;
}
@media (min-width: 768px) {
  .news-card summary { padding: 30px 72px 30px 48px; }
}

.news-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.news-card-head .news-date {
  color: rgba(244, 241, 236, 0.6);
}
.news-card-head .news-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  background: var(--zred);
  color: #fff;
  letter-spacing: 0.18em;
  font-size: 10px;
}

.news-card-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: #fff;
  margin: 0;
  transition: color 220ms ease;
}
.news-card-title .red { color: var(--zred); }
@media (hover: hover) {
  .news-card summary:hover .news-card-title { color: var(--zred); }
}

/* Chevron toggle indicator — rotates when open */
.news-card-toggle {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: background 220ms ease, border-color 220ms ease, transform 320ms cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}
@media (min-width: 768px) {
  .news-card-toggle { right: 36px; width: 36px; height: 36px; }
}
.news-card-toggle::before,
.news-card-toggle::after {
  content: "";
  position: absolute;
  background: rgba(244, 241, 236, 0.85);
  transition: background 220ms ease;
}
.news-card-toggle::before {
  width: 12px;
  height: 1.5px;
}
.news-card-toggle::after {
  width: 1.5px;
  height: 12px;
  transition: transform 280ms cubic-bezier(.2, .7, .2, 1), background 220ms ease;
}
.news-card details[open] .news-card-toggle {
  background: var(--zred);
  border-color: var(--zred);
  transform: translateY(-50%) rotate(180deg);
}
.news-card details[open] .news-card-toggle::before,
.news-card details[open] .news-card-toggle::after {
  background: #fff;
}
.news-card details[open] .news-card-toggle::after {
  transform: scaleY(0); /* collapse the vertical bar → becomes "−" */
}
@media (hover: hover) {
  .news-card summary:hover .news-card-toggle {
    border-color: var(--zred);
  }
}

/* Expanded content */
.news-card-content {
  padding: 4px 24px 28px;
  animation: newsReveal 360ms cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { .news-card-content { padding: 4px 48px 36px; } }

@keyframes newsReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.news-card-body p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(244, 241, 236, 0.85);
  margin: 0 0 16px;
}
.news-card-body p:last-child { margin-bottom: 0; }
.news-card-body strong { color: #fff; font-weight: 600; }
.news-card-body em { color: rgba(244, 241, 236, 0.95); }

.news-card-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.news-card-foot .news-signature {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.55);
}
.news-card-foot .news-share {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.5);
}

/* Mobile tuning for news cards */
@media (max-width: 480px) {
  .news-list-section { padding: 16px 0 100px; }
  .news-list { padding: 0 18px; gap: 18px; }
  .news-card summary { padding: 20px 50px 20px 18px; }
  .news-card-toggle { right: 16px; width: 28px; height: 28px; }
  .news-card-toggle::before { width: 10px; }
  .news-card-toggle::after { height: 10px; }
  .news-card-head { font-size: 10px; letter-spacing: 0.2em; margin-bottom: 12px; gap: 8px; }
  .news-card-head .news-tag { padding: 4px 7px; font-size: 9px; }
  .news-card-title { font-size: clamp(18px, 5.4vw, 26px); }
  .news-card-content { padding: 2px 18px 22px; }
  .news-card-body p { font-size: 14.5px; line-height: 1.65; margin-bottom: 14px; }
  .news-card-foot { margin-top: 18px; padding-top: 14px; }
}

/* ============ NEWS · MOBILE TUNING ============ */
@media (max-width: 480px) {
  .news-hero { padding: 80px 0 28px; }
  .news-empty-section { padding: 16px 0 100px; }
  .news-empty {
    padding: 44px 20px;
  }
  .news-empty .icon { width: 48px; height: 48px; margin-bottom: 18px; }
  .news-empty .icon svg { width: 20px; height: 20px; }
  .news-empty h2 { font-size: clamp(28px, 7vw, 40px); }
  .news-empty p { font-size: 14px; }
  .news-empty .divider { margin: 24px auto; }
  .news-empty .channels-row { flex-wrap: wrap; justify-content: center; }
  .news-empty .channel-btn {
    height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }
}
