.newArticle-hero {
    background-color: #003366;
    padding: 200px 20px 120px;
    text-align: center;
    color: white;
    position: relative;
    clip-path: ellipse(100% 80% at 50% 20%);
    z-index: 1;
}

.newArticle-title {
    font-size: 43px;
    font-weight: 600;
    margin-bottom: 10px;
    max-width: 650px;
    margin: auto;
}

.newArticle-meta {
    font-size: 16px;
    color: white;
    margin-bottom: 0;
}

.newArticle-floating-image {
    margin-top: -80px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.newArticle-image-wrapper {
    max-width: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newArticle-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

.newArticle-separator {
    margin: 40px auto;
    width: 80%;
    border: 0;
    border-top: 1px solid #ddd;
}

.newArticle-icons-wrapper {
    display: flex;
    gap: 25px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 25px 0;
    width: fit-content;
    margin: auto;
    width: 1000px;
    flex-direction: row-reverse;
}

.newArticle-share-icons {
    display: flex;
    justify-content: flex-end;
    padding: 0 10%;
    margin: 40px 0 10px;
}

.newArticle-icons-wrapper a {
    color: #697586;
    transition: color 0.2s ease;
}

.newArticle-icons-wrapper a:hover {
    color: #0077cc;
}

.newArticle-nav {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 60px 550px;
    padding: 20px 0;
    /*border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;*/
    gap: 20px;
}

.newArticle-nav a {
    display: flex;
    flex-direction: column;
    color: #2b2b2b;
    text-decoration: none;
    width: 48%;
    transition: color 0.3s ease;
    font-size: 16px;
}

.newArticle-nav a:hover {
    color: #0077cc;
}

.newArticle-nav span {
    color: #0077cc;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.newArticle-link-content {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
}

.newArticle-link-content p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    font-size: 18px;
    color: #3d4459;
}

.arrow-icon {
    min-width: 12px;
    min-height: 12px;
    height: 20px;
    width: 20px;
    display: block;
}

.newArticle-divider {
    width: 1px;
    background-color: #ddd;
    margin: 0 20px;
}

.newArticle-related {
    max-width: 1200px;
    margin: 60px 525px;
    padding: 0 20px;
}

.newArticle-related-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #0f68c9;
}

.newArticle-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}


.newArticle-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 550px;
    width: 360px;
    margin-left: 20px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}


.newArticle-card:hover {
    transform: translateY(-5px);
}

.newArticle-card-image {
    width: 100%;
    height: 220px; 
    overflow: hidden;
}

.newArticle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


.newArticle-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0f68c9;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

.newArticle-card-body {
    padding: 20px;
}

.newArticle-card-body h3 {
    font-size: 18px;
    color: #0f68c9;
    margin-bottom: 10px;
    text-align: center;
}

.newArticle-card-body p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    text-align: center;
}

.newArticle-card-footer {
    font-size: 13px;
    color: #888;
    border-top: 1px solid #eee;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newArticle-content h3 {
    max-width: 800px;
    margin: 60px auto 20px;
    padding: 0 20px;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
}

.newArticle-content p {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #3d4459;
}

.newArticle-content ol,
.newArticle-content ul {
    max-width: 800px;
    margin: 20px auto 40px;
    padding: 0 40px;
    font-size: 16px;
    line-height: 1.7;
    color: #3d4459;
    list-style-position: inside;
}

.newArticle-content strong {
    font-weight: 700;
    color: #1a1a1a;
}

.newArticle-content h2 {
    max-width: 800px;
    margin: 60px auto 30px;
    padding: 0 20px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: #002244;
    text-align: center;
}

.newArticle-content b {
    font-weight: 700;
    color: #1a1a1a;
}

.newArticle-content h1 {
    max-width: 900px;
    margin: 100px auto 40px;
    padding: 0 20px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    color: #001933;
    text-align: center;
}

.newArticle-content br {
    display: block;
    margin-bottom: 10px;
    content: "";
}

/* TITULAR CON CLASE PERSONALIZADA */
.newArticle-content h2.cmsmasters_post_title {
    max-width: 900px;
    margin: 100px auto 40px;
    padding: 0 20px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: #001933;
    text-align: center;
}

/* SUBSECCIONES SECUNDARIAS (h4) */
.newArticle-content h4 {
    max-width: 800px;
    margin: 50px auto 20px;
    padding: 0 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #003366;
}


.newArticle-content ol li {
    margin-bottom: 20px;
}

.newArticle-content u {
    text-decoration: underline;
    font-weight: 600;
}

.newArticle-content p strong {
    font-weight: 700;
    color: #003366;
}

@media (max-width: 1024px) {
    .newArticle-title {
        font-size: 36px;
    }

    .newArticle-icons-wrapper {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .newArticle-nav {
        margin: 60px auto;
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .newArticle-nav a {
        width: 100%;
    }

    .newArticle-related {
        margin: 60px auto;
        padding: 0 20px;
    }

    .newArticle-card {
        width: 100%;
        margin-left: 0;
    }

    .newArticle-cards {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .newArticle-title {
        font-size: 30px;
    }

    .newArticle-meta {
        font-size: 14px;
    }

    .newArticle-related-title {
        font-size: 20px;
    }

    .newArticle-card-body h3 {
        font-size: 16px;
    }

    .newArticle-card-body p {
        font-size: 13px;
    }

    .newArticle-nav span {
        font-size: 12px;
    }

    .newArticle-link-content p {
        font-size: 16px;
    }

    .newArticle-content h1,
    .newArticle-content h2,
    .newArticle-content h3 {
        font-size: 22px;
    }

    .newArticle-icons-wrapper {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .newArticle-hero {
        padding: 120px 15px 80px;
        clip-path: none;
    }

    .newArticle-title {
        font-size: 26px;
    }

    .newArticle-image-wrapper {
        max-width: 90%;
    }

    .newArticle-content p,
    .newArticle-content ol,
    .newArticle-content ul {
        padding: 0 15px;
        font-size: 15px;
    }

    .newArticle-card {
        width: 100%;
    }

    .newArticle-card-body h3,
    .newArticle-card-body p {
        text-align: left;
    }

    .newArticle-nav {
        margin: 40px auto;
    }

    .newArticle-nav a {
        font-size: 14px;
    }

    .arrow-icon {
        width: 16px;
        height: 16px;
    }
}