:root {
  --blue: #17243b;
  --gold: #a88745;
  --white: #ffffff;
  --off-white: #faf9f7;
  --off-white-2: #f7f5f2;
  --graphite: #3a3a3a;
  --muted: #7a7a7a;
  --border: rgba(23, 36, 59, 0.18);
  --shadow: 0 24px 70px rgba(23, 36, 59, 0.1);
  --container: 1180px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;

  --primary-color: #0f2942;
  --primary-hover: #1e3a8a;
  --bg-input: #f8fafc;
  --border-color: #cbd5e1;
  --border-focus: #0f2942;
  --text-color: #334155;
  --label-color: #1e293b;
  --required-color: #ef4444;
  --radius: 8px;
  --transition: all 0.2s ease-in-out;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(23, 36, 59, 0.06);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(11, 37, 69, 0.1);
}
.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: clamp(
    220px,
    22vw,
    320px
  ); /* Ligeiramente mais contido para equilibrar a barra */
  height: auto;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(
    8px,
    1.5vw,
    15px
  ); /* Espaçamento dinâmico que encolhe suavemente */
  flex-wrap: nowrap;
}

/* Garante que os links não têm padding horizontal que afaste o último item da borda direita */
.main-nav a {
  position: relative;
  padding: 8px 0;
  margin: 0;
  line-height: 1;
  white-space: nowrap; /* IMPEDE que o texto do link se divida em várias linhas */
  font-size: 18px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  margin: auto;
  background: var(--gold);
  transition: width 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.ativo {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a:focus::after,
.main-nav a.ativo::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 450px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}

.hero::before {
  
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background-image: var(--hero-image);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;

  opacity: 0.36;
  filter: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  
}

.hero-inner {
  text-align: center;
  color: var(--blue);
  padding: 64px 0 76px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1040px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--blue);
}

.hero h1 span {
  display: block;
}

.gold-divider {
  display: block;
  width: 70px;
  height: 2px;
  margin: 38px auto 30px;
  background: var(--gold);
}

.hero-copy {
  margin: 0 auto;
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--blue);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 15px;
  border-radius: 4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  color: currentColor;
}

.btn-outline {
  border: 1.5px solid var(--blue);
  background: rgba(255, 255, 255, 0.52);
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.about-section {
  background: var(--off-white);
  padding: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
}

.about-copy {
  min-height: 320px;
  padding: clamp(46px, 5vw, 72px) clamp(34px, 4vw, 64px) clamp(42px, 5vw, 64px)
    clamp(42px, 5vw, 64px);
  background: var(--white);
}

.about-copy h2,
.section-heading-row h2,
.theme-card h2,
.event-content h2 {
  margin: 0;
  color: var(--blue);
  font-family: var(--serif);
  line-height: 1.15;
}

.about-copy h2,
.section-heading-row h2 {
  font-size: clamp(32px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.2px;
}

.section-line {
  display: block;
  width: 74px;
  height: 2px;
  margin-bottom: 22px;
  background: var(--gold);
}

.rich-text p,
.about-copy .rich-text,
.about-copy p {
  max-width: 460px;
  margin: 26px 0 28px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--blue);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    gap 180ms ease;
}

.link-arrow svg {
  width: 23px;
  height: 23px;
  color: var(--gold);
  flex: 0 0 auto;
}

.link-arrow:hover,
.link-arrow:focus,
.link-arrow.light:focus {
  gap: 20px;
  color: var(--gold);
}

.participation-card .link-arrow,
.link-arrow.light {
  color: #ffffff;
}

/* Estado Hover / Focus: Texto transita para dourado e abre espaço */
.participation-card .link-arrow:hover,
.participation-card .link-arrow:focus,
.link-arrow.light:hover {
  color: var(--gold);
  gap: 20px;
}

.about-image {
  margin: 0;
  min-height: 320px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.feature-section {
  background: var(--off-white-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.theme-card,
.participation-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  min-height: 285px;
  padding: clamp(44px, 5vw, 62px) clamp(36px, 5vw, 66px);
}

.theme-card {
  background: var(--off-white-2);
  transition: background 180ms ease;
}

.theme-card:hover {
  background: var(--off-white);
}

.participation-card {
  background: var(--blue);
}

.round-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--gold);
}

.round-icon.outline {
  width: 86px;
  height: 86px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.round-icon svg {
  width: 42px;
  height: 42px;
}

.card-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.6px;
  line-height: 1.3;
  text-transform: uppercase;
}

.theme-card h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
}

.card-text,
.card-text p,
.theme-card p:not(.card-kicker),
.participation-card p:not(.card-kicker) {
  margin: 22px 0 26px;
  font-size: 18px;
  line-height: 1.8;
}

.theme-card .card-text,
.theme-card .card-text p,
.theme-card p:not(.card-kicker) {
  color: var(--blue);
}

.participation-card .link-arrow,
.link-arrow.light {
  color: var(--white);
}

