/* ════════════════════════════════════════
   PÁGINA DE NOTÍCIAS — Capital DF
   ════════════════════════════════════════ */

/* ── Hero ── */
.news-hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: linear-gradient(160deg, var(--blue-dark) 0%, #0d2240 60%, var(--blue-petrol) 100%);
  overflow: hidden;
}
.news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/estadio.webp') center/cover no-repeat;
  opacity: .08;
}
.news-hero__deco {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(6rem, 14vw, 12rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: rgba(69, 167, 218, .05);
  letter-spacing: -4px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.news-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-family: var(--font-heading);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: rgba(69, 167, 218, .12);
  border: 1px solid rgba(69, 167, 218, .25);
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.news-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: .5rem;
}
.news-hero__title span {
  color: var(--blue-primary);
}
.news-hero__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .5);
}

/* Animações de entrada do hero */
@keyframes newsUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.news-hero__tag   { animation: newsUp .55s cubic-bezier(.22,.61,.36,1) .10s both; }
.news-hero__title { animation: newsUp .60s cubic-bezier(.22,.61,.36,1) .26s both; }
.news-hero__sub   { animation: newsUp .55s cubic-bezier(.22,.61,.36,1) .42s both; }

/* ── Conteúdo ── */
.news-page-content {
  background: #06101e;
  padding: 5rem 0 6rem;
}

/* ── Cards de Notícia ── */
.news-page-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .35s ease;
}
.news-page-card:hover {
  border-color: rgba(var(--blue-primary-rgb), .15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
  transform: translateY(-4px);
}

.news-page-card__image {
  height: 220px;
  overflow: hidden;
}
.news-page-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.news-page-card:hover .news-page-card__image img {
  transform: scale(1.04);
}

.news-page-card__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-page-card__tags {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.news-page-card__category {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-primary);
  background: rgba(var(--blue-primary-rgb), .1);
  padding: .25rem .6rem;
  border-radius: 4px;
}
.news-page-card__date {
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.news-page-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .75rem;
  line-height: 1.3;
  color: #fff;
}

.news-page-card__excerpt {
  font-size: .9rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
}

/* ── Responsividade ── */
@media (max-width: 767.98px) {
  .news-hero {
    padding: 8rem 0 3.5rem;
  }
  .news-page-content {
    padding: 3rem 0 4rem;
  }
  .news-page-card__image {
    height: 180px;
  }
}


/* ════════════════════════════════════════
   PAGINAÇÃO
   ════════════════════════════════════════ */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}
.news-pagination__info {
  font-size: .85rem;
  color: rgba(255, 255, 255, .4);
}


/* ════════════════════════════════════════
   PÁGINA DE DETALHE DA NOTÍCIA
   ════════════════════════════════════════ */

/* ── Hero Detalhe ── */
.news-hero--detalhe {
  padding-bottom: 3.5rem;
}

.news-detail__breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.news-detail__breadcrumb a {
  color: rgba(255, 255, 255, .4);
  transition: color .2s;
}
.news-detail__breadcrumb a:hover {
  color: var(--blue-primary);
}
.news-detail__breadcrumb i {
  font-size: .55rem;
  opacity: .4;
}

.news-detail__meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.news-detail__category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-primary);
  background: rgba(var(--blue-primary-rgb), .12);
  padding: .3rem .75rem;
  border-radius: 4px;
}

.news-detail__date {
  font-size: .82rem;
  color: rgba(255, 255, 255, .45);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.news-detail__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: .75rem;
}

.news-detail__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 1rem;
}

.news-detail__author {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}
.news-detail__author strong {
  color: #fff;
  font-weight: 600;
}
.news-detail__author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--blue-primary-rgb), .15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: .85rem;
}

/* Animações */
.news-detail__breadcrumb { animation: newsUp .5s cubic-bezier(.22,.61,.36,1) .05s both; }
.news-detail__meta-top   { animation: newsUp .5s cubic-bezier(.22,.61,.36,1) .12s both; }
.news-detail__title      { animation: newsUp .55s cubic-bezier(.22,.61,.36,1) .2s both; }
.news-detail__subtitle   { animation: newsUp .5s cubic-bezier(.22,.61,.36,1) .3s both; }
.news-detail__author     { animation: newsUp .5s cubic-bezier(.22,.61,.36,1) .38s both; }


/* ── Conteúdo do artigo ── */
.news-detail-content {
  background: #06101e;
  padding: 3rem 0 4rem;
}

.news-detail__hero-image {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  text-align: center;
}
.news-detail__hero-image img {
  max-width: 50%;
  height: auto;
  display: inline-block;
  border-radius: var(--radius-lg);
}
.news-detail__hero-image figcaption {
  font-size: .78rem;
  color: rgba(255, 255, 255, .35);
  padding: .75rem 0 0;
  font-style: italic;
}

.news-detail__body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 2.5rem;
}
.news-detail__body p {
  margin-bottom: 1.25rem;
}
.news-detail__body h2,
.news-detail__body h3,
.news-detail__body h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 2rem 0 .75rem;
}
.news-detail__body h2 { font-size: 1.5rem; }
.news-detail__body h3 { font-size: 1.25rem; }
.news-detail__body h4 { font-size: 1.1rem; }
.news-detail__body strong { color: rgba(255, 255, 255, .9); }
.news-detail__body a {
  color: var(--blue-primary);
  text-decoration: underline;
}
.news-detail__body blockquote {
  border-left: 3px solid var(--blue-primary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, .03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: rgba(255, 255, 255, .6);
}
.news-detail__body img {
  max-width: 100%;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}
.news-detail__body ul,
.news-detail__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.news-detail__body li {
  margin-bottom: .4rem;
}


/* ── Tags ── */
.news-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.news-detail__tag {
  font-size: .78rem;
  font-weight: 500;
  color: var(--blue-primary);
  background: rgba(var(--blue-primary-rgb), .08);
  padding: .3rem .7rem;
  border-radius: 20px;
  border: 1px solid rgba(var(--blue-primary-rgb), .15);
}


/* ── Compartilhar ── */
.news-detail__share {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.news-detail__share-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
}
.news-detail__share-btns {
  display: flex;
  gap: .5rem;
}
.news-detail__share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: all .25s;
  cursor: pointer;
  text-decoration: none;
}
.news-detail__share-btn:hover {
  transform: translateY(-2px);
}
.news-detail__share-btn--whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.news-detail__share-btn--x:hover {
  background: #1d9bf0;
  border-color: #1d9bf0;
  color: #fff;
}
.news-detail__share-btn--copy:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #fff;
}


/* ── Notícias Relacionadas ── */
.news-related {
  background: #06101e;
  padding: 0 0 5rem;
}
.news-related__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}


/* ── Responsividade Detalhe ── */
@media (max-width: 767.98px) {
  .news-hero--detalhe {
    padding: 8rem 0 2.5rem;
  }
  .news-detail-content {
    padding: 2rem 0 3rem;
  }
  .news-detail__hero-image img {
    width: 100%;
  }
  .news-detail__body {
    font-size: .95rem;
  }
  .news-detail__share {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }
}
