/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.5;
    background-color: #fff;
    overflow-x: hidden;
}

/* Override global CSS which hides wrapper */
.isPc .wrapper,
.isWap .wrapper {
    display: block !important;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

a:hover{
    text-decoration:none;
}

.isPc .container {
    width: 1160px;
    margin: 0 auto !important;
}

.isWap .container {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 32px;
    color: #000;
    font-weight: bold;
    margin: 0;
}
.isWap .section-title h2 {
    font-size: 24px;
    margin-bottom: 25px;
}

/* Placeholders */
.placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.video-placeholder img,
.card-image-placeholder img,
.lens-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
}
.hero-bg {
    width: 100%;
    height: 1255px;
    background: url(https://v2.cri.cn/resource/2527e568-d13f-4ca8-a685-ca52ff6b99ef/special/gotohuangpu/images.TopBanner.jpg) no-repeat center top;
    position: relative;
}
.hero-content {
    text-align: center;
    color: #fff;
    margin-top: -150px;
}
.hero-title {
    font-size: 80px;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 40px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    color: #fceea7;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}
.stat-item {
    text-align: center;
}
.stat-item .num {
    display: block;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.stat-item .label {
    font-size: 16px;
    opacity: 0.9;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* Video Slider */
.video-section {
    padding: 0 0 50px;
    background: transparent;
    margin-top: -200px; /* Overlap hero */
    position: relative;
    z-index: 10;
}
.video-placeholder {
    width: 100%;
    height: 652px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.15); */
}
.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #6b8cff;
}
.play-btn:hover {
    background: rgba(255,255,255,0.9);
}
.play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #6b8cff;
    margin-left: 10px;
}
.video-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}
.video-nav-container .swiper-button-prev,
.video-nav-container .swiper-button-next {
    position: static;
    margin: 0;
    width: 13px;
    height: 16px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none !important; 
}
.video-nav-container .swiper-button-prev::after,
.video-nav-container .swiper-button-next::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
}
.video-nav-container .swiper-button-prev::after {
    transform: rotate(-135deg);
}
.video-nav-container .swiper-button-next::after {
    transform: rotate(45deg);
}
.video-nav-container .swiper-pagination {
    position: static;
    width: auto;
    display: flex;
    gap: 15px;
}
.video-nav-container .swiper-pagination-bullet {
    width: auto;
    height: auto;
    background: transparent;
    opacity: 1;
    color: #b3b3b3;
    font-size: 16px;
    font-weight: bold;
    margin: 0 !important;
    border-radius: 0;
}
.video-nav-container .swiper-pagination-bullet-active {
    color: #000;
    background: transparent;
}

.policy-insights-section {
    padding: 60px 0;
    background-color: #f3f4f8;
}
.policy-grid {
    display: flex;
    justify-content: space-between;
    padding-top: 100px; /* Make room for the protruding image */
}
.policy-card {
    width: 363px;
    height: auto;
    background: #fff;
    border-radius: 20px;
    padding: 0 22.5px 20px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}
.policy-card:hover {
    box-shadow: 0 15px 35px rgba(90, 123, 254, 0.12);
    transform: translateY(-8px);
    border-color: #aebfff;
}
.policy-card .card-image-placeholder {
    width: 318px;
    height: 290px;
    background: #777;
    border-radius: 20px;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.policy-card .card-text {
    margin-top: 210px;
}
.policy-card .card-text h3 {
    font-size: 20px;
    margin: 0 0 15px;
    color: #000;
    font-weight: bold;
    text-align: left;
    line-height: 1.4;
}
.policy-card .card-divider {
    width: 100%;
    height: 1px;
    background: #eaedf4;
    margin-top: auto;
    margin-bottom: 15px;
}
.policy-card .card-arrow {
    text-align: left;
    margin-left: 10px;
}
.policy-card .icon-arrow {
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 1px solid #746dff;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
}
.policy-card .icon-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: calc(50% + 10px);
    height: 2px;
    background-color: #746dff;
    transform: translateY(-50%);
    transition: all 0.3s;
}
.policy-card .icon-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #746dff;
    transform: translate(-3px, -50%); /* Tip ends exactly at center */
    transition: all 0.3s;
}
.policy-card:hover .icon-arrow {
    border-color: #5a7bfe;
}
.policy-card:hover .icon-arrow::before {
    background-color: #5a7bfe;
}
.policy-card:hover .icon-arrow::after {
    border-left-color: #5a7bfe;
}

