:root {
    --teal: #078d8d;
    --teal-dark: #075a63;
    --teal-soft: #68bbb1;
    --teal-pale: #edf8f7;
    --blue: #0b4d91;
    --gold: #b58a35;
    --orange: #d96e29;
    --text: #1e2933;
    --muted: #65717c;
    --line: #dce5e7;
    --page: #f2f4f5;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--page);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-width {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}


/* SUPERIOR */

.topbar {
    background: var(--teal);
    color: #fff;
    min-height: 42px;
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-date,
.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-date strong {
    background: #fff;
    color: var(--teal-dark);
    padding: 2px 6px;
    border-radius: 3px;
}

.topbar-social {
    font-weight: 700;
    font-size: 17px;
}

.topbar-divider {
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,.35);
}


/* HERO */

.site-hero {
    min-height: 245px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background-color: #344b46;
    background-image:
        linear-gradient(
            90deg,
            rgba(36,26,15,.30),
            rgba(0,0,0,.15),
            rgba(0,0,0,.40)
        ),
        url("/static/branding/hero-donana.e5c1beef0d62.jpg");

    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.08),
            rgba(0,0,0,.28)
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.hero-logo {
    display: block;
    width: 305px;
    max-height: 125px;
    object-fit: contain;
    margin: 0 auto 10px;
    background: white;
}

.hero-title {
    font-weight: 800;
    font-size: 29px;
    text-shadow: 0 2px 6px rgba(0,0,0,.55);
}

.hero-subtitle {
    margin-top: 3px;
    font-size: 15px;
    font-weight: 600;
}

.hero-claim {
    position: absolute;
    left: calc(50% + 405px);
    top: 60px;
    width: 230px;
    text-align: left;
    transform: rotate(-7deg);
    font-family: Georgia, serif;
    font-size: 24px;
    font-style: italic;
}


/* MENÚ */

.main-nav {
    background: var(--teal);
    color: white;
}

.nav-inner {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 48px;
}

.nav-inner > a {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
}

.nav-home {
    font-size: 25px !important;
}

.nav-tools {
    margin-left: auto;
    font-size: 23px;
}


/* CUERPO GENERAL */

.page-background {
    padding: 0 0 70px;
}

.breadcrumbs {
    padding: 18px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #73808b;
    font-size: 13px;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 355px;
    gap: 24px;
    align-items: start;
}


/* ARTÍCULO */

.article-card,
.sidebar-box,
.weather-widget,
.below-section {
    background: var(--white);
    border: 1px solid #e7ecee;
    box-shadow: 0 5px 20px rgba(31,50,58,.045);
}

.article-card {
    padding: 34px;
}

.article-categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    background: var(--teal);
    color: #fff;
    border-radius: 3px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.article-header h1 {
    margin: 0;
    max-width: 1000px;
    color: #20242a;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.08;
    font-size: clamp(38px, 4vw, 61px);
    letter-spacing: -.025em;
}

.article-deck {
    margin-top: 15px;
    max-width: 980px;
    color: #505c66;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.4;
}

.article-deck p {
    margin: 0;
}

.article-meta {
    margin: 22px 0 26px;
    padding-top: 16px;
    border-top: 1px solid #edf0f2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: #58636d;
    font-size: 13px;
}

.article-meta-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

.publication-name {
    margin-left: 16px;
}

.article-actions {
    display: flex;
    gap: 8px;
}

.article-actions button {
    border: 1px solid #dfe5e8;
    background: #fff;
    color: #38434c;
    padding: 8px 11px;
    border-radius: 22px;
    cursor: pointer;
}

.main-image {
    margin: 0 0 28px;
}

.main-image img {
    width: 100%;
    display: block;
    height: auto;
}

.main-image figcaption {
    padding: 8px 11px;
    background: #f5f8f8;
    color: #68737c;
    font-size: 12px;
}


/* TEXTO NOTICIA */

.article-body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    line-height: 1.72;
    color: #2b3339;
}

.article-body p {
    margin: 0 0 1.45em;
}

.article-body h2,
.article-body h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--teal-dark);
    line-height: 1.2;
}

.article-body h2 {
    margin: 1.7em 0 .65em;
    font-size: 31px;
}

.article-body h3 {
    margin: 1.55em 0 .6em;
    font-size: 25px;
}

