/* ==========================================================================
   FAQ ACCORDION HUB STYLE ENGINE
   ========================================================================== */


/* Main Page Structural Wrapper */

.faq-page-layout {
    background-color: #ffffff;
    /* Clean white canvas background */
    padding: 160px 24px 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.faq-split-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}


/* Left Column Styling */

.faq-sticky-sidebar {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
}

.category-meta {
    font-size: 11px;
    font-weight: 700;
    color: #FFB300;
    /* Vibrant Gold Accent */
    letter-spacing: 0.25em;
    display: block;
    padding-top: 24px;
    /* Clean breathing room pushed down */
    margin-bottom: 4px;
}

.faq-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #FFB300;
    /* Styled over to Vibrant Gold */
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 16px 0 24px 0;
}

.faq-sidebar-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #000000;
    /* Swapped to clean black */
    margin-bottom: 32px;
}


/* Sidebar Logistics Visual Image Box Component */

.faq-sidebar-visual-card {
    width: 100%;
    height: 190px;
    background-color: #f9f9fb;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    box-sizing: border-box;
}

.sidebar-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-sidebar-visual-card:hover .sidebar-img {
    transform: scale(1.05);
}


/* White linear gradient masking overlay for high readability */

.sidebar-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 20%, rgba(255, 255, 255, 0.15) 100%);
}

.img-badge {
    position: relative;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #FFB300;
    text-transform: uppercase;
    border-left: 2px solid #FFB300;
    padding-left: 10px;
}


/* Inline Interactive Call-to-action */

.faq-inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFB300;
    /* Vibrant Gold link */
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-inline-cta:hover {
    transform: translateX(3px);
    color: #e5a100;
}


/* Right Column Accordion Framework */

.faq-accordion-stack {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Updated dark borders for light canvas */
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    color: #000000;
    /* Keep baseline title text black */
    font-size: 1.25rem;
    font-weight: 700;
    font-family: inherit;
    gap: 20px;
    transition: color 0.2s ease;
}

.accordion-trigger:hover {
    color: #FFB300;
    /* Gold shift on hover */
}


/* Custom Interactive Plus/Minus Icon */

.accordion-cross {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.accordion-cross::before,
.accordion-cross::after {
    content: '';
    position: absolute;
    background-color: #FFB300;
    /* Icon cross lines mapped to Gold */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Horizontal Line */

.accordion-cross::before {
    top: 7px;
    left: 0;
    width: 100%;
    height: 2px;
}


/* Vertical Line */

.accordion-cross::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 100%;
}

.accordion-item.active .accordion-cross::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-item.active .accordion-cross::before {
    transform: rotate(180deg);
}


/* Smooth Accordion Panels */

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-panel {
    max-height: 300px;
    /* Adjust if manual overflow threshold reached */
}

.panel-inner-content {
    padding-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #000000;
    /* Text reads out in clean solid black */
}


/* Sidebar Contact Channel Additions */

.sidebar-contact-channels {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 32px;
}

.contact-channel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
    /* Channels remain black text */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    width: fit-content;
    transition: color 0.2s ease;
}

.contact-channel-item:hover {
    color: #FFB300;
    /* Subtle golden shift on hover */
}

.channel-icon {
    color: #FFB300;
    /* Icon channels in gold */
    opacity: 0.9;
    transition: transform 0.2s ease;
}

.contact-channel-item:hover .channel-icon {
    transform: scale(1.05);
    opacity: 1;
}


/* --- RESPONSIVE MEDIA ADAPTATION --- */

@media (max-width: 1024px) {
    .faq-page-layout {
        padding: 100px 24px 60px 24px;
    }
    .faq-split-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .faq-sticky-sidebar {
        position: relative;
        top: 0;
    }
    .faq-main-title {
        font-size: 2.5rem;
    }
    .faq-sidebar-visual-card {
        height: 240px;
        /* Expands nicely across wider tablet formats */
    }
}

@media (max-width: 768px) {
    .accordion-trigger {
        font-size: 1.1rem;
        padding: 24px 0;
    }
}