.elementor-widget-tas-about-hero {
  width: 100%;
}

/* 全宽背景图 + 左侧白色渐隐（同 Home Hero 思路） */
.tas-about-hero {
  position: relative;
  margin-left: calc(50% - 50vw);
  /* min-height: clamp(480px, 40vh, 520px); */
  min-height: min(520px, 78vh);
  overflow: hidden;
  background-color: var(--white);
}

.tas-about-hero--has-bg {
  background-image:
    linear-gradient(
      95deg,
      var(--white) 0%,
      var(--white) 36%,
      rgba(255, 255, 255, 0.98) 40%,
      rgba(255, 255, 255, 0.92) 44%,
      rgba(255, 255, 255, 0.78) 50%,
      rgba(255, 255, 255, 0.48) 58%,
      rgba(255, 255, 255, 0.18) 66%,
      transparent 78%
    ),
    var(--tas-about-hero-bg-image);
  background-size: 100% 100%, cover;
  background-position: center, 72% center;
  background-repeat: no-repeat;
}

.tas-about-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  width: min(100% - 40px, var(--layout-max-width));
  margin: 0 auto;
  /* padding: clamp(48px, 6vw, 80px) 0; */
}

.tas-about-hero__content {
  width: min(100%, 58%);
  max-width: 680px;
}

.tas-about-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.tas-about-hero__title {
  margin: 0 0 18px;
  font-size: clamp(1.875rem, 3.6vw, 2.875rem);
  font-weight: 600;
  line-height: 1.16;
  color: var(--primary);
}

.tas-about-hero__lead {
  margin: 0 0 32px;
  /* max-width: 540px; */
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.tas-about-hero__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 12px);
  /* max-width: 620px; */
}

.tas-about-hero__feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.tas-about-hero__feature-icon,
.tas-about-hero__feature-icon svg,
.tas-about-hero__feature-icon .e-font-icon-svg,
.tas-about-hero__feature-icon i {
  flex-shrink: 0;
  width: 1.625rem;
  height: 1.625rem;
  font-size: 1.625rem;
  line-height: 1;
  color: var(--accent);
  fill: currentColor;
}

.tas-about-hero__feature-body {
  min-width: 0;
}

.tas-about-hero__feature-title {
  margin: 0 0 4px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
}

.tas-about-hero__feature-desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* STEM-style layout — same full-width background fade, plus compact icons, CTAs, floating card */
.tas-about-hero--split.tas-about-hero--has-bg {
  background-image:
    linear-gradient(
      95deg,
      var(--white) 0%,
      var(--white) 38%,
      rgba(255, 255, 255, 0.98) 42%,
      rgba(255, 255, 255, 0.92) 46%,
      rgba(255, 255, 255, 0.78) 52%,
      rgba(255, 255, 255, 0.48) 60%,
      rgba(255, 255, 255, 0.18) 68%,
      transparent 80%
    ),
    var(--tas-about-hero-bg-image);
  background-size: 100% 100%, cover;
  background-position: center, 58% center;
  background-repeat: no-repeat;
}

.tas-about-hero--split .tas-about-hero__inner {
  align-items: center;
}

.tas-about-hero--split .tas-about-hero__content {
  width: min(100%, 54%);
  max-width: 640px;
}

.tas-about-hero--split .tas-about-hero__lead {
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.tas-about-hero__features--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
  max-width: 100%;
  margin-bottom: clamp(24px, 3vw, 32px);
}

.tas-about-hero__features--compact .tas-about-hero__feature {
  align-items: center;
  text-align: center;
  gap: 8px;
}

.tas-about-hero__features--compact .tas-about-hero__feature-icon,
.tas-about-hero__features--compact .tas-about-hero__feature-icon svg,
.tas-about-hero__features--compact .tas-about-hero__feature-icon .e-font-icon-svg,
.tas-about-hero__features--compact .tas-about-hero__feature-icon i {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
}

.tas-about-hero__features--compact .tas-about-hero__feature-title {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}

