/* IAUI Academy — Educations section visual theme
   Shared by templates/educations/*.html so every page in the section
   (index, scholarships, training centers, institution profiles, CPD, ...)
   reads as one consistent, distinctive system rather than a patchwork
   of per-page styles. */

:root {
    --edu-navy-deep: #16233f;
    --edu-navy: #203864;
    --edu-navy-soft: #33508c;
    --edu-gold: #e8b923;
    --edu-lemon: #ffea00;
    --edu-paper: #f6f7fb;
    --edu-line: #e3e7f0;
    --edu-ink: #1d2740;
    --edu-muted: #5b667e;
}

#section {
    background: var(--edu-paper);
}

a:hover {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

p {
    text-align: justify;
    font-size: 15.5px;
}

dd {
    margin-left: 30px;
}

#visi_misi li {
    padding-left: 10px;
    margin-bottom: 11px;
}

p + ul {
    margin-top: -18px;
}

#event img:hover {
    box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%), 0 2px 10px 0 rgb(0 0 0 / 10%);
}

.splide img {
    max-height: 500px;
    object-fit: cover;
    object-position: center;
}

/* Headings */

.judul {
    text-decoration: underline;
    text-decoration-color: var(--edu-lemon);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: bold;
    color: var(--edu-ink);
}

.judul1 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--edu-ink);
    text-decoration: none;
}

/* Breadcrumb */

.edu-crumb {
    font-size: 13px;
    color: var(--edu-muted);
    letter-spacing: .2px;
}

.edu-crumb a {
    color: var(--edu-navy);
    font-weight: 600;
}

.edu-crumb .current {
    color: var(--edu-ink);
    font-weight: 600;
}

/* Sidebar navigation */

.edu-nav {
    background: linear-gradient(180deg, var(--edu-navy-deep), var(--edu-navy));
    border-radius: 14px;
    padding: 24px 16px;
}

.edu-nav .kicker {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--edu-lemon);
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edu-nav .kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--edu-lemon);
    border-radius: 2px;
    display: inline-block;
}

.edu-nav a,
.edu-nav dd a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 13.5px;
    line-height: 1.35;
    padding: 10px 10px;
    border-radius: 8px;
    margin-bottom: 2px;
    border-left: 3px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.edu-nav a i {
    font-size: 10px;
    opacity: .65;
    width: 12px;
    flex-shrink: 0;
}

.edu-nav a:hover,
.edu-nav dd a:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.edu-nav a.active,
.edu-nav dd a.active {
    background: rgba(255, 234, 0, .1);
    color: var(--edu-lemon) !important;
    border-left-color: var(--edu-lemon);
    font-weight: 600;
}

.edu-nav dl {
    margin: 0;
}

.edu-nav dd {
    margin-left: 14px;
}

/* variant: plain in-page anchor list (institution profile pages) */

.edu-nav-plain ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.edu-nav-plain li {
    margin: 0;
}

.edu-nav-plain a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 13.5px;
    padding: 9px 10px;
    border-radius: 8px;
    margin-bottom: 2px;
    border-left: 3px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.edu-nav-plain a::before {
    content: "\27A4";
    font-size: 10px;
    opacity: .6;
}

.edu-nav-plain a:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

/* Content panel */

.edu-panel {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    border: 1px solid var(--edu-line);
}

/* Hero banner */

.edu-hero {
    background: linear-gradient(135deg, var(--edu-navy-deep), var(--edu-navy) 60%, var(--edu-navy-soft));
    border-radius: 12px;
    padding: 34px 32px;
    color: #fff;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.edu-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 234, 0, .16), transparent 70%);
}

.edu-hero .kicker {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.edu-hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 2.1rem;
    margin: 0 0 6px;
    position: relative;
    z-index: 1;
}

.edu-hero .rule {
    width: 46px;
    height: 3px;
    background: var(--edu-lemon);
    margin: 14px 0 16px;
    position: relative;
    z-index: 1;
}

.edu-hero p {
    color: rgba(255, 255, 255, .82);
    font-size: 15.5px;
    max-width: 680px;
    text-align: left;
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
}

.edu-hero p i {
    color: rgba(255, 255, 255, .62);
}

.edu-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .3px;
    margin-top: 16px;
    margin-right: 8px;
    position: relative;
    z-index: 1;
}

.edu-chip i {
    color: var(--edu-lemon);
}

/* Directory list (e.g. training centers) */

.edu-list {
    position: relative;
}

.edu-rail {
    position: absolute;
    left: 41px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--edu-line) 0 6px, transparent 6px 12px);
    z-index: 0;
}

.edu-item {
    position: relative;
    display: flex;
    gap: 22px;
    padding: 20px 6px;
    border-bottom: 1px solid var(--edu-line);
    z-index: 1;
}

.edu-item:last-child {
    border-bottom: none;
}

.edu-medal {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--edu-navy);
    box-shadow: 0 0 0 4px #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    z-index: 1;
    transition: border-color .15s ease;
}

.edu-medal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.edu-body h4 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--edu-ink);
    margin-bottom: 8px;
    text-decoration: underline;
    text-decoration-color: var(--edu-lemon);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.edu-body p {
    text-align: justify;
    font-size: 15.5px;
    color: var(--edu-muted);
    margin-bottom: 12px;
}

.edu-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--edu-navy);
    border-bottom: 2px solid var(--edu-lemon);
    padding-bottom: 2px;
}

.edu-cta i {
    font-size: 11px;
    transition: transform .15s ease;
}

.edu-item:hover .edu-cta i {
    transform: translateX(3px);
}

.edu-item:hover .edu-medal {
    border-color: var(--edu-gold);
}

/* Notices (e.g. "no scholarship available") */

.edu-notice {
    background: linear-gradient(135deg, #fff7dc, #fef3c2);
    border: 1px solid #f0dd93;
    border-radius: 12px;
    padding: 22px 24px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--edu-ink);
}

/* Accessibility & motion */

a:focus-visible {
    outline: 2px solid var(--edu-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .edu-cta i,
    .edu-medal {
        transition: none;
    }
}

@media (max-width: 767px) {
    .edu-hero {
        padding: 26px 22px;
    }

    .edu-panel {
        padding: 22px 18px;
    }

    .edu-item {
        gap: 14px;
    }

    .edu-medal {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }

    .edu-rail {
        left: 29px;
    }
}
