* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}

img {
    max-width: 100%;
    height: auto;
}

.header {
    position: relative;
    background: #ab2a84;
}

.header-content {
    position: relative;
    height:70px;
    background: url(images/top.png) no-repeat left;
    /*background-size: 50%;*/
}

.header-bg {
    width: 100%;
    height: 100px;
    object-fit: cover;
    opacity: 0.9;
}

.header-title {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.header-title h1 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.header-title p {
    font-size: 11px;
    opacity: 0.9;
}

.menu-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 10;
}

.menu-btn span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: none;
    background: #fff;
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.nav-menu.active {
    display: block;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
   list-style:none;
}

.nav-menu li:first-child {
    padding: 10px 15px 8px;
}
.wp_search table{width:100% !important;}

#keyword{
    width: 100% !important;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 20px 0 0 20px;
    font-size: 13px;
    background: #f8f8f8;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.nav-menu li:first-child input:focus {
    border-color: #ab2a84;
    background: #fff;
    box-shadow: 0 0 8px rgba(171, 42, 132, 0.15);
}

.nav-menu li:first-child button,input[type="submit"] {
    height: 36px !important;
    width: 65px !important;
    margin-left: -4px;
    border: none;
    border-radius: 0 20px 20px 0;
    background: linear-gradient(135deg, #ab2a84 0%, #8a1f6b 100%) !important;
    color: #fff;
    font-size: 13px;
    cursor: pointer !important;
    outline: none;
    transition: all 0.3s ease;
}

.nav-menu li:first-child button:hover {
    background: linear-gradient(135deg, #c23a98 0%, #a02a7a 100%);
    box-shadow: 0 2px 8px rgba(171, 42, 132, 0.3);
}

.nav-menu li:first-child button:active {
    transform: scale(0.98);
}

.nav-menu li:last-child {
    border-bottom: none;
}

.nav-menu a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding-left: 12px;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #ab2a84;
    border-radius: 50%;
}

.carousel-container {
   /* margin: 0px 10px 10px;
    border-radius: 8px;*/
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.carousel {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 160px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    width: 16px;
    border-radius: 3px;
}

.section {
    background: #fff;
    margin: 0 10px 10px;
    border-radius: 8px;
    padding:40px 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ab2a84;
}

.section-header h2 {
    font-size: 0.9rem;
    color: #ab2a84;
    position: relative;
    padding-left: 10px;
}

.title-text{
    height: 30px;
    line-height: 30px;
    float: left;
    margin-left: 10px;
    font-weight: 600;
    font-size: 1.4rem;

}

/* .section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    background: #ab2a84;
    border-radius: 2px;
} */

.more {
    font-size: 11px;
    color: #ab2a84;
    text-decoration: none;
}
 .more a {
    color: #ab2a84;
    text-decoration: none;
    font-size: 0.8rem;
 }


 #news{
    background: url(images/bg1.png) no-repeat right;
 }
.news-carousel {
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.news-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.news-carousel-item {
    min-width: 100%;
}

.news-main-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

.news-carousel-content {
    padding: 8px 0;
    background-color: #8a1f6b;
}

.news-carousel-content h3 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
    padding: 5px;
}

.news-carousel-content h3  a{
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
    padding: 5px;
 text-decoration:none;
}

.news-carousel-content p {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

.news-carousel-indicators {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
}

.news-carousel-indicators .indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-carousel-indicators .indicator.active {
    background: #ab2a84;
    width: 16px;
    border-radius: 3px;
}

.news-list-small {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background:url(images/bg1.png) no-repeat left;
}

.news-item-small {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #fafafa;
    border-radius: 6px;
}

.date-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(180deg, #ab2a84 0%, #8a1f6b 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.date-month {
    font-size: 9px;
    color: #fff;
}

.date-day {
    font-size: 15px;
    color: #fff;
    font-weight: bold;
}

.news-item-small a {
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item-small a:hover {
    color: #ab2a84;
}
#service{
    background-color: #f0f7fd;
    background-image: url(images/bg2.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100%;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}


.student,.teacher,.policy {
  padding: 25px 0;
}


.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 5px;
    background: linear-gradient(180deg, #fdf2f7 0%, #fff 100%);
    border-radius: 8px;
    border: 1px solid #f0e0e8;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ab2a84 0%, #8a1f6b 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.service-icon img {
    width: 28px;
    height: 28px;
    object-fit: cover;
}

.service-item span {
    font-size: 11px;
    color: #333;
    text-align: center;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notice-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #fafafa;
    border-radius: 5px;
    border-left: 3px solid #ab2a84;
}

.notice-item .tag {
    font-size: 10px;
    color: #fff;
    background: #e74c3c;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}

.notice-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.notice-content h3 {
    font-size: 0.9rem;
    color: #333;
    font-weight: normal;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-content .date {
    font-size: 10px;
    color: #999;
}

.notice-item a {
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
   /* white-space: nowrap;*/
}

.notice-item a:hover {
    color: #ab2a84;
}

.policy-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-item {
    padding: 12px;
    background: #fafafa;
    border-radius: 5px;
    border-bottom: 1px dashed #ddd;
}

.policy-item:last-child {
    border-bottom: none;
}

.policy-item h3 {
    font-size: 12px;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.policy-item .date {
    font-size: 11px;
    color: #999;
}

.system-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.system-item {
    position: relative;
    /* height: 75px; */
    border-radius: 6px;
    overflow: hidden;
}

.system-item img {
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
}

.system-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(171,42,132,0.85) 0%, rgba(138,31,107,0.85) 100%); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.system-info h3 {
    font-size: 13px;
    color: #fff;
    font-weight: normal;
}

.system-info .enter {
    font-size: 11px;
    color: #fff;
    background: rgba(255,255,255,0.25);
    padding: 5px 14px;
    border-radius: 15px;
}

.footer {
    background: #ab2a84;
    color: #fff;
    padding: 15px 15px 10px;
    margin-top: 10px;
   background-image:url(images/footerbg1.png);
  background-position:center;
  background-repeat:no-repeat;
  background-size:80%;
  
}

.footer-top {
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 12px;
}

.footer-top h2 {
    font-size: 16px;
    font-weight: bold;
}

.footer-contact {
     display: flex;
    justify-content: space-around;
    flex-direction: column;
    margin-bottom: 12px;
    width: 80%;
    margin: 0px auto;
    text-align: left;
    align-content: flex-start;
    align-items: flex-start;
}

.contact-item {
   /* text-align: center;*/
}

.contact-label {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    color: rgba(255,255,255,0.9);
}

.contact-item p {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 3px;
}

.links-row {
    display: grid;
 /*   grid-template-columns: repeat(2, 1fr);*/
    gap: 5px;
}

.links-row a {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.links-row a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}

.bottom-ads {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin: 30px 0;
}

.ad-box {
    flex: 1;
    height: 70px;
    background: rgba(255,255,255,0.1);
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: 6px;
}

@media (max-width: 320px) {
    .header-bg {
        height: 85px;
    }
    
    .header-title h1 {
        font-size: 16px;
    }
    
    .carousel {
        height: 140px;
    }
    
    .carousel-item {
        height: 140px;
    }
    
    .news-main-img {
        height: 100px;
    }
}

@media (min-width: 480px) {
    .header-bg {
        height: 110px;
    }
    
    .header-title h1 {
        font-size: 20px;
    }
    
    .carousel {
        height: 180px;
    }
    
    .carousel-item {
        height: 180px;
    }
    
    .news-main-img {
        height: 140px;
    }
}