/**
 * IMS Academy What You Will Learn
 * Responsive, stable presentation for tailored course learning outcomes.
 */

body.ims-academy-wyl-page {
    --ims-wyl-navy: #082d5b;
    --ims-wyl-navy-deep: #062247;
    --ims-wyl-gold: #c58d2d;
    --ims-wyl-ink: #17243a;
    --ims-wyl-muted: #56657a;
    --ims-wyl-line: #dfe7f0;
    --ims-wyl-surface: #f8fafc;
}

body.ims-academy-wyl-page .ims-wyl-section {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 32px 0;
    padding: clamp(24px, 3.5vw, 38px);
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(197, 141, 45, 0.10), transparent 32%),
        linear-gradient(145deg, #ffffff 0%, var(--ims-wyl-surface) 100%);
    border: 1px solid var(--ims-wyl-line);
    border-top: 4px solid var(--ims-wyl-gold);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(8, 45, 91, 0.08);
    color: var(--ims-wyl-ink);
    transform: none;
}

body.ims-academy-wyl-page .ims-wyl-section::after {
    content: '';
    position: absolute;
    right: -58px;
    bottom: -72px;
    width: 170px;
    height: 170px;
    border: 24px solid rgba(8, 45, 91, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

body.ims-academy-wyl-page .ims-wyl-header,
body.ims-academy-wyl-page .ims-wyl-list {
    position: relative;
    z-index: 1;
}

body.ims-academy-wyl-page .ims-wyl-eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 8px;
    color: var(--ims-wyl-gold);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

body.ims-academy-wyl-page .ims-wyl-heading {
    margin: 0;
    color: var(--ims-wyl-navy-deep);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.02em;
}

body.ims-academy-wyl-page .ims-wyl-intro {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--ims-wyl-muted);
    font-size: 1rem;
    line-height: 1.7;
}

body.ims-academy-wyl-page .ims-wyl-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 26px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

body.ims-academy-wyl-page .ims-wyl-list li {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    margin: 0;
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(8, 45, 91, 0.09);
    border-radius: 12px;
    color: var(--ims-wyl-ink);
    font-size: 0.98rem;
    line-height: 1.58;
}

body.ims-academy-wyl-page .ims-wyl-check {
    display: inline-flex;
    flex: 0 0 25px;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 1px 11px 0 0;
    background: var(--ims-wyl-navy);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(8, 45, 91, 0.16);
}

body.ims-academy-wyl-page .ims-wyl-check svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: #ffffff;
}

body.ims-academy-wyl-page .ims-wyl-item-text {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

body.ims-academy-wyl-page .ims-wyl-shortcode-anchor {
    min-height: 1px;
}

@media (max-width: 760px) {
    body.ims-academy-wyl-page .ims-wyl-section {
        margin: 24px 0;
        padding: 23px 18px;
        border-radius: 15px;
    }

    body.ims-academy-wyl-page .ims-wyl-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
        margin-top: 20px;
    }

    body.ims-academy-wyl-page .ims-wyl-list li {
        padding: 13px;
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ims-academy-wyl-page .ims-wyl-section,
    body.ims-academy-wyl-page .ims-wyl-section * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
