ul {
    list-style: none;
}

.container {
    width: var(--width);
    margin: 0 auto;
    position: relative;
}

.search-bar-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f5f1;
    padding: 5px 10px;
}

.announcement-container {
    display: flex;
    align-items: center;
    flex: 1;
    margin-right: 20px;
    overflow: hidden;
    height: 30px;
}

.announcement-label {
    font-weight: bold;
    color: var(--mainColor);
    margin-right: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.marquee-list {
    position: absolute;
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    padding: 0;
    margin: 0;
    list-style: none;
}

.marquee-list li {
    margin-right: 40px;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.marquee-list li .date {
    color: var(--mainColor);
    margin-right: 5px;
    font-weight: bold;
}

.marquee-list li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.marquee-list li a:hover {
    color: var(--mainColor);
}

@keyframes marquee {
    0% { transform: translateX(0); left: 100%; }
    100% { transform: translateX(-100%); left: 0; }
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px 0 10px;
}

.search-icon img {
    width: 18px;
    height: 18px;
}

.search-box input {
    border: none;
    padding: 5px 10px;
    outline: none;
    width: 200px;
    font-size: 14px;
}

.search-box .search-btn {
    background: #fff;
    padding: 5px 12px;
    cursor: pointer;
    color: var(--mainColor);
    font-weight: bold;
    display: inline-block;
}

.main-content {
    min-height: 500px;
}

.study-banner {
    margin-bottom: 10px;
}

.section-row {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.section-header {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f5f1;
}

.section-header {
    position: relative;
    min-height: 39px;
    padding-left: 30px;
    padding-right: 79px;
}

.section-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 39px;
    background: url('../images/icon_list_1.png') no-repeat center / 100% 100%;
    z-index: 2;
}

.section-header::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 70px;
    height: 39px;
    background: url('../images/icon_list_2.png') no-repeat center / 100% 100%;
    z-index: 1;
}

.section-header .title {
    font-size: 16px;
    color: var(--mainColor);
    display: flex;
    align-items: center;
}

.section-header .more {
    font-size: 12px;
    color: var(--mainColor);
}

.row-1 {
    height: 350px;
}

.left-carousel {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
}

.carousel-title-bg {
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    z-index: 10;
    font-size: 14px;
}

.carousel-title-bg a {
    color: #fff;
}

.carousel-title-bg a:hover {
    color: #fff;
}

.swiper {
    width: 100%;
    height: 100%;
}

.mySwiper .swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mySwiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.right-news-list {
    flex: 1;
    background: #fff;
}

.news-highlight {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.date-box {
    display: flex;
    width: 56px;
    height: 70px;
    background: url('../images/icon_list_3.png') no-repeat center / 100% 100%;
    color: #fff;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.date-box .day {
    width: 56px;
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.date-box .year-month {
    display: block;
    font-size: 12px;
}

.news-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-content h3 {
    color: var(--mainColor);
}

.news-content h3 a:hover {
    color: var(--mainColor);
}

.news-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-ul li {
    padding: 5px 8px;
    font-size: 14px;
}

.news-ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.news-title {
    max-width: 420px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-ul .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 46px;
    border: 1px solid #ED430F;
    overflow: hidden;
    flex-shrink: 0;
}

.news-ul .date-top {
    background: #ED430F;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    width: 100%;
    text-align: center;
}

.news-ul .date-bottom {
    background: #fff;
    width: 100%;
    height: 16px;
}

.row-2 {
    display: flex;
}

.column {
    flex: 1;
    border: 1px solid var(--mainColor);
    background: #fff;
}

.col-left,
.col-center {
    min-width: 350px;
}

.col-right {
    min-width: 280px;
}

.column:last-child {
    margin-right: 0;
}

.text-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 13px;
}

.text-list li a::before {
    content: "•";
    color: #d71e1e;
    margin-right: 5px;
    font-weight: bold;
}

.special-quick-links {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 16px;
    padding: 10px;
}
.video-quick-links {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 12px;
    padding: 10px;
}

.quick-links {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 25px;
    padding: 10px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    background: #f4b8a1;
    padding: 10px 15px;
    border: 1px solid #f4b8a1;
    color: #fff;
    transition: all 0.3s;
    border-radius: 4px;
    height: 60px;
    padding-left: 25px;
}

.quick-link-item:hover {
    color: #fff;
    font-weight: bold;
}

.quick-link-item img {
    width: 45px;
    height: 45px;
    margin-right: 10px;
}

.quick-link-item span {
    flex: 1;
}

.motto-banner img {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.row-3 {
    display: flex;
}

.row-4 .column,
.row-7 .column {
    max-width: 100%;
}

.video-section {
    flex: 2;
    border: 1px solid var(--mainColor);
}

.video-container {
    height: 440px;
    padding: 10px;
}

.right-links-2 {
    max-width: 280px;
    flex: 1;
    border: 1px solid var(--mainColor);
}

.orange-theme .quick-link-item {
    background: #fef8ec;
    border-color: #fde8c3;
    color: #d98e04;
}

.orange-theme .quick-link-item:hover {
    background: #d98e04;
    color: #fff;
}

.teachers-carousel {
    padding: 10px 35px;
    border: 1px solid #eee;
    position: relative;
}

.teacherSwiper {
    height: 220px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ccc;
}

.teacher-card {
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.teacher-card img {
    width: 127px;
    height: 166px;
    object-fit: cover;
    border-bottom: none;
    display: block;
}

.teacher-card p {
    font-weight: bold;
    background-color: #CFCFCF;
    height: 26px;
    line-height: 26px;
    width: 127px;
    margin: 0;
    font-size: 12px;
}

.campus-scenery {
    padding: 0 0 10px 0;
}

.scenerySwiper {
    height: 160px;
}

.scenerySwiper .swiper-slide {
    width: auto;
}

.scenerySwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.campus-scenery img {
    height: 150px;
    width: 240px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 3px;
    transition: transform 0.3s;
    display: block;
}

.campus-scenery img:hover {
    transform: scale(1.05);
}

.footer-links {
    margin-top: 10px;
    border: 1px solid var(--mainColor);
}

.link-logos {
    display: flex;
    gap: 5px;
    align-items: center;
    overflow: hidden;
    padding: 0 10px 10px;
}

.link-logos a {
    width: 160px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
}

.link-logos a img {
    max-width: 100%;
    max-height: 100%;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

.mySwiper .swiper-pagination {
    position: absolute;
    left: auto;
    right: 10px;
    bottom: 10px;
    text-align: right;
    max-width: 200px;
}

/* Floating QR Code */
.floating-qr {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #eee;
}

.floating-qr img {
    width: 120px;
    height: 120px;
    display: block;
    margin-bottom: 5px;
}

.floating-qr p {
    font-size: 14px;
    color: #333;
    margin: 0;
    font-weight: bold;
}