:root {
    --faq-fallback-color: #007cba;
}

.faq-plugin-wrapper {
    font-family: inherit;
    color: inherit;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.faq-plugin-wrapper .wpfaqblock-accordion,
.faq-plugin-wrapper .wpfaqblock-t2 {
    max-width: 600px;
    width: 100%;
    margin-bottom: 25px;
}

/* --- TEMPLATE 1 --- */
.faq-plugin-wrapper .wpfaqblock-theme-1 .wpfaqblock-items-list {
    border: 1px solid var(--faq-border, currentColor);
    border-radius: 10px;
    overflow: hidden;
    background: var(--faq-bg, transparent);
}

.faq-plugin-wrapper .wpfaqblock-theme-1 .wpfaqblock-accordion-item {
    border-top: 1px solid var(--faq-border, currentColor);
    width: 100%;
}

.faq-plugin-wrapper .wpfaqblock-theme-1 .wpfaqblock-accordion-item:first-child {
    border-top: none;
}

.faq-plugin-wrapper .wpfaqblock-theme-1 .accordion-title {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
    color: var(--faq-text, inherit);
}

.faq-plugin-wrapper .wpfaqblock-theme-1 .accordion-title:hover {
    background: rgba(128, 128, 128, 0.05);
}

.faq-plugin-wrapper .wpfaqblock-theme-1 .accordion-title h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: inherit;
}

.faq-plugin-wrapper .wpfaqblock-theme-1 .accordion-content {
    padding: 0 24px 20px;
    color: var(--faq-text, inherit);
    opacity: 0.85;
    font-size: 0.95rem;
}

/* --- TEMPLATE 2 --- */
.faq-plugin-wrapper .wpfaqblock-theme-2 .wpfaqblock-t2-item {
    border: 1px solid var(--faq-border, currentColor);
    border-radius: 14px;
    background: var(--faq-bg, transparent);
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-plugin-wrapper .wpfaqblock-theme-2 .wpfaqblock-t2-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-plugin-wrapper .wpfaqblock-theme-2 .wpfaqblock-t2-item-open {
    border-color: var(--faq-border, currentColor);
}

.faq-plugin-wrapper .wpfaqblock-theme-2 .wpfaqblock-t2-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    cursor: pointer;
}

.faq-plugin-wrapper .wpfaqblock-theme-2 .wpfaqblock-t2-question span {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--faq-text, inherit);
}

