@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/NotoSansSC-300.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/NotoSansSC-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/NotoSansSC-500.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/NotoSansSC-700.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/NotoSerifSC-400.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/NotoSerifSC-700.woff2") format("woff2");
}

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/MaterialIcons-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "ZCOOL XiaoWei";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ZCOOLXiaoWei-Regular.ttf") format("truetype");
}

:root {
  --primary: #b21c1c;
  --accent: #b21c1c;
  --gold: #ca8a04;
  --china-red: #b21c1c;
  --page-bg: #f6f1ea;
  --bg-light: #f6f1ea;
  --bg-dark: #1b1b1b;
  --text-dark: #1b1b1b;
  --text-muted: #4a3f36;
  --shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

html {
  background: linear-gradient(180deg, #f7f2ea 0%, #f1e6d8 55%, #eadbcc 100%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  background: linear-gradient(180deg, #f7f2ea 0%, #f1e6d8 55%, #eadbcc 100%);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

.page {
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 12% 20%, rgba(178, 28, 28, 0.16) 0 120px, transparent 180px),
    radial-gradient(circle at 85% 18%, rgba(27, 27, 27, 0.12) 0 140px, transparent 210px),
    repeating-linear-gradient(90deg, rgba(27, 27, 27, 0.06) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(0deg, rgba(178, 28, 28, 0.05) 0 1px, transparent 1px 16px);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 8% 65%, rgba(27, 27, 27, 0.1) 0 90px, transparent 150px),
    radial-gradient(circle at 92% 72%, rgba(178, 28, 28, 0.18) 0 110px, transparent 170px),
    radial-gradient(circle at 50% 105%, rgba(27, 27, 27, 0.06) 0 220px, transparent 320px);
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4 {
  font-family: "Noto Serif SC", serif;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.container.narrow {
  max-width: 960px;
}

.section {
  padding: 40px 0;
}

.section-light {
  background: transparent;
}

.section-white {
  background: transparent;
}

.text-gold {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 27, 27, 0.92);
  backdrop-filter: blur(12px);
  /* border-bottom: 1px solid #e2d7c8; */
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-text {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  list-style: none;
}

.main-nav li a {
  display: inline-flex;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  transition: color 0.2s ease;
  color: rgba(255, 255, 255, 0.78);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link.is-active {
  color: #ffffff;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

.nav-cta {
  padding: 10px 18px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary);
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero-image,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.hero-image {
  margin: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.hero-content {
  position: relative;
  width: 100%;
}

.hero-text {
  max-width: 640px;
}

.hero-title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}

.hero-desc {
  font-size: 20px;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 8px;
}

.btn-small {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: #8f1515;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-block {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(178, 28, 28, 0.22);
}

.btn-block:hover {
  transform: translateY(-4px);
}

.btn-gray {
  background: var(--accent);
  color: #ffffff;
  padding: 8px 32px;
  border-radius: 4px;
  font-size: 14px;
}

.btn-gray:hover {
  background: var(--accent);
}


.btn-xl {
  padding: 16px 48px;
  font-size: 16px;
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(178, 28, 28, 0.18);
}

.split {
  display: grid;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}

.section-desc {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.icon-gold {
  color: var(--gold);
}

.split-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.media-image,
.media-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 320px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.media-image {
  margin: 0;
}

.split-carousel {
  position: relative;
  width: 100%;
  height: 320px;
}

.media-image.is-active,
.media-image.is-active img {
  opacity: 1;
}

.media-image.is-active {
  position: relative;
}

.split-media:hover .media-image,
.split-media:hover .media-image img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.icon-card {
  text-align: center;
  cursor: pointer;
}

.icon-circle {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--primary);
  font-size: 30px;
}

.icon-card:hover .icon-circle {
  background: var(--primary);
  color: #ffffff;
}

.icon-card h3 {
  font-weight: 700;
  font-size: 16px;
}

.pattern-section {
  position: relative;
  overflow: hidden;
}

.bg-pattern {
  display: none;
}

.form-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid #f3f4f6;
}

.form-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-header h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.form-header p {
  color: var(--text-muted);
}

.form-success,
.form-error {
  margin-top: 12px;
  font-weight: 600;
}

.form-success {
  color: var(--gold);
}

.form-error {
  color: var(--primary);
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-grid {
  display: grid;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  border: none;
  border-radius: 12px;
  background: #f3f4f6;
  padding: 12px 16px;
  outline: none;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  box-shadow: inset 0 0 0 2px rgba(160, 44, 35, 0.6);
}

.contact-field {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-field select,
.contact-field input {
  min-width: 0;
}

.contact-type {
  width: 120px;
}

.country-code {
  width: 120px;
}

.contact-field input {
  flex: 1;
}

.is-hidden {
  display: none;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}

.accent-bar {
  width: 4px;
  height: 32px;
  background: var(--primary);
}

.image-grid-two {
  display: grid;
  gap: 16px;
}

.image-grid-two .wp-block-image,
.card-grid .wp-block-image,
.detail-image .wp-block-image,
.service-icon .wp-block-image,
.master-photo .wp-block-image,
.master-detail-photo .wp-block-image,
.gallery-grid .wp-block-image,
.diagram-card .wp-block-image,
.split-carousel .wp-block-image {
  margin: 0;
}

.grid-image,
.grid-image img {
  width: 100%;
  height: 456px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.grid-image {
  margin: 0;
}

.grid-image:hover,
.grid-image:hover img {
  transform: scale(1.03);
  filter: brightness(1.04);
}

.info-card {
  margin-top: 32px;
  padding: 40px;
  background: #f3f4f6;
  border-radius: 24px;
  text-align: center;
}

.info-card p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.8;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.person-card {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.person-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.person-image,
.person-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.person-image {
  margin: 0;
}

.person-card:hover .person-image,
.person-card:hover .person-image img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.person-label {
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 12px 16px;
  font-weight: 700;
  border-top: 2px solid var(--primary);
}

.detail-panel {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.detail-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  will-change: transform;
}

.detail-panel:hover .detail-image img {
  transform: scale(1.04);
  filter: brightness(1.04);
}

.detail-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: grid;
  gap: 24px;
}

.detail-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-list p {
  font-size: 18px;
}

.step {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 4px;
}

.detail-footer {
  border-top: 1px solid #f3f4f6;
  padding-top: 32px;
}

.detail-title {
  text-align: center;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 24px;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  border: 2px solid var(--primary);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(178, 28, 28, 0.18);
}

.service-icon {
  background: rgba(178, 28, 28, 0.18);
  padding: 18px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon img {
  width: 36px;
  height: 36px;
}

.service-text {
  padding: 12px 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(178, 28, 28, 0.08);
}

.center-cta {
  text-align: center;
  margin-top: 48px;
}

.studio-card {
  margin-top: 16px;
  background: #e5e7eb;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}

.studio-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.studio-card p {
  color: var(--text-muted);
}

.diagram-card {
  border: 2px dashed #d1d5db;
  border-radius: 24px;
  padding: 32px;
  text-align: center;
}

.diagram-image,
.diagram-image img {
  margin: 0 auto 16px;
  border-radius: 12px;
  opacity: 0.9;
  filter: none;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
  will-change: transform;
}

.diagram-image {
  margin-bottom: 16px;
}

.diagram-image:hover,
.diagram-image:hover img {
  transform: scale(1.03);
  filter: saturate(1.05);
  opacity: 1;
}

.diagram-card p {
  color: var(--text-muted);
  font-style: italic;
  font-size: 14px;
}

.master-grid {
  display: grid;
  gap: 48px;
}

.master-card {
  text-align: center;
}

.master-photo {
  width: 192px;
  height: 192px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #b21c1c;
  box-shadow: var(--shadow-strong);
}

.master-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  will-change: transform;
}

.master-card:hover .master-photo img {
  transform: scale(1.1);
}

.master-card h4 {
  font-size: 20px;
  font-weight: 700;
}

.master-card p {
  margin-top: 8px;
  font-weight: 500;
}

.master-detail {
  margin-top: 48px;
  display: grid;
  gap: 24px;
  align-items: center;
  background: #e5e7eb;
  border-radius: 24px;
  padding: 24px;
}

.master-detail-photo {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  /* background: #bdbdbd; */
}

.master-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.master-detail-content {
  padding: 12px 8px;
}

.master-detail-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.master-detail-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-feedback {
  display: grid;
  gap: 48px;
  max-width: 960px;
}

.faq h3,
.feedback h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
  color: var(--primary);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #f9fafb;
  padding: 24px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-item:hover {
  background: #f3f4f6;
}

.faq-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.feedback-card {
  position: relative;
  background: #f9fafb;
  padding: 32px;
  border-radius: 24px;
}

.quote-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 64px;
  color: rgba(160, 44, 35, 0.1);
}

.feedback-card p {
  font-style: italic;
  line-height: 1.8;
  color: var(--text-muted);
  text-align: center;
  position: relative;
  z-index: 1;
}

.feedback-user {
  margin-top: 32px;
  text-align: center;
}

.feedback-name {
  font-weight: 700;
}

.feedback-role {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-heading {
  text-align: center;
  margin-bottom: 32px;
}

.contact-heading h2 {
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 16px;
  border: 2px dashed #b21c1c;
  border-radius: 24px;
}

.gallery-grid img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.section-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.course-top {
  padding-top: 96px;
}

.course-top-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.course-main-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--primary);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  margin-bottom: 20px;
}

.course-top-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.course-highlight .detail-content {
  gap: 16px;
}

.course-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.price-now {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 14px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.course-meta-item {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(178, 28, 28, 0.1);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.course-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-center {
  justify-content: center;
}

.course-grid {
  display: grid;
  gap: 24px;
}

.course-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(27, 27, 27, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.course-card-media {
  margin: -24px -24px 0;
  height: 180px;
  overflow: hidden;
}

.course-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.course-card:hover .course-card-media img {
  transform: scale(1.04);
  filter: brightness(1.04);
}

.course-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.outline-grid {
  display: grid;
  gap: 20px;
}

.outline-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 18px rgba(27, 27, 27, 0.06);
}

.outline-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.outline-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.news-list {
  display: grid;
  gap: 24px;
}

.news-row {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(27, 27, 27, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(160px, 280px) 1fr;
  color: inherit;
}

.news-row-media {
  height: 100%;
  min-height: 160px;
  background: rgba(178, 28, 28, 0.08);
  display: flex;
  align-items: stretch;
}

.news-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.news-row:hover .news-row-media img {
  transform: scale(1.04);
  filter: brightness(1.04);
}

.news-row-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.news-row-title {
  font-size: 20px;
  line-height: 1.4;
}

.news-row-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.news-hero {
  padding-top: 96px;
}

.news-hero-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 36px rgba(27, 27, 27, 0.08);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 32px;
  align-items: center;
}

.news-hero-mark {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(178, 28, 28, 0.18), rgba(202, 138, 4, 0.2));
  color: var(--primary);
  font-size: 42px;
}

.news-hero-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.news-hero-title {
  font-size: 40px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  color: var(--primary);
  margin-bottom: 12px;
}

.news-hero-desc {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 760px;
}

.news-hero-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-hero-tag {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(178, 28, 28, 0.25);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  background: rgba(178, 28, 28, 0.08);
}

.news-detail-hero {
  padding-bottom: 32px;
}

.news-detail-hero-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 36px rgba(27, 27, 27, 0.08);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 32px;
  align-items: center;
}

.news-detail-hero-mark {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(178, 28, 28, 0.18), rgba(202, 138, 4, 0.2));
  color: var(--primary);
  font-size: 42px;
}

.news-detail-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.news-detail-title {
  font-size: 40px;
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  color: var(--primary);
  margin-bottom: 16px;
}

.news-detail-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 760px;
}

.news-detail-cover {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  margin-bottom: 32px;
}

.news-detail-cover img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.news-detail-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(27, 27, 27, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-detail-content h3 {
  font-size: 22px;
  color: var(--primary);
}

.news-detail-content p,
.news-detail-content li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.9;
}

.news-detail-content ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.news-detail-content blockquote {
  margin: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--primary);
  background: rgba(178, 28, 28, 0.08);
  color: var(--text-dark);
  font-style: italic;
}

.news-detail-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-grid {
  display: grid;
  gap: 24px;
}

.about-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(27, 27, 27, 0.08);
  padding: 24px;
}

.about-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 24px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(178, 28, 28, 0.4), rgba(202, 138, 4, 0.25));
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}

.timeline-year {
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  font-size: 24px;
  color: var(--primary);
  text-align: right;
  padding-right: 6px;
  position: relative;
  z-index: 1;
}

.timeline-year::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 30px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 6px rgba(178, 28, 28, 0.1);
}

