:root {
  --primary: #134a9b;
  --primary-dark: #0d326b;
  --accent: #1ab7da;
  --mint: #e2ffff;
  --gold: #d6a84f;
  --ink: #17324d;
  --text: #334155;
  --muted: #64748b;
  --line: #d9e7f5;
  --soft: #f4fbff;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(19, 74, 155, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover {
  color: var(--accent);
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 880px);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  z-index: 9999;
  background: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(19, 74, 155, .12);
}

.topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
}

.topbar-inner,
.mainbar-inner,
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar p {
  margin: 0;
  font-style: italic;
}

.topbar-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.topbar a,
.topbar svg {
  color: var(--white);
  fill: currentColor;
}

.topbar a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.topbar svg,
.icon-button svg,
.card-icon svg,
.contact-list svg,
.text-link svg,
.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.mainbar-inner {
  min-height: 78px;
}

.brand-mark,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
}

.brand-mark strong {
  display: block;
  color: var(--primary);
  font-size: 22px;
  line-height: 1.1;
}

.brand-mark small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.custom-logo-link img {
  max-height: 62px;
  width: auto;
}

.default-logo {
  width: auto;
  max-width: 245px;
  max-height: 62px;
  object-fit: contain;
}

.default-logo-white {
  max-width: 235px;
  max-height: 62px;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-menu-parent > a,
.primary-nav .current_page_parent > a,
.primary-nav a:hover {
  color: var(--primary);
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-menu-parent > a,
.primary-nav .current_page_parent > a {
  background: #edf4ff;
  border-radius: var(--radius);
}

.primary-nav .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.primary-nav .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.primary-nav li:hover > .sub-menu {
  display: block;
}

.primary-nav .sub-menu a {
  width: 100%;
  justify-content: flex-start;
  border-bottom: 1px solid #edf4ff;
  font-size: 13px;
  text-transform: none;
}

.primary-nav .sub-menu .menu-item-has-children > a::after {
  margin-left: auto;
  transform: rotate(-45deg);
}

.header-actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--white);
  display: inline-grid;
  place-items: center;
}

.icon-button:hover {
  background: var(--primary);
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.header-search {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  background: #f8fcff;
}

.search-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.search-form label {
  flex: 1;
}

.search-field,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.search-field:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 183, 218, .16);
}

.search-submit,
.button {
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  min-height: 46px;
  padding: 0 18px;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  cursor: pointer;
}

.search-submit:hover,
.button:hover {
  color: var(--white);
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.button-outline {
  background: transparent;
  color: var(--primary);
}

.button-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(26, 183, 218, .16), transparent 28%),
    linear-gradient(135deg, #f7fdff 0%, #edf7ff 52%, #ffffff 100%);
}

.page-hero {
  padding: 66px 0;
}

.home-banner-slider {
  position: relative;
  overflow: hidden;
  background: #edf4ff;
}

.home-banner-track {
  position: relative;
}

.home-banner-slide {
  display: none;
  width: 100%;
}

.home-banner-slide.is-active {
  display: block;
}

.home-banner-slide img {
  width: 100%;
  height: auto;
  min-height: 360px;
  max-height: 700px;
  object-fit: cover;
}

.home-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.home-banner-dots button {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid var(--primary);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.home-banner-dots button.is-active {
  background: var(--primary);
}

.hero-grid,
.page-hero-grid,
.split-grid,
.contact-grid,
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.single-hero h1 {
  margin: 12px 0 18px;
  color: var(--ink);
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.08;
  font-weight: 800;
}

.hero-copy p,
.page-hero p,
.section-header p {
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-panel,
.image-stack,
.feature-panel,
.contact-info-panel,
.contact-form,
.content-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 22px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.hero-badges span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.hero-badges svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  vertical-align: middle;
}

.cell-visual {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(19, 74, 155, .92), rgba(26, 183, 218, .82)),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(255, 255, 255, .08) 16px 18px);
  color: var(--white);
}

.cell-visual strong {
  position: relative;
  z-index: 3;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1;
  opacity: .9;
}

.cell-dot,
.cell-ring {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
}

.dot-a {
  width: 124px;
  height: 124px;
  left: 11%;
  top: 17%;
}

.dot-b {
  width: 78px;
  height: 78px;
  right: 17%;
  top: 22%;
}

