/* =========================================================
   PÁGINA NOTÍCIAS
   URL prevista: /noticias/
   ========================================================= */
.news-page {
  min-height: 100vh
}

.news-main {
  min-height: 60vh
}

.news-archive {
  padding: 72px 0 78px;
  background: transparent
}

.news-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px
}

.news-heading-row .section-kicker {
  font-family: "Montserrat", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(6, 70, 111, .55);
  margin-bottom: 5px
}

.news-heading-row h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1;
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 10px
}

.news-heading-row p {
  margin: 0;
  color: #345c73;
  font-size: 1.02rem
}

.year-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-bottom: 4px
}

.year-filter label {
  font-weight: 650;
  color: var(--ink)
}

.year-filter .form-select {
  width: 175px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(6, 70, 111, .10);
  font-family: "Montserrat", sans-serif;
  font-size: .88rem;
  color: var(--ink);
  padding-top: .65rem;
  padding-bottom: .65rem
}

.news-card {
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 7px 24px rgba(6, 70, 111, .08);
  transition: transform .22s ease, box-shadow .22s ease
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(6, 70, 111, .13)
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover
}

.news-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d8edf6, #e7f3e8);
  color: #527184;
  font-size: .84rem
}

.news-card-body {
  padding: 16px 17px 17px
}

.news-card time {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  color: #567286;
  margin-bottom: 7px
}

.news-card h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 750;
  color: var(--ink);
  margin: 0 0 7px
}

.news-card p {
  font-size: .88rem;
  line-height: 1.55;
  color: #5d7180;
  margin: 0 0 12px
}

.news-card a {
  font-family: "Montserrat", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none
}

.news-card a span {
  margin-left: 4px
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 38px
}

.news-pagination a,
.news-pagination span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-size: .82rem;
  text-decoration: none;
  color: var(--ink)
}

.news-pagination a {
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 3px 12px rgba(6, 70, 111, .07)
}

.news-pagination a.active {
  background: var(--blue);
  color: #fff
}

@media(max-width:767px) {
  .news-archive {
    padding: 48px 0 55px
  }

  .news-heading-row {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px
  }

  .year-filter {
    width: 100%
  }

  .year-filter .form-select {
    flex: 1;
    width: auto
  }
}


/* =========================================================
   NOTÍCIAS v2 — CARTÕES MAIORES + IMAGENS REAIS
   ========================================================= */
.news-archive .container {
  max-width: 1320px;
}

.news-grid {
  --bs-gutter-x: 1.65rem;
  --bs-gutter-y: 1.65rem;
}

.news-card {
  border-radius: 10px;
  min-height: 100%;
}

.news-card-image {
  display: block;
  width: 100%;
  height: 245px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.news-card-body {
  padding: 21px 22px 22px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.news-card time {
  margin-bottom: 9px;
}

.news-card h2 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 9px;
}

.news-card p {
  font-size: .91rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-card a {
  margin-top: auto;
}

@media(max-width:991px) {
  .news-card-image {
    height: 225px
  }
}

@media(max-width:767px) {
  .news-card-image {
    height: 230px
  }

  .news-card-body {
    min-height: 0
  }
}

/* NOTÍCIAS v3 — cartões XL, fotografia dominante */
.news-archive .container {
  max-width: 1480px
}

.news-grid {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem
}

.news-card {
  border-radius: 12px
}

.news-card-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center
}

.news-card-body {
  padding: 25px 26px 26px;
  min-height: 225px
}

.news-card time {
  font-size: .74rem;
  margin-bottom: 11px
}

.news-card h2 {
  font-size: 1.18rem;
  line-height: 1.35;
  margin-bottom: 11px
}

.news-card p {
  font-size: .96rem;
  line-height: 1.65;
  margin-bottom: 18px
}

.news-card a {
  font-size: .87rem
}

@media(max-width:1199px) {
  .news-card-image {
    height: 315px
  }
}

@media(max-width:991px) {
  .news-card-image {
    height: 300px
  }
}

@media(max-width:767px) {
  .news-card-image {
    height: 285px
  }

  .news-card-body {
    padding: 22px;
    min-height: 0
  }
}

/* NOTÍCIAS v4 — composição vertical: imagem em cima, texto em baixo */
.news-card {
  display: flex;
  flex-direction: column;
  min-height: 680px;
  overflow: hidden;
}

.news-card-image {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center;
}

.news-card-body {
  flex: 1 1 auto;
  min-height: 290px;
  padding: 27px 28px 29px;
  display: flex;
  flex-direction: column;
}

.news-card h2 {
  font-size: 1.2rem
}

.news-card p {
  font-size: .97rem
}

.news-card a {
  margin-top: auto
}

@media(max-width:1199px) {
  .news-card {
    min-height: 630px
  }

  .news-card-image {
    height: 350px
  }

  .news-card-body {
    min-height: 280px
  }
}

@media(max-width:991px) {
  .news-card {
    min-height: 610px
  }

  .news-card-image {
    height: 330px
  }
}

@media(max-width:767px) {
  .news-card {
    min-height: 0
  }

  .news-card-image {
    height: 300px
  }

  .news-card-body {
    min-height: 250px
  }
}

/* NOTÍCIAS v5 — menos 50px na imagem e aproximadamente 50px no bloco de texto */
.news-card {
  min-height: 580px
}

.news-card-image {
  height: 340px
}

.news-card-body {
  min-height: 240px;
  padding: 24px 26px 25px
}

@media(max-width:1199px) {
  .news-card {
    min-height: 530px
  }

  .news-card-image {
    height: 300px
  }

  .news-card-body {
    min-height: 230px
  }
}

@media(max-width:991px) {
  .news-card {
    min-height: 510px
  }

  .news-card-image {
    height: 280px
  }

  .news-card-body {
    min-height: 230px
  }
}

@media(max-width:767px) {
  .news-card {
    min-height: 0
  }

  .news-card-image {
    height: 250px
  }

  .news-card-body {
    min-height: 200px
  }
}

/* NOTÍCIAS v6 — menos 50px na área de texto */
.news-card {
  min-height: 530px
}

.news-card-body {
  min-height: 190px;
  padding: 20px 26px 21px
}

@media(max-width:1199px) {
  .news-card {
    min-height: 480px
  }

  .news-card-body {
    min-height: 180px
  }
}

@media(max-width:991px) {
  .news-card {
    min-height: 460px
  }

  .news-card-body {
    min-height: 180px
  }
}

@media(max-width:767px) {
  .news-card {
    min-height: 0
  }

  .news-card-body {
    min-height: 150px
  }
}

/* Fundo final da listagem de notícias, movido do antigo tema da homepage. */
.news-page,
.news-listing {
  position: relative;
  background:
    radial-gradient(ellipse 78% 38% at 8% 4%, rgba(75, 183, 238, .31) 0%, rgba(75, 183, 238, .13) 42%, transparent 72%),
    radial-gradient(ellipse 74% 34% at 91% 5%, rgba(137, 205, 106, .27) 0%, rgba(137, 205, 106, .11) 43%, transparent 72%),
    radial-gradient(ellipse 62% 30% at 74% 13%, rgba(248, 220, 91, .18) 0%, transparent 70%),
    linear-gradient(180deg, #eef9fd 0%, #f8fcfb 18%, #fff 42%, #fbfcfc 72%, #f5fafc 100%) !important;
}


/* Fase 6 — botão do filtro anual */
.year-filter-submit {
  border: 0;
  border-radius: 8px;
  padding: .68rem 1rem;
  background: var(--blue);
  color: #fff;
  font: 700 .78rem "Montserrat", sans-serif;
}
