:root {
  /* Paleta principal (modo claro) */
  --color-primary: #204478;
  --color-primary-dark: #1A3761;
  --color-primary-light: #2E5CA1;

  --color-accent: #67854F;
  --color-accent-dark: #556F41;
  --color-accent-light: #7FA765;
  --color-accent-500: #67854F;
  --color-accent-600: #587244;
  --color-accent-700: #475B36;

  /* CTA shadow helper */
  --shadow-accent: 0 2px 8px rgba(103, 133, 79, 0.25);

  --color-support: #5E8DD3;
  --color-support-dark: #4C79B8;
  --color-support-light: #7AA3E0;

  /* Neutros / estrutura */
  --color-bg: #FFFFFF;
  --color-surface: #F4F6F9;
  --color-surface-alt: #EEF1F6;
  --color-border: #E2E6EE;
  --color-text: #1B1F27;
  --color-text-soft: #3A3F47;
  --color-muted: #6F7785;

  /* Interações */
  --color-hover: #E9EDF5;
  --color-focus: #5E8DD3;
  --color-active: #1A3761;
  --color-selected: #EEF1F6;
  --color-disabled: #C9CED8;

  /* Semânticos */
  --color-action-primary: var(--color-primary);
  --color-action-danger: var(--color-error);
  --color-action-success: var(--color-accent);
  --color-action-warning: var(--color-warning);

  --color-primary-overlay: color-mix(in srgb, var(--color-primary) 85%, transparent);

  --color-table-hover: var(--color-support-light);
  --color-table-zebra: var(--color-surface-alt);

  --color-input-border: var(--color-border);
  --color-input-focus: var(--color-focus);

  /* Superfícies empilhadas */
  --surface-1: #FFFFFF;
  --surface-2: #F8FAFC;
  --surface-3: #F1F5F9;

  /* Elevação */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);

  /* Hero adjustments */
  --hero-height: 520px;
  --hero-padding-top: 13rem;
  --hero-padding-bottom: 0;

  /* Espaçamento */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;

  /* Raios */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Status */
  --color-success: #3A9A5F;
  --color-warning: #D9A441;
  --color-error: #D05A5A;
  --color-info: #4C8ED9;
}

/* Design system helpers */
.hero-overlay-box {
    background: var(--hero-box-bg, var(--color-primary-overlay));
}

.news-media-16x9 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
}

.news-featured-summary {
    margin-bottom: var(--space-xs);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
}

.news-badge {
    font-size: 1rem;
}

.news-card-summary {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.news-filters {
    margin-bottom: var(--space-lg);
    row-gap: var(--space-sm);
}

.news-filter-search {
    margin-top: var(--space-sm);
}

@media (min-width: 992px) {
    .news-filters {
        align-items: center;
    }
    .news-filter-search {
        margin-top: 0;
    }
}

/* Accent CTA button (token-based) */
.btn-accent-token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    background: var(--color-accent-500);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-accent);
    gap: var(--space-xs);
    line-height: 1.2;
    text-decoration: none;
}

/* Primary CTA button helper (blue) */
.btn-primary-token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-md);
    gap: 0.5rem;
    line-height: 1.5;
    transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
    text-decoration: none;
}

.btn-primary-token:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 18px rgba(32, 68, 120, 0.18);
    transform: translateY(-1px);
}

.btn-primary-token:active {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(0);
}

.btn-primary-token:focus-visible {
    outline: 2px solid var(--color-support-light);
    outline-offset: 2px;
}

.news-filter-search .btn-primary-token {
    height: calc(1.5em + 0.75rem + 2px);
}

.btn-primary-token svg {
    width: 16px;
    height: 16px;
}

.btn-accent-token:hover {
    background: var(--color-accent-600);
}

.btn-accent-token:active {
    background: var(--color-accent-700);
}

.btn-accent-token:focus-visible {
    outline: 2px solid var(--color-support-light);
    outline-offset: 2px;
}

