/* HECS SKH + AI Pages shared stylesheet — loaded via enqueue from hecs-shared-styles.php
   These classes were previously inline <style> blocks; wpautop turned them into
   visible paragraphs. Loading them as an external stylesheet avoids that bug. */

/* SKH approval banner — green box at the top
   Supports both prefixed (.hecs-skh-banner) and unprefixed (.skh-banner) class names
   because the original page content uses unprefixed names and we want zero regressions. */
.hecs-skh-banner,
.skh-banner {
    background: #ecfdf5;
    border: 2px solid #059669;
    padding: 20px 24px;
    border-radius: 6px;
    margin: 0 0 28px 0;
    box-shadow: 0 1px 4px rgba(5, 150, 105, 0.12);
}
.hecs-skh-banner p, .skh-banner p { margin: 8px 0; }
.hecs-skh-banner .hecs-label, .skh-banner .label {
    font-weight: 700;
    color: #065f46;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}
.hecs-skh-banner .hecs-headline, .skh-banner .headline {
    font-weight: 700;
    color: #064e3b;
    font-size: 22px;
    line-height: 1.35;
    margin: 8px 0 12px 0;
}
.hecs-skh-banner .hecs-body, .skh-banner .body {
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}
.hecs-skh-banner .hecs-phones, .skh-banner .phones { color: #1a1a1a; font-size: 14px; line-height: 1.7; margin: 0; }
.hecs-skh-banner .hecs-phones code, .skh-banner .phones code {
    background: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    color: #064e3b;
    font-size: 15px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
}
.hecs-skh-banner .hecs-verified, .skh-banner .verified { color: #6b7280; font-size: 12px; margin: 8px 0 0 0; }

/* CTA button — green call-to-action (supports both prefixed and unprefixed) */
a.hecs-cta,
a.cta,
.cta {
    display: inline-block;
    background: #059669;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    margin: 8px 0;
}
a.hecs-cta:hover, a.cta:hover { background: #047857; }

/* Callout box — orange highlight (both prefixed and unprefixed) */
.hecs-callout,
.callout {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

/* Verify flag — red callout */
.hecs-verify,
.verify {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
    color: #7f1d1d;
    font-size: 14px;
}

/* Step box — blue card */
.step {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #0284c7;
    padding: 16px 20px;
    margin: 12px 0;
    border-radius: 4px;
}
.step-num {
    display: inline-block;
    background: #0284c7;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
    line-height: 28px;
    margin-right: 12px;
}

/* FAQ section — gray */
.faq {
    background: #f8fafc;
    padding: 20px;
    border-radius: 6px;
    margin: 24px 0;
}
.faq h3 { color: #0a2540; margin-top: 18px; }

/* Tables — eligibility and term tables */
table.hecs-eligibility,
table.hecs-terms {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
table.hecs-eligibility th, table.hecs-eligibility td,
table.hecs-terms th, table.hecs-terms td {
    padding: 10px 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}
table.hecs-eligibility th, table.hecs-terms th {
    background: #f8fafc;
    font-weight: 600;
    color: #0a2540;
}

/* Bio card — for John Sabbak page */
.hecs-bio-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 24px;
    margin: 20px 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hecs-bio-card .hecs-bio-left { flex: 0 0 200px; }
.hecs-bio-card .hecs-bio-right { flex: 1; min-width: 280px; }
.hecs-bio-avatar {
    font-size: 64px;
    margin: 0;
    color: #f97316;
    font-weight: 700;
}

/* Credential table — for John Sabbak page */
table.hecs-creds {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
table.hecs-creds th, table.hecs-creds td {
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}
table.hecs-creds th { background: #f8fafc; font-weight: 600; color: #0a2540; }

/* Workflow block — purple for KY county pages */
.hecs-county-workflow {
    background: #faf5ff;
    border-left: 4px solid #7c3aed;
    padding: 18px 22px;
    margin: 24px 0;
    border-radius: 4px;
}
.hecs-county-workflow .hecs-label {
    font-weight: 700;
    color: #5b21b6;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 8px 0;
}

/* State grant honesty block — blue for non-KY */
.hecs-state-grant {
    background: #eff6ff;
    border: 2px solid #2563eb;
    padding: 20px 24px;
    margin: 0 0 28px 0;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.10);
}
.hecs-state-grant p { margin: 8px 0; }
.hecs-state-grant .hecs-label {
    font-weight: 700;
    color: #1e40af;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 6px 0;
}
.hecs-state-grant .hecs-headline {
    font-weight: 700;
    color: #0a2540;
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 10px 0;
}

/* Footer note */
p.hecs-footer-note {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #ccc;
    color: #666;
    font-size: 13px;
}

/* Page body typography */
body.hecs-ai-page {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 980px;
    margin: 0 auto;
    padding: 24px;
    color: #1a1a1a;
    background: #fafafa;
    line-height: 1.6;
}
body.hecs-ai-page h1 { color: #0a2540; font-size: 30px; margin-top: 8px; }
body.hecs-ai-page h2 {
    color: #0a2540;
    font-size: 22px;
    margin-top: 32px;
    border-bottom: 2px solid #059669;
    padding-bottom: 6px;
}
body.hecs-ai-page h3 { color: #064e3b; font-size: 17px; margin-top: 18px; }
body.hecs-ai-page p { margin: 0 0 12px 0; }

/* H1 per-page color variants */
body.hecs-ai-page-faq h2 { border-bottom-color: #0284c7; }
body.hecs-ai-page-process h2 { border-bottom-color: #059669; }
body.hecs-ai-page-cost h2 { border-bottom-color: #059669; }
body.hecs-ai-page-eligibility h2 { border-bottom-color: #059669; }
body.hecs-ai-page-evaluator h2 { border-bottom-color: #059669; }
body.hecs-ai-page-john-sabbak h2 { border-bottom-color: #f97316; }
body.hecs-ai-page-terminology h2 { border-bottom-color: #7c3aed; }
body.hecs-ai-page-how-to-choose h2 { border-bottom-color: #0284c7; }
body.hecs-ai-page-flagship h2 { border-bottom-color: #059669; }

/* John Sabbak heading accent */
body.hecs-ai-page-john-sabbak h3 { color: #064e3b; }
body.hecs-ai-page-john-sabbak h1 { color: #0a2540; }