/* Blog Page Styles */

.repopilot-index133{
    background: linear-gradient(180deg, #EFF6FF 0%, rgba(239, 246, 255, 0) 100%) !important;

}
.blog-hero {
    background: linear-gradient(180deg, #EFF6FF 0%, rgba(239, 246, 255, 0) 100%);
    padding: 60px 20px 60px;
    text-align: center;
    margin-top: 100px !important;
}

.blog-hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #6b7280;
    
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px 80px;
}

img.left-midd {
    /* width: 100%; */
    position: absolute;
    left: -40%;
    top: 11%;
    z-index: -1;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    /* background: #ffffff; */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* border: 1px solid #f0f0f0; */
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-4px);
    /* box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); */
}

.blog-card-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.blog-card-content {
    padding: 20px;
    text-align: left;
    padding-left: 0;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
       font-family: 'Manrope', sans-serif;

    font-size: 13px;
    color:#155DFC;
    margin-bottom: 10px;
    font-weight: 600;
    border: 1px solid #155DFC1A;
    width: max-content;
    padding: 4px 8px;
    border-radius: 100px;
}

.blog-card-date svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.blog-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-load-more {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.blog-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #155DFC;

    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    
}

.blog-load-more-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.blog-load-more-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.blog-load-more-btn:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .blog-hero-title {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-hero {
        padding: 60px 16px 40px;
    }

    .blog-hero-title {
        font-size: 28px;
    }

    .blog-hero-subtitle {
        font-size: 14px;
    }

    .blog-card-image {
        height: 180px;
    }
}
/* Skeleton styles for blog cards */
.blog-card-skeleton {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f0f0f0;
}

.skeleton-blog-img {
    width: 100%;
    height: 230px;
    border-radius: 14px;
}

.skeleton-blog-content {
    padding: 20px;
    padding-left: 0;
}

.skeleton-blog-date {
    height: 22px;
    width: 80px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.skeleton-blog-title {
    height: 24px;
    width: 85%;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-blog-excerpt {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-blog-excerpt:not(.short) {
    width: 100%;
}

.skeleton-blog-excerpt.short {
    width: 70%;
}

/* Responsive skeleton styles */
@media (max-width: 600px) {
    .skeleton-blog-img {
        height: 180px;
    }
}

/* Blog Navigation Styles */
.bd-navigation-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.bd-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 60px;
    width: 100%;
}

.bd-nav-item {
    flex: 0 0 auto;
    max-width: 45%;
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.bd-nav-item:hover {
    border-color: #155dfc;
    background: #f8faff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 93, 252, 0.1);
    text-decoration: none;
    color: inherit;
}

.bd-nav-prev {
    text-align: left;
    margin-right: auto;
}

.bd-nav-next {
    text-align: right;
    margin-left: auto;
}

.bd-nav-spacer {
    flex: 1;
}

.bd-nav-label {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.bd-nav-next .bd-nav-label {
    justify-content: flex-end;
}

.bd-nav-title-wrapper {
    display: block;
}

.bd-nav-title {
    font-family: 'Manrope', sans-serif;
    color: #155dfc;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.bd-nav-item:hover .bd-nav-title {
    color: #1249d6;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .bd-nav-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .bd-nav-item {
        max-width: 100%;
        margin: 0 !important;
        padding: 16px;
    }

    .bd-nav-prev,
    .bd-nav-next {
        text-align: center !important;
    }

    .bd-nav-next .bd-nav-label {
        justify-content: center;
    }

    .bd-nav-spacer {
        display: none;
    }
}