.article-page {
    padding-top: 90px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.article-header,
.article-page .summary,
.article-page strong {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
}

.article-header {
    font-size: clamp(32px, 5vw, 38px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 10px;
}

.article-page .summary {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 5px; 
}

.article-page strong {
    display: block; 
    font-size: 18px;
    color: var(--acc1);
    margin-top: 10px;
    padding-bottom: 0px;
}

/* --- CONTENEDOR PRINCIPAL DEL FAQ --- */

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.faq-accordion-container h2 {
    font-size: 26px;
    margin: 30px 0 20px;
    font-weight: 800;
    color: var(--texto);
}


/* --- ACORDEÓN --- */


.accordion-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 12px;
    overflow: hidden;
    border-left: 5px solid transparent;
    transition: border-left 0.2s, box-shadow 0.2s;
}

.accordion-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-left-color: #C1A0FD;
}

.accordion-checkbox {
    display: none;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 15px 25px;
    font-size: 17px;
    font-weight: 600;
    color: var(--texto);
    transition: background-color 0.2s;
}

.accordion-header .question-text {
    flex-grow: 1;
    padding-right: 20px;
}

.expand-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    font-size: 14px;
    color: var(--acc1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    width: 100%;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

.accordion-content p {
    padding: 20px 25px 0 25px;
    margin-bottom: 15px;
    font-size: 15px;
    color: rgba(0,0,0,0.75);
    line-height: 1.6;
}

.response-action {
    padding: 0 25px 20px 25px;
}

.accordion-checkbox:checked ~ .accordion-content {
    max-height: 500px;
    border-top: none;
    padding-top: 0;
}

.accordion-checkbox:checked ~ .accordion-header .expand-icon {
    transform: rotate(180deg);
}

.accordion-checkbox:checked ~ .accordion-header {
    background-color: rgba(0, 254, 131, 0.05);
    font-weight: 700;
    border-bottom: 3px solid #C1A0FD;
}

.accordion-item:has(.accordion-checkbox:checked) {
    border-left-color: #C1A0FD;
}

.header-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    margin-right: 20px;
    font-size: 12px;
}

.time-status {
    color: rgba(0,0,0,0.5);
    font-weight: 500;
}

.status-tag {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: inline-flex;
    align-items: center;
}

.status-tag.pending-tag {
    background: #FFEBCC;
    color: #E68A00;
    font-weight: 600;
}

/* --- ESTADO PENDIENTE --- */

.status-tag.pending-tag::before {
    content: "\f254"; 
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 6px;
}

/* --- ESTADO RESPONDIDO --- */

.status-tag.answered-tag {
    background: #E6F7E6;
    color: #008000;
    font-weight: 600;
}
.status-tag.answered-tag::before {
    content: "\f058"; 
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 6px;
    color: #008000;
}

.response-link, 
.read-more {
    text-decoration: none;
    color: var(--acc1);
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.response-link i,
.read-more i {
    margin-left: 6px;
    transform: translateY(1px);
    transition: transform 0.2s ease, color 0.3s ease;
    color: var(--acc1);
}

.response-link:hover,
.read-more:hover {
    color: var(--dom);
}

.response-link:hover i,
.read-more:hover i {
    color: var(--dom);
    transform: translateX(2px) translateY(1px);
}


/* --- FORMULARIO --- */

.highlight-tip.contact-section {
    max-width: 650px;
    margin: 40px auto;
    padding: 25px 30px;
    background-color: #fff;
    border-radius: 10px;
    border: 3px solid var(--acc1); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    text-align: left;
    font-style: normal;
}

.highlight-tip.contact-section h3 {
    color: var(--acc1);
    font-size: 24px;
    margin-bottom: 5px;
}

.highlight-tip.contact-section p {
    font-size: 16px;
    color: rgba(0,0,0,0.7);
    margin-bottom: 20px;
}

.simple-question-form {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.simple-question-form input[type="text"] {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.simple-question-form input[type="text"]:focus {
    border-color: var(--acc1);
    box-shadow: 0 0 0 3px rgba(5, 86, 210, 0.2);
    outline: none;
}

.simple-question-form .btn-primary {
    padding: 12px 20px;
    background-color: var(--acc1);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.simple-question-form .btn-primary:hover {
    background-color: #0443a9;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



/* --- RESPONSIVE (Max-width: 600px) --- */

@media (max-width: 600px) {

    .highlight-tip.contact-section {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .simple-question-form {
        flex-direction: column;
        gap: 10px;
    }

    .simple-question-form .btn-primary {
        width: 100%; 
        text-align: center;
    }

    .accordion-header {
        padding: 15px 18px; 
    }
    
    .accordion-header .question-text {
        font-size: 15px;
        padding-right: 10px;
    }

    .accordion-content p {
        padding: 15px 18px 0 18px; 
        margin-bottom: 10px;
    }
    
    .response-action {
        padding: 0 18px 15px 18px;
    }
    
    .header-meta {
        margin-right: 10px; 
    }
    
    .accordion-header {
        flex-wrap: wrap;
    }
    
    .accordion-header .header-meta {
        order: 2;
        width: 100%;
        margin-top: 5px;
        text-align: left;
        align-items: flex-start;
    }
    
    .accordion-header .expand-icon {
        order: 3; 
    }
    
    .status-tag {
        margin-bottom: 0;
    }
