/* ==========================================================
   Online Skills Test (SKT) pages: shared styles (prefix: skt-)
   Used on: Online Skills Test Information Center and
            Online Skills Test Registration
   - Page accent blue: #005A8D (dividers, step lines, body links
     on the info center, step 1 link)
   - Teal stays the site default for global highlight
     components and the registration box
   - Link hover/focus: NCRA gold #F2A81D (site convention)
   - Jump-link targets use the global .section wrapper
     (<div class="section" id="...">), which handles the
     scroll offset; don't put IDs on the headings
   ========================================================== */


/* ==========================================================
   INFORMATION CENTER
   ========================================================== */

/* ---------- Welcome heading ----------
   Large, centered, small caps, accent blue.
   Small caps are browser-generated (Proxima Nova has no true
   small caps); intentional look.
   Works on any heading level (H2-H5). */
.skt-title-heading {
    font-size: 2.2em;
    font-weight: 700;
    font-variant: small-caps;
    color: #005A8D;
    text-align: center;
}

/* ---------- Subtitle ----------
   <p class="skt-subtitle align-center"> under the welcome heading.
   Larger than body text, bold italic, NCRA navy.
   Centering comes from the global align-center class, so the
   subtitle can also be left-aligned if needed. */
.skt-subtitle {
    font-size: 1.3em;
    line-height: 1.4;
    font-style: italic;
    font-weight: 700;
    color: #243E73;
}

/* ---------- Body content wrapper ----------
   <div class="skt-content"> inside a body content block
   (also used on the registration page step 1 text).
   Links: accent blue; gold on hover and keyboard focus.
   Links inside paragraphs are also underlined so they stand
   out from the gray body text. Links in lists are not.
   Lists: extra space below so sections don't crowd.
   !important needed to override the global teal link color. */
.skt-content a {
    color: #005A8D !important;
}

.skt-content a:hover,
.skt-content a:focus-visible {
    color: #F2A81D !important;
}

.skt-content p a {
    text-decoration: underline !important;
}

.skt-content ul {
    margin-bottom: 2em;
}

/* ---------- Section titles ----------
   Resource list headings. Works on any heading level (H2-H5).
   Bold, uppercase, slightly larger, thin light-gray underline.
   Doesn't change heading color (uses the global navy).
   Jump-link IDs go on the <div class="section"> wrapper
   around each heading, not on the heading. */
.skt-section-title {
    font-size: 1.3em;
    font-weight: 800;
    text-transform: uppercase;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #c8ccd3;
}

/* ---------- Quick links ----------
   <nav class="skt-quick-links" aria-label="Quick links">
   jump-link list. No bullets or indent; larger, bold
   accent-blue links; gold on hover and keyboard focus. */