.dot-c {
  width: 160px;
  height: 160px;
  right: 10%;
  bottom: 12%;
  background: rgba(226, 255, 255, .22);
}

.cell-ring {
  width: 260px;
  height: 260px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .45);
  background: transparent;
}

.trust-strip {
  background: var(--primary);
  color: var(--white);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-grid div {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.stat-grid div:last-child {
  border-right: 0;
}

.stat-grid strong {
  display: block;
  font-size: 32px;
  line-height: 1.1;
}

.stat-grid span {
  opacity: .88;
}

.section {
  padding: 76px 0;
}

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

.section-header {
  margin-bottom: 34px;
}

.section-header h2,
.contact-info-panel h2,
.feature-panel h3,
.footer-cta h2 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.section-title-row .section-header {
  margin-bottom: 0;
}

.check-list,
.number-list,
.contact-list,
.latest-list,
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--ink);
}

.check-list svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  margin-top: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}

.image-stack {
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.image-stack > img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
}

.mini-card {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.mini-card strong,
.mini-card span {
  display: block;
}

.mini-card strong {
  color: var(--ink);
}

.service-grid,
.post-grid,
.video-grid,
.expert-grid,
.course-grid,
.timeline-grid,
.partner-grid {
  display: grid;
  gap: 22px;
}

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

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

.service-card,
.post-card,
.video-card,
.expert-card,
.course-card,
.timeline-grid article,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(19, 74, 155, .08);
}

.service-card,
.expert-card,
.course-card,
.timeline-grid article {
  padding: 24px;
}

.service-card {
  overflow: hidden;
}

.service-media {
  display: block;
  margin: -24px -24px 20px;
  overflow: hidden;
  background: var(--soft);
}

.service-media img {
  width: 100%;
  aspect-ratio: 410 / 300;
  object-fit: cover;
  transition: transform .35s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04);
}

.service-card h3,
.post-card h3,
.expert-card h3,
.course-card h3,
.timeline-grid h3 {
  margin: 12px 0 10px;
  color: var(--ink);
  line-height: 1.28;
}

.service-card p,
.post-card p,
.expert-card p,
.course-card p,
.timeline-grid p {
  color: var(--muted);
}

.card-icon,
.expert-avatar {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--primary);
  display: grid;
  place-items: center;
}

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

.video-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background-size: cover;
  background-position: center;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(19, 74, 155, .04) 20%, rgba(19, 74, 155, .92) 100%);
}

.video-card > strong,
.play-button {
  position: relative;
  z-index: 2;
}

.play-button {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
}

.post-card {
  overflow: hidden;
}

.post-card-media {
  display: block;
  background: var(--primary);
}

.post-card-media img,
.post-card-media .cell-visual {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  min-height: 0;
  object-fit: cover;
}

.post-card-body {
  padding: 20px;
}

.breadcrumbs {
  display: block;
  line-height: 22px;
  background: #edf4ff;
  margin: 0;
  font-size: 14px;
  padding: 10px 0;
  color: var(--text);
  font-weight: 400;
}