.dark {
  --color-bg: #0F141A;
  --color-surface: #171D25;
  --color-surface-alt: #1F2630;
  --color-border: #2B3442;

  --color-text: #E6EAF0;
  --color-text-soft: #B6C0CF;
  --color-muted: #8892A2;

  --color-primary: #3C6DB2;
  --color-primary-dark: #2C558F;
  --color-primary-light: #4C82CF;

  --color-accent: #7FA765;
  --color-accent-dark: #5F804A;
  --color-accent-light: #93BD7A;

  --color-support: #6EA3F0;
  --color-support-dark: #5687C5;
  --color-support-light: #8AB8F4;

  --color-hover: #1F2630;
  --color-active: #2C558F;
  --color-selected: #1F2630;
  --color-disabled: #4A5566;

  --surface-1: #0B0F1A;
  --surface-2: #111827;
  --surface-3: #1F2937;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

body,
p,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-support);
  text-decoration: underline;
}

.btn-primary {
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary-dark);
  --bs-btn-hover-border-color: var(--color-primary-dark);
  --bs-btn-active-bg: var(--color-primary);
  --bs-btn-active-border-color: var(--color-primary-dark);
  color: #ffffff;
}

.btn-login-header,
.btn-accent {
  background-color: var(--color-accent) !important;
  color: #ffffff !important;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border-color: var(--color-accent);
}

.btn-search {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-index .form-control,
.news-index .form-select {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
  min-height: 40px;
  border-radius: 6px;
}

.btn-search:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(22, 58, 99, 0.18);
}

.btn-search:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(22, 58, 99, 0.2);
}

.btn-login-header:hover,
.btn-accent:hover {
  background-color: #248028 !important;
  border-color: #248028;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(36, 128, 40, 0.3);
}

.btn-login-header:active,
.btn-accent:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(36, 128, 40, 0.2);
}

.btn-outline-primary {
  color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #ffffff !important;
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

.btn-outline-primary:active,
.btn-outline-primary.active {
  color: #ffffff !important;
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
}

.badge.bg-warning {
  background-color: var(--color-accent) !important;
}

.badge-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.badge-accent {
  background-color: var(--color-accent);
  color: #ffffff;
}

.badge-support {
  background-color: var(--color-support);
  color: #ffffff;
}

.portal-brand {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.portal-brand-entity {
  color: #ffffff;
}

.portal-brand-pro {
  color: var(--color-accent);
}

.portal-brand-sep,
.portal-brand-org {
  color: rgba(255, 255, 255, 0.9);
}

.portal-footer-brand {
  margin-bottom: 0.5rem;
}

.footer-logo {
  max-height: 48px;
  max-width: 256px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: inline-block;
}

.portal-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(420px, 70vw);
  transition: opacity 0.3s ease;
}

.navbar-brand {
  position: relative;
  display: block;
}

/* Header inicialmente branco com transparência */
header.site-header {
  background: var(--color-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.9s ease, opacity 0.9s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

header.site-header.bg-dark {
  background: var(--color-bg) !important;
}

/* Centralizar logo e menu verticalmente */
header.site-header .navbar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

header.site-header .navbar-brand {
  margin: 0;
  display: flex;
  align-items: center;
}

header.site-header .navbar-nav {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 1.25rem;
}

header.site-header .navbar-nav .nav-item:last-child {
  margin-left: auto;
}

/* Remover espaçamentos inconsistentes do Bootstrap */
header.site-header .container-fluid {
  padding: 0;
}

/* Ao rolar, header desaparece (esconde espaço) */
header.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Texto do menu escuro no header branco */
header.site-header .nav-link {
  color: var(--color-primary) !important;
  transition: all 0.3s ease;
}

header.site-header .nav-link.active {
  color: var(--color-accent) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--color-accent);
}

header.site-header .nav-link:hover {
  color: var(--color-primary) !important;
  font-weight: 500;
}

header.site-header .navbar-toggler {
  color: var(--color-primary) !important;
}

@media (max-width: 991.98px) {
  /* Botão do menu (hambúrguer) apenas no mobile */
  header.site-header .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  header.site-header .navbar-toggler:focus,
  header.site-header .navbar-toggler:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12), 0 0 0 2px rgba(33, 37, 41, 0.05);
    transform: translateY(-1px);
  }

  header.site-header .navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(55, 134, 255, 0.2);
  }

  header.site-header .navbar-toggler ion-icon {
    font-size: 24px;
  }

  /* Offcanvas do header: fundo branco padrão */
  header.site-header .offcanvas {
    background-color: rgba(255, 255, 255, 1);
    height: 100%;
  }

  header.site-header .offcanvas .offcanvas-body {
    background-color: rgba(255, 255, 255, 0.95);
    min-height: 100%;
    padding-bottom: 14rem;
  }

  /* Empilhar menu no offcanvas (mobile) */
  header.site-header .offcanvas .portal-header-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    text-align: left;
    gap: 0.35rem !important;
  }

  header.site-header .offcanvas .portal-header-nav .nav-item {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  header.site-header .offcanvas .portal-header-nav .nav-item + .nav-item {
    margin-left: 0;
    margin-top: 0.35rem;
  }

  /* Botão de login no topo à direita, mantendo links à esquerda */
  header.site-header .offcanvas .portal-header-nav .portal-login-btn {
    align-self: flex-end;
    margin-top: 0.5rem;
    margin-right: 0;
  }
}

