:root {
    --petrol: #008080;
    --petrol-dark: #053f47;
    --teal: #078d8d;
    --teal-soft: #68bbb1;
    --orange: #e87522;
    --paper: #ffffff;
    --page: #f5f6f6;
    --line: #dfe4e5;
    --text: #22343a;
    --muted: #68777b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
}

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

.home-width {
    width: min(1480px, calc(100% - 64px));
    margin: 0 auto;
}


/* TOPBAR */

.home-topbar {
    min-height: 42px;
    background: var(--petrol);
    color: white;
}

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

.topbar-left,
.topbar-social,
.topbar-item {
    display: flex;
    align-items: center;
}

.topbar-left {
    gap: 13px;
}

.topbar-item {
    gap: 7px;
    font-size: 13px;
}

.topbar-item svg,
.topbar-social svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar-social {
    gap: 17px;
}

.topbar-social span {
    display: inline-flex;
}

.topbar-social .social-fill {
    fill: white;
    stroke: none;
}

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


/* HEADER */

.home-header {
    background: white;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    height: 145px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.header-brand img {
    width: 420px;
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
}

.header-tagline {
    margin: -4px 0 0 139px;
    color: var(--orange);
    font-family: Georgia, serif;
    font-size: 22px;
}

.header-nature {
    position: absolute;
    right: 0;
    top: 0;
    width: 440px;
    height: 145px;
    overflow: hidden;
}

.nature-sun {
    position: absolute;
    right: 36px;
    bottom: 4px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background:
        linear-gradient(
            180deg,
            #ffbf77,
            #f29a48
        );
    opacity: .82;
}

.reed {
    position: absolute;
    bottom: 0;
    width: 2px;
    height: 95px;
    background: #65777b;
    transform-origin: bottom;
    opacity: .55;
}

.reed::after {
    content: "";
    position: absolute;
    top: -4px;
    left: -3px;
    width: 8px;
    height: 20px;
    border-radius: 60%;
    background: #65777b;
}

.reed-1 {
    right: 235px;
    transform: rotate(-18deg);
}

.reed-2 {
    right: 205px;
    height: 120px;
    transform: rotate(-8deg);
}

.reed-3 {
    right: 170px;
    height: 90px;
    transform: rotate(10deg);
}

.reed-4 {
    right: 135px;
    height: 115px;
    transform: rotate(15deg);
}

.bird {
    position: absolute;
    color: #41616b;
    font-size: 30px;
}

.bird-1 {
    right: 65px;
    top: 23px;
}

.bird-2 {
    right: 18px;
    top: 46px;
    transform: scale(.7);
}


/* NAV */

.home-nav {
    background: white;
    border-bottom: 1px solid var(--line);
}

.home-nav-inner {
    min-height: 56px;
    display: flex;
    align-items: stretch;
    gap: 5px;
}

.home-nav-inner a {
    min-height: 56px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid transparent;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.home-nav-inner a:hover,
.home-nav-inner a.active {
    color: var(--petrol);
    border-bottom-color: var(--teal);
}


/* TEMAS */

.topics-bar {
    background: white;
}

.topics-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.topics-title {
    color: var(--petrol);
    font-size: 14px;
}

.topics-inner a {
    padding: 10px 24px;
    border-radius: 24px;
    background: #f1f2f2;
    border: 1px solid #e4e6e7;
    font-size: 12px;
    font-weight: 700;
}

.topics-inner a:hover {
    color: white;
    background: var(--teal);
}


/* MAIN */

.home-main {
    padding: 0 0 55px;
}

.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 20px;
}


/* HERO */

.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #244047;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 25%,
            rgba(0,0,0,.80) 100%
        );
}

.hero-slide-content {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 38px;
    color: white;
}

.home-category,
.home-mini-category {
    display: inline-block;
    background: var(--petrol);
    color: white;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-category {
    padding: 6px 10px;
}

.home-mini-category {
    padding: 3px 6px;
}

.hero-slide-content h1 {
    width: min(850px, 90%);
    margin: 13px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 1.04;
}

.hero-excerpt {
    width: min(770px, 85%);
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.45;
}

.hero-meta {
    font-size: 12px;
}

.slider-dots {
    position: absolute;
    z-index: 5;
    bottom: 18px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.slider-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}

.slider-dots button.is-active {
    background: white;
}


/* SECCIONES */

.home-section {
    margin-top: 25px;
}

.home-section-heading {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.home-section-heading::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #ccd4d6;
}

.home-section-heading h2 {
    order: -1;
    margin: 0;
    color: var(--petrol);
    font-size: 17px;
}

.home-section-heading a {
    order: 2;
    color: var(--petrol);
    font-size: 12px;
    font-weight: 700;
}


/* ÚLTIMAS */

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.latest-card {
    min-width: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.latest-card img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.latest-body {
    padding: 14px;
}

.latest-body small {
    display: block;
    margin: 9px 0;
    color: var(--muted);
    font-size: 10px;
}

.latest-body h3 {
    margin: 0 0 9px;
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.18;
}

.latest-body p {
    margin: 0;
    color: #46565c;
    font-size: 13px;
    line-height: 1.45;
}


/* DESTACADAS */

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.featured-card {
    position: relative;
    height: 290px;
    overflow: hidden;
    border-radius: 6px;
}

.featured-card > a,
.featured-card img {
    width: 100%;
    height: 100%;
}

.featured-card img {
    display: block;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 25%,
            rgba(1,38,44,.9)
        );
}

.featured-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 17px;
    color: white;
}

