/* Common hero styles for inner pages */
.page-hero {
    background: var(--cs-bg);
    padding: 24px 0 26px;
    margin-bottom: 24px;
}

.page-hero--narrow {
    padding-top: 20px;
    padding-bottom: 22px;
}

.page-hero-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.page-hero-main {
    min-width: 0;
}

.page-hero-title {
    font-size: 24px;
    font-weight: 650;
    margin: 0 0 6px;
}

.page-hero-subtitle {
    font-size: 14px;
    color: var(--cs-muted);
    margin: 0;
    max-width: 520px;
}

.page-hero-illustration {
    max-width: 220px;
}

.page-hero-illustration-inner {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--cs-border);
    padding: 10px 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Compact illustrations (pricing/templates/support) */
.page-hero-illustration--small {
    height: 90px;
}

.page-hero-illustration--small .page-hero-illustration-icon {
    height: 70px;
    width: auto;
    display: block;
    opacity: 0.96;
}

/* Shared inner background for features/services */
.hero-illustration-inner--features,
.hero-illustration-inner--services {
    background: radial-gradient(circle at 20% 0%, #ffe8e8 0, #fef7f7 42%, #f7f7f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 800px) {
    .page-hero-body {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 12px;
    }

    .page-hero-illustration {
        justify-self: center;
        margin-top: 6px;
    }
}

@media (max-width: 640px) {
    .page-hero-illustration {
        display: none;
    }

    .page-hero {
        padding: 14px 0 16px;
        margin-bottom: 16px;
    }

    .page-hero--narrow {
        padding-top: 12px;
        padding-bottom: 14px;
    }

    .page-hero-body {
        gap: 10px;
    }

    .page-hero-title {
        font-size: 20px;
    }

    .page-hero-subtitle {
        font-size: 13px;
    }

}
