/* CSS Document */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "微软雅黑", sans-serif;
        }
		
        /* 顶部样式 */
		#top{ margin:0px auto; text-align:center; padding-top:30px; height:120px; width:100%; background: url(../images/logo.png) no-repeat 30px center #000000;}
        nav {
            background: #000;
            padding: 1rem 0;
            text-align: center;
            position: relative;
        }
        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 2.5rem;
        }
        nav li {
            color: #fff;
            text-decoration: none;
            font-size: 0.95rem; 
            width:120px; 
            position: relative; /* 为下拉菜单定位做准备 */
        }
        nav li a {
            color: #fff;
            text-decoration: none;
            font-size: 1.2rem;
            display: block; /* 扩大点击/悬停区域 */
            padding: 0.5rem 0;
        }
		nav li a:hover{ color:#827b54;}

        /* 下拉菜单样式 */
        .dropdown {
            position: relative;
        }
		.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%; /* 先让菜单左边缘对齐父元素的水平中点 */
    transform: translateX(-50%); /* 向左偏移自身宽度的50%，实现整体居中 */
    background: #000;
    width: auto; /* 宽度随内容自动缩放 */
    min-width: 100px; /* 可选：最小宽度，避免过窄 */
    list-style: none;
    display: none; /* 默认隐藏 */
    z-index: 999; /* 确保在最上层 */
    border-top: 2px solid #827b54;
    white-space: nowrap; /* 防止文字换行 */
    padding: 0; /* 清除默认内边距 */
}
        .dropdown-menu li {
            width: 100%;
            padding: 0.2rem 0;
        }
        .dropdown-menu li a {
            font-size: 1rem;
            padding: 0.5rem;
            text-align: center;
        }
        .dropdown-menu li a:hover {
            background: #827b54;
            color: #fff;
        }
        /* 鼠标悬停显示下拉菜单 */
        .dropdown:hover .dropdown-menu {
            display: block;
        }

        /* 头部图片样式 */
        .hero img {
            width: 100%;
            height: auto;
        }
        /* 中间内容区 */
        .ab {
            padding: 2rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 2rem;
        }
        .text-part {
            flex: 1;
            min-width: 300px;
        }
        .text-part h2 {
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 2.5rem; color:#807954;
        }
        .text-part p {
            line-height: 2.5;
            font-size:1.2rem;
            color: #333;
        }
        .image-part {
            flex: 0 0 30%;
        }
        .image-part img {
            width: 100%;
            height: auto;
        }
        /* 红色区块（对应3.html的分区数据） */
        .red-block {
            background:none;
            width: 100%;
            padding: 2rem 0;
        }
        /* ========== 第一个轮播-卡片轮播样式 - 仅作用于red-block下 ========== */
        .red-block .carousel-wrapper {
            position: relative;
            width: 100%;          
            max-width: 1920px;    
            height: 550px;        
            margin: 2rem auto;
            overflow: hidden;     
            border: 0px solid #eee;
            padding: 0;           
        }

        .red-block .carousel-content {
            display: flex;
            position: absolute;
            left: 0;
            top: 50%;             
            transform: translateY(-50%); 
            transition: left 0.5s ease;
            height: 80%;          
            width: fit-content;   
        }

        .red-block .carousel-card {
            width: calc(100% / 3);
            height: 100%;         
            padding: 2rem 1.5rem 1rem;           
            color: #fff;
            display: flex;

            flex-direction: column;
            justify-content: center; 
            transition: all 0.5s ease; 
            border-radius: 8px;
            flex-shrink: 0;       
        }

        .red-block .card-light {
            background-color: #b3b098;
            transform: scale(0.95);
        }

        .red-block .card-dark {
            background-color: #817b54;
            height: 115%;         
            transform: translateY(-7.5%); 
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }

        .red-block .card-title {
            font-size: clamp(1rem, 1.5vw, 1.2rem); 
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 1rem;
            margin-top: 0;
        }

        .red-block .card-text {
            font-size: clamp(0.8rem, 1vw, 0.9rem); 
            line-height: 1.5;
            margin-bottom: 1.2rem;
        }

        .red-block .see-more {
            color: #fff;
            text-decoration: underline;
            font-size: clamp(0.8rem, 1vw, 0.9rem);
        }

        .red-block .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: clamp(30px, 5vw, 40px);   
            height: clamp(30px, 5vw, 40px);  
            border-radius: 50%;
            background: rgba(0,0,0,0.5);
            border: none;
            color: #fff;
            font-size: clamp(1rem, 2vw, 1.5rem); 
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        .red-block .arrow-left {
            left: 1rem;  
        }

        .red-block .arrow-right {
            right: 1rem; 
        }

        @media (max-width: 768px) {
            .red-block .carousel-wrapper {
                height: 320px;
            }
            .red-block .carousel-card {
                padding: 1.5rem 1rem 0.5rem;
                width: calc(100% / 3);
            }
            .red-block .card-dark {
                height: 110%;
                transform: translateY(-5%);
            }
        }

        @media (max-width: 480px) {
            .red-block .carousel-wrapper {
                height: 300px;
            }
            .red-block .carousel-card {
                width: calc(100% / 3);
                min-width: unset;
            }
            .red-block .card-dark {
                height: 108%;
                transform: translateY(-4%);
            }
        }

        /* ========== 第二个轮播-图片轮播样式 - 仅作用于red-block下 ========== */
        .red-block .image-carousel-container {
            position: relative;
            width: 100%;
            max-width: 1920px;
            height: 200px;
            margin: 20px auto;
            overflow: hidden;
            border: 1px solid #eee;
            border-radius: 8px;
        }

        .red-block .image-carousel-wrapper {
            display: flex;
            height: 100%;
            transition: transform 0.3s ease;
        }

        .red-block .carousel-item {
            flex: 0 0 calc(100% / 8);
            height: 100%;
            padding: 5px;
            box-sizing: border-box;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .red-block .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 4px;
        }

        .red-block .carousel-item:hover {
            transform: scale(1.05);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            z-index: 10;
        }

        .red-block .image-carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 20;
            transition: background-color 0.2s ease;
        }

        .red-block .image-carousel-arrow:hover {
            background-color: #fff;
        }

        .red-block .image-arrow-left {
            left: 10px;
        }

        .red-block .image-arrow-right {
            right: 10px;
        }
        /* 底部联系方式样式 */
        footer {
            background:url(../images/flogo.png) no-repeat 50px center #000; height:370px;
            color: #fff;
            padding: 2rem 5%;
            text-align: center;
        }
        .footer-logo img {
            width: 80px;
            height: auto;
        }
        .footer-title {
            margin: 3rem auto;
            font-size: 2.5rem; color:#cccccc; padding-bottom:2.5rem; width:800px; border-bottom:1px solid #393939
        }
        .footer-links {
            display: flex; color:#a39b6a;
            justify-content: center;
            gap: 3rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }
        .footer-links div {
            font-size: 1.5rem;
        }
		.footer-links div small{ color:#cccccc;font-size: 1rem;}
		
		

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .container {
            width: 1200px;    /* 固定总宽度 */
            margin: 0 auto;   /* 页面居中 */
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;        /* 卡片之间的间距，互不干扰 */
			padding-top:30px;
        }
        .contestant-item {
            display: flex;
            flex-direction: column;
            width: 375px;     /* ? 卡片总宽度统一，标题区和图片区同宽 */
        }
        /* ? 核心新增：单独的图片容器 严格限定375*475，放大的图片只在这个盒子里展示 */
        .img-box {
            width: 375px;
            height: 475px;
            overflow: hidden; /* ? 重中之重：彻底隐藏图片放大后超出的所有部分，永不溢出！ */
            display: block;
			background:#CCCCCC;
			margin-top:20px;
        }
        .contestant-img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;/* 图片不变形，居中裁切适配尺寸 */
            transition: all 0.3s ease; /* 平滑过渡动画，无卡顿 */
            transform-origin: center center; /* 从图片正中心放大，无偏移 */
        }
        /* ? 鼠标悬浮放大特效：只放大图片，容器边界锁死，绝不越界 */
        .img-box:hover .contestant-img {
            transform: scale(1.1); /* 放大1.1倍，视觉效果更好，且完全不溢出 */
        }
        .country-bar {
            width: 100%;      /* ? 宽度继承，和图片完全对齐 */
            background-color: #000000;
            color: #ffffff;
            padding: 18px 0;
            text-align: center;
            font-weight: 600;
			margin-top:10px;
			font-size:16px;
        }
        .contestant-name {
            width: 100%;      /* ? 宽度继承，和图片完全对齐 */
            padding: 8px 0 20px 0;
            text-align: center;
            color: #333333;
            font-size: 14px;
        }