.faq-plugin-wrapper .wpfaqblock-theme-2 .wpfaqblock-t2-answer {
    padding: 0 26px 22px;
    color: var(--faq-text, inherit);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* --- GLOBAL FALLBACKS --- */
:root {
    --faq-fallback-color: var(--wp--preset--color--primary, var(--ast-global-color-0, var(--global-color-1, var(--ocean-default-color, currentColor))));
}

.faq-plugin-wrapper .wpfaqblock-svg-icon {
    width: 20px;
    height: 20px;
    color: var(--faq-primary, var(--faq-fallback-color));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    opacity: 0.7;
}

.faq-plugin-wrapper .open .wpfaqblock-svg-icon,
.faq-plugin-wrapper .wpfaqblock-t2-question-open .wpfaqblock-svg-icon {
    transform: rotate(180deg);
    opacity: 1;
}

.faq-plugin-wrapper .wpfaqblock-custom-icons {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-plugin-wrapper .wpfaqblock-custom-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.faq-plugin-wrapper .wpfaqblock-custom-icon--open {
    display: none;
}

.faq-plugin-wrapper .open .wpfaqblock-custom-icon--closed,
.faq-plugin-wrapper .wpfaqblock-t2-question-open .wpfaqblock-custom-icon--closed,
.faq-plugin-wrapper .wpfaqblock-t3-item-open .wpfaqblock-custom-icon--closed,
.faq-plugin-wrapper .wpfaqblock-t4-item-open .wpfaqblock-custom-icon--closed,
.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-custom-icon--closed,
.faq-plugin-wrapper .wpfaqblock-t6-item-open .wpfaqblock-custom-icon--closed,
.faq-plugin-wrapper .wpfaqblock-t7-item-open .wpfaqblock-custom-icon--closed {
    display: none;
}

.faq-plugin-wrapper .open .wpfaqblock-custom-icon--open,
.faq-plugin-wrapper .wpfaqblock-t2-question-open .wpfaqblock-custom-icon--open,
.faq-plugin-wrapper .wpfaqblock-t3-item-open .wpfaqblock-custom-icon--open,
.faq-plugin-wrapper .wpfaqblock-t4-item-open .wpfaqblock-custom-icon--open,
.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-custom-icon--open,
.faq-plugin-wrapper .wpfaqblock-t6-item-open .wpfaqblock-custom-icon--open,
.faq-plugin-wrapper .wpfaqblock-t7-item-open .wpfaqblock-custom-icon--open {
    display: block;
}

/* Circle Dual-SVG toggle for T1 and T2 */
.faq-plugin-wrapper .wpfaqblock-circle-icon-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    color: var(--faq-primary, var(--faq-fallback-color));
    transition: opacity 0.2s ease, color 0.2s ease;
}

.faq-plugin-wrapper .wpfaqblock-circle-minus {
    display: none;
}

.faq-plugin-wrapper .wpfaqblock-circle-plus {
    display: block;
}

.faq-plugin-wrapper .open .wpfaqblock-circle-minus,
.faq-plugin-wrapper .wpfaqblock-t2-question-open .wpfaqblock-circle-minus,
.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-circle-minus {
    display: block;
}

.faq-plugin-wrapper .open .wpfaqblock-circle-plus,
.faq-plugin-wrapper .wpfaqblock-t2-question-open .wpfaqblock-circle-plus,
.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-circle-plus {
    display: none;
}

.faq-plugin-wrapper .open .wpfaqblock-circle-icon-wrapper,
.faq-plugin-wrapper .wpfaqblock-t2-question-open .wpfaqblock-circle-icon-wrapper {
    opacity: 1;
}

/* --- SEARCH BARS --- */
.faq-plugin-wrapper .search-form,
.faq-plugin-wrapper .wpfaqblock-t2-search {
    margin-bottom: 35px;
    max-width: 600px;
    width: 100%;
}

/* Template 1 Search */
.faq-plugin-wrapper .input-group {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--faq-border, currentColor);
    padding: 5px 0;
    transition: border-color 0.3s;
}

.faq-plugin-wrapper .input-group:focus-within {
    border-color: var(--wp--preset--color--primary, currentColor);
}

body .faq-plugin-wrapper input[type="text"].input-text,
body .faq-plugin-wrapper input[type="text"].wpfaqblock-t2-search-input {
    flex: 1;
    border: none;
    outline: none;
    box-shadow: none;
    font-size: 1rem;
    color: var(--faq-text, inherit);
    background: transparent;
    height: 44px;
    padding: 0;
    margin: 0;
}

body .faq-plugin-wrapper input[type="text"].input-text:focus,
body .faq-plugin-wrapper input[type="text"].wpfaqblock-t2-search-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

.faq-plugin-wrapper .search-btn {
    background: transparent;
    color: var(--faq-primary, currentColor);
    border: none;
    padding: 0 5px 0 20px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.faq-plugin-wrapper .search-btn:hover {
    opacity: 0.5;
}

/* Template 2 Search  */
.faq-plugin-wrapper form.wpfaqblock-t2-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--faq-border, currentColor);
    border-radius: 60px;
    padding: 6px 8px;
    background: var(--faq-bg, transparent);
}

body .faq-plugin-wrapper input[type="text"].wpfaqblock-t2-search-input {
    padding: 0 22px;
}

