/* ========================================
   Custom Styles
   ======================================== */

/* Header Styles */
.header-group {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header Main Container - 强制设置左右填充 */
header.wp-block-template-part .header-main,
.header-main {
    padding: 1.5rem 80px !important;
    border-bottom: 1px solid #222222 !important;
}

/* Footer Styles */
.footer-group {
    background-color: #f8f8f8;
}

/* Button Style Enhancements */
.wp-block-button__link {
    transition: all 0.3s ease;
    border-radius: 4px;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Navigation Menu Styles */
.wp-block-navigation .wp-block-navigation-item__content {
    padding: 0.5rem 1rem;
}

/* Primary Navigation Fallback Styles */
.primary-navigation {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.primary-navigation li {
    margin: 0;
}

.primary-navigation a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: color 0.3s ease;
}

.primary-navigation a:hover {
    color: #e60012;
}

/* Post Card Styles */
.wp-block-post-template .wp-block-group {
    transition: box-shadow 0.3s ease;
}

.wp-block-post-template .wp-block-group:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Featured Image Styles */
.wp-block-post-featured-image img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.wp-block-post-featured-image:hover img {
    transform: scale(1.02);
}

/* Comment Styles */
.wp-block-comment {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .header-group {
        padding: 0.5rem 1rem;
    }
    
    .wp-block-navigation {
        flex-direction: column;
    }
}
