/**
 * @version     CVS: 8.0.0
 * @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-custom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
}

.mod-ma-custom .ma-header {
    width: 100%;
    margin-bottom: 30px;
}

.mod-ma-custom .ma-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
    margin: 0 auto;
}

.mod-ma-custom .area-card {
    display: flex;
    justify-content: space-between;
    background: #FFFFFF 0 0 no-repeat padding-box;
    border: 1px solid #5883D0;
    border-radius: 10px;
    box-sizing: border-box;
    width: calc(50% - 15px);
    gap: 15px;
    padding: 15px;
}

.mod-ma-custom .area-card img {
    width: 154px;
    border-radius: 10px;
    object-fit: cover;
    min-width: 154px;
    height: 100%;
}

.mod-ma-custom .c_body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.mod-ma-custom .c_body a,
.mod-ma-custom .c_body a:hover {
    color: #171c66;
}

.mod-ma-custom .c_body h3 {
    margin-bottom: 10px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
}

.mod-ma-custom .c_body .c_text {
    font: normal normal 400 12px/15px 'Intro Regular' !important;
    margin-bottom: 15px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 24px;
    color: #00166B;
}

.mod-ma-custom .c_body .c_text .evento-data {
    padding-bottom: 15px;
}

.mod-ma-custom .c_btn {
    display: flex;
    justify-content: end;
}

.mod-ma-custom .c_btn a {
    padding: 12px 48px;
    border: 1px solid #0C1249;
    border-radius: 20px;
    color: #171C66;
    background-color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font: normal normal 500 12px/16px 'Inter' !important;
    letter-spacing: 0;
}

.mod-ma-custom .c_btn a:hover {
    background-color: #171C66;
    color: #ffffff;
}

/* Responsividade */
@media (max-width: 992px) {
    .mod-ma-custom .area-card {
        width: 100%;
    }
}