.timeline-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(27, 27, 27, 0.08);
  padding: 24px;
  position: relative;
}

.timeline-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.timeline-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline-tag {
  margin-top: 16px;
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(178, 28, 28, 0.1);
}

.teacher-grid {
  display: grid;
  gap: 24px;
}

.teacher-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(27, 27, 27, 0.08);
  overflow: hidden;
  color: inherit;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
}

.teacher-photo {
  height: 100%;
  min-height: 160px;
  background: rgba(178, 28, 28, 0.08);
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-body {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.teacher-role {
  color: var(--gold);
  font-weight: 600;
}

.teacher-desc {
  color: var(--text-muted);
  line-height: 1.7;
}

.teacher-hero {
  padding-top: 96px;
}

.teacher-hero-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 36px rgba(27, 27, 27, 0.08);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 32px;
  align-items: center;
}

.teacher-hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background: #f3f4f6;
}

.teacher-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-hero-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.teacher-hero-title {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
}

.teacher-hero-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.teacher-hero-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.teacher-hero-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(178, 28, 28, 0.25);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  background: rgba(178, 28, 28, 0.08);
}

.teacher-focus {
  display: grid;
  gap: 24px;
}

.teacher-focus-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(27, 27, 27, 0.08);
  padding: 24px;
  text-align: center;
}