.event-section {
  padding: 32px 0 22px;
  background: var(--white);
}

.event-box {
  width: min(700px, 100%);
  min-height: 122px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 36px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  background: rgba(250, 249, 247, 0.68);
}

.event-icon {
  color: var(--gold);
}

.event-icon svg {
  width: 64px;
  height: 64px;
}

.event-content h2 {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 500;
}

.event-content p {
  margin: 4px 0 0;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.45;
}

.news-section {
  padding: 0 0 48px;
  background: var(--white);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  border-bottom: 1px solid rgba(23, 36, 59, 0.12);
}

.section-heading-row h2 {
  padding-bottom: 8px;
}

.link-arrow.small {
  margin-bottom: 16px;
  font-size: 13px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.news-card {
  min-height: 145px;
  padding: 26px 32px 22px;
  border-right: 1px solid rgba(23, 36, 59, 0.18);
}

.news-card:nth-child(3n),
.news-card:last-child {
  border-right: 0;
}

.news-card time {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.65px;
  line-height: 1.2;
  text-transform: uppercase;
}

.news-card h3 {
  min-height: 58px;
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.visual-final {
  height: clamp(150px, 17vw, 210px);
  overflow: hidden;
  background: var(--blue);
}

.visual-final img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*object-position: center;*/
  object-position: center 42%;
}

.site-footer {
  background: var(--blue);
  color: var(--white);
  padding: 28px 0 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0px;
}

.footer-brand {
  display: flex;
  align-items: center;
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.36);
}

.footer-brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.footer-partners {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  min-width: 0;
}

.partner {
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.3px;
  transition: color 180ms ease;
}

.partner:hover,
.partner:focus {
  color: var(--gold);
}

.partner.viriatos {
  position: relative;
  font-family: var(--serif);
  font-size: 28px;
  opacity: 0.92;
}

