Files
fiveq-website-2026/src/styles/global.css
T
2026-06-04 18:26:30 +08:00

1459 lines
25 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:root {
--bg: #fffdfb;
--surface: #ffffff;
--surface-soft: #f8f9fd;
--surface-accent: #f4f7ff;
--line: #ece7e2;
--line-strong: #d8dde8;
--text: #2d2a28;
--text-heading: #1f2430;
--muted: #8e8a87;
--muted-strong: #686461;
--accent: #f28877;
--brand: #7aa0ff;
--brand-strong: #4b76eb;
--brand-soft: #eef3ff;
--footer: #313238;
--footer-muted: #b8bcc6;
--header-bg: rgba(255, 253, 251, 0.9);
--hero-accent: #2875ff;
--showcase-title-color: #4986cb;
--nav-link: #44423f;
--shadow-soft: 0 22px 70px rgba(38, 52, 90, 0.08);
--shadow-card: 0 14px 48px rgba(43, 53, 84, 0.08);
--radius-xl: 36px;
--radius-lg: 24px;
--radius-md: 18px;
--content: 1320px;
--nav-h: 104px;
color-scheme: light;
}
[data-theme="dark"] {
--bg: #0f1115;
--surface: #171a21;
--surface-soft: #1c2028;
--surface-accent: #222836;
--line: #2a2f3a;
--line-strong: #3d4454;
--text: #e8eaef;
--text-heading: #f1f3f7;
--muted: #8b95a5;
--muted-strong: #aeb6c3;
--accent: #ff9a8a;
--brand: #9bb4ff;
--brand-strong: #b8c8ff;
--brand-soft: #252a38;
--footer: #0c0e12;
--footer-muted: #8a91a0;
--header-bg: rgba(15, 17, 21, 0.88);
--hero-accent: #7eb8ff;
--showcase-title-color: #7ec8f0;
--nav-link: #c9d0db;
--shadow-soft: 0 22px 70px rgba(0, 0, 0, 0.35);
--shadow-card: 0 14px 48px rgba(0, 0, 0, 0.4);
color-scheme: dark;
}
.site-lang-en body,
.site-lang-fr body {
font-family: Manrope, "Segoe UI", system-ui, sans-serif;
}
.site-lang-ja body {
font-family:
Manrope,
"Hiragino Sans",
"Hiragino Kaku Gothic ProN",
"Noto Sans JP",
"PingFang SC",
"Microsoft YaHei",
sans-serif;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-width: 320px;
background: var(--bg);
color: var(--text);
font-family: Manrope, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
text-rendering: optimizeLegibility;
}
img {
display: block;
max-width: 100%;
}
a {
color: inherit;
text-decoration: none;
}
button {
font: inherit;
}
/* ========== 页面外壳 ========== */
.page-shell {
position: relative;
overflow-x: clip;
}
.container {
width: min(calc(100% - 48px), var(--content));
margin: 0 auto;
}
/* ========== 粘性导航栏 ========== */
.site-header {
position: sticky;
top: 0;
z-index: 100;
background: var(--header-bg);
backdrop-filter: blur(16px);
}
.site-header::after {
content: "";
position: absolute;
inset: auto 0 0;
height: 1px;
background: rgba(26, 29, 38, 0.08);
}
.site-nav {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
min-height: var(--nav-h);
}
.brand {
display: inline-flex;
align-items: center;
gap: 14px;
min-width: 0;
}
.brand-mark {
width: 34px;
height: 34px;
flex: none;
}
.brand-copy {
display: flex;
align-items: center;
gap: 8px;
white-space: nowrap;
font-size: 24px;
font-weight: 700;
letter-spacing: 0.01em;
}
.brand-copy strong {
color: var(--text-heading);
}
.brand-copy span {
color: var(--text-heading);
}
.nav-links {
display: inline-flex;
align-items: center;
gap: 34px;
flex-wrap: wrap;
}
.nav-link {
position: relative;
padding: 8px 0;
font-size: 18px;
font-weight: 700;
color: var(--nav-link);
letter-spacing: 0.04em;
}
.nav-link.current {
color: var(--brand);
}
.nav-link.current::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -10px;
margin: auto;
width: 18px;
height: 2px;
border-radius: 999px;
background: currentColor;
}
.header-tools {
display: inline-flex;
align-items: center;
gap: 12px;
}
.lang-switch {
position: relative;
}
.lang-switch summary {
list-style: none;
cursor: pointer;
}
.lang-switch summary::-webkit-details-marker {
display: none;
}
.lang-switch-panel {
position: absolute;
right: 0;
top: calc(100% + 10px);
min-width: 168px;
padding: 8px;
border-radius: 16px;
border: 1px solid var(--line);
background: var(--surface);
box-shadow: var(--shadow-card);
z-index: 120;
}
.lang-switch-panel a {
display: block;
padding: 10px 12px;
border-radius: 12px;
font-size: 13px;
font-weight: 700;
color: var(--text);
}
.lang-switch-panel a:hover,
.lang-switch-panel a:focus-visible {
background: var(--brand-soft);
color: var(--brand-strong);
}
.lang-switch-panel a.current {
color: var(--brand-strong);
}
.theme-toggle-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border: 1px solid var(--line);
border-radius: 14px;
background: var(--surface);
color: var(--text-heading);
cursor: pointer;
transition: background 0.15s ease, border-color 0.15s ease;
}
.theme-toggle-btn:hover {
border-color: var(--line-strong);
}
.theme-toggle-btn .icon-dark {
display: none;
}
[data-theme="dark"] .theme-toggle-btn .icon-light {
display: none;
}
[data-theme="dark"] .theme-toggle-btn .icon-dark {
display: block;
}
.locale-pill {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
border: 1px solid var(--line);
border-radius: 999px;
background: var(--surface);
color: var(--muted-strong);
font-size: 12px;
font-weight: 700;
}
.locale-pill svg {
width: 10px;
height: 10px;
flex-shrink: 0;
}
.menu-toggle {
display: none;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
border: 0;
border-radius: 14px;
background: var(--surface);
box-shadow: 0 8px 24px rgba(49, 50, 56, 0.08);
color: var(--text);
cursor: pointer;
}
.mobile-menu {
display: none;
padding: 0 0 24px;
}
.mobile-menu.is-open {
display: block;
}
.mobile-menu a {
display: block;
padding: 14px 18px;
border-radius: 16px;
font-size: 15px;
font-weight: 700;
}
.mobile-menu a.current {
background: var(--brand-soft);
color: var(--brand-strong);
}
/* ========== Hero 区域 ========== */
.hero {
padding: 92px 0 60px;
}
.index-hero {
background-image: url('/images/index-hero-bg.webp');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.philosophy-hero {
background: linear-gradient(145deg, rgba(122, 160, 255, 0.12) 0%, rgba(238, 243, 255, 0.9) 40%, rgba(122, 160, 255, 0.08) 100%);
}
[data-theme="dark"] .philosophy-hero {
background: linear-gradient(145deg, rgba(122, 160, 255, 0.14) 0%, rgba(23, 26, 33, 0.96) 45%, rgba(122, 160, 255, 0.06) 100%);
}
[data-theme="dark"] .index-hero {
box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.55);
}
.hero.centered {
text-align: center;
}
.hero-copy {
max-width: 920px;
margin: 0 auto;
}
.eyebrow {
margin: 0 0 28px;
color: var(--accent);
font-size: 17px;
font-weight: 800;
letter-spacing: 0.08em;
}
.hero-title {
margin: 0;
font-size: clamp(40px, 5vw, 72px);
line-height: 1.15;
font-weight: 800;
letter-spacing: -0.03em;
}
.hero-subtitle {
max-width: 640px;
margin: 18px auto 0;
color: var(--hero-accent);
font-size: 30px;
line-height: 1.9;
letter-spacing: 0.04em;
}
.hero-actions {
display: flex;
justify-content: center;
gap: 18px;
margin-top: 44px;
flex-wrap: wrap;
}
/* ========== 按钮 ========== */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 48px;
padding: 0 24px;
border-radius: 999px;
border: 1px solid transparent;
font-size: 13px;
font-weight: 800;
letter-spacing: 0.06em;
transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
cursor: pointer;
}
.btn:hover {
transform: translateY(-1px);
}
.btn-outline {
border-color: rgba(122, 160, 255, 0.4);
color: var(--brand);
background: rgba(255, 255, 255, 0.72);
}
.btn-primary {
background: linear-gradient(135deg, #7aa0ff, #5f84ef);
color: #fff;
box-shadow: 0 14px 34px rgba(95, 132, 239, 0.28);
}
.btn-ghost {
background: var(--surface);
border-color: var(--line);
color: var(--muted-strong);
}
/* ========== 通用区域 ========== */
.section {
padding: 122px 0;
}
.section.compact {
padding-top: 88px;
padding-bottom: 88px;
}
.section-head {
margin: 0 auto 58px;
text-align: center;
}
.section-title {
margin: 0;
font-size: clamp(26px, 3.3vw, 48px);
line-height: 1.18;
letter-spacing: -0.02em;
}
.section-copy {
max-width: 780px;
margin: 22px auto 0;
color: var(--muted-strong);
font-size: 15px;
line-height: 1.95;
}
/* ========== 分栏布局 ========== */
.split-hero,
.split-section {
display: grid;
grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
gap: 56px;
align-items: center;
}
.stacked-copy {
max-width: 560px;
}
.statement {
font-size: clamp(34px, 4.5vw, 56px);
line-height: 1.2;
letter-spacing: -0.03em;
margin: 0;
}
.lead {
margin: 20px 0 0;
color: var(--muted-strong);
font-size: 16px;
line-height: 1.95;
}
/* ========== 图片面板 ========== */
.art-panel {
position: relative;
border-radius: var(--radius-xl);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.96));
border: 1px solid rgba(216, 221, 232, 0.7);
box-shadow: var(--shadow-soft);
overflow: hidden;
}
.art-panel img {
width: 100%;
height: auto;
}
.art-panel.photo img {
height: 100%;
min-height: 100%;
object-fit: cover;
}
/* ========== 网格系统 ========== */
.grid-two {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 30px;
}
.grid-three {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 30px;
}
.grid-four {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 30px;
}
/* ========== 卡片通用 ========== */
.feature-card,
.info-card,
.teacher-card,
.timeline-card,
.value-card,
.download-card {
position: relative;
min-height: 100%;
border-radius: var(--radius-lg);
background: var(--surface);
border: 1px solid rgba(216, 221, 232, 0.85);
box-shadow: var(--shadow-card);
}
.feature-card,
.info-card,
.timeline-card,
.value-card {
padding: 34px;
}
.feature-card.soft {
background: linear-gradient(180deg, #ffffff, #fafbff);
}
.feature-card h3,
.info-card h3,
.timeline-card h3,
.value-card h3,
.download-card h3 {
margin: 0 0 16px;
font-size: 28px;
line-height: 1.22;
letter-spacing: -0.02em;
}
.feature-card p,
.info-card p,
.timeline-card p,
.value-card p,
.download-card p {
margin: 0;
color: var(--muted-strong);
font-size: 15px;
line-height: 1.9;
}
.feature-card .mini-link,
.download-card .mini-link {
display: inline-flex;
margin-top: 26px;
color: var(--brand);
font-size: 13px;
font-weight: 800;
letter-spacing: 0.06em;
}
/* ========== 图标容器 ========== */
.icon-wrap {
display: inline-flex;
align-items: center;
justify-content: center;
width: 68px;
height: 68px;
margin-bottom: 24px;
border-radius: 20px;
background: linear-gradient(180deg, rgba(122, 160, 255, 0.15), rgba(122, 160, 255, 0.05));
}
.icon-wrap img {
width: 34px;
height: 34px;
}
/* ========== 特殊卡片变体 ========== */
.headline-card {
padding: 44px;
}
.headline-card .statement {
font-size: clamp(28px, 4vw, 50px);
}
.headline-card .lead {
max-width: 540px;
}
/* 展示型卡片(师资亮点 / 学习体验) */
.showcase-card {
display: flex;
flex-direction: column;
padding: 0;
overflow: hidden;
}
/* 图片区域:标题叠在图片上方 */
.showcase-hero {
position: relative;
}
.showcase-hero img {
width: 100%;
aspect-ratio: 16 / 10;
object-fit: cover;
display: block;
}
.showcase-title {
position: absolute;
top: 28px;
left: 32px;
margin: 0;
color: var(--showcase-title-color);
font-size: 32px;
font-weight: 800;
letter-spacing: 0.02em;
z-index: 1;
}
/* 文字区域 */
.showcase-body {
display: flex;
flex-direction: column;
flex: 1;
padding: 28px 34px 34px;
}
.card-action {
display: flex;
justify-content: flex-end;
margin-top: auto;
padding-top: 24px;
}
.quote-card {
padding: 48px;
text-align: center;
}
.quote-card .statement {
font-size: clamp(30px, 4vw, 52px);
}
.quote-card .lead {
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
/* ========== 视觉堆叠 ========== */
.visual-stack {
display: grid;
gap: 24px;
}
.visual-stack.dual {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.visual-stack .art-panel {
padding: 24px;
}
.visual-stack .art-panel.photo {
padding: 0;
}
/* ========== 图片说明 ========== */
.art-caption {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-top: 22px;
padding-top: 18px;
border-top: 1px solid rgba(216, 221, 232, 0.7);
}
.art-caption strong {
font-size: 18px;
letter-spacing: -0.01em;
}
.art-caption span {
color: var(--muted);
font-size: 13px;
letter-spacing: 0.05em;
}
/* ========== 标签和值列表 ========== */
.pill-list,
.value-list {
display: flex;
flex-wrap: wrap;
gap: 14px;
margin-top: 28px;
}
.pill-list span,
.value-list span {
display: inline-flex;
align-items: center;
min-height: 42px;
padding: 0 18px;
border-radius: 999px;
background: var(--surface);
border: 1px solid var(--line);
color: var(--muted-strong);
font-size: 13px;
font-weight: 800;
letter-spacing: 0.05em;
}
/* ========== Ribbon 标签 ========== */
.intro-ribbon {
display: inline-flex;
align-items: center;
gap: 10px;
margin-bottom: 22px;
padding: 10px 16px;
border-radius: 999px;
background: var(--surface);
border: 1px solid var(--line);
color: var(--muted);
font-size: 12px;
font-weight: 800;
letter-spacing: 0.08em;
}
/* ========== CTA 横幅 ========== */
.cta-band {
padding: 42px;
text-align: center;
}
.cta-band h3 {
margin: 0;
font-size: clamp(28px, 4vw, 42px);
line-height: 1.25;
}
.cta-band p {
max-width: 760px;
margin: 18px auto 0;
color: var(--muted-strong);
font-size: 15px;
line-height: 1.95;
}
.cta-band .hero-actions {
margin-top: 30px;
}
/* ========== 教师卡片 ========== */
.teacher-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 24px;
}
.teacher-card {
padding: 22px;
text-align: center;
}
.teacher-card .portrait {
margin-bottom: 18px;
border-radius: 22px;
overflow: hidden;
border: 1px solid rgba(216, 221, 232, 0.75);
background: linear-gradient(160deg, #eef3ff, #fff6f1);
}
.teacher-card .portrait img {
width: 100%;
aspect-ratio: 0.86;
object-fit: cover;
}
.teacher-card h3 {
margin: 0;
font-size: 24px;
}
.teacher-meta {
margin-top: 6px;
color: var(--brand-strong);
font-size: 13px;
font-weight: 800;
letter-spacing: 0.08em;
}
.teacher-bio {
margin-top: 16px;
color: var(--muted-strong);
font-size: 14px;
line-height: 1.85;
}
/* ========== 下载区 ========== */
.download-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
}
.download-card {
padding: 32px;
}
.download-meta {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 22px;
}
.download-icon {
width: 56px;
height: 56px;
border-radius: 18px;
background: linear-gradient(135deg, rgba(122, 160, 255, 0.16), rgba(122, 160, 255, 0.03));
display: flex;
align-items: center;
justify-content: center;
}
.download-icon img {
width: 30px;
height: 30px;
}
/* ========== 页脚 ========== */
.site-footer {
margin-top: 120px;
background: var(--footer);
color: #fff;
}
.footer-main {
display: grid;
grid-template-columns: 1.35fr 0.8fr 0.8fr;
gap: 48px;
padding: 60px 0 40px;
}
.site-footer h3 {
margin: 0 0 18px;
font-size: 18px;
letter-spacing: -0.01em;
}
.site-footer p,
.site-footer a {
color: var(--footer-muted);
font-size: 14px;
line-height: 2;
}
.footer-links {
display: grid;
gap: 6px;
}
.social-row {
display: flex;
gap: 12px;
margin-top: 24px;
}
.social-row a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.22);
}
.social-row svg {
width: 16px;
height: 16px;
fill: currentColor;
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding: 22px 0 30px;
color: rgba(255, 255, 255, 0.46);
font-size: 12px;
text-align: center;
}
.footer-legal-line {
margin: 0;
line-height: 1.65;
}
.site-footer .footer-icp-link {
color: rgba(255, 255, 255, 0.62);
text-decoration: underline;
text-underline-offset: 3px;
}
.site-footer .footer-icp-link:hover {
color: rgba(255, 255, 255, 0.85);
}
.footer-trademark {
margin: 14px auto 0;
max-width: 720px;
color: rgba(255, 255, 255, 0.38);
font-size: 11px;
line-height: 1.7;
}
/* ========== 背景装饰 ========== */
.bg-wash {
position: relative;
}
.bg-wash::before {
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(circle at 12% 12%, rgba(122, 160, 255, 0.08), transparent 24%),
radial-gradient(circle at 88% 18%, rgba(242, 136, 119, 0.08), transparent 22%),
radial-gradient(circle at 78% 86%, rgba(122, 160, 255, 0.05), transparent 24%);
pointer-events: none;
}
.bg-wash > * {
position: relative;
}
/* ========== Bento 网格(首页"我们的优势" ========== */
.bento-grid {
display: grid;
gap: 24px;
}
/* 左图右文卡片 */
.index-left-right {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0;
overflow: hidden;
max-height: 480px;
}
.index-left-right .bento-hero {
min-height: 320px;
}
.index-left-right .bento-hero .art-panel {
border-radius: 0;
border: none;
box-shadow: none;
}
.index-left-right .bento-side {
display: flex;
flex-direction: column;
justify-content: center;
padding: 40px 56px;
}
.bento-grid .bento-row {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
}
/* ========== 交替图文卡片(课程体系等) ========== */
.alt-card {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 0;
align-items: center;
border-radius: var(--radius-lg);
background: var(--surface);
border: 1px solid rgba(216, 221, 232, 0.85);
box-shadow: var(--shadow-card);
overflow: hidden;
}
.alt-card.reverse {
direction: rtl;
}
.alt-card.reverse > * {
direction: ltr;
}
.alt-card-text {
padding: 48px;
}
.alt-card-text h2 {
margin: 0 0 16px;
font-size: clamp(24px, 3vw, 36px);
line-height: 1.25;
letter-spacing: -0.02em;
}
.alt-card-text p {
margin: 0;
color: var(--muted-strong);
font-size: 15px;
line-height: 1.9;
}
.alt-card-img {
display: flex;
align-items: center;
justify-content: center;
padding: 40px;
min-height: 280px;
}
.alt-card-img img {
max-width: 260px;
max-height: 220px;
object-fit: contain;
}
.alt-card-img.photo {
padding: 0;
min-height: 320px;
}
.alt-card-img.photo img {
width: 100%;
height: 100%;
max-width: none;
max-height: none;
object-fit: cover;
}
/* ========== 圆形图标项(教学方法) ========== */
.method-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
text-align: center;
}
.method-icon {
width: 100px;
height: 100px;
border-radius: 50%;
background: linear-gradient(180deg, rgba(122, 160, 255, 0.12), rgba(122, 160, 255, 0.03));
border: 1px solid rgba(216, 221, 232, 0.6);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.method-icon img {
width: 56px;
height: 56px;
object-fit: contain;
}
.method-label {
font-size: 14px;
font-weight: 700;
color: var(--text);
letter-spacing: 0.02em;
}
/* ========== 全宽 Hero 图片 ========== */
.hero-image {
width: 100%;
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-soft);
}
.hero-image img {
width: 100%;
height: auto;
display: block;
}
/* ========== 分栏 Hero(左文右图) ========== */
.hero-split {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 48px;
align-items: center;
padding: 80px 0 60px;
}
.hero-split-text {
max-width: 560px;
}
.hero-split-art {
display: flex;
align-items: center;
justify-content: center;
}
.hero-split-art img {
max-width: 100%;
height: auto;
}
/* ========== 装饰引号 ========== */
.deco-quote {
position: absolute;
color: var(--brand);
opacity: 0.15;
font-size: 120px;
font-weight: 900;
line-height: 1;
pointer-events: none;
user-select: none;
}
.deco-quote.top-right {
top: -20px;
right: 40px;
}
/* ========== 带缩略图的卡片(首页"我们的优势"底部3卡片) ========== */
.card-with-thumb {
padding: 0;
overflow: hidden;
}
.card-with-thumb .card-thumb {
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(180deg, #f8f9fd, #edf1ff);
}
.card-with-thumb .card-thumb img {
object-fit: contain;
}
.card-with-thumb h3 {
padding: 20px 24px 0;
}
.card-with-thumb p {
padding: 0 24px 24px;
}
/* ========== 信息卡片图标标题(课程概念) ========== */
.info-card-title {
display: flex;
align-items: center;
gap: 10px;
margin: 0 0 16px;
font-size: 18px;
font-weight: 800;
line-height: 1.22;
letter-spacing: -0.01em;
}
.info-card-title svg,
.info-card-title [data-icon] {
flex-shrink: 0;
width: 22px;
height: 22px;
color: var(--brand);
}
/* ========== 简洁教师卡片(无边框阴影) ========== */
.teacher-card.minimal {
border: none;
box-shadow: none;
background: transparent;
padding: 0;
}
.teacher-card.minimal h3 {
font-size: 18px;
}
.teacher-card.minimal .teacher-meta {
color: var(--muted-strong);
font-weight: 600;
}
/* ========== 教育目标双图叠放 ========== */
.edu-goal-images {
position: relative;
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 16px;
align-items: end;
padding: 24px;
}
.edu-goal-images .goal-photo {
border-radius: var(--radius-md);
overflow: hidden;
}
.edu-goal-images .goal-photo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.edu-goal-images .goal-icon {
border-radius: var(--radius-md);
overflow: hidden;
}
.edu-goal-images .goal-icon img {
width: 100%;
height: auto;
object-fit: contain;
}
/* ========== 教学特色简洁卡片 ========== */
.feature-thumb-card {
padding: 0;
overflow: hidden;
border-radius: var(--radius-lg);
background: var(--surface);
border: 1px solid rgba(216, 221, 232, 0.85);
box-shadow: var(--shadow-card);
}
.feature-thumb-card .thumb-img {
width: 100%;
aspect-ratio: 16 / 10;
object-fit: cover;
display: block;
}
.feature-thumb-card .thumb-caption {
padding: 16px 20px;
text-align: center;
color: var(--muted-strong);
font-size: 13px;
line-height: 1.7;
}
/* ========== 响应式 ========== */
@media (max-width: 1180px) {
.site-nav {
min-height: 88px;
}
.nav-links,
.lang-switch {
display: none;
}
.mobile-lang {
padding: 8px 0 4px;
margin-top: 8px;
border-top: 1px solid var(--line);
}
.mobile-lang p {
margin: 0 0 8px;
padding: 0 18px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
.mobile-lang a {
display: block;
padding: 10px 18px;
border-radius: 12px;
font-size: 14px;
font-weight: 700;
}
.mobile-lang a.current {
background: var(--brand-soft);
color: var(--brand-strong);
}
.mobile-menu .theme-toggle-btn {
margin: 12px 18px 0;
width: calc(100% - 36px);
}
.menu-toggle {
display: inline-flex;
}
.split-hero,
.split-section,
.grid-three,
.grid-four,
.teacher-grid,
.download-grid,
.footer-main {
grid-template-columns: 1fr;
}
.grid-two,
.visual-stack.dual {
grid-template-columns: 1fr;
}
.hero-split {
grid-template-columns: 1fr;
text-align: center;
}
.hero-split-text {
max-width: none;
}
.index-left-right {
grid-template-columns: 1fr;
}
.index-left-right .bento-side {
padding: 28px;
}
.bento-grid .bento-row {
grid-template-columns: 1fr;
}
.alt-card {
grid-template-columns: 1fr;
}
.alt-card.reverse {
direction: ltr;
}
}
@media (max-width: 760px) {
:root {
--nav-h: 84px;
}
.container {
width: min(calc(100% - 32px), var(--content));
}
.hero {
padding: 64px 0 32px;
}
.hero-split {
padding: 48px 0 24px;
}
.section {
padding: 82px 0;
}
.feature-card,
.info-card,
.timeline-card,
.value-card,
.download-card,
.teacher-card,
.headline-card,
.quote-card,
.cta-band {
padding: 26px;
}
.brand-copy {
gap: 6px;
font-size: 24px;
}
.hero-actions {
flex-direction: column;
align-items: stretch;
}
.btn {
width: 100%;
}
.alt-card-text {
padding: 26px;
}
.alt-card-img {
padding: 24px;
min-height: 200px;
}
.site-footer {
margin-top: 82px;
}
.method-icon {
width: 80px;
height: 80px;
}
.method-icon img {
width: 44px;
height: 44px;
}
}