.blog {
padding-bottom: 110px;
padding-top: 70px;
background: #F6F6F6;
}
.post-item {
position: relative;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
background: #000;
margin-bottom: 30px;
}
.post-item:hover {
transform: translateY(-5px);
}
.post-item .media-wrapper {
position: relative;
height: 250px;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
.post-item .media-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
opacity: 0.7;
}
.post-item:hover .media-wrapper img {
transform: scale(1.1);
opacity: 0.5;
}
.post-item .content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0.2);
color: #fff;
text-align: center;
padding: 20px;
z-index: 2;
pointer-events: none;
}
.post-item .content h3 {
font-size: 24px !important;
margin: 0;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 2px;
color: #fff !important;
text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.post-item .content h3 a {
color: #fff !important;
text-decoration: none;
}
.post-item .content .btn-main {
display: block;
margin-top: 10px;
font-size: 14px;
color: #ff0000 !important;
font-weight: 700;
text-transform: uppercase;
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
background: transparent;
border: none;
padding: 0;
pointer-events: auto;
}
.blog_content img {
width: 100% !important;
height: auto !important;
margin-bottom: 15px;
}
@media (max-width: 576px) {
.post-item .media-wrapper {
height: 200px;
}
.post-item .content h3 {
font-size: 18px !important;
}
}