/* Page styles for views/pages/help/index.php. */

.help-page {
    padding: 34px 0 58px;
}

.help-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.help-hero {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(96,165,250,0.16), transparent 34%),
        linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.help-hero h1 {
    margin: 10px 0;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.help-hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    max-width: 680px;
}

.help-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 680px;
    margin-top: 24px;
    padding: 8px 8px 8px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,0.94);
}

.help-search input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    color: var(--text);
}

.help-search span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 13px;
    background: #0f172a;
    color: #fff;
    font-weight: 800;
}

.help-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.help-audience-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(15,23,42,0.05);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.help-audience-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37,99,235,0.3);
}

.help-audience-card strong {
    color: #0f172a;
    font-size: 1.02rem;
}

.help-audience-card span {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.94rem;
}

.help-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.help-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 14px 32px rgba(15,23,42,0.04);
}

.help-sidebar strong {
    margin-bottom: 4px;
}

.help-sidebar a {
    padding: 10px 11px;
    border-radius: 12px;
    color: #475569;
    text-decoration: none;
    font-weight: 700;
}

.help-sidebar a:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.help-content,
.faq-list {
    display: grid;
    gap: 16px;
}

.help-section {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow);
    scroll-margin-top: 100px;
}

.help-section-head {
    margin-bottom: 16px;
}

.help-section-head span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 800;
}

.help-section-head h2 {
    margin: 10px 0 8px;
    letter-spacing: -0.025em;
}

.help-section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcfe;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 16px 18px;
    color: #0f172a;
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--muted);
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    margin: 0;
    padding: 0 18px 16px;
    color: var(--muted);
    line-height: 1.75;
}

.help-contact {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #0f172a;
    color: #fff;
}

.help-contact h2 {
    margin: 0 0 8px;
}

.help-contact p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
}

@media (max-width: 920px) {
    .help-audience-grid,
    .help-layout {
        grid-template-columns: 1fr;
    }

    .help-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .help-hero {
        padding: 24px;
    }

    .help-search,
    .help-contact {
        display: grid;
    }

    .help-search span,
    .help-contact .btn {
        width: 100%;
    }
}