.partner.beira {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.partner.beira small {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partner-logo img {
  max-width: 160px;
  max-height: 54px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1.2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-social a:hover,
.footer-social a:focus {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--blue);
}

.footer-message {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 28px;
  border: 1.4px solid var(--gold);
  border-radius: 4px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.footer-message svg {
  width: 26px;
  height: 26px;
}

.footer-message:hover,
.footer-message:focus {
  background: var(--gold);
  color: var(--blue);
}

.copyright {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1120px) {
  .header-inner {
    min-height: 96px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 24px 24px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-top: 1px solid rgba(23, 36, 59, 0.08);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  body.nav-open .main-nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(23, 36, 59, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .feature-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding-left: 0;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
  }

  .footer-message {
    justify-self: start;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 86px;
    gap: 16px;
  }

  .brand img {
    width: min(260px, 68vw);
  }

  .hero {
    min-height: 570px;
  }

  .hero-inner {
    padding: 66px 0 76px;
  }

  .hero-copy br {
    display: none;
  }

  .hero-actions {
    margin-top: 34px;
  }

  .btn {
    width: 100%;
    max-width: 380px;
    min-height: 60px;
  }

  .theme-card,
  .participation-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 28px;
  }

  .round-icon.outline,
  .round-icon {
    width: 74px;
    height: 74px;
  }

  .round-icon svg {
    width: 38px;
    height: 38px;
  }

  .event-box {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 26px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 36, 59, 0.14);
    padding-inline: 0;
  }

  .news-card:last-child {
    border-bottom: 0;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 24px;
  }

  .footer-brand {
    padding: 0;
    border-right: 0;
  }

  .footer-partners {
    flex-wrap: wrap;
  }

  .partners-img {
    max-height: 40px !important; /* Altura máxima ideal para logos no footer */
    max-width: 140px !important; /* Evita que logos muito compridos fiquem gigantes */
    width: auto; /* Mantém a proporção original */
    height: auto; /* Mantém a proporção original */
    object-fit: contain; /* Garante que a imagem não fica esticada nem deformada */
    display: block;
  }

  .footer-partners .partner {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  /* Forçar a imagem a respeitar a dimensão */
  .footer-partners .partners-img {
    height: 40px !important; /* Fixa a altura */
    width: auto !important; /* Força a largura proporcional, ignorando resets globais */
    max-width: 140px !important; /* Limite horizontal */
    object-fit: contain !important;
    display: block;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .rich-text p,
  .about-copy .rich-text,
  .about-copy p,
  .card-text,
  .theme-card p:not(.card-kicker),
  .participation-card p:not(.card-kicker),
  .event-content p {
    font-size: 16px;
  }

  .about-image img {
    min-height: 240px;
  }

  .news-card h3 {
    font-size: 21px;
  }

  .footer-message {
    width: 100%;
  }
}

.article-page {
  background: var(--off-white);
  padding: 72px 0;
}

.article-back {
  margin-bottom: 34px;
}

.article-back svg {
  transform: rotate(180deg);
}

.article-card h1 {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 600;
}

.article-card {
  width: 100%;
  max-width: 100%; /* Substitui o teu max-width: 860px antigo */
  padding: clamp(34px, 6vw, 72px);
  background: var(--white);
  border: 1px solid rgba(23, 36, 59, 0.1);
  box-shadow: var(--shadow);
}
/*.article-image {
  margin: 0 0 34px;
}

.article-image img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}*/
.article-image {
  width: 100%;
  height: clamp(180px, 30vw, 300px);
  margin: 32px 0 34px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--off-white-2);
}

.article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.article-body,
.article-body p {
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.8;
}

/* Recurso associado apresentado depois do corpo da notícia */
.article-resource {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: clamp(36px, 6vw, 56px);
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.article-resource-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(168, 135, 69, 0.3);
  border-radius: 50%;
  background: rgba(168, 135, 69, 0.1);
  color: var(--gold);
}

.article-resource-icon svg {
  width: 26px;
  height: 26px;
}

.article-resource-content {
  min-width: 0;
}

.article-resource-kicker {
  margin: 0 0 3px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-resource-content h2 {
  margin: 0 0 5px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.25;
}

.article-resource-content > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.article-resource-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.article-resource-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.article-resource-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.article-resource-link:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
  background: var(--gold);
  color: var(--blue);
}

.article-resource-link:focus-visible {
  outline: 3px solid rgba(168, 135, 69, 0.4);
  outline-offset: 3px;
}

.article-resource-action small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 680px) {
  .article-resource {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .article-resource-action {
    grid-column: 1 / -1;
    align-items: stretch;
  }

  .article-resource-link {
    width: 100%;
  }

  .article-resource-action small {
    text-align: center;
  }
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr; /* Mobile: 1 coluna */
  gap: 40px;
  align-items: start; /* CRÍTICO para o sticky funcionar! */
}

@media (min-width: 992px) {
  .article-layout {
    /* Desktop: Artigo ocupa o espaço disponível, sidebar tem 320px fixos */
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

.article-sidebar {
  width: 100%;
}

.sticky-wrapper {
  position: sticky;
  top: 100px; /* Ajusta este valor dependendo da altura do teu header (menu fixo) */
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 2px solid rgba(23, 36, 59, 0.05);
  padding-bottom: 8px;
}

.sidebar-card {
  display: block;
  background: var(--white);
  padding: 16px;
  border: 1px solid rgba(23, 36, 59, 0.1);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-left-color: var(--gold);
}

.sidebar-card h4 {
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.sidebar-card time {
  color: var(--graphite);
  font-size: 13px;
}

.compact-nav {
  gap: 26px;
}

/* ── Página de Notícias ─────────────────────────────────── */

.page-banner {
  background-color: #0b2545; /* Cor base / Fallback se a imagem falhar */
  color: #fff;
  padding: 3.5rem 0 3rem;

  /* Propriedades para a imagem de fundo */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  transition: background-image 0.3s ease-in-out;
}

.page-banner.has-bg-image {
  padding: 4.5rem 0 4rem;
}

.page-banner .section-line {
  background-color: #c5a059;
}

/* 📌 H1 - Título Principal */
.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 0.5rem;

  /* Força a ficar na sua própria linha e ajusta o fundo ao texto */
  display: block;
  width: fit-content;

  padding: 0.5rem 1.25rem;
  background-color: rgba(11, 37, 69, 0.75);
  border-radius: 6px;

  backdrop-filter: blur(4px);
}

/* 📌 P - Subtítulo */
.page-banner p {
  color: #fff;
  font-size: clamp(
    0.875rem,
    1.5vw,
    1rem
  ); /* Ajustado o mínimo para legibilidade */
  margin-top: 0.5rem;

  /* Força a ficar na sua própria linha e ajusta o fundo ao texto */
  display: block;
  width: fit-content;

  padding: 0.5rem 1.25rem;
  background-color: rgba(11, 37, 69, 0.75);
  border-radius: 6px;

  backdrop-filter: blur(4px);
}
/* Barra de filtros */
.noticias-toolbar {
  background-color: #f7f6f3;
  border-bottom: 1px solid #e5e3dc;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.toolbar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.toolbar-search {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.toolbar-search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

.toolbar-search input {
  width: 100%;
  padding: 0.55rem 0.75rem 0.55rem 2.25rem;
  border: 1px solid #d6d3cb;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.9rem;
  color: #1c1917;
  outline: none;
  transition: border-color 0.15s;
}

.toolbar-search input:focus {
  border-color: #0b2545;
}

.toolbar-date select {
  padding: 0.55rem 0.75rem;
  border: 1px solid #d6d3cb;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.9rem;
  color: #1c1917;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s;
}

.toolbar-date select:focus {
  border-color: #0b2545;
}

.toolbar-count {
  font-size: 0.85rem;
  color: #78716c;
  white-space: nowrap;
  margin-left: auto;
}

/* Lista de notícias */
.noticias-lista {
  padding: 3rem 0 4rem;
}

.noticia-row {
  display: grid;
  grid-template-columns: 13rem 1fr auto;
  align-items: start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid #e5e3dc;
  transition: opacity 0.15s;
}

.noticia-row:first-child {
  border-top: 1px solid #e5e3dc;
}

.noticia-row-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.2rem;
}

.noticia-row-meta time {
  font-size: 0.8rem;
  font-weight: 600;
  color: #c5a059;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0b2545;
  background-color: #eef1f6;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  width: fit-content;
}

.noticia-row-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0b2545;
  line-height: 1.4;
  margin: 0 0 0.4rem;
}

.noticia-row-body p {
  font-size: 0.9rem;
  color: #57534e;
  line-height: 1.6;
  margin: 0;
}

.noticia-row-link {
  align-self: center;
  white-space: nowrap;
}

.noticias-vazia {
  text-align: center;
  padding: 3rem 0;
  color: #78716c;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .noticia-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.toolbar-date {
  display: flex;
  gap: 0.5rem;
}

.paginacao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 2.5rem 0 1rem;
}

.pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 0.4rem;
  border: 1px solid #e5e3dc;
  background: #fff;
  color: #0b2545;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.15s,
    border-color 0.15s;
  cursor: pointer;
}

.pag-btn:hover:not(.disabled):not(.pag-current) {
  background-color: #f7f6f3;
  border-color: #0b2545;
}

.pag-btn.pag-current {
  background-color: #0b2545;
  border-color: #0b2545;
  color: #fff;
  cursor: default;
}

.pag-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.pag-ellipsis {
  color: #78716c;
  font-size: 0.875rem;
  padding: 0 0.25rem;
  line-height: 2.25rem;
}

/* ==========================================================

   ESTILOS DA PÁGINA DE CONTRIBUTOS (CENTRADO E RESPONSIVO)

   ========================================================== */

@media (min-width: 768px) {
  .content-card,
  .article-card {
    padding: 3rem;
  }
}

@media (min-width: 768px) {
  .page-title,
  .article-card h1,
  .article-card h1.page-title {
    font-size: 2.25rem !important;
  }
}

.page-subtitle,
.article-subtitle {
  font-size: 1.125rem;

  color: #b89543;

  font-weight: 600;

  letter-spacing: 0.025em;

  margin: 0 auto 1.75rem auto;

  text-align: left !important;

  max-width: 60ch;
}

/* Texto Introdutório Centrado */

.article-intro {
  text-align: left;

  color: #334155;

  line-height: 1.625;

  font-size: 1rem;

  margin-bottom: 2.5rem;
}

.intro-section p,
.article-intro p {
  color: #334155;

  line-height: 1.625;

  font-size: 1rem;

  margin-top: 0;

  margin-bottom: 1rem;

  margin-left: auto;

  margin-right: auto;

  max-width: 90ch;
}

/* Divisória */

.section-divider,
.article-divider {
  margin: 2.5rem 0;

  border: 0;

  border-top: 1px solid #e2e8f0;
}

/* ==========================================================

   FORMULÁRIO DE CONTRIBUTOS

   ========================================================== */

.form-section-title,
.contributo-form-section h2 {
  font-size: 1.5rem;

  font-weight: 700;

  color: #0c2340;

  margin-top: 0;

  margin-bottom: 0.25rem;
}

.form-instruction {
  font-size: 0.875rem;

  color: #64748b;

  margin-bottom: 1.5rem;
}

.required {
  color: #dc2626;

  font-weight: bold;
}

.contributo-form {
  max-width: 850px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-color);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);

    gap: 1.5rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--label-color);
}
.required {
  color: var(--required-color);
  font-weight: bold;
}

