/* ========= PLANTILLA NOTICIA ========= */

.noticia-hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.noticia-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.5);
    display: block;
}
.noticia-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.noticia-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--oscuro) 0%, transparent 60%);
}

.noticia-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: clamp(1.5rem, 5vw, 4rem);
    background: linear-gradient(to right, var(--principal) 0%, transparent 50%);
}

.noticia-tag {
    display: inline-block;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--amarillo-principal);
    margin-bottom: 1rem;
}

.noticia-hero-titulo {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vw, 3.8rem);
    line-height: .95;
    letter-spacing: .04em;
    text-transform: uppercase;
    max-width: 860px;
    font-weight: 900;
}
.noticia-hero-titulo-largo{
    font-size: clamp(1.6rem, 5vw, 3rem);
}

.noticia-hero-titulo span {
    color: var(--principal);
}

.noticia-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .8rem 1.2rem;
    margin-top: 1rem;
    font-size: .78rem;
    color: var(--text-claro);
    font-weight: 300;
}

.noticia-meta-dot {
    width: 6px;
    height: 3px;
    border-radius: 50%;
    background: var(--amarillo-principal);

}

/* ---- cuerpo ---- */
.noticia-body {
    max-width: 780px;
    margin: 3rem auto;
    padding: 0 clamp(1.5rem, 5vw, 2rem);
}

.noticia-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    font-size: .82rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.noticia-breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color .2s;
}

.noticia-breadcrumb a:hover {
    color: var(--amarillo-principal);
}

.noticia-breadcrumb span {
    color: var(--amarillo-principal);
}

.noticia-breadcrumb-sep {
    color: var(--borde-gris);
}

.noticia-divider {
    width: 40px;
    height: 2px;
    background: var(--principal);
    margin-bottom: 2.5rem;
}

/* ---- contenido ---- */
.noticia-contenido {
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 300;
    color: var(--text-claro);
}

.noticia-contenido p {
    margin-bottom: 1.4rem;
}

.noticia-contenido strong {
    color: var(--claro);
    font-weight: 500;
}

.noticia-contenido a {
    color: var(--amarillo-principal);
    text-decoration: none;
    border-bottom: 1px solid rgba(230, 175, 73, .3);
    transition: border-color .2s;
}

.noticia-contenido a:hover {
    border-color: var(--amarillo-principal);
}
.tabla-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 4px;
}
.noticia-tabla caption {
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: .06em;
    color: var(--claro);
    padding-bottom: .8rem;
    caption-side: top;
}

.noticia-contenido table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .9rem;
}

.noticia-contenido table td,
.noticia-contenido table th {
    padding: .75rem 1rem;
    border: 1px solid var(--borde-gris);
    color: var(--text-claro);
}


.noticia-tabla {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: .9rem;
}

.noticia-tabla th,
.noticia-tabla td {
    padding: .85rem 1.1rem;
    border: 1px solid var(--borde-gris);
    text-align: left;
    color: var(--text-claro);
}

.noticia-tabla thead th {
    background: var(--gris-fondo);
    color: var(--claro);
    font-family: var(--font-display);
    font-size: 1rem;
}
.noticia-tabla .ganador td {
    color: var(--amarillo-principal);
    background: rgba(230, 175, 73, .07);
    border-color: rgba(230, 175, 73, .25);
    font-weight: 500;
}

.noticia-tabla .ganador td:first-child {
    position: relative;
}

.noticia-tabla .ganador td svg {
    position: absolute;
    top: 50%;
    left: calc(100% - 12px);
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    /* borders svg */
    fill: var(--amarillo-principal);
}
/* interior svg */
.noticia-tabla .ganador td svg path:first-child {
    fill: rgba(230, 175, 73, .8);
}
/* ---- volver ---- */
.noticia-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 3rem;
    padding: .75rem 1.6rem;
    border: 1px solid var(--borde-gris);
    color: var(--text-light-gray);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: border-color .25s, color .25s;
}

.noticia-back:hover {
    border-color: var(--principal);
    color: var(--claro);
}

.noticia-back svg {
    width: 14px;
    height: 14px;
    stroke: var(--principal);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- responsive ---- */
@media (max-width: 640px) {


    .noticia-meta-dot {
        display: none;
    }

    .noticia-meta {
        gap: .4rem;
    }
    .noticia-tabla {
        overflow-x: scroll;
    }
}
@media (max-width: 1024px) {
    .noticia-tabla {
        min-width: 716px;
    }
}