.mw-pernambuco {
    grid-column: 1/-1;
}

.mw-pernambuco-section {
    color: #6200F6;
    font-size: 40px;
    line-height: 22px;
    font-family: "NunitoSans-Black";
    grid-column: 1/-1;
    display: flex;
    align-items: center;
}

.mw-pernambuco-section h2 {
    flex-wrap: nowrap;
    margin-right: 5px;
}

.pernambuco-divider {
    width: 100%;
    background-color: #6c6c6c;
    opacity: .2;
    height: 1px;
}

.mais-lidas-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.pernambuco-section-content {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: minmax(180px, auto);
    grid-auto-flow: row;
    gap: 30px;
    margin: 20px 0;
}

.mw-video-card:last-child {
    visibility: visible !important;
}

@media (max-width: 1024px) {
    .pernambuco-section-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(160px, auto);
        grid-auto-flow: row;
        gap: 30px;
        margin: 20px 0;
    }

    .mw-pernambuco-extended figure>img {
        min-height: 315px;
    }
}

@media (max-width: 590px) {
    .pernambuco-section-content {
        display: flex;
        flex-direction: column;
    }

    .mw-pernambuco-extended figure>img {
        min-height: 315px;
    }
}


.mw-pernambuco-extended {
    grid-column: span 4;
    /* display: flex; //ta9962*/
}
.mw-pernambuco-extended > a{
    margin:0;
}
.mw-pernambuco-extended a{
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}
.mw-pernambuco-extended a figure{
    position: relative;
}
.mw-pernambuco-extended figure > img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    max-width: 590px;
    max-height: 323px;
}
.pernambuco-extended-content {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    top: 0;
    max-width: 590px;
    height: 100%;
    display: flex;
    padding: 15px;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(359deg, black, transparent);
    border-radius: 15px;
}

.mw-pernambuco-extended a h2 {
    font-family: "NunitoSans-Black";
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
}

.pernambuco-extended-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mw-pernambuco-extended a h3 {
    font-family: "NunitoSans-SemiBold";
    font-size: 15px;
    line-height: 19px;
    color: #4A4A4A;
    display: flex;
    gap: 10px;
    align-items: center;
}
.mw-pernambuco-extended a h3 .before {
    width: 8px;
    height: 32px;
    border-radius: 10px;
}
@media (max-width:1024px){
    .mw-pernambuco-extended {
        grid-column: span 2;
    }
}



.pernambuco-bloco {
    grid-column: span 2;
}

.pernambuco-bloco--itens {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.pernambuco-bloco--itens > img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    z-index: -1;
    position: absolute;
    border-radius: 15px;
}

.pernambuco-bloco-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(359deg, black, transparent);
    border-radius: 15px;
}

.pernambuco-bloco-content > h3 {
    font-family: "NunitoSans-SemiBold";
    font-size: 15px;
    line-height: 19px;
    color: #4A4A4A;
    display: flex;
    gap: 10px;
    align-items: center;
}

.pernambuco-bloco-text {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.pernambuco-bloco-text > h2 {
    font-size: 18px;
    font-family: 'NunitoSans-Black';
    line-height: 24px;
    color: #fff;
    text-align: center;
}
@media (max-width: 1024px) {
    .pernambuco-bloco-content{
        min-height: 180px;
    }
    .pernambuco-bloco{
        grid-column: span 1;
    }
}

@media (max-width: 800px) {
    .mw-pernambuco {
        grid-column: 1/-1 !important;
    }
}
@media (max-width: 590px) {
    .pernambuco-bloco-content{
        min-height: 180px;
        align-items: flex-start;
    }
    .pernambuco-bloco-text{
        align-items: flex-start;
    }
    .pernambuco-bloco-text>h2{
        text-align: left;
    }
}