.form-help-text {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: normal;
}

/* Inputs, Selects e Textareas */
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background-color: var(--bg-input);
  font-size: 0.95rem;
  color: var(--text-color);
  box-sizing: border-box;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 41, 66, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Input File Customizado */
input[type="file"].form-control {
  padding: 0.5rem;
  background-color: var(--bg-input);
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  padding: 0.4rem 0.8rem;
  margin-right: 0.8rem;
  background-color: #e2e8f0;
  border: none;
  border-radius: 6px;
  color: var(--label-color);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

input[type="file"]::file-selector-button:hover {
  background-color: #cbd5e1;
}

/* Cartões de Autorização / Radio Buttons */
.fieldset-group {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  background-color: #f8fafc;
}

.fieldset-legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--label-color);
  margin-bottom: 0.75rem;
}

.radio-options {
  display: flex;
  gap: 1rem;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  user-select: none;
}

.radio-label:hover {
  border-color: var(--border-focus);
}

.radio-label input[type="radio"] {
  accent-color: var(--primary-color);
  width: 16px;
  height: 16px;
}

/* Estado quando o Radio está Selecionado */
.radio-label:has(input[type="radio"]:checked) {
  border-color: var(--primary-color);
  background-color: #f0f4f8;
  color: var(--primary-color);
  font-weight: 600;
}

