/* ============================================================
   ATbio �?News & Cases (atbio-news.html)
   Layout: GLOBAL TOKENS �?COMMON HEADER �?COMMON LINK FX
           �?PAGE-LOCAL HERO �?PAGE-LOCAL CASES �?PAGE-LOCAL PROMO
           �?COMMON FOOTER �?RESPONSIVE
   Note: image paths are NOT referenced here �?see inline
   style="background-image:url(...)" in HTML for .foot-bg.
   ============================================================ */

/* ===========================================================================
   1. GLOBAL �?Fonts & Base
   =========================================================================== */

html,
body {
  font-family: 'Jost', 'Playfair Display', system-ui, sans-serif;
}

h1,
h2,
.brand-wordmark,
.culture .panel h3 {
  font-family: 'Playfair Display', Georgia, serif;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #1a1a1a;
  background: #fff;
}

.page {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
}

a {
  text-decoration: none;
  transition: color .25s ease, background-color .3s ease, transform .3s ease;
}

/* ===========================================================================
   2. COMMON �?Top navigation (header) �?IDENTICAL to atbio-products.css
   =========================================================================== */
.topbar {
  position: relative;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid #eef0f3;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px clamp(20px, 5vw, 96px) 25px;
}

.nav .logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.nav .logo img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.desk-nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.desk-nav a {
  cursor: pointer;
  position: relative;
  display: inline-block;
  transition: color .2s;
}

.desk-nav a:hover,
.desk-nav a.active {
  color: #9EE3DE;
}

.nav-right {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  position: relative;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #d6dbe1;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  position: relative;
}

.lang-pill:hover {
  border-color: #9EE3DE;
  color: #9EE3DE;
}

.lang-pill .lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .15);
  padding: 6px;
  display: none;
  min-width: 120px;
  z-index: 80;
}

.lang-pill:hover .lang-menu,
.lang-pill:focus-within .lang-menu {
  display: block;
}

.lang-pill .lang-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
}

.lang-pill .lang-menu a:hover {
  background: #f1f6fb;
  color: #9EE3DE;
}

.search-wrap {
  display: inline-flex;
  align-items: center;
}

.search-input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f1f6fb;
  font-size: 12px;
  outline: none;
  margin-right: 0;
  transition: width .55s cubic-bezier(.65, .05, .36, 1), opacity .35s ease, padding .45s ease, margin .45s ease, border-color .35s ease, box-shadow .45s ease;
}

.search-wrap:hover .search-input {
  width: 240px;
  opacity: 1;
  padding: 8px 16px;
  margin-right: 8px;
  border-color: #cfe1f3;
  box-shadow: 0 6px 22px -10px rgba(126, 192, 238, .6);
}

.search-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d6dbe1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .35s ease, color .2s, border-color .2s, background .3s;
}

.search-pill:hover {
  color: #9EE3DE;
  border-color: #9EE3DE;
}

.search-wrap:hover .search-pill {
  transform: rotate(90deg);
  background: #9EE3DE;
  color: #fff;
  border-color: #9EE3DE;
}

.mnav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6dbe1;
  border-radius: 8px;
  cursor: pointer;
}

#mnav-chk {
  display: none;
}

.mnav {
  display: none;
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 32px;
  gap: 20px;
  color: #fff;
}

.mnav a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  align-self: flex-start;
}

.mnav .mnav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.mnav input {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  width: 100%;
  font-size: 14px;
}

.mnav .msearch-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.mnav .msearch-input {
  flex: 1 1 auto;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  outline: none;
}

.mnav .msearch-pill {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.mnav .lang-select {
  background: #000;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  padding: 10px 40px 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  width: 100%;
  margin-top: 8px;
}

#mnav-chk:checked~.mnav {
  display: flex !important;
}

/* ===========================================================================
   3. COMMON Unified link / button / card / image interaction (fx-*)
   =========================================================================== */
.fx-link,
.desk-nav a {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  line-height: 1.15;
  vertical-align: bottom;
  color: #000000;
}

.fx-link:hover {
  color: #9EE3DE;
}

.fx-btn {
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease, letter-spacing .25s ease;
}

.fx-btn::after {
  display: none !important;
}