.skt-quick-links ul {
    list-style-type: none;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.skt-quick-links li {
    font-size: 1.3em;
    line-height: 1.4;
}

.skt-quick-links a {
    color: #005A8D !important;
    font-weight: 700;
}

.skt-quick-links a:hover,
.skt-quick-links a:focus-visible {
    color: #F2A81D !important;
}


/* ==========================================================
   SHARED (BOTH PAGES)
   ========================================================== */

/* ---------- Divider ----------
   <hr class="skt-divider">: full-width 3px accent-blue line
   between page sections.
   Overrides the global hr, so !important is required. */
hr.skt-divider {
    height: 0 !important;
    border: 0 !important;
    border-top: 3px solid #005A8D !important;
    background: none !important;
    margin: 2em 0 !important;
}


/* ==========================================================
   REGISTRATION PAGE
   ========================================================== */

/* ---------- Steps ----------
   Five steps in one row (NCRA grid). Each step: STEP label,
   number graphic, short text.
   - .skt-steps: on the grid div. Removes the grid gutter for
     this row only, so each step stays centered between the
     divider lines at every width.
   - .skt-step-label: "STEP" label, bold navy.
   - .skt-step-divider: 3px accent-blue line. Desktop: vertical
     line on the right. Mobile: horizontal line below, with
     space above and below. Not used on the last step.
   - .skt-step-text: bold gray text, centered, even side
     padding. Min-height keeps the lines equal on desktop;
     reset on mobile so stacked steps don't have gaps. */
.skt-steps {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.skt-steps > .grid__unit {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.skt-step-label {
    font-size: 1.3em;
    font-weight: 800;
    padding-bottom: 6px;
    color: #243E73;
}

.skt-step-divider {
    border-right: 3px solid #005A8D;
}

.skt-step-text {
    min-height: 155px;
    font-weight: 700;
    color: #666569;
    text-align: center;
    margin-top: 1.3em;
    padding: 0 1em;
}

@media (max-width: 768px) {
    .skt-step-divider {
        border-right: none !important;
        border-bottom: 3px solid #005A8D;
        padding-bottom: 1.5em;
        margin-bottom: 1.5em;
    }

    .skt-step-text {
        min-height: auto;
    }
}

/* ---------- Registration fees table ----------
   .skt-pricing: wrapper (max 650px, left-aligned, matches the
   schedule table). Holds the fees accordion.
   .skt-pricing-table: the table inside.
   - Header row: light gray background, navy text
   - Membership column: left-aligned, regular weight, gray
   - Price columns: centered, bold navy
   - Certification rows (.skt-cert-row): light gray background,
     navy bold text, thin top line per group
   - Mobile: table scrolls sideways inside the accordion */
.skt-pricing {
    max-width: 650px;
    margin: 0 0 16px 0;
}

.skt-pricing .accordion__content {
    overflow-x: auto;
}

.skt-pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin: 0 0 12px 0;
    font-size: 0.9rem;
}

.skt-pricing-table thead {
    background-color: #f3f6f8;
}

.skt-pricing-table th {
    padding: 8px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #243E73;
    border-bottom: 1px solid #d8dde2;
}

.skt-pricing-table tbody tr {
    border-bottom: 1px solid #eceff2;
}

/* No hover highlight banding */
.skt-pricing-table tbody tr:hover {
    background-color: transparent;
}

.skt-pricing-table td {
    padding: 7px 10px;
    color: #333;
}

/* Membership type column */
.skt-pricing-table td:nth-child(1) {
    text-align: left;
    font-weight: 400;
    color: #444;
}

/* Price columns */
.skt-pricing-table td:nth-child(2),
.skt-pricing-table td:nth-child(3) {
    text-align: center;
    font-weight: 700;
    color: #243E73;
}

/* Certification rows: must stay BELOW the column rules (each
   row's single cell also counts as the first column). */
.skt-pricing-table .skt-cert-row td {
    padding: 10px 12px 6px 12px;
    border-top: 1px solid #d8dde2;
    border-bottom: none;
    background-color: #f3f6f8;
    color: #243E73;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    text-align: left;
}

@media (max-width: 768px) {
    .skt-pricing-table th,
    .skt-pricing-table td {
        white-space: nowrap;
    }
}

/* ---------- Testing schedule table ----------
   .skt-schedule: wrapper (max 650px, left-aligned, scrolls
   sideways on small screens). The table inside fills the
   wrapper but won't shrink below 420px.
   - Header row: light gray background, navy text
   - Rows: thin light lines between, none after the last */
.skt-schedule {
    max-width: 650px;
    margin: 0 0 20px 0;
    overflow-x: auto;
}

.skt-schedule table {
    width: 100%;
    min-width: 420px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.skt-schedule thead {
    background-color: #f3f6f8;
}

.skt-schedule th,
.skt-schedule td {
    padding: 10px 24px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.skt-schedule th {
    font-weight: 700;
    color: #243E73;
    border-bottom: 1px solid #d8dde2;
}

.skt-schedule tbody tr {
    border-bottom: 1px solid #eceff2;
}

.skt-schedule tbody tr:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .skt-schedule table {
        font-size: 0.9rem;
    }

    .skt-schedule th,
    .skt-schedule td {
        padding: 8px 10px;
        text-align: center;
        white-space: normal;
    }

    .skt-schedule th:first-child,
    .skt-schedule td:first-child {
        text-align: left;
    }
}

/* ---------- Registration box ----------
   Main call to action. Holds the every-other-month
   registration accordions (shared content block).
   White background, 3px teal border, square corners.
   Heading color comes from global (teal). */
.skt-register-box {
    background-color: #fff;
    border: 3px solid #1FA396;
    padding: 2.5em 2em;
}

@media (max-width: 768px) {
    .skt-register-box {
        padding: 1.5em 1em;
    }
}

/* ---------- Registration accordions ----------
   Applies ONLY to accordions inside .skt-reg-accordion.
   Other accordions (e.g., fees) keep the global style.
   - Label: taller, with room for a logo on the left;
     centered text on mobile
   - Content: tighter padding; link table full width with
     light gray cell borders
   - Links: site default teal and hover color; underline on
     hover and keyboard focus
   - Logos (img align="left"): beside the label on desktop;
     stacked and centered above it on mobile */
.skt-reg-accordion .accordion {
    margin-bottom: 15px !important;
}

.skt-reg-accordion .accordion__label {
    min-height: 65px !important;
    padding: 15px !important;
    line-height: 80px !important;
}

.skt-reg-accordion img[align="left"] {
    margin-right: 15px !important;
    margin-bottom: 0 !important;
    margin-top: 12px !important;
    vertical-align: middle !important;
}

.skt-reg-accordion .accordion__content {
    padding: 10px !important;
    clear: both !important;
}

.skt-reg-accordion .accordion__content table {
    margin: 0 !important;
    border-collapse: collapse !important;
    width: 100% !important;
}

.skt-reg-accordion .accordion__content table td {
    padding: 12px 15px !important;
    border: 1px solid #e0e0e0 !important;
}

.skt-reg-accordion .accordion__content table td a {
    display: block !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.skt-reg-accordion .accordion__content table td a:hover,
.skt-reg-accordion .accordion__content table td a:focus-visible {
    text-decoration: underline !important;
}

/* Mobile */
@media (max-width: 768px) {
    .skt-reg-accordion img[align="left"] {
        float: none !important;
        display: block !important;
        margin: 0 auto 15px auto !important;
    }

    .skt-reg-accordion .accordion__label {
        min-height: auto !important;
        line-height: 1.4 !important;
        padding: 15px !important;
        text-align: center !important;
        font-size: 1rem !important;
    }

    .skt-reg-accordion .accordion__content {
        padding: 15px !important;
    }

    .skt-reg-accordion .accordion__content table td {
        padding: 15px 12px !important;
    }

    .skt-reg-accordion .accordion__content table td a {
        font-size: 0.95rem !important;
        padding: 5px 0 !important;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .skt-reg-accordion .accordion__label {
        font-size: 1.1rem !important;
        padding: 18px !important;
    }
}