.fen-navbar {
    background: linear-gradient(to bottom, rgba(0, 48, 87, 0.9) 0%, rgba(0, 48, 87, 0.4) 95%, rgba(0, 48, 87, 0.1) 100%);
    backdrop-filter: blur(4px);
}

main.noticias-y-multimedia{
    padding-top:120px
}

main.noticias-y-multimedia h1#title-section{
    text-align: center;
    color:#0d3253;
    font-size: 70px;
}

main.noticias-y-multimedia p#introduction-section{
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #073763;

}
.container-fluid.full-width.section{
  width: 100%;
  height: 40vh;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
      background-size: cover;
    background-position: center;
    position: relative;
}

.noticias-y-multimedia h2 {
    font-size: 60px;
    color: #0D3253;
}

.galeria-multimedia h5 {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}

/* Contenedor general */
.galeria-contenedor {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* Imagen */
.galeria-imagen {
  width: 100%;
  display: block;
}

/* Título superpuesto */
.galeria-titulo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  font-weight: 600;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  
    align-items: center;
}
.galerias-multimedia h3 {
    font-size: 3rem;
    font-weight: 700;
}

/* Efecto suave */
.galeria-contenedor:hover .galeria-titulo-overlay {
  background: rgba(0,0,0,0.6);
}

.galeria-contenedor.position-relative {
    max-height: 235px;
}

a.btn.btn-outline-primary.btn-sm.mt-auto.button-fenalce-style {
    margin: 0 auto;
}
/* Paleta (ajústala a tu brand) */
:root{
  --fen-azul:#0D3A5A;      /* panel */
  --fen-azul-osc:#082a42;  /* bordes/hover */
  --fen-texto:#ffffff;
  --fen-tag:#e98f8c;       /* badge rosado */
  --fen-pill:#0e567f;      /* botón */
  --fen-bullet1:#163f63;   /* bullets */
  --fen-bullet2:#f2c26a;
  --fen-bullet3:#163f63;
}

/* Contenedor split */
.fen-hero-split-wrap{ background:#fff; 
margin: 40px 0;}
.fen-hero-split{
  min-height: 520px;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr; /* imagen / panel */
}

.carousel-indicators [data-bs-target] {
    box-sizing: inherit!important;
  width: 20px!important;
height: 20px!important;}

.carousel-item h2.title {
    color: #fff;
}

.carousel-item a.btn.fen-pill {
    color: #fff;
    border: 1px solid;
    max-width: fit-content;
    border-radius: 30px;
}
/* Imagen */
.object-cover{ object-fit: cover; }
.split-media{ min-height: 520px; }

/* Panel derecho */
.split-copy{
  background: var(--fen-azul);
  color: var(--fen-texto);
  padding: clamp(24px, 4vw, 48px);
  position: relative;
  display:flex;
  flex-direction: column;
  justify-content: center;
}
.split-copy .eyebrow{
  font-weight: 800;
  margin: 0 0 8px;
  font-size: clamp(20px,2.6vw,28px);
}

h3.eyebrow{
   font-family: 'Montserrat', sans-serif !important;
   color: #fff;
   font-size: 20px!important;
     font-weight: 400!important;
}
.split-copy .title{
    font-family: 'Montserrat', sans-serif !important;
  margin: 0 0 16px;
  font-size: clamp(28px,4.6vw,36px);
  line-height: 1;
}
.split-copy .lead{
  opacity:.95;
  margin: 0 0 20px;
  max-width: 52ch;
  color: #fff;
}

/* Badge superior derecha */
.fen-tag{
  position:absolute;
  top: clamp(16px,2vw,24px);
  right: clamp(16px,2vw,24px);
  background: var(--fen-tag);
  color:#fff;
  padding:.45rem .9rem;
  border-radius:.35rem;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

/* Botón pill */
.fen-pill{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.65);
  border-radius: 999px;
  padding:.45rem 1rem;
  line-height:1;
}
.fen-pill:hover{ background: var(--fen-pill); border-color: var(--fen-pill); color:#fff; }

/* Indicadores (bullets) */
.fen-bullets{
  position: static;       /* abajo fuera del slide, como tu mockup */
  display:flex; gap:18px; justify-content:center; padding:16px 0 22px;
}
.fen-bullets [data-bs-target]{
  width:14px; height:14px; border-radius:50%; border:3px solid #fff; box-shadow:0 0 0 2px var(--fen-bullet1);
  background:#fff; opacity:1;
}

.carousel-indicators .active {
    opacity: 1;
    background: var(--fen-yellow);
    border: 1px solid var(--fen-yellow);}

/* Controles Bootstrap (dejamos los íconos default pero puedes tematizarlos) */
.carousel-control-prev, .carousel-control-next{
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

/* Responsivo */
@media (max-width: 991.98px){
  .fen-hero-split{ grid-template-columns: 1fr; }
  .split-media{ min-height: 320px; height: 50vh; }
  .split-copy{ min-height: 420px; }
}

/* --- GRID DE TARJETAS FENALCE --- */

.fen-card {
  position: relative;
}
.fen-card__body.d-flex.flex-column {
    text-align: left;
}

/* Tarjeta base */
.fen-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
box-shadow: 0 9px 21px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

/* Imagen */
.fen-card__img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  padding: 10px 10px 10px 10px;
    border-radius: 20px;
}

/* Contenido */
.fen-card__body {
  padding: 10px 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Meta (categoría + fecha) */
.fen-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  font-size: .85rem;
  font-weight: 600;
}
.fen-card__tag {
  padding: .2rem .6rem;
  border-radius: .3rem;
  font-size: .75rem;
  text-transform: uppercase;
}
.fen-card__date {
  opacity: .7;
}

/* Título */
.fen-card h5 {
  font-family: 'Montserrat', sans-serif ;
  font-size: 16px;
  padding: 0 10px;
  color: #073763;
  margin: .5rem 0 1rem;
  line-height: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;  /* 👈 número de líneas visibles */
  overflow: hidden;
  text-overflow: ellipsis;
}
.carousel-indicators [data-bs-target]{
    background-clip: inherit!important;}

h2.h4.mb-4.ediciones-anteriores-cerealista {
    font-size: 32px;
}
.bg-info{
   font-family: "Montserrat", sans-serif;
       text-transform: none;
       color: #fff;
}

div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: var(--fen-yellow)!important;
    border: 1px solid var(--fen-yellow)!important;
    box-sizing: border-box;
       font-family: 'Montserrat', sans-serif;
       font-weight: 700;
}