/* Invest in Huangpu */
.invest-section {
    padding: 80px 0;
    background: #fff;
}
.isPc .invest-grid {
    display: grid;
    grid-template-columns: 440px 325px 325px;
    grid-template-rows: 294px 378px;
    gap: 35px;
    justify-content: center;
}
.invest-grid imp {
    display: block;
    height: 100%;
}
.invest-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}
.invest-card .card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.invest-card .card-image-placeholder {
    width: 100%;
    height: 100%;
    background: #888;
    position: relative;
    transition: transform 0.5s ease;
}
.invest-card:hover .card-image-placeholder {
    transform: scale(1.05);
}
.invest-card:hover .card-image-placeholder {
    transform: scale(1.05);
}
.invest-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20px 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}
.invest-card .card-overlay p {
    margin: 0;
    font-size: 16px;
}
/* Grid placement supporting both local (imp) and production (direct) */
.isPc .invest-grid > imp:nth-child(1),
.invest-card.large-vertical {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}
.isPc .invest-grid > imp:nth-child(4),
.invest-card.wide {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

/* Central Media Coverage */
.media-coverage-section {
    padding: 80px 0;
    background: #fdfdff;
}
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.media-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #a5b4ff;
    border-radius: 20px;
    padding: 30px;
    min-height: 140px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.media-card p {
    margin: 0;
}
.media-card:hover {
    background: #5a7bfe;
    color: #fff;
    border-color: #5a7bfe;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(90, 123, 254, 0.2);
}

/* Huangpu Through the Lens */
.lens-section {
    padding: 80px 0 100px;
    background: #fff;
    overflow: hidden;
}
.swiper-container-wrapper {
    position: relative;
    padding: 0 60px;
}
.swiper-lens .swiper-slide {
    width: 800px;
    transition: all 0.3s;
}
.swiper-lens .swiper-slide-active {
    z-index: 2;
}
.lens-image-placeholder {
    width: 100%;
    height: 450px;
    background: #666;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.lens-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    width: 44px;
    height: 44px;
    background: #6b8cff !important;
    background-image: none !important; /* Override swiper default SVG background */
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(107, 140, 255, 0.3);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s;
}
.lens-nav-btn:hover {
    background: #5a7bfe !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(90, 123, 254, 0.4);
}
.lens-nav-btn::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}
.lens-prev {
    left: 0;
}
.lens-prev::after {
    transform: rotate(-135deg);
}
.lens-next {
    right: 0;
}
.lens-next::after {
    transform: rotate(45deg);
}

/* WAP Responsive */
.isWap .hero-bg {
    height: auto;
    aspect-ratio: 1920 / 1255;
    background-size: cover;
}
.isWap .video-section {
    margin-top: -30px;
    padding: 0 0 30px;
}
.isWap .video-placeholder {
    aspect-ratio: 1160 / 652;
    height: auto;
    border-radius: 12px;
}
.isWap .play-btn {
    width: 50px;
    height: 50px;
}
.isWap .play-btn::after {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #6b8cff;
    margin-left: 5px;
}
.isWap .policy-grid {
    flex-direction: column;
    gap: 120px;
    padding-top: 100px;
}
.isWap .policy-card {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
}
.isWap .policy-card .card-image-placeholder {
    width: 90%;
    max-width: 318px;
    aspect-ratio: 318 / 290;
    height: auto;
}
.isWap .policy-insights-section,
.isWap .invest-section,
.isWap .media-coverage-section,
.isWap .lens-section {
    padding: 40px 0;
}
.isWap .invest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.isWap .invest-card.large-vertical {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 100%;
}
.isWap .invest-card.large-vertical .card-image-placeholder {
    height: 100% !important;
}
.isWap .invest-card.square {
    grid-column: 2 / 3;
}
.isWap .invest-card.square .card-image-placeholder {
    aspect-ratio: 325 / 294;
    height: auto !important;
}
.isWap .invest-card.wide {
    grid-column: 3 / 3;
}
.isWap .invest-card.wide .card-image-placeholder {
    aspect-ratio: 685 / 378;
    height: auto !important;
}
.isWap .media-grid {
    grid-template-columns: 1fr;
    gap: 15px;
}
.isWap .media-card {
    min-height: auto;
    padding: 20px;
}
.isWap .swiper-lens .swiper-slide {
    width: 90% !important;
}
.isWap .lens-image-placeholder {
    aspect-ratio: 800 / 450;
    height: auto;
    border-radius: 12px;
}
.isWap .swiper-container-wrapper {
    padding: 0;
}
.isWap .lens-nav-btn {
    display: none;
}
