.content-auto {
    content-visibility: auto;
}

.card-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.btn-hover {
    transition: all 0.3s ease;
}

/* 同时使用 :hover 和 :focus 伪类 */
.btn-hover:hover,
.btn-hover:focus {
    transform: translateY(-2px);
}

.subject-card {
    transition: all 0.3s ease;
}

/* 同时使用 :hover 和 :focus 伪类 */
.subject-card:hover,
.subject-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(22, 93, 255, 0.15);
}

.search-focus {
    transition: all 0.3s ease;
}

.search-focus:focus-within {
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.3);
}