/* Ajustes isolados da migração. O visual principal continua vindo do CSS legado. */
.news-page,
.news-detail-page {
    overflow: hidden;
}

.news-maintenance {
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 90px 15px;
    background: linear-gradient(135deg, #f4f7f7, #e5eeee);
    text-align: center;
}

.news-maintenance-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 55px 35px;
    background: #fff;
    border-top: 5px solid #006b64;
    border-radius: 15px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
}

.news-maintenance-icon {
    color: #006b64;
    font-size: 42px;
}

.news-maintenance-eyebrow {
    margin: 22px 0 10px;
    color: #006b64;
    font-family: GOTHAM-MEDIUM, Arial, sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.news-maintenance-card h1 {
    margin: 0 0 18px;
    color: #202b36;
    font-family: GOTHAM-MEDIUM, Arial, sans-serif;
    font-size: 42px;
}

.news-maintenance-card p:not(.news-maintenance-eyebrow) {
    margin: 0 auto 28px;
    color: #555;
    font-size: 18px;
    line-height: 1.6;
}

.news-maintenance-link {
    display: inline-block;
    float: none;
    background: #006b64;
    color: #fff;
    padding: 15px 32px;
    font-size: 18px;
    border-radius: 15px;
    text-decoration: none;
}

.news-maintenance-link:hover,
.news-maintenance-link:focus {
    background: #00534f;
    color: #fff;
}

@media (max-width: 767px) {
    .news-maintenance {
        min-height: 430px;
        padding: 55px 15px;
    }

    .news-maintenance-card {
        padding: 40px 22px;
    }

    .news-maintenance-card h1 {
        font-size: 30px;
    }

    .news-maintenance-card p:not(.news-maintenance-eyebrow) {
        font-size: 16px;
    }
}

.news-banner {
    height: 300px;
    background-position: 30% 60%;
    background-size: cover;
}

.news-list-section {
    padding: 80px 0;
}

.news-search {
    display: flex;
    gap: 2px;
}

.news-search input[type="search"] {
    width: 79%;
    padding: 10px;
    border: 1px solid grey;
    border-radius: 3px;
    background: #f1f1f1;
    font-size: 17px;
}

.news-search button {
    width: 20%;
    padding: 10px;
    border: 1px solid grey;
    border-left: 0;
    border-radius: 3px;
    background: #006b64;
    color: #fff;
    font-size: 17px;
}

.news-search button:hover,
.news-search button:focus {
    background: #005e58;
}

.news-results {
    margin-top: 20px;
}

.news-list-item {
    display: flex;
    align-items: stretch;
    padding: 50px 0 30px;
    border-bottom: 2px solid #c1c1c1;
}

.news-list-image {
    min-height: 260px;
    background-position: center;
    background-size: cover;
}

.news-list-copy {
    margin-top: -20px;
}

.news-date {
    color: #006b64;
}

.news-more {
    float: right;
}

.news-more-left {
    float: left;
}

.news-empty {
    padding: 60px 0;
    text-align: center;
}

.news-pagination {
    margin-top: 45px;
    text-align: center;
}

.news-pagination .pagination {
    display: inline-block;
}

.news-article {
    padding-top: 30px;
    padding-bottom: 80px;
}

.news-article-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.news-main-image {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.news-main-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.news-article-title {
    margin-bottom: 50px;
}

.news-article-title h1 {
    margin-top: 0;
}

.news-share {
    display: flex;
    gap: 7px;
    margin-top: 16px;
}

.news-share a,
.news-share button {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 2px;
    background: #006b64;
    color: #fff;
}

.news-body {
    margin-top: 20px;
}

.news-body .texto-pesquisa {
    color: #535353;
    line-height: 1.65;
}

.news-course-link {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.news-course-link .quadrado {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.news-course-link span {
    font: 24px GOTHAM-MEDIUM, sans-serif;
}

.news-related {
    padding: 40px 0 100px;
    background: #f2f2f2;
}

.news-related-inner {
    width: 90%;
    margin: 0 auto;
}

.news-related-inner > h2 {
    margin-bottom: 50px;
    text-align: center;
}

.news-related .post-slide {
    min-height: 480px;
    margin: 0 0 30px;
}

.news-related-image {
    display: block;
    height: 260px;
    background-position: center;
    background-size: cover;
}

.news-related .post-title {
    text-align: center;
}

.news-related .post-title a {
    color: #3c3c3c;
}

.news-image-dialog {
    width: 70%;
}

.news-image-content {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.news-image-content img {
    width: 100%;
}

.news-image-close {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 15px;
    color: #fff;
    font-size: 50px;
    opacity: 1;
}

.news-not-found {
    min-height: 420px;
    padding-top: 80px;
    text-align: center;
}

@media (max-width: 991px) {
    .news-list-item {
        display: flex;
        flex-direction: column;
    }

    .news-list-image {
        order: 1;
    }

    .news-list-copy {
        order: 2;
        margin-top: 20px;
    }

    .news-more,
    .news-more-left {
        float: left;
    }

    .news-article-title {
        margin-top: 25px;
    }
}

@media (max-width: 700px) {
    .news-banner .titulo-slide {
        font-size: 30px !important;
    }

    .news-list-section {
        padding: 45px 0;
    }

    .news-search input[type="search"] {
        width: 78%;
    }

    .news-search button {
        width: 22%;
    }

    .news-image-dialog {
        width: auto;
        margin: 20px;
    }
}
.news-body figure {
    margin: 24px 0;
    text-align: center;
}

.news-body figure img,
.news-body > img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
