/* 首页样式 */

/* Banner轮播区域 */
.banner-section {
    position: relative;
}

.banner-section .carousel-control {
    background: none;
    opacity: 1;
}

.banner-section .carousel-control img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: auto;
}

/* Banner导航按钮 */
.banner-nav {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.banner-nav-list {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.banner-nav-item {
    width: 45px !important;
    height: 10px !important;
    background: rgba(255,255,255,0.9);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.banner-nav-item.active {
    background: #e15616 !important;
}

.banner-nav-item:hover {
    background: #e15616 !important;
}

/* 通知公告模块 */
.notice-section {
    background: url('/assets/image/notice_bg.png') repeat-x;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.notice-section .container {
    width: 1570px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.notice-title {
    display: flex;
    align-items: center;
    margin-right: 30px;
    flex-shrink: 0;
}

.notice-title img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.notice-title span {
    color: #0c4e97;
    font-size: 20px;
    font-weight: bold;
}

.notice-scroll {
    flex: 1;
    overflow: hidden;
    height: 30px;
    position: relative;
}

.notice-wrapper {
    position: absolute;
    width: 100%;
    animation: scrollUp 8s linear infinite;
}

.notice-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.notice-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    height: 30px;
}

.notice-item {
    width: 30%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.notice-item .date {
    color: #084154;
    font-size: 16px;
    margin-right: 10px;
    flex-shrink: 0;
}

.notice-item a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 新闻中心 */
.news-section {
    background: #f0f7ff;
    padding-top: 60px;
    height: 880px;
}

.news-section .container {
    width: 1570px;
    margin: 0 auto;
    position: relative;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.news-title-left {
    display: flex;
    align-items: baseline;
}

.news-title-left .divider {
    color: #931d22;
    font-size: 48px;
    margin-right: 10px;
}

.news-title-left .title {
    color: #931d22;
    font-size: 48px;
    margin-right: 15px;
}

.news-title-left .subtitle {
    color: #999;
    font-size: 24px;
    text-transform: uppercase;
}

.news-tabs {
    display: flex;
    gap: 25px;
}

.news-tabs a {
    color: #931d22;
    font-size: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.news-tabs a.active {
    font-weight: bold;
    border-bottom: 2px solid #931d22;
}

.news-tabs .divider {
    color: #931d22;
    font-size: 24px;
}

/* 新闻内容区域 */
.news-content {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
    position: absolute;
    width: 100%;
    pointer-events: none;
}

.news-content.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

/* 左侧大新闻 */
.news-left {
    width: 710px;
}

.news-big {
    background: #fff;
    position: relative;
}

.news-big-image {
    position: relative;
    overflow: hidden;
}

.news-big-image img {
    width: 710px;
    height: 440px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-big-image:hover img {
    transform: scale(1.08);
}

.news-date-tag {
    position: absolute;
    left: 30px;
    bottom: 10px;
    background: #931d22;
    color: #fff;
    padding: 10px 9px;
    text-align: center;
    border-radius: 15px;
}

.news-date-tag .day {
    font-size: 32px;
    line-height: 1;
}

.news-date-tag .line {
    width: 30px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    margin: 8px auto;
}

.news-date-tag .year-month {
    font-size: 12px;
}

.news-big-content {
    padding: 35px;
    height: 170px;
    width: 710px;
    background-color: #c9eff3;
}

.news-big-content h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.news-big-content h3 a {
    color: #000;
    text-decoration: none;
}

.news-big-content .btn-view {
    display: inline-block;
    background: #122aa4;
    color: #fff;
    padding: 5px 15px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

.news-big-content .desc {
    color: #181818;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 右侧小新闻列表 */
.news-right {
    width: 840px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-small {
    background: #c9eff3;
    display: flex;
    padding: 20px;
}

.news-small-image {
    margin-right: 15px;
    overflow: hidden;
}

.news-small-image img {
    width: 250px;
    height: 150px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-small-image:hover img {
    transform: scale(1.08);
}

.news-small-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-small-content h4 {
    font-size: 24px;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.news-small-content h4 a {
    color: #000;
    text-decoration: none;
}

.news-small-content .desc {
    color: #181818;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-small-content .btn-view {
    display: inline-block;
    background: #122aa4;
    color: #fff;
    padding: 4px 12px;
    font-size: 12px;
    text-decoration: none;
    width: fit-content;
    border-radius: 5px;
}

/* 学校简介 */
.about-section {
    background: #88171b;
    padding: 65px 0;
    height: 988px;
    position: relative;
}

.about-section .container {
    width: 1570px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    justify-content: space-between;
}

.about-left {
    width: 50%;
    color: #fce2b8;
}

.about-title {
    margin-bottom: 85px;
    margin-top: 30px;
}

.about-title-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.about-title-row .divider {
    font-size: 48px;
    margin-right: 10px;
}

.about-title-row .title {
    font-size: 48px;
    margin-right: 15px;
}

.about-title-row .subtitle {
    font-size: 24px;
    text-transform: uppercase;
}

.about-subtitle {
    margin-bottom: 30px;
}

.about-subtitle p {
    font-size: 27px;
    margin: 0 0 5px 0;
}

.about-subtitle h3 {
    font-size: 42px;
    margin: 0;
}

.about-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    width: 630px;
}

.about-btn {
    display: inline-block;
    background: #ce8910;
    color: #fff;
    padding: 8px 90px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 25px;
    margin-bottom: 30px;
}

.about-stats-title {
    margin-bottom: 10px;
}

.about-stats-title p {
    font-size: 27px;
    margin: 0 0 15px 0;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    width: 630px;
    color: #fff;
}

.about-stats .stat-item {
    text-align: center;
}

.about-stats .stat-number {
    font-size: 60px;
    line-height: 1;
}

.about-stats .stat-label {
    font-size: 14px;
    margin-top: 5px;
}

.about-bg-image {
    position: absolute;
    bottom: 0;
    z-index: 0;
}

.about-bg-image img {
    width: 717px;
    height: auto;
}

/* 右侧图片网格 */
.about-right {
    width: 865px;
    z-index: 1;
}

/* 图片飞入动画 */
@keyframes flyInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyInFromTop {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flyInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 图片初始状态 - 使用 visibility 避免布局问题 */
.about-row-1 .img-large,
.about-row-1 .img-small,
.about-row-2 .img-left,
.about-row-2 .img-right-top .img-item,
.about-row-2 .img-right-top .img-item-wide,
.about-row-2 .img-right-bottom {
    opacity: 0;
}

/* 动画完成后保持可见 - 使用 animation-fill-mode: forwards */
.about-row-1 .img-large.animate {
    animation: flyInFromLeft 0.8s ease forwards;
}

.about-row-1 .img-small.animate {
    animation: flyInFromRight 0.8s ease forwards;
}

.about-row-2 .img-left.animate {
    animation: flyInFromBottom 0.8s ease forwards;
}

.about-row-2 .img-right-top .img-item.animate {
    animation: flyInFromTop 0.8s ease forwards;
}

.about-row-2 .img-right-top .img-item-wide.animate {
    animation: flyInFromRight 0.8s ease forwards;
}

.about-row-2 .img-right-bottom.animate {
    animation: flyInFromBottom 0.8s ease forwards;
}

/* 动画完成后保持 opacity: 1，即使移除 animate 类 */
.about-row-1 .img-large.animated,
.about-row-1 .img-small.animated,
.about-row-2 .img-left.animated,
.about-row-2 .img-right-top .img-item.animated,
.about-row-2 .img-right-top .img-item-wide.animated,
.about-row-2 .img-right-bottom.animated {
    opacity: 1;
    transform: translate(0, 0);
}

.about-row-1 {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
    justify-content: space-between;
    width: 865px;
}

.about-row-1 .img-large {
    flex: 1;
}

.about-row-1 .img-large img {
    width: 535px;
    height: auto;
    display: block;
}

.about-row-1 .img-small {
    width: 315px;
}

.about-row-1 .img-small img {
    width: 315px;
    height: auto;
    display: block;
}

.about-row-2 {
    display: flex;
    gap: 15px;
    width: 865px;
}

.about-row-2 .img-left {
    width: 330px;
}

.about-row-2 .img-left img {
    width: 327px;
    height: auto;
    display: block;
}

.about-row-2 .img-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-row-2 .img-right-top {
    display: flex;
    gap: 15px;
}

.about-row-2 .img-right-top .img-item {
    flex: 1;
}

.about-row-2 .img-right-top .img-item img {
    width: 242px;
    height: auto;
    display: block;
}

.about-row-2 .img-right-top .img-item-wide {
    width: 267px;
}

.about-row-2 .img-right-top .img-item-wide img {
    width: 262px;
    height: auto;
    display: block;
}

.about-row-2 .img-right-bottom img {
    width: 518px;
    height: auto;
    display: block;
}

/* 师资力量 */
.teacher-section {
    background: #fff;
    padding-top: 100px;
    background: url('/assets/image/sz_bg.png') repeat-x left bottom;
    background-size: auto 175px;
    align-items: flex-end;
    height: 710px;
}

.teacher-section .container {
    width: 1570px;
    margin: 0 auto;
}

.teacher-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.teacher-title {
    display: flex;
    align-items: baseline;
    color: #931d22;
}

.teacher-title .divider {
    font-size: 48px;
    margin-right: 10px;
}

.teacher-title .title {
    font-size: 48px;
    margin-right: 15px;
}

.teacher-title .subtitle {
    font-size: 24px;
    text-transform: uppercase;
}

.teacher-tabs {
    display: flex;
    gap: 30px;
    font-size: 24px;
    align-items: center;
    flex-direction: column;
}

.teacher-tabs-nav {
    display: flex;
    gap: 15px;
}

.teacher-tabs-nav a {
    text-decoration: none;
    color: #931d22;
    cursor: pointer;
    transition: all 0.3s;
}

.teacher-tabs-nav a.active {
    font-weight: bold;
    border-bottom: 2px solid #931d22;
}

.teacher-tabs-nav .divider {
    color: #931d22;
}

.teacher-indicators img {
    cursor: pointer;
    transition: opacity 0.3s;
}

.teacher-indicators img:hover {
    opacity: 0.7;
}

.teacher-indicators {
    display: flex;
    margin-left: 20px;
    align-items: center;
}

.teacher-indicators img {
    width: 30px;
    height: auto;
    margin: 0 5px;
    cursor: pointer;
}

.teacher-indicators .indicator-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
}

/* 教师列表 */
.teacher-list-wrapper {
    position: relative;
    overflow: hidden;
}

.teacher-list {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s ease;
}

.teacher-list.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

/* 教师风采从上方掉落动画 */
@keyframes dropFromTop {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.teacher-item {
    flex: 1;
    display: flex;
    width: 50%;
}

.teacher-list[data-list="mingshi"] .teacher-item {
    opacity: 0;
}

.teacher-list[data-list="mingshi"] .teacher-item.animate {
    animation: dropFromTop 0.6s ease forwards;
}

.teacher-list[data-list="mingshi"] .teacher-item:nth-child(1).animate { animation-delay: 0s; }
.teacher-list[data-list="mingshi"] .teacher-item:nth-child(2).animate { animation-delay: 0.1s; }
.teacher-list[data-list="mingshi"] .teacher-item:nth-child(3).animate { animation-delay: 0.2s; }
.teacher-list[data-list="mingshi"] .teacher-item:nth-child(4).animate { animation-delay: 0.3s; }
.teacher-list[data-list="mingshi"] .teacher-item:nth-child(5).animate { animation-delay: 0.4s; }
.teacher-list[data-list="mingshi"] .teacher-item:nth-child(6).animate { animation-delay: 0.5s; }
.teacher-list[data-list="mingshi"] .teacher-item:nth-child(7).animate { animation-delay: 0.6s; }
.teacher-list[data-list="mingshi"] .teacher-item:nth-child(8).animate { animation-delay: 0.7s; }

/* 动画完成后保持可见 */
.teacher-list[data-list="mingshi"] .teacher-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.teacher-photo {
    flex-shrink: 0;
    overflow: hidden;
}

.teacher-photo img {
    width: 335px;
    height: 430px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* 名师风采 - 放大+亮度 */
.teacher-list[data-list="mingshi"] .teacher-photo:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* 教师风采 - 放大+旋转 */
.teacher-list[data-list="jiaoshi"] .teacher-photo:hover img {
    transform: scale(1.08) rotate(2deg);
}

.teacher-info {
    flex: 1;
    padding: 30px;
}

.teacher-info h3 {
    font-size: 40px;
    color: #000;
    margin: 0 0 15px 0;
}

.teacher-info .subtitle {
    font-size: 20px;
    color: #931d22;
    margin: 0 0 15px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.teacher-info .desc {
    font-size: 14px;
    color: #000;
    line-height: 1.8;
    margin: 0 0 20px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.teacher-info .btn-view {
    display: inline-block;
    background: #ce8910;
    color: #fff;
    padding: 8px 30px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 20px;
}

/* 特色课程 */
.course-section {
    background: #1e4a8e;
    padding: 55px 0;
    height: 536px;
}

.course-section .container {
    width: 1570px;
    margin: 0 auto;
}

.course-content {
    display: flex;
    gap: 60px;
}

.course-left,
.course-right {
    flex: 1;
}

.course-title {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
}

.course-title .divider {
    color: #fff;
    font-size: 36px;
    margin-right: 10px;
}

.course-title .title {
    color: #fff;
    font-size: 36px;
    margin-right: 15px;
}

.course-title .subtitle {
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
}

.course-right .course-title .subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.course-item {
    display: flex;
    gap: 20px;
    border-radius: 8px;
}

.course-item-image {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.course-item-image img {
    width: 230px;
    height: 135px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* 队伍建设 - 放大+阴影 */
.course-left .course-item-image:hover img {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* 教学教研 - 放大+灰度变彩色+边框发光 */
.course-right .course-item-image {
    position: relative;
}

.course-right .course-item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

/* .course-right .course-item-image:hover::before {
    border-color: #931d22;
    box-shadow: 0 0 15px rgba(147, 29, 34, 0.5);
} */

.course-right .course-item-image:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.course-right .course-item-image img {
    filter: grayscale(30%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.course-item-content {
    flex: 1;
}

.course-item-content h4 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.course-item-content .desc {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.course-item-content .meta {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin: 0;
}

/* 校园风采 */
.gallery-section {
    background: #fff;
    padding: 80px 0;
    height: 925px;
}

.gallery-section .container {
    width: 1570px;
    margin: 0 auto;
}

.gallery-content {
    display: flex;
    gap: 40px;
}

.gallery-left,
.gallery-right {
    flex: 1;
}

.gallery-title {
    display: flex;
    align-items: baseline;
    margin-bottom: 50px;
}

.gallery-right .gallery-title {
    margin-bottom: 25px;
    justify-content: space-between;
}

.gallery-title .divider {
    color: #931d22;
    font-size: 50px;
    margin-right: 10px;
}

.gallery-title .title {
    color: #931d22;
    font-size: 50px;
    margin-right: 15px;
}

.gallery-title .subtitle {
    color: #5c5c5c;
    font-size: 24px;
    text-transform: uppercase;
}

.gallery-title-left {
    display: flex;
    align-items: baseline;
}

/* 由大到小进入动画 */
@keyframes scaleInLarge {
    from {
        opacity: 0;
        transform: scale(1.3);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleInMedium {
    from {
        opacity: 0;
        transform: scale(1.2);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleInSmall {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-image-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    height: 605px;
    justify-content: space-between;
}

.gallery-image-grid .img-large,
.gallery-image-grid .img-item,
.gallery-image-grid .img-item-wide {
    opacity: 0;
    overflow: hidden;
}

.gallery-image-grid .img-large.animate {
    animation: scaleInLarge 0.8s ease forwards;
}

.gallery-image-grid .img-item.animate {
    animation: scaleInMedium 0.8s ease forwards;
    animation-delay: 0.15s;
}

.gallery-image-grid .img-item-wide.animate {
    animation: scaleInSmall 0.8s ease forwards;
    animation-delay: 0.3s;
}

/* 动画完成后保持可见 */
.gallery-image-grid .img-large.animated,
.gallery-image-grid .img-item.animated,
.gallery-image-grid .img-item-wide.animated {
    opacity: 1;
    transform: scale(1);
}

.gallery-image-grid .img-large {
    grid-row: span 2;
}

.gallery-image-grid .img-large img {
    width: 778px;
    height: 225px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image-grid .img-item img {
    width: 368px;
    height: 364px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image-grid .img-item-wide img {
    width: 390px;
    height: 364px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 鼠标悬停效果 */
.gallery-image-grid a:hover img {
    transform: scale(1.05);
}

/* 德育活动导航 */
.gallery-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: flex-end;
    align-items: center;
}

.gallery-nav img {
    width: 30px;
    height: auto;
    cursor: pointer;
}

.gallery-nav .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #138bb8;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-nav .dot.active {
    background: #931d22;
    transform: scale(1.3);
}

/* 活动列表 */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    /* height: 600px; */
    overflow: hidden;
}

.activity-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.activity-item {
    display: flex;
    background: #cddae0;
    height: 185px;
}

.activity-image {
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.activity-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
    z-index: 2;
    pointer-events: none;
}

.activity-image:hover::before {
    left: 100%;
}

.activity-image img {
    width: 325px;
    height: 185px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-image:hover img {
    transform: scale(1.1);
}

.activity-content {
    flex: 1;
    padding: 15px;
}

.activity-content h4 {
    color: #000;
    font-size: 28px;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.activity-content .desc {
    color: #000;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.activity-content .btn-view {
    display: inline-block;
    background: #ca800d;
    color: #fff;
    padding: 4px 15px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 12px;
}

/* 招生专栏 */
.admission-section {
    background: url('/assets/image/zs_bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 67px 0;
    min-height: 700px;
    height: 990px;
}

.admission-section .container {
    width: 1570px;
    margin: 0 auto;
}

.admission-header {
    text-align: center;
    margin-bottom: 50px;
}

.admission-header h2 {
    color: #931d22;
    font-size: 50px;
    margin: 0 0 15px 0;
}

.admission-header .subtitle {
    color: #5c5c5c;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 3px;
}

.admission-content {
    display: flex;
}

.admission-left,
.admission-right {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
}

.admission-title {
    margin-bottom: 30px;
}

.admission-title-row {
    display: flex;
    align-items: baseline;
}

.admission-title-row .divider {
    color: #931d22;
    font-size: 36px;
    margin-right: 10px;
}

.admission-title-row .title {
    color: #931d22;
    font-size: 36px;
    margin-right: 15px;
}

.admission-title-row .subtitle {
    color: #5c5c5c;
    font-size: 24px;
    text-transform: uppercase;
}

/* 表单样式 */
.admission-form .form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    background: #fff;
    height: 57px;
}

.admission-form .form-group.textarea-group {
    align-items: flex-start;
    padding: 15px;
}

.admission-form label {
    color: #000;
    font-size: 16px;
    white-space: nowrap;
    margin-right: 10px;
}

.admission-form input,
.admission-form textarea {
    flex: 1;
    padding: 15px 0;
    border: none;
    font-size: 16px;
    outline: none;
    padding-top: 5px;
}

.admission-form textarea {
    resize: none;
}

.admission-form button {
    width: 100%;
    padding: 18px;
    background: #931d22;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

/* 招生简章右侧 */
.admission-image {
    margin-bottom: 20px;
}

.admission-image img {
    width: 700px;
    height: 300px;
    object-fit: cover;
}

.admission-brochure {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.admission-brochure-content {
    flex: 1;
}

.admission-brochure-content h3 {
    color: #931d22;
    font-size: 26px;
    margin: 0 0 10px 0;
}

.admission-brochure-content .desc {
    color: #414141;
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

.admission-brochure .btn-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #931d22;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: 15px;
    font-size: 20px;
    font-weight: bold;
}

/* 1600px 以下适配 */
@media (max-width: 1600px) {
    body{
        min-width: 1600px;
    }
    .main-content .container{
         width: 1400px !important;
    }

    .news-section .container {
        width: 1400px !important;
        margin: 0 auto;
        position: relative;
    }

    .about-section .container {
        width: 1400px !important;
        margin: 0 auto;
    }

    .about-desc {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 30px;
        width: 550px;
    }

    .about-stats {
        width: 540px;
    }

    .about-left{
        margin-right: 20px;
    }

    .teacher-section .container {
        width: 1400px !important;
        margin: 0 auto;
    }

    .course-section .container {
        width: 1400px !important;
        margin: 0 auto;
    }

    .gallery-section .container {
        width: 1400px !important;
        margin: 0 auto;
    }

    .admission-section .container {
        width: 1400px !important;
        margin: 0 auto;
    }

}

/* 1440px 以下适配 */
@media (max-width: 1440px) {
    body{
        min-width: 1440px;
    }

    .notice-section .container{
        width: 1440px !important;
        padding: 0 20px;
    }

    .news-section{
        padding-top: 40px;
        height: 830px;
    }
  
    .news-section .container {
        width: 1280px !important;
        margin: 0 auto;
        position: relative;
    }

    .about-right {
        width: 865px;
        z-index: 1;
        margin-top: 60px;
    }

    .about-row-1 .img-large img {
        width: 435px;
        height: auto;
    }

    .about-row-1 .img-small img {
        width: 255px;
        height: auto;
        display: block;
    }

    .about-row-2 .img-left img {
        width: 270px;
        height: auto;
        display: block;
    }

    .about-row-2 .img-right-top .img-item img {
        width: 200px;
        height: 220px;
        display: block;
    }

    .about-row-2 .img-right-top .img-item-wide img {
        width: 200px;
        height: 220px;
        /* display: block; */
    }

    .about-row-2 .img-right-bottom img {
        width: 415px;
        height: auto;
        /* margin-top: 10px; */
        /* display: block; */
    }

    .about-section .container {
        width: 1280px !important;
        margin: 0 auto;
    }

    .about-row-2 .img-left {
        width: auto;
    }

    .about-row-2 {
        display: flex;
        gap: 15px;
        /* width: 865px; */
    }

    .about-row-1 {
        width: 760px;
    }

    .about-row-2 .img-right-top {
        display: flex;
        gap: 15px;
        width: 420px;
    }

    .teacher-section .container {
        width: 1280px !important;
        margin: 0 auto;
    }

    .course-section .container {
        width: 1280px !important;
        margin: 0 auto;
    }

    .gallery-section .container {
        width: 1280px !important;
        margin: 0 auto;
    }

    .gallery-section {
        background: #fff;
        padding: 60px 0;
        height: 765px;
    }

    .gallery-title .title {
        color: #931d22;
        font-size: 36px;
        margin-right: 15px;
    }

    .gallery-title .subtitle {
        color: #5c5c5c;
        font-size: 16px;
        text-transform: uppercase;
    }

    .admission-section .container {
        width: 1240px !important;
        margin: 0 auto;
    }

    .admission-title-row .subtitle {
        color: #5c5c5c;
        font-size: 14px;
        text-transform: uppercase;
    }

    .gallery-image-grid {
        height: auto;
    }

    .gallery-image-grid .img-large img {
        width: 660px;
        height: auto;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-image-grid .img-item img {
        width: 320px;
        height: 305px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-image-grid .img-item-wide img {
        width: 320px;
        height: 305px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .activity-item {
        display: flex;
        background: #cddae0;
        height: auto;
    }

    .activity-image img {
        width: 230px;
        height: auto;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .activity-content h4 {
        color: #000;
        font-size: 20px;
        margin: 0 0 8px 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .activity-content .desc {
        -webkit-line-clamp: 3;
    }

    .activity-list {
        gap: 8px;
    }

    .news-small-image img {
        width: 200px;
        height: 140px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .news-small-content h4 {
        font-size: 20px;
        margin: 0 0 8px 0;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .news-small-content .desc {
        color: #181818;
        font-size: 14px;
        line-height: 1.6;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .news-right {
        width: 840px;
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

}
