/* ==========================================================================
   SOISA VIS 2026 v1.2 Compliance Stylesheet
   Aligns h7060.dolphingoo.com with official VIS standards (A01-A20, C01-C03)
   ========================================================================== */

:root {
    --vis-navy: #143552;       /* 深海蓝 SOISA NAVY */
    --vis-blue: #1675BD;       /* 全球蓝 GLOBAL BLUE */
    --vis-blue-hover: #115E99;
    --vis-gold: #AB915E;       /* 江南金 JIANGNAN GOLD */
    --vis-mist: #EFF4F7;       /* 雾白 MIST WHITE */
    --vis-ink: #172A3A;        /* 墨色 INK */
    --vis-cloud: #9AABB7;      /* 云灰 CLOUD GRAY */
    --vis-font: "Jost", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --mainColor: #1675BD;
}

/* 1. Typography (A14 / A15 / A16) */
html,
body,
p,
a,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
textarea,
select,
.center-section,
.section-link-tab-item,
.latest-news-tab {
    font-family: var(--vis-font) !important;
}

body {
    color: var(--vis-ink);
}

p {
    color: var(--vis-ink);
    line-height: 1.6;
}

/* Accessible focus ring (C02) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--vis-blue) !important;
    outline-offset: 2px;
}

/* 2. Header & Brand Colors (A05 / A06 / A07 / A12 / C01) */
.bg-main-two {
    background-color: var(--vis-navy) !important;
    border-bottom: 2px solid var(--vis-gold);
}

.header-top-content > a {
    background-color: var(--vis-blue) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 4px 12px !important;
    font-weight: 500;
}

.site-header .bg-pre {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(154, 171, 183, 0.25);
}

.header-box {
    min-height: 88px;
}

.header-box-left {
    display: flex;
    align-items: center;
    padding: 12px 0;
    flex-shrink: 0;
}

.vis-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

/* PC: Official Horizontal Chinese Lockup (SOISA + Full Name) with clear space */
.logo-vis-pc {
    display: block;
    height: 76px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
}

.logo-vis-mobile {
    display: none;
    align-items: center;
    gap: 10px;
}

.logo-vis-mobile img {
    height: 46px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
}

.logo-vis-mobile-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--vis-navy);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Header Navigation Alignment */
@media (min-width: 992px) {
    .header-box {
        width: 93% !important;
        max-width: none !important;
        gap: 20px;
    }

    .header-box-right {
        flex: 1 1 auto;
        min-width: 0;
        width: auto !important;
        display: flex;
        justify-content: flex-end;
    }

    .header-box-right > .nav {
        width: 100%;
    }

    .header-box-right > .nav > ul {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(10px, 1.1vw, 32px) !important; 
        flex-wrap: nowrap !important;
    }

    .header-box-right > .nav > ul > li {
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 0 auto;
    }

    .header-box-right > .nav > ul > li > a {
        white-space: nowrap !important;
        margin-right: 0 !important;
        padding: 0 4px !important;
        font-size: clamp(13.5px, 1vw, 16px) !important;
    }
}

