/* Shared overrides loaded after the legacy stylesheets. */
/* The three current banners share a 2083 × 1028 ratio. Contain future uploads without cropping. */
.home-carousel .banner .item { height: auto; }
.home-carousel .banner-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2083 / 1028;
    object-fit: contain;
}
.banner_page2 { overflow: hidden; }
.banner_page2 img { display: block; max-width: 100%; height: auto; }
.news_details .text { overflow-wrap: anywhere; }
.news_details .text img,
.news_details .text video { max-width: 100% !important; height: auto !important; }
.news_details .text iframe { max-width: 100%; }
.news_details .text { overflow-x: auto; }
@media (max-width: 600px) {
    .news_details h1 { overflow-wrap: anywhere; }
    .txt_cur a { width: 100%; float: none; line-height: 1.6; padding: 14px 12px; margin-bottom: 10px; overflow-wrap: anywhere; }
}

.policy-coverage .about_icons_li .d2,
.policy-coverage .cn_box > p { color: #000; }

/* Align the innovation project and voucher with the talent groups above. */
.policy-innovation > .container { display: flex; flex-wrap: wrap; }
.policy-innovation .cn_box { width: 49%; float: none; }
.policy-innovation .about_icons_li { flex: 0 0 50%; }
@media (max-width: 768px) {
    .policy-innovation .cn_box { width: 100%; }
}

/* Use the same event-card layout and typography as the existing sections. */
.ecology-feature { padding-top: 0; scroll-margin-top: 120px; }

/* Six logos per row in both homepage enterprise sections. */
.enterprise-logo-grid ul {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.enterprise-logo-grid ul li {
    width: auto;
    min-width: 0;
    float: none;
}

/* Match the leadership carousel to the enterprise display above. */
@media (min-width: 701px) {
    #hezuo { padding-bottom: 16px; }
}
.enterprise-sme { padding-block: 0; }
.leadership-section {
    padding: 8px 0 clamp(24px, 4vw, 60px);
    background: #fff;
}
.leadership-section .page_tit { padding-top: 0; }
.leadership-gallery .leadership-carousel {
    width: calc(100% - 56px);
    margin-inline: auto;
}
.leadership-carousel:not(.owl-loaded) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.leadership-carousel .owl-item { transition: none; }
.leadership-slide { margin: 0; }
.leadership-slide .leadership-link { display: block; color: inherit; text-decoration: none; }
.leadership-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}
.leadership-slide figcaption {
    padding: 8px 0 0;
    color: #333;
    text-align: center;
    overflow-wrap: anywhere;
}
.leadership-carousel.owl-theme .owl-controls {
    position: static;
}
.leadership-carousel.owl-theme .owl-controls .owl-nav button[class*="owl-"] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 24px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: #333;
    font-size: 32px;
    line-height: 1;
}
.leadership-carousel .owl-prev { right: calc(100% + 4px); }
.leadership-carousel .owl-next { left: calc(100% + 4px); }
@media (max-width: 599px) {
    .leadership-carousel:not(.owl-loaded) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 479px) {
    .leadership-carousel:not(.owl-loaded) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* Investment highlight and supporting photos. */
.investment-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 48px);
}
.investment-gallery figure { margin: 0; }
.investment-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 378 / 221;
    object-fit: cover;
}
.investment-highlight,
.investment-support {
    display: flex;
    flex-direction: column;
}
.investment-highlight figcaption {
    flex: 1;
    padding: 18px clamp(14px, 2vw, 28px);
    background: #fff;
    overflow-wrap: anywhere;
}
.investment-highlight-title {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(16px, 1.4vw, 21px);
}
.investment-highlight figcaption p {
    margin: 0;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.6;
}
.investment-photos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.5vw, 24px);
}
/* Photo positions follow the sketch from top to bottom within each column. */
.investment-photos figure:nth-child(2):has(~ figure:nth-child(4)) {
    grid-area: 2 / 1;
}
.investment-summary {
    margin: clamp(10px, 1.5vw, 24px) 0 0;
    text-align: center;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 600;
}
@media (min-width: 768px) {
    .investment-photos img { height: 100%; }
}
@media (max-width: 767px) {
    .investment-gallery { grid-template-columns: minmax(0, 1fr); }
}

/* Articles without a configured cover use the full row for their text. */
.news_list ul li.news-without-cover .text { width: 100%; min-height: 0; }

/* First honor centered above three supporting images. */
#rongyu .results-honors-grid { width: 80%; margin-inline: auto; }
#rongyu .results-honors-grid ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
#rongyu .results-honors-grid ul li { width: auto; float: none; margin: 0; min-width: 0; }
#rongyu .results-honors-grid ul li:first-child { width: 40%; margin-inline: 30%; flex-shrink: 0; }
#rongyu .results-honors-grid ul li:not(:first-child) { width: calc(27.333333% - 8.746667px); flex-shrink: 0; }
#rongyu .results-honors-grid .img { height: auto; aspect-ratio: 36 / 25; }
#rongyu .results-honors-grid .img img { display: block; width: 100%; height: 100%; object-fit: contain; }
#rongyu .results-honors-grid .text { display: none; }
@media (max-width: 600px) {
    #rongyu .results-honors-grid ul { gap: 10px; }
    #rongyu .results-honors-grid ul li:first-child { width: 60%; margin-inline: 20%; }
}

/* A visual continuation mark, separate from carousel pagination. */
.enterprise-more-indicator {
    width: 100%;
    text-align: center;
    color: #777;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1;
    padding-left: 4px;
    margin: 10px 0 4px;
}

/* Preserve logo motion without the legacy dark background and shadow. */
.enterprise-logo-grid ul a:hover,
.enterprise-logo-grid ul a:active,
.enterprise-logo-grid ul a:focus {
    background: transparent;
    box-shadow: none;
}
.enterprise-logo-grid ul a:hover { transform: translateY(-5px); }
.enterprise-logo-grid ul a:active { transform: translateY(-2px); }

/* Keep the policy content compact without reducing mobile readability. */
@media (min-width: 769px) {
    .policy-coverage > .container { width: 90%; min-width: 0; max-width: 1020px; }
    .policy-coverage { padding: 1.5% 0; }
    .policy-coverage .index_title { padding-bottom: 0.75rem; }
    .policy-coverage .index_title .en_font { font-size: 1.53rem; }
    .policy-coverage .index_title > span { font-size: 1.275rem; margin-top: 0.75rem; }
    .policy-coverage .about_icons_li .d1 .s1 { font-size: 3.4rem; line-height: 1.35; }
}
@media (min-width: 769px) and (max-width: 1200px) {
    .policy-coverage .about_icons_li .d1 .s1 { font-size: 2.125rem; }
}