.fx-card {
  display: block;
  text-decoration: none;
  height: 100%;
}

/* ===========================================================================
   4. PAGE-LOCAL �?News hero
   =========================================================================== */
.news-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.news-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a.news-hero-link {
  display: block;
  width: 100%;
  height: 100%;
}

.news-hero-desktop {
  display: none;
}

.news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.news-hero-inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0 clamp(20px, 5vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.news-hero-copy {
  max-width: 50%
}

.news-hero-copy h1 {
  font-family: "Noto Sans SC", "Source Han Sans SC", "Jost", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: #000;
  margin: 0 0 18px;
  text-align: left;
}

.news-hero-copy p {
  font-size: clamp(16px, 1.3vw, 26px);
  color: #000000;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.hero-enter {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

.hero-enter:hover {
  background: #9EE3DE;
  color: #fff;
  letter-spacing: .06em;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(158, 227, 222, .6);
}

@media (max-width:1024px) {
  .news-hero {
    height: auto;
    aspect-ratio: 3/4;
  }
}

@media (min-width: 1025px) {
  .news-hero-mobile {
    display: none;
  }

  .news-hero-desktop {
    display: block;
  }
}

/* ===========================================================================
   5. PAGE-LOCAL �?Cases
   =========================================================================== */
.cases {
  padding: 60px clamp(20px, 5vw, 96px) 30px;
}

.cases-head {
  text-align: center;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cases-head h2 {
  font-family: "Noto Sans SC", "Source Han Sans SC", "Jost", sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -.03em;
  color: #000000;
  margin: 0;
}

.cases-head p {
  font-size: 13px;
  color: #3a4a5e;
  line-height: 1.7;
  margin: 0;
}

.cases-tabs {
  display: inline-flex;
  gap: 24px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.ctab {
  appearance: none;
  border: 1px solid #000000;
  background: #fff;
  color: #000000;
  padding: 10px 38px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.ctab:hover {
  background: #000000;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(13, 13, 13, .5);
}

.ctab.active {
  background: #000000;
  color: #fff;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 14px;
}

.case-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #f4f4f4;
  transition: transform .35s ease, box-shadow .35s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -28px rgba(13, 37, 64, .25);
}

.case-img {
  position: relative;
  aspect-ratio: 1.15/1;
  overflow: hidden;
  background: #dadcde;
}

.case-img img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1), filter .4s ease;
  will-change: transform;
}

.fx-card:hover .case-img img {
  transform: scale(1.08);
  filter: brightness(1.04);
}

.case-img.video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .18);
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #0d0d0d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 2;
  transition: transform .35s ease, background .3s ease;
}

.fx-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

.case-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 16px;
  background: #E9E9E9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.case-overlay h3 {
  font-size: 13px;
  font-weight: 400;
  margin: 0;
  letter-spacing: .01em;
  color: #000000;
  transition: color .3s ease, transform .3s ease, letter-spacing .3s ease;
  transform-origin: left center;
  display: inline-block;
}

.fx-card:hover .case-overlay h3 {
  color: #9EE3DE;
  transform: scale(1.04);
  letter-spacing: .01em;
}

.case-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  letter-spacing: .04em;
}

.fx-card:hover .case-cta {
  background: #9EE3DE;
  color: #fff;
  letter-spacing: .06em;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(158, 227, 222, .6);
}

.cases-pager {
  gap: 14px;
  justify-content: flex-start;
  padding: 30px 0 0;
}

.pager-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #d6dbe1;
  background: #eef0f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}

.pager-btn:hover {
  background: #9EE3DE;
  color: #fff;
  border-color: #9EE3DE;
  transform: translateY(-2px);
}

.pager-btn.dark {
  background: #0d0d0d;
  color: #fff;
  border-color: #0d0d0d;
}

.pager-btn.dark:hover {
  background: #9EE3DE;
  border-color: #9EE3DE;
}

/* ===========================================================================
   6. PAGE-LOCAL �?Online learning promo
   =========================================================================== */
.learn-promo {
  padding: 40px clamp(20px, 5vw, 96px) 80px;
}

.learn-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #eef0f3;
  border-radius: 14px;
  overflow: hidden;
  min-height: 260px;
}