/* Featured (grande arriba a la izquierda) */
.fen-card--featured {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
  min-height: 380px;
  color: #fff;
  display: flex;
  align-items: flex-end;
}


.pf-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pf-pagination__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  width: 100%;
}

.pf-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #003152; /* azul oscuro */
  text-decoration: none;
  cursor: pointer;
}

.pf-pagination__btn.is-disabled {
  opacity: .4;
  pointer-events: none;
}

.pf-pagination__icon {
  font-size: 20px;
  line-height: 1;
  color: #003152;
}

.pf-pagination__track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #003152; /* fondo barra */
  overflow: hidden;
}

.pf-pagination__progress {
  height: 100%;
  border-radius: inherit;
  background: #f2b233; /* amarillo */
  width: 0;
  transition: width .3s ease;
}

.pf-pagination__label {
  font-size: 32px;
  font-weight: 700;
  color: #003152;
  min-width: 3ch;
  text-align: right;
}

section.fen-nota-rel.container.pb-5 .fen-card h5 {
    text-align: left;
    padding: 0;
}


.fen-card h5 {
    text-align: center;
}
.fen-card--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.7) 100%);
}
.fen-card__overlay {
  position: relative;
  z-index: 1;
  padding: 2rem;
}
.fen-card__overlay h3 {
  font-family: 'Bebas Kai', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0;
}
.fen-card__overlay h2 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: .3rem 0 1rem;
  line-height: 1.1;
}


.revista-hero__cover img {
  border-radius: .75rem;
}

.rev-card {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: .75rem;
  padding: .5rem;
  transition: transform .18s ease, box-shadow .18s ease;
  background: #fff;
}
.rev-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.rev-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.revista-grid .btn.btn-outline-primary.btn-sm {
  border-radius: 999px;
  padding: .35rem 1rem;
}

.container-fluid.suscripcion-boletines {
  background: var(--fen-azul);
  padding: 30px 90px;
}
 
h1.fen-nota__title {
   font-family: 'Montserrat', sans-serif;
   line-height: 1;
}

div#wpforms-29230{
  margin: 0;
      
}

.container-fluid.suscripcion-boletines p{
  color: #fff;
  text-align: center;
      font-size: 1.25rem;
}

.container-fluid.suscripcion-boletines h3{
  color: #fff;
  text-align: center;
  font-size: 36px;
}
label.wpforms-field-label-inline {
    color: #fff !important;
}
.container-fluid.suscripcion-boletines label.wpforms-field-label {
    color: #fff !important;
}
button#wpforms-submit-29230 {
    background-color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: var(--fen-azul);
}
input#wpforms-29230-field_2, input#wpforms-29230-field_1 {
    border-radius: 27px;
}

em#wpforms\[fields\]\[3\]\[\]-error{
  color:var(--fen-rose)
}

div.wpforms-container-full .wpforms-form label.wpforms-error:before, div.wpforms-container-full .wpforms-form em.wpforms-error:before{
  background-color: var(--fen-rose)!important;
}

span.wpforms-required-label{
  color:var(--fen-rose)!important
}
p.fen-nota__meta {
    background: #F3C26B;
    width: fit-content;
    padding: 10px 30px 10px 10px;
    border-radius: 0 30px 30px 0;
      color: #073763;
}

.container.fen-nota__inner {
    padding: 15px 0;
}

.site-main.single-noticia {
    margin: 50px 0;
}

section.fen-nota-rel.container.pb-5{
  background-color: #F8A46E;
  padding: 30px 10px;
  text-align: center;
}


 section.fen-nota-rel.container.pb-5 h2.h4.mb-4 {
    color: #ffff;
}

section.fen-nota-rel.container.pb-5 h5 {
    font-size: 20px;
}

.lista-de-videos h3{
  font-size: 3rem;
  font-weight: 700;
}

ul.list-group {
    height: 350px;
    overflow-y: scroll;
}

section.container.my-5.lista-de-videos .list-group a {
    color: var(--fen-azul)
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding: 40px 20px;
}

.lightbox-content {
  background: #fff;
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 8px;
}

.lightbox-close { 
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