.teacher-focus-card .material-icons {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
}

.teacher-focus-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.teacher-focus-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.teacher-experience {
  display: grid;
  gap: 16px;
}

.teacher-experience-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}

.teacher-experience-year {
  font-weight: 700;
  color: var(--primary);
}

.teacher-experience-text {
  color: var(--text-muted);
  line-height: 1.7;
}

.course-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.course-card h4 {
  font-size: 20px;
  font-weight: 700;
}

.course-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.course-note {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f3f4f6;
  font-weight: 500;
}

.contact-label {
  color: var(--text-muted);
  font-size: 14px;
}

.master-detail-photo img {
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
}

.master-detail:hover .master-detail-photo img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .media-image,
  .media-image img,
  .grid-image,
  .grid-image img,
  .person-image,
  .person-image img,
  .detail-image img,
  .diagram-image,
  .diagram-image img,
  .master-photo img,
  .gallery-grid img,
  .master-detail-photo img {
    transition: none;
  }

  .split-media:hover .media-image,
  .split-media:hover .media-image img,
  .grid-image:hover,
  .grid-image:hover img,
  .person-card:hover .person-image,
  .person-card:hover .person-image img,
  .detail-panel:hover .detail-image img,
  .diagram-image:hover,
  .diagram-image:hover img,
  .gallery-grid img:hover,
  .master-detail:hover .master-detail-photo img {
    transform: none;
    filter: none;
  }
}

