/* ========================================
   DDI Akademi - ULAK intake additions (card B)
   Every selector is scoped to an ulak-* class or [data-ulak-*] attribute;
   nothing here restyles existing site components.
   ======================================== */

.ulak-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: calc(100% - 24px);
    overflow-wrap: anywhere;
}

.ulak-badge.ulak-badge-full {
    background: rgba(0, 0, 0, 0.6);
}

.ulak-apply {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.ulak-apply-btn,
.ulak-other-run .ulak-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    background: #eebd2b;
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ulak-apply-btn:hover {
    background: #d4a820;
}

.ulak-apply-btn:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

.ulak-historical {
    opacity: 0.75;
    font-style: italic;
}

.ulak-other-runs[hidden] {
    display: none;
}

.ulak-other-runs-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.ulak-other-run {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.ulak-other-title {
    flex: 1 1 16rem;
    font-weight: 600;
    color: #1a1a1a;
    overflow-wrap: anywhere;
}

.ulak-other-start {
    color: #1a1a1a;
    opacity: 0.8;
}

[data-ulak-course].ulak-live .course-image {
    position: relative;
}
