﻿/* --- 1. LAYOUT RESET: Fixes Title on Left / Info on Right --- */
.intro-pages-container {
    display: block !important;    /* Force items to stack vertically */
    width: 100% !important;
    max-width: 1150px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.standard-header-area {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important; /* Keep the grey line tight to the title area */
}

.about-story-container {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    
    /* THE FIX: Adds breathing room below the grey line */
    margin-top: 30px !important; 
    margin-bottom: 20px !important;
}

.faq-section-container {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 40px !important; /* Space between Intro text and the Toggles */
}


/* --- 2. FAQ TOGGLE STYLES: Always Wide --- 
.faq-section-container {
    margin: 20px auto 60px auto !important;
    padding: 0 40px !important;
}*/

details.faq-item {
    display: block !important;
    width: 100% !important;       /* Force 100% width even when closed */
    border-bottom: 1px solid #eee !important;
    padding: 24px 0 !important;
}

summary.faq-question {
    display: flex !important;     /* Horizontal row for Q and +/- */
    width: 100% !important;       /* Stretch to full width */
    justify-content: space-between !important; /* Push icon to far right */
    align-items: center !important;
    cursor: pointer;
    list-style: none !important;
    outline: none;
    font-family: "Georgia", serif;
    font-size: 20px;
    color: #333;
}

/* Hide default browser arrows */
summary.faq-question::-webkit-details-marker { display: none !important; }
summary.faq-question::marker { display: none !important; content: "" !important; }

/* --- 3. PLUS/MINUS ICON TOGGLE LOGIC --- */

/* 1. Force the span to be a physical box so the icon shows */
.faq-icon {
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    text-align: center !important;
    color: #a52a2a; 
    font-size: 26px;
    font-weight: bold;
    flex-shrink: 0 !important;
    margin-left: 30px !important;
    cursor: pointer;
}

/* 2. Default state: Use CSS to write the PLUS sign */
.faq-icon::before {
    content: "+" !important;
    display: block !important;
}

/* 3. Open state: Use CSS to write the MINUS sign */
/* \2212 is the official long minus sign character */
details[open] .faq-icon::before {
    content: "\2212" !important; 
    color: #777; /* Softer color when open */
}

/* 4. Highlight the question text when open */
details[open] .faq-question {
    color: #a52a2a;
}
.faq-answer {
    text-align: left;             /* Keep answers easy to read on the left */
    padding: 15px 0 10px 0 !important;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* FAQ SPECIFIC VIDEO SIZE & CENTERING (Desktop) */
.faq-answer .video-wrapper {
    /* 1. Limit the width and center it */
    max-width: 600px !important; 
    margin: 25px auto !important; /* Centers the video with 25px top/bottom gap */
    
    /* 2. Maintain the 16:9 Aspect Ratio Math */
    position: relative;
    padding-bottom: 33.75% !important; /* Ratio adjusted for the 600px width limit */
    height: 0;
    overflow: hidden;

 	border: 3px solid #d98411; /* Your signature Madison Orange */
    border-radius: 4px;        /* Clean, slightly rounded corners */
    background-color: #000;    /* Black background to prevent flickering */

    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* Slightly deeper shadow for desktop */
}

/* MOBILE RESPONSIVE RESET */
@media screen and (max-width: 650px) {
    .faq-answer .video-wrapper {
        max-width: 100% !important;
        margin: 15px 0 !important; /* Back to left-aligned and tighter for phones */
        padding-bottom: 56.25% !important; /* Standard 16:9 ratio for full-width mobile */
    }
}
/* Mobile Tweak
@media screen and (max-width: 768px) {
    .faq-section-container, .about-story-container { padding: 0 20px !important; }
    summary.faq-question { font-size: 18px; }
} */

/* Mobile Tweak */
@media screen and (max-width: 768px) {
    .faq-section-container, 
    .about-story-container { 
        padding: 0 20px !important; 
    }

    /* THE FIX: Force questions to stay left-aligned on phones */
    summary.faq-question { 
        font-size: 18px; 
        text-align: left !important; 
        justify-content: space-between !important;
        display: flex !important;
    }

    /* Optional: Ensure the answer text also stays left */
    .faq-answer {
        text-align: left !important;
    }
}
