/*
handler: ndmais-home-destaques-por-categoria
deps: bootstrap-5,bootstrap-icons
version: 1.0.7
*/

#destaques-por-categoria .title {
	margin-bottom: 15px;
}

#destaques-por-categoria .title h2 {
	font-size: 28px;
	font-weight: 700;
	color: var(--blue);
}

#destaques-por-categoria .title h2 a { 
    color: var(--blue);
}

#destaques-por-categoria article {
	margin-bottom: 15px;
}

#destaques-por-categoria article .image {
    width: 45%;
}

#destaques-por-categoria article.item-destaque .image {
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

#destaques-por-categoria article.item-destaque .image::after{
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 5.1);
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%);
}

#destaques-por-categoria article .image img{
    border-radius: 8px;
}

#destaques-por-categoria article .text {
    width: 55%;
    padding-left: 15px;
}


#destaques-por-categoria article.item-destaque .text {
    padding: 0;
}

#destaques-por-categoria article.item-destaque .text {
    width: 100%;
    position: absolute;
    bottom: 20px;
}

#destaques-por-categoria article.item-destaque{
    position: relative;
}

#destaques-por-categoria article.item-destaque .text>* {
    padding: 0 20px;
}

#destaques-por-categoria article.item-destaque .text a {
    color: #fff;
}

#destaques-por-categoria article .categoria {
	font-size: 12px;
	font-weight: 500;
	color: var(--purple);
	line-height: 1;
    display: block;
    margin-bottom: 10px;
}

#destaques-por-categoria .categoria:hover {
	color: var(--blue);
}

#destaques-por-categoria article h3 {
	font-size: 14px;
	font-weight: 500;
	color: var(--black);
	line-height: 1.5;
}

#destaques-por-categoria article.item-destaque h2 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

#destaques-por-categoria article h3 a {
	color: var(--black);
}

#destaques-por-categoria article h3 a:hover {
	color: var(--blue-dark);
}

#destaques-por-categoria a.lkMore {
    color: var(--blue-dark);
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
}

#destaques-por-categoria a.lkMore i {   
    font-size: 15px;
    line-height: 18px;
}

#destaques-por-categoria a.lkMore:hover {
    color: var(--blue);
}

@media only screen and (min-width : 992px) {

    #destaques-por-categoria .title {
	    margin-bottom: 20px;
    }
    
	#destaques-por-categoria .category {
        padding: 0 15px;
		margin-bottom: 0;
	}

    #destaques-por-categoria article {
        margin-bottom: 20px;
    }
    
    #destaques-por-categoria article .image {
        width: 40%;
    }

    #destaques-por-categoria article .text {
        width: 55%;
        padding-left: 20px;
        top: 52%;
        bottom: auto;
    }
    
    #destaques-por-categoria article.item-destaque .text>* {
        padding: 0 30px;
    }

    #destaques-por-categoria article.item-destaque h3 {
        font-size: 16px;
    }

	#destaques-por-categoria article h3 {
		font-size: 14px;
		line-height: 1.3;
	}

	#destaques-por-categoria article.item-destaque h2 {
		font-size: 20px;
		font-weight: 600;
		line-height: 1.3;
	}
}