/* =========================================
   1. HERO SECTION (Standardized)
   ========================================= */
.hero-section {
    height: 400px;
    background-size: cover;
    background-position: 50% 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    padding-top: 100px;
    min-height: auto;
}
.overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.5); 
}
.hero-section-content{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1600px;
}
.hero-section h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    margin: 0;
    white-space: nowrap;
}
.divider-line {
    width: 100%;
    height: 1px;
    background: rgb(255 255 255 /50%);
}
.relative-z { position: relative; z-index: 2; }
@media (max-width: 1024px) {
    .hero-section {
     height: 345px;
    }
}
/* =========================================
   2. FAQ PAGE LAYOUT
   ========================================= */
.faqs-page {
    font-family: "Lato", sans-serif;
    color: #000;
    background-color: #fff;
}

.faqs-content-section {
    padding: 60px 0;
    background-image: url('/wp-content/uploads/2025/08/image-14.webp'); /* Background pattern */
    background-size: cover;
    background-attachment: fixed;
}

.faqs-content-section .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px; /* Matched to source padding */
}

/* =========================================
   3. CUSTOM ACCORDION STYLES (Replicating Source)
   ========================================= */
.custom-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: linear-gradient(90deg, #FFDD01 0%, #DF9C06 60%);
}

.faq-item {
    background-color: transparent;
    /* border-radius: 5px; */
    overflow: hidden;
    /* Subtle border or shadow optional based on "card" look */
}

/* Trigger Button Styling */
.faq-trigger {
    width: 100%;
    text-align: left;
    /* Default background from source: #02010112 (very light gray/transparent black) */
    background-color: rgba(2, 1, 1, 0.07);
    border: none;
    padding: 15px 20px;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    gap: 15px;
    line-height: 1.4;
}

.faq-trigger:focus-visible {
    outline: none;
}
.faq-trigger:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.faq-title {
    flex-grow: 1;
}

.faq-icon {
    font-size: 14px;
    color: #000; /* Default icon color */
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

/* --- ACTIVE STATE (The Gold Gradient) --- */
.faq-item.active .faq-trigger {
    /* Gradient from source: linear-gradient(90deg, #FFDD01 0%, #DF9C06 60%) */
    background-color: rgba(2, 1, 1, 0.07); /* Override solid color */
    color: #000;
    border-radius: 0; /* Top corners rounded only */
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* --- CONTENT PANEL --- */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    /* background-color: #fff; */ /* Body background usually white */
    border-radius: 0 0 5px 5px;
}

.faq-body {
    padding: 20px 52px; /* Matched padding from source (.elementskit-card-body) */
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    border: 1px solid rgba(0,0,0,0.05); /* Subtle border for body */
    border-top: none;
}

.faq-body p:last-child {
    margin-bottom: 0;
}

/* =========================================
   4. RESPONSIVE
   ========================================= */
@media (max-width: 767px) {
    /* Hero */
    .hero-section{height: 175px; padding-top: 40px;}
    .hero-section h1{        font-size: 18px;}
    
    /* Content Padding */
    .faqs-content-section .container {
        padding: 0 15px; /* Reduce container padding on mobile */
    }

    /* Accordion Body Padding */
    .faq-body {
        padding: 20px; /* Reduce side padding on mobile */
    }
    
    .faq-trigger {
        font-size: 15px;
        padding: 12px 15px;
    }
}