:root {
    --bg: #f2efe8;
    --paper: #fffdf8;
    --ink: #161616;
    --muted: #5a5a5a;
    --line: #d9d2c4;
    --accent: #e03515;
    --contrast: #191919;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(1000px 420px at 85% -10%, #f6c9ab 0%, rgba(246, 201, 171, 0) 58%),
        linear-gradient(180deg, #f8f5ef 0%, var(--bg) 100%);
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.site-banner {
    display: none;
    background-color: var(--contrast);
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.site-banner.has-bg,
.site-banner.has-left-image,
.site-banner.has-center-image,
.site-banner.has-right1-image,
.site-banner.has-right2-image {
    display: block;
}

.site-banner.has-bg {
    background-size: cover;
    background-position: center;
}

.banner-left-image,
.banner-center-image,
.banner-right1-image,
.banner-right2-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 88%;
    width: auto;
    max-width: clamp(95px, 18vw, 400px);
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.45));
    pointer-events: none;
}

.banner-left-image {
    left: clamp(0.35rem, 1.5vw, 1.2rem);
}

.banner-center-image {
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-right1-image {
    right: calc(clamp(95px, 18vw, 400px) + clamp(0.7rem, 3vw, 2.4rem));
}

.banner-right2-image {
    right: clamp(0.35rem, 1.5vw, 1.2rem);
}

.noticia-wrap {
    width: min(980px, calc(100% - 1.2rem));
    margin: 1rem auto 2.2rem;
}

.noticia-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
}

.volver-link {
    text-decoration: none;
    font-weight: 800;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
}

.noticia-empty,
.noticia-article {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    padding: clamp(0.9rem, 2vw, 1.4rem);
}

.noticia-kickers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip {
    border: 1px solid #e3dbcd;
    border-radius: 999px;
    padding: 0.2rem 0.58rem;
    font-size: 0.77rem;
    font-weight: 800;
    color: #4c4c4c;
    background: #fff;
}

.chip-destacada {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
}

.noticia-article h1 {
    margin: 0.6rem 0 0;
    font-size: clamp(1.5rem, 3.2vw, 2.5rem);
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    font-family: "Arial Black", Impact, sans-serif;
}

.noticia-meta {
    margin-top: 0.62rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.noticia-desc {
    margin: 0.75rem 0 0;
    font-size: 1.02rem;
    color: #2a2a2a;
    line-height: 1.45;
    font-weight: 600;
}

.noticia-image-wrap {
    margin: 0.9rem 0 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d8d0c1;
    background: #fff;
}

.noticia-image-wrap img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.noticia-content {
    margin-top: 1rem;
    color: #212121;
    line-height: 1.6;
    font-size: 1.03rem;
}

.noticia-content img,
.noticia-content iframe,
.noticia-content video,
.noticia-content audio {
    max-width: 100%;
    height: auto;
}

.noticia-audio-block {
    margin: 1.2rem 0;
    padding: 1rem;
    border: 1px solid #e3dbcd;
    border-radius: 14px;
    background: #fff8f2;
}

.noticia-audio-player {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.audio-toggle {
    border: none;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.audio-toggle:hover,
.audio-toggle:focus {
    background: #c12712;
}

.audio-label {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    color: #2b2b2b;
}

.audio-volume-label {
    font-size: 0.85rem;
    color: #5a5a5a;
}

.audio-volume-slider {
    width: min(190px, 100%);
}

.noticia-audio-element {
    width: 100%;
    min-height: 2.5rem;
    border-radius: 12px;
    background: #000;
}

.noticia-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.8rem 0;
}

.noticia-content th,
.noticia-content td {
    border: 1px solid #ddd5c7;
    padding: 0.5rem;
}

.noticia-content blockquote {
    margin: 0.8rem 0;
    border-left: 4px solid var(--accent);
    padding: 0.45rem 0.65rem;
    background: #fff7f3;
}

@media (max-width: 640px) {
    .site-banner {
        min-height: 60px;
    }

    .banner-left-image,
    .banner-center-image,
    .banner-right1-image,
    .banner-right2-image {
        max-width: clamp(70px, 30vw, 200px);
        height: 82%;
    }

    .noticia-wrap {
        width: calc(100% - 0.9rem);
    }

    .noticia-content {
        font-size: 0.97rem;
    }
}
