.list-home-blog li:first-child h3 {
margin-bottom: 18px;
}
form#searchform {
margin: 0;
}
.list-home-blog li h3 a,
.list-home-blog li:first-child {
width: 100%;
display: block;
}
.list-home-blog {
display: grid;
grid-template-columns: 1.4fr 1fr 0fr;
gap: 48px;
}
.list-home-blog li {
width: 100%;
margin-bottom: 10px;
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
flex-direction: row;
height: 240px;
}
.list-home-blog li:nth-child(3) {
grid-column: 2/4;
}
.list-home-blog li:first-child .image-post {
width: 100%;
height: 318px;
margin-bottom: 40px;
}
.list-home-blog li h3 a {
transition: 0.3s;
color: var(--tm-dark-blue);
text-align: left;
letter-spacing: -0.2px;
}
.list-home-blog li h3 a:hover {
color: var(--tm-blue);
transition: 0.3s;
}
.list-home-blog .image-post {
width: 40%;
height: 240px;
border-radius: 30px;
background-color: #f2f2f2;
margin-bottom: 24px;
border: 2px solid var(--tm_cinza, rgba(0, 0, 0, 0.06));
}
.list-home-blog .image-post img {
border-radius: 30px;
height: 100%;
width: 100%;
object-fit: cover;
font-size: 0;
}
.list-home-blog .post-content {
color: var(--tm_grafite);
width: 100%;
}
.list-home-blog li .itens-post {
display: flex;
justify-content: space-between;
width: 60%;
flex-wrap: wrap;
align-content: flex-start;
padding: 10px 10px 0 28px;
}
.list-home-blog li:nth-child(2) h3,
.list-home-blog li:nth-child(3) h3 {
font-size: 20px;
line-height: 26px;
text-align: left;
margin-bottom: 18px;
width: 100%;
margin-top: 0;
}
.list-home-blog .category-principal {
margin-bottom: 22px;
margin-top: -2px;
}
.list-home-blog li:first-child h3 {
line-height: 38px;
}
.list-home-blog li:first-child .itens-post {
padding: 0;
flex-wrap: wrap;
width: 100%;
}
.list-home-blog li:first-child .list-home-blog .category-principal a {
margin-top: 0px !important;
}
.list-home-blog li:first-child .itens-post .itens-post .category-principal a {
margin-top: -27px !important;
}
.list-home-blog li:first-child .category-principal a {
margin-top: 0 !important;
}
.list-home-blog li:first-child h3 {
line-height: 30px;
}
.list-home-blog li:nth-child(3) .image-post {
width: 36.2%;
}
@media (min-width: 1100px) and (max-width: 1380px) {
.list-home-blog {
grid-template-columns: 1fr 1fr 0fr;
}
}
@media (min-width: 927px) and (max-width: 1100px) {
.list-home-blog {
grid-template-columns: 0.98fr 1fr 0fr;
}
.list-home-blog li:nth-child(2) h3,
.list-home-blog li:nth-child(3) h3 {
margin-bottom: 10px;
font-size: 18px;
line-height: 21px;
}
.list-home-blog .post-content {
font-size: 12px;
line-height: 18px;
}
.list-category-posts {
gap: 24px;
}
}
@media (min-width: 768px) and (max-width: 927px) {
.list-home-blog .post-content {
display: none;
}
.list-home-blog {
grid-template-columns: 0.98fr 1fr 0fr;
}
}
@media (max-width: 768px) {
.list-home-blog {
grid-template-columns: 1fr 1fr;
grid-template-columns: 1fr;
height: auto;
gap: 10px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.list-home-blog li:first-child .image-post {
height: 144px;
margin-bottom: 30px;
}
.list-home-blog .image-post,
.list-home-blog li .itens-post {
width: 100%;
padding: 0;
}
.list-home-blog li {
height: auto;
position: relative;
}
.list-home-blog .image-post {
height: 132px;
font-variant: all-small-caps;
margin-top: 42px;
margin-bottom: -8px;
}
.list-home-blog .post-content {
font-size: 14px;
line-height: 21.4px;
letter-spacing: -0.2px;
}
.list-home-blog li:nth-child(2) h3,
.list-home-blog li:nth-child(3) h3 {
font-size: 16px;
line-height: 21px;
}
.list-home-blog .category-principal a {
font-size: 11px;
margin-top: 34px !important;
}
.list-home-blog li:nth-child(2) .category-principal a {
margin-top: 12px !important;
}
.list-home-blog li:nth-child(2),
.list-home-blog li:nth-child(3) {
width: 45%;
}
.list-home-blog li:first-child {
margin-bottom: 0;
}
.list-home-blog li:first-child h3 {
font-size: 25px;
line-height: 32px !important;
}
.list-home-blog li:first-child .category-principal {
position: relative;
margin-bottom: 18px;
display: block;
width: 100%;
}
.list-home-blog li:nth-child(3) .image-post {
width: 100%;
}
.padding-blog {
padding: 0 20px!important;
}
}