/* Custom CSS fixes for CCA New Landers sites */

/* FAQ Section Visibility and Padding Fixes */
.faq-section {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.faq-item {
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
    background: #f8f9fa !important;
    border-radius: 0.5rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.faq-question {
    padding-bottom: 0.75rem !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    line-height: 1.4 !important;
}

.faq-answer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    line-height: 1.6 !important;
    color: #4b5563 !important;
}

/* Hero Background Image */
.header-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(37, 99, 235, 0.75) 100%), 
                url('../images/surety-bonds4contractors-insurance-hero.webp') center/cover !important;
    min-height: 600px !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

/* Blog Card Images */
.blog-card-image {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

/* Ensure images load properly */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .faq-item {
        padding: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .faq-answer {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .header-section {
        min-height: 400px !important;
        padding: 2rem 1rem !important;
    }
}