@import url("../../assets/css/theme.css");

.faq-page {
    width: 100%;
    min-height: 300px;
    border: 1px solid var(--np-border);
    background: var(--np-surface);
    box-shadow: var(--np-shadow);
}

.faq-page-header {
    padding: 18px 20px 16px;
    border-bottom: 1px solid var(--np-border);
    background: var(--np-panel);
}

.faq-page-header h2 {
    width: auto;
    min-height: 0;
    margin: 2px 0 8px;
    padding: 0;
    background: transparent;
    color: var(--np-text);
    text-align: left;
    font-size: 24px;
    line-height: 1.15;
}

.faq-page-header > p:last-child {
    max-width: 760px;
    color: var(--np-muted);
    line-height: 1.55;
}

.faq-kicker {
    margin: 0;
    color: var(--np-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.faq-staff-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.faq-card {
    padding: 14px;
    border: 1px solid var(--np-border);
    background: var(--np-panel);
}

.faq-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.faq-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--np-accent);
    background: var(--np-accent-soft);
    color: var(--np-accent);
    font-size: 20px;
    font-weight: 700;
}

.faq-card h3 {
    width: auto;
    min-height: 0;
    margin: 0 0 2px;
    padding: 0;
    background: transparent;
    color: var(--np-text);
    text-align: left;
    font-size: 17px;
    line-height: 1.2;
}

.faq-role {
    color: var(--np-accent);
    font-size: 12px;
    font-weight: 700;
}

.faq-card > p:last-child {
    color: var(--np-text);
    line-height: 1.55;
}

.faq-copy {
    padding: 18px 20px 22px;
    line-height: 1.65;
}

.faq-copy p + p,
.faq-copy blockquote + p,
.faq-copy p + blockquote {
    margin-top: 14px;
}

.faq-motto {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
}

.faq-motto span {
    padding: 12px 10px;
    border: 1px solid var(--np-border);
    background: var(--np-panel);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.faq-motto strong {
    color: var(--np-accent);
    font-size: 18px;
}

.faq-quote {
    margin: 18px 0;
    padding: 12px 14px;
    border-left: 3px solid var(--np-accent);
    background: var(--np-accent-soft);
    color: var(--np-text);
    font-weight: 600;
}

.faq-signature {
    padding-top: 14px;
    border-top: 1px solid var(--np-border);
    color: var(--np-muted);
    font-style: italic;
}

@media (max-width: 760px) {
    .faq-staff-grid,
    .faq-motto {
        grid-template-columns: 1fr;
    }

    .faq-page-header,
    .faq-copy {
        padding-right: 14px;
        padding-left: 14px;
    }
}



 .faq-projects {
    display: block;
    width: 100%;
    max-width: none;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--np-border);
}

.faq-projects-title {
    width: 100%;
    min-height: 0;
    margin: 0 0 10px;
    padding: 0 6px;
    background: var(--np-heading-accent);
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    line-height: 22px;
}

.faq-projects-intro {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    color: var(--np-text);
    line-height: 1.6;
}

.faq-projects-grid {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.faq-projects-grid > .faq-project-card {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    width: auto;
    max-width: none;
    padding: 0;
    border: 1px solid var(--np-border);
    background: var(--np-panel);
    overflow: hidden;
    box-shadow: none;
}

.faq-project-card h4 {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 8px 10px;
    background: var(--np-heading-accent);
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.faq-project-card p {
    margin: 0;
    padding: 12px;
    color: var(--np-text);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .faq-projects-grid {
        flex-direction: column;
    }
}