.article-body blockquote {
    margin: 28px 0;
    padding: 20px 25px;
    border-left: 4px solid var(--teal);
    background: var(--teal-pale);
    font-family: Georgia, serif;
    color: #27636a;
    font-size: 20px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 1.4em 1.4em;
}

.article-body a {
    color: var(--blue);
    text-decoration: underline;
}

/* IMÁGENES DENTRO DEL TEXTO */

.article-body .richtext-image.right {
    float: right !important;
    width: min(43%, 470px) !important;
    height: auto !important;
    margin: .3rem 0 1.4rem 2rem !important;
}

.article-body .richtext-image.left {
    float: left !important;
    width: min(43%, 470px) !important;
    height: auto !important;
    margin: .3rem 2rem 1.4rem 0 !important;
}

.article-body .richtext-image.full-width {
    display: block;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 2rem 0 !important;
}

.article-body::after {
    content: "";
    display: block;
    clear: both;
}


/* GALERÍA */

.article-gallery {
    clear: both;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.gallery-header h2 {
    margin: 0 0 8px;
    font-family: Georgia, serif;
    font-size: 30px;
}

.gallery-intro {
    margin-bottom: 20px;
    color: var(--muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.gallery-item {
    padding: 0;
    border: 0;
    overflow: hidden;
    background: transparent;
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
}


/* COMPARTIR */

.share-box {
    clear: both;
    margin-top: 38px;
    padding: 16px 18px;
    border: 1px solid var(--line);

    display: flex;
    align-items: center;
    gap: 20px;
}

.share-buttons {
    display: flex;
    gap: 9px;
}

.share-circle {
    width: 39px;
    height: 39px;
    border: none;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-weight: 800;
    cursor: pointer;
}

.facebook { background: #1877f2; }
.x { background: #111; }
.whatsapp { background: #25d366; font-size: 11px; }
.mail { background: #0a7cad; }
.link { background: #666c74; }


/* ANTERIOR SIGUIENTE */

.article-navigation {
    margin-top: 16px;
    background: #f0f9f9;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.article-navigation-item {
    min-height: 105px;
    padding: 20px 22px;
}

.article-navigation-item + .article-navigation-item {
    border-left: 1px solid #9dd5d1;
}

.article-navigation-item small {
    display: block;
    margin-bottom: 5px;
    color: var(--teal);
    font-weight: 800;
}

.article-navigation-item a {
    font-weight: 700;
    line-height: 1.35;
}

.article-navigation .next {
    text-align: right;
}


/* SIDEBAR */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.weather-widget {
    padding: 17px;
}

.weather-widget {
    background: #fff;
}

.weather-widget > *:not(.weather-source) {
    position: relative;
}

.weather-widget h3,
.weather-main,
.weather-description,
.weather-sun {
    color: white;
}

.weather-widget {
    position: relative;
}

.weather-widget::before {
    content: "";
    position: absolute;
    inset: 13px;
    background:
        linear-gradient(145deg, #0d8b8c, #0a777c);
}

.weather-widget h3 {
    text-align: center;
    margin: 13px 0 16px;
    font-size: 18px;
}

.weather-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.weather-icon {
    font-size: 56px;
    color: #b7c3c6;
}

.weather-main strong {
    font-size: 52px;
    font-weight: 400;
}

.weather-description {
    text-align: center;
    margin: 3px 0 23px;
}

.weather-sun {
    display: flex;
    justify-content: space-around;
    padding-bottom: 13px;
}

.weather-sun div {
    display: grid;
    text-align: center;
}

.weather-source {
    position: relative;
    z-index: 2;
    padding-top: 8px;
    text-align: right;
    color: #8e989d;
    font-size: 9px;
}

.sidebar-box {
    padding: 15px;
}

.section-heading,
.below-heading {
    border-bottom: 2px solid var(--teal);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-heading h3,
.below-heading h2 {
    position: relative;

    margin: 0;
    padding: 9px 15px;

    background: var(--teal);
    color: #fff;

    font-size: 18px;
    line-height: 1.1;
}

.section-heading h3::after,
.below-heading h2::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;

    border-top: 37px solid var(--teal);
    border-right: 31px solid transparent;
}

.section-heading > span,
.below-heading > span {
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
}

.recent-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 11px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f2;
}

.recent-item:last-child {
    border-bottom: 0;
}

.recent-item img {
    width: 88px;
    height: 64px;
    object-fit: cover;
}

.recent-item strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
}

.recent-item small {
    display: block;
    margin-top: 6px;
    color: #78838c;
    font-size: 10px;
}

.category-list {
    padding: 5px 0;
}

.category-row {
    min-height: 39px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #edf0f2;

    font-size: 14px;
}

.category-row strong {
    background: #f0f3f4;
    border-radius: 3px;
    min-width: 27px;
    padding: 2px 5px;
    text-align: center;
    font-size: 11px;
}


/* ABAJO */

.below-section {
    margin-top: 28px;
    padding: 18px;
}

.related-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.related-card {
    min-height: 235px;
    position: relative;
    overflow: hidden;
    background: #25333c;
}

.related-card > img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 25%,
            rgba(0,0,0,.83)
        );
}

.related-content {
    position: absolute;
    inset: auto 18px 17px;
    color: white;
}

.related-content > span {
    display: inline-block;
    margin-bottom: 7px;
    background: var(--teal);
    padding: 3px 7px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.related-content h3 {
    margin: 0 0 8px;
    line-height: 1.05;
    font-size: 24px;
}

.related-content small {
    font-size: 10px;
    font-weight: 700;
}

.missed-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.missed-card {
    border: 1px solid #e3e8ea;
    background: white;
}

.missed-card > img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.missed-content {
    padding: 13px;
}

.missed-content h3 {
    margin: 9px 0 12px;
    font-size: 16px;
    line-height: 1.22;
}

.missed-content small {
    color: #65717a;
    font-size: 10px;
    text-transform: uppercase;
}


/* PIE */

.site-footer {
    background: #07505b;
    color: white;
}

.footer-main {
    min-height: 120px;

    display: grid;
    grid-template-columns: 230px 1fr 220px;
    align-items: center;
    gap: 30px;
}

.footer-main img {
    width: 160px;
    background: white;
}

.footer-main nav {
    display: flex;
    justify-content: center;
    gap: 42px;
}

.footer-main nav a {
    font-size: 13px;
}

.footer-social {
    text-align: right;
    font-size: 19px;
}

.footer-bottom {
    min-height: 48px;
    padding: 12px 0;

    border-top: 1px solid rgba(255,255,255,.2);

    display: flex;
    justify-content: space-between;

    color: rgba(255,255,255,.75);
    font-size: 11px;
}


/* VISOR GALERÍA */

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 45px 80px;
    background: rgba(0,0,0,.93);
}

.gallery-lightbox img {
    max-width: 90vw;
    max-height: 86vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(0,0,0,.35);
    color: white;
    cursor: pointer;
}

.lightbox-close {
    right: 25px;
    top: 18px;
    font-size: 40px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

#lightbox-counter {
    position: absolute;
    bottom: 20px;
    color: white;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .category-sidebar {
        grid-column: 1 / -1;
    }

    .hero-claim {
        display: none;
    }

}

@media (max-width: 760px) {

    .site-width {
        width: min(100% - 28px, 1440px);
    }

    .topbar-social {
        display: none;
    }

    .site-hero {
        min-height: 190px;
    }

    .hero-logo {
        width: 220px;
    }

    .hero-title {
        font-size: 22px;
    }

    .nav-inner {
        gap: 18px;
        overflow-x: auto;
    }

    .nav-inner > a {
        white-space: nowrap;
        font-size: 11px;
    }

    .article-card {
        padding: 22px 18px;
    }

    .article-header h1 {
        font-size: 38px;
    }

    .article-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-body {
        font-size: 17px;
    }

    .article-body .richtext-image.right,
    .article-body .richtext-image.left {
        float: none !important;
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        margin: 1rem 0 !important;
    }

    .gallery-grid,
    .related-grid,
    .missed-grid,
    .sidebar {
        grid-template-columns: 1fr;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }

    .article-navigation-item + .article-navigation-item {
        border-left: 0;
        border-top: 1px solid #9dd5d1;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding: 30px 0;
        text-align: center;
    }

    .footer-main img {
        margin: auto;
    }

    .footer-main nav {
        flex-wrap: wrap;
        gap: 18px;
    }

    .footer-social {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}


/* =========================================================
   AJUSTES FINALES MAQUETA DE NOTICIA
   ========================================================= */

/* Serif editorial más cercana a la maqueta */
.article-header h1 {
    font-family: Cambria, Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.06;
}

.article-deck {
    font-family: Cambria, Georgia, "Times New Roman", serif;
}


/* Iconos reales de interfaz */

.ui-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex: 0 0 auto;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.publication-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-actions button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.article-actions button[data-save-article].is-saved {
    color: var(--teal);
    border-color: var(--teal-soft);
    background: var(--teal-pale);
}


/* Primer párrafo del cuerpo: entradilla visual de la maqueta */

.article-body .article-lead-highlight {
    clear: both;

    margin: 4px 0 30px !important;
    padding: 19px 22px !important;

    border-left: 4px solid var(--teal);

    background: #edf8f7;

    color: #26656b;

    font-family: Cambria, Georgia, serif;
    font-size: 20px;
    line-height: 1.48;
}


/* Iconos sociales */

.share-circle svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.share-circle.facebook svg {
    fill: white;
    stroke: none;
}

.share-circle {
    padding: 0;
}


/* Más presencia para anterior / siguiente */

.article-navigation-item a {
    display: block;
}

.article-navigation-item:hover {
    background: #e4f5f4;
}

.article-navigation-item:hover a {
    color: var(--teal-dark);
}

/* Barra superior: iconos SVG limpios */
.topbar-icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-social {
    width: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-social svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: white;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-social:first-child svg,
.top-social:last-child svg {
    fill: white;
    stroke: none;
}

.top-social:last-child .youtube-play {
    fill: var(--teal);
}

/* Resaltado editorial del primer párrafo */
.article-body p.article-lead-highlight {
    display: block;
    clear: both;
    margin: 6px 0 30px !important;
    padding: 20px 24px !important;
    border-left: 4px solid var(--teal) !important;
    background: #edf8f7 !important;
    color: #28656a !important;
    font-family: Cambria, Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.5;
}

.article-navigation > a.article-navigation-item {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease;
}

.article-navigation > a.article-navigation-item:hover {
    background: #def2f1;
}

.article-navigation-item strong {
    display: block;
    line-height: 1.35;
}

.share-circle.instagram {
    background:
        radial-gradient(circle at 30% 107%,
            #fdf497 0%,
            #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285AEB 90%);
}

.share-circle.instagram svg {
    fill: none;
    stroke: white;
    stroke-width: 2;
}

/* Ayuntamiento + redes sociales en el pie */

.footer-brands-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.footer-ayuntamiento {
    width: auto !important;
    height: 58px;
    max-width: 175px;
    object-fit: contain;
    background: transparent !important;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.footer-social-icon {
    width: 24px;
    height: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;
}

.footer-social-icon svg {
    width: 22px;
    height: 22px;

    fill: #fff;
    stroke: none;
}

.footer-social-icon.instagram svg {
    fill: none;
    stroke: #fff;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social-icon .youtube-play {
    fill: #07505b;
}

/* Adaptación móvil */
@media (max-width: 760px) {
    .footer-brands-social {
        justify-content: center;
        flex-direction: column;
        gap: 18px;
    }

    .footer-ayuntamiento {
        height: 52px;
    }

    .footer-social {
        justify-content: center;
    }
}


/* =========================================================
   MENÚ DE NOTICIAS = MENÚ DE PORTADA
   ========================================================= */

.noticia-main-nav {
    position: relative;
    z-index: 300;

    min-height: 64px;

    display: flex;
    align-items: stretch;

    padding-left: max(40px, calc((100% - 1480px) / 2));

    background: #008080;
}

.noticia-nav-inner {
    display: contents;
}

.noticia-nav-home,
.noticia-nav-direct,
.noticia-nav-trigger {
    min-height: 64px;

    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent;
    color: #fff;

    font: inherit;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;
}

.noticia-nav-home {
    padding-left: 14px;
    padding-right: 24px;
}

.noticia-nav-home svg {
    width: 25px;
    height: 25px;

    fill: #fff;
    stroke: #fff;
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.noticia-nav-item {
    position: relative;
    display: flex;
}

.noticia-nav-trigger {
    gap: 7px;
}

.noticia-nav-trigger > svg {
    width: 14px;
    height: 14px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform .15s ease;
}

.noticia-nav-home:hover,
.noticia-nav-direct:hover,
.noticia-nav-trigger:hover {
    background: rgba(0,0,0,.08);
}


/* DESPLEGABLES */

.noticia-nav-dropdown {
    position: absolute;

    top: 100%;
    left: 0;

    z-index: 1000;

    min-width: 260px;

    background: #202125;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-3px);

    box-shadow:
        0 9px 22px rgba(0,0,0,.22);

    transition:
        opacity .15s ease,
        transform .15s ease,
        visibility .15s ease;
}

.noticia-nav-dropdown a {
    min-height: 52px;

    padding: 0 20px;

    display: flex;
    align-items: center;

    color: #fff !important;
    background: #202125;

    border-bottom:
        1px solid rgba(255,255,255,.06);

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
    white-space: nowrap;
}

.noticia-nav-dropdown a:hover {
    padding-left: 25px;
    background: #008080;
}

@media (min-width: 901px) {

    .noticia-nav-dropdown-item:hover
    > .noticia-nav-dropdown,

    .noticia-nav-dropdown-item:focus-within
    > .noticia-nav-dropdown {

        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .noticia-nav-dropdown-item:hover
    > .noticia-nav-trigger > svg {

        transform: rotate(180deg);
    }
}


/* TABLET / MÓVIL */

@media (max-width: 900px) {

    .noticia-main-nav {
        overflow-x: auto;

        padding-left: 10px;

        justify-content: flex-start;
    }

    .noticia-nav-home,
    .noticia-nav-direct,
    .noticia-nav-trigger {
        min-height: 54px;
        padding: 0 14px;
        font-size: 11px;
    }

    .noticia-nav-dropdown {
        position: fixed;

        left: 15px;
        right: 15px;

        min-width: 0;
        width: auto;
    }

    .noticia-nav-item.is-open
    > .noticia-nav-dropdown {

        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Pie de página - color corporativo definitivo */
.site-footer,
.noticia-footer,
.article-footer,
footer.site-footer {
    background: #008080 !important;
}

/* Icono YouTube correcto en el pie */
.footer-youtube-svg {
    width: 20px;
    height: 20px;
    fill: none !important;
    stroke: #fff !important;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.footer-youtube-play {
    fill: #fff !important;
    stroke: none !important;
}


/* =========================================================
   CABECERA INTERIOR · MÓVIL DEFINITIVO
   ========================================================= */

.noticia-nav-mobile-bar {
    display: none;
}


@media (max-width: 900px) {


    /* -----------------------------------------------------
       HERO INTERIOR
       ----------------------------------------------------- */

    .site-hero {
        min-height: 225px !important;
        height: 225px !important;
    }

    .hero-inner {
        min-height: 225px !important;
        height: 225px !important;

        padding: 18px 20px !important;
    }

    .hero-logo {
        width: 190px !important;
        max-width: 46vw !important;
        height: auto !important;
    }

    .hero-title {
        font-size: 25px !important;
        line-height: 1.08 !important;

        text-align: center !important;
    }

    .hero-subtitle {
        font-size: 13px !important;
        line-height: 1.25 !important;

        text-align: center !important;
    }

    .hero-claim {
        display: none !important;
    }


    /* -----------------------------------------------------
       MENÚ PRINCIPAL
       ----------------------------------------------------- */

    .noticia-main-nav {
        min-height: 0 !important;

        display: block !important;

        padding: 0 !important;

        background: #ffffff !important;

        border-top: 1px solid #dfe5e5;
        border-bottom: 1px solid #dfe5e5;

        overflow: visible !important;
    }


    .noticia-nav-mobile-bar {
        min-height: 58px;

        display: flex !important;
        align-items: center;
        justify-content: flex-end;

        padding-top: 0;
        padding-bottom: 0;
    }


    .noticia-mobile-menu-button {
        height: 44px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        gap: 10px;

        padding: 0 15px;

        border: 0;
        border-radius: 3px;

        background: #008080;
        color: #ffffff;

        font: inherit;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .3px;

        cursor: pointer;
    }


    .noticia-mobile-menu-icon {
        width: 21px;
        height: 16px;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


    .noticia-mobile-menu-icon span {
        width: 100%;
        height: 2px;

        display: block;

        border-radius: 2px;

        background: #ffffff;

        transition:
            transform .2s ease,
            opacity .2s ease;
    }


    /* Hamburguesa -> X */

    .noticia-main-nav.is-mobile-open
    .noticia-mobile-menu-icon span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .noticia-main-nav.is-mobile-open
    .noticia-mobile-menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .noticia-main-nav.is-mobile-open
    .noticia-mobile-menu-icon span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /* Menú cerrado */

    .noticia-nav-inner {
        display: none !important;

        width: 100% !important;

        padding: 0 !important;

        overflow: visible !important;
    }


    /* Menú abierto */

    .noticia-main-nav.is-mobile-open
    .noticia-nav-inner {
        display: flex !important;

        flex-direction: column !important;
        align-items: stretch !important;

        border-top: 1px solid #e4e9e9;
    }


    /* Inicio / enlaces / botones */

    .noticia-nav-home,
    .noticia-nav-direct,
    .noticia-nav-trigger {
        width: 100% !important;
        min-height: 52px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        padding: 0 21px !important;

        border: 0 !important;
        border-bottom: 1px solid #e7ebeb !important;

        background: #ffffff !important;
        color: #23373a !important;

        font-size: 13px !important;
        font-weight: 800 !important;

        text-align: left !important;

        box-sizing: border-box;
    }


    .noticia-nav-home {
        justify-content: flex-start !important;
    }


    .noticia-nav-home svg {
        width: 23px !important;
        height: 23px !important;

        fill: none !important;
        stroke: #008080 !important;
    }


    .noticia-nav-direct:hover,
    .noticia-nav-home:hover,
    .noticia-nav-trigger:hover {
        background: #f3f9f9 !important;
        color: #008080 !important;
    }


    .noticia-nav-item {
        width: 100% !important;

        display: block !important;
    }


    .noticia-nav-trigger svg {
        width: 16px !important;
        height: 16px !important;

        flex: 0 0 auto;
    }


    /* -----------------------------------------------------
       SUBMENÚ ACORDEÓN
       ----------------------------------------------------- */

    .noticia-nav-dropdown {
        position: static !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;

        width: 100% !important;
        min-width: 0 !important;

        display: none !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;

        padding: 0 !important;

        background: #edf7f7 !important;

        box-shadow: none !important;
    }


    .noticia-nav-item.is-open
    > .noticia-nav-dropdown {
        display: block !important;
    }


    .noticia-nav-dropdown a {
        width: 100% !important;
        min-height: 46px !important;

        display: flex !important;
        align-items: center !important;

        padding:
            0 20px
            0 38px !important;

        border-bottom:
            1px solid rgba(0,128,128,.10) !important;

        background: #edf7f7 !important;
        color: #285054 !important;

        font-size: 12px !important;
        font-weight: 700 !important;

        white-space: normal !important;

        box-sizing: border-box;
    }


    .noticia-nav-dropdown a:hover {
        background: #008080 !important;
        color: #ffffff !important;
    }


    .noticia-nav-item.is-open
    > .noticia-nav-trigger {
        background: #f3f9f9 !important;
        color: #008080 !important;
    }


    .noticia-nav-item.is-open
    > .noticia-nav-trigger svg {
        transform: rotate(180deg);
    }

}


/* =========================================================
   TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 560px) {

    .site-hero {
        min-height: 195px !important;
        height: 195px !important;
    }

    .hero-inner {
        min-height: 195px !important;
        height: 195px !important;

        padding: 15px !important;
    }

    .hero-logo {
        width: 160px !important;
        max-width: 52vw !important;
    }

    .hero-title {
        font-size: 21px !important;
    }

    .hero-subtitle {
        max-width: 310px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        font-size: 12px !important;
    }

}


/* =========================================================
   ESTRUCTURA INTERIOR COMÚN
   ========================================================= */

.interior-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 2.15fr)
        minmax(285px, .85fr);

    gap: 28px;

    align-items: start;
}

.interior-main-column {
    min-width: 0;
}

.interior-sidebar {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 26px;
}


/* =========================================================
   TIEMPO DEL LATERAL
   ========================================================= */

.interior-weather-card {
    display: block;

    padding: 18px 20px 15px;

    background: #008080;
    color: #ffffff;

    text-decoration: none;
}

.interior-weather-card h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 800;

    text-align: center;
}

.interior-weather-current {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 17px;

    padding-bottom: 18px;
}

.interior-weather-icon {
    color: #ffd34e;

    font-size: 47px;
}

.interior-weather-current div {
    display: flex;
    flex-direction: column;
}

.interior-weather-current strong {
    color: #ffffff;

    font-size: 42px;
    line-height: 1;
}

.interior-weather-current div span {
    margin-top: 5px;

    color: #ffffff;

    font-size: 13px;
}

.interior-weather-days {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    padding: 16px 0;

    border-top:
        1px solid rgba(255,255,255,.28);
}

.interior-weather-days div {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 6px;
}

.interior-weather-days strong {
    color: #ffffff;

    font-size: 10px;
}

.interior-weather-days span {
    color: #ffd34e;

    font-size: 26px;
}

.interior-weather-days small {
    color: #ffffff;

    font-size: 9px;
}

.interior-weather-more {
    display: flex;
    justify-content: space-between;

    padding-top: 11px;

    border-top:
        1px solid rgba(255,255,255,.28);

    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   CAJAS DEL LATERAL
   ========================================================= */

.interior-side-box {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dfe5e5;
}

.interior-side-title {
    margin: 0;

    padding: 11px 15px;

    background: #008080;
    color: #ffffff;

    font-size: 15px;
    font-weight: 800;
}

.interior-recent-list,
.interior-category-list,
.interior-archive-list {
    display: flex;
    flex-direction: column;

    padding: 0 16px;
}

.interior-recent-list a,
.interior-category-list a,
.interior-archive-list a {
    padding: 13px 1px;

    border-bottom: 1px solid #e6eaea;

    color: #193136;

    font-size: 13px;
    line-height: 1.35;

    text-decoration: none;
}

.interior-recent-list a:hover,
.interior-category-list a:hover,
.interior-archive-list a:hover {
    color: #008080;
}

.interior-archive-all {
    display: block;

    padding: 13px 16px;

    color: #008080;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   NEWSLETTER LATERAL
   ========================================================= */

.interior-newsletter {
    padding: 24px 22px;

    background: #173f45;
    color: #ffffff;
}

.interior-newsletter-eyebrow {
    color: #70d1cc;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.interior-newsletter h2 {
    margin: 5px 0 9px;

    color: #ffffff;

    font-family: Georgia, serif;
    font-size: 25px;
}

.interior-newsletter p {
    margin: 0 0 17px;

    color: rgba(255,255,255,.82);

    font-size: 12px;
    line-height: 1.55;
}

.interior-newsletter a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 13px;

    background: #008080;
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   TE LO HAS PERDIDO COMÚN
   ========================================================= */

.interior-missed {
    margin-top: 42px;

    padding: 14px;

    background: #ffffff;

    border: 1px solid #dfe5e5;
}

.interior-missed-heading {
    margin-bottom: 17px;

    border-bottom: 2px solid #008080;
}

.interior-missed-heading h2 {
    width: fit-content;

    margin: 0;

    padding: 9px 17px;

    background: #008080;
    color: #ffffff;

    font-size: 15px;
    font-weight: 800;
}

.interior-missed-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.interior-missed-card {
    min-width: 0;

    text-decoration: none;
}

.interior-missed-image {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #dce5e5;
}

.interior-missed-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .3s ease;
}

.interior-missed-card:hover img {
    transform: scale(1.04);
}

.interior-missed-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.80),
            rgba(0,0,0,.03) 72%
        );
}

.interior-missed-content {
    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 12px;

    color: #ffffff;
}

.interior-missed-content > span {
    display: inline-block;

    margin-bottom: 6px;
    padding: 3px 6px;

    background: #008080;
    color: #ffffff;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
}

.interior-missed-content h3 {
    margin: 0 0 7px;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.08;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

.interior-missed-content small {
    color: #ffffff;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}


/* =========================================================
   RESPONSIVE INTERIOR
   ========================================================= */

@media (max-width: 950px) {

    .interior-layout {
        grid-template-columns: 1fr;
    }

    .interior-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .interior-weather-card,
    .interior-newsletter {
        grid-column: 1 / -1;
    }

    .interior-missed-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 560px) {

    .interior-sidebar {
        grid-template-columns: 1fr;
    }

    .interior-missed-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   DOÑANA ACTUAL · LEGIBILIDAD MÓVIL FINAL
   ========================================================= */

@media (max-width: 760px) {

    /* Entradilla */
    .article-deck {
        font-size: 21px !important;
        line-height: 1.48 !important;
    }

    /* Cuerpo: no reducirlo respecto al escritorio */
    .article-body {
        min-width: 0 !important;
        max-width: 100% !important;

        font-size: 19px !important;
        line-height: 1.7 !important;

        overflow-wrap: anywhere;
    }

    .article-body p,
    .article-body li {
        font-size: inherit !important;
    }

    .article-body h2 {
        font-size: 29px !important;
        line-height: 1.22 !important;
    }

    .article-body h3 {
        font-size: 24px !important;
        line-height: 1.25 !important;
    }

    .article-body blockquote {
        font-size: 19px !important;
        line-height: 1.6 !important;
    }

    /*
     * Protección contra elementos que puedan ensanchar
     * artificialmente una noticia en teléfonos.
     */
    .article-card,
    .article-body,
    .article-body > *,
    .article-body figure {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .article-body img,
    .article-body video,
    .article-body embed,
    .article-body object {
        max-width: 100% !important;
        height: auto !important;
    }

    .article-body iframe {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
    }

    .article-body table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
    }

    .article-body pre {
        max-width: 100%;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
    }

    .article-body a {
        overflow-wrap: anywhere;
    }

    /* Noticias recomendadas */
    .related-content h3,
    .missed-content h3,
    .interior-missed-content h3 {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }

    .article-navigation-item a,
    .article-navigation-item strong {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}



/* =========================================================
   TARJETAS DE NOTICIA · LEGIBILIDAD MÓVIL AMPLIADA
   ========================================================= */

@media (max-width: 760px) {

    .related-content h3 {
        font-size: 21px !important;
        line-height: 1.22 !important;
    }

    .missed-content h3,
    .interior-missed-content h3 {
        font-size: 20px !important;
        line-height: 1.24 !important;
    }

    .related-content small,
    .missed-content small,
    .interior-missed-content small {
        font-size: 12px !important;
    }
}


/* =========================================================
   DOÑANA ACTUAL · SIDEBAR INTERIOR · LEGIBILIDAD MÓVIL
   ========================================================= */

@media (max-width: 760px) {

    .interior-side-title {
        font-size: 19px !important;
        line-height: 1.25 !important;
    }

    .interior-recent-list,
    .interior-category-list,
    .interior-archive-list {
        font-size: 17px !important;
    }

    .interior-recent-list li,
    .interior-category-list li,
    .interior-archive-list li {
        font-size: 17px !important;
        line-height: 1.5 !important;
    }

    .interior-recent-list a,
    .interior-category-list a,
    .interior-archive-list a {
        font-size: 17px !important;
        line-height: 1.5 !important;
    }

    .interior-recent-list time,
    .interior-recent-list small,
    .interior-category-list small,
    .interior-archive-list small {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .interior-archive-all {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}



/* =========================================================
   SIDEBAR INTERIOR · LEGIBILIDAD MÓVIL · REMATE
   ========================================================= */

@media (max-width: 760px) {

    .interior-side-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }

    /* ACTUALIDAD */
    .interior-recent-list a {
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    .interior-recent-list a > *:not(small):not(time) {
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    .interior-recent-list small,
    .interior-recent-list time {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    /* CATEGORÍAS */
    .interior-category-list a,
    .interior-category-list a * {
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    /* ARCHIVO */
    .interior-archive-list a,
    .interior-archive-list a * {
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    .interior-archive-all {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}


/* ==========================================================
   COLORES RICH TEXT PUBLICOS - DONANA ACTUAL
   ========================================================== */

.texto-donana {
    color: #0B5660;
}

.texto-azul-donana {
    color: #0B4D91;
}

.texto-dorado {
    color: #B58A35;
}

.texto-naranja {
    color: #D96E29;
}

.texto-gris {
    color: #667085;
}

/* ==========================================================
   COLORES RICH TEXT - CUERPO PUBLICO DE NOTICIAS
   ========================================================== */

.article-body .texto-donana {
    color: #0B5660 !important;
}

.article-body .texto-azul-donana {
    color: #0B4D91 !important;
}

.article-body .texto-dorado {
    color: #B58A35 !important;
}

.article-body .texto-naranja {
    color: #D96E29 !important;
}

.article-body .texto-gris {
    color: #667085 !important;
}


/* ==========================================================
   COMPARTIR NOTICIA - MOVIL
   ========================================================== */

@media (max-width: 760px) {

    .share-box {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;

        padding: 18px 16px;
    }

    .share-box > strong {
        display: block;
        width: 100%;

        text-align: left;
    }

    .share-buttons {
        width: 100%;

        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;

        gap: 10px;
    }

    .share-circle {
        flex: 0 0 39px;
    }
}


/* ==========================================================
   TITULO DE NOTICIA - MOVIL
   ========================================================== */

@media (max-width: 760px) {

    .article-header h1 {
        font-size: clamp(28px, 7.2vw, 32px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.025em;
    }
}
