/* Dynamic Category Sections Block Styles */
.wp-block-crates-dynamic-category-sections {
    margin: 0;
}

.wp-block-crates-dynamic-category-sections .dynamic-category-section {
    margin-bottom: 2rem;
}

.wp-block-crates-dynamic-category-sections .dynamic-category-section:last-child {
    margin-bottom: 0;
}

/* Fallback styles when article-grid block is not available */
.fallback-category-section {
    margin-bottom: 3rem;
    padding: 1.5rem 0;
}

.fallback-category-section .category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--wp--preset--color--text-primary, #000);
}

.fallback-category-section .category-posts {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fallback-category-section .category-post {
    padding: 1rem;
    background: var(--wp--preset--color--card-background, #f8f9fa);
    border-radius: 0.5rem;
}

.fallback-category-section .category-post h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

.fallback-category-section .category-post h4 a {
    color: var(--wp--preset--color--text-primary, #000);
    text-decoration: none;
}

.fallback-category-section .category-post h4 a:hover {
    color: var(--wp--preset--color--accent-orange, #f47458);
}

.fallback-category-section .category-post p {
    margin: 0;
    color: var(--wp--preset--color--text-light, #666);
    font-size: 0.875rem;
    line-height: 1.5;
}

.fallback-category-section .category-view-more {
    text-align: center;
    margin-top: 1rem;
}

.fallback-category-section .view-more-link {
    display: inline-block;
    background-color: var(--wp--preset--color--accent-orange, #f47458);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}

.fallback-category-section .view-more-link:hover {
    background-color: var(--wp--preset--color--accent-orange-dark, #e36347);
    color: #ffffff;
}