/* BLOG SECTION STIJLEN */

/* Blog/Nieuws Section */
.peppol-homepage-isolated .blog-section {
    background: white !important;
    padding: 60px 40px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
}

.peppol-homepage-isolated .blog-header {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.peppol-homepage-isolated .blog-loading {
    text-align: center !important;
    padding: 60px 20px !important;
    display: none !important;
}

.peppol-homepage-isolated .blog-loading.show {
    display: block !important;
}

.peppol-homepage-isolated .loading-spinner {
    width: 40px !important;
    height: 40px !important;
    border: 3px solid #f3f3f3 !important;
    border-top: 3px solid #D2691E !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
    margin: 0 auto 20px auto !important;
}

.peppol-homepage-isolated .blog-loading p {
    color: #666 !important;
    font-size: 16px !important;
    margin: 0 !important;
    font-family: inherit !important;
}

.peppol-homepage-isolated .blog-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 50px !important;
}

.peppol-homepage-isolated .blog-post-card {
    background: #f8fafc !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.peppol-homepage-isolated .blog-post-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    border-color: #D2691E !important;
}

.peppol-homepage-isolated .blog-post-image {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
}

.peppol-homepage-isolated .blog-post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
}

.peppol-homepage-isolated .blog-post-card:hover .blog-post-image img {
    transform: scale(1.05) !important;
}

.peppol-homepage-isolated .blog-post-category {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    background: linear-gradient(135deg, #D2691E, #c25718) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(210, 105, 30, 0.3) !important;
    font-family: inherit !important;
}

.peppol-homepage-isolated .blog-post-content {
    padding: 25px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.peppol-homepage-isolated .blog-post-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease !important;
    font-family: inherit !important;
}

.peppol-homepage-isolated .blog-post-card:hover .blog-post-title {
    color: #D2691E !important;
}

.peppol-homepage-isolated .blog-post-excerpt {
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 0 20px 0 !important;
    flex: 1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-family: inherit !important;
}

.peppol-homepage-isolated .blog-post-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 15px !important;
    padding: 12px 0 !important;
    border-top: 1px solid #e2e8f0 !important;
}

.peppol-homepage-isolated .blog-post-date,
.peppol-homepage-isolated .blog-post-read-time {
    font-size: 12px !important;
    color: #888 !important;
    font-weight: 500 !important;
    font-family: inherit !important;
}

.peppol-homepage-isolated .blog-post-link {
    color: #D2691E !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    align-self: flex-start !important;
}

.peppol-homepage-isolated .blog-post-link:hover {
    color: #c25718 !important;
    transform: translateX(5px) !important;
    text-decoration: none !important;
}

.peppol-homepage-isolated .blog-view-all {
    text-align: center !important;
}

.peppol-homepage-isolated .blog-view-all-btn {
    background: white !important;
    color: #D2691E !important;
    padding: 16px 32px !important;
    border: 2px solid #D2691E !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    font-family: inherit !important;
    display: inline-block !important;
}

.peppol-homepage-isolated .blog-view-all-btn:hover {
    background: #D2691E !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3) !important;
    text-decoration: none !important;
}

/* Error State */
.peppol-homepage-isolated .blog-error {
    text-align: center !important;
    padding: 40px 20px !important;
    display: none !important;
}

.peppol-homepage-isolated .blog-error.show {
    display: block !important;
}

.peppol-homepage-isolated .blog-error-message {
    color: #666 !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
    font-family: inherit !important;
}

.peppol-homepage-isolated .blog-retry-btn {
    background: #D2691E !important;
    color: white !important;
    padding: 12px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
}

.peppol-homepage-isolated .blog-retry-btn:hover {
    background: #c25718 !important;
    transform: translateY(-2px) !important;
}