.noticia-hero {
    --noticia-hero-image: none;
    position: relative;
    min-height: clamp(18rem, 42vw, 28rem);
    display: flex;
    align-items: flex-end;
    padding: 6.5rem 0 2.75rem;
    overflow: hidden;
    color: #fff;
}

.noticia-hero__bg {
    position: absolute;
    inset: -15%;
    background-image: var(--noticia-hero-image);
    background-size: cover;
    background-position: center;
    filter: blur(28px) saturate(1.15);
    transform: translate3d(0, 0, 0) scale(1.14);
    backface-visibility: hidden;
    z-index: 0;
}

.noticia-hero:not([style*="--noticia-hero-image"]) .noticia-hero__bg {
    background: linear-gradient(135deg, #d9351f 0%, #e05e4f 45%, #8f938e 100%);
}

.noticia-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom,
            rgba(20, 20, 22, .55) 0%,
            rgba(20, 20, 22, .72) 45%,
            rgba(20, 20, 22, .88) 100%),
        linear-gradient(to top,
            rgba(var(--bs-primary-rgb), .35) 0%,
            transparent 55%);
}

.noticia-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.noticia-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, .45);
    margin-bottom: 1.25rem !important;
    font-size: .8125rem;
}

.noticia-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.noticia-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.noticia-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, .55);
}

.noticia-hero__content {
    max-width: 100%;
}

.noticia-hero__tag {
    display: inline-block;
    margin-bottom: .85rem;
    padding: .35rem .9rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(var(--bs-primary-rgb), .92);
    border-radius: 2rem;
    backdrop-filter: blur(4px);
}

.noticia-hero__title {
    margin: 0 0 .85rem;
    font-family: "DM Sans", var(--bs-font-sans-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.noticia-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    margin-bottom: 1rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .82);
}

/* Cuerpo del artículo */
.noticia-article {
    padding-top: 2.5rem;
    background: #fff;
}

.noticia-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--bs-body-color);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.noticia-body h2,
.noticia-body h3,
.noticia-body h4,
.noticia-body ul,
.noticia-body ol,
.noticia-body blockquote,
.noticia-body figcaption {
    text-align: left;
}

.noticia-body > .elementor,
.noticia-body > .elementor > .e-con,
.noticia-body .e-con-inner,
.noticia-body .elementor-widget-text-editor {
    max-width: 100%;
    width: 100%;
}

.noticia-body p {
    margin-bottom: 1.25rem;
}

.noticia-body h2,
.noticia-body h3,
.noticia-body h4 {
    margin: 2rem 0 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--bs-dark);
}

.noticia-body h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

.noticia-body h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
}

.noticia-body a {
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: .15em;
}

.noticia-body a:hover {
    color: var(--bs-link-hover-color);
}

.noticia-body ul,
.noticia-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.35rem;
}

.noticia-body li {
    margin-bottom: .45rem;
}

.noticia-body blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .06);
    border-radius: 0 .75rem .75rem 0;
    font-style: italic;
}

.noticia-body__figure,
.noticia-body figure {
    margin: 2rem 0;
    text-align: center;
}

.noticia-body__img,
.noticia-body img {
    display: block;
    width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: .75rem;
    box-shadow: 0 .5rem 1.75rem rgba(0, 0, 0, .08);
}

.noticia-body figcaption {
    margin-top: .65rem;
    font-size: .875rem;
    color: rgba(var(--bs-dark-rgb), .6);
}

.noticia-embed {
    margin: 2rem 0;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 .5rem 1.75rem rgba(0, 0, 0, .1);
}

.noticia-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Videos al final de la entrada (extraídos del contenido Elementor/WP) */
.noticia-videos .evento-video-panel {
    display: grid;
    grid-template-rows: 1fr;
    margin-top: 0;
    opacity: 1;
    transform: none;
}

.noticia-videos .evento-video-panel__inner {
    overflow: hidden;
    border-radius: .75rem;
    background: #141416;
    box-shadow: 0 .5rem 1.75rem rgba(0, 0, 0, .1);
}

.noticia-videos .evento-video-panel__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #141416;
}

.noticia-videos .evento-video-panel__frame iframe,
.noticia-videos .evento-video-panel__frame video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
    background: #000;
}

.noticia-videos .evento-video-panel__nav {
    --swiper-navigation-size: .95rem;
    --swiper-navigation-color: #fff;
    top: 50%;
    width: 2.35rem;
    height: 2.35rem;
    margin-top: -1.175rem;
    border-radius: 50%;
    background: rgba(20, 20, 22, .72);
    backdrop-filter: blur(4px);
    transition: background .2s ease;
}

.noticia-videos .evento-video-panel__nav::after {
    font-size: .95rem;
    font-weight: 700;
}

.noticia-videos .evento-video-panel__nav:hover {
    background: rgba(var(--bs-primary-rgb), .92);
}

.noticia-videos .evento-video-panel__nav--prev {
    left: .75rem;
}

.noticia-videos .evento-video-panel__nav--next {
    right: .75rem;
}

.noticia-videos .evento-video-panel--single .evento-video-panel__nav {
    display: none;
}

/* Galerías convertidas desde Elementor / WordPress */
.noticia-gallery {
    margin: 2.5rem 0;
}

.noticia-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

@media (min-width: 768px) {
    .noticia-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.noticia-gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: .75rem;
    aspect-ratio: 4 / 3;
    box-shadow: 0 .35rem 1.25rem rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.noticia-gallery__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .14);
}

.noticia-gallery__item::after {
    content: "\f065";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    position: absolute;
    right: .65rem;
    bottom: .65rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    color: #fff;
    background: rgba(var(--bs-primary-rgb), .88);
    border-radius: 50%;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.noticia-gallery__item:hover::after {
    opacity: 1;
}

.noticia-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.noticia-body table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
    font-size: .9375rem;
}

.noticia-body th,
.noticia-body td {
    padding: .65rem .85rem;
    border: 1px solid rgba(var(--bs-dark-rgb), .12);
}

.noticia-body th {
    background: rgba(var(--bs-dark-rgb), .04);
    font-weight: 600;
}

/* Etiquetas */
.noticia-tags__label {
    margin-bottom: .85rem;
}

.noticia-tag {
    display: inline-block;
    padding: .45rem 1rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--bs-dark);
    background: rgba(var(--bs-dark-rgb), .05);
    border: 1px solid rgba(var(--bs-dark-rgb), .1);
    border-radius: 2rem;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.noticia-tag:hover {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .08);
    border-color: rgba(var(--bs-primary-rgb), .25);
}

/* Recomendaciones */
.noticia-related {
    border-top: 1px solid rgba(var(--bs-dark-rgb), .08);
}

.press-grid--related {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991.98px) {
    .press-grid--related {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .noticia-hero {
        padding-top: 5.5rem;
        min-height: 16rem;
    }

    .noticia-breadcrumb .breadcrumb-item.active {
        max-width: 10rem;
    }

    .press-grid--related {
        grid-template-columns: 1fr;
    }
}

/* Nav sobre el hero (sin animación de entrada del home) */
.navbar-hero-overlay.noticia-nav-ready {
    opacity: 1;
    transform: none;
}