/* Botão de Envio */
.form-actions {
  margin-top: 2rem;
}

.btn-submit {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 41, 66, 0.2);
}

/* Responsividade Mobile */
@media (max-width: 640px) {
  .contributo-form {
    padding: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Layout Principal */
.main-container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: #faf8f5;
  min-height: 80vh;
}

/* Cartão de Conteúdo: Max-width 1140px */
.content-card {
  width: 100%;
  max-width: 1190px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
  .content-card {
    padding: 3rem;
  }
}

.page-header {
  text-align: left; /* Mudado de center para left */
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.page-title {
  font-family: inherit !important;
  font-size: 1.875rem;
  font-weight: 700;
  color: #0c2340;
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-align: left;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 2.25rem;
  }
}

.page-subtitle {
  font-size: 1.125rem;
  color: #b89543;
  font-weight: 600;
  letter-spacing: 0.025em;
  margin: 0; /* Removido o 'auto' para não centrar o bloco */
  text-align: left; /* Mudado de center para left */
  max-width: 60ch;
}

/* Secção Introdutória */
.intro-section {
  color: #334155;
  line-height: 1.625;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.intro-section p {
  margin-top: 0;
  margin-bottom: 1rem;
  margin-left: 0; /* Alterado de 'auto' para '0' para colar à esquerda */
  margin-right: auto;
  max-width: 90ch;
}

/* Grids e Flexbox */
.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section-mb {
  margin-bottom: 3rem;
}

.section-divider {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  border: 0;
  border-top: 1px solid #e2e8f0;
}

/* Cartões Informativos */
.info-card {
  padding: 1.5rem;
  background-color: #f8fafc;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  text-align: left;
}

.border-navy {
  border-left: 4px solid #0c2340;
}

.border-gold {
  border-left: 4px solid #b89543;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c2340;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.625;
  margin: 0;
}

/* Princípios Orientadores */
.grid-principios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-principios {
    grid-template-columns: repeat(4, 1fr);
  }
}

.principio-box {
  padding: 1rem;
  background-color: #f8fafc;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.principio-text {
  font-weight: 500;
  font-size: 0.75rem;
  color: #0c2340;
}

@media (min-width: 768px) {
  .principio-text {
    font-size: 0.875rem;
  }
}

/* Entidade Promotora */
.promotora-box {
  padding: 1.5rem;
  border: 1px solid rgba(184, 149, 67, 0.3);
  background-color: rgba(184, 149, 67, 0.05);
  border-radius: 0.75rem;
  text-align: left;
}

/* Governação */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0c2340;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.coordenacao-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.75rem;
  background-color: #0c2340;
  color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.15);
  text-align: center;
}

@media (min-width: 640px) {
  .coordenacao-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
}

.coordenador-foto-wrapper {
  flex-shrink: 0;
}

.coordenador-foto {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #b89543;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.coordenador-info {
  flex-grow: 1;
}

.badge-gold {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b89543;
}

