/* Shared page header; keep brand, navigation and editable honors image in normal flow. */
:root { --site-header-height: 96px; }
.header.responsive-header {
    box-sizing: border-box;
    display: block;
    height: var(--site-header-height);
    padding: 0;
    overflow: visible;
}
/* Match the existing .wrap content width, including when browser zoom creates an ultra-wide viewport. */
.responsive-header .header-inner {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 96%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 10px 0;
}
.responsive-header .logo {
    position: static;
    flex: 0 1 260px;
    width: clamp(180px, 18vw, 280px);
    min-width: 0;
    height: 68px;
    margin: 0;
    background: none !important;
    line-height: 1;
}
.responsive-header .logo h1 { margin: 0; height: 100%; line-height: 1; }
.responsive-header .logo a { width: 100%; height: 100%; text-indent: 0; display: flex; align-items: center; }
.responsive-header .logo img { display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; object-fit: contain; object-position: left center; }
.responsive-header .header-inner > .wrap { float: none; flex: 1 1 auto; width: auto; min-width: 0; margin: 0; }
.responsive-header .wrap > .clear { display: none; }
.responsive-header .menu { position: static; display: block; width: auto; height: auto; margin: 0; background: transparent; }
.responsive-header .menu > ul { display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; }
.responsive-header .menu ul li { float: none; flex: 1 1 0; min-width: 0; margin: 0; border: 0; }
.responsive-header .menu ul li a { box-sizing: border-box; display: block; width: 100%; margin: 0; padding: 8px 5px; line-height: 1.5; font-size: 15px; text-align: center; overflow-wrap: anywhere; }
.responsive-header .menu ul li a span { display: block; margin: 0; font-size: 10px; line-height: 1.5; }
.responsive-header .menu li.mm { display: none; }
.responsive-header .h_btn {
    position: static;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 250px;
    min-width: 0;
    margin: 0 0 0 auto;
    line-height: 1;
}
.responsive-header .h_btn > img { display: block; flex: 1 1 auto; min-width: 0; width: auto; max-width: calc(100% - 36px); height: auto; max-height: 68px; object-fit: contain; }
.responsive-header .h_btn .ennav { display: block; flex: 0 0 24px; width: 24px !important; margin: 0 !important; padding: 0; line-height: 1; }
.responsive-header .ennav img { display: block; width: 24px; max-width: 100%; height: auto; }
.responsive-header .menu_wrap { display: none; }
.mainer { padding-top: var(--site-header-height); }
#about, #zhengce, #rongyu, #hezuo, #ldgh, #tixi, #industry-empowerment, #investment-empowerment, #jump_2_on { scroll-margin-top: calc(var(--site-header-height) + 12px); }
body.site-menu-open { overflow: hidden; }
@media (min-width: 768px) and (max-width: 1199px) {
    :root { --site-header-height: 144px; }
    .responsive-header .header-inner {
        flex-wrap: wrap;
        align-content: center;
        gap: 4px 16px;
    }
    .responsive-header .header-inner > .wrap { flex: 0 0 100%; order: 3; }
    .responsive-header .menu ul li a { padding: 4px 5px; font-size: 14px; }
}
@media (max-width: 767px) {
    :root { --site-header-height: 76px; }
    .responsive-header .header-inner { width: 100%; flex-wrap: nowrap; gap: 8px; padding: 10px 12px; }
    .responsive-header .logo { flex: 1 1 auto; width: auto; height: 52px; }
    .responsive-header .header-inner > .wrap { flex: 0 0 44px; order: 3; }
    .responsive-header .h_btn { flex: 0 0 44px; order: 2; height: 44px; margin: 0; }
    .responsive-header .h_btn > img { display: none; }
    .responsive-header .h_btn .ennav {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px !important;
        height: 44px;
    }
    .responsive-header .menu_wrap { display: block; position: static; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: url('../image/menu.png') no-repeat center #023aa1; background-size: 22px auto; cursor: pointer; }
    .responsive-header.h_menu .menu_wrap { background-image: url('../image/menu-1.png'); }
    .responsive-header .menu_wrap:focus-visible { outline: 2px solid #023aa1; outline-offset: 3px; }
    .responsive-header .menu { position: fixed; inset: var(--site-header-height) 0 0; height: auto; width: 100%; margin: 0; overflow-y: auto; background: #fff; visibility: hidden; pointer-events: none; }
    .responsive-header.h_menu .menu { visibility: visible; pointer-events: auto; }
    .responsive-header .menu > ul { display: flex; flex-direction: column; align-items: stretch; padding: 12px 20px 24px; }
    .responsive-header .menu ul li { flex: 0 0 auto; border-bottom: 1px solid #eee; }
    .responsive-header .menu ul li a { display: block; width: 100%; padding: 14px 8px; font-size: 18px; text-align: left; }
    .responsive-header .menu ul li a span { display: inline; margin-left: 12px; font-size: 12px; }
}

.news_details .title .article-hits { display: inline-block; margin-left: 16px; }

/* Keep the park-parameter photograph aligned with the other content sections.
   A fixed viewport background and 100%/100% scaling stretched it at browser zoom. */
.page.page4 {
    box-sizing: border-box;
    width: 96%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background-attachment: scroll;
    /* Override the legacy mobile 100% 50% !important rule. */
    background-size: cover !important;
    background-position: center;
}

.event-image-link { display: block; color: inherit; }
.investment-photos .event-image-link { height: 100%; }
.event-image-link:focus-visible { outline: 3px solid #023aa1; outline-offset: 3px; }

/* Overview rows expand in place; mouse focus should not show Bootstrap's link ring. */
#about .page_news .list > ul > li > a:hover,
#about .page_news .list > ul > li > a:focus { text-decoration: none; }
#about .page_news .list > ul > li > a:focus:not(:focus-visible) { outline: none; }
#about .page_news .list > ul > li > a:focus-visible { outline: 2px solid #023aa1; outline-offset: -2px; }

/* Highlight the current section using text only. */
.responsive-header #site-navigation > ul > li.on > a {
    color: #023aa1 !important;
    font-weight: 600;
    text-decoration: none;
}
.responsive-header #site-navigation > ul > li.on > a > span { color: #023aa1 !important; }

/* News links navigate directly; show the focus ring only for keyboard input. */
.news-compact-list > ul > li > a:focus:not(:focus-visible) { outline: none; }
.news-compact-list > ul > li > a:focus-visible { outline: 2px solid #023aa1; outline-offset: -2px; }

/* Pointer clicks and restored mouse focus must not leave rings on site links. */
body a:focus:not(:focus-visible) { outline: none; }
body a:focus-visible { outline: 2px solid #023aa1; outline-offset: 2px; }

/* Adapt the footer on tablets and phones; retain the original desktop layout. */
@media (max-width: 1023px) {
.footer .foot { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.footer .foot > .item:first-child { float: none; width: 28%; min-width: 0; }
.footer .foot > .item.item_ewm { float: none; flex: 1; width: auto; min-width: 0; }
.footer .item_ewm > ul { display: grid; grid-template-columns: 120px minmax(0, 400px); gap: 24px; align-items: start; }
.footer .item_ewm > ul > li { float: none; width: auto !important; min-width: 0; }
.footer .item_ewm > ul > li > br { display: none; }
.footer .item_ewm .ewm { width: 120px; margin: 0; }
.footer .item_ewm .ewm img { display: block; width: 100%; height: auto; }
.footer .item_ewm .ewm span { width: 100%; }
.footer .item_ewm .ewm.er { display: block; width: 100% !important; margin: 0 !important; }
.footer .ewm.er a { display: block; }
.footer .foot > .item.item_nav { display: block; float: none; flex: 0 0 100%; width: 100% !important; }
.footer .item_nav .f_tel > br { display: none; }
.footer .item_nav .f_tel p { margin: 0; line-height: 1.8; text-align: left; overflow-wrap: anywhere; }
}
@media (max-width: 768px) {
    .footer .foot > .item:first-child { width: 100%; }
    .footer .foot > .item.item_ewm { flex: 0 0 100%; }
    .footer .item_ewm > ul { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
    .footer .item_ewm .ewm { width: 96px; }
    .footer .item_ewm .ewm span { font-size: 14px; }
}
@media (max-width: 360px) {
    .footer .item_ewm > ul { grid-template-columns: 1fr; }
    .footer .item_ewm .ewm { margin: 0 auto; }
}

/* Match the footer to the site's primary blue with readable light text. */
.footer { background: #023aa1; color: #e2ebff; }
.footer .add_list a, .footer .item_nav .f_tel p { color: #e2ebff; }
.footer .foot2 { border-top-color: rgba(255, 255, 255, 0.2); color: #d6e4ff; }
.footer .foot2 a { color: #d6e4ff; }
.footer .add_list a:hover, .footer .foot2 a:hover { color: #fff; }

/* Align desktop QR, map and introduction at the same top edge. */
@media (min-width: 1024px) {
    .footer .item_ewm > ul > li > br,
    .footer .item_nav .f_tel > br { display: none; }
    .footer .item_ewm .ewm { margin-top: 0; }
    .footer .item_nav .f_tel p { margin-top: 0; }
    .footer .item_ewm .ewm img { display: block; }
}