.faq-plugin-wrapper .wpfaqblock-t2-search-btn {
    background: var(--faq-primary, #222);
    color: #fff;
    border: 1px solid var(--faq-primary, var(--faq-fallback-color));
    border-radius: 50px;
    padding: 0 28px;
    cursor: pointer;
    font-weight: 600;
    height: 44px;
    transition: all 0.3s ease;
}

.faq-plugin-wrapper .wpfaqblock-t2-search-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.faq-plugin-wrapper .accordion-title:before {
    display: none;
}

/* --- TEMPLATE 3 --- */

/* Container */
.faq-plugin-wrapper .wpfaqblock-t3 {
    max-width: 900px;
    width: 100%;
    margin-bottom: 25px;
}

/* Title */
.faq-plugin-wrapper .wpfaqblock-t3-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 50px 0;
    color: var(--faq-text, inherit);
}

/* Search Bar */
.faq-plugin-wrapper .wpfaqblock-t3-search {
    margin-bottom: 30px;
    max-width: 600px;
}

.faq-plugin-wrapper .wpfaqblock-t3-search-inner {
    display: flex;
    border: 1px solid var(--faq-border, currentColor);
    border-radius: 6px;
    overflow: hidden;
}

body .faq-plugin-wrapper input[type="text"].wpfaqblock-t3-search-input {
    flex: 1;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: var(--faq-text, inherit);
    font-size: 0.95rem;
    height: 44px;
    padding: 0 16px;
    margin: 0;
}

body .faq-plugin-wrapper input[type="text"].wpfaqblock-t3-search-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

.faq-plugin-wrapper .wpfaqblock-t3-search-btn {
    background: var(--faq-primary, #222);
    color: #fff;
    border: none;
    padding: 0 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    height: 44px;
    transition: opacity 0.2s ease;
}

.faq-plugin-wrapper .wpfaqblock-t3-search-btn:hover {
    opacity: 0.85;
}

/* FAQ List */
.faq-plugin-wrapper .wpfaqblock-t3-list {
    width: 100%;
}

/* Each item */
.faq-plugin-wrapper .wpfaqblock-t3-item {
    border-bottom: 1px solid var(--faq-border, currentColor);
    width: 100%;
}

.faq-plugin-wrapper .wpfaqblock-t3-item.wpfaqblock-t3-item-open {
    border-bottom: none;
}

/* Question row */
.faq-plugin-wrapper .wpfaqblock-t3-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 30px 10px 0;
    cursor: pointer;
    gap: 20px;
}

.faq-plugin-wrapper .wpfaqblock-t3-question span {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--faq-text, inherit);
    flex: 1;
}

/* Circle +/- Icon */
.faq-plugin-wrapper .wpfaqblock-t3-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faq-primary, var(--faq-fallback-color));
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.faq-plugin-wrapper .wpfaqblock-t3-question:hover .wpfaqblock-t3-icon {
    opacity: 1;
}

/* Show minus when open, plus when closed */
.faq-plugin-wrapper .wpfaqblock-t3-icon .wpfaqblock-t3-icon-minus {
    display: none;
}

.faq-plugin-wrapper .wpfaqblock-t3-icon .wpfaqblock-t3-icon-plus {
    display: block;
}

.faq-plugin-wrapper .wpfaqblock-t3-item-open .wpfaqblock-t3-icon .wpfaqblock-t3-icon-minus {
    display: block;
}

.faq-plugin-wrapper .wpfaqblock-t3-item-open .wpfaqblock-t3-icon .wpfaqblock-t3-icon-plus {
    display: none;
}

/* Answer */
.faq-plugin-wrapper .wpfaqblock-t3-answer {
    padding: 0 0 10px 0;
    color: var(--faq-text, inherit);
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.85;
}

.faq-plugin-wrapper .wpfaqblock-t3-answer p:last-child {
    margin-bottom: 0;
}

/* No results */
.faq-plugin-wrapper .wpfaqblock-t3-noresults {
    color: var(--faq-text, inherit);
    opacity: 0.6;
    padding: 20px 0;
}

/* --- TEMPLATE 4 --- */

