/* Sección FAQs — grid Bootstrap 4; modales sin overrides */

.nuestrasfaqs-content {
    margin: 4rem 0;
}

.nuestrasfaqs-content .titulo-faqs {
    font-size: 1.75rem;
    font-weight: 700;
}

.nuestrasfaqs-content .nuestrasfaqs-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.nuestrasfaqs-content .nuestrasfaqs-search {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 3rem;
    padding: 0.5rem 1.25rem;
    background-color: #f4f6f8;
    border: 1px solid transparent;
    border-radius: 2rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nuestrasfaqs-content .nuestrasfaqs-search:focus-within {
    background-color: #fff;
    border-color: #dce2e5;
    box-shadow: 0 0.25rem 0.75rem rgba(20, 24, 28, 0.08);
}

.nuestrasfaqs-content .nuestrasfaqs-search-icon {
    flex-shrink: 0;
    margin-right: 0.625rem;
    font-size: 1.375rem;
    line-height: 1;
    color: #6c757d;
    user-select: none;
}

.nuestrasfaqs-content .nuestrasfaqs-search:focus-within .nuestrasfaqs-search-icon {
    color: #14181c;
}

.nuestrasfaqs-content .nuestrasfaqs-search .search-faqs {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #14181c;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
}

.nuestrasfaqs-content .nuestrasfaqs-search .search-faqs::placeholder {
    color: #8a9399;
    opacity: 1;
}

.nuestrasfaqs-content .nuestrasfaqs-search .search-faqs::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.nuestrasfaqs-content .faq-col.is-hidden {
    display: none !important;
}

/* Solo tarjetas de pregunta en el grid; la modal de respuesta no se toca */
.nuestrasfaqs-content .nuestrasfaqs-grid .faq-card.card {
    width: 100%;
    border: none;
    background: transparent;
    background-color: transparent;
    border-radius: 0.5rem;
    box-shadow: none;
}

.nuestrasfaqs-content .nuestrasfaqs-grid .faq-card .card-body,
.nuestrasfaqs-content .nuestrasfaqs-grid .faq-card .card-footer {
    background: transparent;
    background-color: transparent;
    border: none;
}

.nuestrasfaqs-content .nuestrasfaqs-grid .faq-card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
}

.nuestrasfaqs-content .nuestrasfaqs-grid .faq-card .card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 1rem;
}

.nuestrasfaqs-content .nuestrasfaqs-grid .faq-card-btn {
    min-width: 7rem;
    padding: 0.35rem 1rem;
    font-size: 0.8125rem;
    border-radius: 0.5rem;
}

.nuestrasfaqs-content .faq-modal-body {
    font-size: 1rem;
    line-height: 1.6;
}

.nuestrasfaqs-content .faq-modal-body ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    list-style-type: disc;
}

.nuestrasfaqs-content .faq-modal-body ul ul {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
    list-style-type: circle;
}

.nuestrasfaqs-content .faq-modal-body ul ul ul {
    list-style-type: square;
}

.nuestrasfaqs-content .faq-modal-body li {
    margin-bottom: 0.35rem;
}

.nuestrasfaqs-content .faq-modal-body li:last-child {
    margin-bottom: 0;
}

.nuestrasfaqs-content .faq-modal-body p + ul,
.nuestrasfaqs-content .faq-modal-body ul + p {
    margin-top: 0.75rem;
}

.nuestrasfaqs-content .faq-modal-body p:last-child,
.nuestrasfaqs-content .faq-modal-body ul:last-child {
    margin-bottom: 0;
}

.nuestrasfaqs-content .faq-modal-body a {
    color: #0b7285;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.nuestrasfaqs-content .faq-modal-body a:hover,
.nuestrasfaqs-content .faq-modal-body a:focus {
    color: #095c6b;
    text-decoration-color: currentColor;
    outline: none;
}

.nuestrasfaqs-content .faq-modal-body a:focus-visible {
    outline: 2px solid rgba(11, 114, 133, 0.35);
    outline-offset: 2px;
    border-radius: 2px;
}

.nuestrasfaqs-content .faq-modal-body li > a {
    display: inline;
}

@media (max-width: 767.98px) {
    .nuestrasfaqs-content {
        margin: 1.5rem 0;
    }

    .nuestrasfaqs-content .titulo-faqs {
        font-size: 1.5rem;
    }
}