.coordenador-nome {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.coordenador-cargo {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-top: 0.5rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.btn-bio-gold {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #b89543;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.btn-bio-gold:hover {
  color: #ffffff;
}

.subsection-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0c2340;
  margin-top: 0;
  margin-bottom: 0.25rem;
  text-align: center;
}

.subsection-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Cartões do Conselho Geral (Grelha) */
.grid-membros {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-membros {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-membros {
    grid-template-columns: repeat(3, 1fr);
  }
}

.membro-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.membro-card:hover {
  border-color: #b89543;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.membro-foto-wrapper {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}

.membro-foto {
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  transition: border-color 0.2s ease;
}

.membro-card:hover .membro-foto {
  border-color: #b89543;
}

.foto-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #0c2340;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  border: 2px solid #e2e8f0;
}

.membro-detalhes {
  flex-grow: 1;
}

.membro-nome {
  font-weight: 700;
  color: #0c2340;
  margin: 0;
  font-size: 0.95rem;
}

.membro-card:hover .membro-nome {
  color: #b89543;
}

.membro-cargo {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modal Biográfico */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(12, 35, 64, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 32rem;
  width: 100%;
  padding: 1.5rem;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .modal-container {
    padding: 2rem;
  }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #94a3b8;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #0c2340;
}

.modal-header-flex {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.modal-foto-wrapper {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
}

.modal-foto {
  width: 75px;
  height: 75px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 2px solid #b89543;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0c2340;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b89543;
  margin-top: 0;
  margin-bottom: 1rem;
}

.modal-divider {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid #e2e8f0;
}

.modal-body {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.625;
  margin: 0;
}

/* Regras de Responsividade Extra para Mobile */
@media (max-width: 640px) {
  .main-container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .content-card {
    padding: 1.25rem;
  }

  .modal-header-flex {
    flex-direction: column;
    text-align: center;
  }
}

.documentos-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.documentos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.documentos-header h1 {
  font-size: 1.8rem;
  color: #0c2340;
  margin-bottom: 0.25rem;
}
.documentos-header p {
  color: #64748b;
  margin: 0;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-input {
  padding: 0.5rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  width: 220px;
}

.btn-search {
  padding: 0.5rem 0.8rem;
  background-color: #0c2340;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
}

.btn-clear {
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: underline;
}

/* Grelha de 3 Colunas Obrigatória */
.grid-documentos-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .grid-documentos-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-documentos-3col {
    grid-template-columns: 1fr;
  }
}

/* Cartão do Documento */
.doc-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.doc-card:hover {
  border-color: #b89543;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.doc-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: #b89543;
}

.doc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0c2340;
  margin: 0.4rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doc-resumo-truncated {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.btn-ver-mais {
  background: none;
  border: none;
  color: #b89543;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 1rem;
}

/* Botões com ícones e cores diferentes */
.doc-card-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.8rem;
  margin-top: auto;
}

.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-decoration: none !important;
  width: 100%;
  justify-content: center;
}

.btn-download {
  background-color: #0c2340;
  color: #ffffff !important;
}

.btn-download:hover {
  background-color: #b89543;
}

.btn-external {
  background-color: #f1f5f9;
  color: #0c2340 !important;
  border: 1px solid #cbd5e1;
}

.btn-external:hover {
  background-color: #e2e8f0;
}

/* Paginação */
.pagination-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination-item {
  padding: 0.4rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  text-decoration: none;
  color: #0c2340;
  font-size: 0.9rem;
}

.pagination-item.active {
  background-color: #0c2340;
  color: #ffffff;
  border-color: #0c2340;
}

/* Modal Pop-up */
.doc-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.doc-modal.active {
  display: flex;
}

.doc-modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.doc-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
}

.footer-partners .partners-img {
  height: 100px !important; /* Estava a 40px, reduz para 30px ou menos */
  width: auto !important;
  max-width: 150px !important; /* Estava a 140px, reduz para 100px */
  object-fit: contain !important;
  display: block;
}
/* ==========================================================
   PÁGINAS "DEFESA E SOCIEDADE" E "CONTACTOS"
   ========================================================== */

.page-container {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.badge-tema {
  display: inline-block;
  background-color: #fef3c7;
  color: #b89543;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-header h1 {
  font-size: 2.2rem;
  color: #0c2340;
  margin-bottom: 0.5rem;
}

.section-header .subtitulo {
  font-size: 1.1rem;
  color: #64748b;
}

.content-card h2 {
  color: #0c2340;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.content-card p {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.perguntas-section {
  margin-bottom: 3rem;
}

.perguntas-section h2 {
  color: #0c2340;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.grid-perguntas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .grid-perguntas {
    grid-template-columns: 1fr;
  }
}

.pergunta-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #b89543;
  border-radius: 0.375rem;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
}

.pergunta-card .num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #b89543;
}

.pergunta-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.5;
}

.sintese-box {
  background-color: #0c2340;
  color: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.sintese-box blockquote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.contactos-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 2rem;
}

@media (max-width: 850px) {
  .contactos-grid {
    grid-template-columns: 1fr;
  }
}

.info-card,
.form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 2rem;
}
.info-card {
  align-self: start;
}
.info-card h2,
.form-card h2 {
  color: #0c2340;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.info-item {
  margin-bottom: 1.2rem;
}

.info-item strong {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
}

.info-item p,
.info-item a {
  font-size: 0.95rem;
  color: #0c2340;
  font-weight: 600;
  margin-top: 0.2rem;
  text-decoration: none;
}

.info-item a:hover {
  color: #b89543;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  font-size: 0.9rem;
}

.checkbox-group {
  display: flex;
  flex-direction: row; /* Garante que ficam um ao lado do outro */
  align-items: center; /* Alinha ambos exatamente ao centro em relação à altura */
  gap: 0.6rem;
}

/* Estilo para a caixinha (input) */
.checkbox-group input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0; /* Sem margens para não estragar o alinhamento central */
  flex-shrink: 0; /* Impede a caixa de encolher se o texto for grande */
  cursor: pointer;
  accent-color: #0c2340;
}

/* Estilo para o texto do consentimento */
.checkbox-group label {
  display: block; /* Reseta estilos anteriores */
  font-size: 0.825rem;
  color: #64748b;
  font-weight: normal;
  line-height: 1.4;
  margin-bottom: 0; /* Remove a margem padrão das labels do form-group */
  cursor: pointer;
}

.btn-primary {
  background-color: #0c2340;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.btn-primary:hover {
  background-color: #b89543;
}

