/* =========================================================
   DEPORMANIACOS CORE 0.3.0
   ========================================================= */

.dm-home-hero,
.dm-breaking,
.dm-latest {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO */

.dm-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 24px;
}

.dm-home-hero__principal,
.dm-home-hero__destacada {
    min-width: 0;
}

.dm-home-hero__principal-image,
.dm-home-hero__destacada-image,
.dm-latest__image {
    display: block;
    overflow: hidden;
    background: #eef1f3;
}

.dm-home-hero__principal-image,
.dm-home-hero__destacada-image {
    aspect-ratio: 16 / 9;
}

.dm-home-hero__principal-image img,
.dm-home-hero__destacada-image img,
.dm-latest__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-home-hero__principal-content {
    padding-top: 12px;
}

.dm-home-hero__destacada-content {
    padding-top: 9px;
}

.dm-home-hero__category,
.dm-latest__category {
    margin-bottom: 7px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dm-home-hero__principal-title {
    margin: 0;
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.05;
    font-weight: 800;
}

.dm-home-hero__destacada-title {
    margin: 0;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 750;
}

.dm-home-hero__principal-title a,
.dm-home-hero__destacada-title a,
.dm-latest__title a,
.dm-section-heading__link {
    color: inherit;
    text-decoration: none;
}

.dm-home-hero__excerpt {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.dm-home-hero__destacadas {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* BREAKING */

.dm-breaking {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    min-height: 42px;
    border-top: 1px solid rgba(0, 0, 0, .10);
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.dm-breaking__label {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding-right: 18px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.dm-breaking__icon {
    font-size: 15px;
}

.dm-breaking__news {
    position: relative;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.dm-breaking__item {
    display: none !important;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dm-breaking__item.is-active {
    display: block !important;
}

/* ÚLTIMAS NOTICIAS */

.dm-latest {
    margin-top: 42px;
}

.dm-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #2e6f22;
}

.dm-section-heading__title {
    margin: 0;
    font-size: 27px;
    line-height: 1.05;
    font-weight: 800;
}

.dm-section-heading__link {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.dm-latest__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
}

.dm-latest__item {
    min-width: 0;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.dm-latest__image {
    width: 190px;
    aspect-ratio: 4 / 3;
}

.dm-latest__content {
    min-width: 0;
}

.dm-latest__category {
    margin-bottom: 5px;
    font-size: 10px;
}

.dm-latest__title {
    margin: 0;
    font-size: 19px;
    line-height: 1.18;
    font-weight: 800;
}

.dm-latest__meta {
    margin-top: 9px;
    font-size: 11px;
    opacity: .68;
}

/* Placeholder publicitario:
   en 0.6 será reemplazado por el administrador real de anuncios */

.dm-ad-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, .42);
    background: rgba(0, 0, 0, .035);
    border: 1px dashed rgba(0, 0, 0, .14);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dm-ad-placeholder--desktop {
    height: 120px;
    margin-top: 34px;
}

.dm-ad-placeholder--mobile {
    display: none;
}

/* TABLET */

@media (max-width: 900px) {
    .dm-home-hero {
        grid-template-columns: 1fr;
    }

    .dm-home-hero__destacadas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .dm-latest__grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .dm-home-hero {
        display: block;
        width: 100%;
    }

    .dm-home-hero__principal-content {
        padding-top: 10px;
    }

    .dm-home-hero__principal-title {
        font-size: 28px;
        line-height: 1.08;
    }

    .dm-home-hero__excerpt {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.45;
    }

    .dm-home-hero__destacadas {
        display: block;
        margin-top: 20px;
    }

    .dm-home-hero__destacada {
        display: grid;
        grid-template-columns: 130px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
        padding: 16px 0;
        margin: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

    .dm-home-hero__destacada:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    }

    .dm-home-hero__destacada-image {
        width: 130px;
        aspect-ratio: 4 / 3;
    }

    .dm-home-hero__destacada-content {
        padding: 0;
    }

    .dm-home-hero__destacada-title {
        font-size: 18px;
        line-height: 1.15;
    }

    .dm-home-hero__category {
        margin-bottom: 6px;
        font-size: 10px;
    }

    .dm-breaking {
        margin-bottom: 18px;
        min-height: 38px;
    }

    .dm-breaking__label {
        padding-right: 10px;
        font-size: 10px;
    }

    .dm-breaking__icon {
        font-size: 13px;
    }

    .dm-breaking__item {
        font-size: 12px;
    }

    .dm-latest {
        margin-top: 34px;
    }

    .dm-section-heading {
        margin-bottom: 10px;
    }

    .dm-section-heading__title {
        font-size: 23px;
    }

    .dm-section-heading__link {
        font-size: 11px;
    }

    .dm-latest__grid {
        display: block;
    }

    .dm-latest__item {
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 0;
    }

    .dm-latest__image {
        width: 118px;
        aspect-ratio: 4 / 3;
    }

    .dm-latest__title {
        font-size: 17px;
        line-height: 1.17;
    }

    .dm-latest__meta {
        margin-top: 6px;
        font-size: 10px;
    }

    .dm-ad-placeholder--desktop {
        display: none;
    }

    .dm-ad-placeholder--mobile {
        display: flex;
        height: 170px;
        margin: 22px 0;
    }
}


/* =========================================================
   0.4.0 — SECCIONES AUTOMÁTICAS POR CATEGORÍA
   ========================================================= */

.dm-category-sections {
    width: 100%;
    max-width: 1280px;
    margin: 46px auto 0;
}

.dm-category-section {
    margin-top: 46px;
}

.dm-category-section:first-child {
    margin-top: 0;
}

.dm-category-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, .85fr);
    gap: 24px;
}

.dm-category-story {
    min-width: 0;
}

.dm-category-story__image {
    display: block;
    overflow: hidden;
    background: #eef1f3;
}

.dm-category-story__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-category-story--lead {
    grid-row: span 2;
}

.dm-category-story--lead .dm-category-story__image {
    aspect-ratio: 16 / 9;
}

.dm-category-story--secondary {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.dm-category-story--secondary .dm-category-story__image {
    width: 145px;
    aspect-ratio: 4 / 3;
}

.dm-category-story__content {
    min-width: 0;
    padding-top: 10px;
}

.dm-category-story--secondary .dm-category-story__content {
    padding-top: 0;
}

.dm-category-story__title {
    margin: 0;
    font-size: 19px;
    line-height: 1.16;
    font-weight: 800;
}

.dm-category-story--lead .dm-category-story__title {
    font-size: 28px;
    line-height: 1.08;
}

.dm-category-story__title a {
    color: inherit;
    text-decoration: none;
}

.dm-category-story__excerpt {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.45;
}

.dm-category-story__meta {
    margin-top: 8px;
    font-size: 10px;
    opacity: .65;
}

/* Amateur: tres tarjetas para variar el ritmo editorial */
.dm-category-section--cards .dm-category-section__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dm-category-section--cards .dm-category-story,
.dm-category-section--cards .dm-category-story--lead,
.dm-category-section--cards .dm-category-story--secondary {
    display: block;
    grid-row: auto;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.dm-category-section--cards .dm-category-story__image,
.dm-category-section--cards .dm-category-story--lead .dm-category-story__image,
.dm-category-section--cards .dm-category-story--secondary .dm-category-story__image {
    width: 100%;
    aspect-ratio: 16 / 10;
}

.dm-category-section--cards .dm-category-story__content {
    padding-top: 10px;
}

.dm-category-section--cards .dm-category-story__title,
.dm-category-section--cards .dm-category-story--lead .dm-category-story__title {
    font-size: 19px;
    line-height: 1.16;
}

.dm-category-section--cards .dm-category-story__excerpt {
    display: none;
}

.dm-ad-placeholder--section {
    height: 120px;
    margin: 44px 0;
}

@media (max-width: 900px) {
    .dm-category-section__grid,
    .dm-category-section--cards .dm-category-section__grid {
        grid-template-columns: 1fr;
    }

    .dm-category-story--lead {
        grid-row: auto;
    }
}

@media (max-width: 767px) {
    .dm-category-sections {
        margin-top: 36px;
    }

    .dm-category-section {
        margin-top: 38px;
    }

    .dm-category-section__grid,
    .dm-category-section--cards .dm-category-section__grid {
        display: block;
    }

    .dm-category-story--lead {
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, .10);
    }

    .dm-category-story--lead .dm-category-story__title {
        font-size: 23px;
        line-height: 1.1;
    }

    .dm-category-story__excerpt {
        font-size: 13px;
    }

    .dm-category-story--secondary,
    .dm-category-section--cards .dm-category-story,
    .dm-category-section--cards .dm-category-story--secondary,
    .dm-category-section--cards .dm-category-story--lead {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 14px 0;
        border-bottom: 1px solid rgba(0, 0, 0, .10);
    }

    .dm-category-story--secondary .dm-category-story__image,
    .dm-category-section--cards .dm-category-story__image,
    .dm-category-section--cards .dm-category-story--secondary .dm-category-story__image,
    .dm-category-section--cards .dm-category-story--lead .dm-category-story__image {
        width: 118px;
        aspect-ratio: 4 / 3;
    }

    .dm-category-story--secondary .dm-category-story__content,
    .dm-category-section--cards .dm-category-story__content {
        padding-top: 0;
    }

    .dm-category-story__title,
    .dm-category-story--secondary .dm-category-story__title,
    .dm-category-section--cards .dm-category-story__title,
    .dm-category-section--cards .dm-category-story--lead .dm-category-story__title {
        font-size: 17px;
        line-height: 1.17;
    }

    .dm-category-section--cards .dm-category-story__excerpt {
        display: none;
    }

    .dm-ad-placeholder--section {
        height: 170px;
        margin: 28px 0;
    }
}


/* =========================================================
   0.5.0 — DEDUPLICACIÓN + SECCIONES COMPACTAS
   ========================================================= */

.dm-compact-section {
    margin-top: 44px;
}

.dm-section-heading--compact {
    margin-bottom: 16px;
}

.dm-compact-section__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.dm-compact-story {
    min-width: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.dm-compact-story__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef1f3;
}

.dm-compact-story__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-compact-story__content {
    padding-top: 9px;
}

.dm-compact-story__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.16;
    font-weight: 800;
}

.dm-compact-story__title a {
    color: inherit;
    text-decoration: none;
}

.dm-compact-story__meta {
    margin-top: 7px;
    font-size: 10px;
    opacity: .65;
}

.dm-ad-placeholder--compact-gap {
    margin-top: 38px;
    margin-bottom: 38px;
}

@media (max-width: 900px) {
    .dm-compact-section__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .dm-compact-section {
        margin-top: 36px;
    }

    .dm-compact-section__grid {
        display: block;
    }

    .dm-compact-story {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 14px 0;
    }

    .dm-compact-story__image {
        width: 118px;
        aspect-ratio: 4 / 3;
    }

    .dm-compact-story__content {
        padding-top: 0;
    }

    .dm-compact-story__title {
        font-size: 17px;
        line-height: 1.17;
    }

    .dm-ad-placeholder--compact-gap {
        margin-top: 28px;
        margin-bottom: 28px;
    }
}


/* 0.6.0 */
.dm-ad-placeholder--home-separator {
    width: 100%;
    max-width: 1280px;
    margin: 34px auto 0;
}


/* =========================================================
   0.7.0 — PUBLICIDAD REAL
   ========================================================= */

.dm-ad {
    width: 100%;
    max-width: 1280px;
    margin: 36px auto;
    text-align: center;
}

.dm-ad a,
.dm-ad picture {
    display: block;
}

.dm-ad img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .dm-ad {
        margin: 26px auto;
    }

    .dm-ad img {
        max-height: none;
    }
}


/* =========================================================
   0.7.1 — ESPACIO COMERCIAL VACÍO
   ========================================================= */

.dm-ad--house {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 22px;
    border: 1px dashed rgba(0, 0, 0, .18);
    background: rgba(0, 0, 0, .025);
    text-align: center;
}

.dm-ad-house__title {
    font-size: 14px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .08em;
}

.dm-ad-house__text {
    font-size: 12px;
    line-height: 1.35;
    opacity: .62;
}

@media (max-width: 767px) {
    .dm-ad--house {
        min-height: 150px;
        padding: 24px 18px;
    }

    .dm-ad-house__title {
        font-size: 15px;
    }

    .dm-ad-house__text {
        font-size: 12px;
    }
}


/* =========================================================
   0.8.0 — FORMATOS PUBLICITARIOS
   ========================================================= */

.dm-ad-group-front {
    width: 100%;
    max-width: 1280px;
    margin: 38px auto;
}

.dm-ad-slot {
    min-width: 0;
}

.dm-ad-slot a,
.dm-ad-slot picture {
    display: block;
}

.dm-ad-slot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dm-ad-slot--house {
    display: flex;
    min-height: 120px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 20px;
    border: 1px dashed rgba(0,0,0,.18);
    background: rgba(0,0,0,.025);
    text-align: center;
}

.dm-ad-group-front--premium .dm-ad-slot {
    aspect-ratio: 1200 / 250;
    max-height: 250px;
}

.dm-ad-group-front--double {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.dm-ad-group-front--double .dm-ad-slot {
    aspect-ratio: 580 / 180;
}

.dm-ad-group-front--mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dm-ad-group-front--mosaic .dm-ad-slot {
    aspect-ratio: 1 / 1;
}

@media (max-width: 767px) {
    .dm-ad-group-front {
        margin: 28px auto;
    }

    .dm-ad-group-front--premium .dm-ad-slot {
        aspect-ratio: 600 / 300;
        max-height: none;
    }

    .dm-ad-group-front--double {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dm-ad-group-front--double .dm-ad-slot {
        aspect-ratio: 600 / 250;
    }

    .dm-ad-group-front--mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .dm-ad-slot--house {
        min-height: 0;
        padding: 12px 8px;
    }

    .dm-ad-group-front--mosaic .dm-ad-house__title {
        font-size: 11px;
    }

    .dm-ad-group-front--mosaic .dm-ad-house__text {
        font-size: 9px;
    }
}


/* =========================================================
   1.1.0 — IDENTIDAD EDITORIAL PERSONALIZABLE
   La portada gana contraste sin convertir cada tarjeta en
   un bloque de color. Los colores provienen de variables
   configurables por cada medio.
   ========================================================= */

:root {
    --dm-primary: #2e6f22;
    --dm-secondary: #d86f26;
    --dm-dark: #24344a;
    --dm-soft: #eef2f5;
}

/* Títulos y divisores de secciones */
.dm-home h2,
.dm-section-title,
.dm-latest-title {
    color: var(--dm-dark);
}

.dm-section-header,
.dm-latest-header {
    border-bottom-color: var(--dm-primary) !important;
}

.dm-section-header::before,
.dm-latest-header::before {
    background: var(--dm-primary);
}

/* Microacentos editoriales */
.dm-home a:hover {
    color: var(--dm-primary);
}

.dm-home .dm-category,
.dm-home .dm-card-category,
.dm-home .dm-post-category {
    color: var(--dm-primary);
}

.dm-home .dm-view-more,
.dm-home .dm-section-more {
    color: var(--dm-dark);
}

.dm-home .dm-view-more:hover,
.dm-home .dm-section-more:hover {
    color: var(--dm-secondary);
}

/* Último momento: más presencia de marca */
.dm-breaking,
.dm-breaking-news,
.dm-breaking-bar {
    border-left: 4px solid var(--dm-secondary);
    background: var(--dm-soft);
}

.dm-breaking strong,
.dm-breaking-news strong,
.dm-breaking-bar strong {
    color: var(--dm-primary);
}

/* Publicidad vacía integrada a la identidad */
.dm-ad-slot--house {
    border-color: color-mix(in srgb, var(--dm-primary) 28%, transparent);
    background: var(--dm-soft);
}

.dm-ad-house__title {
    color: var(--dm-primary);
}

.dm-ad-house__text {
    color: var(--dm-dark);
}

/* Jerarquía en noticias principales */
.dm-home .dm-hero-title,
.dm-home .dm-main-title {
    color: var(--dm-dark);
}

.dm-home .dm-hero-title a:hover,
.dm-home .dm-main-title a:hover {
    color: var(--dm-primary);
}

/* Línea editorial sutil al inicio de cada gran bloque */
.dm-home section {
    --dm-section-accent: var(--dm-primary);
}

/* El naranja queda como segundo acento, no como color dominante */
.dm-home .dm-accent-secondary {
    color: var(--dm-secondary);
}

@supports not (color: color-mix(in srgb, black 50%, white)) {
    .dm-ad-slot--house {
        border-color: var(--dm-primary);
    }
}


/* =========================================================
   1.2.0 — PORTADA EDITORIAL
   Más identidad y jerarquía usando la paleta configurable.
   ========================================================= */

/* Cada sección gana una cabecera editorial reconocible */
.dm-home .dm-section-header,
.dm-home .dm-latest-header {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 38px;
    margin-bottom: 14px;
    padding: 0 10px 0 14px;
    border-top: 1px solid var(--dm-primary);
    border-bottom: 1px solid rgba(36, 52, 74, .12) !important;
    background: linear-gradient(90deg, var(--dm-soft) 0%, rgba(255,255,255,0) 72%);
}

.dm-home .dm-section-header::before,
.dm-home .dm-latest-header::before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: 0;
    width: 4px;
    background: var(--dm-primary);
}

.dm-home .dm-section-header h2,
.dm-home .dm-latest-header h2,
.dm-home .dm-section-title,
.dm-home .dm-latest-title {
    margin: 0;
    color: var(--dm-dark);
    font-weight: 800;
    letter-spacing: -.02em;
}

/* “Ver más” se siente como acción editorial */
.dm-home .dm-view-more,
.dm-home .dm-section-more {
    margin-left: auto;
    color: var(--dm-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Último momento: banda con identidad, sin ocupar demasiado */
.dm-breaking,
.dm-breaking-news,
.dm-breaking-bar {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(36,52,74,.08);
    border-left: 4px solid var(--dm-secondary);
    background: var(--dm-soft);
}

.dm-breaking::after,
.dm-breaking-news::after,
.dm-breaking-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: var(--dm-primary);
    opacity: .9;
}

/* Categorías/eyebrows con más presencia */
.dm-home .dm-category,
.dm-home .dm-card-category,
.dm-home .dm-post-category {
    color: var(--dm-primary);
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

/* Separadores de noticias más limpios */
.dm-home article,
.dm-home .dm-latest-item,
.dm-home .dm-card {
    border-bottom-color: rgba(36,52,74,.12);
}

/* Hero: un acento visual que refuerza jerarquía */
.dm-home .dm-hero-title,
.dm-home .dm-main-title {
    position: relative;
}

.dm-home .dm-hero-title::after,
.dm-home .dm-main-title::after {
    content: "";
    display: block;
    width: 54px;
    height: 4px;
    margin-top: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dm-primary) 0 68%, var(--dm-secondary) 68% 100%);
}

/* Publicidad propia: claramente identificable, pero integrada */
.dm-ad-slot--house {
    position: relative;
    border: 1px dashed rgba(46,111,34,.28);
    background:
        linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.15)),
        var(--dm-soft);
}

.dm-ad-slot--house::before {
    content: "ESPACIO COMERCIAL";
    position: absolute;
    top: 9px;
    left: 10px;
    color: var(--dm-dark);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    opacity: .45;
}

/* Desktop: respiración entre grandes módulos */
@media (min-width: 768px) {
    .dm-home .dm-section {
        margin-top: 28px;
    }
}

/* Mobile: mantener identidad sin sumar altura innecesaria */
@media (max-width: 767px) {
    .dm-home .dm-section-header,
    .dm-home .dm-latest-header {
        min-height: 34px;
        margin-bottom: 10px;
        padding-left: 11px;
    }

    .dm-home .dm-section-header::before,
    .dm-home .dm-latest-header::before {
        width: 3px;
    }

    .dm-home .dm-hero-title::after,
    .dm-home .dm-main-title::after {
        width: 42px;
        height: 3px;
        margin-top: 7px;
    }

    .dm-ad-slot--house::before {
        top: 6px;
        left: 7px;
        font-size: 7px;
    }
}

/* =========================================================
   1.3.0 — RITMO EDITORIAL / GRILLA DEPORTIVA
   Inspiración de medios deportivos modernos: más densidad,
   mejor jerarquía, módulos variados y menos sensación de
   “tarjetas repetidas”. No replica ningún sitio externo.
   ========================================================= */

/* Base general de la portada */
.dm-home-hero,
.dm-breaking,
.dm-latest,
.dm-category-sections,
.dm-ad-group-front {
    max-width: 1320px;
}

/* Último momento: más fino y periodístico */
.dm-breaking {
    min-height: 36px;
    margin-bottom: 18px;
    padding: 0 12px;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(36,52,74,.12);
    border-left: 3px solid var(--dm-secondary);
    background: linear-gradient(90deg, var(--dm-soft), #fff 68%);
}

.dm-breaking__label {
    padding-right: 14px;
    color: var(--dm-dark);
    font-size: 10px;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.dm-breaking__item {
    font-size: 12.5px;
    font-weight: 650;
}

/* HERO: principal dominante + columna lateral más compacta */
@media (min-width: 901px) {
    .dm-home-hero {
        grid-template-columns: minmax(0, 2.25fr) minmax(290px, .85fr);
        gap: 22px;
        align-items: start;
    }

    .dm-home-hero__principal-image {
        aspect-ratio: 16 / 8.7;
    }

    .dm-home-hero__destacadas {
        display: grid;
        grid-template-rows: repeat(2, auto);
        gap: 16px;
    }

    .dm-home-hero__destacada {
        display: grid;
        grid-template-columns: 42% minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(36,52,74,.13);
    }

    .dm-home-hero__destacada-image {
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .dm-home-hero__destacada-content {
        padding-top: 0;
    }

    .dm-home-hero__destacada-title {
        font-size: 17px;
        line-height: 1.12;
        letter-spacing: -.018em;
    }

    .dm-home-hero__destacada .dm-home-hero__category {
        margin-bottom: 5px;
        font-size: 9px;
    }
}

.dm-home-hero__principal-content {
    padding-top: 10px;
}

.dm-home-hero__principal-title {
    max-width: 920px;
    color: var(--dm-dark);
    font-size: clamp(31px, 3.15vw, 48px);
    line-height: 1.01;
    letter-spacing: -.032em;
}

.dm-home-hero__principal-title::after {
    content: "";
    display: block;
    width: 62px;
    height: 4px;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--dm-primary) 0 72%, var(--dm-secondary) 72% 100%);
}

.dm-home-hero__excerpt {
    max-width: 820px;
    margin-top: 11px;
    color: rgba(36,52,74,.78);
    font-size: 14.5px;
    line-height: 1.43;
}

.dm-home-hero__category,
.dm-latest__category {
    color: var(--dm-primary);
    font-weight: 850;
    letter-spacing: .045em;
}

/* Encabezados REALES usados por el shortcode */
.dm-section-heading {
    position: relative;
    align-items: center;
    min-height: 40px;
    margin-bottom: 14px;
    padding: 8px 0 7px;
    border-top: 2px solid var(--dm-primary);
    border-bottom: 1px solid rgba(36,52,74,.13);
    background: transparent;
}

.dm-section-heading::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 58px;
    height: 4px;
    background: var(--dm-secondary);
}

.dm-section-heading__title {
    color: var(--dm-dark);
    font-size: 25px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.028em;
}

.dm-section-heading__link {
    color: var(--dm-primary);
    font-size: 9.5px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.dm-section-heading__link:hover {
    color: var(--dm-secondary);
}

/* Últimas noticias: lista densa de diario, sin aire excesivo */
.dm-latest {
    margin-top: 34px;
}

.dm-latest__grid {
    gap: 18px 28px;
}

.dm-latest__item {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 13px;
    padding-bottom: 14px;
}

.dm-latest__image {
    width: 155px;
    aspect-ratio: 16 / 10;
}

.dm-latest__title {
    color: var(--dm-dark);
    font-size: 17px;
    line-height: 1.12;
    letter-spacing: -.018em;
}

.dm-latest__meta {
    margin-top: 6px;
    font-size: 9px;
    opacity: .54;
}

/* Grandes secciones: más contraste entre lead y secundarias */
.dm-category-sections {
    margin-top: 40px;
}

.dm-category-section,
.dm-compact-section {
    margin-top: 42px;
}

.dm-category-section__grid {
    grid-template-columns: minmax(0, 1.82fr) minmax(265px, .72fr);
    gap: 22px;
}

.dm-category-story--lead .dm-category-story__image {
    aspect-ratio: 16 / 8.9;
}

.dm-category-story--lead .dm-category-story__title {
    margin-top: 0;
    color: var(--dm-dark);
    font-size: 26px;
    line-height: 1.04;
    letter-spacing: -.025em;
}

.dm-category-story__excerpt {
    color: rgba(36,52,74,.72);
    font-size: 13px;
    line-height: 1.42;
}

.dm-category-story--secondary {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 11px;
    padding-bottom: 13px;
}

.dm-category-story--secondary .dm-category-story__image {
    width: 118px;
    aspect-ratio: 4 / 3;
}

.dm-category-story__title {
    color: var(--dm-dark);
    font-size: 16px;
    line-height: 1.12;
    letter-spacing: -.015em;
}

.dm-category-story__meta {
    margin-top: 6px;
    font-size: 8.5px;
    opacity: .52;
}

/* F. Amateur: tres columnas visuales, más tipo bloque editorial */
.dm-category-section--cards .dm-category-section__grid {
    gap: 18px;
}

.dm-category-section--cards .dm-category-story,
.dm-category-section--cards .dm-category-story--lead,
.dm-category-section--cards .dm-category-story--secondary {
    padding-bottom: 14px;
}

.dm-category-section--cards .dm-category-story__image,
.dm-category-section--cards .dm-category-story--lead .dm-category-story__image,
.dm-category-section--cards .dm-category-story--secondary .dm-category-story__image {
    aspect-ratio: 16 / 9;
}

.dm-category-section--cards .dm-category-story__title,
.dm-category-section--cards .dm-category-story--lead .dm-category-story__title {
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: -.018em;
}

/* Compactas: más similares a módulos deportivos modernos */
.dm-compact-section__grid {
    gap: 18px;
}

.dm-compact-story {
    padding-bottom: 14px;
}

.dm-compact-story__image {
    aspect-ratio: 16 / 9;
}

.dm-compact-story__content {
    padding-top: 8px;
}

.dm-compact-story__title {
    color: var(--dm-dark);
    font-size: 16.5px;
    line-height: 1.1;
    letter-spacing: -.016em;
}

.dm-compact-story__meta {
    margin-top: 6px;
    font-size: 8.5px;
    opacity: .52;
}

/* Ritmo visual: una banda suave periódica sin convertir todo en tarjetas */
.dm-category-sections > section:nth-of-type(4n) {
    position: relative;
    padding: 18px 16px 16px;
    margin-left: -16px;
    margin-right: -16px;
    background: linear-gradient(180deg, rgba(238,242,245,.62), rgba(238,242,245,.18));
}

/* Imágenes periodísticas: sin exceso de bordes, con zoom sutil */
.dm-home-hero__principal-image,
.dm-home-hero__destacada-image,
.dm-latest__image,
.dm-category-story__image,
.dm-compact-story__image {
    border-radius: 2px;
}

.dm-home-hero__principal-image img,
.dm-home-hero__destacada-image img,
.dm-latest__image img,
.dm-category-story__image img,
.dm-compact-story__image img {
    transition: transform .22s ease;
}

@media (hover: hover) {
    .dm-home-hero__principal-image:hover img,
    .dm-home-hero__destacada-image:hover img,
    .dm-latest__image:hover img,
    .dm-category-story__image:hover img,
    .dm-compact-story__image:hover img {
        transform: scale(1.018);
    }
}

/* Publicidad: menos dominante cuando aún no hay campaña cargada */
.dm-ad-slot--house {
    border-style: solid;
    border-color: rgba(36,52,74,.09);
    background: #f3f6f7;
}

.dm-ad-slot--house::before {
    color: var(--dm-dark);
    opacity: .36;
}

.dm-ad-group-front--premium .dm-ad-slot--house {
    max-height: 150px;
    aspect-ratio: auto;
    min-height: 105px;
}

.dm-ad-group-front--mosaic .dm-ad-slot--house {
    aspect-ratio: 4 / 3;
}

/* TABLET */
@media (max-width: 900px) {
    .dm-home-hero__destacadas {
        gap: 16px;
    }

    .dm-category-sections > section:nth-of-type(4n) {
        margin-left: 0;
        margin-right: 0;
    }
}

/* MOBILE: ritmo de feed deportivo, imagen + titular */
@media (max-width: 767px) {
    .dm-breaking {
        padding: 0 8px;
    }

    .dm-home-hero__principal-title {
        font-size: 28px;
        line-height: 1.04;
    }

    .dm-home-hero__principal-title::after {
        width: 48px;
        height: 3px;
        margin-top: 8px;
    }

    .dm-home-hero__excerpt {
        font-size: 13.5px;
    }

    .dm-home-hero__destacada {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 11px;
        padding: 13px 0;
    }

    .dm-home-hero__destacada-image {
        width: 112px;
    }

    .dm-home-hero__destacada-title {
        font-size: 16px;
    }

    .dm-section-heading {
        min-height: 36px;
        margin-bottom: 9px;
        padding: 7px 0 6px;
    }

    .dm-section-heading__title {
        font-size: 21px;
    }

    .dm-section-heading__link {
        font-size: 8.5px;
    }

    .dm-latest {
        margin-top: 28px;
    }

    .dm-latest__item {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0;
    }

    .dm-latest__image {
        width: 110px;
    }

    .dm-latest__title {
        font-size: 15.5px;
    }

    .dm-category-section,
    .dm-compact-section {
        margin-top: 32px;
    }

    .dm-category-story--secondary,
    .dm-category-section--cards .dm-category-story,
    .dm-category-section--cards .dm-category-story--secondary,
    .dm-category-section--cards .dm-category-story--lead,
    .dm-compact-story {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0;
    }

    .dm-category-story--secondary .dm-category-story__image,
    .dm-category-section--cards .dm-category-story__image,
    .dm-category-section--cards .dm-category-story--secondary .dm-category-story__image,
    .dm-category-section--cards .dm-category-story--lead .dm-category-story__image,
    .dm-compact-story__image {
        width: 108px;
    }

    .dm-category-story--lead .dm-category-story__title {
        font-size: 22px;
        line-height: 1.05;
    }

    .dm-category-story__title,
    .dm-category-section--cards .dm-category-story__title,
    .dm-category-section--cards .dm-category-story--lead .dm-category-story__title,
    .dm-compact-story__title {
        font-size: 15.5px;
    }

    .dm-category-sections > section:nth-of-type(4n) {
        padding: 12px 10px 10px;
        margin-left: -10px;
        margin-right: -10px;
    }

    .dm-ad-group-front--premium .dm-ad-slot--house {
        min-height: 115px;
        max-height: none;
    }
}

/* =========================================================
   1.4.0 — PORTADA EDITORIAL VIVA
   ========================================================= */

/* El aire debe venir de la grilla, no de huecos artificiales. */
.dm-category-sections { margin-top: 30px; }
.dm-category-section,
.dm-compact-section,
.dm-instant,
.dm-popular,
.dm-tv,
.dm-facebook { margin-top: 30px; }
.dm-category-section:first-child,
.dm-compact-section:first-child,
.dm-instant:first-child,
.dm-popular:first-child,
.dm-tv:first-child,
.dm-facebook:first-child { margin-top: 0; }
.dm-category-sections > section:nth-of-type(4n) {
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    background: transparent;
}

/* Portada: gran foto + título negro debajo, más diario y menos bloque de color. */
.dm-home-hero {
    grid-template-columns: minmax(0, 2.35fr) minmax(250px, .85fr);
    gap: 20px;
    padding-top: 4px;
}
.dm-home-hero__principal-image { aspect-ratio: 16 / 8.6; }
.dm-home-hero__principal-content {
    padding-top: 11px;
    border-top: 4px solid var(--dm-primary);
}
.dm-home-hero__principal-title {
    color: var(--dm-dark);
    font-size: clamp(34px, 3.35vw, 52px);
    line-height: .99;
    letter-spacing: -.035em;
}
.dm-home-hero__principal-title::after { display:none; }
.dm-home-hero__excerpt {
    max-width: 90%;
    color: #5b6570;
    font-size: 15px;
    line-height: 1.42;
}
.dm-home-hero__destacadas {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.dm-home-hero__destacada {
    display: grid;
    grid-template-columns: 112px minmax(0,1fr);
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(36,52,74,.14);
}
.dm-home-hero__destacada-image {
    width: 112px;
    aspect-ratio: 4 / 3;
}
.dm-home-hero__destacada-content { padding-top: 0; }
.dm-home-hero__destacada-title {
    color: var(--dm-dark);
    font-size: 16px;
    line-height: 1.08;
    letter-spacing: -.015em;
}

.dm-latest__excerpt {
    margin-top: 6px;
    color: #66717b;
    font-size: 11.5px;
    line-height: 1.35;
}

/* AL INSTANTE */
.dm-instant {
    border-top: 4px solid var(--dm-secondary);
    padding-top: 6px;
}
.dm-section-heading--instant { border-bottom-color: rgba(36,52,74,.12); }
.dm-instant__pulse,
.dm-popular__hint,
.dm-tv__youtube {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.dm-instant__pulse { color: var(--dm-secondary); }
.dm-instant__rail {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    border-top: 1px solid rgba(36,52,74,.12);
    border-left: 1px solid rgba(36,52,74,.12);
}
.dm-instant__item {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr);
    gap: 10px;
    min-height: 112px;
    padding: 14px;
    border-right: 1px solid rgba(36,52,74,.12);
    border-bottom: 1px solid rgba(36,52,74,.12);
    background: #fff;
}
.dm-instant__time {
    color: var(--dm-secondary);
    font-size: 16px;
    font-weight: 850;
    line-height: 1;
}
.dm-instant__category {
    margin-bottom: 5px;
    color: var(--dm-primary);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}
.dm-instant__title {
    margin: 0;
    color: var(--dm-dark);
    font-size: 14px;
    line-height: 1.12;
}
.dm-instant__title a { color: inherit; text-decoration:none; }
.dm-instant__text {
    margin-top: 6px;
    color: #68737d;
    font-size: 10.5px;
    line-height: 1.3;
}

/* LO MÁS LEÍDO */
.dm-popular {
    padding: 18px 20px 12px;
    background: var(--dm-dark);
}
.dm-popular .dm-section-heading {
    border-bottom-color: rgba(255,255,255,.2);
}
.dm-popular .dm-section-heading__title,
.dm-popular__hint { color: #fff; }
.dm-popular__hint { opacity:.7; }
.dm-popular__list {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.dm-popular__item {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 8px;
    padding: 12px 12px 14px;
    border-right: 1px solid rgba(255,255,255,.15);
}
.dm-popular__item:last-child { border-right:0; }
.dm-popular__rank {
    color: var(--dm-secondary);
    font-size: 31px;
    font-weight: 900;
    line-height: .9;
}
.dm-popular__category {
    margin-bottom: 4px;
    color: #9fbea5;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}
.dm-popular__title { margin:0; font-size:13px; line-height:1.14; }
.dm-popular__title a { color:#fff; text-decoration:none; }

/* DEPORMANIACOS TV */
.dm-tv {
    padding: 20px;
    background: #101820;
}
.dm-tv .dm-section-heading { border-bottom-color: rgba(255,255,255,.18); }
.dm-tv .dm-section-heading__title { color:#fff; }
.dm-tv__youtube { color:#ff6b5b; }
.dm-tv__grid {
    display:grid;
    grid-template-columns:minmax(0,1.8fr) minmax(250px,.8fr);
    gap:16px;
}
.dm-tv__embed { position:relative; padding-top:56.25%; background:#000; }
.dm-tv__embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.dm-tv__side { display:grid; grid-template-columns:1fr; gap:10px; }
.dm-tv__card {
    display:grid;
    grid-template-columns:120px minmax(0,1fr);
    gap:10px;
    align-items:center;
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:750;
}
.dm-tv__thumb { position:relative; aspect-ratio:16/9; overflow:hidden; background:#222; }
.dm-tv__thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.dm-tv__play {
    position:absolute; left:8px; bottom:7px;
    width:28px; height:28px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:rgba(216,111,38,.95); color:#fff; font-size:11px;
}

/* FACEBOOK */
.dm-facebook__frame {
    display:flex;
    justify-content:center;
    padding:18px;
    background:var(--dm-soft);
}
.dm-facebook__frame iframe { width:100%; max-width:500px; }

/* La publicidad es el único módulo que puede generar un corte grande. */
.dm-ad-group-front { margin-top: 26px; margin-bottom: 26px; }

@media (max-width: 900px) {
    .dm-home-hero { grid-template-columns:1fr; }
    .dm-home-hero__destacadas { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dm-instant__rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dm-popular__list { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dm-popular__item { border-bottom:1px solid rgba(255,255,255,.15); }
    .dm-tv__grid { grid-template-columns:1fr; }
    .dm-tv__side { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .dm-tv__card { display:block; }
    .dm-tv__card span:last-child { display:block; margin-top:6px; }
}

@media (max-width: 767px) {
    .dm-home-hero__principal-title { font-size:30px; }
    .dm-home-hero__excerpt { max-width:100%; font-size:13px; }
    .dm-home-hero__destacadas { display:block; }
    .dm-home-hero__destacada { grid-template-columns:118px minmax(0,1fr); }
    .dm-home-hero__destacada-image { width:118px; }
    .dm-instant__rail { display:block; border-left:0; }
    .dm-instant__item { grid-template-columns:48px minmax(0,1fr); min-height:0; border-left:1px solid rgba(36,52,74,.12); }
    .dm-popular { padding:14px 12px 10px; }
    .dm-popular__list { display:block; }
    .dm-popular__item { grid-template-columns:42px minmax(0,1fr); border-right:0; }
    .dm-popular__rank { font-size:34px; }
    .dm-popular__title { font-size:15px; }
    .dm-tv { padding:14px 12px; }
    .dm-tv__side { grid-template-columns:1fr; }
    .dm-tv__card { display:grid; grid-template-columns:118px minmax(0,1fr); }
    .dm-category-section,
    .dm-compact-section,
    .dm-instant,
    .dm-popular,
    .dm-tv,
    .dm-facebook { margin-top:24px; }
}


/* =========================================================
   1.5.0 — RITMO EDITORIAL + MÓDULOS COMPACTOS
   ========================================================= */

/* Publicidad vacía: presencia comercial discreta. Una campaña real conserva su formato. */
.dm-ad-slot--house {
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 14px !important;
    border: 1px dashed rgba(36,52,74,.14) !important;
    background: rgba(238,242,245,.45) !important;
}
.dm-ad-house__inner {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.dm-ad-slot--house::before { display:none !important; }
.dm-ad-house__title { margin:0 !important; font-size:9px !important; letter-spacing:.11em; }
.dm-ad-house__text { margin:0 !important; font-size:8px !important; opacity:.58; }
.dm-ad-group-front--premium .dm-ad-slot--house,
.dm-ad-group-front--double .dm-ad-slot--house,
.dm-ad-group-front--mosaic .dm-ad-slot--house { min-height:46px !important; height:46px !important; }
.dm-ad-group-front { margin-top:18px !important; margin-bottom:18px !important; }

/* Al Instante se comporta como tira de actualidad, no como grilla de tarjetas. */
.dm-instant {
    padding: 0;
    border-top: 3px solid var(--dm-secondary);
    border-bottom: 1px solid rgba(36,52,74,.13);
    background:#fff;
}
.dm-instant__head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:8px 0 7px;
}
.dm-instant__label {
    margin:0;
    color:var(--dm-dark);
    font-size:17px;
    line-height:1;
    font-weight:850;
}
.dm-instant__pulse {
    display:flex;
    align-items:center;
    gap:6px;
    color:var(--dm-secondary);
    font-size:8px;
    font-weight:850;
    letter-spacing:.1em;
}
.dm-instant__pulse i {
    width:6px; height:6px; border-radius:50%; background:var(--dm-secondary); display:block;
}
.dm-instant__rail {
    display:flex !important;
    align-items:stretch;
    gap:0;
    overflow-x:auto;
    border:0 !important;
    scrollbar-width:thin;
}
.dm-instant__item {
    flex:0 0 auto;
    width:auto;
    max-width:430px;
    min-height:0 !important;
    display:flex !important;
    align-items:center;
    gap:7px;
    padding:9px 16px 10px 0 !important;
    margin-right:16px;
    border:0 !important;
    border-right:1px solid rgba(36,52,74,.14) !important;
    background:transparent !important;
}
.dm-instant__item:last-child { border-right:0 !important; }
.dm-instant__time { flex:0 0 auto; color:var(--dm-secondary); font-size:12px; font-weight:900; }
.dm-instant__category { flex:0 0 auto; margin:0; color:var(--dm-primary); font-size:8px; font-weight:850; text-transform:uppercase; }
.dm-instant__title { margin:0; font-size:11.5px; line-height:1.15; white-space:nowrap; }

/* TV y Lo más leído comparten una franja editorial en escritorio. */
.dm-media-dashboard {
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);
    gap:16px;
    margin-top:30px;
    align-items:stretch;
}
.dm-media-dashboard .dm-tv,
.dm-media-dashboard .dm-popular { margin-top:0 !important; height:100%; box-sizing:border-box; }
.dm-media-dashboard .dm-tv__grid { grid-template-columns:minmax(0,1fr) 170px; }
.dm-media-dashboard .dm-tv__card { grid-template-columns:72px minmax(0,1fr); font-size:10px; gap:7px; }
.dm-media-dashboard .dm-popular { padding:18px 16px 12px; }
.dm-media-dashboard .dm-popular__list { display:block; }
.dm-media-dashboard .dm-popular__item {
    grid-template-columns:42px minmax(0,1fr);
    padding:10px 0;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.14);
}
.dm-media-dashboard .dm-popular__item:last-child { border-bottom:0; }
.dm-media-dashboard .dm-popular__rank { font-size:28px; }
.dm-media-dashboard .dm-popular__title { font-size:12.5px; line-height:1.18; }

/* Facebook más integrado y sin gran caja gris. */
.dm-facebook { border-top:3px solid #1877f2; padding-top:7px; }
.dm-facebook__frame {
    justify-content:flex-start;
    padding:0;
    background:transparent;
    max-width:500px;
}
.dm-facebook__frame iframe { height:420px; }

@media (max-width: 900px) {
    .dm-media-dashboard { grid-template-columns:1fr; }
    .dm-media-dashboard .dm-tv__grid { grid-template-columns:1fr; }
    .dm-media-dashboard .dm-tv__side { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .dm-media-dashboard .dm-popular__list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dm-media-dashboard .dm-popular__item { border-right:1px solid rgba(255,255,255,.12); }
}

@media (max-width: 767px) {
    .dm-ad-house__text { display:none; }
    .dm-ad-slot--house,
    .dm-ad-group-front--premium .dm-ad-slot--house,
    .dm-ad-group-front--double .dm-ad-slot--house,
    .dm-ad-group-front--mosaic .dm-ad-slot--house { min-height:38px !important; height:38px !important; }
    .dm-ad-house__inner { min-height:36px; }

    .dm-instant__head { padding:8px 0 6px; }
    .dm-instant__label { font-size:16px; }
    .dm-instant__rail { display:block !important; overflow:visible; }
    .dm-instant__item {
        width:100%; max-width:none; margin:0; padding:9px 0 !important;
        border-right:0 !important; border-bottom:1px solid rgba(36,52,74,.11) !important;
        white-space:normal;
    }
    .dm-instant__title { white-space:normal; font-size:12.5px; }

    .dm-media-dashboard { margin-top:24px; gap:12px; }
    .dm-media-dashboard .dm-tv__side { grid-template-columns:1fr; }
    .dm-media-dashboard .dm-popular__list { display:block; }
    .dm-media-dashboard .dm-popular__item { border-right:0; }

    .dm-facebook__frame { max-width:100%; }
    .dm-facebook__frame iframe { height:390px; }
}


/* =========================================================
   1.6.0 — PORTADA REORDENABLE + HERO IMPACTO + ADS RESTAURADAS
   ========================================================= */
.dm-home-flow { width:100%; }
.dm-home-flow > * { max-width:1280px; margin-left:auto; margin-right:auto; }

/* HERO: gran cambio visual, imagen protagonista con título superpuesto. */
.dm-home-hero {
    grid-template-columns:minmax(0,2.25fr) minmax(270px,.75fr);
    gap:14px;
    margin-top:18px;
}
.dm-home-hero__principal,
.dm-home-hero__destacada { position:relative; overflow:hidden; background:var(--dm-dark); }
.dm-home-hero__principal { min-height:520px; border-radius:14px; }
.dm-home-hero__principal-image { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; }
.dm-home-hero__principal-image::after,
.dm-home-hero__destacada-image::after {
    content:""; position:absolute; inset:0;
    background:linear-gradient(180deg,rgba(8,18,27,.05) 28%,rgba(8,18,27,.82) 100%);
}
.dm-home-hero__principal-image img { height:100%; }
.dm-home-hero__principal-content {
    position:absolute; left:0; right:0; bottom:0; z-index:2;
    padding:34px 34px 30px; color:#fff;
}
.dm-home-hero__category {
    display:inline-flex; width:max-content; padding:6px 10px; margin-bottom:12px;
    background:var(--dm-primary); color:#fff; border-radius:5px; font-size:11px;
}
.dm-home-hero__principal-title { max-width:900px; font-size:clamp(34px,4vw,58px); line-height:1.0; text-shadow:0 2px 12px rgba(0,0,0,.35); }
.dm-home-hero__excerpt { max-width:760px; color:rgba(255,255,255,.93); font-size:16px; line-height:1.4; }
.dm-home-hero__destacadas { gap:14px; }
.dm-home-hero__destacada { min-height:253px; border-radius:10px; }
.dm-home-hero__destacada-image { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; }
.dm-home-hero__destacada-image img { height:100%; }
.dm-home-hero__destacada-content { position:absolute; z-index:2; left:0; right:0; bottom:0; padding:18px; color:#fff; }
.dm-home-hero__destacada-title { font-size:20px; text-shadow:0 2px 8px rgba(0,0,0,.45); }
.dm-home-hero__destacada .dm-home-hero__category { padding:4px 7px; margin-bottom:7px; font-size:8px; }

/* Al Instante: ticker editorial compacto, totalmente movible desde Portada. */
.dm-instant {
    margin-top:14px !important; margin-bottom:12px !important; border:1px solid rgba(36,52,74,.12);
    border-left:5px solid var(--dm-secondary); background:#fff; padding:0 !important;
}
.dm-instant__head { display:none !important; }
.dm-instant__rail { display:flex !important; overflow-x:auto; align-items:stretch; }
.dm-instant__item {
    min-height:42px !important; display:flex !important; align-items:center; gap:8px;
    padding:8px 16px !important; margin:0 !important; border-right:1px solid rgba(36,52,74,.10) !important;
}
.dm-instant__item:first-child::before {
    content:"AL INSTANTE"; flex:0 0 auto; color:var(--dm-secondary); font-size:9px; font-weight:900; letter-spacing:.08em;
    margin-right:5px;
}
.dm-instant__time { font-size:11px; }
.dm-instant__title { font-size:12px; font-weight:800; }

/* Últimas noticias: tarjetas claras con imagen arriba y título negro debajo. */
.dm-latest { margin-top:28px; }
.dm-latest__grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 18px; }
.dm-latest__item { display:block; padding-bottom:18px; border-bottom:1px solid rgba(36,52,74,.12); }
.dm-latest__image { width:100%; aspect-ratio:16/9; margin-bottom:10px; }
.dm-latest__title { font-size:17px; line-height:1.15; color:var(--dm-dark); }
.dm-latest__excerpt { margin-top:7px; font-size:12px; line-height:1.35; color:#64707a; }
.dm-latest__meta { margin-top:7px; }

/* Publicidad: vuelve a mostrar el formato real aunque no haya campaña cargada. */
.dm-ad-group-front { margin-top:30px !important; margin-bottom:30px !important; }
.dm-ad-slot--house { height:auto !important; padding:18px !important; background:var(--dm-soft) !important; border:1px dashed rgba(36,52,74,.20) !important; }
.dm-ad-house__inner { width:100%; height:100%; min-height:inherit; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; text-align:center; }
.dm-ad-house__text { display:block !important; max-width:none !important; writing-mode:horizontal-tb !important; }
.dm-ad-group-front--premium .dm-ad-slot--house { min-height:150px !important; aspect-ratio:1200/250; }
.dm-ad-group-front--double .dm-ad-slot--house { min-height:150px !important; aspect-ratio:580/180; }
.dm-ad-group-front--mosaic .dm-ad-slot--house { min-height:180px !important; height:auto !important; aspect-ratio:1/1; }

/* TV con identidad y título visible. */
.dm-tv {
    margin-top:32px !important; padding:20px; border-radius:10px; background:#101b24; color:#fff;
    box-shadow:0 8px 24px rgba(19,34,46,.10);
}
.dm-tv .dm-section-heading { margin-bottom:16px; border-bottom:1px solid rgba(255,255,255,.20); }
.dm-tv .dm-section-heading__title { color:#fff !important; font-size:28px; }
.dm-tv__youtube {
    display:inline-flex; align-items:center; padding:5px 9px; border-radius:999px; background:#ff0033; color:#fff !important;
    font-size:9px; font-weight:900; letter-spacing:.08em;
}
.dm-tv__grid { grid-template-columns:minmax(0,1.65fr) minmax(220px,.35fr); gap:14px; }
.dm-tv__card { background:rgba(255,255,255,.07); border-radius:7px; padding:7px; color:#fff !important; }
.dm-tv__card span:last-child { color:#fff; }

/* Facebook deja de ser bloque completo: sidebar de la sección seleccionada. */
.dm-section-with-sidebar { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:24px; align-items:start; margin-top:30px; }
.dm-section-with-sidebar .dm-category-section,
.dm-section-with-sidebar .dm-compact-section { margin-top:0 !important; }
.dm-facebook--sidebar { margin:0 !important; padding:0 !important; border:0 !important; position:sticky; top:24px; }
.dm-facebook__sidebar-title { padding:9px 11px; background:#1877f2; color:#fff; font-size:13px; font-weight:850; }
.dm-facebook--sidebar .dm-facebook__frame { max-width:300px; background:#fff; border:1px solid rgba(36,52,74,.10); }
.dm-facebook--sidebar .dm-facebook__frame iframe { width:300px; max-width:100%; height:500px; }

@media (max-width: 1000px) {
    .dm-home-hero { grid-template-columns:1fr; }
    .dm-home-hero__principal { min-height:470px; }
    .dm-home-hero__destacadas { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; }
    .dm-home-hero__destacada { min-height:220px; }
    .dm-latest__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dm-section-with-sidebar { grid-template-columns:1fr; }
    .dm-facebook--sidebar { position:static; }
    .dm-facebook--sidebar .dm-facebook__frame { max-width:500px; }
    .dm-facebook--sidebar .dm-facebook__frame iframe { width:500px; }
}

@media (max-width:767px) {
    .dm-home-hero__principal { min-height:430px; border-radius:8px; }
    .dm-home-hero__principal-content { padding:22px 18px; }
    .dm-home-hero__principal-title { font-size:31px; }
    .dm-home-hero__excerpt { font-size:13px; }
    .dm-home-hero__destacadas { display:block; }
    .dm-home-hero__destacada { min-height:210px; margin-top:10px; display:block; }
    .dm-home-hero__destacada-image { width:100%; }
    .dm-instant__rail { display:flex !important; overflow-x:auto; }
    .dm-instant__item { width:auto !important; flex:0 0 auto; max-width:85vw; white-space:normal; }
    .dm-latest__grid { display:block; }
    .dm-latest__item { display:grid; grid-template-columns:118px minmax(0,1fr); gap:12px; padding:12px 0; }
    .dm-latest__image { width:118px; margin:0; aspect-ratio:4/3; }
    .dm-latest__excerpt { display:none; }
    .dm-ad-group-front--premium .dm-ad-slot--house { min-height:130px !important; aspect-ratio:600/300; }
    .dm-ad-group-front--double .dm-ad-slot--house { min-height:120px !important; aspect-ratio:600/250; }
    .dm-ad-group-front--mosaic { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dm-ad-group-front--mosaic .dm-ad-slot--house { min-height:150px !important; }
    .dm-tv { padding:14px 12px; }
    .dm-tv .dm-section-heading__title { font-size:22px; }
    .dm-tv__grid { grid-template-columns:1fr; }
    .dm-tv__side { grid-template-columns:1fr; }
    .dm-facebook--sidebar .dm-facebook__frame,
    .dm-facebook--sidebar .dm-facebook__frame iframe { width:100%; max-width:100%; }
}

/* =========================================================
   1.7.0 — AJUSTES FINOS DE PORTADA + TV PLAYLIST + DEDUPE
   ========================================================= */

/* HERO: solo la noticia principal lleva título superpuesto. */
.dm-home-hero__principal-title,
.dm-home-hero__principal-title a {
    color:#fff !important;
    text-shadow:0 3px 14px rgba(0,0,0,.78), 0 1px 2px rgba(0,0,0,.95) !important;
}
.dm-home-hero__principal-content {
    background:linear-gradient(180deg, rgba(5,12,18,0) 0%, rgba(5,12,18,.18) 20%, rgba(5,12,18,.88) 100%);
}
.dm-home-hero__destacada {
    display:block !important;
    min-height:0 !important;
    overflow:visible !important;
    background:transparent !important;
    border-radius:0 !important;
}
.dm-home-hero__destacada-image {
    position:relative !important;
    inset:auto !important;
    display:block;
    width:100% !important;
    height:auto !important;
    aspect-ratio:16/10 !important;
    overflow:hidden;
    border-radius:8px;
    background:#eef2f5;
}
.dm-home-hero__destacada-image::after { display:none !important; }
.dm-home-hero__destacada-image img { width:100%; height:100%; object-fit:cover; }
.dm-home-hero__destacada-content {
    position:static !important;
    padding:10px 2px 0 !important;
    color:var(--dm-dark) !important;
}
.dm-home-hero__destacada .dm-home-hero__category {
    display:inline-block;
    background:transparent !important;
    color:var(--dm-primary) !important;
    padding:0 !important;
    margin-bottom:5px !important;
    font-size:8.5px !important;
}
.dm-home-hero__destacada-title,
.dm-home-hero__destacada-title a {
    color:var(--dm-dark) !important;
    text-shadow:none !important;
    font-size:18px !important;
    line-height:1.12 !important;
}
.dm-home-hero__destacadas {
    display:grid;
    grid-template-rows:auto auto !important;
    align-content:start;
}

/* Al Instante vuelve a ser un módulo propio, distinto de Último Momento. */
.dm-instant {
    margin-top:22px !important;
    margin-bottom:18px !important;
    border:0 !important;
    border-top:3px solid var(--dm-secondary) !important;
    border-bottom:1px solid rgba(36,52,74,.14) !important;
    background:#fff !important;
    padding:0 0 8px !important;
}
.dm-instant__head {
    display:flex !important;
    justify-content:space-between;
    align-items:center;
    padding:9px 0 8px !important;
}
.dm-instant__label {
    margin:0;
    color:var(--dm-dark);
    font-size:19px;
    font-weight:900;
}
.dm-instant__pulse {
    display:inline-flex !important;
    align-items:center;
    gap:6px;
    color:var(--dm-secondary) !important;
    font-size:8px;
    font-weight:900;
    letter-spacing:.08em;
}
.dm-instant__rail {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    overflow:visible !important;
}
.dm-instant__item {
    display:grid !important;
    grid-template-columns:auto auto minmax(0,1fr);
    align-items:start;
    gap:7px;
    min-height:68px !important;
    padding:10px 12px !important;
    margin:0 !important;
    border:1px solid rgba(36,52,74,.10) !important;
    border-left:3px solid var(--dm-secondary) !important;
    background:var(--dm-soft);
}
.dm-instant__item:first-child::before { display:none !important; }
.dm-instant__time { color:var(--dm-secondary) !important; font-size:11px !important; font-weight:900 !important; }
.dm-instant__category { color:var(--dm-primary) !important; font-size:8px !important; font-weight:900 !important; }
.dm-instant__title { grid-column:1/-1; margin-top:2px !important; white-space:normal !important; font-size:12.5px !important; line-height:1.18 !important; }

/* F. Amateur: grilla completa, sin sidebar fantasma y con títulos proporcionados. */
.dm-category-cards {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    width:100%;
}
.dm-category-card { min-width:0; padding-bottom:14px; border-bottom:1px solid rgba(36,52,74,.11); }
.dm-category-card__image { display:block; width:100%; aspect-ratio:16/10; overflow:hidden; background:#eef2f5; }
.dm-category-card__image img { display:block; width:100%; height:100%; object-fit:cover; }
.dm-category-card__title { margin:9px 0 0 !important; font-size:17px !important; line-height:1.12 !important; font-weight:850 !important; }
.dm-category-card__title a { color:var(--dm-dark) !important; text-decoration:none; }
.dm-category-card__meta { margin-top:7px; font-size:8.5px; opacity:.55; }

/* Publicidad: el formato vuelve a ocupar el ancho esperado. */
.dm-ad-group-front,
.dm-ad-group-front--premium,
.dm-ad-group-front--double,
.dm-ad-group-front--mosaic { width:100% !important; box-sizing:border-box; }
.dm-ad-slot,
.dm-ad-slot--house { width:100% !important; box-sizing:border-box; }
.dm-ad-group-front--premium .dm-ad-slot--house { min-height:0 !important; aspect-ratio:1200/250 !important; }
.dm-ad-group-front--double .dm-ad-slot--house { min-height:0 !important; aspect-ratio:580/180 !important; }
.dm-ad-group-front--mosaic .dm-ad-slot--house { min-height:0 !important; aspect-ratio:1/1 !important; }

/* Depormaniacos TV: portada grande + playlist lateral real. */
.dm-tv { padding:18px 18px 20px !important; }
.dm-tv .dm-section-heading { margin-bottom:14px !important; }
.dm-tv .dm-section-heading__title { font-size:27px !important; }
.dm-tv__grid {
    grid-template-columns:minmax(0,1fr) 330px !important;
    gap:16px !important;
    align-items:start;
}
.dm-tv__main-title {
    margin:10px 0 0;
    color:#fff;
    font-size:17px;
    line-height:1.2;
    font-weight:850;
}
.dm-tv__side {
    display:flex !important;
    flex-direction:column;
    gap:10px !important;
    max-height:520px;
    overflow-y:auto;
    padding-right:4px;
}
.dm-tv__card {
    appearance:none;
    width:100%;
    display:grid !important;
    grid-template-columns:145px minmax(0,1fr) !important;
    gap:10px !important;
    align-items:center;
    padding:7px !important;
    border:0;
    border-radius:7px;
    background:rgba(255,255,255,.07) !important;
    color:#fff !important;
    text-align:left;
    cursor:pointer;
}
.dm-tv__card:hover { background:rgba(255,255,255,.13) !important; }
.dm-tv__thumb { width:145px; aspect-ratio:16/9; }
.dm-tv__card-title { color:#fff !important; font-size:12px; line-height:1.2; font-weight:750; }

/* Facebook queda opt-in; si se activa, no debe deformar la sección. */
.dm-section-with-sidebar { grid-template-columns:minmax(0,1fr) 280px !important; }
.dm-facebook--sidebar .dm-facebook__frame,
.dm-facebook--sidebar .dm-facebook__frame iframe { width:280px !important; }

@media (max-width:1000px) {
    .dm-tv__grid { grid-template-columns:1fr !important; }
    .dm-tv__side {
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        max-height:none;
        overflow:visible;
    }
    .dm-tv__card { grid-template-columns:120px minmax(0,1fr) !important; }
    .dm-tv__thumb { width:120px; }
}

@media (max-width:767px) {
    .dm-home-hero__destacadas { margin-top:16px; }
    .dm-home-hero__destacada { display:grid !important; grid-template-columns:120px minmax(0,1fr); gap:11px; padding:12px 0; border-top:1px solid rgba(36,52,74,.10); }
    .dm-home-hero__destacada-image { width:120px !important; aspect-ratio:4/3 !important; border-radius:5px; }
    .dm-home-hero__destacada-content { padding:0 !important; }
    .dm-home-hero__destacada-title,
    .dm-home-hero__destacada-title a { font-size:16px !important; }

    .dm-instant__rail { display:block !important; }
    .dm-instant__item { margin-bottom:8px !important; }

    .dm-category-cards { display:block; }
    .dm-category-card { display:grid; grid-template-columns:118px minmax(0,1fr); gap:12px; padding:12px 0; }
    .dm-category-card__image { width:118px; aspect-ratio:4/3; }
    .dm-category-card__title { margin:0 !important; font-size:16px !important; }

    .dm-tv__side { display:block !important; }
    .dm-tv__card { grid-template-columns:118px minmax(0,1fr) !important; margin-top:8px; }
    .dm-tv__thumb { width:118px; }
    .dm-tv__main-title { font-size:15px; }
}


/* =========================================================
   1.7.1 — HOTFIX CATEGORÍAS + HERO + AL INSTANTE
   ========================================================= */
/* La línea verde dentro de la foto provenía de un borde heredado de 1.4. */
.dm-home-hero__principal-content { border-top:0 !important; }

/* La columna lateral nunca puede superar la altura de la noticia principal. */
@media (min-width:1001px) {
  .dm-home-hero { align-items:stretch; }
  .dm-home-hero__principal { height:520px; min-height:520px; }
  .dm-home-hero__destacadas { height:520px; min-height:0; grid-template-rows:repeat(2,minmax(0,1fr)) !important; gap:14px; }
  .dm-home-hero__destacada { min-height:0 !important; display:grid !important; grid-template-rows:minmax(0,1fr) auto; overflow:hidden !important; }
  .dm-home-hero__destacada-image { height:100% !important; min-height:0; aspect-ratio:auto !important; }
  .dm-home-hero__destacada-content { padding:8px 2px 2px !important; }
  .dm-home-hero__destacada-title, .dm-home-hero__destacada-title a { font-size:16px !important; line-height:1.08 !important; }
}

/* La rápida muestra contexto real del cuerpo, no sólo el título. */
.dm-instant__item { grid-template-columns:auto auto minmax(0,1fr); }
.dm-instant__summary {
  grid-column:1/-1;
  margin-top:4px;
  color:rgba(36,52,74,.76);
  font-size:11px;
  line-height:1.35;
}
@media (max-width:767px) {
  .dm-instant__summary { font-size:11.5px; }
}

/* v1.7.2 hotfix: remove accidental hero divider */
.dm-home-hero__principal-image{border-top:0!important;}


/* =========================================================
   1.8.0 — REDISEÑO EDITORIAL DE HOME
   Referencia de ritmo: portal deportivo, sin copiar maquetación.
   ========================================================= */

/* Encabezados de sección más simples: título negro, acento verde mínimo. */
.dm-section-heading--clean {
    display:flex !important;
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:16px !important;
    padding:0 0 9px !important;
    margin:0 0 14px !important;
    border:0 !important;
    border-bottom:2px solid rgba(36,52,74,.12) !important;
    background:transparent !important;
}
.dm-section-heading--clean::before { display:none !important; }
.dm-section-heading--clean .dm-section-heading__title {
    color:var(--dm-dark) !important;
    font-size:25px !important;
    line-height:1 !important;
    font-weight:900 !important;
}
.dm-section-heading--clean .dm-section-heading__title::after {
    content:""; display:block; width:42px; height:3px; margin-top:8px; background:var(--dm-primary);
}

/* HERO 75/25. La altura la gobierna la noticia principal. */
.dm-home-hero {
    display:grid !important;
    grid-template-columns:minmax(0,3fr) minmax(250px,1fr) !important;
    gap:16px !important;
    align-items:stretch !important;
    height:520px !important;
    margin-top:18px !important;
}
.dm-home-hero__principal {
    min-height:0 !important; height:520px !important; position:relative !important;
    overflow:hidden !important; border-radius:10px !important; background:var(--dm-dark) !important;
}
.dm-home-hero__principal-image { position:absolute !important; inset:0 !important; width:100% !important; height:100% !important; }
.dm-home-hero__principal-image img { width:100% !important; height:100% !important; object-fit:cover !important; }
.dm-home-hero__principal-image::after {
    display:block !important; content:"" !important; position:absolute !important; inset:0 !important;
    background:linear-gradient(180deg,rgba(5,12,18,.02) 35%,rgba(5,12,18,.18) 56%,rgba(5,12,18,.92) 100%) !important;
}
.dm-home-hero__principal-content {
    position:absolute !important; z-index:3 !important; left:0 !important; right:0 !important; bottom:0 !important;
    padding:34px 34px 30px !important; background:transparent !important; color:#fff !important;
}
.dm-home-hero__principal-title,
.dm-home-hero__principal-title a {
    color:#fff !important; font-size:clamp(34px,3.4vw,54px) !important; line-height:1.02 !important;
    font-weight:900 !important; text-decoration:none !important;
    text-shadow:0 3px 13px rgba(0,0,0,.92),0 1px 3px rgba(0,0,0,1) !important;
}
.dm-home-hero__principal-title::after { display:none !important; content:none !important; }
.dm-home-hero__excerpt { color:rgba(255,255,255,.94) !important; max-width:760px !important; font-size:15px !important; line-height:1.35 !important; text-shadow:0 2px 7px rgba(0,0,0,.7); }
.dm-home-hero__category { background:var(--dm-primary) !important; color:#fff !important; border-radius:3px !important; }

.dm-home-hero__destacadas {
    display:grid !important; grid-template-rows:1fr 1fr !important; gap:16px !important; height:520px !important; min-height:0 !important;
}
.dm-home-hero__destacada {
    display:grid !important; grid-template-rows:minmax(0,1fr) auto !important; min-height:0 !important; height:auto !important;
    background:#fff !important; overflow:hidden !important; border-radius:0 !important;
}
.dm-home-hero__destacada-image {
    position:relative !important; inset:auto !important; width:100% !important; height:100% !important; min-height:0 !important;
    aspect-ratio:auto !important; overflow:hidden !important; border-radius:7px !important; background:#eef2f5 !important;
}
.dm-home-hero__destacada-image::after { display:none !important; }
.dm-home-hero__destacada-image img { width:100% !important; height:100% !important; object-fit:cover !important; }
.dm-home-hero__destacada-content { position:static !important; padding:8px 1px 0 !important; color:var(--dm-dark) !important; }
.dm-home-hero__destacada .dm-home-hero__category { background:transparent !important; color:var(--dm-primary) !important; padding:0 !important; margin:0 0 4px !important; font-size:8px !important; }
.dm-home-hero__destacada-title,
.dm-home-hero__destacada-title a { color:var(--dm-dark) !important; text-shadow:none !important; font-size:17px !important; line-height:1.08 !important; font-weight:900 !important; }

/* AL INSTANTE: contenido completo en la portada; sin tarjeta-noticia ni enlace global. */
.dm-instant-v2 {
    margin:18px auto 12px !important; background:#fff; border-top:3px solid var(--dm-secondary); border-bottom:1px solid rgba(36,52,74,.15);
}
.dm-instant-v2__header { display:flex; align-items:center; gap:9px; padding:8px 0; }
.dm-instant-v2__header h2 { margin:0; color:var(--dm-dark); font-size:18px; line-height:1; font-weight:900; }
.dm-instant-v2__dot { width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:var(--dm-secondary); box-shadow:0 0 0 4px rgba(216,111,38,.12); }
.dm-instant-v2__note { margin-left:auto; color:#78838b; font-size:8px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.dm-instant-v2__list { display:block; }
.dm-instant-v2__item { display:grid; grid-template-columns:96px minmax(0,1fr); gap:16px; padding:12px 0; border-top:1px solid rgba(36,52,74,.09); }
.dm-instant-v2__meta { display:flex; flex-direction:column; gap:4px; }
.dm-instant-v2__meta time { color:var(--dm-secondary); font-size:14px; font-weight:900; }
.dm-instant-v2__meta span { color:var(--dm-primary); font-size:8px; text-transform:uppercase; font-weight:900; }
.dm-instant-v2__body h3 { margin:0 0 4px; color:var(--dm-dark); font-size:16px; line-height:1.15; font-weight:900; }
.dm-instant-v2__text { color:#4f5d66; font-size:13px; line-height:1.42; }
.dm-instant-v2__text p { margin:0 0 5px; }
.dm-instant-v2__text p:last-child { margin-bottom:0; }
.dm-instant-v2__text a { color:var(--dm-primary); font-weight:850; text-decoration:underline; }

/* ÚLTIMAS: una principal y el resto más densas, evitando seis tarjetas idénticas. */
.dm-latest-v2 { margin-top:28px; }
.dm-latest-v2__grid { display:grid; grid-template-columns:minmax(0,1.15fr) repeat(2,minmax(0,.85fr)); gap:22px 18px; }
.dm-latest-v2__item { min-width:0; border-bottom:1px solid rgba(36,52,74,.12); padding-bottom:14px; }
.dm-latest-v2__item--lead { grid-row:span 2; }
.dm-latest-v2__image { display:block; width:100%; aspect-ratio:16/9; overflow:hidden; background:#eef2f5; }
.dm-latest-v2__image img { width:100%; height:100%; object-fit:cover; display:block; }
.dm-latest-v2__item:not(.dm-latest-v2__item--lead) { display:grid; grid-template-columns:132px minmax(0,1fr); gap:11px; align-items:start; }
.dm-latest-v2__item:not(.dm-latest-v2__item--lead) .dm-latest-v2__image { width:132px; aspect-ratio:4/3; }
.dm-latest-v2__copy { padding-top:8px; }
.dm-latest-v2__item:not(.dm-latest-v2__item--lead) .dm-latest-v2__copy { padding-top:0; }
.dm-latest-v2__category { color:var(--dm-primary); font-size:8px; text-transform:uppercase; font-weight:900; margin-bottom:4px; }
.dm-latest-v2 h3 { margin:0; color:var(--dm-dark); font-size:16px; line-height:1.12; font-weight:900; }
.dm-latest-v2__item--lead h3 { font-size:23px; }
.dm-latest-v2 h3 a { color:inherit; text-decoration:none; }
.dm-latest-v2 p { margin:7px 0 0; color:#65727a; font-size:12px; line-height:1.4; }

/* LO MÁS LEÍDO: una noticia con peso visual + ranking 1–5. */
.dm-popular-v2 { margin-top:30px; }
.dm-popular-v2__layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr); gap:26px; align-items:start; }
.dm-popular-v2__featured-image { display:block; aspect-ratio:16/9; overflow:hidden; background:#eef2f5; }
.dm-popular-v2__featured-image img { width:100%; height:100%; object-fit:cover; }
.dm-popular-v2__featured-category { margin-top:9px; color:var(--dm-primary); font-size:9px; text-transform:uppercase; font-weight:900; }
.dm-popular-v2__featured h3 { margin:5px 0 0; font-size:25px; line-height:1.08; font-weight:900; }
.dm-popular-v2__featured h3 a { color:var(--dm-dark); text-decoration:none; }
.dm-popular-v2__ranking { list-style:none; margin:0; padding:0; }
.dm-popular-v2__ranking li { display:grid; grid-template-columns:34px 92px minmax(0,1fr); gap:10px; align-items:center; padding:8px 0; border-bottom:1px solid rgba(36,52,74,.12); }
.dm-popular-v2__rank { color:var(--dm-secondary); font-size:27px; line-height:1; font-weight:900; }
.dm-popular-v2__thumb { display:block; width:92px; aspect-ratio:4/3; overflow:hidden; background:#eef2f5; }
.dm-popular-v2__thumb img { width:100%; height:100%; object-fit:cover; }
.dm-popular-v2__copy span { color:var(--dm-primary); font-size:7px; text-transform:uppercase; font-weight:900; }
.dm-popular-v2__copy h4 { margin:3px 0 0; font-size:12.5px; line-height:1.15; font-weight:900; }
.dm-popular-v2__copy h4 a { color:var(--dm-dark); text-decoration:none; }

/* DEPORMANIACOS TV: portada amplia y playlist similar a una videoteca. */
.dm-tv-v2 { margin-top:32px; padding:18px; border-radius:10px; background:#101b24; color:#fff; }
.dm-tv-v2__heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; padding-bottom:12px; margin-bottom:14px; border-bottom:1px solid rgba(255,255,255,.17); }
.dm-tv-v2__eyebrow { display:block; color:var(--dm-secondary); font-size:8px; text-transform:uppercase; letter-spacing:.1em; font-weight:900; }
.dm-tv-v2__heading h2 { margin:2px 0 0; color:#fff; font-size:29px; line-height:1; font-weight:900; }
.dm-tv-v2__playlist-label { color:rgba(255,255,255,.65); font-size:9px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
.dm-tv-v2__layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(300px,.45fr); gap:16px; align-items:start; }
.dm-tv-v2__embed { position:relative; padding-top:56.25%; background:#000; overflow:hidden; }
.dm-tv-v2__embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.dm-tv-v2 .dm-tv__main-title { margin:10px 0 0; color:#fff; font-size:18px; line-height:1.2; font-weight:900; }
.dm-tv-v2__playlist { display:flex; flex-direction:column; gap:8px; max-height:520px; overflow-y:auto; padding-right:4px; }
.dm-tv-v2 .dm-tv__card { display:grid !important; grid-template-columns:126px minmax(0,1fr) !important; gap:9px !important; align-items:center; width:100%; padding:7px !important; border:0; border-radius:6px; background:rgba(255,255,255,.065) !important; color:#fff !important; text-align:left; cursor:pointer; }
.dm-tv-v2 .dm-tv__card:hover, .dm-tv-v2 .dm-tv__card.is-current { background:rgba(255,255,255,.14) !important; }
.dm-tv-v2 .dm-tv__thumb { width:126px !important; aspect-ratio:16/9; overflow:hidden; }
.dm-tv-v2 .dm-tv__thumb img { width:100%; height:100%; object-fit:cover; }
.dm-tv-v2 .dm-tv__card-title { color:#fff !important; font-size:11.5px; line-height:1.18; font-weight:800; }

/* CATEGORÍAS: cada bloque tiene un ritmo distinto. */
.dm-cat-v2 { margin-top:32px; }
.dm-cat-v2 h3 { margin:8px 0 0; font-weight:900; }
.dm-cat-v2 h3 a { color:var(--dm-dark); text-decoration:none; }
.dm-cat-v2 img { display:block; width:100%; height:100%; object-fit:cover; }

/* Primera: una principal + dos secundarias, sin duplicar alturas enormes. */
.dm-cat-v2__lead-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(300px,.45fr); gap:20px; }
.dm-cat-v2__lead-image { display:block; aspect-ratio:16/9; overflow:hidden; background:#eef2f5; }
.dm-cat-v2__lead h3 { font-size:24px; line-height:1.08; }
.dm-cat-v2__lead p { margin:7px 0 0; color:#65727a; font-size:12px; line-height:1.4; }
.dm-cat-v2__lead-side { display:grid; grid-template-rows:1fr 1fr; gap:15px; }
.dm-cat-v2__lead-side article { min-height:0; }
.dm-cat-v2__side-image { display:block; aspect-ratio:16/8; overflow:hidden; background:#eef2f5; }
.dm-cat-v2__lead-side h3 { font-size:16px; line-height:1.1; }

/* Amateur: dos tarjetas clásicas + una pieza visual. */
.dm-cat-v2__amateur-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.dm-cat-v2__amateur-card { min-width:0; }
.dm-cat-v2__amateur-image { display:block; aspect-ratio:16/10; overflow:hidden; background:#eef2f5; }
.dm-cat-v2__amateur-copy h3 { font-size:17px; line-height:1.1; }
.dm-cat-v2__amateur-card--visual { position:relative; overflow:hidden; min-height:270px; background:var(--dm-dark); }
.dm-cat-v2__amateur-card--visual .dm-cat-v2__amateur-image { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; }
.dm-cat-v2__amateur-card--visual .dm-cat-v2__amateur-image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(8,18,27,.03) 35%,rgba(8,18,27,.88) 100%); }
.dm-cat-v2__amateur-card--visual .dm-cat-v2__amateur-copy { position:absolute; z-index:2; left:0; right:0; bottom:0; padding:18px; }
.dm-cat-v2__amateur-card--visual h3, .dm-cat-v2__amateur-card--visual h3 a { color:#fff !important; font-size:20px; text-shadow:0 2px 7px rgba(0,0,0,.7); }

/* Inferiores: módulo oscuro con una principal y hasta cuatro secundarias. */
.dm-cat-v2--dark { padding:18px; border-radius:9px; background:#152634; color:#fff; }
.dm-cat-v2--dark .dm-section-heading--clean { border-bottom-color:rgba(255,255,255,.17) !important; }
.dm-cat-v2--dark .dm-section-heading__title, .dm-cat-v2--dark .dm-section-heading__link { color:#fff !important; }
.dm-cat-v2__dark-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr); gap:14px; }
.dm-cat-v2__dark-main, .dm-cat-v2__dark-side article { position:relative; overflow:hidden; }
.dm-cat-v2__dark-main { min-height:390px; }
.dm-cat-v2__dark-side { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.dm-cat-v2__dark-side article { min-height:190px; }
.dm-cat-v2__dark-main a, .dm-cat-v2__dark-side a { display:block; position:absolute; inset:0; }
.dm-cat-v2__dark-main img, .dm-cat-v2__dark-side img { width:100%; height:100%; object-fit:cover; }
.dm-cat-v2__overlay { position:absolute; inset:0; background:linear-gradient(180deg,rgba(5,12,18,.04) 25%,rgba(5,12,18,.88) 100%); }
.dm-cat-v2__dark-main h3, .dm-cat-v2__dark-side h3 { position:absolute; z-index:2; left:14px; right:14px; bottom:12px; margin:0; color:#fff; text-shadow:0 2px 7px rgba(0,0,0,.8); }
.dm-cat-v2__dark-main h3 { font-size:26px; line-height:1.06; }
.dm-cat-v2__dark-side h3 { font-size:14px; line-height:1.1; }

/* Femenino: contenido + publicidad lateral vendible. */
.dm-cat-v2__cards-ad-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:22px; align-items:start; }
.dm-cat-v2__clean-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.dm-cat-v2--cards-ad .dm-cat-v2__clean-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.dm-cat-v2__clean-image { display:block; aspect-ratio:16/10; overflow:hidden; background:#eef2f5; }
.dm-cat-v2__clean-grid h3 { font-size:16px; line-height:1.12; }
.dm-cat-v2__ad-side .dm-ad-slot--house { width:100% !important; aspect-ratio:1/1 !important; min-height:0 !important; }

/* Motor: dos grandes + cuatro visuales compactas cuando haya suficiente contenido. */
.dm-cat-v2__motor-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.dm-cat-v2__motor-card { position:relative; min-height:180px; overflow:hidden; background:var(--dm-dark); }
.dm-cat-v2__motor-card--large { grid-column:span 2; min-height:270px; }
.dm-cat-v2__motor-card a { position:absolute; inset:0; display:block; }
.dm-cat-v2__motor-card h3 { position:absolute; z-index:2; left:14px; right:14px; bottom:12px; margin:0; color:#fff; font-size:15px; line-height:1.08; text-shadow:0 2px 7px rgba(0,0,0,.8); }
.dm-cat-v2__motor-card--large h3 { font-size:21px; }
.dm-cat-v2__motor-card .dm-cat-v2__overlay { background:linear-gradient(180deg,rgba(5,12,18,.02) 30%,rgba(5,12,18,.86) 100%); }

/* Publicidad: placeholders vuelven a simular tamaño real. */
.dm-ad-group-front { margin-top:30px !important; margin-bottom:30px !important; }
.dm-ad-slot--house { height:auto !important; padding:16px !important; background:var(--dm-soft) !important; border:1px dashed rgba(36,52,74,.24) !important; }
.dm-ad-group-front--premium .dm-ad-slot--house { min-height:0 !important; aspect-ratio:1200/250 !important; }
.dm-ad-group-front--double .dm-ad-slot--house { min-height:0 !important; aspect-ratio:580/180 !important; }
.dm-ad-group-front--mosaic .dm-ad-slot--house { min-height:0 !important; height:auto !important; aspect-ratio:1/1 !important; }
.dm-ad-house__inner { min-height:0 !important; height:100% !important; }
.dm-ad-house__text { display:block !important; }

/* Facebook se conserva en administración por compatibilidad, pero no se inserta en los nuevos layouts de Home. */
.dm-cat-v2 .dm-facebook { display:none !important; }

@media (max-width:1000px) {
    .dm-home-hero { height:auto !important; grid-template-columns:1fr !important; }
    .dm-home-hero__principal { height:470px !important; }
    .dm-home-hero__destacadas { height:auto !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; grid-template-rows:auto !important; }
    .dm-home-hero__destacada { min-height:240px !important; }
    .dm-latest-v2__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dm-latest-v2__item--lead { grid-row:auto; grid-column:1/-1; }
    .dm-popular-v2__layout, .dm-tv-v2__layout, .dm-cat-v2__lead-grid, .dm-cat-v2__dark-grid { grid-template-columns:1fr; }
    .dm-tv-v2__playlist { max-height:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:visible; }
    .dm-cat-v2__cards-ad-layout { grid-template-columns:1fr; }
    .dm-cat-v2__ad-side { max-width:420px; }
    .dm-cat-v2__motor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:767px) {
    .dm-home-hero__principal { height:420px !important; }
    .dm-home-hero__principal-content { padding:22px 18px 20px !important; }
    .dm-home-hero__principal-title, .dm-home-hero__principal-title a { font-size:30px !important; }
    .dm-home-hero__destacadas { display:block !important; }
    .dm-home-hero__destacada { min-height:0 !important; margin-top:14px; }
    .dm-home-hero__destacada-image { height:180px !important; }
    .dm-instant-v2__item { grid-template-columns:1fr; gap:6px; }
    .dm-instant-v2__meta { flex-direction:row; align-items:center; gap:9px; }
    .dm-instant-v2__note { display:none; }
    .dm-latest-v2__grid { display:block; }
    .dm-latest-v2__item, .dm-latest-v2__item:not(.dm-latest-v2__item--lead) { display:grid; grid-template-columns:112px minmax(0,1fr); gap:11px; padding:11px 0; }
    .dm-latest-v2__image, .dm-latest-v2__item:not(.dm-latest-v2__item--lead) .dm-latest-v2__image { width:112px; aspect-ratio:4/3; }
    .dm-latest-v2__item--lead h3 { font-size:16px; }
    .dm-latest-v2 p { display:none; }
    .dm-popular-v2__layout { display:block; }
    .dm-popular-v2__featured { margin-bottom:15px; }
    .dm-popular-v2__featured h3 { font-size:20px; }
    .dm-popular-v2__ranking li { grid-template-columns:30px 78px minmax(0,1fr); }
    .dm-popular-v2__thumb { width:78px; }
    .dm-tv-v2 { padding:14px 12px; }
    .dm-tv-v2__heading h2 { font-size:23px; }
    .dm-tv-v2__playlist { display:block; }
    .dm-tv-v2 .dm-tv__card { grid-template-columns:118px minmax(0,1fr) !important; margin-top:8px; }
    .dm-tv-v2 .dm-tv__thumb { width:118px !important; }
    .dm-cat-v2__lead-side, .dm-cat-v2__amateur-grid, .dm-cat-v2__clean-grid, .dm-cat-v2--cards-ad .dm-cat-v2__clean-grid { display:block; }
    .dm-cat-v2__lead-side article, .dm-cat-v2__amateur-card, .dm-cat-v2__clean-grid article { margin-top:14px; }
    .dm-cat-v2__dark-main { min-height:310px; }
    .dm-cat-v2__dark-side { grid-template-columns:1fr 1fr; }
    .dm-cat-v2__dark-side article { min-height:150px; }
    .dm-cat-v2__motor-grid { grid-template-columns:1fr 1fr; }
    .dm-cat-v2__motor-card--large { grid-column:span 2; }
    .dm-ad-group-front--premium .dm-ad-slot--house { aspect-ratio:600/300 !important; }
    .dm-ad-group-front--double { grid-template-columns:1fr !important; }
    .dm-ad-group-front--double .dm-ad-slot--house { aspect-ratio:600/250 !important; }
}

/* =========================================================
   DEPORMANIACOS CORE 1.9.0 — PORTADA MODULAR
   Los estilos editoriales pertenecen al producto, no al tema.
   ========================================================= */

/* Titulares editoriales: mayúsculas con jerarquía fuerte. Los extractos conservan lectura normal. */
.dm-home-flow .dm-home-hero__principal-title,
.dm-home-flow .dm-home-hero__destacada-title,
.dm-home-flow .dm-latest-v2 h3,
.dm-home-flow .dm-popular-v2 h3,
.dm-home-flow .dm-popular-v2 h4,
.dm-home-flow .dm-cat-v2 h3 {
    text-transform:uppercase !important;
    letter-spacing:-.018em;
}
.dm-home-flow .dm-story-excerpt,
.dm-home-flow .dm-latest-v2 p,
.dm-home-flow .dm-home-hero__excerpt {
    text-transform:none !important;
    letter-spacing:normal !important;
}

/* HERO: acompañantes laterales como notas horizontales, no tiras verticales. */
@media (min-width:1001px) {
    .dm-home-hero {
        grid-template-columns:minmax(0,3.2fr) minmax(310px,1fr) !important;
        gap:20px !important;
    }
    .dm-home-hero__destacadas {
        display:grid !important;
        grid-template-columns:1fr !important;
        grid-template-rows:repeat(2,minmax(0,1fr)) !important;
        gap:18px !important;
    }
    .dm-home-hero__destacada {
        display:grid !important;
        grid-template-columns:1fr !important;
        grid-template-rows:auto 1fr !important;
        align-content:start !important;
        overflow:visible !important;
        border-bottom:1px solid rgba(36,52,74,.14) !important;
        padding-bottom:14px !important;
        background:transparent !important;
    }
    .dm-home-hero__destacada-image {
        position:relative !important;
        width:100% !important;
        height:auto !important;
        aspect-ratio:16/9 !important;
        min-height:0 !important;
        border-radius:8px !important;
        overflow:hidden !important;
    }
    .dm-home-hero__destacada-content {
        padding:10px 1px 0 !important;
    }
    .dm-home-hero__destacada .dm-home-hero__category {
        font-size:10px !important;
        margin-bottom:6px !important;
    }
    .dm-home-hero__destacada-title,
    .dm-home-hero__destacada-title a {
        font-size:19px !important;
        line-height:1.08 !important;
    }
}

/* AL INSTANTE: lectura completa en Home, más aire y sin hora ni textos redundantes. */
.dm-instant-v2 {
    margin:24px 0 20px !important;
    padding:20px 26px 22px !important;
    border:1px solid rgba(36,52,74,.11) !important;
    border-top:4px solid var(--dm-secondary) !important;
    border-radius:8px !important;
    background:#fff !important;
    box-shadow:0 5px 20px rgba(15,28,40,.045);
}
.dm-instant-v2__header {
    padding:0 0 14px !important;
    gap:11px !important;
}
.dm-instant-v2__header h2 {
    font-size:24px !important;
    line-height:1 !important;
    letter-spacing:-.02em;
}
.dm-instant-v2__dot {
    width:10px !important;
    height:10px !important;
    flex-basis:10px !important;
}
.dm-instant-v2__item {
    display:grid !important;
    grid-template-columns:112px minmax(0,1fr) !important;
    gap:22px !important;
    padding:17px 0 !important;
    border-top:1px solid rgba(36,52,74,.10) !important;
}
.dm-instant-v2__category {
    color:var(--dm-primary);
    font-size:11px;
    line-height:1.2;
    font-weight:900;
    text-transform:uppercase;
    padding-top:3px;
}
.dm-instant-v2__body h3 {
    margin:0 0 7px !important;
    font-size:20px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    color:var(--dm-dark) !important;
}
.dm-instant-v2__text {
    color:#46545e !important;
    font-size:16px !important;
    line-height:1.52 !important;
}
.dm-instant-v2__text p { margin:0 0 8px !important; }
.dm-instant-v2__text p:last-child { margin-bottom:0 !important; }
.dm-instant-v2__text a { color:var(--dm-primary) !important; font-weight:850 !important; text-underline-offset:2px; }

/* Jerarquía editorial de secciones. */
.dm-cat-v2 { margin-top:38px !important; }
.dm-section-heading--clean .dm-section-heading__title {
    font-size:29px !important;
    letter-spacing:-.025em !important;
}
.dm-section-heading__link { font-size:10px !important; font-weight:900 !important; text-transform:uppercase; }

/* Editorial clásico: titulares y extractos con presencia. */
.dm-cat-v2__lead-grid {
    grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr) !important;
    gap:28px !important;
}
.dm-cat-v2__lead h3,
.dm-cat-v2__lead h3 a {
    font-size:31px !important;
    line-height:1.04 !important;
    font-weight:950 !important;
}
.dm-cat-v2__lead .dm-story-excerpt {
    margin:10px 0 0 !important;
    color:#68747c !important;
    font-size:17px !important;
    line-height:1.4 !important;
}
.dm-cat-v2__lead-side {
    display:grid !important;
    grid-template-rows:repeat(3,auto) !important;
    gap:18px !important;
}
.dm-cat-v2__lead-side article {
    padding-bottom:16px;
    border-bottom:1px solid rgba(36,52,74,.10);
}
.dm-cat-v2__side-image {
    aspect-ratio:16/9 !important;
    border-radius:7px;
}
.dm-cat-v2__lead-side h3,
.dm-cat-v2__lead-side h3 a {
    font-size:21px !important;
    line-height:1.08 !important;
    font-weight:900 !important;
}
.dm-cat-v2__lead-side .dm-story-excerpt,
.dm-cat-v2__amateur-card .dm-story-excerpt,
.dm-cat-v2__clean-grid .dm-story-excerpt,
.dm-cat-v2__cards-main .dm-story-excerpt {
    margin:7px 0 0 !important;
    color:#68747c !important;
    font-size:15px !important;
    line-height:1.4 !important;
}

/* Tarjetas y layouts genéricos. */
.dm-cat-v2__amateur-copy h3,
.dm-cat-v2__amateur-copy h3 a { font-size:20px !important; line-height:1.08 !important; }
.dm-cat-v2__clean-grid h3,
.dm-cat-v2__clean-grid h3 a,
.dm-cat-v2__cards-main h3,
.dm-cat-v2__cards-main h3 a { font-size:20px !important; line-height:1.08 !important; font-weight:900 !important; }

/* Noticias + publicidad: cuatro notas en dos columnas y dos cuadrados apilados. */
.dm-cat-v2__cards-ad-layout {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(270px,300px) !important;
    gap:24px !important;
    align-items:start !important;
}
.dm-cat-v2__cards-main {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px 18px;
}
.dm-cat-v2__cards-main article { min-width:0; }
.dm-cat-v2__ad-side .dm-section-ad--squares {
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
    margin:0 !important;
}
.dm-cat-v2__ad-side .dm-ad-slot,
.dm-cat-v2__ad-side .dm-ad-slot--house { width:100% !important; aspect-ratio:1/1 !important; }

/* Publicidad modular conectada al panel de campañas. */
.dm-section-ad { margin:26px 0 !important; }
.dm-section-ad--premium { display:block; }
.dm-section-ad--premium .dm-ad-slot--house { aspect-ratio:1200/250 !important; min-height:0 !important; }
.dm-section-ad--horizontal {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
.dm-section-ad--horizontal.dm-section-ad--count-1 { grid-template-columns:1fr; }
.dm-section-ad--horizontal .dm-ad-slot--house { aspect-ratio:580/180 !important; min-height:0 !important; }
.dm-section-ad--squares {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin:26px 0 !important;
}
.dm-section-ad--count-1 { grid-template-columns:minmax(240px,320px) !important; }
.dm-section-ad--count-2 { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
.dm-section-ad--count-3 { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
.dm-section-ad--squares .dm-ad-slot--house { aspect-ratio:1/1 !important; min-height:0 !important; }
.dm-section-ad .dm-ad-slot picture,
.dm-section-ad .dm-ad-slot picture img { display:block; width:100%; }

/* Mantener el bloque oscuro y el mosaico como layouts reutilizables. */
.dm-modular-section[data-dm-layout="dark-grid"] .dm-cat-v2 { margin-top:38px !important; }
.dm-modular-section[data-dm-layout="visual-mosaic"] .dm-cat-v2 { margin-top:38px !important; }

@media (max-width:1000px) {
    .dm-cat-v2__lead-grid { grid-template-columns:1fr !important; }
    .dm-cat-v2__lead-side { grid-template-columns:repeat(3,minmax(0,1fr)) !important; grid-template-rows:auto !important; }
    .dm-cat-v2__cards-ad-layout { grid-template-columns:1fr !important; }
    .dm-cat-v2__ad-side { max-width:none !important; }
    .dm-cat-v2__ad-side .dm-section-ad--squares { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
    .dm-section-ad--squares { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:767px) {
    .dm-instant-v2 { padding:17px 17px 19px !important; margin:18px 0 !important; }
    .dm-instant-v2__header h2 { font-size:21px !important; }
    .dm-instant-v2__item { grid-template-columns:1fr !important; gap:6px !important; padding:15px 0 !important; }
    .dm-instant-v2__category { font-size:10px; }
    .dm-instant-v2__body h3 { font-size:18px !important; }
    .dm-instant-v2__text { font-size:15px !important; }

    .dm-section-heading--clean .dm-section-heading__title { font-size:24px !important; }
    .dm-cat-v2__lead h3, .dm-cat-v2__lead h3 a { font-size:25px !important; }
    .dm-cat-v2__lead .dm-story-excerpt { font-size:15px !important; }
    .dm-cat-v2__lead-side { display:block !important; }
    .dm-cat-v2__lead-side article { margin-top:18px !important; }
    .dm-cat-v2__lead-side h3, .dm-cat-v2__lead-side h3 a { font-size:19px !important; }
    .dm-cat-v2__cards-main { grid-template-columns:1fr !important; }
    .dm-cat-v2__ad-side .dm-section-ad--squares,
    .dm-section-ad--horizontal,
    .dm-section-ad--squares,
    .dm-section-ad--count-2,
    .dm-section-ad--count-3 { grid-template-columns:1fr !important; }
    .dm-section-ad--premium .dm-ad-slot--house { aspect-ratio:600/300 !important; }
    .dm-section-ad--horizontal .dm-ad-slot--house { aspect-ratio:600/250 !important; }
}


/* =========================================================
   2.0.0 — Ajustes de composición editorial
   ========================================================= */
@media (min-width:1001px){
  .dm-home-hero{grid-template-columns:minmax(0,3.15fr) minmax(300px,1fr)!important;height:520px!important;align-items:stretch!important}
  .dm-home-hero__destacadas{height:520px!important;display:grid!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:16px!important;overflow:hidden!important}
  .dm-home-hero__destacada{display:grid!important;grid-template-rows:145px minmax(0,1fr)!important;min-height:0!important;overflow:hidden!important;padding:0 0 11px!important;border-bottom:1px solid rgba(36,52,74,.14)!important;background:#fff!important}
  .dm-home-hero__destacada-image{display:block!important;width:100%!important;height:145px!important;min-height:145px!important;aspect-ratio:16/9!important;overflow:hidden!important;border-radius:8px!important}
  .dm-home-hero__destacada-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
  .dm-home-hero__destacada-content{position:relative!important;z-index:2!important;padding:8px 0 0!important;margin:0!important;background:#fff!important;overflow:hidden!important}
  .dm-home-hero__destacada .dm-home-hero__category{display:block!important;position:static!important;margin:0 0 4px!important;line-height:1!important}
  .dm-home-hero__destacada-title{position:static!important;margin:0!important;padding:0!important;transform:none!important}
  .dm-home-hero__destacada-title,.dm-home-hero__destacada-title a{display:block!important;font-size:18px!important;line-height:1.08!important;color:var(--dm-dark)!important;background:#fff!important;text-shadow:none!important}
}
/* Lead-side: nunca reserva huecos invisibles cuando faltan noticias. */
.dm-cat-v2__lead-side{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;grid-auto-rows:auto!important;align-content:start!important;gap:20px!important}.dm-cat-v2__lead-side article{min-height:0!important;height:auto!important}.dm-cat-v2__lead-side article:empty{display:none!important}


/* =========================================================
   2.1.0 — Publicidad integrada a módulos y secciones
   ========================================================= */
.dm-module-ad{margin:24px 0!important}.dm-module-ad .dm-ad-slot--house{aspect-ratio:1200/250!important;min-height:0!important}.dm-modular-section .dm-section-heading + .dm-section-ad--premium{margin-top:14px!important;margin-bottom:24px!important}.dm-cat-v2__ad-side:empty{display:none!important}.dm-cat-v2__cards-ad-layout:has(.dm-cat-v2__ad-side:empty){grid-template-columns:1fr!important}.dm-cat-v2__ad-side .dm-section-ad--count-1{grid-template-columns:1fr!important}.dm-cat-v2__ad-side .dm-section-ad--count-2{grid-template-columns:1fr!important}
@media(max-width:767px){.dm-module-ad .dm-ad-slot--house{aspect-ratio:600/300!important}.dm-module-ad{margin:18px 0!important}}

/* =========================================================
   2.2.1 — PLACEHOLDER COMERCIAL CON PRESENCIA
   El espacio vacío debe vender visualmente el formato.
   ========================================================= */
.dm-ad-slot--house {
    position: relative;
    overflow: hidden;
    border: 2px dashed color-mix(in srgb, var(--dm-primary) 45%, transparent);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--dm-primary) 7%, white), rgba(255,255,255,.94));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.dm-ad-house__inner {
    width: min(92%, 760px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
}

.dm-ad-house__eyebrow {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dm-secondary);
}

.dm-ad-house__title {
    font-size: clamp(24px, 2.6vw, 40px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--dm-primary);
}

.dm-ad-house__text {
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.35;
    font-weight: 600;
    opacity: .82;
    color: var(--dm-dark);
}

.dm-ad-house__size {
    margin-top: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(0,0,0,.08);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    color: var(--dm-dark);
}

/* Banner ancho: presencia fuerte sin alterar la proporción real */
.dm-ad-slot--premium-house .dm-ad-house__inner {
    gap: 9px;
}

/* Banner mediano */
.dm-ad-slot--double-house .dm-ad-house__title {
    font-size: clamp(22px, 2vw, 32px);
}

/* Cuadrados/sidebar: más comercial y legible */
.dm-ad-slot--mosaic-house .dm-ad-house__inner {
    width: 92%;
    gap: 9px;
}
.dm-ad-slot--mosaic-house .dm-ad-house__title {
    font-size: clamp(22px, 2.15vw, 32px);
}
.dm-ad-slot--mosaic-house .dm-ad-house__text {
    font-size: clamp(14px, 1.1vw, 17px);
}

@media (max-width: 767px) {
    .dm-ad-house__inner {
        width: 94%;
        padding: 12px 8px;
        gap: 6px;
    }
    .dm-ad-house__eyebrow {
        font-size: 10px;
    }
    .dm-ad-house__title {
        font-size: clamp(20px, 6vw, 28px);
    }
    .dm-ad-house__text {
        font-size: 13px;
    }
    .dm-ad-house__size {
        font-size: 10px;
        padding: 6px 9px;
    }
}

/* =========================================================
   2.2.3 — PUBLICIDAD VISIBLE, SIMPLE Y PROPORCIONADA
   En el sitio público sólo se muestra el mensaje comercial.
   ========================================================= */
.dm-ad-house__eyebrow,
.dm-ad-house__size {
    display: none !important;
}

/* Banner ancho estándar: 1200x150 en escritorio / 600x150 en móvil. */
.dm-module-ad .dm-ad-slot--house,
.dm-section-ad--premium .dm-ad-slot--house,
.dm-ad-group-front--premium .dm-ad-slot--house,
.dm-ad-slot--premium-house,
.dm-home-ad--premium .dm-ad-slot--house {
    aspect-ratio: 8 / 1 !important;
    min-height: 0 !important;
    height: auto !important;
}

/* El mensaje debe tener presencia, sin información técnica visible. */
.dm-ad-house__inner {
    width: min(92%, 760px) !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 12px 18px !important;
    gap: 7px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}
.dm-ad-house__title {
    display: block !important;
    margin: 0 !important;
    font-size: clamp(23px, 2vw, 32px) !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
    color: var(--dm-primary) !important;
}
.dm-ad-house__text {
    display: block !important;
    margin: 0 !important;
    font-size: clamp(14px, 1.05vw, 17px) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: var(--dm-dark) !important;
    opacity: .82 !important;
}

/* Cuadrados: misma comunicación, sin nombre del formato ni medidas. */
.dm-ad-slot--mosaic-house .dm-ad-house__title {
    font-size: clamp(22px, 1.8vw, 29px) !important;
}
.dm-ad-slot--mosaic-house .dm-ad-house__text {
    font-size: clamp(14px, 1vw, 16px) !important;
}

@media (max-width: 767px) {
    .dm-module-ad .dm-ad-slot--house,
    .dm-section-ad--premium .dm-ad-slot--house,
    .dm-ad-group-front--premium .dm-ad-slot--house,
    .dm-ad-slot--premium-house,
    .dm-home-ad--premium .dm-ad-slot--house {
        aspect-ratio: 4 / 1 !important; /* 600x150 */
    }
    .dm-ad-house__inner {
        width: 94% !important;
        padding: 9px 12px !important;
        gap: 4px !important;
    }
    .dm-ad-house__title {
        font-size: clamp(20px, 5.4vw, 26px) !important;
    }
    .dm-ad-house__text {
        font-size: 13px !important;
    }
}



/* =========================================================
   2.3.0 — PRIMERA CAPA RESPONSIVE EDITORIAL
   Reglas finales para que la vista móvil no sea sólo el escritorio comprimido.
   ========================================================= */
@media (max-width: 767px) {
    .dm-home-flow { overflow:hidden; }

    /* Hero: principal primero y secundarias debajo. */
    .dm-home-hero { display:block !important; height:auto !important; }
    .dm-home-hero__principal { height:390px !important; min-height:390px !important; margin-bottom:14px !important; }
    .dm-home-hero__principal-content { padding:18px 16px 17px !important; }
    .dm-home-hero__principal-title,
    .dm-home-hero__principal-title a { font-size:30px !important; line-height:1.02 !important; }
    .dm-home-hero__excerpt { font-size:14px !important; line-height:1.35 !important; }
    .dm-home-hero__destacadas { display:grid !important; grid-template-columns:1fr 1fr !important; grid-template-rows:auto !important; height:auto !important; gap:12px !important; overflow:visible !important; }
    .dm-home-hero__destacada { display:block !important; min-height:0 !important; height:auto !important; margin:0 !important; padding:0 0 10px !important; overflow:visible !important; }
    .dm-home-hero__destacada-image { height:auto !important; min-height:0 !important; aspect-ratio:16/10 !important; border-radius:7px !important; }
    .dm-home-hero__destacada-content { padding:7px 0 0 !important; overflow:visible !important; }
    .dm-home-hero__destacada-title,
    .dm-home-hero__destacada-title a { font-size:15px !important; line-height:1.08 !important; }
    .dm-home-hero__destacada .dm-home-hero__category { font-size:9px !important; margin-bottom:4px !important; }

    /* Al Instante: lectura cómoda en una sola columna. */
    .dm-instant-v2 { padding:18px 16px 20px !important; }
    .dm-instant-v2__header h2 { font-size:22px !important; }
    .dm-instant-v2__body h3 { font-size:19px !important; line-height:1.12 !important; }
    .dm-instant-v2__text { font-size:15px !important; line-height:1.5 !important; }

    /* Últimas y tarjetas: titulares legibles y sin columnas apretadas. */
    .dm-latest-v2__grid { display:block !important; }
    .dm-latest-v2__item { margin-bottom:18px !important; }
    .dm-latest-v2__item:not(.dm-latest-v2__item--lead) { display:grid !important; grid-template-columns:118px minmax(0,1fr) !important; gap:11px !important; align-items:start !important; }
    .dm-latest-v2__item:not(.dm-latest-v2__item--lead) .dm-latest-v2__image { aspect-ratio:4/3 !important; }
    .dm-latest-v2__item--lead h3,
    .dm-latest-v2__item--lead h3 a { font-size:24px !important; line-height:1.05 !important; }
    .dm-latest-v2__item:not(.dm-latest-v2__item--lead) h3,
    .dm-latest-v2__item:not(.dm-latest-v2__item--lead) h3 a { font-size:16px !important; line-height:1.08 !important; }

    /* Secciones: una noticia por fila cuando hay texto; mosaicos conservan ritmo visual. */
    .dm-cat-v2__lead-grid,
    .dm-cat-v2__cards-ad-layout,
    .dm-cat-v2__dark-grid { grid-template-columns:1fr !important; }
    .dm-cat-v2__lead-side { display:grid !important; grid-template-columns:1fr 1fr !important; gap:12px !important; }
    .dm-cat-v2__lead-side article { margin:0 !important; }
    .dm-cat-v2__lead-side h3,
    .dm-cat-v2__lead-side h3 a { font-size:15px !important; }
    .dm-cat-v2__amateur-grid,
    .dm-cat-v2__clean-grid,
    .dm-cat-v2--cards-ad .dm-cat-v2__clean-grid,
    .dm-cat-v2__cards-main { display:grid !important; grid-template-columns:1fr !important; gap:17px !important; }
    .dm-cat-v2__clean-grid article,
    .dm-cat-v2__amateur-card { margin:0 !important; }
    .dm-cat-v2__clean-grid h3,
    .dm-cat-v2__clean-grid h3 a,
    .dm-cat-v2__cards-main h3,
    .dm-cat-v2__cards-main h3 a { font-size:19px !important; line-height:1.08 !important; }
    .dm-cat-v2__dark-side { display:grid !important; grid-template-columns:1fr 1fr !important; gap:10px !important; margin-top:10px !important; }
    .dm-cat-v2__motor-grid { grid-template-columns:1fr 1fr !important; gap:10px !important; }
    .dm-cat-v2__motor-card--large:first-child { grid-column:1/-1 !important; }

    /* TV: video arriba y playlist debajo, fácil de recorrer con el dedo. */
    .dm-tv-v2 { padding:14px 12px !important; }
    .dm-tv-v2__layout { display:block !important; }
    .dm-tv-v2__playlist { margin-top:12px !important; max-height:330px !important; overflow:auto !important; }
    .dm-tv-v2 .dm-tv__card { grid-template-columns:110px minmax(0,1fr) !important; gap:10px !important; }
    .dm-tv-v2 .dm-tv__thumb { width:110px !important; }

    /* Publicidad: banner fino real en móvil y cuadrados en dos columnas. */
    .dm-module-ad .dm-ad-slot--house,
    .dm-section-ad--premium .dm-ad-slot--house,
    .dm-ad-group-front--premium .dm-ad-slot--house,
    .dm-ad-slot--premium-house,
    .dm-home-ad--premium .dm-ad-slot--house { aspect-ratio:4/1 !important; }
    .dm-section-ad--horizontal .dm-ad-slot--house { aspect-ratio:600/250 !important; }
    .dm-cat-v2__ad-side .dm-section-ad--squares,
    .dm-section-ad--squares,
    .dm-section-ad--count-2,
    .dm-section-ad--count-3 { display:grid !important; grid-template-columns:1fr 1fr !important; gap:10px !important; }
    .dm-section-ad--count-1 { grid-template-columns:1fr !important; }
    .dm-ad-house__title { font-size:22px !important; }
    .dm-ad-house__text { font-size:12px !important; }

    /* Más leído: destacada arriba y ranking compacto. */
    .dm-popular-v2__layout { display:block !important; }
    .dm-popular-v2__ranking { margin-top:14px !important; }
}

@media (max-width: 430px) {
    .dm-home-hero__principal { height:365px !important; min-height:365px !important; }
    .dm-home-hero__principal-title,
    .dm-home-hero__principal-title a { font-size:27px !important; }
    .dm-home-hero__destacadas { grid-template-columns:1fr 1fr !important; gap:10px !important; }
    .dm-home-hero__destacada-title,
    .dm-home-hero__destacada-title a { font-size:14px !important; }
    .dm-section-heading--clean .dm-section-heading__title { font-size:22px !important; }
}


/* =========================================================
   2.3.1 — AJUSTES MÓVILES DE LECTURA Y PUBLICIDAD
   ========================================================= */
.dm-instant-v2__text--excerpt,
.dm-instant-v2__more { display:none; }

@media (max-width: 767px) {
    /* Al Instante: resumen inicial para no ocupar toda la pantalla. */
    .dm-instant-v2__text--full { display:none !important; }
    .dm-instant-v2__text--excerpt {
        display:block !important;
        font-size:15px !important;
        line-height:1.48 !important;
    }
    .dm-instant-v2__more {
        display:inline-flex !important;
        margin-top:10px !important;
        padding:0 !important;
        border:0 !important;
        background:transparent !important;
        color:var(--dm-primary) !important;
        font:inherit !important;
        font-size:14px !important;
        line-height:1.2 !important;
        font-weight:800 !important;
        cursor:pointer !important;
        text-decoration:underline !important;
        text-underline-offset:3px !important;
    }
    .dm-instant-v2__item.is-expanded .dm-instant-v2__text--excerpt { display:none !important; }
    .dm-instant-v2__item.is-expanded .dm-instant-v2__text--full { display:block !important; }

    /* En celular, los espacios publicitarios se apilan: nunca dos o cuatro cuadrados juntos. */
    .dm-cat-v2__ad-side .dm-section-ad--squares,
    .dm-section-ad--squares,
    .dm-section-ad--count-2,
    .dm-section-ad--count-3,
    .dm-section-ad--count-4,
    .dm-ad-group-front--double,
    .dm-ad-grid,
    .dm-home-ad--double {
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:12px !important;
    }
    .dm-section-ad--squares > *,
    .dm-section-ad--count-2 > *,
    .dm-section-ad--count-3 > *,
    .dm-section-ad--count-4 > *,
    .dm-ad-group-front--double > *,
    .dm-home-ad--double > * {
        width:100% !important;
        max-width:none !important;
    }

    /* Cuadrados/sidebar: una pieza por fila y con aire entre anuncios. */
    .dm-cat-v2__ad-side {
        display:block !important;
    }
    .dm-cat-v2__ad-side .dm-ad-slot,
    .dm-section-ad--squares .dm-ad-slot {
        margin-bottom:12px !important;
    }
    .dm-cat-v2__ad-side .dm-ad-slot:last-child,
    .dm-section-ad--squares .dm-ad-slot:last-child {
        margin-bottom:0 !important;
    }
}


/* =========================================================
   2.3.2 — PUBLICIDAD MÓVIL DISTRIBUIDA
   En móvil, cuando una sección tiene 4 cuadrados activos,
   el JS los reparte dentro del contenido para evitar una
   pared de anuncios consecutivos. En escritorio no cambia.
   ========================================================= */
@media (max-width: 767px) {
    .dm-mobile-ad-break {
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:12px !important;
        width:100% !important;
        margin:16px 0 18px !important;
        grid-column:1 / -1 !important;
    }
    .dm-mobile-ad-break .dm-ad-slot {
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
    }
    .dm-mobile-ad-break .dm-ad-slot--house,
    .dm-mobile-ad-break .dm-ad-slot--mosaic-house {
        aspect-ratio:1 / 1 !important;
        min-height:0 !important;
    }
    /* El contenedor original queda vacío mientras los avisos están redistribuidos. */
    .dm-section-ad--squares.is-mobile-distributed {
        display:none !important;
    }
}

/* =========================================================
   v2.5.0 · PLANTILLA EDITORIAL DE NOTICIA
   ========================================================= */
.dm-article-page{background:#f5f7f8;padding:48px 20px 70px;color:var(--dm-dark)}
.dm-article-shell{width:min(1240px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,850px) 320px;gap:42px;align-items:start}
.dm-article-main{background:#fff;border-radius:4px;padding:42px 46px;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.dm-article-header{margin-bottom:28px}.dm-article-category{display:inline-block;color:var(--dm-primary);font-size:13px;font-weight:900;text-transform:uppercase;text-decoration:none;margin-bottom:12px}
.dm-article-header h1{font-size:clamp(38px,4vw,56px)!important;line-height:1.02!important;letter-spacing:-1.5px;margin:0 0 18px!important;text-transform:uppercase;font-weight:900;color:var(--dm-dark)}
.dm-article-deck{font-size:20px;line-height:1.45;color:#536171;margin-bottom:20px;max-width:780px}.dm-article-meta{display:flex;flex-wrap:wrap;gap:10px 18px;padding-top:15px;border-top:1px solid #e4e7ea;font-size:13px;color:#66717d}.dm-article-meta span+span:before{content:'•';margin-right:18px;color:var(--dm-secondary)}
.dm-article-featured{margin:0 0 26px}.dm-article-featured img{display:block;width:100%;height:auto;border-radius:3px}
.dm-article-body{font-size:19px;line-height:1.75;color:#26394c}.dm-article-body p{margin:0 0 1.45em}.dm-article-body h2{font-size:30px;line-height:1.15;margin:1.7em 0 .6em;color:var(--dm-dark)}.dm-article-body h3{font-size:24px;margin:1.5em 0 .55em}.dm-article-body img{max-width:100%;height:auto}.dm-article-body a{color:var(--dm-primary)}
.dm-article-ad{margin:30px 0}.dm-article-body .dm-ad-slot--article-middle{margin:34px 0}.dm-article-page .dm-ad-slot--premium-house{min-height:120px}.dm-article-page .dm-ad-slot--article-middle{min-height:170px}
.dm-article-sidebar{position:sticky;top:30px;display:flex;flex-direction:column;gap:24px}.dm-article-popular{background:#fff;padding:22px;border-top:4px solid var(--dm-primary)}.dm-article-popular h2{font-size:25px;margin:0 0 16px;text-transform:uppercase}.dm-article-popular__item{display:grid;grid-template-columns:30px 1fr 72px;gap:10px;align-items:center;padding:13px 0;border-top:1px solid #e6e8ea;text-decoration:none;color:var(--dm-dark)}.dm-article-popular__item>span{font-size:26px;font-weight:900;color:var(--dm-primary)}.dm-article-popular__item strong{font-size:14px;line-height:1.2;text-transform:uppercase}.dm-article-popular__item img{width:72px;height:58px;object-fit:cover}
.dm-article-sidebar-ad .dm-ad-slot{width:100%;aspect-ratio:1/1;min-height:0}.dm-article-sidebar-ad .dm-ad-slot picture,.dm-article-sidebar-ad .dm-ad-slot img{width:100%;height:100%;object-fit:cover}
.dm-article-related{margin-top:44px;border-top:3px solid var(--dm-dark);padding-top:18px}.dm-article-section-title h2{font-size:26px;text-transform:uppercase;margin:0 0 18px}.dm-article-related__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.dm-article-related__card{text-decoration:none;color:var(--dm-dark)}.dm-article-related__card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;margin-bottom:9px}.dm-article-related__card strong{font-size:16px;line-height:1.2;text-transform:uppercase}
@media(max-width:900px){.dm-article-page{padding:20px 0 45px}.dm-article-shell{display:block}.dm-article-main{padding:25px 20px;border-radius:0}.dm-article-header h1{font-size:34px!important;letter-spacing:-.7px}.dm-article-deck{font-size:18px}.dm-article-body{font-size:18px;line-height:1.7}.dm-article-meta span+span:before{display:none}.dm-article-sidebar{position:static;padding:20px;gap:20px}.dm-article-related__grid{grid-template-columns:1fr}.dm-article-related__card{display:grid;grid-template-columns:120px 1fr;gap:12px}.dm-article-related__card img{margin:0;aspect-ratio:4/3}.dm-article-page .dm-ad-slot--article-middle{min-height:150px}}

/* 2.5.1 — Noticia editorial refinada */
.dm-article-page{background:#f3f5f6;padding:54px 20px 80px;color:var(--dm-dark)}
.dm-article-shell{width:min(1280px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,880px) 320px;gap:40px;align-items:start}
.dm-article-main{background:#fff;border-radius:8px;padding:46px 52px 50px;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.dm-article-header{margin-bottom:26px}.dm-article-category{display:inline-flex;align-items:center;gap:7px;color:var(--dm-primary);font-size:12px;font-weight:900;text-transform:uppercase;text-decoration:none;letter-spacing:.45px;margin-bottom:12px}.dm-article-category:before{content:'';width:28px;height:3px;background:var(--dm-secondary);display:inline-block}
.dm-article-header h1{font-size:clamp(44px,4.5vw,62px)!important;line-height:.98!important;letter-spacing:-1.8px;margin:0 0 20px!important;text-transform:uppercase;font-weight:950;color:var(--dm-dark);max-width:840px}
.dm-article-deck{font-size:21px;line-height:1.45;color:#566676;margin-bottom:22px;max-width:800px}
.dm-article-meta{display:flex;flex-wrap:wrap;gap:10px 18px;padding:15px 0 0;border-top:1px solid #e5e8ea;font-size:13px;color:#6b7580}.dm-article-meta strong{color:var(--dm-dark)}
.dm-article-featured{margin:0 -12px 28px}.dm-article-featured img{display:block;width:calc(100% + 24px);max-width:calc(100% + 24px);height:auto;border-radius:6px}
.dm-article-ad{margin:30px 0}.dm-article-ad .dm-ad-slot{border-radius:4px;overflow:hidden}.dm-article-page .dm-ad-slot--article-top{min-height:108px}.dm-article-page .dm-ad-slot--article-middle{min-height:150px}
.dm-article-body{font-size:19px;line-height:1.82;color:#26394c;max-width:760px}.dm-article-body p{margin:0 0 1.45em}.dm-article-body h2{font-size:31px!important;line-height:1.15;margin:1.7em 0 .65em!important;color:var(--dm-dark);font-weight:900}.dm-article-body h3{font-size:25px!important;line-height:1.2;margin:1.5em 0 .55em!important}.dm-article-body blockquote{border-left:4px solid var(--dm-secondary);margin:1.7em 0;padding:.3em 0 .3em 22px;font-size:22px;line-height:1.5;font-weight:700;color:var(--dm-dark)}
.dm-article-sidebar{position:sticky;top:30px;display:flex;flex-direction:column;gap:22px}.dm-article-popular{background:#fff;border-radius:6px;overflow:hidden;border-top:5px solid var(--dm-primary);box-shadow:0 1px 0 rgba(0,0,0,.04)}.dm-article-popular__head{padding:20px 20px 12px}.dm-article-popular__head>span{font-size:10px;text-transform:uppercase;color:var(--dm-secondary);font-weight:900;letter-spacing:.7px}.dm-article-popular h2{font-size:27px;margin:2px 0 0;text-transform:uppercase;line-height:1}.dm-article-popular__item{display:grid;grid-template-columns:34px 1fr 78px;gap:10px;align-items:center;padding:15px 18px;border-top:1px solid #e8eaec;text-decoration:none;color:var(--dm-dark)}.dm-article-popular__number{font-size:31px;font-weight:950;color:var(--dm-primary);line-height:1}.dm-article-popular__item strong{font-size:13px;line-height:1.18;text-transform:uppercase}.dm-article-popular__item img{width:78px;height:62px;object-fit:cover;border-radius:3px}
.dm-article-sidebar-ad .dm-ad-slot{width:100%;aspect-ratio:1/1;min-height:0}.dm-article-sidebar-ad .dm-ad-slot picture,.dm-article-sidebar-ad .dm-ad-slot img{width:100%;height:100%;object-fit:cover}
.dm-article-related{margin-top:48px;border-top:4px solid var(--dm-dark);padding-top:19px}.dm-article-section-title>span{font-size:10px;text-transform:uppercase;color:var(--dm-secondary);font-weight:900;letter-spacing:.7px}.dm-article-section-title h2{font-size:28px;text-transform:uppercase;margin:3px 0 20px;line-height:1}.dm-article-related__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.dm-article-related__card{background:#fff;text-decoration:none;color:var(--dm-dark);display:block}.dm-article-related__card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;margin:0 0 10px;border-radius:4px}.dm-article-related__card strong{font-size:15px;line-height:1.2;text-transform:uppercase;display:block}
@media(max-width:900px){.dm-article-page{padding:18px 0 44px}.dm-article-shell{display:block}.dm-article-main{padding:24px 20px 34px;border-radius:0}.dm-article-category{font-size:11px}.dm-article-header h1{font-size:36px!important;line-height:1.02!important;letter-spacing:-.8px}.dm-article-deck{font-size:18px;line-height:1.5}.dm-article-meta{font-size:12px;gap:7px 12px}.dm-article-featured{margin:0 -20px 24px}.dm-article-featured img{width:calc(100% + 40px);max-width:calc(100% + 40px);border-radius:0}.dm-article-body{font-size:18px;line-height:1.72;max-width:none}.dm-article-body h2{font-size:27px!important}.dm-article-body h3{font-size:22px!important}.dm-article-sidebar{position:static;padding:20px;gap:18px}.dm-article-popular__item{grid-template-columns:30px 1fr 72px;padding:13px 14px}.dm-article-related__grid{grid-template-columns:1fr}.dm-article-related__card{display:grid;grid-template-columns:125px 1fr;gap:12px;align-items:center}.dm-article-related__card img{margin:0;aspect-ratio:4/3}.dm-article-ad{margin:24px 0}.dm-article-page .dm-ad-slot--article-middle{min-height:130px}}


/* 2.5.2 — Más inventario lateral en desktop, distribuido en móvil */
.dm-article-mobile-side-ad{display:none}
@media (max-width:900px){
  .dm-article-sidebar .dm-article-sidebar-ad{display:none!important}
  .dm-article-mobile-side-ad{display:block;margin:28px auto;max-width:500px}
  .dm-article-mobile-side-ad .dm-ad-slot{width:100%;aspect-ratio:1/1;min-height:0}
  .dm-article-mobile-side-ad .dm-ad-slot picture,.dm-article-mobile-side-ad .dm-ad-slot img{width:100%;height:100%;object-fit:cover}
}

/* 2.5.3 — Compartir noticias */
.dm-article-share{display:flex;align-items:center;gap:14px;padding:14px 0;margin:0 0 24px;border-top:1px solid #e5e8ea;border-bottom:1px solid #e5e8ea}
.dm-article-share--bottom{margin:34px 0 0}
.dm-article-share__label{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.55px;color:var(--dm-dark)}
.dm-article-share__buttons{display:flex;flex-wrap:wrap;gap:8px}
.dm-share-button{appearance:none;border:1px solid #dce1e5;background:#fff;color:var(--dm-dark);min-height:38px;padding:7px 12px;border-radius:6px;display:inline-flex;align-items:center;gap:7px;text-decoration:none!important;font:inherit;font-size:12px;font-weight:800;line-height:1;cursor:pointer;transition:.15s ease}
.dm-share-button:hover{border-color:#aeb7bf;transform:translateY(-1px)}
.dm-share-button>span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:900;background:#eef1f3}
.dm-share-button--whatsapp>span{background:#e8f8ee;color:#168942}.dm-share-button--facebook>span{background:#eaf0fb;color:#2765b5}
.dm-share-button--native{display:none}
.dm-share-button.is-copied b:after{content:' ✓'}
@media(max-width:900px){
 .dm-article-share{display:block;margin:0 0 20px;padding:13px 0}.dm-article-share--bottom{margin:28px 0 0}
 .dm-article-share__label{display:block;margin-bottom:9px}.dm-article-share__buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .dm-share-button{justify-content:center;padding:9px 8px;min-height:42px}.dm-share-button--native{display:inline-flex}
}

/* =========================================================
   2.5.4 — ARCHIVO DE CATEGORÍAS EDITORIAL
   ========================================================= */
.dm-category-page{background:#f4f6f7;padding:38px 20px 60px;color:var(--dm-dark)}
.dm-category-container{max-width:1240px;margin:0 auto}
.dm-category-header{padding:0 0 22px;border-bottom:1px solid #d9dee2;margin-bottom:24px}
.dm-category-kicker{display:block;color:var(--dm-primary);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px}
.dm-category-header h1{font-size:38px;line-height:1.05;margin:0;text-transform:uppercase;font-weight:900;letter-spacing:-.025em}
.dm-category-description{max-width:780px;font-size:17px;line-height:1.55;color:#5d6874;margin-top:10px}.dm-category-description p{margin:0}
.dm-category-ad{margin:0 0 26px}.dm-category-ad--bottom{margin:30px 0 0}
.dm-category-featured{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.8fr);gap:18px;margin-bottom:30px}
.dm-category-lead{position:relative;display:block;min-height:480px;border-radius:10px;overflow:hidden;background:#17202a;color:#fff;text-decoration:none}.dm-category-lead>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.dm-category-lead:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.88))}.dm-category-lead__overlay{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:30px}.dm-category-lead__overlay span,.dm-category-side-card span{font-size:11px;font-weight:900;text-transform:uppercase;color:#b8d55b;letter-spacing:.04em}.dm-category-lead__overlay h2{font-size:40px;line-height:1.02;text-transform:uppercase;margin:7px 0 10px;color:#fff;font-weight:950;letter-spacing:-.025em}.dm-category-lead__overlay p{margin:0;max-width:760px;font-size:16px;line-height:1.45;color:#f0f2f3}
.dm-category-featured__side{display:grid;grid-template-rows:repeat(2,1fr);gap:18px}.dm-category-side-card{display:grid;grid-template-rows:170px auto;background:#fff;border-radius:9px;overflow:hidden;text-decoration:none;color:var(--dm-dark);box-shadow:0 1px 0 rgba(0,0,0,.05)}.dm-category-side-card img{width:100%;height:170px;object-fit:cover}.dm-category-side-card div{padding:13px 15px}.dm-category-side-card h3{font-size:20px;line-height:1.1;text-transform:uppercase;margin:5px 0 0;font-weight:900;color:var(--dm-dark)}
.dm-category-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.dm-category-feed{min-width:0}.dm-category-section-heading{display:flex;align-items:center;border-bottom:2px solid var(--dm-dark);margin-bottom:18px}.dm-category-section-heading h2{font-size:24px;text-transform:uppercase;margin:0 0 8px;font-weight:900}.dm-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.dm-category-card{background:#fff;border-radius:8px;overflow:hidden}.dm-category-card__image{display:block;aspect-ratio:16/9;overflow:hidden}.dm-category-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.dm-category-card:hover .dm-category-card__image img{transform:scale(1.025)}.dm-category-card__body{padding:14px 15px 16px}.dm-category-card__cat{font-size:10px;text-transform:uppercase;font-weight:900;color:var(--dm-primary);letter-spacing:.04em}.dm-category-card h3{font-size:22px;line-height:1.08;text-transform:uppercase;margin:6px 0 8px;font-weight:950}.dm-category-card h3 a{text-decoration:none;color:var(--dm-dark)}.dm-category-card p{font-size:15px;line-height:1.45;color:#5f6b76;margin:0 0 10px}.dm-category-card__meta{font-size:11px;color:#7b858e}
.dm-category-feed-ad{grid-column:1/-1}.dm-category-mobile-ad{display:none}.dm-category-sidebar{position:sticky;top:30px;display:grid;gap:18px}.dm-category-sidebar-ad{margin:0}.dm-category-sidebar .dm-article-popular{margin:0}
.dm-category-pagination{display:flex;justify-content:center;gap:6px;margin-top:30px}.dm-category-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:5px;background:#fff;border:1px solid #d8dde1;text-decoration:none;color:var(--dm-dark);font-weight:800}.dm-category-pagination .current{background:var(--dm-primary);border-color:var(--dm-primary);color:#fff}
.dm-category-empty{padding:40px;background:#fff;border-radius:8px;text-align:center}
@media(max-width:900px){
 .dm-category-page{padding:20px 14px 40px}.dm-category-header h1{font-size:30px}.dm-category-description{font-size:15px}.dm-category-featured{display:block}.dm-category-lead{min-height:390px;margin-bottom:14px}.dm-category-lead__overlay{padding:20px}.dm-category-lead__overlay h2{font-size:30px}.dm-category-featured__side{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}.dm-category-side-card{grid-template-rows:120px auto}.dm-category-side-card img{height:120px}.dm-category-side-card h3{font-size:15px}.dm-category-layout{display:block}.dm-category-sidebar{display:none}.dm-category-grid{grid-template-columns:1fr;gap:16px}.dm-category-card h3{font-size:20px}.dm-category-card p{font-size:15px}.dm-category-feed-ad{grid-column:auto}.dm-category-mobile-ad{display:block}.dm-category-mobile-ad .dm-ad-slot{max-width:100%;margin:0 auto}.dm-category-section-heading h2{font-size:21px}
}
@media(max-width:520px){.dm-category-featured__side{grid-template-columns:1fr}.dm-category-side-card{grid-template-columns:145px 1fr;grid-template-rows:auto}.dm-category-side-card img{width:145px;height:120px}.dm-category-lead{min-height:340px}.dm-category-lead__overlay h2{font-size:27px}}


/* 2.5.5 — Variantes simples para páginas de categoría */
.dm-category-page--clean-grid .dm-category-layout{grid-template-columns:1fr}.dm-category-page--clean-grid .dm-category-sidebar{display:none}.dm-category-page--clean-grid .dm-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.dm-category-page--news-sidebar .dm-category-featured{grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr)}
@media(max-width:900px){.dm-category-page--clean-grid .dm-category-grid{grid-template-columns:1fr}.dm-category-page--news-sidebar .dm-category-featured{grid-template-columns:1fr}}


/* 2.5.6 — Categorías: sin huecos + mobile editorial limpio */
.dm-category-card{display:block!important}
.dm-category-card--wide{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(260px,.95fr) minmax(0,1.05fr);align-items:stretch}
.dm-category-card--wide .dm-category-card__image{aspect-ratio:auto;min-height:260px;height:100%}
.dm-category-card--wide .dm-category-card__body{display:flex;flex-direction:column;justify-content:center;padding:24px 26px}
.dm-category-card--wide h3{font-size:28px}
.dm-category-mobile-popular{display:none}

@media(max-width:900px){
  .dm-category-page{padding:16px 12px 36px!important;background:#f4f6f7}
  .dm-category-container{max-width:100%}
  .dm-category-header{margin-bottom:16px;padding-bottom:14px}
  .dm-category-header h1{font-size:28px!important;line-height:1.05!important}

  .dm-category-featured{display:block!important;margin-bottom:22px!important}
  .dm-category-lead{min-height:0!important;background:#fff!important;color:var(--dm-dark)!important;border-radius:10px!important;overflow:hidden!important;box-shadow:0 1px 0 rgba(0,0,0,.05)!important}
  .dm-category-lead>img{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important}
  .dm-category-lead:after{display:none!important}
  .dm-category-lead__overlay{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;padding:16px 16px 18px!important;background:#fff!important}
  .dm-category-lead__overlay span{color:var(--dm-primary)!important;font-size:10px!important}
  .dm-category-lead__overlay h2{font-size:25px!important;line-height:1.04!important;color:var(--dm-dark)!important;margin:6px 0 8px!important;text-shadow:none!important}
  .dm-category-lead__overlay p{font-size:15px!important;line-height:1.45!important;color:#5f6b76!important;margin:0!important}

  .dm-category-featured__side{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:10px!important}
  .dm-category-side-card{display:grid!important;grid-template-columns:128px minmax(0,1fr)!important;grid-template-rows:auto!important;min-height:104px!important;border-radius:8px!important}
  .dm-category-side-card img{width:128px!important;height:104px!important;object-fit:cover!important}
  .dm-category-side-card div{padding:11px 12px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
  .dm-category-side-card h3{font-size:16px!important;line-height:1.08!important;margin:4px 0 0!important}

  .dm-category-layout{display:block!important}
  .dm-category-sidebar{display:none!important}
  .dm-category-section-heading{margin-bottom:12px!important}
  .dm-category-section-heading h2{font-size:20px!important;margin-bottom:6px!important}
  .dm-category-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  .dm-category-card,.dm-category-card--wide{display:block!important;grid-column:auto!important;background:#fff!important;border-radius:9px!important;overflow:hidden!important}
  .dm-category-card__image,.dm-category-card--wide .dm-category-card__image{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;overflow:hidden!important}
  .dm-category-card__image img{width:100%!important;height:100%!important;object-fit:cover!important}
  .dm-category-card__body,.dm-category-card--wide .dm-category-card__body{display:block!important;padding:14px 15px 16px!important}
  .dm-category-card__cat{font-size:10px!important}
  .dm-category-card h3,.dm-category-card--wide h3{font-size:21px!important;line-height:1.08!important;margin:5px 0 7px!important}
  .dm-category-card p{font-size:15px!important;line-height:1.42!important;margin:0 0 8px!important}
  .dm-category-card__meta{font-size:11px!important}

  .dm-category-mobile-ad,.dm-category-feed-ad,.dm-category-mobile-popular{display:block!important;margin:2px 0!important}
  .dm-category-mobile-ad .dm-ad-slot,.dm-category-feed-ad .dm-ad-slot{max-width:100%!important;margin:0 auto!important}
  .dm-category-mobile-popular .dm-article-popular{margin:0!important}
  .dm-category-pagination{margin-top:22px!important;flex-wrap:wrap!important}
}

@media(max-width:520px){
  .dm-category-page{padding-left:10px!important;padding-right:10px!important}
  .dm-category-header h1{font-size:26px!important}
  .dm-category-lead__overlay h2{font-size:23px!important}
  .dm-category-side-card{grid-template-columns:112px minmax(0,1fr)!important}
  .dm-category-side-card img{width:112px!important;height:96px!important}
  .dm-category-card h3,.dm-category-card--wide h3{font-size:20px!important}
}

/* v2.5.8 — Categorías: publicidad igual a Diseño de noticia */
@media (min-width: 981px){
  .dm-category-sidebar{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;align-content:start!important;position:sticky!important;top:30px!important;}
  .dm-category-sidebar-ad{display:block!important;width:100%!important;margin:0!important;}
  .dm-category-sidebar-ad .dm-ad-slot{width:100%!important;aspect-ratio:1/1!important;min-height:0!important;margin:0!important;}
  .dm-category-sidebar-ad .dm-ad-slot picture,.dm-category-sidebar-ad .dm-ad-slot img{width:100%!important;height:100%!important;object-fit:cover!important;}
  .dm-category-mobile-ad{display:none!important;}
  .dm-category-feed-ad,.dm-category-ad--top,.dm-category-ad--bottom{display:none!important;}
}
@media (max-width: 980px){
  .dm-category-sidebar{display:none!important;}
  .dm-category-mobile-ad{display:block!important;margin:18px 0!important;}
  .dm-category-mobile-ad .dm-ad-slot{width:100%!important;max-width:100%!important;margin:0 auto!important;}
  .dm-category-feed-ad,.dm-category-ad--top,.dm-category-ad--bottom{display:none!important;}
}

/* v2.5.10 — Categorías: publicidad lateral redistribuida en móvil como las noticias */
.dm-category-mobile-ad{display:none}
@media (max-width:980px){
  .dm-category-mobile-ad{display:block!important;margin:24px auto!important;max-width:500px!important;width:100%!important;}
  .dm-category-mobile-ad .dm-ad-slot{width:100%!important;aspect-ratio:1/1!important;min-height:0!important;margin:0 auto!important;}
  .dm-category-mobile-ad .dm-ad-slot picture,.dm-category-mobile-ad .dm-ad-slot img{width:100%!important;height:100%!important;object-fit:cover!important;}
  .dm-category-mobile-ad--1{margin-top:8px!important;margin-bottom:24px!important;}
  .dm-category-mobile-ad--4{margin-top:28px!important;margin-bottom:0!important;}
}
@media (min-width:981px){
  .dm-category-mobile-ad{display:none!important;}
}

/* 2.6.0 — Buscador de noticias y resultados */
.dm-site-search{max-width:1200px;margin:22px auto;padding:0 0}.dm-site-search__form{display:grid;grid-template-columns:auto minmax(300px,1fr);gap:22px;align-items:center;padding:18px 22px;border:1px solid #dfe4e8;border-left:4px solid var(--dm-primary);background:#fff;border-radius:6px}.dm-site-search__copy{display:flex;flex-direction:column;min-width:170px}.dm-site-search__copy span{font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--dm-primary)}.dm-site-search__copy strong{font-size:20px;line-height:1.1;color:var(--dm-dark)}.dm-site-search__field{display:flex;min-width:0;border:1px solid #cfd6dc;border-radius:5px;overflow:hidden;background:#fff}.dm-site-search__field input{flex:1;min-width:0;border:0!important;box-shadow:none!important;padding:13px 15px!important;font-size:16px!important;background:transparent!important}.dm-site-search__field button{border:0;background:var(--dm-dark);color:#fff;padding:0 20px;font-weight:800;display:flex;gap:7px;align-items:center;cursor:pointer}.dm-site-search--compact{margin:18px 0 0}.dm-site-search--compact .dm-site-search__form{grid-template-columns:1fr;padding:0;border:0;background:transparent}.dm-site-search--compact .dm-site-search__copy{display:none}
.dm-search-page{background:#f4f6f7;padding:34px 18px 70px}.dm-search-container{max-width:1200px;margin:0 auto}.dm-search-header{margin-bottom:24px}.dm-search-kicker{display:block;color:var(--dm-primary);font-weight:900;font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px}.dm-search-header h1{margin:0;color:var(--dm-dark);font-size:38px;line-height:1.08;text-transform:uppercase}.dm-search-header h1 strong{font-weight:900}.dm-search-header>p{margin:8px 0 0;color:#66717b;font-size:15px}.dm-search-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start}.dm-search-feed{display:grid;gap:14px}.dm-search-result{display:grid;grid-template-columns:260px minmax(0,1fr);gap:0;background:#fff;border-radius:8px;overflow:hidden;border:1px solid #e3e7ea}.dm-search-result__image{display:block;aspect-ratio:16/10;background:#e9edf0;overflow:hidden}.dm-search-result__image img{width:100%;height:100%;object-fit:cover}.dm-search-result__body{padding:18px 20px}.dm-search-result__cat{font-size:10px;font-weight:900;color:var(--dm-primary);text-transform:uppercase;letter-spacing:.05em}.dm-search-result h2{margin:5px 0 7px;font-size:24px;line-height:1.08;text-transform:uppercase}.dm-search-result h2 a{color:var(--dm-dark);text-decoration:none}.dm-search-result p{margin:0 0 10px;font-size:15px;line-height:1.45;color:#596672}.dm-search-result__meta{font-size:11px;color:#8a949c}.dm-search-sidebar{display:grid;gap:18px;align-content:start;position:sticky;top:30px}.dm-search-sidebar-ad .dm-ad-slot{width:100%;aspect-ratio:1/1;min-height:0}.dm-search-mobile-ad,.dm-search-mobile-popular{display:none}.dm-search-pagination{display:flex;gap:6px;align-items:center;justify-content:flex-start;margin-top:12px}.dm-search-pagination .page-numbers{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;border:1px solid #d8dde1;background:#fff;color:var(--dm-dark);text-decoration:none;border-radius:4px;font-weight:800}.dm-search-pagination .current{background:var(--dm-primary);color:#fff;border-color:var(--dm-primary)}.dm-search-empty{background:#fff;border-radius:8px;padding:34px;text-align:center}.dm-search-empty__icon{font-size:42px;color:var(--dm-primary)}.dm-search-empty h2{font-size:28px;text-transform:uppercase;margin:8px 0}.dm-search-empty>p{font-size:16px;color:#65717b;margin:0 0 28px}
@media(max-width:980px){.dm-site-search{margin:16px auto}.dm-site-search__form{grid-template-columns:1fr;gap:10px;padding:16px}.dm-site-search__copy{min-width:0}.dm-site-search__copy strong{font-size:18px}.dm-search-page{padding:22px 12px 50px}.dm-search-header h1{font-size:28px}.dm-search-layout{display:block}.dm-search-sidebar{display:none}.dm-search-result{grid-template-columns:1fr}.dm-search-result__image{aspect-ratio:16/9}.dm-search-result__body{padding:14px 15px 16px}.dm-search-result h2{font-size:21px}.dm-search-result p{font-size:15px}.dm-search-mobile-ad,.dm-search-mobile-popular{display:block;margin:22px auto;max-width:500px;width:100%}.dm-search-mobile-ad .dm-ad-slot{width:100%;aspect-ratio:1/1;min-height:0}.dm-search-pagination{justify-content:center;flex-wrap:wrap}}
@media(max-width:520px){.dm-site-search__field button{padding:0 14px}.dm-site-search__field button span:last-child{display:none}.dm-search-header h1{font-size:25px}.dm-search-result h2{font-size:20px}}

/* v2.6.6 · Franjas publicitarias configurables */
.dm-commercial-strip-wrap{max-width:1200px;margin:0 auto 24px;padding:0 18px}.dm-commercial-strip{width:100%;margin:0 0 26px}.dm-commercial-strip--premium>.dm-ad-slot,.dm-commercial-strip--premium .dm-ad-slot{width:100%;max-width:1200px;margin:0 auto}.dm-commercial-strip--double{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}.dm-commercial-strip--double>div{min-width:0}.dm-commercial-strip--double .dm-ad-slot{width:100%;max-width:580px;margin:0 auto}.dm-commercial-strip .dm-ad-slot img{display:block;width:100%;height:auto}.dm-category-container>.dm-commercial-strip,.dm-search-container>.dm-commercial-strip{margin-bottom:26px}
@media(max-width:700px){.dm-commercial-strip-wrap{padding:0 12px;margin-bottom:18px}.dm-commercial-strip--double{grid-template-columns:1fr;gap:14px}.dm-commercial-strip{margin-bottom:20px}.dm-commercial-strip--double .dm-ad-slot{max-width:600px}}

/* 2.7.2 · Footer editorial propio */
.dm-core-footer-enabled #footer,
.dm-core-footer-enabled .site-footer,
.dm-core-footer-enabled footer.ct-footer,
.dm-core-footer-enabled [data-id="footer"]{display:none!important}
.dm-core-footer-enabled .dm-site-footer{display:block!important}
.dm-site-footer{position:relative;width:100%;background:#182333;color:#fff;margin:0;padding:0;font-family:inherit;font-size:16px;line-height:1.5}
.dm-site-footer__accent{height:5px;background:linear-gradient(90deg,var(--dm-primary) 0 72%,var(--dm-secondary) 72% 100%)}
.dm-site-footer__inner{width:100%;max-width:1360px;margin:0 auto;padding:54px 30px 46px;display:grid;gap:50px;align-items:start;box-sizing:border-box}
.dm-site-footer__inner--items-4{grid-template-columns:minmax(300px,1.55fr) repeat(3,minmax(170px,1fr))}
.dm-site-footer__inner--items-3{grid-template-columns:minmax(340px,1.55fr) repeat(2,minmax(210px,1fr))}
.dm-site-footer__inner--items-2{grid-template-columns:minmax(360px,1.6fr) minmax(240px,1fr)}
.dm-site-footer__inner--items-1{grid-template-columns:minmax(0,720px)}
.dm-site-footer__brand{padding-right:22px}.dm-site-footer__logo{margin-bottom:20px}.dm-site-footer__logo .custom-logo-link{display:inline-flex}.dm-site-footer__logo img{display:block;max-width:225px!important;max-height:88px!important;width:auto!important;height:auto!important;object-fit:contain}.dm-site-footer__wordmark{display:inline-block;color:#fff!important;text-decoration:none!important;font-size:30px!important;font-weight:900;letter-spacing:-.02em}
.dm-site-footer__brand p{max-width:440px;margin:0;color:#c5ced8!important;font-size:16px!important;line-height:1.65!important}
.dm-site-footer__column h3{margin:0 0 18px!important;color:#fff!important;font-size:14px!important;line-height:1.1!important;text-transform:uppercase;letter-spacing:.09em;font-weight:800!important}.dm-site-footer__column h3:after{content:"";display:block;width:34px;height:2px;margin-top:10px;background:var(--dm-secondary)}
.dm-site-footer__column ul{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:10px}.dm-site-footer__column li{margin:0!important;padding:0!important}.dm-site-footer a{color:#d3dbe4!important;text-decoration:none!important;transition:color .18s ease}.dm-site-footer a:hover{color:#fff!important}.dm-site-footer__column li a{font-size:15px!important;line-height:1.35!important}.dm-site-footer__contact{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.dm-site-footer__contact h3{width:100%}.dm-site-footer__contact>a{font-size:15px!important}
.dm-site-footer__socials{display:flex;gap:9px;margin-top:8px}.dm-site-footer__socials a{display:inline-flex!important;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.05);color:#fff!important;font-weight:900}.dm-site-footer__socials a:hover{background:var(--dm-primary);border-color:var(--dm-primary)}
.dm-site-footer__bottom{border-top:1px solid rgba(255,255,255,.1);background:#131d2a}.dm-site-footer__bottom-inner{width:100%;max-width:1360px;margin:0 auto;padding:18px 30px;display:flex;justify-content:space-between;align-items:center;gap:24px;color:#98a4b0!important;font-size:12px!important;box-sizing:border-box}.dm-site-footer__designer{white-space:nowrap}.dm-site-footer__designer a{color:#cbd4dd!important;font-weight:700}.dm-site-footer__designer a:hover{color:#fff!important}
@media(max-width:1080px){.dm-site-footer__inner{grid-template-columns:1.2fr 1fr 1fr!important;gap:34px}.dm-site-footer__brand{grid-column:1/-1;padding-right:0}.dm-site-footer__brand p{max-width:680px}.dm-site-footer__inner--items-2{grid-template-columns:1.3fr 1fr!important}.dm-site-footer__inner--items-1{grid-template-columns:1fr!important}}
@media(max-width:700px){.dm-site-footer__inner{grid-template-columns:1fr 1fr!important;padding:38px 20px 32px;gap:30px 24px}.dm-site-footer__brand{grid-column:1/-1}.dm-site-footer__inner--items-2{grid-template-columns:1fr 1fr!important}.dm-site-footer__inner--items-1{grid-template-columns:1fr!important}.dm-site-footer__bottom-inner{padding:16px 20px;flex-direction:column;align-items:flex-start;gap:6px}.dm-site-footer__designer{white-space:normal}}
@media(max-width:480px){.dm-site-footer__inner{grid-template-columns:1fr!important;gap:28px}.dm-site-footer__brand{grid-column:auto}.dm-site-footer__logo img{max-width:190px!important}.dm-site-footer__column h3{margin-bottom:14px!important}}


/* 2.7.3 — Header editorial del Core */
.dm-core-header-enabled #header,.dm-core-header-enabled .ct-header{display:none!important}
.dm-site-header{position:relative;z-index:1000;width:100%;background:#fff;color:var(--dm-dark);border-bottom:1px solid #e8ebee;box-shadow:0 1px 0 rgba(20,32,45,.03);font-family:inherit}
.dm-site-header--sticky{position:sticky;top:0}
.admin-bar .dm-site-header--sticky{top:32px}
.dm-site-header__accent{height:4px;background:linear-gradient(90deg,var(--dm-primary) 0 72%,var(--dm-secondary) 72% 100%)}
.dm-site-header__inner{width:100%;max-width:1360px;min-height:86px;margin:0 auto;padding:0 30px;display:grid;grid-template-columns:minmax(150px,210px) minmax(0,1fr) auto;align-items:center;gap:26px;box-sizing:border-box}
.dm-site-header__brand{display:flex;align-items:center;min-width:0}.dm-site-header__brand .custom-logo-link{display:inline-flex;align-items:center}.dm-site-header__brand img{display:block;max-width:170px!important;max-height:62px!important;width:auto!important;height:auto!important;object-fit:contain}.dm-site-header__wordmark{font-size:25px;font-weight:900;color:var(--dm-dark)!important;text-decoration:none!important}
.dm-site-header__nav{min-width:0}.dm-site-header__menu{list-style:none!important;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:flex-end;gap:0}.dm-site-header__menu>li{position:relative;margin:0!important;padding:0!important}.dm-site-header__menu>li>a{display:flex;align-items:center;min-height:82px;padding:0 11px;color:#273444!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;line-height:1.15!important;text-transform:uppercase;white-space:nowrap;transition:color .15s ease}.dm-site-header__menu>li.current-menu-item>a,.dm-site-header__menu>li.current-menu-ancestor>a,.dm-site-header__menu>li>a:hover{color:var(--dm-secondary)!important}.dm-site-header__menu .sub-menu{display:none;position:absolute;top:calc(100% - 1px);left:0;min-width:210px;margin:0!important;padding:9px!important;list-style:none!important;background:#fff;border:1px solid #e3e7ea;border-radius:0 0 8px 8px;box-shadow:0 14px 30px rgba(16,30,44,.12)}.dm-site-header__menu li:hover>.sub-menu{display:block}.dm-site-header__menu .sub-menu li{margin:0!important}.dm-site-header__menu .sub-menu a{display:block;padding:9px 10px;color:#273444!important;text-decoration:none!important;font-size:12px!important;font-weight:700!important}.dm-site-header__menu .sub-menu a:hover{background:#f3f5f6;color:var(--dm-secondary)!important}
.dm-site-header__actions{display:flex;align-items:center;gap:8px}.dm-site-header__socials{display:flex;align-items:center;gap:4px}.dm-site-header__socials a,.dm-site-header__search-toggle,.dm-site-header__menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#354355!important;text-decoration:none!important;font-size:14px;font-weight:800;cursor:pointer}.dm-site-header__socials a:hover,.dm-site-header__search-toggle:hover,.dm-site-header__menu-toggle:hover{background:#f0f3f5;color:var(--dm-secondary)!important}.dm-site-header__search-toggle{font-size:24px;line-height:1}.dm-site-header__menu-toggle{display:none!important;flex-direction:column;gap:4px}.dm-site-header__menu-toggle span{display:block;width:18px;height:2px;background:currentColor;border-radius:2px}
.dm-site-header__search{border-top:1px solid #edf0f2;background:#f7f8f9}.dm-site-header__search[hidden]{display:none!important}.dm-site-header__search form{width:100%;max-width:1360px;margin:0 auto;padding:14px 30px;display:flex;gap:8px;box-sizing:border-box}.dm-site-header__search input{flex:1;min-width:0;height:42px;padding:0 13px;border:1px solid #ccd3d8;border-radius:5px;background:#fff;font-size:14px}.dm-site-header__search button{height:42px;padding:0 20px;border:0;border-radius:5px;background:var(--dm-dark);color:#fff;font-weight:800;cursor:pointer}
.dm-site-header__mobile-nav{display:none;background:#fff;border-top:1px solid #e9edef}.dm-site-header__mobile-nav[hidden]{display:none!important}.dm-site-header__mobile-nav .dm-site-header__menu{display:block!important;padding:8px 18px 18px!important}.dm-site-header__mobile-nav .dm-site-header__menu>li>a{min-height:0;padding:12px 4px;border-bottom:1px solid #edf0f2}.dm-site-header__mobile-nav .sub-menu{display:block!important;position:static!important;box-shadow:none!important;border:0!important;padding:0 0 5px 14px!important}.dm-site-header__mobile-nav .sub-menu a{padding:8px 4px!important}
@media(max-width:1180px){.dm-site-header__inner{grid-template-columns:minmax(130px,170px) minmax(0,1fr) auto;gap:14px;padding:0 22px}.dm-site-header__menu>li>a{padding:0 7px;font-size:11px!important}.dm-site-header__socials{display:none}}
@media(max-width:900px){.dm-site-header__inner{min-height:70px;grid-template-columns:1fr auto;padding:0 18px}.dm-site-header__brand img{max-width:145px!important;max-height:52px!important}.dm-site-header__nav{display:none}.dm-site-header__menu-toggle{display:inline-flex!important}.dm-site-header__mobile-nav:not([hidden]){display:block}.dm-site-header__search form{padding:12px 18px}.dm-site-header__socials{display:none}}
@media(max-width:782px){.admin-bar .dm-site-header--sticky{top:46px}}
@media(max-width:480px){.dm-site-header__inner{min-height:64px;padding:0 14px}.dm-site-header__brand img{max-width:128px!important;max-height:46px!important}.dm-site-header__search-toggle,.dm-site-header__menu-toggle{width:32px;height:32px}.dm-site-header__search form{padding:10px 14px}}

/* 2.7.4 — Header editorial: topbar + masthead comercial + navegación + breaking global */
.dm-site-header--editorial{position:relative;z-index:999;background:#fff;border-bottom:1px solid #e5e8eb;box-shadow:0 2px 8px rgba(18,31,45,.04)}
.dm-site-header--editorial.dm-site-header--sticky{position:sticky;top:0}.admin-bar .dm-site-header--editorial.dm-site-header--sticky{top:32px}
.dm-site-header--editorial .dm-site-header__accent{height:4px;background:linear-gradient(90deg,var(--dm-primary) 0 74%,var(--dm-secondary) 74% 100%)}
.dm-site-header__wide{width:100%;max-width:1360px;margin:0 auto;padding-left:30px;padding-right:30px;box-sizing:border-box}
.dm-site-header__topbar{background:#f5f6f7;border-bottom:1px solid #e8ebed;color:#66717e;font-size:12px}.dm-site-header__topbar .dm-site-header__wide{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.dm-site-header__topmeta{display:flex;align-items:center;gap:16px}.dm-site-header__topmeta span+span:before{content:'•';margin-right:16px;color:var(--dm-secondary)}
.dm-site-header--editorial .dm-site-header__socials{display:flex;gap:4px}.dm-site-header--editorial .dm-site-header__socials a{width:26px;height:26px;font-size:12px}
.dm-site-header__masthead{background:#fff}.dm-site-header__masthead-inner{min-height:126px;display:grid;grid-template-columns:minmax(210px,310px) 1fr auto;align-items:center;gap:36px}.dm-site-header--editorial .dm-site-header__brand img{max-width:235px!important;max-height:88px!important}.dm-site-header__ad{justify-self:end;width:min(580px,100%)}.dm-site-header__ad .dm-ad-slot{margin:0!important;width:100%;max-width:580px}.dm-site-header__ad img{width:100%;height:auto;display:block}.dm-site-header__mobile-actions{display:none;align-items:center;gap:5px}
.dm-site-header__navrow{border-top:1px solid #eceff1;border-bottom:1px solid #e1e5e8;background:#fff}.dm-site-header__navinner{min-height:50px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.dm-site-header--editorial .dm-site-header__menu{justify-content:flex-start}.dm-site-header--editorial .dm-site-header__menu>li>a{min-height:50px;padding:0 14px;font-size:12px!important}.dm-site-header--editorial .dm-site-header__menu>li:first-child>a{padding-left:0}.dm-site-header__desktop-actions{display:flex;align-items:center}
.dm-site-header--editorial .dm-site-header__search{border-top:0;border-bottom:1px solid #e1e5e8}.dm-site-header--editorial .dm-site-header__search form{max-width:1360px}
.dm-site-header__breaking{background:#fff}.dm-site-header__breaking .dm-breaking{max-width:1360px;margin:0 auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;border-bottom:1px solid #e4e8eb!important}.dm-site-header__breaking .dm-breaking__label{border-radius:0!important}.dm-site-header__breaking .dm-breaking__news{min-width:0}
.dm-site-header--editorial .dm-site-header__mobile-nav{border-top:0;border-bottom:1px solid #e3e7ea}.dm-site-header__mobile-socials{display:flex;gap:14px;padding:13px 18px 18px}.dm-site-header__mobile-socials a{font-size:12px;font-weight:800;text-decoration:none;color:var(--dm-dark)}
@media(max-width:1100px){.dm-site-header__masthead-inner{grid-template-columns:210px 1fr;min-height:110px;gap:24px}.dm-site-header__ad{width:min(520px,100%)}.dm-site-header--editorial .dm-site-header__menu>li>a{padding:0 8px;font-size:11px!important}}
@media(max-width:900px){.dm-site-header--editorial.dm-site-header--sticky{position:sticky}.dm-site-header__topbar{display:none}.dm-site-header__wide{padding-left:16px;padding-right:16px}.dm-site-header__masthead-inner{min-height:68px;display:grid;grid-template-columns:1fr auto;gap:12px}.dm-site-header--editorial .dm-site-header__brand img{max-width:145px!important;max-height:52px!important}.dm-site-header__ad{display:none}.dm-site-header__mobile-actions{display:flex}.dm-site-header__navrow{display:none}.dm-site-header__desktop-actions{display:none}.dm-site-header--editorial .dm-site-header__mobile-nav:not([hidden]){display:block}.dm-site-header__breaking .dm-breaking{min-height:48px}.dm-site-header__breaking .dm-breaking__label{font-size:10px!important;padding:0 12px!important;white-space:nowrap}.dm-site-header__breaking .dm-breaking__news{padding:0 10px!important}.dm-site-header__breaking .dm-breaking__item{font-size:12px!important;line-height:1.25!important}.dm-site-header--editorial .dm-site-header__search form{padding:10px 16px}}
@media(max-width:782px){.admin-bar .dm-site-header--editorial.dm-site-header--sticky{top:46px}}
@media(max-width:480px){.dm-site-header__masthead-inner{min-height:62px;padding-left:12px;padding-right:12px}.dm-site-header--editorial .dm-site-header__brand img{max-width:126px!important;max-height:45px!important}.dm-site-header__breaking .dm-breaking__label span:last-child{font-size:9px}.dm-site-header__breaking .dm-breaking__icon{display:none}}


/* 2.7.5 — Ajustes finales de cabecera editorial y búsqueda. */
.dm-site-header__search-toggle{padding:0!important}
.dm-site-header__search-icon{display:block;width:21px;height:21px}
.dm-site-header--editorial .dm-site-header__search{background:#fff;box-shadow:0 10px 24px rgba(18,31,45,.08)}
.dm-site-header--editorial .dm-site-header__search form{padding-top:12px;padding-bottom:12px}
.dm-site-header--editorial .dm-site-header__search input{border-color:#d7dde2;outline:none}
.dm-site-header--editorial .dm-site-header__search input:focus{border-color:var(--dm-primary);box-shadow:0 0 0 2px rgba(46,111,34,.10)}
@media(max-width:900px){
  .dm-site-header__masthead-inner{min-height:74px}
  .dm-site-header--editorial .dm-site-header__brand .custom-logo-link{display:flex;align-items:center}
  .dm-site-header--editorial .dm-site-header__brand img{height:50px!important;width:auto!important;max-width:160px!important;max-height:50px!important}
  .dm-site-header__mobile-actions{gap:8px}
  .dm-site-header__search-toggle,.dm-site-header__menu-toggle{width:38px;height:38px}
  .dm-site-header__search-icon{width:22px;height:22px}
  .dm-site-header--editorial .dm-site-header__search{border-bottom:1px solid #e2e6e9;box-shadow:0 8px 18px rgba(18,31,45,.08)}
  .dm-site-header--editorial .dm-site-header__search form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 16px}
  .dm-site-header--editorial .dm-site-header__search input,.dm-site-header--editorial .dm-site-header__search button{height:40px}
  .dm-site-header--editorial .dm-site-header__search button{padding:0 16px}
  .dm-site-header__breaking .dm-breaking{overflow:hidden}
}
@media(max-width:480px){
  .dm-site-header__masthead-inner{min-height:70px;padding-left:14px;padding-right:14px}
  .dm-site-header--editorial .dm-site-header__brand img{height:47px!important;max-width:145px!important;max-height:47px!important}
  .dm-site-header__breaking .dm-breaking__label{padding:0 10px!important}
  .dm-site-header__breaking .dm-breaking__news{padding:0 8px!important}
  .dm-site-header__breaking .dm-breaking__item{font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
}
\n\n/* 2.7.6 — Banner exclusivo de cabecera 728x90. */\n@media(min-width:901px){\n  .dm-site-header__masthead-inner{min-height:108px;grid-template-columns:minmax(190px,280px) 1fr auto;gap:28px}\n  .dm-site-header--editorial .dm-site-header__brand img{max-width:205px!important;max-height:76px!important}\n  .dm-site-header__ad{justify-self:end;width:min(728px,100%)}\n  .dm-site-header__ad .dm-ad-slot{width:100%;max-width:728px!important;margin:0!important;aspect-ratio:728/90;overflow:hidden}\n  .dm-site-header__ad .dm-ad-slot--house{min-height:90px!important;height:auto!important;padding:10px!important}\n  .dm-site-header__ad .dm-ad-slot img,.dm-site-header__ad .dm-ad-slot picture{display:block;width:100%;height:100%}\n  .dm-site-header__ad .dm-ad-slot img{object-fit:cover}\n}\n@media(max-width:900px){.dm-site-header__ad{display:none!important}}\n

/* 2.7.7 — Ajuste fino del header: marca más fuerte, masthead más compacto y ticker editorial. */
@media(min-width:901px){
  .dm-site-header__masthead-inner{
    min-height:108px;
    max-width:1180px;
    grid-template-columns:minmax(220px,260px) minmax(0,728px);
    justify-content:space-between;
    gap:48px;
  }
  .dm-site-header--editorial .dm-site-header__brand img{
    height:90px!important;
    width:auto!important;
    max-width:250px!important;
    max-height:90px!important;
    object-fit:contain;
  }
  .dm-site-header__ad{
    justify-self:end;
    width:728px;
    max-width:100%;
  }
}

/* Ticker: menos "barra", más alerta editorial. */
.dm-site-header__breaking{
  background:#f8f9fa;
  border-bottom:1px solid #e6e9ec;
}
.dm-site-header__breaking .dm-breaking{
  min-height:34px!important;
  max-width:1280px!important;
  margin:0 auto!important;
  padding:0 18px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex;
  align-items:center;
}
.dm-site-header__breaking .dm-breaking::after{display:none!important}
.dm-site-header__breaking .dm-breaking__label{
  min-height:34px;
  display:flex;
  align-items:center;
  gap:7px;
  margin-right:14px;
  padding:0!important;
  border-radius:0!important;
  color:var(--dm-dark)!important;
  background:transparent!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.055em;
}
.dm-site-header__breaking .dm-breaking__icon{
  width:7px;
  height:7px;
  flex:0 0 7px;
  overflow:hidden;
  border-radius:50%;
  background:var(--dm-secondary);
  color:transparent!important;
  font-size:0!important;
}
.dm-site-header__breaking .dm-breaking__news{
  flex:1;
  min-width:0;
  padding:0!important;
}
.dm-site-header__breaking .dm-breaking__item{
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:750!important;
  color:#223043!important;
}

/* Acerca el comienzo de la portada al header sin apilar más elementos. */
.dm-core-header-enabled.home .dm-home-flow{
  margin-top:-18px!important;
}

@media(max-width:900px){
  .dm-site-header--editorial .dm-site-header__brand img{
    height:54px!important;
    width:auto!important;
    max-width:165px!important;
    max-height:54px!important;
  }
  .dm-site-header__breaking .dm-breaking{
    min-height:32px!important;
    padding:0 14px!important;
  }
  .dm-site-header__breaking .dm-breaking__label{
    min-height:32px;
    margin-right:10px;
    font-size:9px!important;
  }
  .dm-site-header__breaking .dm-breaking__item{
    font-size:11px!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    display:block;
  }
  .dm-core-header-enabled.home .dm-home-flow{margin-top:-8px!important;}
}

/* 2.7.8 — Masthead centrado: menos vacío, logo más protagonista y titulares del ticker en mayúsculas. */
@media(min-width:901px){
  .dm-site-header__masthead-inner{
    min-height:112px;
    max-width:1240px;
    grid-template-columns:280px 728px;
    justify-content:center;
    column-gap:56px;
  }
  .dm-site-header__brand{
    width:280px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .dm-site-header--editorial .dm-site-header__brand .custom-logo-link{
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .dm-site-header--editorial .dm-site-header__brand img{
    height:104px!important;
    width:auto!important;
    max-width:280px!important;
    max-height:104px!important;
    object-fit:contain;
  }
  .dm-site-header__ad{
    justify-self:stretch;
    width:728px;
    max-width:728px;
  }
}
.dm-site-header__breaking .dm-breaking__item{
  text-transform:uppercase;
  letter-spacing:.01em;
}

/* 2.7.9 — En categorías móviles, el segundo 580x180 se intercala después de noticias. */
@media(max-width:700px){
  .dm-category-grid > .dm-category-mobile-strip-ad{display:block!important;grid-column:1/-1!important;width:100%!important;margin:2px 0 14px!important}
  .dm-category-grid > .dm-category-mobile-strip-ad .dm-ad-slot{width:100%!important;max-width:600px!important;margin:0 auto!important}
}