.learn-copy {
  flex: 1 1 55%;
  padding: 48px clamp(28px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.learn-copy h3 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: #0d0d0d;
  margin: 0;
  letter-spacing: .02em;
}

.learn-copy p {
  font-size: 13px;
  color: #3a4a5e;
  line-height: 1.85;
  margin: 0;
}

.learn-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  letter-spacing: .04em;
  margin-top: 10px;
}

.learn-cta:hover {
  background: #9EE3DE;
  color: #fff;
  letter-spacing: .06em;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(158, 227, 222, .6);
}

.learn-img {
  flex: 1 1 25%;
  overflow: hidden;
  display: block;
  border-radius: 20px;
  padding: 40px;
}

.learn-img img {
  width: 500px;
  height: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1), filter .4s ease;
  will-change: transform;
}

.learn-img:hover img {
  transform: scale(1.06);
  filter: brightness(1.04);
}

/* ===========================================================================
   7. COMMON �?Footer (identical to atbio.css)
   =========================================================================== */
footer {
  background: #fff;
  padding: 50px clamp(20px, 5vw, 96px) 0;
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid #eef0f3;
  padding-bottom: 30px;
}

.foot-top h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.foot-top p {
  font-size: 18px;
  line-height: 1.65;
}

.socials {
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: flex-end;
}

.socials a {
  width: 32px;
  height: 32px;
  border: 1px solid #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: #000000;
  color: #fff;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.socials a:hover {
  background: #fff;
  color: #000000;
  border-color: #000000;
  transform: translateY(-2px);
}

.socials .wechat {
  position: relative;
}

.socials .wechat .qrcode {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  padding: 8px;
}

.socials .wechat .qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.socials .wechat:hover .qrcode {
  display: block;
}

.foot-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
  margin: 0 calc(-1 * clamp(20px, 5vw, 96px)) 0;
  padding: 0 clamp(20px, 5vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 60px 0 40px;
}

.foot-cols h5 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.foot-cols a,
.foot-cols p {
  font-size: 18px;
  line-height: 1.5;
  display: block;
}

.foot-cols a {
  color: #000000;
}

.foot-cols a:hover {
  color: #9EE3DE;
  transform: translateX(3px);
}

.foot-bottom {
  position: relative;
  padding: 60px 0;
  text-align: center;
}

.foot-bottom .big-logo {
  display: inline-block;
  width: 20%;
  max-width: 280px;
  min-width: 120px;
  line-height: 0;
}

.foot-bottom .big-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.foot-bottom small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ===========================================================================
   8. RESPONSIVE
   =========================================================================== */
@media (max-width:1280px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:1024px) {

  .desk-nav,
  .nav-right .pc-only {
    display: none;
  }

  .mnav-toggle {
    display: inline-flex;
  }
}

@media (max-width:900px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }

  .learn-card {
    flex-direction: column;
  }

  .learn-img {
    min-height: 220px;
  }
}

.socials .wechat {
  position: relative;
}

.socials .wechat .qrcode {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  display: none;
  padding: 8px;
}

.socials .wechat .qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.socials .wechat:hover .qrcode {
  display: block;
}

@media (max-width:560px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .news-hero-inner {
    padding: 0 20px;
  }

  .hero-enter {
    align-self: flex-start;
  }

  .cases-tabs {
    gap: 12px;
  }

  .ctab {
    padding: 10px 22px;
    font-size: 12px;
  }
}

/* OUR CULTURE banner (background image set inline on .culture) */
.culture {
  margin: 60px 0;
  position: relative;
  overflow: hidden;
  height: clamp(280px, 22vw, 420px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.culture .panel {
  background: rgba(230, 232, 235, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 0 clamp(40px, 6vw, 90px);
  width: 80%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.culture .panel h3 {
  font-family: 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -.05em;
  color: #fff;
  margin: 0;
}

.culture .panel p {
  font-size: 30px;
  line-height: 1.7;
  margin-top: 0;
  color: #fff;
  max-width: 60ch;
}

@media (max-width:760px) {
  .culture .panel {
    width: 92%;
  }

  .culture .panel h3 {
    font-size: clamp(28px, 6vw, 36px);
  }

  .culture .panel p {
    font-size: clamp(14px, 3vw, 18px);
    line-height: 1.5;
  }
}