.alert {
  padding: 0.8rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
/* Layout Principal do Acervo */
.acervo-layout-container {
  display: flex;
  gap: 32px;
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Sidebar Lateral */
.acervo-sidebar {
  width: 280px;
  flex-shrink: 0;
}
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #4a5568;
  margin-bottom: 16px;
}
.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: #2d3748;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}
.sidebar-item:hover,
.sidebar-item.active {
  background-color: #0d2a4a;
  color: #ffffff;
}
.sidebar-card-info {
  margin-top: 30px;
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
  font-size: 0.85rem;
  color: #718096;
}
.sidebar-card-info strong {
  display: block;
  color: #2d3748;
  margin: 6px 0 4px;
}

/* Conteúdo Principal */
.acervo-main-content {
  flex: 1;
}
.acervo-header h1 {
  font-size: 2.2rem;
  color: #0d2a4a;
  margin-bottom: 8px;
}
.acervo-header p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.5;
}

/* Banner de Destaque */
.acervo-banner-info {
  display: flex;
  gap: 16px;
  background-color: #edf2f7;
  border-left: 4px solid #2c5282;
  padding: 20px;
  border-radius: 8px;
  margin: 24px 0;
}
.banner-text h3 {
  font-size: 0.85rem;
  color: #2c5282;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.banner-text p {
  font-size: 0.9rem;
  color: #4a5568;
  margin: 0;
}

/* Toolbar de Ações */
.acervo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.toolbar-actions {
  display: flex;
  gap: 12px;
}
/* Contentor da barra de pesquisa */
.search-box-acervo {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 2px 6px 2px 14px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  max-width: 320px;
  width: 100%;
}

/* Efeito ao focar no input */
.search-box-acervo:focus-within {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.search-box-acervo input {
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 0;
  font-size: 14px;
  color: #1e293b;
  width: 100%;
}

/* Botão de Bússola */
.search-btn {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: #64748b;
  border-radius: 6px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.search-btn:hover {
  background-color: #f1f5f9;
  color: #1e3a8a;
}

/* Pequeno efeito de rotação na bússola ao passar o rato */
.search-btn:hover svg {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.acervo-select {
  padding: 8px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  background: #fff;
  font-size: 0.9rem;
}

/* Grid e Cartões */
.acervo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.acervo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.acervo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}
.acervo-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.doc-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-blue {
  background-color: #ebf8ff;
  color: #3182ce;
}
.theme-green {
  background-color: #f0fff4;
  color: #38a169;
}
.theme-purple {
  background-color: #faf5ff;
  color: #805ad5;
}

.btn-bookmark {
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
}

.card-doc-title {
  font-size: 1.05rem;
  color: #1a202c;
  margin: 14px 0 6px;
  line-height: 1.3;
}
.card-author {
  font-size: 0.85rem;
  color: #4a5568;
  font-weight: 600;
  margin-bottom: 8px;
}
.card-date-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #a0aec0;
  margin-bottom: 12px;
}
.card-text-summary {
  font-size: 0.88rem;
  color: #718096;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Botões dos Cartões */
.btn-acervo-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 16px;
  transition: opacity 0.2s;
}
.btn-acervo-action.theme-blue {
  background-color: #3182ce;
  color: #fff;
}
.btn-acervo-action.theme-green {
  background-color: #38a169;
  color: #fff;
}
.btn-acervo-action.theme-purple {
  background-color: #805ad5;
  color: #fff;
}
.btn-acervo-action:hover {
  opacity: 0.9;
}

/* Nota do Rodapé */
.acervo-footer-note {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  padding: 16px;
  background-color: #f7fafc;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #718096;
}

@media (max-width: 900px) {
  .acervo-layout-container {
    flex-direction: column;
  }
  .acervo-sidebar {
    width: 100%;
  }
}
/* Container Principal da Paginação */
.acervo-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0 20px 0;
  padding: 10px 0;
}

/* Estilo Base dos Botões */
.acervo-pagination .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #4a5568;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

/* Hover nos Botões Navais e Numéricos */
.acervo-pagination .page-btn:hover {
  background-color: #f7fafc;
  border-color: #cbd5e0;
  color: #0d2a4a;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

/* Página Ativa (Selecionada) */
.acervo-pagination .page-btn.active {
  background-color: #0d2a4a;
  border-color: #0d2a4a;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(13, 42, 74, 0.25);
}

.acervo-pagination .page-btn.active:hover {
  transform: none;
}

/* Animação ao clicar (Active effect) */
.acervo-pagination .page-btn:active {
  transform: translateY(0);
}
.page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Cartão Branco Principal */
.main-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 48px 40px;
  margin-bottom: 40px;
}

.section-header-inner {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #edf2f7;
}

.main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0d2a4a;
  margin: 0 0 8px 0;
}

.subtitulo {
  font-size: 1.05rem;
  color: #4a5568;
  margin: 0;
}

.card-content-text p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 16px auto;
}

/* Perguntas Orientadoras */
.section-subtitle {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0d2a4a;
  margin-bottom: 32px;
}

.grid-perguntas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pergunta-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #c59b27;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pergunta-card .num {
  font-weight: 800;
  font-size: 1.1rem;
  color: #c59b27;
}