.breadcrumbs a {
  color: var(--text);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs .b-slug {
  padding: 0 8px;
  color: var(--muted);
}

.archive-wrapper {
  padding: 30px 0 76px;
}

.archive-top-list {
  margin-bottom: 60px;
}

.section-row-title {
  width: 100%;
  position: relative;
  margin: 0 0 18px;
}

.section-row-title.center {
  text-align: center;
}

.section-row-title h1,
.section-row-title h2,
.section-row-title h3 {
  font-size: 24px;
  line-height: 33px;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 600;
  text-transform: uppercase;
}

.home-baochi-content {
  display: flex;
  width: 100%;
  position: relative;
  flex-wrap: wrap;
  gap: 2%;
  margin-bottom: 30px;
}

.home-baochi-left,
.home-baochi-right {
  width: 49%;
}

.hb-item {
  width: 100%;
  position: relative;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 0 10px 0 rgba(19, 74, 155, .10);
  overflow: hidden;
}

.hb-img {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.hb-img img {
  width: 100%;
  aspect-ratio: 410 / 300;
  object-fit: cover;
  transition: transform .35s ease;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.home-baochi-left .hb-img img {
  aspect-ratio: 929 / 640;
}

.hb-details {
  width: 100%;
  padding: 20px;
}

.hb-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.hb-info p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 21px;
  color: var(--primary);
}

.hb-info .hb-cat {
  font-weight: 600;
}

.hb-name {
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  line-height: 25px;
  min-height: 75px;
  margin: 0 0 10px;
  color: var(--ink);
}

.hb-name a {
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hb-shortdes {
  width: 100%;
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: var(--text);
}

.hb-item:hover .hb-img img {
  transform: scale(1.06);
}

.hb-item:hover .hb-name a {
  color: var(--primary);
}

.home-baochi-content .hb-img img {
  border-radius: 12px;
}

.home-baochi-left .hb-item {
  box-shadow: none;
  overflow: visible;
}

.home-baochi-left .hb-img {
  margin-bottom: 15px;
}

.home-baochi-left .hb-details {
  padding: 0;
}

.home-baochi-left .hb-name {
  min-height: 25px;
  font-size: 19px;
  line-height: 28px;
}

.home-baochi-left .hb-shortdes {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-baochi-right .hb-item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 18px;
  align-items: center;
  box-shadow: none;
  overflow: visible;
}

.home-baochi-right .hb-item:last-child {
  margin-bottom: 0;
}

.home-baochi-right .hb-img {
  width: 30.5%;
  border-radius: 12px;
}

.home-baochi-right .hb-img img {
  aspect-ratio: 420 / 300;
}

.home-baochi-right .hb-details {
  width: 69.5%;
  padding: 0 0 0 21px;
}

.home-baochi-right .hb-name {
  min-height: 48px;
}

.home-baochi-content .hb-name a {
  -webkit-line-clamp: 2;
}

.archive-main-content,
.archive-blog-list {
  width: 100%;
  position: relative;
}

.archive-top-menu {
  width: 100%;
  position: relative;
  margin-bottom: 30px;
  text-align: center;
}

.archive-top-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  background: #e1edff;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}

.archive-top-menu li {
  display: inline-block;
  margin: 0;
}

.archive-top-menu a {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  border-radius: 8px;
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  line-height: 24px;
}

.archive-top-menu a:hover,
.archive-top-menu .current-menu-item a {
  background-color: var(--primary);
  color: var(--white);
}

.archive-blog {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  gap: 2%;
}

.archive-blog .hb-item {
  width: 32%;
  margin-bottom: 30px;
  border: 1px solid var(--white);
}

.archive-blog .hb-item:hover {
  border-color: var(--accent);
}

.archive-blog .hb-details {
  background:
    radial-gradient(circle at 100% 100%, rgba(26, 183, 218, .14) 0 34px, transparent 35px),
    var(--white);
}

.archive-blog .link-more {
  display: inline-flex;
  color: var(--primary);
  font-size: 15px;
}

.archive-blog .link-more strong {
  font-weight: 600;
  padding-right: 26px;
  position: relative;
}

.archive-blog .link-more strong::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.post-meta a {
  color: var(--accent);
}

.partners-section {
  text-align: center;
}

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

.partner-grid span {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--primary);
  font-weight: 800;
}

.partner-grid img {
  width: 100%;
  max-height: 74px;
  object-fit: contain;
}

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

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.content-card,
.contact-info-panel,
.contact-form,
.feature-panel {
  padding: 28px;
}

.entry-content h2,
.entry-content h3,
.article-content h2,
.article-content h3 {
  color: var(--ink);
  line-height: 1.25;
}

.entry-content a,
.article-content a {
  font-weight: 700;
}

.spaced-content {
  margin-top: 34px;
}

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

.timeline-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
}

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

.expert-card span,
.course-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

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

.number-list {
  counter-reset: steps;
}

.number-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.number-list li::before {
  content: counter(steps);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--primary);
  font-weight: 800;
}

.contact-grid {
  align-items: stretch;
}

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

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-list svg {
  color: var(--accent);
  fill: currentColor;
  margin-top: 3px;
}

.contact-list.large li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

.map-section {
  padding-bottom: 76px;
}

.map-embed iframe,
.map-placeholder {
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--soft);
  text-align: center;
}

.map-placeholder .cell-visual {
  width: 100%;
}

.single-hero {
  padding: 62px 0 36px;
  background: var(--soft);
  text-align: center;
}

.single-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.post-meta.centered {
  justify-content: center;
}

