/* Cinematic FAQ Widget Styles - Strict Mobile Containment */
:root {
    --toonz-amber: #E87722;
    --toonz-amber-soft: rgba(232, 119, 34, 0.1);
    --toonz-text-dark: #1a1a1a;
    --toonz-text-light: #666666;
    --cf-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cinematic-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
    padding: 30px 15px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Left Section */
.cf-left {
    flex: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.cf-title-wrap {
    margin-bottom: 25px;
    width: 100%;
}

.cf-eyebrow {
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 5px;
    color: var(--toonz-text-dark);
}

.cf-main-title {
    font-family: inherit;
    font-weight: 800;
    font-size: clamp(32px, 8vw, 42px);
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--toonz-text-dark);
    margin: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    word-break: break-word;
    max-width: 100%;
}

.cf-dot {
    width: 10px;
    height: 10px;
    background-color: var(--toonz-amber);
    display: inline-block;
    border-radius: 50%;
    margin-left: 6px;
    flex-shrink: 0;
}

/* FAQ List */
.cf-faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cf-faq-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cf-icon-column {
    flex: 0 0 40px;
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 2px;
}

.cf-icon-circle {
    width: 40px;
    height: 40px;
    background: #f6f0e4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    border: 1px solid #e67525 !important;
    box-sizing: border-box;
    flex-shrink: 0;
}

.cf-icon-circle img.cf-custom-icon,
.cf-icon-circle i,
.cf-icon-circle svg {
    width: 20px;
    height: 20px;
    font-size: 16px;
    object-fit: contain;
    color: var(--toonz-amber);
}

.cf-line-wrap {
    display: none !important;
}

/* Content Area */
.cf-content {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 52px);
    padding-top: 2px;
    padding-left: 0 !important;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.cf-question-btn {
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--toonz-text-dark);
    margin-bottom: 6px;
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
}

.cf-answer-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.cf-faq-item.is-active .cf-answer-wrap {
    max-height: 500px;
}

.cf-answer-inner {
    font-size: 13px;
    line-height: 1.5;
    color: var(--toonz-text-light);
    padding-bottom: 10px;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Right Section - Single Image */
.cf-right {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 250px;
    box-sizing: border-box;
}

.cf-image-container {
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: 16px;
    position: relative;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden;
    box-sizing: border-box;
}

.cf-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cf-dots {
    display: none;
}

/* DESKTOP VIEWPORT STYLES */
@media (min-width: 1024px) {
    .cinematic-faq-wrapper {
        flex-direction: row;
        gap: 80px;
        padding: 100px 40px;
        max-width: 1400px;
    }

    .cf-left {
        flex: 0.8;
    }

    .cf-right {
        flex: 1;
        min-height: 600px;
    }

    .cf-image-container {
        min-height: 600px;
        border-radius: 30px;
    }

    .cf-eyebrow {
        font-size: 32px;
    }

    .cf-main-title {
        font-size: 80px;
    }

    .cf-dot {
        width: 20px;
        height: 20px;
        margin-left: 10px;
    }

    .cf-faq-list {
        gap: 0px;
    }

    .cf-icon-column {
        flex: 0 0 60px;
        width: 60px;
        padding-top: 10px;
    }

    .cf-icon-circle {
        width: 60px;
        height: 60px;
    }

    .cf-icon-circle img.cf-custom-icon,
    .cf-icon-circle i,
    .cf-icon-circle svg {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .cf-line-wrap {
        display: flex !important;
        align-items: center;
        position: absolute;
        left: 60px;
        top: 40px;
        width: 70px;
        pointer-events: none;
    }

    .cf-icon-line {
        flex: 1;
        height: 1px;
        background: #e67525;
        opacity: 0.6;
    }

    .cf-icon-dot {
        width: 6px;
        height: 6px;
        background: #e67525;
        border-radius: 50%;
        margin-left: -2px;
    }

    .cf-content {
        max-width: none;
        padding-top: 25px;
        padding-left: 80px !important;
    }

    .cf-question-btn {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .cf-answer-inner {
        font-size: 15px;
        padding-bottom: 20px;
    }

    .cf-dots {
        display: block;
        position: absolute;
        bottom: -40px;
        left: -40px;
        width: 100px;
        height: 100px;
        background-image: radial-gradient(#d1d1d1 1.5px, transparent 0);
        background-size: 10px 10px;
        z-index: -1;
    }
}