/*=============================
    BLOG SECTION
==============================*/
.blog-row{
    margin-top:90px;
    margin-left:0;
    margin-right:0;
}

/* Blog Section Container */
/* .blog-section .container,
.solution-section .container{
    max-width: 1400px;
    padding-left: 40px;
    padding-right: 40px;
} */

/* Bootstrap columns ke andar spacing */
.blog-row > div{
    padding-left:10px;
    padding-right:10px;
    margin-bottom:35px;
}

/* Card */
.blog-card{
    width:100%;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:all .4s ease;
    height:100%;
}

.blog-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 45px rgba(0,0,0,.15);
}

/*=============================
    BLOG PAGINATION
==============================*/

.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 55px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.blog-pagination button {
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    background: #fff;
    color: #0878d1;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-pagination button:hover:not(:disabled) {
    background: #f5f8fc;
    border-color: #0878d1;
    transform: translateY(-2px);
}

.blog-pagination button.active {
    background: #ff9f32;
    color: #fff;
    border-color: #ff9f32;
}

.blog-pagination .next-btn {
    width: auto;
    min-width: 100px;
    padding: 0 12px;
    border: none;
    background: transparent;
    border-radius: 0;
    font-weight: 600;
    color: #0878d1;
}

.blog-pagination .next-btn:hover:not(:disabled) {
    background: transparent;
    color: #005fa8;
    transform: none;
}

.blog-pagination .previous-btn {
    margin-right: 5px;
}

.blog-pagination .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 56px;
    color: #111;
    font-size: 18px;
}


/* Mobile */

@media (max-width: 576px) {

    .blog-pagination {
        gap: 6px;
        margin-top: 40px;
    }

    .blog-pagination button {
        width: 44px;
        height: 44px;
        font-size: 15px;
        border-radius: 9px;
    }

    .blog-pagination .next-btn {
        min-width: auto;
        padding: 0 6px;
        font-size: 14px;
    }

    .blog-pagination .dots {
        width: 18px;
        height: 44px;
        font-size: 15px;
    }

}

.blog-pagination button {
    width: 56px;
    height: 56px;
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    background: #fff;
    color: #0878d1;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-pagination button:hover {
    background: #f5f8fc;
    border-color: #0878d1;
}

.blog-pagination button.active {
    background: #ff9f32;
    color: #fff;
    border-color: #ff9f32;
}

.blog-pagination .next-btn {
    width: auto;
    padding: 0 5px;
    border: none;
    border-radius: 0;
    background: transparent;
    font-weight: 600;
}

.blog-pagination .next-btn:hover {
    background: transparent;
    color: #005fa8;
}

.blog-pagination .dots {
    font-size: 18px;
    color: #111;
    padding: 0 2px;
}

/* Image */

.blog-image{
    position:relative;
    overflow:hidden;
}

.blog-image img{
    width:100%;
    height:230px;
    object-fit:cover;
    transition:.5s;
}

.blog-card:hover .blog-image img{
    transform:scale(1.08);
}

/* Optional Blue Overlay */

.blog-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.25),
        transparent
    );
}

/* Content */

.blog-content{
    padding:24px;
    display:flex;
    flex-direction:column;
    flex:1;
}

/* Meta */

.blog-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:18px;
    font-size:14px;
    color:#6c757d;
}

.blog-meta span{
    display:flex;
    align-items:center;
}

.blog-meta i{
    color:#0d6efd;
    margin-right:7px;
}

/* Title */

.blog-content h4{
    font-size:22px;
    font-weight:700;
    color:#1f2937;
    line-height:1.45;
    margin-bottom:15px;
    transition:.3s;
}

.blog-card:hover h4{
    color:#0d6efd;
}

/* Description */

.blog-content p{
    color:#6b7280;
    font-size:15px;
    line-height:1.8;
    margin-bottom:25px;
    flex:1;
}

/* Read More */

.read-more{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-weight:600;
    color:#0d6efd;
    text-decoration:none;
    transition:.35s;
}

.read-more i{
    transition:.35s;
}

.read-more:hover{
    color:#0056d2;
}

.read-more:hover i{
    transform:translateX(6px);
}

/*=============================
    Responsive
==============================*/

@media(max-width:992px){

.blog-image img{
    height:210px;
}

.blog-content h4{
    font-size:20px;
}

}

@media(max-width:768px){

.blog-image img{
    height:200px;
}

.blog-content{
    padding:20px;
}

.blog-content h4{
    font-size:19px;
}

.blog-content p{
    font-size:14px;
}

.blog-meta{
    font-size:13px;
}

}

@media(max-width:576px){

.blog-image img{
    height:190px;
}

.blog-content h4{
    font-size:18px;
}

}

/*=============================
    DARK MODE STYLES
==============================*/

[data-theme="dark"] .blog-card {
    background: #1a1d29;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .blog-card:hover {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .blog-content h4 {
    color: #f8f9fa;
}

[data-theme="dark"] .blog-card:hover h4 {
    color: #4dabf7;
}

[data-theme="dark"] .blog-content p {
    color: #adb5bd;
}

[data-theme="dark"] .blog-meta {
    color: #868e96;
}

[data-theme="dark"] .blog-meta i {
    color: #4dabf7;
}

[data-theme="dark"] .read-more {
    color: #4dabf7;
}

[data-theme="dark"] .read-more:hover {
    color: #74c0fc;
}

[data-theme="dark"] .blog-pagination button {
    background: #1a1d29;
    border-color: #2d3748;
    color: #4dabf7;
}

[data-theme="dark"] .blog-pagination button:hover:not(:disabled) {
    background: #252936;
    border-color: #4dabf7;
}

[data-theme="dark"] .blog-pagination button.active {
    background: #ff9f32;
    color: #fff;
    border-color: #ff9f32;
}

[data-theme="dark"] .blog-pagination .dots {
    color: #adb5bd;
}

[data-theme="dark"] .blog-pagination .next-btn {
    color: #4dabf7;
}

[data-theme="dark"] .blog-pagination .next-btn:hover:not(:disabled) {
    color: #74c0fc;
}