section {
    overflow: hidden;
}


/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.section-header {
    text-align: center;
    padding-bottom: 20px;
    justify-content: center;
    align-content: center;
    align-items: center;
    display: flex;
}

.section-header h2 {
    margin-bottom: 10px;
    padding-bottom: 10px;
    position: relative;
    width: 30rem;
    color: var(--color-primary);
}

.section-header h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 40%;
    height: 3px;
    background: #EDB422 !important;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.section-header p {
    margin-bottom: 0;
    color: #6f6f6f;
}

.about {
    background-color: #dfc0d9;
    background-position: bottom;
    padding: 60px 0;
    width: 100vw;
    background-image: url("https://s3.amazonaws.com/images.3e.eng.br/site-cemig/imagens_oficiais/banner_tela_inicial_1.png");
    background-repeat: no-repeat;
    background-size: 100vw auto;
}

.card-activities {
    width: 90% !important;
}

@media (min-width: 768px) {
    .card-activities {
        width: 80% !important;
    }
}

@media (min-width: 1366px) {
    .card-activities {
        width: 70% !important;
    }
}

.title-card {
    font-size: 34px;
    position: relative;
}

.title-card h2 {
    font-family: var(--font-primary);
    color: var(--color-primary);
}

.title-card h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 110px !important;
    height: 3px;
    background: var(--color-yellow) !important;
}

.linksInitialPage {
    color: #808080;
}

.linksInitialPage:hover {
    transform: scale(1.1);
}

.read-more-button {
    width: 150px;
    padding: 5px 10px;
    border-radius: 5rem;
    background-color: transparent;
    border: 2px solid var(--color-primary);
}

.read-more-button a {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
}

/* ----------------------------------------------------------
# Events
----------------------------------------------------------- */
.title-events {
    background-color: rgba(111, 111, 111, 0.44);
    width: 15rem;
    display: flex;
    margin: 3rem 0rem;
}

.vl {
    border-left: 6px solid var(--color-yellow);
    height: 7vh;
    top: 0;
}

.title-events h3 {
    color: white;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin: auto;
}

.events-date {
    padding: 40px 0 0 0;
}

.container-events-rigth .card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.events-date .container-events .container-events-left {
    background-color: #cccccc;
    display: flex;
    flex-direction: column;
    height: auto;
}


.events-date .container-events .container-events-rigth {
    background-color: #e7e7e7;
    display: flex;
    flex-direction: column;
    margin: auto;
    height: auto;
}

.container-events-rigth .card {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 17vh;
    flex-direction: row;
    margin: auto 4rem;
    border-radius: 1rem;
}


.container-events-rigth .card .days {
    display: flex;
    flex-direction: column;
    margin: auto 2rem;
    text-align: center;
    align-items: center;

}

.container-events-rigth .card .days h3 {
    display: flex;
    text-align: center;
    font-size: 5rem;
    font-weight: bold;
    margin: -1rem 0;
    color: #6b6b6b;
}

.container-events-rigth .card .description {
    flex-direction: column;
    margin: auto 2rem;

    text-align: justify;

}

.events-date .stats-item {
    padding: 20px 0;
    border-bottom: 1px solid #e4e4e4;
}

.events-date.stats-item .purecounter {
    min-width: 90px;
    padding-right: 15px;
}

.saibamais {
    display: flex;
    text-align: right;
    justify-content: right;
    margin: 0 4rem;
}

/*--------------------------------------------------------------
# News title
--------------------------------------------------------------*/
.title-news {
    background-color: rgba(111, 111, 111, 0.44);
    width: 13rem;
    display: flex;
}

.title-news h3 {
    color: white;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin: auto;
}

.news-content {
    border-left: 6px solid var(--color-yellow);
    height: 7vh;
    top: 0;
    margin: 0;
}

/*-------------------------------------------------------------
# Recent Events Section
-------------------------------------------------------------*/
.recent-events {
    display: flex;
    margin: auto 0.5rem;
}

.card-event-content:hover {
    transform: scale(1.03);
}