.single-featured,
.single-hero .cell-visual {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

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

.article-sidebar {
  position: sticky;
  top: 130px;
}

.sidebar-widget {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
}

.sidebar-title {
  margin-top: 0;
  color: var(--ink);
}

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

.pagination-wrap {
  margin-top: 34px;
}

.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-numbers {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 700;
}

.page-numbers.current {
  background: var(--primary);
  color: var(--white);
}

.search-page-form {
  margin-bottom: 28px;
}

.empty-state {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.empty-state .cell-visual {
  width: min(100%, 520px);
}

.not-found-section {
  padding: 84px 0;
  background: var(--soft);
}

.footer-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 36px 0;
}

.footer-cta h2,
.footer-cta .section-eyebrow {
  color: var(--white);
}

.footer-main {
  background: var(--primary-dark);
  color: var(--white);
  padding: 54px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr .9fr .7fr;
  gap: 34px;
}

.footer-col h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 20px;
}

.footer-col p,
.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, .86);
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand strong,
.footer-brand small {
  color: var(--white);
}

.footer-menu {
  display: grid;
  gap: 8px;
}

.footer-menu .sub-menu {
  display: none;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font-weight: 800;
}

.footer-hours {
  margin-top: 18px;
}

.footer-bottom {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 12px 0;
}

.footer-bottom p {
  margin: 0;
  font-weight: 700;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.floating-contact {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 8px;
  z-index: 90;
}

.floating-contact a {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.floating-contact span {
  display: none;
}

.floating-contact svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 1080px) {
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: block;
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 14px 0;
  }

  .primary-nav a {
    width: 100%;
    justify-content: space-between;
  }

  .primary-nav .current-menu-item > a,
  .primary-nav .current-menu-ancestor > a,
  .primary-nav .current-menu-parent > a,
  .primary-nav .current_page_parent > a {
    border-radius: 0;
  }

  .primary-nav .sub-menu {
    position: static;
    display: block;
    width: 100%;
    border: 0;
    box-shadow: none;
    padding-left: 16px;
  }

  .primary-nav .sub-menu .menu-item-has-children > a::after {
    transform: rotate(45deg) translateY(-2px);
  }

  .menu-toggle {
    display: inline-grid;
  }

  .mainbar {
    position: relative;
  }

  .service-grid.four,
  .footer-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar-inner,
  .footer-cta-inner,
  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-links {
    gap: 12px;
  }

  .home-hero,
  .page-hero {
    padding: 48px 0;
  }

  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .contact-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .service-grid,
  .post-grid,
  .video-grid,
  .expert-grid,
  .course-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-baochi-left,
  .home-baochi-right {
    width: 100%;
  }

  .home-baochi-left {
    margin-bottom: 25px;
  }

  .archive-blog .hb-item {
    width: 49%;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 24px, var(--container));
  }

  .topbar {
    display: none;
  }

  .mainbar-inner {
    min-height: 70px;
  }

  .brand-symbol {
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .brand-mark strong {
    font-size: 18px;
  }

  .brand-mark small {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1,
  .single-hero h1 {
    font-size: 34px;
  }

  .hero-actions,
  .search-form {
    flex-direction: column;
  }

  .hero-badges,
  .stat-grid,
  .service-grid,
  .post-grid,
  .video-grid,
  .expert-grid,
  .course-grid,
  .timeline-grid,
  .service-grid.four,
  .footer-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .archive-wrapper {
    padding-top: 10px;
  }

  .section-row-title h1,
  .section-row-title h2,
  .section-row-title h3 {
    font-size: 23px;
    line-height: 30px;
  }

  .home-baochi-right .hb-details {
    padding-left: 15px;
  }

  .archive-top-menu {
    overflow-x: auto;
    margin-bottom: 20px;
    text-align: left;
  }

  .archive-top-menu ul {
    min-width: 690px;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .archive-top-menu a {
    padding: 8px 15px;
    font-size: 14px;
  }

  .archive-blog .hb-item {
    width: 100%;
    margin-bottom: 20px;
  }

  .stat-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }

  .section {
    padding: 54px 0;
  }

  .cell-visual {
    min-height: 280px;
  }

  .floating-contact {
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
  }

  .floating-contact a {
    width: auto;
    height: 58px;
    border-radius: 0;
    box-shadow: none;
  }

  .footer-bottom {
    padding-bottom: 68px;
  }
}
