/* =============================================
   Tabnora — What's New page
   Relies on /styles.css for :root palette + nav
   ============================================= */

.news-hero {
  background: var(--panel-bg);
  padding: 5rem 1.5rem 4rem;
}

.news-hero__inner {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.news-hero__alien {
  width: clamp(110px, 15vw, 180px);
  height: auto;
  animation: bob 3.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 10px 28px rgba(95, 191, 176, 0.35));
}

.news-hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-shadow);
  margin-bottom: 0.65rem;
}

.news-hero__h {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--eye-navy);
  margin-bottom: 0.9rem;
}

.news-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(27, 42, 73, 0.72);
  line-height: 1.6;
}

/* ── Entries ── */
.news {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.entry {
  position: relative;
  background: var(--white);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: 0 20px 48px -24px rgba(95, 191, 176, 0.35);
  border: 1px solid rgba(127, 216, 201, 0.22);
}

.entry__head {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.entry__date,
.entry__version {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3em 0.8em;
  border-radius: 999px;
}

.entry__date {
  background: rgba(95, 191, 176, 0.14);
  color: var(--body-shadow);
}

.entry__version {
  background: var(--antenna-yellow);
  color: var(--eye-navy);
}

.entry__title {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--eye-navy);
  margin-bottom: 1rem;
}

.entry__sticker {
  float: right;
  width: clamp(70px, 10vw, 110px);
  height: auto;
  margin: 0 0 1rem 1.5rem;
  animation: bob 3.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 6px 18px rgba(95, 191, 176, 0.35));
}

.entry__body {
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(27, 42, 73, 0.82);
}

.entry__body > p {
  margin-bottom: 1rem;
}

.entry__body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--eye-navy);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.entry__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.entry__body ul li {
  position: relative;
  padding-left: 1.5rem;
}

.entry__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--body-mid);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(127, 216, 201, 0.2);
}

.entry__body a {
  color: var(--eye-blue);
  text-decoration: underline;
  text-decoration-color: rgba(58, 91, 160, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.entry__body a:hover {
  text-decoration-color: var(--eye-blue);
}

.entry__sign {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(127, 216, 201, 0.45);
  font-size: 0.95rem;
  color: rgba(27, 42, 73, 0.65);
}

.entry__sign-last {
  font-weight: 700;
  color: var(--eye-navy);
  margin-top: 0.5rem;
}

/* ── Footer ── */
.news-footer {
  background: var(--panel-bg);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.news-footer__home {
  font-weight: 700;
  color: var(--eye-navy);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: rgba(174, 237, 224, 0.5);
  transition: background 0.2s ease;
}

.news-footer__home:hover {
  background: var(--body-highlight);
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .news-hero {
    padding: 3rem 1.25rem 2.75rem;
  }

  .news-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .news-hero__alien {
    width: 130px;
  }

  .news {
    padding: 3rem 1.25rem 4rem;
  }

  .entry__sticker {
    float: none;
    display: block;
    margin: 0 auto 1.5rem;
  }
}
