:root {
  --brand-red: #c61f2c;
  --brand-blue: #244f91;
  --color-primary: #c61f2c;
  --title-text-color: #1d222d;
  --font-family: Montserrat, Arial, "Microsoft YaHei", sans-serif;
  --ink: #182230;
  --muted: #5f6b7a;
  --line: #e2e7ef;
  --soft: #f6f8fb;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

.contact-strip {
  height: 60px;
  background: #f7f7f7;
}

.contact-strip-inner {
  width: min(1536px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.site-tools {
  display: flex;
  align-items: center;
  min-width: 196px;
  height: 36px;
  padding: 0 20px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 16px;
  line-height: 1;
}

.search-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 100%;
}

.search-tool i {
  font-size: 18px;
}

.tool-divider {
  width: 1px;
  height: 18px;
  margin: 0 18px;
  background: #d8d8d8;
}

.lang-tool {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  white-space: nowrap;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-social a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
}

.contact-social i {
  font-size: 19px;
  line-height: 1;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.nav {
  width: min(1536px, calc(100% - 40px));
  min-height: 128px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 54px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.logo img {
  width: 286px;
  max-height: 78px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #181717;
  font-size: 21px;
  font-weight: 400;
}

.menu a {
  transition: color .2s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--brand-red);
}

.online-btn {
  min-width: 69px;
  min-height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 600;
}

.hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(9, 24, 44, .82), rgba(9, 24, 44, .35)),
    url("https://shopcdnalpha.grainajz.com/category/470742/4008/31010b1f2033842477a8b4133b92bcb6/lQLPJxsWvtRcy7HNArzNB4CwKk0KtpOVzroJyNpIfeRxAA_1920_700.png") center/cover;
  color: #fff;
}

.page-intro {
  padding: 52px 0 34px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-intro .breadcrumb {
  margin-bottom: 14px;
  color: var(--muted);
}

.page-intro h1 {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

.page-intro p {
  max-width: 780px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn.primary {
  background: var(--brand-red);
  color: #fff;
}

.btn.secondary {
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

.page-intro .btn.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.qili-sidebanner .container,
.sutong-intro .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.seminar-sidebanner {
  margin-top: 0;
}

.seminar-sidebanner .wp.container {
  position: static !important;
  width: 100% !important;
}

.seminar-sidebanner .txt h1 {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 2;
  width: max-content !important;
  letter-spacing: 0;
  margin: 0;
  text-align: center;
  transform: translate(-50%, -50%) !important;
}

  letter-spacing: 0;
}

.seminar-intro {
  padding: 66px 0 8px;
}

.seminar-intro h5 {
  margin: 0;
}

.seminar-intro .more1 {
  text-decoration: none;
}

.section {
  padding: 58px 0;
}

.section.alt {
  background: var(--soft);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p,
.card p,
.article-copy p,
.form-note {
  color: var(--muted);
}

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

.seminar-grid.single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 430px;
  margin: 0 auto;
}

.featured-seminar {
  max-width: 1120px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #f7fbff;
  box-shadow: 0 16px 42px rgba(17, 24, 39, .08);
  overflow: hidden;
}

.featured-copy {
  padding: 46px 52px 50px;
}

.featured-copy h2 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #071936;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  text-transform: uppercase;
}

.featured-copy h2::first-line {
  color: #071936;
}

.featured-copy > p {
  max-width: 940px;
  margin: 0 0 34px;
  color: #243146;
  font-size: 19px;
  line-height: 1.65;
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-bottom: 34px;
}

.event-facts div {
  min-height: 104px;
  padding: 23px 26px;
  border-left: 5px solid var(--brand-red);
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .04);
}

.event-facts span,
.speaker-strip span {
  display: block;
  margin-bottom: 8px;
  color: #2674aa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.event-facts strong {
  display: block;
  color: #071936;
  font-size: 20px;
  line-height: 1.35;
}

.speaker-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 6px 0 30px;
  padding: 22px 0;
  border-top: 1px solid #dbe3ed;
  border-bottom: 1px solid #dbe3ed;
}

.speaker-avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #071936;
  color: #43c7e8;
  font-size: 20px;
  font-weight: 900;
}

.speaker-strip strong {
  display: block;
  color: #071936;
  font-size: 25px;
  line-height: 1.1;
}

.speaker-strip p {
  margin: 4px 0 0;
  color: var(--muted);
}

.seminar-card {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .12);
}

.seminar-image {
  display: block;
  height: 240px;
  overflow: hidden;
}

.seminar-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seminar-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: var(--brand-red);
  color: #fff;
  text-align: center;
}

.seminar-date strong {
  font-size: 58px;
  line-height: 1;
}

.seminar-date span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seminar-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 20px 20px;
}

.seminar-content h3 {
  margin: 0 0 20px;
  color: #071936;
  font-size: 26px;
  line-height: 1.3;
}

.seminar-content p {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

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

.event-list p {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #071936;
}

.event-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border-radius: 3px;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.arrow-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1.5px solid var(--brand-red);
  border-radius: 50%;
  color: var(--brand-red);
  font-size: 24px;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}

.arrow-link:hover {
  background: var(--brand-red);
  color: #fff;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 22px;
}

.pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef3fb;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card h3 {
  margin: 0 0 9px;
  font-size: 20px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: start;
}

.article-copy {
  font-size: 17px;
}

.article-copy h2 {
  margin-top: 36px;
  font-size: 30px;
}

.article-copy ul {
  padding-left: 22px;
}

.form-panel {
  position: sticky;
  top: 18px;
  padding: 28px;
  border-top: 5px solid var(--brand-red);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 24, 39, .12);
}

.form-panel h2 {
  font-size: 26px;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd7e3;
  border-radius: 5px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  background: var(--brand-red);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.submit:disabled {
  opacity: .65;
  cursor: wait;
}

.registration-modal[hidden] {
  display: none;
}

.registration-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.registration-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 54, .48);
}

.registration-modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 38px 36px 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 25, 54, .22);
}

.registration-modal-card h2 {
  margin-bottom: 12px;
}

.registration-modal-card p {
  margin: 0 0 26px;
  color: var(--muted);
}

.registration-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.qili-footer .container,
.qili-copy .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.qili-footer ul {
  list-style: none;
}

.qili-footer a,
.qili-copy a {
  text-decoration: none;
}

@media (max-width: 760px) {
  .contact-strip {
    display: none;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 20px 0;
  }

  .logo img {
    width: 180px;
    max-height: 54px;
  }

  .menu {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .seminar-grid,
  .article-layout,
  .feature-row,
  .event-facts {
    grid-template-columns: 1fr;
  }

  .featured-copy {
    padding: 34px 24px 38px;
  }

  .form-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .seminar-image {
    height: 210px;
  }

  .seminar-content h3 {
    font-size: 24px;
  }
}
