/* Department Page Styles */



/* Media queries for responsive design */
@media (max-width: 767.98px) {
    /* 移除相關連結部分 */
    .mobile-edge-padding { padding-left: 1rem; padding-right: 1rem; }
}

/* Department Banner */
#department-banner {
    background-color: var(--sp-grey-light);
    padding: 3rem 0;
    border-bottom: 4px solid var(--fujen-blue);
}

.department-college {
    display: inline-block;
    background-color: var(--fujen-blue);
    color: var(--white-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.department-name {
    color: var(--fujen-blue);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0;
}

.college-logo {
    max-height: 100px;
}

/* Department Video */
#department-video {
    background-color: #f8f9fa;
}

#department-video .video-player {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

#department-video .video-player:hover {
    transform: translateY(-5px);
}

#department-video .video-menu {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

#department-video .video-menu h4 {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

#department-video .list-group-item {
    margin-bottom: 10px;
    border-radius: 6px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#department-video .list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

#department-video .list-group-item.active {
    background-color: rgba(0, 123, 255, 0.15);
    border: none;
    color: inherit;
    padding-left: 20px;
}

#department-video .list-group-item h5 {
    font-size: 1rem;
    font-weight: 600;
}

#department-video .list-group-item p {
    font-size: 0.85rem;
    color: #6c757d;
}

#department-video .list-group-item.active h5 {
    color: var(--primary);
    font-weight: 700;
}

#department-video .list-group-item.active p {
    color: #495057;
}

@media (max-width: 991.98px) {
    #department-video .video-menu {
        margin-top: 20px;
    }
}

/* Department Features */
.feature-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--fujen-blue);
}

.feature-card .card-title {
    color: var(--fujen-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Department Introduction */
.department-content h3 {
    color: var(--fujen-blue);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.department-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.learning-method-item {
    margin-bottom: 2rem;
}

.learning-method-item h4 {
    color: var(--fujen-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.learning-method-item img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Related Departments */
.related-dept-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-dept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.dept-college {
    display: inline-block;
    background-color: var(--fujen-blue);
    color: var(--white-color);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.related-dept-card .card-title {
    color: var(--fujen-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.related-dept-card .btn-outline-primary i {
    transition: transform 0.3s;
}

.related-dept-card .btn-outline-primary:hover i {
    transform: translateX(5px);
}

/* Contact Info */
.contact-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card h4 {
    color: var(--fujen-blue);
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.contact-card i {
    color: var(--sp-red);
}

.contact-link {
    color: var(--sp-red);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .department-name {
        font-size: 2rem;
    }
    
    .college-logo {
        max-height: 80px;
        margin-top: 1rem;
    }
    
    .learning-method-item img {
        margin-bottom: 1rem;
    }
}
