/* ==========================================================================
   Course listing 2026  (pages/courses-2026.php)
   One row per course, as in the creative: artwork, then the write-up and its
   highlights, then the price panel. Loaded alongside home-2026.css, which
   carries the hero, the accreditation strip and the shared section furniture.
   ========================================================================== */

.courses26 {
    padding: 10px 0 70px;
}

.courses26-list {
    display: grid;
    gap: 26px;
}

.courses26-row {
    display: grid;
    grid-template-columns: 350px 1fr 260px;
    background-color: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px var(--shadow-card);
}

/* ---------- artwork ---------------------------------------------------- */
.courses26-art {
    position: relative;
    min-height: 230px;
    background-color: var(--surface-150);
    background-position: center;
    background-size: cover;
}

.courses26-art .empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--ink-fainter);
    font-size: 13px;
    text-align: center;
    padding: 20px;
}

/* ---------- the write-up ------------------------------------------------ */
.courses26-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}

.courses26-mode {
    align-self: flex-start;
    background-color: var(--surface-blue);
    color: var(--brand-2);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.courses26-body h2 {
    font-size: 25px;
    line-height: 1.22;
    color: var(--brand-2);
    margin: 0 0 14px;
}

.courses26-body h2 a {
    color: inherit;
    text-decoration: none;
}

.courses26-body h2 a:hover {
    color: var(--brand-strong);
}

.courses26-points {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 9px;
}

.courses26-points li {
    display: flex;
    gap: 11px;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--ink-mid);
}

.courses26-points .tick {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 2px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    color: var(--surface);
    display: grid;
    place-items: center;
}

.courses26-points .tick svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.courses26-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}

.courses26-meta div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.courses26-meta svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: var(--brand-strong);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.courses26-meta strong {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-mid);
    line-height: 1.2;
}

.courses26-meta span {
    font-size: 13.5px;
    color: var(--brand-2);
    font-weight: 600;
}

/* ---------- price panel -------------------------------------------------- */
.courses26-price {
    background-color: var(--surface-pink);
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
}

.courses26-price .primary {
    font-family: var(--font-heading);
    font-size: 30px;
    line-height: 1.1;
    color: var(--brand-strong);
    margin: 0;
}

.courses26-price .secondary {
    font-family: var(--font-heading);
    font-size: 21px;
    color: var(--brand-strong);
    margin: 6px 0 0;
}

.courses26-price .note {
    font-size: 12px;
    color: var(--ink-mid);
    margin: 2px 0 0;
}

.courses26-price .home26-btn {
    margin-top: 18px;
    width: 100%;
    justify-content: center;
}

.courses26-price .enquire {
    font-size: 13px;
    color: var(--ink-mid);
    margin: 0;
}

/* ---------- responsive ---------------------------------------------------- */
@media (max-width: 1199px) {
    .courses26-row {
        grid-template-columns: 280px 1fr 230px;
    }

    .courses26-body h2 {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .courses26-row {
        grid-template-columns: 1fr 230px;
    }

    .courses26-art {
        grid-column: 1 / -1;
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .courses26-row {
        grid-template-columns: 1fr;
    }

    .courses26-art {
        min-height: 190px;
    }

    .courses26-body {
        padding: 20px;
    }

    .courses26-body h2 {
        font-size: 20px;
    }

    .courses26-meta {
        gap: 12px 24px;
    }

    .courses26-price {
        padding: 22px 20px 24px;
        border-top: 1px solid var(--line-soft);
    }

    .courses26-price .home26-btn {
        max-width: 320px;
    }
}

/* ==========================================================================
   Compare courses  (pages/compare-2026.php)
   One wide table. On a phone it scrolls sideways rather than collapsing, so
   the courses stay next to each other - which is the whole point of it.
   ========================================================================== */
.compare26 {
    padding: 34px 0 70px;
}

.compare26-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background-color: var(--surface);
}

.compare26-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 14px;
}

.compare26-table th,
.compare26-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid var(--line-soft);
}

.compare26-table thead th {
    border-top: 0;
    background-color: var(--surface-cream);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mid);
    white-space: nowrap;
}

.compare26-table tbody th {
    width: 280px;
}

.compare26-table tbody th a {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--brand-2);
    text-decoration: none;
    line-height: 1.3;
}

.compare26-table tbody th a:hover {
    color: var(--brand-strong);
}

.compare26-table td {
    color: var(--ink-navy);
}

.compare26-table strong {
    color: var(--brand-strong);
    font-size: 15px;
}

.compare26-table span {
    color: var(--ink-mid);
    font-size: 13px;
}

.compare26-mode {
    display: inline-block;
    background-color: var(--surface-blue);
    color: var(--brand-2) !important;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.compare26-for {
    max-width: 280px;
    color: var(--ink-mid);
    line-height: 1.5;
}

.compare26-table .home26-btn {
    padding: 9px 18px;
    font-size: 13px;
}