.cta {
  text-align: center;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.cta-enhanced {
  background: transparent;
}

.cta-bg {
  display: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(178, 28, 28, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  font-family: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cta-icon {
  margin-top: 48px;
  opacity: 0.5;
  display: flex;
  justify-content: center;
}

.cta-icon-ring {
  position: relative;
  box-shadow: 0 12px 24px rgba(178, 28, 28, 0.25);
}

.cta-icon-ring::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(178, 28, 28, 0.25);
}

.site-footer {
  background: #1f1f1f;
  color: #ffffff;
  padding: 64px 0 56px;
  border-top: 1px solid rgba(226, 215, 200, 0.2);
}

.footer-inner {
  display: grid;
  gap: 32px;
  align-items: start;
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin-top: 4px;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-desc {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-contacts h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
}

.footer-contact-item .material-icons {
  font-size: 20px;
  color: #b21c1c;
}

.footer-action {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.footer-cta {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .icon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .master-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .master-detail {
    grid-template-columns: 240px 1fr;
  }

  .faq-feedback {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .outline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: 120px 1fr;
  }

  .news-row {
    grid-template-columns: minmax(200px, 320px) 1fr;
  }
 
  .teacher-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .teacher-card {
    grid-template-columns: 1fr;
  }

  .teacher-body {
    padding: 0 24px 24px;
  }

  .teacher-focus {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1.2fr 1fr 0.9fr;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 40px;
  }

  .course-main-title {
    font-size: 32px;
  }

  .section-heading {
    flex-direction: column;
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .form-card {
    padding: 32px 24px;
  }

  .detail-content {
    padding: 32px 24px;
  }

  .course-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .course-top-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .news-detail-title {
    font-size: 28px;
  }

  .news-detail-cover img {
    height: 240px;
  }

  .news-detail-content {
    padding: 24px;
  }

  .news-detail-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .news-row {
    grid-template-columns: 1fr;
  }

  .news-row-media {
    min-height: 200px;
  }

  .news-hero-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .news-hero-title {
    font-size: 28px;
  }

  .news-detail-hero-card {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .timeline-year {
    font-size: 18px;
  }

  .timeline-year::before {
    left: 18px;
  }

  .teacher-card {
    grid-template-columns: 1fr;
  }

  .teacher-body {
    padding: 0 24px 24px;
  }

  .teacher-hero-card {
    grid-template-columns: 1fr;
  }

  .teacher-hero-photo {
    width: 100%;
    height: 240px;
  }

  .teacher-hero-title {
    font-size: 26px;
  }

  .teacher-focus {
    grid-template-columns: 1fr;
  }

  .teacher-experience-item {
    grid-template-columns: 1fr;
  }
}
/*
Theme Name: Suixin Theme
Author: Suixin Team
Description: Classic WordPress theme generated from the static template.
Version: 1.0.0
Text Domain: suixin
*/