.featured-content h3 {
    margin: 10px 0;
    font-family: Georgia, serif;
    font-size: 23px;
    line-height: 1.1;
}

.featured-content small {
    font-size: 10px;
}


/* PERDIDAS */

.home-missed-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.home-missed-card a {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 11px;
}

.home-missed-card img {
    width: 110px;
    height: 92px;
    border-radius: 5px;
    object-fit: cover;
}

.home-missed-card h3 {
    margin: 7px 0;
    font-size: 13px;
    line-height: 1.25;
}

.home-missed-card small {
    color: var(--muted);
    font-size: 9px;
}


/* SIDEBAR */

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

.home-side-box {
    padding: 18px;
    background: white;
    border: 1px solid var(--line);
}

.home-side-box h2 {
    margin: 0 0 19px;
    color: var(--petrol);
    font-size: 15px;
}

.weather-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 105px;
}

.weather-sun-icon {
    color: #f0ae00;
    font-size: 64px;
}

.weather-current strong {
    display: block;
    font-size: 37px;
}

.weather-current span {
    font-size: 12px;
}

.weather-days {
    padding-top: 15px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.weather-days div {
    display: grid;
    gap: 7px;
    text-align: center;
    font-size: 11px;
}

.weather-days span {
    color: #f0ae00;
    font-size: 27px;
}

.side-category-list {
    display: grid;
}

.side-category-list a {
    min-height: 37px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #edf0f1;
    font-size: 13px;
}

.side-category-list strong {
    padding: 2px 5px;
    border-radius: 3px;
    background: #eef2f3;
    font-size: 10px;
}

.archive-box select {
    width: 100%;
    height: 43px;
    padding: 0 12px;
    border: 1px solid #d7dddf;
    background: white;
}


/* NEWSLETTER */

.newsletter-box {
    overflow: hidden;
    background: var(--petrol);
    color: white;
}

.newsletter-image {
    height: 155px;
    background:
        linear-gradient(
            rgba(0,0,0,.05),
            rgba(0,0,0,.15)
        ),
        url("/static/branding/hero-donana.e5c1beef0d62.jpg")
        center / cover no-repeat;
}

.newsletter-content {
    padding: 20px;
}

.newsletter-content h2 {
    margin: 0 0 10px;
    font-family: Georgia, serif;
    font-size: 24px;
}

.newsletter-content p {
    font-size: 14px;
    line-height: 1.45;
}

.newsletter-content a {
    display: block;
    margin-top: 17px;
    padding: 12px;
    background: var(--orange);
    color: white;
    text-align: center;
    font-weight: 800;
}


/* FOOTER */

.home-footer {
    padding: 32px 0 25px;
    background: var(--petrol);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 320px 1fr 330px;
    gap: 55px;
    align-items: start;
}

.footer-brand img {
    width: 240px;
    background: white;
}

.footer-brand p {
    max-width: 250px;
    line-height: 1.45;
    font-size: 13px;
}

.footer-menu h3,
.footer-right h3 {
    margin: 0 0 14px;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.footer-links div {
    display: grid;
    gap: 7px;
}

.footer-links a,
.footer-links span {
    font-size: 12px;
}

.footer-right {
    text-align: right;
}

.footer-ayto {
    width: 190px;
    max-height: 76px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-social-icons {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.footer-social-icons span {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icons svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: white;
    stroke-width: 1.9;
}

.footer-social-icons .social-fill {
    fill: white;
    stroke: none;
}

.footer-right small {
    color: rgba(255,255,255,.72);
}


/* RESPONSIVE */

@media (max-width: 1180px) {

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

    .home-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .newsletter-box {
        grid-column: 1 / -1;
    }

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

    .header-nature {
        opacity: .65;
    }
}

@media (max-width: 900px) {

    .home-width {
        width: min(100% - 30px, 1480px);
    }

    .topbar-left .topbar-item:nth-of-type(n+3),
    .topbar-left .topbar-separator:nth-of-type(n+3) {
        display: none;
    }

    .header-inner {
        height: 120px;
    }

    .header-brand img {
        width: 310px;
    }

    .header-tagline {
        margin-left: 100px;
        font-size: 17px;
    }

    .header-nature {
        width: 320px;
    }

    .home-nav-inner {
        overflow-x: auto;
    }

    .home-nav-inner a {
        padding: 0 14px;
    }

    .topics-inner {
        overflow-x: auto;
    }

    .topics-inner > * {
        white-space: nowrap;
    }

    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-right {
        grid-column: 1 / -1;
        text-align: left;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {

    .topbar-social {
        display: none;
    }

    .header-nature {
        display: none;
    }

    .header-brand img {
        width: 255px;
    }

    .header-tagline {
        margin-left: 0;
        margin-top: 4px;
        font-size: 15px;
    }

    .hero-slider {
        height: 420px;
    }

    .hero-slide-content {
        left: 20px;
        right: 20px;
        bottom: 35px;
    }

    .hero-slide-content h1 {
        width: 100%;
        font-size: 34px;
    }

    .hero-excerpt {
        width: 100%;
        font-size: 14px;
    }

    .latest-grid,
    .home-missed-grid,
    .home-sidebar,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-missed-card a {
        grid-template-columns: 120px 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   CABECERA PORTADA - IMAGEN DE DOÑANA
   ========================================================= */

.home-header {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .34) 0%,
            rgba(0, 0, 0, .16) 48%,
            rgba(0, 0, 0, .08) 100%
        ),
        url("/static/branding/hero-donana.e5c1beef0d62.jpg")
        center 52% / cover no-repeat;

    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

/* Conservamos exactamente la altura que ya tenía */
.header-inner {
    height: 145px;
    position: relative;
    display: flex;
    align-items: center;
}

/* Logo + lema, alineados por la izquierda */
.header-brand {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    justify-content: center;
}

.header-brand img {
    width: 420px;
    max-height: 96px;
    object-fit: contain;
    object-position: left center;
}

/* Texto pegado debajo del logo y con el mismo comienzo */
.header-tagline {
    margin: 3px 0 0 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, .65);
}

/* Ya no necesitamos el dibujo artificial del lateral */
.header-nature {
    display: none;
}


/* Ajuste responsive conservando el mismo concepto */

@media (max-width: 900px) {

    .header-brand img {
        width: 310px;
    }

    .header-tagline {
        margin-left: 0;
        font-size: 17px;
    }
}

@media (max-width: 620px) {

    .header-brand img {
        width: 255px;
    }

    .header-tagline {
        margin-top: 3px;
        font-size: 15px;
    }
}


/* =========================================================
   AJUSTES PORTADA - SEGUNDA REVISIÓN
   ========================================================= */


/* CABECERA */

.header-brand img {
    width: 365px;
    max-height: 86px;
}

.header-tagline {
    margin-top: 10px;
    font-size: 19px;
}


/* ICONOS SUPERIORES */

.topbar-network,
.topbar-search {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.topbar-network svg,
.topbar-search svg {
    width: 20px;
    height: 20px;
}

.topbar-network svg,
.topbar-search svg {
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar-network .facebook-icon {
    fill: #fff;
    stroke: none;
}

.youtube-icon .youtube-triangle {
    fill: #fff;
    stroke: none;
}

.topbar-network,
.topbar-search {
    opacity: .95;
}

.topbar-network:hover,
.topbar-search:hover {
    opacity: .72;
}


/* CATEGORÍAS COMO EN LA MAQUETA */

.side-category-list a {
    min-height: 39px;
    padding: 0 2px;
    border-bottom: 1px solid #edf0f1;
}

.category-name {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.category-name svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;

    fill: none;
    stroke: var(--petrol);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ARCHIVO */

.archive-recent {
    display: grid;
    margin-bottom: 15px;
}

.archive-recent a {
    min-height: 38px;

    display: flex;
    align-items: center;
    gap: 10px;

    border-bottom: 1px solid #edf0f1;

    color: #34494f;
    font-size: 12px;
}

.archive-recent a:hover {
    color: var(--teal);
}

.archive-recent svg {
    width: 16px;
    height: 16px;

    fill: none;
    stroke: var(--petrol);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.archive-box select {
    margin-top: 5px;
}


/* ÚLTIMAS NOTICIAS */

.latest-image-wrap {
    position: relative;
}

.latest-image-wrap img {
    display: block;
}

.latest-category {
    position: absolute;

    left: 12px;
    bottom: -11px;

    z-index: 3;

    padding: 5px 8px;

    box-shadow:
        0 2px 4px rgba(0,0,0,.15);
}

.latest-body {
    padding-top: 23px;
}

.latest-body small {
    margin-top: 0;
}

.latest-card {
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.latest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(30,56,62,.10);
}


/* TE LO HAS PERDIDO */

.missed-home {
    padding-top: 3px;
}

.home-missed-grid {
    gap: 0;
    background: white;
}

.home-missed-card {
    min-width: 0;
    padding: 0 14px;

    border-right: 1px solid #e5e9ea;
}

.home-missed-card:first-child {
    padding-left: 0;
}

.home-missed-card:last-child {
    padding-right: 0;
    border-right: 0;
}

.home-missed-card a {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}

.home-missed-card img {
    width: 102px;
    height: 82px;
    border-radius: 5px;
}

.home-missed-card h3 {
    margin: 5px 0 8px;
    font-size: 12.5px;
    line-height: 1.25;
}

.home-missed-card small {
    font-size: 8.5px;
}

.home-mini-category {
    padding: 0;
    background: transparent;
    color: var(--petrol);

    font-size: 8px;
}


/* RESULTADOS DEL ARCHIVO */

.archive-results {
    margin-bottom: 26px;
    padding: 22px;

    background: white;
    border: 1px solid var(--line);
}

.archive-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.archive-result-card {
    border: 1px solid var(--line);
    background: white;
}

.archive-result-card img {
    display: block;
    width: 100%;
    height: 145px;
    object-fit: cover;
}

.archive-result-card div {
    padding: 12px;
}

.archive-result-card small {
    color: var(--muted);
    font-size: 9px;
}

.archive-result-card h3 {
    margin: 7px 0 0;
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.2;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .header-brand img {
        width: 310px;
    }

    .archive-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {

    .header-brand img {
        width: 255px;
    }

    .header-tagline {
        margin-top: 8px;
        font-size: 15px;
    }

    .archive-results-grid {
        grid-template-columns: 1fr;
    }

    .home-missed-card {
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid #e5e9ea;
    }
}


/* =========================================================
   TE LO HAS PERDIDO - MAQUETA DEFINITIVA
   ========================================================= */

.home-missed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;

    background: transparent;
}

.home-missed-card {
    min-width: 0;
    padding: 0;

    border: 0;
    background: transparent;
}

.home-missed-card:first-child,
.home-missed-card:last-child {
    padding: 0;
}

.home-missed-card a {
    height: 108px;

    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;

    align-items: stretch;
}

.home-missed-card img {
    width: 120px;
    height: 108px;

    border-radius: 5px;

    object-fit: cover;
}

.home-missed-card a > div {
    min-width: 0;
    height: 108px;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}

.home-mini-category {
    flex: 0 0 auto;

    margin: 0 0 4px;

    padding: 0;

    background: transparent;
    color: var(--petrol);

    font-size: 9px;
    line-height: 1.1;
    font-weight: 800;
}

.home-missed-card h3 {
    margin: 0;

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

    overflow: hidden;

    color: #17252a;

    font-size: 13px;
    line-height: 1.18;
    font-weight: 700;
}

.home-missed-card small {
    margin-top: auto;

    color: var(--muted);

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


/* ARCHIVO MÁS COMPACTO COMO EN LA MAQUETA */

.archive-recent a {
    min-height: 38px;
}

.archive-recent a span {
    display: block;
    color: #34494f;
    font-size: 12px;
}


/* TABLET */

@media (max-width: 1180px) {

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


/* MÓVIL */

@media (max-width: 620px) {

    .home-missed-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-missed-card a {
        height: 105px;
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .home-missed-card img,
    .home-missed-card a > div {
        height: 105px;
    }
}


/* =========================================================
   TE LO HAS PERDIDO - MAQUETA DEFINITIVA
   ========================================================= */

.home-missed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;

    background: transparent;
}

.home-missed-card {
    min-width: 0;
    padding: 0;

    border: 0;
    background: transparent;
}

.home-missed-card:first-child,
.home-missed-card:last-child {
    padding: 0;
}

.home-missed-card a {
    height: 108px;

    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;

    align-items: stretch;
}

.home-missed-card img {
    width: 120px;
    height: 108px;

    border-radius: 5px;

    object-fit: cover;
}

.home-missed-card a > div {
    min-width: 0;
    height: 108px;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}

.home-mini-category {
    flex: 0 0 auto;

    margin: 0 0 4px;

    padding: 0;

    background: transparent;
    color: var(--petrol);

    font-size: 9px;
    line-height: 1.1;
    font-weight: 800;
}

.home-missed-card h3 {
    margin: 0;

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

    overflow: hidden;

    color: #17252a;

    font-size: 13px;
    line-height: 1.18;
    font-weight: 700;
}

.home-missed-card small {
    margin-top: auto;

    color: var(--muted);

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


/* ARCHIVO MÁS COMPACTO COMO EN LA MAQUETA */

.archive-recent a {
    min-height: 38px;
}

.archive-recent a span {
    display: block;
    color: #34494f;
    font-size: 12px;
}


/* TABLET */

@media (max-width: 1180px) {

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


/* MÓVIL */

@media (max-width: 620px) {

    .home-missed-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-missed-card a {
        height: 105px;
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .home-missed-card img,
    .home-missed-card a > div {
        height: 105px;
    }
}


/* =========================================================
   CABECERA DEFINITIVA - ESTILO MAQUETA
   ========================================================= */

.home-header-maqueta {
    position: relative;
    overflow: hidden;

    background: #ffffff !important;
    background-image: none !important;

    border-bottom: 1px solid #dfe4e5;
}

.header-inner-maqueta {
    height: 166px;

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

    overflow: hidden;
}


/* LOGO + NOMBRE */

.header-brand-maqueta {
    position: relative;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 27px;

    min-width: 0;
}

.header-da-symbol {
    width: 145px;
    height: 145px;

    flex: 0 0 145px;

    display: block;

    object-fit: cover;

    /*
       El logo4 es azul; este giro lo acerca al
       verde petróleo de la maqueta sin perder definición.
    */
    filter:
        hue-rotate(-22deg)
        saturate(.82);
}

.header-brand-text {
    min-width: 0;
    padding-top: 2px;
}

.header-site-name {
    color: #083f49;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 64px;
    font-weight: 700;
    line-height: .96;

    letter-spacing: -2.4px;

    white-space: nowrap;
}

.header-tagline-maqueta {
    margin-top: 9px;

    color: #e87522;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;
    font-weight: 700;
    line-height: 1.1;

    white-space: nowrap;
}


/* DECORACIÓN DERECHA */

.header-landscape {
    position: absolute;

    right: 0;
    top: 0;

    width: 470px;
    height: 166px;

    overflow: hidden;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.82) 25%,
            rgba(255,255,255,.22) 75%,
            rgba(255,255,255,.02) 100%
        );
}


/* SOL */

.landscape-sun {
    position: absolute;

    right: 33px;
    bottom: 9px;

    width: 103px;
    height: 103px;

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            #ffc27a 0%,
            #ee9b4e 100%
        );

    opacity: .88;
}


/* LÍNEAS DE AGUA */

.landscape-water {
    position: absolute;

    right: 0;

    height: 2px;

    background: #557681;

    opacity: .65;
}

.water-1 {
    width: 255px;
    bottom: 48px;
}

.water-2 {
    width: 215px;
    bottom: 41px;
}


/* JUNCOS */

.landscape-reed {
    position: absolute;

    bottom: 0;

    width: 2px;

    background: #55717a;

    opacity: .43;

    transform-origin: bottom center;
}

.landscape-reed::before,
.landscape-reed::after {
    content: "";

    position: absolute;

    width: 2px;
    height: 67%;

    bottom: 4px;

    background: #55717a;

    transform-origin: bottom center;
}

.landscape-reed::before {
    transform: rotate(-24deg);
}

.landscape-reed::after {
    transform: rotate(25deg);
}

.r1 {
    right: 280px;
    height: 105px;
    transform: rotate(-17deg);
}

.r2 {
    right: 255px;
    height: 128px;
    transform: rotate(-10deg);
}

.r3 {
    right: 232px;
    height: 95px;
    transform: rotate(7deg);
}

.r4 {
    right: 207px;
    height: 119px;
    transform: rotate(12deg);
}

.r5 {
    right: 180px;
    height: 88px;
    transform: rotate(-8deg);
}

.r6 {
    right: 152px;
    height: 76px;
    transform: rotate(14deg);
}

.r7 {
    right: 126px;
    height: 91px;
    transform: rotate(18deg);
}


/* AVES */

.landscape-bird {
    position: absolute;

    width: 36px;
    height: 17px;

    fill: none;
    stroke: #456974;
    stroke-width: 3;
    stroke-linecap: round;

    opacity: .78;
}

.bird-a {
    right: 129px;
    top: 37px;
}

.bird-b {
    right: 72px;
    top: 23px;

    width: 28px;
}


/* MENÚ MÁS PRÓXIMO A LA MAQUETA */

.home-nav {
    background: #fff;
    border-bottom: 1px solid #dfe4e5;
}

.home-nav-inner {
    min-height: 65px;

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

    gap: 0;
}

.home-nav-inner a {
    min-height: 65px;

    padding: 0 17px;

    border-bottom: 4px solid transparent;

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

    color: #151d20;
}

.home-nav-inner a.active {
    color: #008080;
    border-bottom-color: #14848b;
}


/* TABLET */

@media (max-width: 1050px) {

    .header-site-name {
        font-size: 55px;
    }

    .header-da-symbol {
        width: 120px;
        height: 120px;
        flex-basis: 120px;
    }

    .header-landscape {
        width: 360px;
        opacity: .7;
    }
}


/* MÓVIL */

@media (max-width: 760px) {

    .header-inner-maqueta {
        height: 125px;
    }

    .header-brand-maqueta {
        gap: 15px;
    }

    .header-da-symbol {
        width: 92px;
        height: 92px;
        flex-basis: 92px;
    }

    .header-site-name {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .header-tagline-maqueta {
        margin-top: 5px;
        font-size: 15px;
    }

    .header-landscape {
        display: none;
    }

    .home-nav-inner {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .home-nav-inner a {
        min-height: 53px;
        padding: 0 14px;
        font-size: 11px;
    }
}


/* REVISION CABECERA MENU ICONOS 20260906 */


/* BARRA SUPERIOR */

.topbar-mini-icon {
    width: 17px;
    height: 17px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.topbar-network,
.topbar-search {
    width: 25px;
    height: 25px;

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

    color: #fff;
}

.topbar-network svg,
.topbar-search svg {
    width: 20px;
    height: 20px;
}

.top-facebook svg {
    fill: #fff;
    stroke: none;
}

.top-instagram svg,
.top-youtube svg,
.topbar-search svg {
    fill: none;
    stroke: #fff;

    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-youtube .youtube-play {
    fill: #fff;
    stroke: none;
}


/* ILUSTRACIÓN DERECHA */

.header-landscape {
    position: absolute;

    right: 0;
    top: 0;

    width: 460px;
    height: 166px;

    overflow: hidden;

    background: none !important;

    pointer-events: none;
}

.header-landscape-svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* MENÚ */

.home-nav {
    position: relative;
    z-index: 200;
}

.home-nav-inner {
    overflow: visible;
}

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

    padding: 0 17px;

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

    border: 0;
    border-bottom: 4px solid transparent;

    background: transparent;

    color: #151d20;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
    cursor: pointer;
}

.home-nav-direct.active {
    color: #008080;
    border-bottom-color: #14848b;
}

.home-nav-direct:hover,
.home-nav-trigger:hover {
    color: #078d8d;
}

.home-nav-item {
    position: relative;

    display: flex;
    align-items: stretch;
}

.home-nav-trigger {
    gap: 7px;

    appearance: none;
}

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

    fill: none;
    stroke: currentColor;

    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform .18s ease;
}

.home-nav-dropdown {
    position: absolute;

    top: 100%;
    left: 0;

    z-index: 1000;

    min-width: 265px;

    padding: 0;

    background: #202125;

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

    opacity: 0;
    visibility: hidden;

    transform: translateY(-3px);

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

.home-nav-dropdown a {
    min-height: 53px;

    padding: 0 20px;

    display: flex;
    align-items: center;

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

    background: #202125;

    color: #fff !important;

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

    white-space: nowrap;

    transition:
        background .15s ease,
        padding-left .15s ease;
}

.home-nav-dropdown a:hover {
    padding-left: 25px;

    background: #078d8d;

    color: #fff !important;
}

@media (min-width: 901px) {

    .home-nav-has-dropdown:hover > .home-nav-dropdown,
    .home-nav-has-dropdown:focus-within > .home-nav-dropdown {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .home-nav-has-dropdown:hover > .home-nav-trigger svg,
    .home-nav-has-dropdown:focus-within > .home-nav-trigger svg {
        transform: rotate(180deg);
    }
}


/* CATEGORÍAS */

.side-category-list .category-name {
    display: inline-flex;
    align-items: center;

    gap: 11px;
}

.side-category-list .category-name svg {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    fill: none;
    stroke: #075f6b;

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* TABLET / MÓVIL */

@media (max-width: 900px) {

    .home-nav-inner {
        justify-content: flex-start;

        overflow-x: auto;
        overflow-y: visible;
    }

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

        padding: 0 14px;

        font-size: 11px;
    }

    .home-nav-dropdown {
        position: fixed;

        left: 15px;
        right: 15px;

        width: auto;
        min-width: 0;
    }

    .home-nav-item.is-open > .home-nav-dropdown {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

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

@media (max-width: 760px) {

    .header-landscape {
        display: none;
    }
}


/* =========================================================
   AJUSTE CABECERA Y MENÚ 06-09-2026
   ========================================================= */

.header-landscape {
    width: 406px !important;
    height: 164px !important;

    right: 0 !important;
    top: 1px !important;

    background: none !important;
}

.header-landscape-image {
    display: block;

    width: 406px;
    height: 164px;

    object-fit: contain;
    object-position: right center;
}


/* Menú más compacto y alineado a la izquierda */

.home-nav-inner {
    justify-content: flex-start !important;
    gap: 18px !important;
}

.home-nav-direct,
.home-nav-trigger {
    padding-left: 13px !important;
    padding-right: 13px !important;
}


/* En pantallas medianas reducimos todavía más la separación */

@media (max-width: 1200px) {

    .home-nav-inner {
        gap: 7px !important;
    }

    .home-nav-direct,
    .home-nav-trigger {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Ilustración real definitiva de la cabecera */

.header-landscape {
    width: 460px !important;
    height: 166px !important;
    right: 0 !important;
    top: 0 !important;
    background: transparent !important;
}

.header-landscape-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: right center !important;
}


/* =========================================================
   TIEMPO PORTADA - TARJETA TURQUESA
   ========================================================= */

.weather-home-link {
    display: block;

    background: #008080 !important;
    color: #ffffff !important;

    text-decoration: none;

    border: 0 !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.weather-home-link:hover {
    background: #007474 !important;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 128, 128, .18);
}

.weather-home-link h2 {
    color: #ffffff !important;
}

.weather-home-link .weather-current strong,
.weather-home-link .weather-current span {
    color: #ffffff;
}

.weather-home-link .weather-sun-icon,
.weather-home-link .weather-days span {
    color: #ffd143 !important;
}

.weather-home-link .weather-days {
    border-top-color:
        rgba(255,255,255,.28) !important;
}

.weather-home-link .weather-days strong {
    color: #ffffff;
}

.weather-more {
    margin-top: 18px;
    padding-top: 13px;

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

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

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;
}

.weather-more span {
    font-size: 17px;
    transition: transform .18s ease;
}

.weather-home-link:hover .weather-more span {
    transform: translateX(4px);
}

/* Pie de página - color corporativo definitivo */
.home-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;
}

/* Enlaces redes sociales del pie */
.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}

.footer-social-link:visited,
.footer-social-link:hover,
.footer-social-link:focus {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   PORTADA · MÓVIL DEFINITIVO
   Cabecera + menú acordeón + hero
   ========================================================= */


/* En escritorio nunca mostramos el botón hamburguesa */

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


/* =========================================================
   TABLET / MÓVIL
   ========================================================= */

@media (max-width: 900px) {


    /* -----------------------------------------------------
       MENÚ PRINCIPAL MÓVIL
       ----------------------------------------------------- */

    .home-nav {
        position: relative;
        z-index: 900;

        background: #ffffff !important;

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


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

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

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


    .home-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;
    }


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

        position: relative;

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


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

        display: block;

        border-radius: 2px;

        background: #ffffff;

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


    /* Hamburguesa -> X */

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

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

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


    /* Menú cerrado */

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

        width: 100% !important;
        max-width: none !important;

        padding: 0 !important;

        overflow: visible !important;
    }


    /* Menú abierto */

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

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

        border-top: 1px solid #e4e9e9;
    }


    /* Elementos principales */

    .home-nav-direct,
    .home-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;
    }


    .home-nav-direct.active {
        color: #008080 !important;

        box-shadow:
            inset 4px 0 0 #008080;
    }


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


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

        display: block !important;
    }


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

        flex: 0 0 auto;
    }


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

    .home-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;
    }


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


    .home-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;
    }


    .home-nav-dropdown a:hover {
        padding-left: 42px !important;

        background: #008080 !important;
        color: #ffffff !important;
    }


    .home-nav-item.is-open
    > .home-nav-trigger {
        color: #008080 !important;

        background: #f3f9f9 !important;
    }


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

}


/* =========================================================
   CABECERA MÓVIL
   ========================================================= */

@media (max-width: 760px) {


    .home-header-maqueta {
        min-height: 0 !important;
        height: auto !important;

        overflow: hidden !important;

        background: #ffffff !important;
    }


    .header-inner-maqueta {
        width: 100% !important;
        min-height: 132px !important;
        height: auto !important;

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

        padding: 17px 15px !important;

        overflow: hidden !important;
    }


    .header-brand-maqueta {
        width: 100% !important;
        max-width: 100% !important;

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

        gap: 13px !important;

        min-width: 0 !important;
    }


    .header-da-symbol {
        width: 82px !important;
        height: 82px !important;

        max-width: 82px !important;

        flex: 0 0 82px !important;

        object-fit: contain !important;
    }


    .header-brand-text {
        min-width: 0 !important;

        width: calc(100% - 95px) !important;
        max-width: calc(100% - 95px) !important;

        overflow: visible !important;
    }


    .header-site-name {
        margin: 0 !important;

        color: #07535d !important;

        font-family:
            Georgia,
            "Times New Roman",
            serif !important;

        font-size:
            clamp(30px, 8vw, 40px) !important;

        font-weight: 700 !important;
        line-height: .98 !important;

        letter-spacing: -1.2px !important;

        white-space: nowrap !important;

        overflow: visible !important;
        text-overflow: clip !important;
    }


    .header-tagline-maqueta {
        width: 100% !important;
        max-width: 100% !important;

        margin-top: 5px !important;

        color: #e56f21 !important;

        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.14 !important;

        white-space: normal !important;

        overflow: visible !important;
    }


    /* La ilustración lateral no aporta en móvil
       y es la que roba anchura a la marca. */

    .header-landscape {
        display: none !important;
    }


    /* -----------------------------------------------------
       HERO / CARRUSEL
       ----------------------------------------------------- */

    .hero-slider {
        height: 420px !important;
        min-height: 420px !important;

        overflow: hidden !important;
    }


    .hero-slide,
    .hero-slide > a {
        height: 100% !important;
        min-height: 420px !important;
    }


    .hero-slide-image {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover !important;
    }


    .hero-slide-content {
        left: 23px !important;
        right: 23px !important;
        bottom: 25px !important;

        width: auto !important;
        max-width: none !important;

        padding: 0 !important;
    }


    .hero-slide-content h1 {
        margin:
            8px 0
            10px !important;

        font-size:
            clamp(27px, 7.5vw, 34px) !important;

        line-height: 1.03 !important;

        letter-spacing: -.5px !important;

        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 5 !important;

        overflow: hidden !important;

        text-wrap: balance;
    }


    .hero-excerpt {
        max-width: 100% !important;

        font-size: 14px !important;
        line-height: 1.35 !important;

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

        overflow: hidden !important;
    }


    .hero-meta {
        margin-top: 9px !important;

        font-size: 10px !important;
        line-height: 1.2 !important;
    }


    .hero-slide-content
    .home-category {
        padding: 4px 7px !important;

        font-size: 9px !important;
    }


    .slider-dots {
        bottom: 12px !important;
    }

}


/* Teléfonos estrechos */

@media (max-width: 420px) {

    .header-inner-maqueta {
        min-height: 116px !important;

        padding:
            14px 12px !important;
    }


    .header-da-symbol {
        width: 70px !important;
        height: 70px !important;

        max-width: 70px !important;

        flex-basis: 70px !important;
    }


    .header-brand-text {
        width: calc(100% - 82px) !important;
        max-width: calc(100% - 82px) !important;
    }


    .header-site-name {
        font-size: 29px !important;

        letter-spacing: -1px !important;
    }


    .header-tagline-maqueta {
        font-size: 12.5px !important;
    }


    .hero-slider,
    .hero-slide,
    .hero-slide > a {
        height: 400px !important;
        min-height: 400px !important;
    }


    .hero-slide-content {
        left: 18px !important;
        right: 18px !important;
        bottom: 22px !important;
    }


    .hero-slide-content h1 {
        font-size: 27px !important;

        -webkit-line-clamp: 5 !important;
    }


    .hero-excerpt {
        font-size: 13px !important;
    }

}


/* DOÑANA ACTUAL: submenus portada alineados izquierda */

.home-nav-dropdown a {
    justify-content: flex-start !important;
    text-align: left !important;
}


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

@media (max-width: 760px) {

    /* Texto normal de las tarjetas de portada */
    .home-main p {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }

    /* Titulares de noticias */
    .latest-grid h2,
    .latest-grid h3,
    .featured-grid h2,
    .featured-grid h3 {
        font-size: 19px !important;
        line-height: 1.2 !important;
    }

    .home-missed-grid h2,
    .home-missed-grid h3 {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
}



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

@media (max-width: 760px) {

    .latest-grid h2,
    .latest-grid h3,
    .featured-grid h2,
    .featured-grid h3 {
        font-size: 22px !important;
        line-height: 1.22 !important;
    }

    .home-missed-grid h2,
    .home-missed-grid h3 {
        font-size: 20px !important;
        line-height: 1.24 !important;
    }

    .latest-grid p,
    .featured-grid p,
    .home-missed-grid p {
        font-size: 17px !important;
        line-height: 1.55 !important;
    }
}


/* =========================================================
   DOÑANA ACTUAL · PORTADA MÓVIL · TE LO HAS PERDIDO
   ========================================================= */

@media (max-width: 760px) {

    /* Tarjetas del bloque "Te lo has perdido" */
    .home-missed-grid .missed-card,
    .missed-grid .missed-card,
    .home-missed-grid article,
    .missed-grid article {
        align-items: flex-start !important;
        gap: 14px !important;
    }

    /* Título: máximo 3 líneas, sin que se corte la última */
    .home-missed-grid .missed-content h2,
    .home-missed-grid .missed-content h3,
    .missed-grid .missed-content h2,
    .missed-grid .missed-content h3 {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
        overflow: hidden !important;

        font-size: 18px !important;
        line-height: 1.22 !important;
        margin: 0 0 10px 0 !important;
        max-height: calc(1.22em * 3) !important;
    }

    /* Fecha y textos pequeños del bloque */
    .home-missed-grid .missed-content time,
    .home-missed-grid .missed-content .date,
    .home-missed-grid .missed-content .meta,
    .missed-grid .missed-content time,
    .missed-grid .missed-content .date,
    .missed-grid .missed-content .meta {
        display: block !important;
        margin-top: 6px !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
    }

    /* Categoría */
    .home-missed-grid .missed-content .category,
    .missed-grid .missed-content .category {
        font-size: 15px !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
    }

    /* Excerpt/párrafo si alguna tarjeta lo usa */
    .home-missed-grid .missed-content p,
    .missed-grid .missed-content p {
        font-size: 16px !important;
        line-height: 1.55 !important;
        margin-top: 8px !important;
    }
}


/* =========================================================
   TE LO HAS PERDIDO · METADATOS MÓVIL · REMATE
   ========================================================= */

@media (max-width: 760px) {

    /* Categoría real de estas tarjetas */
    .home-missed-card .home-mini-category {
        font-size: 14px !important;
        line-height: 1.25 !important;
        padding: 4px 7px !important;
        margin-bottom: 7px !important;
    }

    /* Fecha real: <small> directo dentro del contenido */
    .home-missed-card > a > div > small {
        display: block !important;
        margin-top: 9px !important;

        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    /* El título NO se modifica */
}


/* =========================================================
   PORTADA · CATEGORÍAS / ARCHIVO · SOLO MÓVIL
   ========================================================= */

@media (max-width: 760px) {

    /* Títulos de los módulos */
    .home-side-box > h2 {
        font-size: 20px !important;
        line-height: 1.25 !important;
        padding: 13px 16px !important;
    }

    /* ACTUALIDAD + CATEGORÍAS */
    .side-category-list a {
        min-height: 48px !important;
        padding: 12px 15px !important;

        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    .side-category-list .category-name,
    .side-category-list .category-name * {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    .side-category-list .category-name svg {
        width: 21px !important;
        height: 21px !important;
        flex: 0 0 21px !important;
    }

    /* ARCHIVO */
    .archive-recent a {
        min-height: 48px !important;
        padding: 12px 15px !important;

        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    .archive-recent a span {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    .archive-recent svg {
        width: 21px !important;
        height: 21px !important;
        flex: 0 0 21px !important;
    }

    /* Selector "Ver otros meses..." */
    .archive-box select {
        min-height: 46px !important;

        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}


/* =========================================================
   PORTADA · ÚLTIMAS NOTICIAS · FECHA MÓVIL
   ========================================================= */

@media (max-width: 760px) {

    .latest-body small,
    .latest-body time {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}


/* ==========================================================
   TEMAS DEL DIA - MARQUESINA MOVIL
   ========================================================== */

.topics-marquee {
    flex: 1;
    min-width: 0;
}

.topics-track,
.topics-set {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topics-set {
    flex: 0 0 auto;
}

.topics-set-clone {
    display: none;
}


@media (max-width: 620px) {

    .topics-inner {
        min-height: 0;
        padding-top: 13px;
        padding-bottom: 13px;

        flex-direction: column;
        align-items: stretch;
        gap: 10px;

        overflow: hidden;
    }

    .topics-title {
        display: block;
        width: 100%;

        font-size: 14px;
        line-height: 1.3;

        white-space: nowrap;
    }

    .topics-marquee {
        width: 100%;
        overflow: hidden;
    }

    .topics-track {
        width: max-content;
        gap: 0;

        animation:
            da-topics-marquee 26s linear infinite;

        will-change: transform;
    }

    .topics-set {
        gap: 10px;
        padding-right: 10px;
    }

    .topics-set-clone {
        display: flex;
    }

    .topics-inner a {
        flex: 0 0 auto;

        padding: 9px 18px;

        font-size: 12px;

        white-space: nowrap;
    }

    @keyframes da-topics-marquee {

        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-50%);
        }
    }
}


/* Accesibilidad: sin movimiento automático si el usuario lo solicita */
@media (max-width: 620px) and (prefers-reduced-motion: reduce) {

    .topics-marquee {
        overflow-x: auto;
    }

    .topics-track {
        animation: none;
    }

    .topics-set-clone {
        display: none;
    }
}
