/* STLFilesHub — editable content pages (page.php): legal pages, contact and any new page.
   Typography for content written in the WordPress editor, in the site's dark design. */

.stlh-page {
    max-width: 980px;
    margin: 48px auto 72px;
    padding: 0 20px;
    color: #cbd5e1;
}

.stlh-page__article {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(124, 58, 237, .08);
    overflow: hidden;
}

.stlh-page__header {
    padding: 44px 48px 32px;
    text-align: center;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(124, 58, 237, .22) 0%, rgba(124, 58, 237, 0) 60%),
        #0f172a;
    border-bottom: 1px solid #1f2937;
}
.stlh-page__title {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #fff;
}
.stlh-page__meta {
    display: inline-block;
    margin: 14px 0 0;
    padding: 5px 12px;
    border: 1px solid rgba(124, 58, 237, .45);
    border-radius: 999px;
    font-size: 13px;
    color: #c4b5fd;
}

.stlh-page__content {
    padding: 40px 48px 48px;
    font-size: 16px;
    line-height: 1.75;
}
.stlh-page__content > *:first-child { margin-top: 0; }
.stlh-page__content > *:last-child { margin-bottom: 0; }

.stlh-page__content h2 {
    margin: 40px 0 14px;
    padding-top: 28px;
    border-top: 1px solid #1f2937;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
}
.stlh-page__content h2:first-child { padding-top: 0; border-top: 0; }
.stlh-page__content h3 {
    margin: 28px 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
}
.stlh-page__content p { margin: 0 0 16px; }
.stlh-page__content strong { color: #f1f5f9; }
.stlh-page__content a { color: #a78bfa; text-decoration: underline; text-underline-offset: 3px; }
.stlh-page__content a:hover { color: #c4b5fd; }

.stlh-page__content ul,
.stlh-page__content ol { margin: 0 0 18px; padding-left: 22px; }
.stlh-page__content li { margin: 0 0 8px; padding-left: 4px; }
.stlh-page__content ul li::marker { color: #8b5cf6; }

.stlh-page__content blockquote,
.stlh-page__content .wp-block-quote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 4px solid #7c3aed;
    border-radius: 0 12px 12px 0;
    background: rgba(124, 58, 237, .08);
    color: #e2e8f0;
}

.stlh-page__content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.stlh-page__content th,
.stlh-page__content td { padding: 10px 12px; border: 1px solid #1f2937; text-align: left; vertical-align: top; }
.stlh-page__content th { background: #0f172a; color: #fff; }

/* Summary / highlight box: add the CSS class "stlh-callout" to any block in the editor. */
.stlh-page__content .stlh-callout {
    margin: 0 0 28px;
    padding: 18px 22px;
    border: 1px solid rgba(124, 58, 237, .4);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, .14), rgba(59, 130, 246, .06));
    color: #e2e8f0;
}
.stlh-page__content .stlh-callout p:last-child,
.stlh-page__content .stlh-callout ul:last-child { margin-bottom: 0; }

.stlh-page__content .stlh-business-details {
    padding: 16px 20px;
    border: 1px solid #1f2937;
    border-radius: 12px;
    background: #0f172a;
    line-height: 1.7;
}

.stlh-page__content .wp-block-button__link {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 12px;
    background: #7c3aed;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.stlh-page__content .wp-block-button__link:hover { background: #6d28d9; color: #fff; }

/* Editable designed pages (About / FAQ / License): content keeps the original card markup. */
.stlh-editable > *:first-child { margin-top: 0; }

@media (max-width: 700px) {
    .stlh-page { margin: 20px auto 48px; padding: 0 12px; }
    .stlh-page__header { padding: 32px 20px 24px; }
    .stlh-page__content { padding: 24px 20px 28px; font-size: 15px; }
    .stlh-page__content h2 { margin-top: 30px; padding-top: 22px; font-size: 21px; }
    .stlh-page__content table { display: block; overflow-x: auto; }
}
