/* Department pages — diploma programme layout */
#dept-page.asite-dept-section {
    background: #f8f9fb;
}

#dept-page .asite-dept-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

#dept-page .asite-dept-main {
    min-width: 0;
}

#dept-page .asite-dept-hero {
    display: flex;
    gap: 22px;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 28px 30px;
    margin-bottom: 28px;
    border: 1px solid rgba(7, 41, 77, 0.07);
    box-shadow: 0 6px 28px rgba(7, 41, 77, 0.06);
}

#dept-page .asite-dept-hero__icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(7, 41, 77, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

#dept-page .asite-dept-hero__icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

#dept-page .asite-dept-hero h3 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #07294d;
}

#dept-page .asite-dept-hero p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.65;
}

#dept-page .asite-dept-panel {
    background: #fff;
    border-radius: 14px;
    padding: 32px 34px;
    border: 1px solid rgba(7, 41, 77, 0.07);
    box-shadow: 0 6px 28px rgba(7, 41, 77, 0.06);
    margin-bottom: 28px;
}

#dept-page .asite-dept-panel h4 {
    font-size: 20px;
    color: #07294d;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 198, 0, 0.45);
}

#dept-page .asite-dept-panel p {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
    text-align: justify;
    margin-bottom: 16px;
}

#dept-page .asite-dept-panel p:last-child {
    margin-bottom: 0;
}

#dept-page .asite-dept-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

#dept-page .asite-dept-highlights li {
    font-size: 14px;
    color: #444;
    padding-left: 26px;
    position: relative;
    line-height: 1.5;
}

#dept-page .asite-dept-highlights li::before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 2px;
    color: #ffc600;
    font-size: 13px;
}

#dept-page .asite-dept-media img {
    width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    max-height: 280px;
}

#dept-page .asite-dept-aside {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

#dept-page .asite-dept-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(7, 41, 77, 0.07);
    box-shadow: 0 6px 28px rgba(7, 41, 77, 0.06);
}

#dept-page .asite-dept-card__head {
    background: linear-gradient(135deg, #07294d 0%, #0a3d6e 100%);
    color: #fff;
    padding: 18px 22px;
    font-size: 17px;
    font-weight: 600;
}

#dept-page .asite-dept-card__body {
    padding: 8px 0 12px;
}

#dept-page .asite-dept-facts {
    list-style: none;
    margin: 0;
    padding: 0;
}

#dept-page .asite-dept-facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 22px;
    font-size: 14px;
    border-bottom: 1px solid rgba(7, 41, 77, 0.06);
    color: #555;
}

#dept-page .asite-dept-facts li:last-child {
    border-bottom: none;
}

#dept-page .asite-dept-facts li i {
    color: #07294d;
    margin-right: 8px;
    width: 18px;
}

#dept-page .asite-dept-facts li span {
    font-weight: 600;
    color: #07294d;
    text-align: right;
}

#dept-page .asite-dept-facts a {
    color: #07294d;
    font-weight: 600;
}

#dept-page .asite-dept-nav a {
    display: block;
    padding: 11px 22px;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid rgba(7, 41, 77, 0.06);
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

#dept-page .asite-dept-nav a:last-child {
    border-bottom: none;
}

#dept-page .asite-dept-nav a:hover {
    background: rgba(255, 198, 0, 0.12);
    color: #07294d;
    padding-left: 28px;
}

#dept-page .asite-dept-nav a.is-active {
    background: rgba(7, 41, 77, 0.06);
    color: #07294d;
    font-weight: 600;
    border-left: 4px solid #ffc600;
    padding-left: 18px;
}

#dept-page .asite-dept-quick a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 22px;
    font-size: 14px;
    color: #07294d;
    border-bottom: 1px solid rgba(7, 41, 77, 0.06);
}

#dept-page .asite-dept-quick a i {
    color: #ffc600;
    font-size: 12px;
}

@media (max-width: 991px) {
    #dept-page .asite-dept-layout {
        grid-template-columns: 1fr;
    }

    #dept-page .asite-dept-aside {
        position: static;
    }

    #dept-page .asite-dept-highlights {
        grid-template-columns: 1fr;
    }

    #dept-page .asite-dept-hero {
        flex-direction: column;
        text-align: center;
    }
}
