/* Extraído de app/Views/pag_detalhe/artigos.php em refatoração de CSS (NDR Educação). */
.ndr-artigos-page {
        --art-primary: #004b8d;
        --art-secondary: #0879c9;
        --art-dark: #081f35;
        --art-text: #4c6074;
        --art-light: #f4f8fc;
        --art-border: #dce7f1;
        --art-green: #177865;

        background: #ffffff;
        color: var(--art-dark);
        font-family: "Inter", sans-serif;
        overflow-x: hidden;
    }

    .ndr-artigos-page,
    .ndr-artigos-page * {
        box-sizing: border-box;
    }

    .ndr-artigos-page a {
        text-decoration: none;
    }

    .ndr-artigos-page img {
        display: block;
        max-width: 100%;
    }

    .ndr-artigos-container {
        width: min(1180px, calc(100% - 40px));
        margin: 0 auto;
    }

    /* HERO */

    .ndr-artigos-hero {
        position: relative;
        overflow: hidden;
        padding: 82px 0 76px;
        background:
            radial-gradient(circle at 86% 18%,
                rgba(8, 121, 201, .22),
                transparent 28%),
            radial-gradient(circle at 12% 90%,
                rgba(23, 120, 101, .13),
                transparent 31%),
            linear-gradient(135deg,
                #f8fbff 0%,
                #edf7ff 55%,
                #ffffff 100%);
    }

    .ndr-artigos-hero::before {
        content: "";
        position: absolute;
        top: -230px;
        right: -150px;
        width: 560px;
        height: 560px;
        border: 1px solid rgba(8, 121, 201, .14);
        border-radius: 50%;
    }

    .ndr-artigos-hero__content {
        position: relative;
        z-index: 2;
        max-width: 820px;
    }

    .ndr-artigos-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 20px;
        padding: 9px 15px;
        border: 1px solid rgba(8, 121, 201, .18);
        border-radius: 999px;
        color: var(--art-primary);
        background: rgba(255, 255, 255, .82);
        box-shadow: 0 10px 30px rgba(0, 75, 141, .08);
        font-size: 13px;
        font-weight: 800;
    }

    .ndr-artigos-hero h1 {
        margin: 0 0 20px;
        font-size: clamp(40px, 5vw, 66px);
        line-height: 1.04;
        letter-spacing: -2.7px;
        font-weight: 900;
    }

    .ndr-artigos-hero h1 span {
        color: var(--art-secondary);
    }

    .ndr-artigos-hero p {
        max-width: 760px;
        margin: 0;
        color: var(--art-text);
        font-size: 18px;
        line-height: 1.75;
    }

    /* CONTEÚDO */

    .ndr-artigos-content {
        padding: 82px 0 92px;
        background: #ffffff;
    }

    .ndr-artigos-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        margin-bottom: 36px;
    }

    .ndr-artigos-heading__text {
        max-width: 760px;
    }

    .ndr-artigos-heading__tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
        color: var(--art-secondary);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .ndr-artigos-heading h2 {
        margin: 0 0 12px;
        font-size: clamp(30px, 4vw, 46px);
        line-height: 1.12;
        letter-spacing: -1.6px;
        font-weight: 900;
    }

    .ndr-artigos-heading p {
        margin: 0;
        color: var(--art-text);
        font-size: 15px;
        line-height: 1.7;
    }

    .ndr-artigos-heading__icon {
        display: grid;
        place-items: center;
        flex: 0 0 86px;
        width: 86px;
        height: 86px;
        border: 1px solid var(--art-border);
        border-radius: 22px;
        color: var(--art-primary);
        background: var(--art-light);
        font-size: 34px;
    }

    /* FEED DINÂMICO */

    .ndr-artigos-feed {
        width: 100%;
        min-height: 220px;
        padding: 24px;
        border: 1px solid var(--art-border);
        border-radius: 24px;
        background: #ffffff;
        box-shadow: 0 20px 55px rgba(8, 31, 53, .08);
        overflow: visible;
    }

    .ndr-artigos-page #soro-blog {
        width: 100%;
        min-height: 180px;
        overflow: visible !important;
    }

    .ndr-artigos-page #soro-blog>* {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .ndr-artigos-page #soro-blog iframe {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        border: 0 !important;
        background: transparent;
        overflow: visible !important;
    }

    .ndr-artigos-page #soro-blog article,
    .ndr-artigos-page #soro-blog .card {
        width: 100% !important;
        padding: 18px !important;
        border: 1px solid var(--art-border) !important;
        border-radius: 18px !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    .ndr-artigos-page #soro-blog img {
        border-radius: 14px !important;
    }

    .ndr-artigos-page #soro-blog h2,
    .ndr-artigos-page #soro-blog h3,
    .ndr-artigos-page #soro-blog h4 {
        color: var(--art-dark) !important;
        font-weight: 850 !important;
    }

    .ndr-artigos-page #soro-blog p {
        color: var(--art-text) !important;
        line-height: 1.65 !important;
    }

    /* CTA */

    .ndr-artigos-cta {
        padding: 0 0 90px;
        background: #ffffff;
    }

    .ndr-artigos-cta__box {
        position: relative;
        overflow: hidden;
        padding: 55px;
        border-radius: 28px;
        color: #ffffff;
        background:
            radial-gradient(circle at 90% 10%,
                rgba(255, 255, 255, .16),
                transparent 30%),
            linear-gradient(135deg,
                #10283f,
                #176b61);
        box-shadow: 0 26px 70px rgba(16, 40, 63, .18);
    }

    .ndr-artigos-cta__content {
        position: relative;
        z-index: 2;
        max-width: 760px;
    }

    .ndr-artigos-cta h2 {
        margin: 0 0 14px;
        font-size: clamp(30px, 4vw, 46px);
        line-height: 1.12;
        letter-spacing: -1.5px;
        font-weight: 900;
    }

    .ndr-artigos-cta p {
        margin: 0 0 24px;
        color: rgba(255, 255, 255, .78);
        font-size: 16px;
        line-height: 1.7;
    }

    .ndr-artigos-cta__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .ndr-artigos-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 50px;
        padding: 0 22px;
        border-radius: 13px;
        color: var(--art-green);
        background: #ffffff;
        font-size: 14px;
        font-weight: 800;
        transition:
            transform .2s ease,
            background .2s ease;
    }

    .ndr-artigos-button:hover {
        color: var(--art-green);
        background: #f4f8fc;
        transform: translateY(-2px);
    }

    .ndr-artigos-button--outline {
        border: 1px solid rgba(255, 255, 255, .55);
        color: #ffffff;
        background: transparent;
    }

    .ndr-artigos-button--outline:hover {
        color: var(--art-green);
        background: #ffffff;
    }

    /* RESPONSIVO */

    @media (max-width: 900px) {
        .ndr-artigos-heading {
            align-items: flex-start;
        }
    }

    @media (max-width: 650px) {
        .ndr-artigos-container {
            width: min(100% - 26px, 1180px);
        }

        .ndr-artigos-hero {
            padding: 58px 0;
        }

        .ndr-artigos-hero h1 {
            font-size: 40px;
        }

        .ndr-artigos-hero p {
            font-size: 16px;
        }

        .ndr-artigos-content {
            padding: 64px 0 70px;
        }

        .ndr-artigos-heading {
            display: block;
        }

        .ndr-artigos-heading__icon {
            display: none;
        }

        .ndr-artigos-feed {
            padding: 12px;
            border-radius: 18px;
        }

        .ndr-artigos-cta {
            padding-bottom: 66px;
        }

        .ndr-artigos-cta__box {
            padding: 38px 24px;
            text-align: center;
        }

        .ndr-artigos-cta__actions {
            flex-direction: column;
        }

        .ndr-artigos-button {
            width: 100%;
        }
    }
