/**
 * Suffix: 897b7a87
 * Pure CSS structural styling for Property by Nitin FAQ Accordion
 */

.pbn-faq-wrapper {
    width: 100%;
    font-family: inherit;
    box-sizing: border-box;
}

.pbn-faq-header {
    margin-bottom: 30px;
}

.pbn-faq-title {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.pbn-faq-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

/* Accordion Structuring */
.pbn-faq-accordion {
    width: 100%;
}

.pbn-faq-item {
    border-style: solid;
    border-width: 0px;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

/* Option 1: Classic layout with line dividers */
.pbn-faq-layout-classic .pbn-faq-item {
    border-bottom: 1px solid #eaeaea;
}

.pbn-faq-layout-classic .pbn-faq-item:first-child {
    border-top: 1px solid #eaeaea;
}

/* Option 2: Card styling default styles */
.pbn-faq-layout-card .pbn-faq-item {
    border: 1px solid rgba(11, 31, 58, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.pbn-faq-layout-card .pbn-faq-item.is-active {
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.pbn-faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    user-select: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    padding: 16px 0;
}

.pbn-faq-trigger-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.pbn-faq-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pbn-faq-item-icon svg {
    fill: currentColor;
}

.pbn-faq-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 15px;
}

/* Indicators Styling */
.pbn-chevron-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pbn-faq-item.is-active .pbn-chevron-icon {
    transform: rotate(180deg);
}

/* Classic plus minus */
.pbn-indicator-classic-icon {
    position: relative;
    width: 12px;
    height: 12px;
    display: block;
}

.pbn-indicator-classic-icon::before,
.pbn-indicator-classic-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Horizontal line */
.pbn-indicator-classic-icon::before {
    top: 5px;
    left: 0;
    width: 12px;
    height: 1.5px;
}

/* Vertical line */
.pbn-indicator-classic-icon::after {
    top: 0;
    left: 5px;
    width: 1.5px;
    height: 12px;
}

.pbn-faq-item.is-active .pbn-indicator-classic-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* Panel Content Styling - Starts fully closed */
.pbn-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.pbn-faq-answer {
    line-height: 1.6;
    font-size: 15px;
    padding-bottom: 20px;
}

.pbn-faq-answer p {
    margin: 0 0 10px 0;
}

.pbn-faq-answer p:last-child {
    margin: 0;
}
