/* styles.css - canonical final stylesheet (single, de-duplicated) */

/* Local fonts */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/statics/fonts/RWmMoKWR9v4ksMfaWd_JN9XFiaQ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hero animation keyframes - placed at top-level so they can be applied to slides */
@keyframes hero-slow-zoom {
    0% { background-size: 100% 100%; }
    50% { background-size: 112% 112%; }
    100% { background-size: 100% 100%; }
}

@keyframes hero-pan {
    0% { background-position: 48% 50%; }
    50% { background-position: 52% 50%; }
    100% { background-position: 48% 50%; }
}


html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* Canvas overlay on hero banner */
#canv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 550; /* between hero-swiper (500) and hero-overlay (600) */
    pointer-events: none; /* allow interaction with elements below */
    /* Safari compatibility fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Header / nav */
nav {
    /* default to sticky which works for most cases and for mobile */
    position: sticky;
    top: 0;
    z-index: 2000; /* ensure nav sits above hero/swiper */
    background: #003F98;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    transition: background-color 200ms ease, box-shadow 200ms ease;
}

/* Nav appearance states (inspired by bamasg) */
.navbar-trans {
    background: transparent; /* transparent over hero */
    backdrop-filter: none;
}

.navbar-small {
    background: #003F98; /* solid darker color when scrolled */
    padding-top: 6px;
    padding-bottom: 6px;
    transition: background-color 180ms ease, padding 180ms ease;
}

/* mark mobile view when window is narrow - JS will toggle this */
.mobile-nav {
    /* marker class toggled by JS on narrow viewports; no direct styles required here */
    --is-mobile-nav: 1;
}

.logo {
    z-index: 1100;
    display: flex;
    align-items: center;
}
.logo img,
.logo svg {
    height: 40px;
    width: auto;
    display: block;
    padding:5px 12px;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    background: #144566;
}

.hamburger {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 44px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 24px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
}

/* Sections */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: #003F98;
    margin-bottom: 18px;
}

/* Center section headings and provide a subtitle below the h2 */
h2 {
    text-align: center;
    font-size: 1.6rem;
}

.section-subtitle {
    text-align: center;
    color: #4b5b6b;
    margin: 6px 0 22px;
    font-size: 0.98rem;
    line-height: 1.4;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

/* On desktop keep subtitles on a single line (no wrap) to match requirement */
@media (min-width: 821px) {
    .section-subtitle {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Cards */
.services {
    display: grid;
    gap: 20px;
}

#services .services {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

#services .services .card {
    flex: 1 1 18%;
    min-width: 180px;
}

/* Team section: responsive grid - mobile 1 col, tablet 2 cols, desktop 4 cols */
#team .services {
    display: grid;
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: 1fr; /* mobile */
}

#team .services .card {
    display: flex;
    flex-direction: column; /* ensure internal content stacks vertically */
    justify-content: flex-start;
    padding: 16px;
    box-sizing: border-box;
}

#team .services .card h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: #083247;
}

#team .services .card .position {
    margin: 0 0 8px;
    font-weight: 600;
    color: #003F98;
    font-size: 0.95rem;
}

#team .services .card .bio {
    margin: 0;
    color: #475a6a;
    font-size: 0.92rem;
    line-height: 1.45;
}

.bio-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.bio-list li {
    margin: 4px 0;
    color: #475a6a;
    font-size: 0.92rem;
}

/* Flip-once animation for icons on hover */
@keyframes flip-once {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.compliance-card {
    /* provide 3D perspective so child Y-rotations render smoothly */
    perspective: 800px;
}

.compliance-icon {
    display: inline-block;
    transform-origin: 50% 50%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: visible;
    backface-visibility: visible; /* allow the glyph to remain visible during rotation */
    will-change: transform;
}

.compliance-card:hover .compliance-icon,
.compliance-card:focus-within .compliance-icon {
    animation: flip-once 0.8s cubic-bezier(.4,.0,.2,1) both;
}

@media (min-width: 640px) {
    #team .services {
        grid-template-columns: repeat(2, 1fr); /* tablet */
    }
}

@media (min-width: 1100px) {
    #team .services {
        grid-template-columns: repeat(4, 1fr); /* desktop: 4 columns */
    }
}

