/* ===== Homepage Hero ===== */
.hero {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.hero-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 18px;
    max-width: 320px;
}

.hero-btn {
    display: inline-block;
    padding: 8px 28px;
    background: rgba(160, 120, 70, 0.85);
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background 0.2s ease;
}

.hero-btn:hover,
.hero-btn:focus-visible {
    background: rgba(107, 74, 43, 0.95);
}

/* ===== Navigation Tiles ===== */
.nav-tiles {
    width: 100%;
}

.nav-tile {
    display: flex;
    height: 66px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s;
}

.nav-tile:active {
    opacity: 0.85;
}

@media (max-width: 1023px) {
    .nav-tiles {
        
        width: calc(100% - 18px);
        max-width: none;
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .nav-tile {
        height: 100px;
        border-bottom: 2px solid #fff;
    }

    .tile-image {
        width: 34%;
        filter: brightness(0.78);
    }

    .tile-content {
        width: 66%;
        display: block;
        padding: 20px 18px;
        white-space: nowrap;
    }

    .tile-content::before {
        content: "";
        position: absolute;
        top: 59px;
        right: 46px;
        left: 18px;
        height: 1px;
        background: rgba(255, 255, 255, 0.9);
    }

    .tile-title {
        display: inline;
        font-size: 24px;
        line-height: 1;
        vertical-align: baseline;
    }

    .tile-pinyin {
        position: absolute;
     
        left: 100px;
        margin: 0;
        font-size: 10px;
        line-height: 1;
        vertical-align: baseline;
    }

    .tile-line {
        position: absolute;
        top: 55px;
        left: 18px;
        display: block;
        width: 56px;
        margin: 0;
    }
}

.tile-image {
    width: 38%;
    height: 100%;
    object-fit: cover;
}

.tile-content {
    width: 62%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7px 16px;
    position: relative;
    color: #fff;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

.tile-title {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}

.tile-pinyin {
    font-size: 8px;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.9;
    text-transform: uppercase;
}

.tile-line {
    width: 28px;
    height: 2px;
    background: #fff;
    margin-top: 8px;
}

.tile-arrow {
    position: absolute;
    right: 12px;
    bottom: 7px;
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.tile-blue { background: #619fec; }
.tile-orange { background: #f8952c; }
.tile-brown { background: #b78f68; }
.tile-green { background: #65af48; }

/* ===== Intro Page ===== */
.intro-content {
    padding: 25px 20px;
}

.intro-content h2 {
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

.intro-content p {
    font-size: 14px;
    color: #555;
    text-align: justify;
    line-height: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 20px 24px 45px;
}

.stat-card {
    background: #f5f5f5;
    min-width: 0;
    border-radius: 6px;
    padding: 22px 8px;
    text-align: center;
}

.stat-card.full {
    grid-column: auto;
}

.stat-number {
    font-size: 26px;
    font-weight: bold;
    color: #a67c52;
    margin-bottom: 8px;
    white-space: nowrap;
}

.stat-label {
    font-size: 11px;
    color: #888;
    line-height: 1.6;
}

/* ===== Culture Page ===== */
.culture-heading {
    text-align: center;
    padding: 25px 20px 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    font-weight: normal;
}

.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 17px 35px;
}

.culture-card {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.culture-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}

.culture-card-body {
    flex: 1;
    background: #a67c52;
    color: #fff;
    padding: 10px;
}

.culture-card-body h3 {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: bold;
}

.culture-card-body p {
    font-size: 11px;
    line-height: 1.7;
    opacity: 0.95;
}

/* ===== Experts Grid ===== */
.experts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 15px;
}

@media (max-width: 1023px) {
    .experts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.expert-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: border-color 0.2s;
}

.expert-card:hover,
.expert-card:active {
    border-color: #a67c52;
}

.expert-card-header {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.expert-avatar {
    width: 60px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.expert-info h3 {
    font-size: 16px;
    color: #a67c52;
    margin-bottom: 4px;
}

.expert-info p {
    font-size: 12px;
    color: #666;
}

.expert-card hr {
    border: none;
    border-top: 1px solid #eee;
    margin-bottom: 8px;
}

.expert-specialty {
    font-size: 11px;
    color: #888;
    line-height: 1.6;
}

/* ===== Expert Detail ===== */
.expert-detail-header {
    display: flex;
    gap: 15px;
    padding: 20px;
    align-items: center;
}

.expert-detail-avatar {
    width: 80px;
    height: 96px;
    object-fit: cover;
    border-radius: 0;
    border: 0;
}

.expert-detail-info h2 {
    font-size: 21px;
    color: #a67c52;
    margin-bottom: 6px;
}

.expert-detail-info p {
    font-size: 14px;
    color: #666;
}

.expert-detail-body {
    padding: 20px 20px 55px;
    border-top: 1px solid #eee;
    margin-top: 5px;
}

.expert-detail-body h3 {
    font-size: 26px;
    color: #333;
    margin-bottom: 15px;
}

.expert-detail-body p {
    font-size: 13px;
    color: #555;
    line-height: 2;
    text-align: justify;
    margin-bottom: 15px;
}

/* ===== Results Page ===== */
.carousel {
    position: relative;
    padding: 17px 22px;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 148px;
    object-fit: cover;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
    background: #a67c52;
    transform: scale(1.15);
}

.article-list {
    padding:22px;
    margin-bottom: 25px;
}

.article-item {
    padding: 5px 0;
    border-bottom: 1px solid #c9b49f;
    cursor: pointer;
}

.article-item:active {
    background: #fafafa;
}

.article-item h3 {
    font-size: 24px;
    color: #333;
    font-weight: normal;
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-item time {
    font-size: 12px;
    color: #999;
}

.load-more {
    text-align: center;
    padding: 20px 15px 35px;
}

.load-more-btn {
    display: inline-block;
    min-width: 88px;
    padding: 3px 20px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.load-more-btn svg {
    display: block;
    margin: 8px auto 0;
    width: 20px;
    height: 20px;
    fill: #999;
}

/* ===== Honors Page ===== */
.honors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 14px 18px;
}

.honor-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;

}

.honor-card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    padding: 8px;
    background: #fafafa;
}

.honor-card h3 {
    font-size: 16px;
    color: #c0392b;
    margin: 8px 0 4px;
}

.honor-card p {
    font-size: 12px;
    color: #888;
    padding: 0 8px;
}

.honor-card hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 8px 15px;
}

.honors-page .page-banner {
    display: none;
}

.honors-page .carousel {
    height: 195px;
    padding: 0;
    border-radius: 0;
}

.honors-page .carousel-inner,
.honors-page .carousel-slide,
.honors-page .carousel-slide img {
    height: 100%;
    border-radius: 0;
}

.honors-page .carousel::before {
    content: "荣誉展示";
    position: absolute;
    left: 0;
    bottom: 28px;
    z-index: 1;
    padding: 6px 20px;
    background: rgba(255, 255, 255, 0.68);
    color: #555;
    font-size: 16px;
}

.honors-page .carousel-dots {
    position: absolute;
    right: 20px;
    bottom: 14px;
    z-index: 1;
    margin: 0;
}

/* ===== News Page ===== */
.news-featured {
    padding: 18px 22px;
}

.news-featured img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}

.news-featured h3 {
    font-size: 16px;
    color: #333;
    font-weight: normal;
    margin-bottom: 8px;
    line-height: 1.6;
}

.news-featured time {
    font-size: 12px;
    color: #999;
}

.news-more-section {
    background: #f5f5f5;
    padding: 20px 22px 35px;
}

.news-more-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.news-more-heading svg {
    width: 18px;
    height: 18px;
    fill: #a67c52;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.news-card {
    background: #fff;
    padding: 12px;
    border-radius: 4px;
}

.news-card h4 {
    font-size: 16px;
    color: #333;
    font-weight: normal;
    line-height: 1.6;
    margin-bottom: 8px;
    min-height: 60px;
}

.news-card time {
    font-size: 11px;
    color: #999;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 14px;
    color: #666;
    border-radius: 50%;
}

.pagination a.active,
.pagination span.active {
    background: #a67c52;
    color: #fff;
}

.pagination a svg {
    width: 14px;
    height: 14px;
    fill: #666;
}

@media (min-width: 768px) {
    .hero,
    .page-banner {
        height: 260px;
    }

    .nav-tile {
        height: 130px;
    }

    .experts-grid,
    .honors-grid,
    .culture-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Contact Page ===== */
.contact-map {
    padding: 30px 22px 15px;
}

.contact-map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.contact-info {
    padding: 0 22px 55px;
    border-top: 0;
}

.contact-info h2 {
    font-size: 17px;
    color: #555;
    margin-bottom: 6px;
}

.contact-info p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 2px;
}

.contact-info .phone {
    color: #a67c52;
    font-weight: bold;
    font-size: 16px;
}

@media (min-width: 1024px) {
    .hero {
        height: 430px;
    }

    .hero-overlay {
        align-items: flex-start;
        justify-content: center;
        padding-left: max(48px, calc((100vw - 1200px) / 2));
        text-align: left;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-subtitle {
        max-width: 520px;
        font-size: 17px;
    }

    .hero-btn {
        padding: 11px 34px;
        font-size: 16px;
    }

    .nav-tiles {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        width: min(100% - 64px, 1200px);
        margin: 38px auto 0;
    }

    .nav-tile {
        height: 170px;
        border-radius: 4px;
    }

    .tile-image {
        width: 42%;
    }

    .tile-content {
        width: 58%;
        padding: 20px;
    }

    .tile-title {
        font-size: 23px;
    }

    .tile-pinyin {
        font-size: 10px;
    }

    .tile-line {
        width: 42px;
        margin-top: 12px;
    }

    .tile-arrow {
        right: 18px;
        bottom: 16px;
        width: 24px;
        height: 24px;
    }

    .page-banner {
        height: 360px;
    }

    .page-banner-label {
        left: max(32px, calc((100vw - 1200px) / 2));
        padding: 12px 28px;
        font-size: 26px;
    }

    .intro-content,
    .stats-grid,
    .culture-heading,
    .culture-grid,
    .experts-grid,
    .expert-detail-header,
    .expert-detail-body,
    .carousel,
    .article-list,
    .honors-grid,
    .news-featured,
    .contact-map,
    .contact-info {
        width: min(100% - 64px, 1200px);
        margin-left: auto;
        margin-right: auto;
    }

    .intro-content {
        max-width: 1000px;
        padding: 58px 0 28px;
    }

    .intro-content h2 {
        font-size: 30px;
    }

    .intro-content p {
        font-size: 16px;
        line-height: 2.1;
    }

    .stats-grid {
        max-width: 1000px;
        gap: 22px;
        padding: 20px 0 28px;
    }

    .stat-card {
        padding: 34px 20px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 14px;
    }

    .culture-heading {
        padding: 52px 0 26px;
        font-size: 26px;
    }

    .culture-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 0 0 20px;
    }

    .culture-card img {
        height: 180px;
    }

    .culture-card-body {
        min-height: 170px;
        padding: 20px;
    }

    .culture-card-body h3 {
        font-size: 20px;
    }

    .culture-card-body p {
        font-size: 14px;
    }

    .experts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        padding: 48px 0 20px;
    }

    .expert-card {
        padding: 20px;
    }

    .expert-avatar {
        width: 86px;
        height: 108px;
    }

    .expert-info h3 {
        font-size: 22px;
    }

    .expert-info p,
    .expert-specialty {
        font-size: 14px;
    }

    .breadcrumb {
        padding-left: max(32px, calc((100vw - 1200px) / 2));
        padding-right: max(32px, calc((100vw - 1200px) / 2));
        font-size: 14px;
    }

    .expert-detail-header,
    .expert-detail-body {
        max-width: 900px;
    }

    .expert-detail-header {
        padding: 48px 0;
    }

    .expert-detail-avatar {
        width: 150px;
        height: 180px;
    }

    .expert-detail-info h2 {
        font-size: 34px;
    }

    .expert-detail-info p,
    .expert-detail-body p {
        font-size: 16px;
    }

    .expert-detail-body {
        padding: 36px 0 20px;
    }

    .expert-detail-body h3 {
        font-size: 22px;
    }

    .carousel {
        padding: 44px 0 26px;
    }

    .carousel-slide img {
        height: 420px;
    }

    .article-list {
        max-width: 960px;
    }

    .article-item {
        padding: 5px 0;
    }

    .article-item h3 {
        font-size: 19px;
    }

    .article-item time {
        font-size: 14px;
    }

    .honors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 42px 0 20px;
    }

    .honor-card img {
        height: 190px;
    }

    .honor-card h3 {
        font-size: 19px;
    }

    .honors-page .carousel {
        width: 100%;
        max-width: none;
        height: 430px;
        padding: 0;
    }

    .honors-page .carousel::before {
        left: max(32px, calc((100vw - 1200px) / 2));
        bottom: 42px;
        padding: 12px 28px;
        font-size: 26px;
    }

    .honors-page .carousel-dots {
        right: max(32px, calc((100vw - 1200px) / 2));
        bottom: 24px;
    }

    .news-featured {
        display: grid;
       /* grid-template-columns: 1.1fr 1fr;*/
        column-gap: 36px;
        align-items: center;
        padding: 48px 0 28px;
    }

    .news-featured img {
        grid-row: span 2;
        height: 280px;
        margin: 0;
    }

    .news-featured h3 {
        font-size: 24px;
    }

    .news-featured time {
        font-size: 14px;
    }

    .news-more-section {
        padding: 48px max(32px, calc((100vw - 1200px) / 2));
    }

    .news-more-heading,
    .news-grid,
    .pagination {
        width: min(100%, 1200px);
        margin-left: auto;
        margin-right: auto;
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .news-card {
        padding: 20px;
    }

    .news-card h4 {
        font-size: 16px;
        min-height: 78px;
    }

    .contact-map {
        padding: 52px 0 24px;
    }

    .contact-map img {
        height: 400px;
    }

    .contact-info {
        max-width: 960px;
        padding: 8px 0 0;
    }

    .contact-info h2 {
        font-size: 26px;
    }

    .contact-info p {
        font-size: 17px;
    }

    .contact-info .phone {
        font-size: 21px;
    }
}