.header-box-right > .nav > ul > li > a {
    color: var(--vis-ink);
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-box-right > .nav > ul > li > a:hover,
.header-box-right > .nav > ul > li > a.is-current,
.header-box-right > .nav > ul > li.is-current > a {
    color: var(--vis-blue) !important;
}

.header-box-right > .nav > ul > li.is-current::after,
.header-box-right > .nav > ul > li > a.is-current::after {
    background-color: var(--vis-blue) !important;
}

/* 3. Surfaces & Section Headings (A12 / A13) */
.bg-pre,
.center-section {
    background-color: var(--vis-mist) !important;
}

.index-box-title h2,
.index-box-title h2 a {
    color: var(--vis-navy) !important;
    font-weight: 700;
}

.box-line {
    background-color: var(--vis-blue) !important;
}

/* 4. Banner Buttons (A13 / C02) */
.home-banner-buttons > a {
    border-radius: 6px !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px !important;
    font-weight: 500;
}

.home-banner-buttons > a.home-banner-button-primary,
.home-banner-buttons > a:first-child {
    background-color: var(--vis-blue) !important;
    border: 1px solid var(--vis-blue) !important;
    color: #ffffff !important;
}

.home-banner-buttons > a.home-banner-button-primary:hover,
.home-banner-buttons > a:first-child:hover {
    background-color: var(--vis-blue-hover) !important;
    border-color: var(--vis-blue-hover) !important;
}

.home-banner-buttons > a.home-banner-button-outline {
    background-color: rgba(20, 53, 82, 0.55) !important;
    border: 1px solid var(--vis-gold) !important;
    color: #ffffff !important;
}

.home-banner-buttons > a.home-banner-button-outline:hover {
    background-color: var(--vis-gold) !important;
    color: #ffffff !important;
}

/* 5. Service Cards & 2px Linear Icons (A18 / C02) */
.service-box {
    border-radius: 8px !important;
    border: 1px solid rgba(154, 171, 183, 0.25);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-box:hover {
    border-color: var(--vis-blue);
    box-shadow: 0 8px 24px rgba(20, 53, 82, 0.08);
}

.service-box h5 {
    color: var(--vis-navy) !important;
    font-weight: 600;
}

.service-box p {
    color: #465a6b !important;
}

.service-box-image {
    width: 64px !important;
    height: 64px !important;
    padding: 12px !important;
    background-color: var(--vis-mist) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(22, 117, 189, 0.12);
}

.service-box:hover .service-box-image {
    background-color: rgba(22, 117, 189, 0.08) !important;
    border-color: rgba(22, 117, 189, 0.35);
}

.vis-service-svg {
    width: 36px;
    height: 36px;
    stroke: var(--vis-blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

/* 6. Latest News Carousel Caption (Remove jarring red bar, align to Navy + Gold) */
.latest-news-slider-controls,
.latest-news-caption-bar {
    background-color: var(--vis-navy) !important;
}

.latest-news-slide-link .latest-news-caption {
    background-color: rgba(20, 53, 82, 0.94) !important;
    border-left: 4px solid var(--vis-gold);
    color: #ffffff !important;
}

.latest-news-tab {
    color: #465a6b !important;
}

.latest-news-tab.is-active,
.latest-news-tab:hover {
    color: var(--vis-navy) !important;
    border-bottom-color: var(--vis-blue) !important;
}

.latest-news-list li a {
    color: var(--vis-ink) !important;
}

.latest-news-list li a:hover {
    color: var(--vis-blue) !important;
}

.latest-news-date {
    color: var(--vis-cloud) !important;
}

/* 7. About Section & CTA Buttons (A13 / C02) */
.index-about-content .sub-title {
    color: var(--vis-gold) !important;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.index-about-content .sub-title::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--vis-gold);
}

.index-about-content button {
    background-color: var(--vis-blue) !important;
    border-radius: 6px !important;
    min-height: 44px;
    padding: 0 24px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.index-about-content button:hover {
    background-color: var(--vis-blue-hover) !important;
}

.index-about-content button a {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

/* 8. Member Organizations & Related Links (A12 / C02) */
.index-member-list span {
    background-color: var(--vis-blue) !important;
    border-radius: 6px 6px 0 0;
}

.section-link-tab-item {
    border-radius: 6px 6px 0 0;
    color: var(--vis-ink) !important;
}

.section-link-tab-item.is-active {
    background-color: var(--vis-blue) !important;
    color: #ffffff !important;
}

/* Contact / Signup Forms & Inputs (C02) */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
.activity-signup-input,
.activity-signup-textarea {
    border-radius: 6px !important;
    border-color: var(--vis-cloud);
}

.activity-signup-submit,
button[type="submit"],
.contact-submit-btn {
    background-color: var(--vis-blue) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    min-height: 44px;
}

.activity-signup-submit:hover,
button[type="submit"]:hover {
    background-color: var(--vis-blue-hover) !important;
}

/* 9. Footer (A08 / A09 / A12) */
footer .bg-main {
    background-color: rgba(20, 53, 82, 0.90) !important;
    border-top: 3px solid var(--vis-gold);
}

.footer-logo-vis {
    width: 112px !important;
    height: auto !important;
    margin-bottom: 16px !important;
    display: block;
}

.footer-en-name {
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: rgba(239, 244, 247, 0.78) !important;
    letter-spacing: 0.04em;
    margin-top: 4px; 
}

.box-line-white {
    width: 48px !important;
    height: 2px !important;
    background-color: var(--vis-gold) !important;
}

.footer-section-box-bottom {
    border-top-color: rgba(154, 171, 183, 0.25) !important;
}

/* 10. Mobile & Responsive Compliance (A06 / C03) */
@media (max-width: 1440px) {
    .logo-vis-pc {
        height: 66px !important;
    }
}

@media (max-width: 1280px) {
    .logo-vis-pc {
        height: 54px !important;
    }

    .header-box-right > .nav > ul {
        gap: 12px !important;
        zoom:0.8
    }

    .header-box-right > .nav > ul > li > a {
        font-size: 14px !important;
    }
}

@media (max-width: 1120px) and (min-width: 992px) {
    .logo-vis-pc {
        display: none !important;
    }

    .logo-vis-mobile {
        display: inline-flex !important;
    }

    .logo-vis-mobile-name {
        display: none !important;
    }

    .header-box-right > .nav > ul {
        gap: 10px !important;
    }

    .header-box-right > .nav > ul > li > a {
        font-size: 13px !important;
    }
}

@media (max-width: 991px) {
    .logo-vis-pc {
        display: none !important;
    }

    .logo-vis-mobile {
        display: inline-flex !important;
    }

    .header-box {
        height: auto !important;
        min-height: 70px !important;
    }

    .header-box-left {
        padding: 10px 0;
    }

    .header-menu-toggle {
        min-width: 44px !important;
        min-height: 44px !important;
    }
}

@media (max-width: 767px) {
    .header-top {
        gap: 8px;
        padding: 6px 0;
    }

    .header-top-content p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .translate-language-toggle {
        min-height: 44px !important;
        min-width: 44px !important;
    }

    .home-banner-arrow,
    .latest-news-arrow {
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .home-banner-buttons > a,
    .index-about-content button,
    .latest-news-tab,
    .section-link-tab-item {
        min-height: 44px !important;
    }
}
