/* Radar de Oportunidade - Estilos extraídos de home-for-you-col-opportunity-and-materials-specials.php */

/* Card de Oportunidade */
.opp-card {
    background: transparent;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.opp-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.25em;
    color: var(--color-black);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-height: calc(1.25em * 2);
    white-space: normal;
}

.badge-status {
    font-family: 'Kanit', var(--font-primary), sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1.32;
    letter-spacing: 0;
    color: #465564;
}

.opp-meta {
    font-family: 'Kanit', var(--font-primary), sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1.32;
    letter-spacing: 0;
    color: #465564;
}

.opp-meta strong {
    font-weight: 500 !important;
}

.opp-meta hr {
    border: 1px solid #26A737;
}

.cegovbr-opp-swiper {
    width: 90%;
    height: 90%;
    flex: 1 1 auto;
    min-height: 0;
}

.ver-mais-link {
    color: #465564;
}

.swiper-slide {
    height: auto;
}

.swiper-prev,
.swiper-next {
    text-decoration: none !important;
}

.cegovbr-opp-wrapper .swiper-prev span,
.cegovbr-opp-wrapper .swiper-next span {
    font-size: 20px;
    color: #C5C5C5;
    cursor: pointer;
    text-decoration: none !important;
}

.cegovbr-opp-wrapper .swiper-prev.active span,
.cegovbr-opp-wrapper .swiper-next.active span {
    color: #465564;
}

.d-flex.align-items-stretch.ps-2.pe-1.cegovbr-opp-wrapper {
    height: 90%;
    width: 90%;
    flex: 1 1 auto;
    box-sizing: border-box;
    background: #D1EDD3;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    max-width: none;
}

.cegovbr-opp-wrapper {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: stretch;
    gap: 0;
}

.cegovbr-opp-wrapper .swiper-prev {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cegovbr-opp-wrapper .swiper {
    grid-column: 2;
}

.cegovbr-opp-wrapper .swiper-next {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .cegovbr-opp-wrapper {
        grid-template-columns: 1fr;
        position: relative;
    }
    .cegovbr-opp-wrapper .swiper-prev,
    .cegovbr-opp-wrapper .swiper-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
    }
    .cegovbr-opp-wrapper .swiper-prev {
        left: 8px;
    }
    .cegovbr-opp-wrapper .swiper-next {
        right: 8px;
    }
}

/* Matérias Especiais */
.cegovbr-mat-especiais-wrapper {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: stretch;
    gap: 0;
    height: 90%;
    width: 90%;
    flex: 1 1 auto;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    max-width: none;
}

.cegovbr-mat-especiais-wrapper .mat-especiais-swiper-prev {
    grid-column: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    padding-top: 80px;
}

.cegovbr-mat-especiais-wrapper .cegovbr-mat-especiais-swiper {
    grid-column: 2;
}

.cegovbr-mat-especiais-wrapper .mat-especiais-swiper-next.swiper-button-disabled span {
    margin-bottom: 39px;
}

.cegovbr-mat-especiais-wrapper .mat-especiais-swiper-prev.swiper-button-disabled span {
    margin-bottom: 39px;
}

.cegovbr-mat-especiais-wrapper .mat-especiais-swiper-next {
    grid-column: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    padding-bottom: 40px;
}

@media (max-width: 576px) {
    .cegovbr-mat-especiais-wrapper {
        grid-template-columns: 1fr;
        position: relative;
    }
    .cegovbr-mat-especiais-wrapper .mat-especiais-swiper-prev,
    .cegovbr-mat-especiais-wrapper .mat-especiais-swiper-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
    }
    .cegovbr-mat-especiais-wrapper .mat-especiais-swiper-prev {
        left: 8px;
    }
    .cegovbr-mat-especiais-wrapper .mat-especiais-swiper-next {
        right: 8px;
    }
}

.cegovbr-mat-especiais-swiper {
    width: 90%;
    height: 90%;
    flex: 1 1 auto;
    min-height: 0;
}

.mat-especiais-card {
    background: transparent;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.mat-especiais-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.25em;
    color: var(--color-white, #fff);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: calc(1.25em * 3);
    white-space: normal;
}

.mat-especiais-meta {
    font-family: 'Kanit', var(--font-primary), sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1.32;
    letter-spacing: 0;
    color: #fff;
}

.mat-especiais-meta strong {
    font-weight: 500 !important;
}

.mat-especiais-meta hr {
    border: 1px solid #26A737;
}

.mat-especiais-swiper-prev,
.mat-especiais-swiper-next {
    text-decoration: none !important;
}

.mat-especiais-swiper-prev span,
.mat-especiais-swiper-next span {
    font-size: 20px;
    color: #C5C5C5;
    cursor: pointer;
    text-decoration: none !important;
}

.cegovbr-mat-especiais-wrapper .mat-especiais-swiper-prev.active span,
.cegovbr-mat-especiais-wrapper .mat-especiais-swiper-next.active span {
    color: #fff;
    margin-bottom: 39px;
}
