/* HR FAQ Schema Modern Style */
.hr-faq.hr-faq-modern {
    margin: 2em 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #fff;
}

.hr-faq-modern .hr-faq__item {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.hr-faq-modern .hr-faq__item:last-child {
    border-bottom: none;
}

.hr-faq-modern .hr-faq__q {
    padding: 0.6em 0.8em;
    cursor: pointer;
    position: relative;
    padding-right: 3em;
    transition: all 0.3s ease;
}

.hr-faq-modern .hr-faq__q:hover {
    background-color: #f8f9fa;
}

/* .hr-faq-modern .hr-faq__q::after {
    content: '';
    position: absolute;
    right: 1.5em;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
} */

.hr-faq-modern .hr-faq__q::before {
    content: '+';
    position: absolute;
    right: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
}

.hr-faq-modern .hr-faq__item--active .hr-faq__q::before,
.hr-faq-modern .hr-faq__item[open] .hr-faq__q::before {
    content: '−';
}

.hr-faq-modern .hr-faq__item[open] .hr-faq__q {
    background-color: #f8f9fa;
}

.hr-faq-modern .hr-faq__a {
    padding: 0 1.5em 1.5em;
}

/* Accessibility improvements */
.hr-faq-modern .hr-faq__q:focus {
    outline: none;
}