.card {
    background: #f4f4f4;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Hero */
.hero-swiper,
.hero-swiper .swiper-slide {
    height: 100vh;
    /* use explicit background-position and size to allow smooth animations */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover!important;;
    /* combine slow zoom and slow pan for a subtle motion effect */
    animation: hero-slow-zoom 30s ease-in-out infinite alternate,
               hero-pan 45s ease-in-out infinite alternate;
}

/* ensure hero elements don't overlap nav */
.hero-swiper {
    position: relative;
    z-index: 500;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 600; /* overlay sits above slide content but below nav */
    background: linear-gradient(180deg, rgba(10, 61, 98, 0.45), rgba(10, 61, 98, 0.45));
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 61, 98, 0.45), rgba(10, 61, 98, 0.45));
}

.hero-content {
    /* position the hero copy in the lower-left of the slide */
    position: absolute;
    left: 15%;
    bottom: 25%;
    z-index: 999;
    color: #fff;
    text-align: left;
    padding: 0 12px;
    /* limit width for readable line-length */
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0 0 12px;
}

.hero-english {
    font-family: 'Great Vibes', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Keep hero text on a single line; truncate with ellipsis if too long */
.hero-content p,
.hero-content .hero-english {
    white-space: wrap;
}
    /* legacy .step-index global block removed; use .step-title .step-index for badge sizing */

.down-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#ffffff;
    cursor:pointer;
}

/* Footer */
footer {
    background: #003F98;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 820px) {
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2000;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 10px;
    }
    /* 手机端移除logo的margin-left */
    .logo {
        position: static;
        left: auto;
        top: auto;
        margin-left: 0;
    }
    
    .logo img,
    .logo svg {
        margin-left: 0;
    }
    .nav-links {
        display: none;
        position: fixed;
        right: 12px;
        top: 56px;
        background: rgba(30, 95, 138, 0.98);
        padding: 12px;
        border-radius: 8px;
        flex-direction: column;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
    }
    nav.nav-open .nav-links {
        display: flex;
    }
}

/* Desktop: make nav fixed to ensure it stays visible after scrolling and prevent overlap */
@media (min-width: 821px) {
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        /* ensure nav height is consistent so body padding can match */
        height: 64px;
    }

    .logo {
        margin-left:0px;
    }
}