.tas-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tas-about-hero__overlay-card {
  position: absolute;
  z-index: 3;
  left: clamp(90%, 54vw, 90%);
  right: auto;
  bottom: clamp(28px, 5vw, 52px);
  width: min(280px, calc(48vw - 24px));
  padding: clamp(18px, 2.5vw, 24px) clamp(16px, 2vw, 22px);
  border-radius: 12px;
  background: var(--primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
}

.tas-about-hero__overlay-list {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tas-about-hero__overlay-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tas-about-hero__overlay-icon,
.tas-about-hero__overlay-icon svg,
.tas-about-hero__overlay-icon .e-font-icon-svg,
.tas-about-hero__overlay-icon i {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--accent);
  fill: currentColor;
}

.tas-about-hero__overlay-label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

/* Breadcrumb directly above about hero */
.elementor-widget-Common-breadcrumb:has(+ .elementor-widget-tas-about-hero) .tas-blog-breadcrumb--standalone {
  padding: 10px 0 6px;
}

.elementor-widget-Common-breadcrumb + .elementor-widget-tas-about-hero .tas-about-hero__inner {
  padding-top: clamp(20px, 4vw, 50px);
}

@media (max-width: 1199px) {
  .tas-about-hero--has-bg {
    background-position: center, 78% center;
  }

  .tas-about-hero--split.tas-about-hero--has-bg {
    background-position: center, 62% center;
  }

  .tas-about-hero__content {
    width: min(100%, 62%);
  }

  .tas-about-hero--split .tas-about-hero__content {
    width: min(100%, 58%);
  }

  .tas-about-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .tas-about-hero__features--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .tas-about-hero {
    min-height: 0;
  }

  .tas-about-hero--split.tas-about-hero--has-bg {
    background-image:
      linear-gradient(
        180deg,
        var(--white) 0%,
        rgba(255, 255, 255, 0.98) 32%,
        rgba(255, 255, 255, 0.92) 48%,
        rgba(255, 255, 255, 0.78) 62%,
        rgba(255, 255, 255, 0.45) 78%,
        rgba(255, 255, 255, 0.15) 100%
      ),
      var(--tas-about-hero-bg-image);
    background-size: 100% 100%, cover;
    background-position: center, center 22%;
  }

  .tas-about-hero--split .tas-about-hero__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .tas-about-hero--split .tas-about-hero__content {
    width: 100%;
    max-width: none;
  }

  .tas-about-hero--split .tas-about-hero__overlay-card {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: clamp(20px, 4vw, 28px) 0 0;
    padding: clamp(16px, 3vw, 20px) clamp(14px, 3vw, 18px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .tas-about-hero--split .tas-about-hero__overlay-list {
    gap: 10px;
  }

  .tas-about-hero--split .tas-about-hero__overlay-label {
    font-size: 0.75rem;
  }

  .tas-about-hero__features--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tas-about-hero--split .tas-about-hero__features--compact .tas-about-hero__feature {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  }

  .tas-about-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tas-about-hero__actions .tas-btn {
    width: 100%;
  }

  .tas-about-hero--has-bg {
    background-image:
      linear-gradient(
        180deg,
        var(--white) 0%,
        rgba(255, 255, 255, 0.98) 32%,
        rgba(255, 255, 255, 0.92) 48%,
        rgba(255, 255, 255, 0.78) 62%,
        rgba(255, 255, 255, 0.45) 78%,
        rgba(255, 255, 255, 0.15) 100%
      ),
      var(--tas-about-hero-bg-image);
    background-size: 100% 100%, cover;
    background-position: center, center 22%;
  }

  .tas-about-hero__inner {
    align-items: flex-start;
    min-height: 0;
    width: min(100% - 32px, var(--layout-max-width));
    padding: clamp(28px, 5vw, 40px) 0 clamp(32px, 5vw, 44px);
  }

  .tas-about-hero__content {
    margin-top: 20px;
    width: 100%;
    max-width: none;
  }

  .tas-about-hero__lead {
    margin-bottom: 24px;
    max-width: none;
  }

  .tas-about-hero__features {
    gap: 14px 12px;
  }

  .tas-about-hero__feature {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  }

  .tas-about-hero__feature-icon,
  .tas-about-hero__feature-icon svg,
  .tas-about-hero__feature-icon .e-font-icon-svg,
  .tas-about-hero__feature-icon i {
    width: 1.375rem;
    height: 1.375rem;
    font-size: 1.375rem;
    margin-top: 2px;
  }

  .tas-about-hero__feature-title {
    font-size: 0.8125rem;
  }

  .tas-about-hero__feature-desc {
    font-size: 0.6875rem;
    line-height: 1.45;
  }
}

@media (max-width: 767px) {
  .tas-about-hero--has-bg {
    background-position: center, center 18%;
  }

  .tas-about-hero--split .tas-about-hero__inner {
    padding-bottom: clamp(24px, 5vw, 32px);
  }

  .tas-about-hero--split .tas-about-hero__features--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
  }

  .tas-about-hero--split .tas-about-hero__features--compact .tas-about-hero__feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 8px 6px;
    background: rgba(255, 255, 255, 0.85);
  }

  .tas-about-hero--split .tas-about-hero__features--compact .tas-about-hero__feature-title {
    font-size: 0.6875rem;
    line-height: 1.3;
  }

  .tas-about-hero--split .tas-about-hero__actions {
    gap: 10px;
  }

  .tas-about-hero--split .tas-about-hero__overlay-card {
    margin-top: 16px;
    padding: 14px 14px 12px;
  }

  .tas-about-hero--split .tas-about-hero__overlay-list {
    gap: 8px;
  }

  .tas-about-hero__inner {
    width: min(100% - 24px, var(--layout-max-width));
    padding: 24px 0 28px;
  }

  .tas-about-hero__eyebrow {
    margin-bottom: 10px;
    font-size: 0.75rem;
  }

  .tas-about-hero__title {
    margin-bottom: 14px;
    font-size: clamp(1.5rem, 6.4vw, 1.875rem);
    line-height: 1.2;
  }

  .tas-about-hero__lead {
    margin-bottom: 20px;
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .tas-about-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tas-about-hero__feature {
    padding: 8px 10px;
  }
}

@media (max-width: 479px) {
  .tas-about-hero__features {
    /* Keep 2×2 — avoid single column that makes hero too tall */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tas-about-hero__feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px;
  }

  .tas-about-hero__feature-icon,
  .tas-about-hero__feature-icon svg,
  .tas-about-hero__feature-icon .e-font-icon-svg,
  .tas-about-hero__feature-icon i {
    margin-top: 0;
  }

  .tas-about-hero__feature-title {
    font-size: 0.75rem;
  }

  .tas-about-hero__feature-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}