.pergunta-card p {
  margin: 0;
  color: #2d3748;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Amarelo Queimado / Laranja (Publicações OCS) */
.theme-amber {
  color: #d97706;
}
.doc-icon-box.theme-amber {
  background-color: #fef3c7;
  color: #d97706;
}
.btn-acervo-action.theme-amber {
  background-color: #fef3c7;
  color: #d97706;
}
.btn-acervo-action.theme-amber:hover {
  background-color: #fde68a;
}

/* Azul Esverdeado (Documentos de Trabalho) */
.theme-teal {
  color: #0d9488;
}
.doc-icon-box.theme-teal {
  background-color: #ccfbf1;
  color: #0d9488;
}
.btn-acervo-action.theme-teal {
  background-color: #ccfbf1;
  color: #0d9488;
}
.btn-acervo-action.theme-teal:hover {
  background-color: #99f6e4;
}

/* Rosa Velho / Vermelho Suave (Documentos Síntese) */
.theme-rose {
  color: #e11d48;
}
.doc-icon-box.theme-rose {
  background-color: #ffe4e6;
  color: #e11d48;
}
.btn-acervo-action.theme-rose {
  background-color: #ffe4e6;
  color: #e11d48;
}
.btn-acervo-action.theme-rose:hover {
  background-color: #fecdd3;
}

.info-card {
  padding: 1.5rem;
  background-color: #f8fafc;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  text-align: left;
}

.border-navy {
  border-left: 4px solid #0c2340;
}

.border-gold {
  border-left: 4px solid #b89543;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c2340;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.625;
  margin: 0;
}

.white {
  color: white !important;
}

.link-destaque {
  color: #b89543;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-underline-offset 0.2s ease;
}

.link-destaque:hover {
  color: #0c2340;
  text-underline-offset: 6px; /* Efeito do sublinhado a afastar ligeiramente */
}
.btn_o-ponto {
  /* 1. Centraliza horizontalmente e dá margem no topo */
  margin: 1.5rem auto 0;
  width: fit-content; /* Faz o botão ajustar-se ao tamanho do texto */
  gap: 5px;
  line-height: 5px;
  /* 2. Folga interna confortável (Cima/Baixo: 12px | Esquerda/Direita: 28px) */
  padding: 3px 10px;
  font-size: 14px;
  /* 3. Detalhes de acabamento visual */
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn_ds {
  margin: 1.5rem auto 0;
  width: fit-content; /* Faz o botão ajustar-se ao tamanho do texto */
  gap: 5px;
  line-height: 5px;
  /* 2. Folga interna confortável (Cima/Baixo: 12px | Esquerda/Direita: 28px) */
  padding: 3px 10px;
  font-size: 14px;
  /* 3. Detalhes de acabamento visual */
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
/* Acrescentar ao fim de www/assets/css/styles.css. */
.event-section .event-box {
  width: 80%;
  max-width: 1080px;
}

.event-box .event-content {
  min-width: 0;
}

.event-box .event-content h2 {
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  line-height: 1.25;
  white-space: nowrap;
}

.event-content .event-date {
  display: block;
  margin-top: 0.4rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.event-content .event-date + p {
  margin-top: 0.65rem;
}

/* Ocupa a terceira coluna da caixa e usa o mesmo efeito de .link-arrow
   aplicado em "Ver todas as notícias". */
.event-box .event-cta {
  align-self: center;
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .event-section .event-box {
    width: 100%;
  }

  .event-box .event-content h2 {
    white-space: normal;
  }

  .event-box .event-cta {
    justify-self: start;
  }
}

/* Acrescentar ao final de styles.css do FRONTEND (não à administração). */
/* Apenas imagens dentro do corpo; não modifica a imagem de destaque. */
.article-body img.news-inline-image {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
.article-body figure { max-width: 100%; margin: 1.5rem 0; }
.article-body figcaption { color: var(--muted, #7a7a7a); font-size: .85em; line-height: 1.5; margin-top: .5rem; }
.article-body table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }
.article-body td, .article-body th { border: 1px solid var(--border, #dedbd4); padding: .6rem; }
.article-body th { background: var(--off-white, #faf9f7); color: var(--blue, #17243b); }
.article-body pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }

/* Ligações dentro do corpo da notícia */
.article-body a.news-text-link {
    color: var(--blue, #17243b);
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    text-decoration-line: underline;
    text-decoration-color: var(--gold, #a88745);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    text-decoration-skip-ink: auto;
    overflow-wrap: anywhere;
    transition: background-color 0.2s ease;
}

.article-body a.news-text-link:hover {
    color: var(--blue, #17243b);
    background-color: rgba(168, 135, 69, 0.12);
    text-decoration-thickness: 2px;
}

.article-body a.news-text-link:focus-visible {
    outline: 2px solid var(--blue, #17243b);
    outline-offset: 3px;
    border-radius: 2px;
}