/**
 * @version     CVS: 5.2.2
 * @package     com_coopmodules
 * @subpackage  mod_mainarticles
 * @copyright   2024 Hirlei Carlos Pereira de Araújo
 * @license     GNU General Public License versão 2 ou posterior; consulte o arquivo License. txt
 * @author      Hirlei Carlos Pereira de Araújo <prof.hirleicarlos@gmail.com>
 */

@import "default.css";

.mod-ma-destaque {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.mod-ma-destaque .mainarticles-destaques {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #DCDCDC;
    border-radius: 10px;
    max-height: 700px;
}

.mod-ma-destaque .row-line {
    border-top: 1px solid #DCDCDC;
    border-bottom: 1px solid #DCDCDC;
    margin: 0 !important;
}

.mod-ma-destaque .m-title {
    padding: 12px 30px 5px 30px;
}

.mod-ma-destaque .texto-lateral {
    font-style: normal !important;
    font-variant: normal !important;
    font-family: Inter !important;
    font-size: 10px !important;
    line-height: 12px !important;
    letter-spacing: 0 !important;
    color: #0C1249;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mod-ma-destaque .texto-lateral a,
.mod-ma-destaque .texto-lateral a:hover {
    font-style: normal !important;
    font-variant: normal !important;
    font-family: Inter !important;
    font-size: 10px !important;
    line-height: 12px !important;
    letter-spacing: 0 !important;
    color: #0C1249;
}

/* Adicionando linha embaixo do texto */
.mod-ma-destaque .h-title {
    position: relative;
    display: inline-block;
}

.mod-ma-destaque .h-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: #18186A;
    margin-top: 12px;
    position: absolute;
    border-radius: 10px;
}

.mod-ma-destaque .m-body {
    padding: 20px 30px;
}

.mod-ma-destaque hr {
    border: 1px solid #cccccc;
    background-color: #cccccc;
    height: 1px;
    margin: 10px 0;
}

.mod-ma-destaque .area-destaques #line1 {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

.mod-ma-destaque .area-destaques #line1 #principal {
    flex: 50%;
}

.mod-ma-destaque #principal .article-main img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
    margin-bottom: 20px;
}

.mod-ma-destaque #principal .article-main .article-info {
    display: flex;
    flex-direction: column;
}

.mod-ma-destaque #principal .article-main .article-info .article-info-inf,
.mod-ma-destaque #secundario .article-secondary .article-info .article-info-inf {
    font: normal normal 600 10px/18px Inter;
    letter-spacing: 0;
    color: #0C1249;
    margin-bottom: 15px;
}
.mod-ma-destaque #principal .article-main .article-info a,
.mod-ma-destaque #principal .article-main .article-info a:hover {
    color: #171c66;
}

.mod-ma-destaque #principal .article-main .article-info h3 {
    margin-bottom: 10px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 69px;
}

.mod-ma-destaque #secundario .article-secondary {
    display: flex;
    gap: 15px;
    flex-direction: row-reverse;
}

.mod-ma-destaque #secundario .article-secondary .article-info {
    flex: 50%;
    flex-direction: column;
    justify-content: space-evenly;
    margin-bottom: 0;
}

.mod-ma-destaque #secundario .article-secondary a,
.mod-ma-destaque #secundario .article-secondary a:hover {
    flex: 230px;
    width: 230px;
    max-width: 230px;
    color: #171c66;
}

.mod-ma-destaque #secundario hr {
    border: 1px solid #cccccc;
    background-color: #cccccc;
    height: 1px;
    margin: 11px 0;
}

.mod-ma-destaque #principal .article-main .article-info .article-infotext,
.mod-ma-destaque #secundario .article-secondary .article-info .article-info-text {
    font: normal normal normal 12px/17px Inter;
    letter-spacing: 0;
    color: #00166B;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
}

.mod-ma-destaque #secundario .article-secondary img {
    width: 230px;
    height: 130px;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
}

.mod-ma-destaque #secundario .article-secondary .article-info h3 {
    margin-bottom: 10px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.mod-ma-destaque .area-destaques #line1 #secundario {
    flex: 50%;
}

@media screen and (max-width: 992px) {
    .mod-ma-destaque {
        flex-direction: column;
        gap: 20px;
    }

    .mod-ma-destaque .m-body {
        padding: 20px 30px;
    }

    .mod-ma-destaque .mainarticles-destaques {
        width: 100% !important;
    }

    .mod-ma-destaque .mainarticles-ultimas {
        width: 100% !important;
    }

    .mod-ma-destaque .mainarticles-destaques,
    .mod-ma-destaque .mainarticles-ultimas {
        max-height: 100%;
    }

    .mod-ma-destaque .mainarticles-destaques .area-destaques #line1 {
        gap: 20px;
        flex-direction: column;
    }

    .mod-ma-destaque #line1 #principal {
        flex: 7;
        padding: 0 0 30px 0;
        border-bottom: 1px solid #cccccc;
    }

    .mod-ma-destaque #inferior {
        flex-direction: column;
        gap: 20px;
    }

    .mod-ma-destaque #secundario .article-secondary {
        flex-direction: column;
    }

    .mod-ma-destaque #secundario .article-secondary a {
        flex: unset;
        width: 100%;
        max-width: 100%;
    }

    .mod-ma-destaque #secundario .article-secondary img {
        width: 100%;
        height: 230px;
    }
}

@media screen and (max-width: 1280px) and (-webkit-min-device-pixel-ratio: 1.5), screen and (max-width: 1280px) and (min-resolution: 144dpi) {
    .mod-ma-destaque #principal .article-main .article-info .article-infotext {
        -webkit-line-clamp: 3 !important;
        min-height: 51px !important;
    }
}