/* ==========================================================================
   MASKILL – healthcare-assistant.css (/courses/)
   ========================================================================== */
.ha-benefits {
    padding: clamp(24px, 3.5vw, 40px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #fff, var(--bg-light));
    box-shadow: var(--shadow-sm);
}

.ha-benefits h3 {
    margin-bottom: 20px;
}

/* ---------- Lab gallery ---------- */
.ha-gallery {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
}

.ha-gallery .lightbox-trigger {
    aspect-ratio: 554 / 674;
}

@media (min-width: 900px) {
    .ha-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .ha-gallery__item--1 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .ha-gallery__item--1 .lightbox-trigger {
        height: 100%;
        aspect-ratio: auto;
    }

    /* The last two photos fill the final row as wide tiles */
    .ha-gallery__item--6,
    .ha-gallery__item--7 {
        grid-column: span 2;
    }

    .ha-gallery__item--6 .lightbox-trigger,
    .ha-gallery__item--7 .lightbox-trigger {
        aspect-ratio: 16 / 9;
    }
}

/* ---------- Modules ---------- */
.ha-additional {
    margin-top: 36px;
}

.ha-additional h3 {
    margin-bottom: 16px;
}

.module-grid.is-collapsed li:nth-child(n + 7) {
    display: none;
}

.ha-toggle {
    margin-top: 16px;
}

/* ---------- Careers ---------- */
.ha-careers {
    display: grid;
    gap: 22px;
    margin-bottom: 36px;
}

@media (min-width: 900px) {
    .ha-careers {
        grid-template-columns: 1fr 1fr;
    }
}

.ha-careers__block {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
}

.ha-careers__block h3 {
    margin-bottom: 18px;
    font-size: 1.125rem;
}

.ha-roles {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

.ha-roles li {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    font-family: var(--font-head);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.ha-settings {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ha-settings li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
    color: #fff;
}

.ha-settings .icon {
    color: var(--orange);
}

.ha-careers__text {
    max-width: 900px;
    color: var(--text-on-dark);
}

.ha-careers__note {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(242, 154, 56, 0.12);
    font-size: var(--fs-sm);
    color: var(--text-on-dark);
}

.ha-careers__note .icon {
    margin-top: 3px;
    color: var(--orange);
}

/* ---------- Certification ---------- */
.ha-receive__title {
    margin-bottom: 18px;
    font-size: 1.25rem;
}

.ha-receive {
    display: grid;
    gap: 14px;
}

.ha-receive li {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.ha-receive .icon-badge {
    flex: none;
    margin: 0;
}

.ha-receive h4 {
    margin-bottom: 4px;
}

.ha-receive p {
    font-size: var(--fs-sm);
    color: var(--text-2);
}
