/* ── DUK (FAQ) Widget ─────────────────────────────── */

.plunksna-faq {
    width: 100%;
    max-width: 100%;
}

.plunksna-faq--two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    align-items: start;
}

.plunksna-faq__column {
    min-width: 0;
}

/* ── Item ──────────────────────────────────────────── */
.plunksna-faq__item {
    border-bottom: 1px solid #e2e5e9;
    padding: 20px 0;
    width: 100%;
    max-width: 100%;
    background: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plunksna-faq__item:first-child {
    padding-top: 0;
}

.plunksna-faq__item:last-child {
    border-bottom: none;
}

/* ── Header (button) ──────────────────────────────── */
.plunksna-faq__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 16px;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    transition: background-color 0.2s ease;
}

.plunksna-faq__header:focus-visible {
    outline: 2px solid #b79b63;
    outline-offset: 4px;
    border-radius: 4px;
}

/* ── Question ──────────────────────────────────────── */
.plunksna-faq__question {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: #2b4f73;
    transition: color 0.2s ease;
}

/* ── Icon ──────────────────────────────────────────── */
.plunksna-faq__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b4f73;
    transition: transform 0.3s ease, color 0.2s ease;
}

.plunksna-faq__icon svg {
    width: 20px;
    height: 20px;
}

.plunksna-faq__item.is-open .plunksna-faq__icon {
    transform: rotate(180deg);
    color: #b79b63;
}

/* ── Body / Answer ─────────────────────────────────── */
.plunksna-faq__body {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
}

.plunksna-faq__body[hidden] {
    display: block !important;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.plunksna-faq__item.is-open .plunksna-faq__body {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
}

.plunksna-faq__answer {
    padding-top: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    width: 100%;
    max-width: 100%;
}

.plunksna-faq__answer p {
    margin: 0 0 10px;
}

.plunksna-faq__answer p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 767px) {
    .plunksna-faq--two-columns {
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
    }

    .plunksna-faq__question {
        font-size: 15px;
    }

    .plunksna-faq__answer {
        font-size: 14px;
    }
}