.faq-plugin-wrapper .wpfaqblock-t4 {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 30px auto;
    background: var(--faq-bg, #fff);
    border: 1px solid var(--faq-border, #eaeaea);
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.faq-plugin-wrapper .wpfaqblock-t4-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 0 auto 40px auto;
    color: var(--faq-text, inherit);
    display: block;
    width: 100%;
}

/* Search Bar */
.faq-plugin-wrapper .wpfaqblock-t4-search {
    margin-bottom: 30px;
    max-width: 600px;
}

.faq-plugin-wrapper .wpfaqblock-t4-search-inner {
    display: flex;
    border-bottom: 2px solid var(--faq-border, #eaeaea);
}

body .faq-plugin-wrapper input[type="text"].wpfaqblock-t4-search-input {
    flex: 1;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: var(--faq-text, inherit);
    font-size: 1rem;
    height: 48px;
    padding: 0 16px 0 0;
}

.faq-plugin-wrapper .wpfaqblock-t4-search-btn {
    background: transparent;
    color: var(--faq-primary, var(--faq-fallback-color));
    border: none;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
}

/* FAQ List */
.faq-plugin-wrapper .wpfaqblock-t4-list {
    width: 100%;
}

/* Each item */
.faq-plugin-wrapper .wpfaqblock-t4-item {
    border-bottom: 1px solid var(--faq-border, #eaeaea);
    width: 100%;
}

.faq-plugin-wrapper .wpfaqblock-t4-item:last-child {
    border-bottom: none;
}

/* Question row */
.faq-plugin-wrapper .wpfaqblock-t4-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    gap: 20px;
}

.faq-plugin-wrapper .wpfaqblock-t4-question span {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--faq-text, inherit);
    flex: 1;
    transition: color 0.2s ease;
}

.faq-plugin-wrapper .wpfaqblock-t4-item-open .wpfaqblock-t4-question span {
    color: var(--faq-primary, var(--faq-fallback-color));
}

/* Icon container */
.faq-plugin-wrapper .wpfaqblock-t4-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f5f7;
    color: #555;
    transition: all 0.3s ease;
}

.faq-plugin-wrapper .wpfaqblock-t4-item-open .wpfaqblock-t4-icon {
    background: var(--faq-primary, var(--faq-fallback-color));
    color: #fff;
}

/* Icon SVGs */
.faq-plugin-wrapper .wpfaqblock-t4-icon svg {
    width: 18px;
    height: 18px;
}

.faq-plugin-wrapper .wpfaqblock-t4-icon .wpfaqblock-t4-icon-minus {
    display: none;
}

.faq-plugin-wrapper .wpfaqblock-t4-icon .wpfaqblock-t4-icon-plus {
    display: block;
}

.faq-plugin-wrapper .wpfaqblock-t4-item-open .wpfaqblock-t4-icon .wpfaqblock-t4-icon-minus {
    display: block;
}

.faq-plugin-wrapper .wpfaqblock-t4-item-open .wpfaqblock-t4-icon .wpfaqblock-t4-icon-plus {
    display: none;
}

/* Answer */
.faq-plugin-wrapper .wpfaqblock-t4-answer {
    padding: 0 40px 24px 0;
    color: var(--faq-text, #444);
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 1;
}

.faq-plugin-wrapper .wpfaqblock-t4-answer p:last-child {
    margin-bottom: 0;
}

/* No results */
.faq-plugin-wrapper .wpfaqblock-t4-noresults {
    color: var(--faq-text, inherit);
    text-align: center;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-plugin-wrapper .wpfaqblock-t4 {
        padding: 24px 20px;
    }

    .faq-plugin-wrapper .wpfaqblock-t4-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .faq-plugin-wrapper .wpfaqblock-t4-question {
        padding: 20px 0;
    }

    .faq-plugin-wrapper .wpfaqblock-t4-question span {
        font-size: 1.1rem;
    }

    .faq-plugin-wrapper .wpfaqblock-t4-answer {
        padding: 0 0 20px 0;
        font-size: 0.95rem;
    }
}

/* --- TEMPLATE 5 --- */
.faq-plugin-wrapper .wpfaqblock-t5 {
    max-width: 860px;
    margin-bottom: 25px;
    font-family: inherit;
}

.faq-plugin-wrapper .wpfaqblock-t5-title {
    text-align: left;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--faq-text, inherit);
    display: block;
    width: 100%;
}

/* Search Bar */
.faq-plugin-wrapper .wpfaqblock-t5-search {
    margin-bottom: 30px;
    max-width: 600px;
}

.faq-plugin-wrapper .wpfaqblock-t5-search-inner {
    display: flex;
    border: 1px solid var(--faq-border, currentColor);
    border-radius: 60px;
    overflow: hidden;
    background: var(--faq-bg, transparent);
}

body .faq-plugin-wrapper input[type="text"].wpfaqblock-t5-search-input {
    flex: 1;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: var(--faq-text, inherit);
    font-size: 1rem;
    height: 48px;
    padding: 0 24px;
    margin: 0;
}

body .faq-plugin-wrapper input[type="text"].wpfaqblock-t5-search-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

.faq-plugin-wrapper .wpfaqblock-t5-search-btn {
    background: var(--faq-primary, var(--faq-fallback-color));
    color: #fff;
    border: none;
    padding: 0 28px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    height: 48px;
    transition: opacity 0.2s ease;
}

.faq-plugin-wrapper .wpfaqblock-t5-search-btn:hover {
    opacity: 0.85;
}

/* Each card */
.faq-plugin-wrapper .wpfaqblock-t5-item {
    background: var(--faq-bg, transparent);
    border-radius: 20px;
    margin-bottom: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--faq-border, currentColor);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-plugin-wrapper .wpfaqblock-t5-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Question row */
.faq-plugin-wrapper .wpfaqblock-t5-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    cursor: pointer;
    gap: 16px;
}

