/* ==========================================
   Video Gallery 页专属样式
   ========================================== */

/* ---------- Hero (已对齐全站高级风格) ---------- */
.vid-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 100px 20px;
    overflow: hidden;
    color: #fff;
    background: #0a1f3d;
}
.vid-hero-bg {
    position: absolute; inset: 0;
    background: url('/images/banner/banner-heavy-duty-profile-cnc-machining.webp') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
}
.vid-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,42,74,0.92) 0%, rgba(15,42,74,0.6) 55%, rgba(15,42,74,0.35) 100%);
    z-index: 2;
}
.vid-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.vid-hero-label {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    font-weight: 600;
    text-transform: uppercase;
}
.vid-hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
    color: #fff;
}
.vid-hero p {
    font-size: 17px;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 0 32px;
}
.vid-hero-cta { 
    display: flex; 
    gap: 14px; 
    flex-wrap: wrap; 
}
.vid-hero-btn { 
    display: inline-block; 
    background: #1d6fe8; 
    color: #fff; 
    padding: 14px 30px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-size: 15px; 
    font-weight: 600; 
    transition: all 0.25s; 
    border: 1px solid #1d6fe8; 
}
.vid-hero-btn:hover { 
    background: #1557b8; 
    border-color: #1557b8; 
    transform: translateY(-2px); 
}
.vid-hero-btn-outline { 
    display: inline-block; 
    background: transparent; 
    color: #fff; 
    padding: 14px 30px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-size: 15px; 
    font-weight: 600; 
    border: 1px solid rgba(255,255,255,0.4); 
    transition: all 0.25s; 
}
.vid-hero-btn-outline:hover { 
    background: rgba(255,255,255,0.1); 
    border-color: #fff; 
    transform: translateY(-2px); 
}

/* ---------- Featured Video (Company Intro) ---------- */
.vid-featured {
    padding: 70px 20px 40px;
    background: #fff;
}
.vid-featured-inner {
    max-width: 1000px;
    margin: 0 auto;
}
.vid-featured-head {
    text-align: center;
    margin-bottom: 32px;
}
.vid-featured-head .vid-hero-label {
    color: var(--c-primary);
    margin-bottom: 12px;
}
.vid-featured-head h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--c-dark);
    margin: 0 0 12px;
}
.vid-featured-head p {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}
.vid-featured-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px -16px rgba(15,42,74,0.25);
}
.vid-featured-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ---------- Section Head ---------- */
.vid-section-head {
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
}
.vid-section-head .vid-hero-label {
    color: var(--c-primary);
    margin-bottom: 12px;
}
.vid-section-head h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--c-dark);
    margin: 0 0 12px;
}
.vid-section-head p {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

/* ---------- Grid ---------- */
.vid-main {
    padding: 70px 20px 80px;
    background: var(--c-bg-soft);
}
.vid-main-alt {
    background: #fff;
}
.vid-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.vid-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.vid-main-alt .vid-card {
    background: var(--c-bg-soft);
}
.vid-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-primary);
    box-shadow: 0 20px 40px -16px rgba(15,42,74,0.2);
}
.vid-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.vid-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.vid-info {
    padding: 22px 24px 26px;
}
.vid-tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.vid-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-dark);
    margin: 0 0 8px;
    line-height: 1.35;
}
.vid-info p {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- CTA ---------- */
.vid-cta {
    padding: 70px 20px;
    background: linear-gradient(135deg, #0a2540 0%, #1e3c72 100%);
    color: #fff;
    text-align: center;
}
.vid-cta h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 14px;
}
.vid-cta p {
    font-size: 16px;
    color: #cbd5e1;
    margin: 0 auto 28px;
    max-width: 620px;
    line-height: 1.6;
}
.vid-cta-btn {
    display: inline-block;
    background: var(--c-primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
}
.vid-cta-btn:hover { background: var(--c-primary-hover); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .vid-hero h1 { font-size: 42px; }
    .vid-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .vid-section-head h2 { font-size: 24px; }
    .vid-featured-head h2 { font-size: 26px; }
}
@media (max-width: 600px) {
    .vid-hero { min-height: 340px; padding: 60px 20px; }
    .vid-hero h1 { font-size: 34px; }
    .vid-hero p { font-size: 15px; }
    .vid-grid { grid-template-columns: 1fr; gap: 20px; }
    .vid-cta h2 { font-size: 24px; }
    .vid-featured { padding: 50px 20px 20px; }
    .vid-featured-head h2 { font-size: 22px; }
    .vid-hero-cta { flex-direction: column; }
    .vid-hero-btn, .vid-hero-btn-outline { text-align: center; }
}