/**
 * WholeLife FAQ Plugin Styles
 * Unique identifier: wholelife-fp-faq
 */

/* Main container */
.wholelife-fp-faq-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 20px auto;
    padding: 3rem 2rem;
    align-items: start;
    font-weight: 300;
}

/* Left column */
.wholelife-fp-faq-left-column {
    min-width: 220px;
}

/* Right column */
.wholelife-fp-faq-right-column {
    min-width: 300px;
    border: 0.5px solid #dedee1;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    padding: 0;
}

/* Title */
.wholelife-fp-faq-title {
    font-size: 40px;
    font-weight: 500;
    color: #111;
    margin-bottom: 12px;
    margin-top: 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* Subtitle */
.wholelife-fp-faq-subtitle {
    font-weight: 300;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Button */
.wholelife-fp-faq-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    color: #1a3a8f;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.02em;
    border: 1.5px solid #1a3a8f;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.wholelife-fp-faq-button:hover {
    background-color: #1a3a8f;
    color: #fff;
}

.wholelife-fp-faq-button:visited {
    color: #1a3a8f;
}

.wholelife-fp-faq-button:hover:visited {
    color: #fff;
}

/* FAQ item */
.wholelife-fp-faq-item {
    border-bottom: 0.5px solid #e8e8ea;
    margin-bottom: 0;
}

.wholelife-fp-faq-item:last-child {
    border-bottom: none;
}

/* Question */
.wholelife-fp-faq-question {
    padding: 18px 22px;
    font-weight: 400;
    font-size: 15px;
    color: #222;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.15s;
}

.wholelife-fp-faq-question:hover {
    color: #444;
}

/* Toggle icon — circle with +/− */
.wholelife-fp-faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #1a3a8f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    color: #1a3a8f;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s ease;
    background-color: transparent;
}

.wholelife-fp-faq-item.active .wholelife-fp-faq-toggle {
    background-color: #1a3a8f;
    color: #fff;
    transform: rotate(45deg);
    font-size: 18px;
    line-height: 1;
    width: 28px;
    height: 28px;
}

/* Answer */
.wholelife-fp-faq-answer {
    font-weight: 300;
    padding: 0 22px 18px;
    color: #666;
    line-height: 1.7;
    font-size: 14px;
    display: none;
}

.wholelife-fp-faq-item.active .wholelife-fp-faq-answer {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wholelife-fp-faq-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 1rem;
    }

    .wholelife-fp-faq-title {
        font-size: 28px;
    }

    .wholelife-fp-faq-question {
        padding: 15px 16px;
    }

    .wholelife-fp-faq-answer {
        padding: 0 16px 15px;
    }

    .wholelife-fp-faq-right-column {
        border-radius: 12px;
    }
}
