/* Blog Widget Styles */
.blog__post-area-five {
    position: relative;
}

.section-pt-120 {
    padding-top: 120px;
}

.section-pb-95 {
    padding-bottom: 95px;
}

.section__title {
    margin-bottom: 60px;
}

.section__title-three.text-center {
    text-align: center;
}

.section__title .sub-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #0d6efd;
}

.section__title .title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #1a1a1a;
}

.mb-60 {
    margin-bottom: 60px;
}

.row.gutter-24 {
    margin-left: -12px;
    margin-right: -12px;
}

.row.gutter-24>[class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
}

/* Blog Post Item */
.blog__post-item-four {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog__post-item-four:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.shine__animate-item {
    position: relative;
    overflow: hidden;
}

/* Blog Thumbnail */
.blog__post-thumb-four {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.blog__post-thumb-four a {
    display: block;
    position: relative;
    overflow: hidden;
}

.blog__post-thumb-four img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    object-fit: cover;
}

.blog__post-item-four:hover .blog__post-thumb-four img {
    transform: scale(1.1);
}

/* Shine Animation */
.shine__animate-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.shine__animate-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.shine__animate-item:hover .shine__animate-link::before {
    left: 100%;
}

/* Blog Content */
.blog__post-content-five {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog__post-content-five .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
    flex: 1;
}

.blog__post-content-five .title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.blog__post-content-five .title a:hover {
    color: #0d6efd;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-three {
    background-color: #0d6efd;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-three::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.btn-three:hover::before {
    left: 100%;
}

.btn-three:hover {
    background-color: #0b5ed7;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Column-specific styles for large items */
.col-xl-6 .blog__post-thumb-four img {
    min-height: 300px;
    object-fit: cover;
}

.col-xl-3 .blog__post-thumb-four img {
    min-height: 200px;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .section__title .title {
        font-size: 36px;
    }

    .section-pt-120 {
        padding-top: 80px;
    }

    .section-pb-95 {
        padding-bottom: 60px;
    }

    .col-xl-6 .blog__post-thumb-four img,
    .col-xl-3 .blog__post-thumb-four img {
        min-height: 250px;
    }
}

@media (max-width: 991px) {
    .section__title .title {
        font-size: 32px;
    }

    .blog__post-content-five .title {
        font-size: 18px;
    }

    .col-lg-7 .blog__post-thumb-four img {
        min-height: 300px;
    }

    .col-lg-5 .blog__post-thumb-four img {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .section__title .title {
        font-size: 28px;
    }

    .section-pt-120 {
        padding-top: 60px;
    }

    .section-pb-95 {
        padding-bottom: 40px;
    }

    .mb-60 {
        margin-bottom: 40px;
    }

    .blog__post-content-five {
        padding: 20px 15px;
    }

    .blog__post-thumb-four img {
        min-height: 200px !important;
    }

    .btn {
        padding: 10px 24px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .section__title .title {
        font-size: 24px;
    }

    .section__title .sub-title {
        font-size: 12px;
    }

    .blog__post-content-five .title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .row.gutter-24>[class*="col-"] {
        margin-bottom: 20px;
    }
}