.cew-noticia-detalle {
    --cew-news-green: #003f35;
    --cew-news-mint: #d7f4ec;
    --cew-news-text: #0a332c;
    --cew-news-muted: #6d817c;
    --cew-news-border: #e2ebe8;
    color: var(--cew-news-text);
    font-family: inherit;
}

.cew-noticia-detalle__breadcrumb {
    max-width: 1120px;
    margin: 0 auto 24px;
    padding: 13px 18px;
    border-radius: 4px;
    background: #fff;
    color: #8a9a96;
    font-size: 11px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.cew-noticia-detalle__breadcrumb a,
.cew-noticia-detalle__breadcrumb strong {
    color: var(--cew-news-green);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cew-noticia-detalle__hero {
    position: relative;
    max-width: 1120px;
    min-height: clamp(350px, 38vw, 470px);
    margin: 0 auto 72px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #d8e3df;
    background-position: center;
    background-size: cover;
    box-shadow: 0 18px 50px rgba(0, 63, 53, 0.08);
}

.cew-noticia-detalle__hero--fallback {
    background: linear-gradient(135deg, #0d5c50 0%, #052d27 100%);
}

.cew-noticia-detalle__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 15%, rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.78) 100%);
    z-index: 1;
}

.cew-noticia-detalle__hero-content {
    position: absolute;
    left: clamp(28px, 4vw, 48px);
    right: clamp(28px, 4vw, 48px);
    bottom: clamp(28px, 4vw, 46px);
    z-index: 2;
    max-width: 850px;
}

.cew-noticia-detalle__hero-category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(215, 244, 236, 0.9);
    color: var(--cew-news-green);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cew-noticia-detalle__title {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4.35vw, 56px);
    line-height: 1.03;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.cew-noticia-detalle__body-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.cew-noticia-detalle__meta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 20px;
    align-items: center;
    margin-bottom: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--cew-news-border);
    color: var(--cew-news-muted);
    font-size: 11px;
    line-height: 1.35;
    text-transform: uppercase;
}

.cew-noticia-detalle__author {
    color: var(--cew-news-green);
    font-weight: 700;
    text-transform: none;
}

.cew-noticia-detalle__pill {
    justify-self: end;
    grid-row: 1 / span 2;
    grid-column: 2;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--cew-news-mint);
    color: var(--cew-news-green);
    font-weight: 700;
}

.cew-noticia-detalle__content {
    font-size: 15px;
    line-height: 1.78;
    color: var(--cew-news-text);
}

/* Isolated typography: block .elementor-kit-7 h* global cascade */
.cew-noticia-detalle__content h2,
.cew-noticia-detalle__content h3,
.cew-noticia-detalle__content h4 {
    margin: 38px 0 16px;
    color: var(--cew-news-text);
    line-height: 1.22 !important;
    letter-spacing: -0.015em;
}

.cew-noticia-detalle__content h2 {
    font-size: 24px !important;
}

.cew-noticia-detalle__content h3 {
    font-size: 20px !important;
}

.cew-noticia-detalle__content h4 {
    font-size: 17px !important;
}

.cew-noticia-detalle__content p,
.cew-noticia-detalle__content ul,
.cew-noticia-detalle__content ol {
    margin: 0 0 24px;
}

.cew-noticia-detalle__content ul,
.cew-noticia-detalle__content ol {
    padding-left: 1.35em;
}

.cew-noticia-detalle__content li + li {
    margin-top: 8px;
}

.cew-noticia-detalle__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 46px auto;
    border-radius: 9px;
}

.cew-noticia-detalle__related {
    max-width: 1120px;
    margin: 96px auto 0;
}

.cew-noticia-detalle__related h2 {
    margin: 0 0 30px;
    color: var(--cew-news-text);
    font-size: clamp(28px, 3.2vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.cew-noticia-detalle__related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cew-noticia-detalle__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px;
    border: 1px solid var(--cew-news-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 63, 53, 0.05);
}

.cew-noticia-detalle__card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 24px;
    margin-bottom: 16px;
}

.cew-noticia-detalle__card-tags span {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--cew-news-mint);
    color: var(--cew-news-green);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.cew-noticia-detalle__card h3 {
    margin: 0 0 16px;
    font-size: 16px !important;
    line-height: 1.38 !important;
    letter-spacing: -0.01em;
}

.cew-noticia-detalle__card h3 a {
    color: var(--cew-news-text);
    text-decoration: none;
}

.cew-noticia-detalle__card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 16px;
    border-radius: 7px;
    background-position: center;
    background-size: cover;
}

.cew-noticia-detalle__card p {
    color: var(--cew-news-muted);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.cew-noticia-detalle__card-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    color: var(--cew-news-muted);
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
}

.cew-noticia-detalle__card-footer a {
    color: var(--cew-news-green);
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
}

.cew-noticia-detalle--empty {
    padding: 24px;
    border: 1px dashed var(--cew-news-border);
    border-radius: 8px;
    color: var(--cew-news-muted);
}

@media (max-width: 1024px) {
    .cew-noticia-detalle__breadcrumb,
    .cew-noticia-detalle__hero,
    .cew-noticia-detalle__related {
        margin-left: 24px;
        margin-right: 24px;
    }

    .cew-noticia-detalle__body-wrap {
        max-width: none;
        margin-left: 24px;
        margin-right: 24px;
    }
}

@media (max-width: 767px) {
    .cew-noticia-detalle__breadcrumb,
    .cew-noticia-detalle__hero,
    .cew-noticia-detalle__related,
    .cew-noticia-detalle__body-wrap {
        margin-left: 16px;
        margin-right: 16px;
    }

    .cew-noticia-detalle__hero {
        min-height: 360px;
        margin-bottom: 42px;
    }

    .cew-noticia-detalle__hero-content {
        left: 22px;
        right: 22px;
        bottom: 26px;
    }

    .cew-noticia-detalle__title {
        font-size: clamp(30px, 10vw, 40px);
        line-height: 1.06;
    }

    .cew-noticia-detalle__meta {
        grid-template-columns: 1fr;
        margin-bottom: 34px;
    }

    .cew-noticia-detalle__pill {
        justify-self: start;
        grid-row: auto;
        grid-column: auto;
    }

    .cew-noticia-detalle__related-grid {
        grid-template-columns: 1fr;
    }

    .cew-noticia-detalle__related {
        margin-top: 72px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .cew-noticia-detalle__related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
