.blog-row {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 2rem;
flex-wrap: wrap;
}
.blog-thumb {
flex: 0 0 40%;
max-width: 40%;
}
.blog-thumb img {
width: 100%;
height: auto;
display: block;
border-radius: 0px;
}
.blog-text {
flex: 1 1 0%;
}
.blog-text h4 {
font-size: 1.8rem;
margin-bottom: 0.5rem;
color: #14786e;
}
.blog-date {
display: block;
margin-bottom: 0.8rem;
font-size: 0.9rem;
color: #888;
}
.blog-text p {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 1rem;
}
.btn {
display: inline-block;
background-color: #14786e;
color: white !important;
padding: 0.6em 1.4em;
border-radius: 50px;
text-decoration: none;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #0e5d53;
}
.blog-row.reverse {
flex-direction: row-reverse;
} @media (max-width: 980px) {
.blog-row {
flex-direction: column;
}
.blog-thumb, .blog-text {
max-width: 100%;
flex: 1 1 100%;
}
}
@media (max-width: 768px) {
.blog-text h4 {
font-size: 1.1rem;
line-height: 1.4;
margin-bottom: 0rem;
padding-bottom: 4px;
}
.blog-date {
margin-bottom: 0.2rem;
font-size: 0.8rem;
}
.blog-text p {
font-size: 0.8rem;
line-height: 1.6;
}
}