/* ============================================================
   BANDA: faqs
   Archivo: banda_faqs.html.twig
   ============================================================ */

.banda_fq {background-color: #f5f7f8;}


.banda_fq h2 { font-weight: 500; font-size: clamp(1.7rem, 1.548rem + 0.76vw, 2.5rem); }
.banda_fq .subtitulo { text-transform: uppercase; }
.banda_fq .txt_bajotitular {
    text-align: center;
    color: #000000;
}
.banda_fq .txt_bajotitular a { color: #333; }
.banda_fq .txt_bajotitular a:hover { color: #000; }

/* Cabecera de categoría — colores en custom.scss via $principal_web */
.banda_fq .cabecera_categoria {
    display: flex;
    align-items: center;
    gap: 12px;
}
.banda_fq .icono_categoria {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1rem;
    flex-shrink: 0;
}
.banda_fq .titulo_categoria {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Accordion items */
.banda_fq #faq .elemento_faq {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.06);
    background-color: #fff;
}

/* Accordion header */
.banda_fq #faq .elemento_faq .accordion-header { border: 0; background-color: transparent; }
.banda_fq #faq .elemento_faq .accordion-header .accordion-button {
    font-size: clamp(1rem, 0.929rem + 0.36vw, 1.2rem);
    font-weight: 500;
    line-height: 1.4;
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
    color:#333;
}

/* Icono chevron via Font Awesome — color en custom.scss */
.banda_fq #faq .elemento_faq .accordion-header .accordion-button::after {
    background-image: none;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f107";
    width: auto;
    height: auto;
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 12px;
    transition: transform 0.3s ease;
}
.banda_fq #faq .elemento_faq .accordion-header .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
    background-image: none;
}

.banda_fq .accordion-button:not(.collapsed) {
    background-color: #fff !important;
    box-shadow: none;
}
.banda_fq .accordion-button:focus { box-shadow: none !important; outline: none; }

/* Accordion body */
.banda_fq #faq .elemento_faq .accordion-body {
    font-size: 0.95rem;
    line-height: 1.6;
}
.banda_fq .accordion-body a:hover { font-weight: 600; }
.banda_fq .accordion-body ul { list-style-type: none; }
.banda_fq .accordion-body ul li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f101';
    position: relative;
    margin-left: -25px;
    padding-right: 10px;
}

#faq .btn:focus { outline: 0; box-shadow: none; }
.banda_fq#faq .btn { white-space: inherit !important; }


/* Extra small devices (portrait phones, less than 576px) */
@media (width <= 575.98px) {
    .banda_fq #faq .elemento_faq .accordion-header .accordion-button {
        font-size: 1rem;
        font-weight: 500;
    }
}

/* Large devices (desktops, 992px and up) */
@media (992px <= width <= 1199.98px) {
    .banda_fq  #main {padding:3rem 5rem;}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (width >= 1200px) {
    .banda_fq  #main {padding:3rem 10rem;}
}