/* CSSVariantEngine v3.0 — jobs-yihao.com.cn */
/* Palette: slate-teal | Radius: medium | Shadow: glow */
/* Spacing: spacious | Transition: crisp */
/* Section layouts: {"news":"featured-top","features":"grid-3","hero":"left-aligned","testimonials":"carousel","partners":"centered","faq":"with-sidebar","stats":"grid-4","cta":"centered"} */

:root {
    --color-primary: #4a8cff;
    --color-primary-dark: #252e3a;
    --color-accent: #36d6c8;
    --color-surface: #eff5fb;
    --color-text: #122033;
    --rgb-primary: 74,140,255;
    --rgb-accent: 54,214,200;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(18, 32, 51, 0.08), 0 0 0 1px rgba(54, 214, 200, 0.08);
    --shadow-md: 0 10px 24px rgba(18, 32, 51, 0.12), 0 0 20px rgba(54, 214, 200, 0.16);
    --shadow-lg: 0 18px 42px rgba(18, 32, 51, 0.18), 0 0 32px rgba(54, 214, 200, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    --space-section: 5.25rem;
    --space-card: 1.75rem;
    --space-gap: 1.375rem;
    --transition: 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    --heading-weight: 700;
    --body-line-height: 1.6;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background: radial-gradient(circle at top, rgba(54, 214, 200, 0.14) 0%, rgba(54, 214, 200, 0) 48%), linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%); accent-color: var(--color-accent); caret-color: var(--color-accent); }
h1, h2, h3, h4 { font-weight: var(--heading-weight); color: var(--color-text); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(239, 245, 251, 0.78)); color: var(--color-text); }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: box-shadow var(--transition), transform var(--transition), background-color var(--transition), color var(--transition); background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 245, 251, 0.86)); color: var(--color-text); backdrop-filter: blur(12px) saturate(140%); }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition); background: linear-gradient(135deg, var(--color-primary), #2b5fd9); color: #f8fcff; box-shadow: var(--shadow-sm); outline-color: rgba(54, 214, 200, 0.55); outline-style: solid; }
a:not([class]) { color: var(--color-primary); transition: color var(--transition), text-shadow var(--transition); text-decoration-color: rgba(74, 140, 255, 0.45); }

/* ========== Section Layout Variants ========== */

/* news: featured-top */
/* 首篇横跨全宽 */
                .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }
                .news-grid > *:first-child { grid-column: span 3; }

/* features: grid-3 */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-gap); }

/* hero: left-aligned */
.hero-content { text-align: left; max-width: 600px; }

/* testimonials: carousel */
/* 单条轮播 */
                .testimonial-list { display: flex; overflow: hidden; } 
                .testimonial-list > * { flex: 0 0 100%; }

/* partners: centered */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
                .faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

/* stats: grid-4 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-gap); text-align: center; }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

/* Page Layout: wide */
/* 超宽 */
            .page-main { max-width: 1400px; margin: 0 auto; }

/* 条件性装饰 */
.card:hover, [class*="card"]:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
a:not([class]):hover { color: var(--color-accent); text-shadow: 0 0 18px rgba(54, 214, 200, 0.38); }
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #252e3a 0%, #31435b 52%, #36d6c8 135%); color: #f5fbff; text-shadow: 0 2px 18px rgba(18, 32, 51, 0.35); }

/* Responsive */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .feature-list { grid-template-columns: repeat(2, 1fr) !important; }
    .partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-inner { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    :root { --space-section: 2.25rem; --space-card: 1.1rem; --space-gap: 0.8rem; }
    .news-grid { grid-template-columns: 1fr !important; }
    .feature-list { grid-template-columns: 1fr !important; }
    .faq-list { grid-template-columns: 1fr !important; }
    .testimonial-list { column-count: 1 !important; }
    .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .cta-inner { grid-template-columns: 1fr !important; }
}