/* Question text — CLOSED state */
.faq-plugin-wrapper .wpfaqblock-t5-question span {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--faq-text, inherit);
    flex: 1;
    transition: color 0.2s ease;
}

/* Question text — OPEN state: primary */
.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-t5-question span {
    color: var(--faq-primary, var(--faq-fallback-color));
}

/* Icon button container */
.faq-plugin-wrapper .wpfaqblock-t5-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    background: transparent;
    color: var(--faq-text, inherit);
}

.faq-plugin-wrapper .wpfaqblock-t5-icon.is-icon-plus,
.faq-plugin-wrapper .wpfaqblock-t5-icon.is-icon-circle,
.faq-plugin-wrapper .wpfaqblock-t5-icon.is-icon-default {
    border: 2px solid var(--faq-border, currentColor);
}

.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-t5-icon.is-icon-plus,
.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-t5-icon.is-icon-circle,
.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-t5-icon.is-icon-default {
    background: var(--faq-primary, var(--faq-fallback-color));
    border-color: var(--faq-primary, var(--faq-fallback-color));
    color: #ffffff;
}

.faq-plugin-wrapper .wpfaqblock-t5-icon svg {
    color: inherit;
    stroke: currentColor;
    fill: none;
    transition: transform 0.3s ease;
}

.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-t5-icon .wpfaqblock-svg-icon {
    transform: rotate(180deg);
}

/* Show/Hide logic */
.faq-plugin-wrapper .wpfaqblock-t5-icon svg.wpfaqblock-t5-icon-minus {
    display: none;
}

.faq-plugin-wrapper .wpfaqblock-t5-icon svg.wpfaqblock-t5-icon-plus {
    display: block;
}

.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-t5-icon svg.wpfaqblock-t5-icon-plus {
    display: none;
}

.faq-plugin-wrapper .wpfaqblock-t5-item-open .wpfaqblock-t5-icon svg.wpfaqblock-t5-icon-minus {
    display: block;
}

/* Answer area */
.faq-plugin-wrapper .wpfaqblock-t5-answer {
    padding: 4px 24px 22px 24px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--faq-text, inherit);
    opacity: 0.85;
}

.faq-plugin-wrapper .wpfaqblock-t5-answer p:last-child {
    margin-bottom: 0;
}

/* No results */
.faq-plugin-wrapper .wpfaqblock-t5-noresults {
    text-align: center;
    color: var(--faq-text, inherit);
    opacity: 0.6;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-plugin-wrapper .wpfaqblock-t5-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .faq-plugin-wrapper .wpfaqblock-t5-question {
        padding: 18px 18px;
    }

    .faq-plugin-wrapper .wpfaqblock-t5-question span {
        font-size: 0.97rem;
    }

    .faq-plugin-wrapper .wpfaqblock-t5-answer {
        padding: 4px 18px 18px 18px;
    }
}

