/* DigiFAQs Plugin Styles — by Vivek Kumar | digigyor.com */

/* ===================== WRAPPER ===================== */
.digifaqs-wrapper {
    box-sizing: border-box;
    padding: 60px;
    width: 100%;
}

/* ===================== INNER (Side by Side) ===================== */
.digifaqs-layout-side-by-side .digifaqs-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 40px;
}

.digifaqs-layout-side-by-side .digifaqs-title {
    font-size: 44px;
    font-weight: 700;
    width: 40%;
    flex-shrink: 0;
    color: #000;
}

.digifaqs-layout-side-by-side .digifaqs-title h2 {
    font-size: 44px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}
 .digifaqs-title h2 {
    text-align: center;
    margin-bottom: 40px;
    margin-bottom: 40px !important;
}
.digifaqs-layout-side-by-side .digifaqs-section {
    flex: 1;
}

/* ===================== FULL WIDTH (Stacked) ===================== */
.digifaqs-layout-full-width .digifaqs-inner {
    display: block;
    padding-bottom: 40px;
}

.digifaqs-layout-full-width .digifaqs-title {
    margin-bottom: 30px;
    color: #000;
}

.digifaqs-layout-full-width .digifaqs-title h2 {
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.digifaqs-layout-full-width .digifaqs-section {
    width: 100%;
}

/* ===================== TWO COLUMNS (6 Left + 6 Right) ===================== */
.digifaqs-layout-two-columns .digifaqs-inner {
    display: block;
    padding-bottom: 40px;
}

.digifaqs-title-full {
    text-align: left;
    margin-bottom: 30px;
    color: #000;
}

.digifaqs-title-full h2 {
    font-size: 44px;
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.digifaqs-columns-wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.digifaqs-col-left,
.digifaqs-col-right {
    flex: 1;
    min-width: 0;
}

/* ===================== TITLE SPAN (Highlighted) ===================== */
.digifaqs-title h2 span,
.digifaqs-title-full h2 span {
    color: #ff5722;
    display: block;
}

/* ===================== ACCORDION QUESTION ===================== */
.digifaqs-item {
    margin-bottom: 10px;
    position: relative;
}

.digifaqs-question {
    background-color: #121212;
    color: #ffffff;
    padding: 14px 50px 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    user-select: none;
    transition: background-color 0.2s ease;
    position: relative;
    line-height: 1.4;
}

.digifaqs-question::after {
    content: '+';
    font-size: 28px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff5722;
    transition: transform 0.25s ease, content 0.1s;
    line-height: 1;
    font-weight: 300;
}

/* Active state */
.digifaqs-item.active .digifaqs-question {
    background-color: #1e1e1e;
    border-radius: 8px 8px 0 0;
}

.digifaqs-item.active .digifaqs-question::after {
    content: '–';
    transform: translateY(-50%) rotate(0deg);
}

/* ===================== PANEL (Answer) ===================== */
.digifaqs-panel {
    background-color: #1e1e1e;
    color: #cccccc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, margin 0.3s ease;
    border-radius: 0 0 8px 8px;
    font-size: 15px;
    line-height: 1.7;
}

.digifaqs-panel-inner {
    padding: 16px 20px;
}

.digifaqs-item.active .digifaqs-panel {
    margin-bottom: 4px;
}

.digifaqs-panel p {
    margin: 0 0 12px 0;
}

.digifaqs-panel p:last-child {
    margin-bottom: 0;
}

/* ===================== RESPONSIVE ===================== */
@media screen and (max-width: 768px) {

    .digifaqs-wrapper {
        padding: 20px 12px;
    }

    /* Side by Side → Stack on mobile */
    .digifaqs-layout-side-by-side .digifaqs-inner {
        display: block;
        padding: 0 12px;
    }

    .digifaqs-layout-side-by-side .digifaqs-title {
        width: 100%;
        margin-bottom: 20px;
    }

    .digifaqs-layout-side-by-side .digifaqs-title h2 {
        font-size: 24px;
    }

    /* Two Columns → Stack on mobile */
    .digifaqs-columns-wrap {
        flex-direction: column;
        gap: 0;
    }

    .digifaqs-col-left,
    .digifaqs-col-right {
        width: 100%;
    }

    /* Full Width title font */
    .digifaqs-layout-full-width .digifaqs-title h2,
    .digifaqs-title-full h2 {
        font-size: 24px;
    }

    .digifaqs-question {
        padding: 10px 40px 10px 14px;
        font-size: 16px;
    }

    .digifaqs-question::after {
        right: 14px;
        font-size: 22px;
    }
}
