/**
 * Help center components the blog stylesheets lack (gh#463). Hero and
 * article typography reuse core/css/site_chrome.css and page_chrome.css.
 * Muted text uses #5C6B6D and the gold label #8A6D28, the contrast-checked
 * values page_chrome.css already documents.
 */
.help-search {
    display: flex;
    gap: 0.75rem;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.help-search .form-control {
    border-radius: 999px;
    padding: 0.7rem 1.2rem;
}

.help-search button {
    border: 0;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    white-space: nowrap;
}

.help-results-title,
.help-section-header h1 {
    margin-bottom: 1.25rem;
}

.help-section-header p,
.help-article-intro {
    color: #5C6B6D;
    font-size: 1.1rem;
}

.help-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 24px;
    margin-bottom: 2.5rem;
}

.help-card,
.help-section-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.055);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.help-card-body,
.help-section-card {
    padding: 1.5rem;
}

.help-section-card {
    margin-bottom: 1.5rem;
}

.help-section-card h2,
.help-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.help-section-card h2 a,
.help-card-title a {
    color: inherit;
    text-decoration: none;
}

.help-card-title,
.help-section-card h2,
.help-article h1 {
    overflow-wrap: anywhere;
}

.help-section-empty {
    color: #5C6B6D;
    margin: 0;
}

.help-section-card h2 a:hover,
.help-card-title a:hover {
    text-decoration: underline;
}

.help-article-list {
    padding-left: 1.1rem;
    margin: 0;
}

.help-card-image img {
    display: block;
    width: 100%;
    height: auto;
}

.help-card-section {
    display: block;
    color: #8A6D28;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.help-card-intro {
    color: #5C6B6D;
}

.help-audience-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.15);
    color: #6B531C;
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.help-article h1 {
    margin: 0.75rem 0;
}

.help-video {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 1.5rem 0;
}

.help-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

.help-steps {
    padding-left: 1.4rem;
}

.help-steps li {
    margin-bottom: 1.25rem;
    padding-left: 0.35rem;
}

.help-step-name {
    display: block;
    margin-bottom: 0.25rem;
}

.help-steps figure img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.help-callout {
    border-left: 4px solid var(--brand-accent);
    background: rgba(197, 160, 89, 0.1);
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.help-callout--warning {
    border-left-color: #B3261E;
    background: rgba(179, 38, 30, 0.08);
}

.help-callout-label {
    display: block;
    margin-bottom: 0.25rem;
}

.help-callout p:last-child {
    margin-bottom: 0;
}

.help-faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.85rem 0;
}

.help-faq-item summary {
    cursor: pointer;
    font-weight: 600;
}

.help-article-contact {
    margin-top: 2rem;
    color: #5C6B6D;
}

@media (max-width: 575px) {
    .help-search {
        flex-direction: column;
    }
}