/* ────────────
   TEMPLATE 6 
   ────────────*/
.faq-plugin-wrapper .wpfaqblock-t6-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    --faq-t6-primary: var(--faq-primary, #0a8fb3);
}

.faq-plugin-wrapper .wpfaqblock-t6-title {
    padding: 24px 24px 12px 24px;
    margin: 0;
    font-size: 1.5rem;
    color: #1e293b;
}

.faq-plugin-wrapper .wpfaqblock-t6-list {
    display: flex;
    flex-direction: column;
}

.faq-plugin-wrapper .wpfaqblock-t6-divider {
    border: 0;
    border-top: 1px solid #edf2f7;
    margin: 0 20px;
    width: auto;
}

.faq-plugin-wrapper .wpfaqblock-t6-item {
    padding: 0 36px;
    transition: all 0.2s ease;
}

.faq-plugin-wrapper .wpfaqblock-t6-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 20px 0;
}

.faq-plugin-wrapper .wpfaqblock-t6-question h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.4;
    flex: 1;
    padding-right: 15px;
}

/* Icon Button */
.faq-plugin-wrapper .wpfaqblock-t6-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #3b82f6;
    padding: 0;
    cursor: pointer;
    pointer-events: none;
    transition: all 0.3s ease;
}

.faq-plugin-wrapper .wpfaqblock-t6-btn svg {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
}

/* Open State Styling */
.faq-plugin-wrapper .wpfaqblock-t6-item-open {
    background: #ffffff;
}

.faq-plugin-wrapper .wpfaqblock-t6-item-open .wpfaqblock-t6-btn {
    background: var(--faq-t6-primary);
    background: linear-gradient(135deg, var(--faq-t6-primary) 0%, rgba(0, 0, 0, 0.1) 100%), var(--faq-t6-primary);
    border-color: rgba(0, 0, 0, 0.1);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-plugin-wrapper .wpfaqblock-t6-item-open .wpfaqblock-t6-btn svg {
    transform: rotate(90deg);
    stroke: #ffffff;
}

.faq-plugin-wrapper .wpfaqblock-t6-answer {
    padding: 0 0 20px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

/* --- TEMPLATE 7 --- */
.faq-plugin-wrapper .wpfaqblock-t7-wrapper {
    background: var(--faq-primary, rgba(17, 34, 34, 0.85));
    background: linear-gradient(135deg, var(--faq-primary, rgba(17, 34, 34, 0.8)) 0%, color-mix(in srgb, var(--faq-primary, rgba(17, 34, 34, 1)) 60%, rgba(0, 0, 0, 0.8)) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 40px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.faq-plugin-wrapper .wpfaqblock-t7-title {
    padding: 0 0 24px 0;
    margin: 0;
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
}

.faq-plugin-wrapper .wpfaqblock-t7-search-form {
    margin-bottom: 30px;
}

.faq-plugin-wrapper .wpfaqblock-t7-list {
    display: flex;
    flex-direction: column;
}

.faq-plugin-wrapper .wpfaqblock-t7-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.faq-plugin-wrapper .wpfaqblock-t7-item:last-child {
    border-bottom: none;
}

.faq-plugin-wrapper .wpfaqblock-t7-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 24px 0;
}

.faq-plugin-wrapper .wpfaqblock-t7-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-plugin-wrapper .wpfaqblock-t7-btn {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 0;
    cursor: pointer;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-plugin-wrapper .wpfaqblock-t7-icon-minus {
    display: none;
}

.faq-plugin-wrapper .wpfaqblock-t7-item-open .wpfaqblock-t7-icon-plus {
    display: none;
}

.faq-plugin-wrapper .wpfaqblock-t7-item-open .wpfaqblock-t7-icon-minus {
    display: block;
}

.faq-plugin-wrapper .wpfaqblock-t7-answer {
    padding: 0 0 24px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}
