/* Compact FAQ Container Styling */
.faq-container {
    width: 100%; /* Marginally narrower for a tighter layout */
    margin: 30px auto; /* Reduced from 40px */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #222222;
    padding: 15px 30px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-container h2 {
    text-align: center;
    margin-bottom: 20px; /* Reduced from 35px */
    color: #111111;
    font-size: 1.8rem; /* Reduced from 2.2rem */
    font-weight: 800;
}

/* Tighter Accordion Item Spacing */
.faq-item {
    border-bottom: 1px solid #eaeaea; /* Thinner border lines */
    margin-bottom: 2px; /* Tighter list spacing between questions */
}

/* Hides the Checkbox Everywhere */
input.faq-toggle {
    display: none !important;
}

/* Compact BOLD Question Styling */
.faq-question {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6px; /* Tight vertical padding, reduced from 20px */
    font-size: 1.05rem; /* Noticeably smaller, reduced from 1.2rem */
    font-weight: 700 !important; 
    color: #111111 !important;
    cursor: pointer;
    margin: 0;
    user-select: none;
    transition: color 0.2s ease-in-out;
}

.faq-question:hover {
    color: #b71c1c !important; 
}

/* Tighter Plus/Minus Indicator Icon */
.faq-icon::after {
    content: '+';
    font-size: 1.2rem; /* Scaled down with the text */
    font-weight: 600;
    line-height: 1;
    color: #b71c1c;
}

/* Content / Answer Styling */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 6px;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 12px; /* Reduced to match the tighter layout padding */
    line-height: 1.5; /* Slightly tighter line tracking */
    color: #444444;
    font-size: 0.95rem; /* Scaled down slightly to fit the layout perfectly */
}

/* Expand Actions when Checked */
.faq-toggle:checked ~ .faq-answer {
    max-height: 400px; 
    transition: max-height 0.3s ease-in;
}

.faq-toggle:checked ~ .faq-question {
    color: #b71c1c !important; 
}

.faq-toggle:checked ~ .faq-question .faq-icon::after {
    content: '−';
}

/* Compact Call to Action Button Styling */
.faq-cta-wrapper {
    text-align: center;
    margin-top: 30px; /* Reduced from 45px */
}

.faq-cta-btn {
    display: inline-block;
    background-color: #b71c1c; 
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 24px; /* Tighter padding for a more compact button */
    font-weight: 700;
    font-size: 1rem; /* Reduced from 1.15rem */
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.faq-cta-btn:hover {
    background-color: #801010;
    transform: translateY(-1px);
}

.faq-cta-btn:active {
    transform: translateY(0);
}