@media (max-width: 520px) {
    .logo svg {
        width: 130px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-english {
        font-size: 1.4rem;
    }
}

/* Responsive hero content placement */
@media (max-width: 820px) {
    .hero-content {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        bottom: auto;
        width: 90%;
        padding: 0 10px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-english {
        font-size: 1.6rem;
    }
}

@media (max-width: 520px) {
    .hero-content {
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        bottom: auto;
        width: 95%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-english {
        font-size: 1.2rem;
    }
}

/* About section helpers (added to style merged about.html content) */
.sec-heading {
    text-align: center;
    margin-bottom: 18px;
}
.sec-heading h2 {
    margin: 0;
    color: #003F98;
}
.sec-heading .subheading {
    display: block;
    color: #4b5b6b;
    margin-top: 8px;
    font-size: 0.98rem;
    line-height: 1.4;
}

/* Short underline (decorative) under block titles */
.sec-heading h2::after,
section h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: #003F98;
    margin: 5px auto 0;
    border-radius: 2px;
}

.about-intro p {
    color: #475a6a;
    line-height: 1.75;
    margin-bottom: 18px;
}

.mt40 { margin-top: 40px; }

/* Values grid: responsive 1 / 2 / 4 columns */
.values.grid-4 {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}
.value-card {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(8,50,71,0.06);
}
.value-card h4 { margin: 0 0 8px; color: #083247; position: relative; padding-left: 14px; }

/* Decorative blue vertical bar before value titles */
.values.grid-4 .value-card h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px; /* aligns the bar slightly down from the top of the h4 */
    width: 4px;
    height: calc(100% - 12px); /* vertical stroke matching title height */
    background: #0072E5; /* blue accent */
    border-radius: 2px;
}
.value-card p { margin: 0; color: #475a6a; font-size: 0.96rem; line-height: 1.6; }

@media (min-width: 640px) {
    .values.grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
    .values.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Helpers */
.services .card h3 {
    margin-top: 0;
}

/* Contact: two column map + info */
#contact {
    padding: 40px 20px; /* override section defaults for this area */
}

/* Project services (merged from services.html) */
.service-section.project, #project-services {
    padding: 60px 20px;
    background: transparent;
}

.project-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.project-title {
    /* match global h2 styling */
    color: #003F98;
    margin-bottom: 8px;
    text-align: center;
    font-size: 1.6rem;
}

.project-subtitle {
    margin-bottom: 20px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PC: two per row */
    gap: 30px;
}

.project-card h3 {
    /* match team card h3 */
    color: #083247;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* Make project cards visually match other .card components */
.project-card {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(8,50,71,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(8,50,71,0.12);
}

.project-list {
    line-height: 1.8;
    padding-left: 18px;
    margin: 0;
    font-size: 0.96rem;
    color: #475a6a;
}

@media (max-width: 768px) {
    .project-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* project-card / table styles for project services */
.project-card:hover { transform: translateY(-5px); }
.project-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: #003366;
    display:flex;
    align-items:center;
    gap:8px;
}
.project-card table { width:100%; border-collapse: collapse; }
.project-card th, .project-card td { padding:10px; border-bottom:1px solid #eee; text-align:left; font-size:0.96rem; }
.project-card th { background:#003366; color:#fff; }
.project-card tr:last-child td { border-bottom:none; }

/* Services specific styles (from service.html) - scoped to #services */
#services {
    background: transparent;
}

#services .container {
    max-width: 1200px;
    margin: 0 auto;
}

#services .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

#services .card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#services .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

#services .card::before {
    content: "";
    width: 100%;
    height: 5px;
    border-radius: 16px 16px 0 0;
    position: absolute;
    top: 0;
    left: 0;
}

#services .card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#services .card .desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

#services .card ul {
    padding-left: 20px;
    margin: 0;
}

#services .card ul li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

/* Coloring bars for each category */
#services .graduate::before { background: #4e73df; }
#services .business::before { background: #1cc88a; }
#services .talent::before { background: #36b9cc; }
#services .family::before { background: #f6c23e; }

/* Responsive adjustments for services */
@media (max-width: 768px) {
    #services { padding: 20px 10px; }
    #services h2 { font-size: 22px; }
    #services .section-subtitle { font-size: 14px; margin-bottom: 20px; }
    #services .card { padding: 18px; }
    #services .card h2 { font-size: 18px; }
    #services .card .desc, #services .card ul li { font-size: 13px; line-height: 1.5; }
}

@media (max-width: 480px) {
    #services h2 { font-size: 20px; }
    #services .card h2 { font-size: 16px; }
    #services .card .desc, #services .card ul li { font-size: 12px; }
}

.contact-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 24px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(15, 45, 70, 0.12);
}

.contact-info h2 {
    margin-top: 0;
}

.contact-info {
    padding: 12px 18px;
}

@media (max-width: 820px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    #contact {
        padding: 28px 16px;
    }
}

/* Process steps: visual flow with arrows */
.process-steps {
    display: grid;
    gap: 16px;
    align-items: start;
    margin-top: 18px;
}

.process-steps .step {
    background: #ffffff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(8, 50, 71, 0.06);
    position: relative;
}

/* Step media (image above each step) */
.step-media {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}
.step-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Hover effect: only enable on devices that support hover (avoid mobile) */
@media (hover: hover) and (pointer: fine) {
    .step-media img {
        transition: transform 260ms ease, box-shadow 260ms ease;
        transform-origin: center center;
    }

    .step:hover .step-media img,
    .step:focus-within .step-media img {
        transform: translateY(-6px) scale(1.04);
        box-shadow: 0 10px 24px rgba(8,50,71,0.12);
    }
}

/* Move numeric index into the title with badge style */
.step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem; /* slightly larger for readability */
    margin: 0 0 8px;
}
.step-title .step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em; /* 2 times the current font-size of .step-title */
    height: 1.5em;
    background: #003F98;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    line-height: 1; /* ensure vertical centering of number */
    font-size: 1em; /* matches text size inside the badge */
}

/* global .step-index rule removed; sizing handled by .step-title .step-index */

.step-title {
    margin: 0 0 6px;
    color: #083247;
}

.step-desc {
    margin: 0;
    color: #475a6a;
    font-size: 0.95rem;
}

/* Desktop: show steps inline with arrow connectors */
@media (min-width: 900px) {
    .process-steps {
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        align-items: center;
    }

    .process-steps .step {
        text-align: left;
        padding: 20px;
    }

    .process-steps .step:not(:last-child)::before {
        content: '\2192'; /* right arrow */
        position: absolute;
        right: -6px;
        top: 50%;
        transform: translateY(-50%);
        color: #003F98;
        font-size: 20px;
    }
}