.recent-events article {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 30px;
    width: 55vw;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.recent-events .post-img {
    max-height: 25vh;
    overflow: hidden;
}

.recent-events .post-category {
    font-size: 16px;
    color: #6f6f6f;
    margin-bottom: 10px;
}

.recent-events .title {
    font-size: 22px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.recent-events .title a {
    color: var(--color-default);
    transition: 0.3s;
}

.recent-events .title a:hover {
    color: var(--color-primary);
}

.recent-events .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.recent-events .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.recent-events .post-date {
    font-size: 14px;
    color: #3c3c3c;
    margin-bottom: 0;
}

.card-event-content article {
    display: flex;
    gap: 2rem;
}

.card-event-content .days {
    display: flex;
    flex-direction: column;
    margin: auto 0;
    text-align: center;
}

.card-event-content .days h3 {
    display: flex;
    font-size: 5rem;
    font-weight: bold;
    margin: -1rem 0;
    align-items: baseline;
    color: #6b6b6b;
}

/*--------------------------------------------------------------
# Landing Page
--------------------------------------------------------------*/

.mobile-landing-page {
    display: none;
}

.desktop-landing-page {
    display: initial;
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-posts {
    background-image: url("https://s3.amazonaws.com/images.3e.eng.br/site-cemig/imagens_redimensionadas/ultimas-noticias-2-redimensionada.png");
    background-size: cover;
    background-position-y: 70vh;
}

.text-EE {
    font-size: 50px;
}

.container-news {
    position: relative;
    z-index: 100;
}

.recent-posts {
    position: relative;
    z-index: 100;
}

.textoInicial {
    color: #5b5b5b;
}

.recent-posts article {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 0px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.recent-posts article:hover {
    transform: scale(1.1);
}

.recent-posts .post-img {
    max-height: 55%;
    overflow: hidden;
}

.background-news-img {
    height: 50%;
    width: 100%;
    overflow: hidden;
}

.background-news-img img {
    position: absolute;
    max-height: 30%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

.recent-posts .container {
    z-index: 9000;
}

.recent-posts .post-category {
    font-size: 16px;
    color: #6f6f6f;
    margin-bottom: 10px;
}

.title {
    max-height: 45%;
    padding: 0 1rem;
    font-size: 22px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title a {
    color: var(--color-primary) !important;
    transition: 0.3s;
    font-weight: bold !important;

}

.recent-posts .title a:hover {
    color: var(--color-primary);
}

.recent-posts .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.recent-posts .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.recent-posts .post-date {
    font-size: 14px;
    color: #3c3c3c;
    margin-bottom: 0;
}

.aboutSaibaMais {
    color: var(--color-primary);
    text-decoration: underline !important;
    font-weight: 500;
}

.aboutSaibaMais:hover {
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline !important;
}

@media (max-width: 1600px) {
    .description h3 {
        align-items: center;
        margin: 0 0 -0.3rem 0;
    }

    .description p {
        margin: 0;
    }
}

@media (max-width: 1400px) {
    .active-content {
        flex-direction: column !important;
        width: 100vw;
        text-align: center;
        gap: 2rem;
    }

    .events-date .container-events {
        background-color: gray;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }

    .recent-events .container {
        display: flex;
        margin: auto;
        align-items: center;
        justify-content: center;
        justify-items: center;
    }

    .card-event-content article {
        display: flex;
        margin: auto;
        width: 90vw;
        align-items: center;
        justify-content: center;
        justify-items: center;
    }

    .container-events-left {
        width: 50%;
    }

    .container-events-rigth {
        width: 100%;
    }

    .about {
        background-position-y: 100%;
    }
}

@media (max-width: 1100px) {
    .description {
        margin: auto 2rem !important;
    }

    .title {
        padding: 0rem 1rem;
    }

    .description h3 {
        align-items: center;
        margin: 0 0 -0.3rem 0;
    }

    .description p {
        margin: 0;
    }

    .container-events-rigth {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .container-events-rigth .card {
        width: 90vw;
    }
}

@media (max-width: 1000px) {
    .card-event-content article {
        display: flex;
        flex-direction: column;
    }

    .container-events-rigth {
        margin: 0;
    }

    .card-event-content article {
        width: 70vw;
    }

    .about {
        background-color: #dfc0d9;
    }

    #about {
        height: 60rem;
    }

    .aboutContent {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
    }

    .container-active, .actives {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .aboutSaibaMais {
        display: none;
    }


    .card-position {
        gap: 2rem !important;
    }

    .title-card h2 {
        margin: 1rem 0 0 0;
    }
}

@media (max-width: 850px) {
    .events-date .container-events {
        display: contents;
    }

    .cards {
        padding: 1rem !important;
    }

    .events-date .container-events .container-events-rigth {
        height: auto;
        margin: auto 0rem !important;
    }

    .container-events-rigth .card {
        height: 35vh !important;
        display: flex;
        flex-direction: column;
    }

    .card .description {
        text-align: center !important;
    }

    .description h3 {
        margin: -2rem 0 2rem 0;
    }
}


@media (max-width: 790px) {
    .day_month {
        display: flex;
        align-items: center;
    }

    #about {
        height: 55rem;
    }

    .recent-posts .post-img {
        max-height: 50%;
    }
}

@media (max-width: 768px) {
    .desktop-landing-page {
        display: none;
    }

    .card-body {
        padding: 1rem 3rem !important;
    }

    .mobile-landing-page {
        display: initial;
    }

    .recent-posts .post-img {
        max-height: 65%;
    }

    .title {
        font-size: 18px;
        max-height: 35%;
    }

    .card-position {
        gap: 0 !important;
    }

    .title-card {
        margin: 1rem 0 !important;
    }

    .title-card h2 {
        margin: 1.5rem 0 0 0 !important;
    }
}

@media (max-width: 670px) {
    .description h3 {
        margin: 1rem !important;
    }
}

@media (max-width: 500px) {
    .title-card {
        margin-bottom: 1.3rem !important;
    }

    .read-more-button {
        width: 100% !important;
    }

    .description h3 {
        margin: -2rem 0 0 0;
    }

    .calendar {
        margin: 0 2rem 2rem;
        text-align: center;
        align-items: center;
        align-content: center;
    }

    .containerEventAccordion {
        height: 100%;
        max-height: 34vh;
    }

}

@media (max-width: 420px) {
    .contentCalendar td {
        padding: 0.5rem 0 0.7rem 0;
        margin: 0;
    }

    .day {
        padding: 0;
    }

    .table-date {
        padding: 0.65rem 0 0.65rem;
    }

    .table-date {
        width: 0.25rem;
        height: 1rem;
    }

    .calendar {
        margin-bottom: 3rem;
    }
}

.container-news-title {
    padding: 35px 0px;
}

.containerEventAccordion {
    height: 100%;
    max-height: 31em;
    overflow-y: scroll;
    overflow-x: hidden;
}


@media (max-width: 1000px) {
    .recent-posts article:hover {
        transform: scale(1);
    }

    #about {
        height: 85vw;
    }

    .card-position {
        flex-direction: column;
        width: 100%;
    }

    .card-position > div {
        width: 100%;
    }

    .card-position hr {
        width: 100%;
        height: 2px !important;
    }
}

@media (max-width: 980px) {
    .activitesItens {
        padding-bottom: 1.8rem;
    }

    #about {
        height: 60rem;
    }
}

@media (max-width: 830px) {
    .background-news-img img {
        display: none;
    }

    .background-news-img {
        background-color: var(--color-primary);
        height: 10rem;
        position: absolute;
    }
}

@media (max-width: 600px) {
    article {
        width: 85% !important;
    }
}

@media (max-width: 500px) {
    #about {
        height: 75rem;
    }

    .activitesItens {
        display: flex;
        flex-direction: column;

    }

    .last-item {
        margin-top: -1.58rem;
    }

    .active-itens {
        width: 100rem;
    }

    .actives .active-itens {
        margin: 1rem !important;
    }
}

@media (max-width: 485px) {
    article {
        width: 95% !important;
    }
}

@media (max-width: 450px) {
    #about {
        height: 80rem;
    }
}

article {
    width: 100%;
}

.post-img {
    justify-content: center;
}

@media (min-width: 1000px) {
    .about {
        height: 100vh;
    }
}

.buttonMore {
    width: 23rem;
    height: 3.5rem;

    text-align: center;

    text-decoration: none;

    background: transparent;
    color: var(--color-primary);

    border-radius: 5rem;
    border: 1px solid var(--color-primary);

    transition: 0.5s;

    font-size: 1.4em;
    font-weight: 800;

    margin: 1rem 0;
}

.buttonMore:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    background: var(--color-yellow);
    color: rgb(255, 255, 255);
    border: 1px solid var(--color-yellow);

}

@media (max-width: 800px) {
    .buttonMore {
        margin: 0 0 2rem 0 !important;
    }
}

@media (max-width: 550px) {
    .container-active h3 {
        font-size: 2.4em;
    }

    .buttonMore {
        font-size: 1em;
        width: 15rem !important;
    }
}

@media (max-width: 600px) {
    .container-active h3 {
        font-size: 2em;
    }

    .cards {
        padding: 3rem 1rem !important;
    }
}
