/* ================================================================
   FAMOUS WIGS — Help & Support
   Compact, readable, brand-aligned. Retains existing shortcode HTML,
   accordion hooks and WordPress page layout.
   ================================================================ */
.help-page-container {
    --fw-help-plum: var(--color-primary, #62358c);
    --fw-help-ink: var(--color-text, #261d2c);
    --fw-help-border: #ebe2f0;
    font-family: var(--font-base, 'Montserrat', sans-serif);
    background: transparent;
    padding: 0 0 58px;
    color: var(--fw-help-ink);
}
.help-page-container *,
.help-page-container *::before,
.help-page-container *::after {
    box-sizing: border-box;
}
.help-page-container .help-wrapper {
    width: min(1200px, calc(100% - 48px));
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.help-page-container .help-hero {
    position: relative;
    isolation: isolate;
    width: min(1200px, calc(100% - 48px));
    margin: 24px auto 28px;
    padding: 52px 40px;
    min-height: 175px;
    border-radius: 22px;
    background: linear-gradient(125deg, #f4ebfa 0%, #e8d8f4 55%, #f9f5fc 100%);
    border: 1px solid #e7d8f0;
    box-shadow: none;
    text-align: left;
    color: var(--fw-help-ink);
    overflow: hidden;
}
.help-page-container .help-hero::after {
    content: '';
    position: absolute;
    top: -85px;
    right: -60px;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, .24);
    pointer-events: none;
    z-index: -1;
}
.help-page-container .help-hero__inner {
    max-width: 650px;
    margin: 0;
    position: relative;
    z-index: 1;
}
.help-page-container .help-hero__title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.035em;
    margin: 0 0 10px;
    color: var(--fw-help-ink) !important;
}
.help-page-container .help-hero__subtitle {
    max-width: 550px;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #5b4a64 !important;
}
.help-page-container .help-resources {
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0 0 44px;
    background: transparent;
}
.help-page-container .help-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.help-page-container .help-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid var(--fw-help-border);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(62, 33, 78, .065);
    padding: 24px 20px 21px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.help-page-container .help-card:hover,
.help-page-container .help-card:focus-visible {
    transform: translateY(-3px);
    border-color: #d4bce8;
    box-shadow: 0 12px 30px rgba(62, 33, 78, .105);
}
.help-page-container .help-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 13px;
    margin-bottom: 19px;
    background: #f2e8f9;
    color: var(--fw-help-plum);
    transition: background .2s ease, color .2s ease;
}
.help-page-container .help-card__icon-wrap svg {
    width: 21px;
    height: 21px;
}
.help-page-container .help-card:hover .help-card__icon-wrap {
    background: var(--fw-help-plum);
    color: #fff;
}
.help-page-container .help-card__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--fw-help-ink);
}
.help-page-container .help-card__desc {
    font-size: 12px;
    line-height: 1.7;
    color: #685970;
    margin: 0 0 18px;
    flex: 1;
}
.help-page-container .help-card__action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fw-help-plum);
    font-size: 12px;
    font-weight: 700;
}
.help-page-container .help-faq-section {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}
.help-page-container .help-faq-section .camfort-about-section {
    padding-top: 25px;
    padding-bottom: 35px;
}
.help-page-container .help-faq-section .camfort-about-container {
    width: 100%;
    max-width: 100%;
}
@media (max-width: 1050px) {
    .help-page-container .help-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .help-page-container .help-wrapper,
    .help-page-container .help-hero {
        width: min(100% - 28px, 1200px);
    }
    .help-page-container .help-hero {
        margin-top: 14px;
        padding: 32px 22px;
        border-radius: 18px;
        min-height: 0;
    }
    .help-page-container .help-hero__title {
        font-size: 25px;
    }
    .help-page-container .help-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .help-page-container .help-card {
        padding: 18px;
    }
    .help-page-container .help-resources {
        margin-bottom: 27px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .help-page-container .help-card { transition: none; }
}