/* Mobile: vertical flow with down arrows */
@media (max-width: 899px) {

    .process-steps .step:not(:last-child)::after {
        content: '\2193'; /* down arrow */
        display: block;
        text-align: center;
        color: #003F98;
        margin: 6px auto 0 auto;
        font-size: 18px;
    }
}

    /* Compliance section cards (scoped) */
    #compliance {
        padding: 60px 20px;
    }

    #compliance .compliance-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 1000px;
        margin: 0 auto;
        align-items: start;
    }


    #compliance .compliance-card {
        background: #fff;
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 6px 22px rgba(12, 40, 60, 0.06);
        display: block;
        transition: box-shadow 200ms ease, transform 200ms ease;
    }

    #compliance .compliance-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 36px rgba(12, 40, 60, 0.12);
    }

    #compliance .compliance-head {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-bottom: 10px;
    }

    #compliance .compliance-icon {
        font-size: 34px;
        color: #2563eb; /* default blue tone */
        width: 56px;
        height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(37,99,235,0.06);
    }

    /* color variants */
    #compliance .compliance-legal .compliance-icon { color: #1e63b8; background: rgba(30,99,184,0.06); }
    #compliance .compliance-privacy .compliance-icon { color: #16a34a; background: rgba(22,163,74,0.06); }

    #compliance .compliance-card h3 {
        margin: 0;
        font-size: 1.15rem;
        color: #0f3b56;
    }

    #compliance .compliance-card p {
        margin: 12px 0 0 0;
        color: #475a6a;
        line-height: 1.7;
    }

    /* simple pulse and bounce animations similar to tailwind examples */
    .pulse { animation: copulse 2s ease-in-out infinite; }
    .bounce { animation: cobounce 2s ease-in-out infinite; }

    @keyframes copulse {
        0% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.06); opacity: 0.85; }
        100% { transform: scale(1); opacity: 1; }
    }

    @keyframes cobounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
    }

    @media (max-width: 820px) {
        #compliance .compliance-grid {
            grid-template-columns: 1fr;
        }
        #compliance {
            padding: 28px 16px;
        }
    }

    /* Footer QR placeholders */
    .footer-qr-grid {
        max-width: 1100px;
        margin: 24px auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        align-items: start;
    }
    .qr-card {
        border-radius: 8px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .qr-img {
        width: 120px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }
    .qr-img img { max-width: 100%; max-height: 100%; display: block; border-radius:6px }
    /* placeholder style for QR images when no img is provided */
    .qr-img.placeholder {
        width: 120px;
        height: 120px;
        background: linear-gradient(135deg,#f5f5f5,#e4e2e2);
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.95);
        font-weight: 700;
        box-shadow: inset 0 -6px 18px rgba(255,90,90,0.08);
    }

    /* optional icon/text inside placeholder (using ::after keeps HTML clean) */
    .qr-img.placeholder::after {
        content: "扫码";
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .qr-label { font-weight: 600; color: #ffffff; }

    .footer-legal { text-align: center; color: #fff; background: #003F98; padding: 14px 12px; }
    .footer-legal p { margin: 6px 0; }

    @media (max-width: 720px) {
        .footer-qr-grid { grid-template-columns: 1fr; padding: 0 12px; }
        .qr-img { width: 160px; height: 160px; }
    }

    /* --- 新增：Value cards 顶部图片与黑色标题条样式 --- */
    .value-card {
        overflow: hidden; /* ensure rounded corners clip media */
        display: flex;
        flex-direction: column;
    }

    .value-media img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .value-media {
        position: relative; /* 为绝对定位的标题条提供定位上下文 */
    }

    .value-title-bar {
        background-color: rgba(0,0,0,0.7); /* 半透明黑色背景条，可以看到后面图片透出 */
        /* 毛玻璃效果（需要浏览器支持）: backdrop-filter 模糊后面的内容 */
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        position: absolute; /* 覆盖在图片底部，不影响文档流 */
        left: 0;
        right: 0;
        bottom: 0;
        box-sizing: border-box;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .value-title-bar h4 {
        margin: 0;
        color: #fff; /* 白色字体，保持不受透明/模糊影响 */
        font-size: 1.05rem;
        text-align: center;
        position: relative;
        z-index: 2; /* 确保标题文字位于最上层 */
        opacity: 1; /* 强制不透明 */
        -webkit-font-smoothing: antialiased;
    }

    .value-content { padding: 14px; }

    /* 移除原有的蓝色竖条装饰以避免与新标题条冲突 */
    .values.grid-4 .value-card h4::before { display: none; }