/* Footer com elementos brancos e hover verde */
footer.bg-dark {
  background-color: var(--color-primary) !important;
}

footer.bg-dark .footer-logo {
  filter: brightness(0) invert(1);
}

footer.bg-dark a {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

footer.bg-dark a:hover {
  color: #2CA02CFF !important;
}

footer.bg-dark p {
  color: #ffffff !important;
}

footer.bg-dark .nav-link {
  color: #ffffff !important;
  transition: color 0.3s ease;
}

footer.bg-dark .nav-link:hover {
  color: var(--color-accent) !important;
}

footer.bg-dark .border-top {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.footer-copy {
  font-size: 0.9rem;
  color: #ffffff !important;
}

/* Botão Login no Header */


/* Transição suave ao carregar página */
.page-transition {
  animation: fadeInPage 0.4s ease-in-out;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero – animação de entrada e background dinâmico */
.hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: soft-light;
  background: radial-gradient(circle at 20% 30%, rgba(44, 160, 44, 0.2), transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(22, 58, 99, 0.18), transparent 35%),
              radial-gradient(circle at 60% 75%, rgba(31, 143, 212, 0.15), transparent 40%);
  animation: heroGlow 10s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-section::after {
  filter: blur(40px);
  opacity: 0.3;
  animation-duration: 14s;
}

.hero-section {
  position: relative;
  min-height: var(--hero-height);
  padding-top: var(--hero-padding-top);
  padding-bottom: var(--hero-padding-bottom);
}

.hero-section > .container {
  min-height: var(--hero-height);
  padding-top: 2.5rem;
}

.hero-section .jarallax-img {
  position: absolute;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  transform: translate3d(0, 0, 0) scale(1.06) !important;
  transform-origin: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

/* Navegação principal do header do portal */
.portal-header-nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1.45rem;
  justify-content: flex-end !important;
  padding-left: 0;
}

.portal-header-nav .nav-item {
  flex: 0 0 auto;
}

.portal-header-nav .nav-link {
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  padding: 0;
  margin: 0;
}

/* Sobrescrever estilos genéricos da navbar para o menu principal */
header.site-header .navbar-nav.portal-header-nav {
  gap: 0 !important;
  flex-grow: 0 !important;
  justify-content: flex-end !important;
}

header.site-header .navbar-nav.portal-header-nav .nav-item:last-child {
  margin-left: 0 !important;
}

.hero-section .hero-overlay-wrapper,
.hero-section .hero-overlay-box,
.hero-section h2,
.hero-section p {
  position: relative;
  z-index: 1;
}

.hero-section .hero-overlay-wrapper {
  animation: heroContentRise 0.8s ease-out forwards;
  transform: translateY(12px);
  opacity: 0;
}

.hero-section .hero-overlay-box {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-section .hero-overlay-box:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

@keyframes heroContentRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

@keyframes heroGlow {
  from {
    transform: translate3d(-6%, -4%, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 3%, 0) scale(1.05);
  }
}

/* Seção pós-hero – texto à esquerda, imagem à direita */
.union-advocacy-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.union-advocacy-section .union-copy-wrap {
  position: relative;
  z-index: 1;
  background: transparent;
  color: var(--color-text);
  animation: unionContentRise 1.2s ease forwards;
  opacity: 0;
}

.union-advocacy-section h3 {
  color: var(--color-primary);
  font-size: clamp(1.8rem, 1.6rem + 0.5vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 2rem !important;
}

.union-advocacy-section h3.mb-3 {
  margin-bottom: 2rem !important;
}

.union-advocacy-section .union-image-wrap {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 100%;
  animation: unionImageFloat 1.2s ease forwards;
  opacity: 0;
}

.union-advocacy-section .union-image-wrap img {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border-radius: 12px;
}

.union-advocacy-section p {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 1.5rem !important;
}

.union-advocacy-section p:last-child {
  margin-bottom: 0 !important;
}

.union-advocacy-section p.mb-3 {
  margin-bottom: 1.5rem !important;
}

.union-advocacy-section p.mb-0 {
  margin-bottom: 0 !important;
}

.union-advocacy-section .union-image-wrap:hover img {
  transform: translateY(-6px) scale(1.01);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.22);
}

@keyframes unionContentRise {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes unionImageFloat {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 992px) {
  .union-advocacy-section::before,
  .union-advocacy-section::after {
    inset: 10% 10% 10% 10%;
  }

  .union-advocacy-section .union-copy-wrap {
    padding: 2rem !important;
  }
}

@media (max-width: 768px) {
  .portal-logo {
    height: 42px;
    max-width: 62vw;
  }

  header.site-header .navbar {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding: 0.4rem 0;
  }

  /* Botão Login no Mobile */
  .btn-login-header {
    font-size: 12px;
    padding: 6px 12px;
    margin-top: 0.5rem;
  }

  /* Menu mobile com estado ativo */
  .offcanvas .nav-link.active {
    color: var(--color-accent) !important;
    font-weight: 600;
    border-left: 3px solid var(--color-accent);
    border-bottom: none;
    padding-left: 1rem !important;
  }

  .offcanvas .nav-link {
    color: var(--color-primary) !important;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 1rem !important;
  }

  .offcanvas .nav-link:hover {
    color: var(--color-primary) !important;
    border-left-color: var(--color-primary);
    font-weight: 500;
  }

  .lgpostImg {
    width: 100%;
    height: auto;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.card-title {
  color: var(--color-primary);
}

.card-meta {
  color: var(--color-muted);
}

/* Notícias – ajuste de tipografia nos cards (carrossel e grid) */
.news-index .featured-carousel .card h3,
.news-index .featured-carousel .card .h4 {
  font-size: 1.6rem;
  line-height: 1.4;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-index .featured-carousel .card p {
  font-size: 1rem;
  line-height: 1.6;
  line-clamp: 6;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
  max-height: 9.6em; /* 6 linhas x 1.6em */
}

.news-index .featured-carousel {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.news-index .featured-carousel .card {
  margin: 0;
  border: 0;
}

.news-index .card .card-title a,
.news-index .card .card-title {
  font-size: 1.05rem;
  line-height: 1.35;
}

.news-index .card p {
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: justify;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-overlay-wrapper {
  position: relative;
  z-index: 1;
}

.hero-overlay-box {
  position: relative;
  bottom: 0;
  left: 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}

.hero-overlay-box h2 {
  color: #fff;
  font-size: 2.75rem;
  line-height: 1.2;
}

.hero-overlay-box p {
  font-size: 1.15rem;
  line-height: 1.4;
}

.hero-video-full {
  position: absolute;
  inset: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.hero-video-full iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.news-media-16x9 {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-media-16x9-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
}

.news-media-16x9-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.news-index .featured-carousel .btn-outline-primary {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.1;
}
