/* ==========================================================================
   /free-hipaa-course — landing page extras (loaded only on this page)
   Module numerals, certificate mock, comparison-table highlight, FAQ layout.
   ========================================================================== */

/* Hero panel: log-in line under the at-a-glance list */
.v4-fhc-login { margin-top: 16px !important; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; color: rgba(255, 255, 255, .72); }
main .v4-fhc-login a { color: var(--v4-gold-400); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
main .v4-fhc-login a:hover { color: #fff; }

/* Curriculum cards */
.v4-fhc-num { font-family: var(--v4-font-display); font-style: italic; font-weight: 500; font-size: 2rem; line-height: 1; color: var(--v4-line-2); }
.v4-card .v4-card__kicker { margin-top: 4px; }
.v4-card--ink .v4-fhc-kicker-light { color: var(--v4-teal-300); }

/* Certificate mock */
.v4-fhc-cert-stage {
    position: relative; display: grid; place-items: center; min-height: 480px; padding: clamp(28px, 5vw, 56px);
    border-radius: var(--v4-r-xl); overflow: hidden; isolation: isolate;
    background:
        radial-gradient(420px 260px at 100% 0%, rgba(242, 179, 61, .18), transparent 70%),
        radial-gradient(480px 300px at 0% 100%, rgba(13, 148, 136, .35), transparent 70%),
        var(--v4-ink-900);
}
.v4-fhc-cert-stage::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 40px 40px;
}
.v4-fhc-cert {
    position: relative; width: 100%; max-width: 440px; padding: 36px 28px 26px; text-align: center;
    background: #fff; border-radius: 16px; box-shadow: var(--v4-shadow-lg);
    outline: 1px solid var(--v4-gold-500); outline-offset: -12px;
    transform: rotate(-1.5deg);
}
.v4-fhc-cert__seal {
    display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%;
    background: var(--v4-gold-50); color: var(--v4-gold-600); box-shadow: inset 0 0 0 2px #F8E2B0;
}
main .v4-fhc-cert__seal .v4-ico { width: 30px; height: 30px; }
.v4-fhc-cert__kicker { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--v4-text-3); }
.v4-fhc-cert__title { margin-top: 8px !important; font-family: var(--v4-font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; color: var(--v4-text); }
.v4-fhc-cert__issuer { margin-top: 6px !important; font-size: .9375rem; color: var(--v4-text-2); }
.v4-fhc-cert__foot { margin-top: 20px !important; padding-top: 14px; border-top: 1px solid var(--v4-line); font-size: .8125rem; color: var(--v4-text-3); }

/* Comparison table: highlight our column, icon + text marks */
/* position: relative keeps the .sr-only cell prefixes inside the scroll box on
   mobile; without it they escape the overflow container and widen the page. */
.v4-fhc-compare { position: relative; }
.v4-fhc-compare .v4-table { min-width: 720px; }
.v4-fhc-compare tbody th { font-weight: 700; color: var(--v4-text); white-space: nowrap; }
.v4-fhc-compare thead th.is-ours { background: var(--v4-teal-700); color: #fff; }
.v4-fhc-compare td.is-ours { background: var(--v4-teal-50); color: var(--v4-text); font-weight: 600; }
.v4-fhc-mark { display: inline-flex; align-items: flex-start; gap: 8px; }
main .v4-fhc-mark .v4-ico { width: 18px; height: 18px; margin-top: 2px; }
.v4-fhc-mark--yes .v4-ico { color: #15803D; }
.v4-fhc-mark--no .v4-ico { color: #B91C1C; }

/* FAQ: heading column + questions */
.v4-fhc-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.v4-fhc-faq .v4-head { margin-bottom: 24px; }

@media (max-width: 960px) {
    .v4-fhc-faq { grid-template-columns: minmax(0, 1fr); }
    .v4-fhc-cert { transform: none; }
    .v4-fhc-cert-stage { min-height: 0; }
}
@media (max-width: 640px) {
    /* Comparison: one card per feature, each answer labelled with its column. */
    .v4-fhc-compare { overflow: visible; border: 0; border-radius: 0; background: none; }
    .v4-fhc-compare .v4-table { min-width: 0; display: block; }
    .v4-fhc-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .v4-fhc-compare tbody { display: grid; gap: 12px; }
    .v4-fhc-compare tbody tr { display: block; overflow: hidden; background: #fff; border: 1px solid var(--v4-line); border-radius: var(--v4-r); }
    .v4-fhc-compare tbody th { display: block; white-space: normal; padding: 12px 16px; background: var(--v4-tint); border-bottom: 1px solid var(--v4-line); }
    .v4-fhc-compare td { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 16px; }
    .v4-fhc-compare td::before { content: attr(data-label); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--v4-text-3); padding-top: 2px; }
    .v4-fhc-compare tbody tr > :last-child { border-bottom: 0; }
    .v4-fhc-faq .v4-btn { width: 100%; white-space: normal; }
    .v4-fhc-aud .v4-card--row { flex-direction: row; }
    .v4-fhc-cert { padding: 30px 20px 22px; }
}
