/* =========================
   Base / Reset
========================= */
:root {
  --header-h: 84px; /* real header height */
  --space-x: 5%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  color: #1a2238;
  line-height: 1.5;
  background-color: #fff;
}
a {
  text-decoration: none;
}

/* =========================
   Header & Nav
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: #fff;
  z-index: 1000;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-x);
}

.logo-left,
.logo-right {
  display: flex;
  align-items: center;
}
.logo-left img,
.logo-right img {
  height: 56px;
  object-fit: contain;
}
.logo-left span,
.logo-right span {
  font-family: 'Source Han Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

.site-nav {
  display: flex;
  gap: 6rem;
}

.nav-link {
  position: relative;
  /* Adjust padding to control spacing around the text, and use this space for the lines. */
  padding: 1rem 0;
  color: #020202;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  overflow: hidden; /* This will prevent the lines from being seen outside the link's bounds */
}

.nav-link:hover,
.nav-link.active {
  color: #020202;
}

/* Create the top line */
.nav-link::before {
  content: '';
  position: absolute;
  top: 0.8rem; /* This moves the line closer to the text */
  left: 0;
  right: 100%; /* Initially hide the line */
  height: 2px;
  background: #000000;
  transition: right 0.3s ease; /* Animate the line's expansion */
}

/* Create the bottom line */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.8rem; /* This moves the line closer to the text */
  left: 0;
  right: 100%; /* Initially hide the line */
  height: 1px;
  background: #000000;
  transition: right 0.3s ease; /* Animate the line's expansion */
}

/* When the link is active or hovered, show the lines */
.nav-link:hover::before,
.nav-link.active::before,
.nav-link:hover::after,
.nav-link.active::after {
  right: -1.5rem; /* This makes the line span the full width */
}

/* Ensure content sits exactly under the fixed header (no extra gap) */
.page-content {
  padding-top: var(--header-h);
  background: #fff;
}

/* --- Hamburger button --- */
.hamburger{
  display:none;
  width:44px; height:44px;
  border:0; background:transparent; cursor:pointer;
  position:relative;
}
.hamburger .bar{
  position:absolute; left:10px; right:10px; height:2px;
  background:#000; border-radius:2px; transition:transform .3s ease, opacity .2s ease, top .3s ease;
}
.hamburger .bar:nth-child(1){ top:14px; }
.hamburger .bar:nth-child(2){ top:21px; }
.hamburger .bar:nth-child(3){ top:28px; }

/* transform to X when open */
.nav-open .hamburger .bar:nth-child(1){ top:21px; transform:rotate(45deg); }
.nav-open .hamburger .bar:nth-child(2){ opacity:0; }
.nav-open .hamburger .bar:nth-child(3){ top:21px; transform:rotate(-45deg); }

/* --- Mobile drawer + backdrop --- */
.mobile-nav{
  position:fixed; top:var(--header-h); right:0; bottom:0; width:min(84vw, 360px);
  background:#ffffff; box-shadow:-8px 0 24px rgba(0,0,0,.12);
  transform:translateX(100%); transition:transform .35s ease;
  z-index:999; display:flex; flex-direction:column; padding:1rem 1.25rem 2rem;
}
.mobile-nav-inner{ display:flex; flex-direction:column; gap:.25rem; }
.mobile-link{
  display:block; padding:.9rem 0; font-size:1.05rem; color:#0f1219; text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.08);
}
.mobile-link.active{ color:#3b52a0; font-weight:700; }

.nav-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.28);
  backdrop-filter:saturate(120%) blur(1px);
  z-index:998;
  opacity:0; transition:opacity .25s ease;
}

/* when open */
.nav-open .mobile-nav{ transform:translateX(0%); }
.nav-open .nav-backdrop{ opacity:1; }
.nav-open .nav-backdrop[hidden]{ display:block; } /* let it transition */

/* --- Hide desktop nav / show hamburger on small screens --- */
@media (max-width: 1024px){
  .site-nav{ display:none; }      /* hide your desktop links */
  .hamburger{ display:inline-flex; align-items:center; justify-content:center; }
}

/* Motion respect */
@media (prefers-reduced-motion: reduce){
  .mobile-nav, .hamburger .bar, .nav-backdrop{ transition:none; }
}


/* =========================
   Hero Section
========================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: auto;
  position: relative;
  overflow: visible; /* let the cube poke out */
  /* This is the corrected padding. It adds a top gap while keeping the side gutters. */
  padding: 4rem var(--space-x) 0;
  background: #fff;
}

/* Text block */
.hero-text {
  flex: 0 1 44%;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cn-title {
  font-family: 'Source Han Sans', sans-serif;
  /* responsive: small → big */
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  word-break: keep-all; /* keep Chinese readable */
}
.en-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  color: #7f8a9b;
  margin-bottom: 1.25rem;
}
.meta {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: #9aa3b0;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* Status indicator */
.status-indicator {
  margin-top: 1rem;
  display: inline-block;
}

.status-text {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.status-text.open {
  background: #dcfce7;
  color: #166534;
  border: 2px solid #bbf7d0;
}

.status-text.closed {
  background: #fef2f2;
  color: #dc2626;
  border: 2px solid #fecaca;
}

.status-text.loading {
  background: #f3f4f6;
  color: #6b7280;
  border: 2px solid #d1d5db;
}

/* Image + cube */
.hero-image {
  flex: 0 1 56%; /* wider image area like your ref */
  position: relative;
  min-width: 0;
  height: max(62vh, 640px); /* deep but capped for huge screens */
  border-radius: 1rem;
  overflow: visible;
}
.hero-photo {
  position: relative;
  width: 100%;
  height: 80%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  z-index: 2; /* above the cube */
}

.hero-cube {
  position: absolute;
  left: 80%;
  transform: translateX(-50%);

  /* Set a top position to anchor the cube relative to the image's top edge. */
  top: -15vh;

  /* Increase the width to make the cube bigger overall. */
  width: clamp(500px, 100%, 900px);

  /* Increase the height to make it extend further downward. */
  height: 120%; /* You may need to experiment with this value. */

  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1280px) {
  .site-nav {
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }
  .site-nav {
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
    padding: 2rem var(--space-x) 2rem; /* Adjusted padding for smaller screens */
  }
  .hero-text {
    width: 100%;
    padding: 0;
    text-align: center;
    margin: 2rem 0 1.25rem;
  }
  .hero-text .meta {
    text-align: left;
    margin: 0 auto;
    max-width: 520px;
  }
  
  .status-indicator {
    text-align: center;
    margin-top: 1.5rem;
  }

  .hero-image {
    width: min(92%, 820px);
    height: min(52vh, 520px);
  }

  /* keep cube but nudge slightly closer for midsize screens */
  .hero-cube {
    bottom: -14vh;
    width: clamp(360px, 70%, 820px);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    height: var(--header-h);
  }
  .logo-left,
  .logo-right {
    flex: 1 0 50%;
    justify-content: center;
  }
  .site-nav {
    order: 1;
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  .hero-text {
    text-align: left;
    margin: 1.25rem 0;
  }
  
  .status-indicator {
    text-align: center;
    margin-top: 1rem;
  }
  
  .status-text {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  .hero-image {
    width: 96%;
    height: 46vh;
  }

  /* optional: if cube crowds small screens, hide it */
  .hero-cube {
    display: none;
  }
}

/* ---- About block ---- */
.about-wrap {
  background: #f6f7f9; /* light gray band like screenshot */
  margin-top: 0;
}
.about-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 2.5rem var(--space-x); /* matches page side gutters */
  max-width: 1400px;
  margin: 0 auto;
}

/* left side kept empty for composition */
.about-spacer {
  flex: 1 1 50%;
  min-height: 280px; /* ensures tall band on large screens */
}

/* right column text */
.about-text {
  flex: 1 1 50%;
  max-width: 680px;
  margin-left: auto; /* hugs the right edge */
}
.about-title {
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #9ca3af; /* Same as TA Schedule */
  line-height: 1;
  margin-bottom: 2rem;
  text-align: left;
}
.about-cn {
  font-family: 'Source Han Sans', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #7c8794;
  line-height: 2;
  margin: 0 0 1.5rem;
}
.about-en {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #97a2af;
  line-height: 2;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding: 4rem var(--space-x);
  }
  .about-spacer {
    display: none;
  } /* remove empty left area on tablet/phone */
  .about-text {
    max-width: 720px;
    margin: 0;
  }
}
@media (max-width: 640px) {
  .about-inner {
    padding: 3rem var(--space-x);
  }
  .about-cn,
  .about-en {
    line-height: 1.9;
  }
}

/* =========================
  Space Section
========================= */

.space-section{
  padding: 4rem 5%;
  background:#fff;
}

.section-title{
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #9ca3af; /* Same as TA Schedule */
  line-height: 1;
  margin-bottom: 2rem;
  text-align: left;
}

.space-row{
  display:flex;
  flex-wrap:wrap;
  gap:2.5rem;
}

.space-item{
  /* Reserve space for the big number */
  --num-w: 7.5rem;
  position:relative;
  flex:1 1 45%;
  padding-left: var(--num-w);
}

.space-number{
  position:absolute;
  left:0;
  top:.2rem;
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight:800;
  line-height:1;
  color: rgba(0,0,0,0.06);
  z-index:0;                 /* behind content */
  pointer-events:none;
  user-select:none;
}

.space-content{
  position:relative;
  z-index:1;                 /* above number */
}

.space-content h3{
  font-size:1.45rem;
  margin:0 0 .8rem;
}

.space-content p{
  font-size:1rem;
  line-height:1.8;
  margin:.5rem 0;
}

.space-content p.en{ color:#5f6b7a; }

/* --------- Responsive --------- */
@media (max-width: 1200px){
  .space-item{ --num-w: 6rem; }
}

@media (max-width: 900px){
  .space-item{ --num-w: 4.5rem; }
  .space-number{ font-size: clamp(5rem, 18vw, 8rem); }
}

@media (max-width: 768px){
  .space-item{
    flex:1 1 100%;
    --num-w: 0;
    padding-left: 0;
  }
  .space-number{ display:none; }   /* optional: hide on phones */
}


/* =========================
 How to use workshop section
========================= */

.howto-section{
  padding: 3rem 5% 2rem;
  background:#fff;
}

/* Pale title like your style */
.howto-ghost{
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #9ca3af; /* Same as TA Schedule */
  margin: 0 0 2rem;
  line-height: 1;
  text-align: left;
}

/* Grids */
.howto-grid{
  display:grid;
  gap: 1.5rem;
}

/* Row 1: 2 columns */
.howto-top{
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.5rem;
}

/* Row 2: 3 columns */
.howto-bottom{
  grid-template-columns: repeat(3, 1fr);
}

/* Card base */
.howto-card{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

/* Keep aspect ratios similar to your screenshot */
.howto-top .howto-card{ aspect-ratio: 16 / 9; }
.howto-bottom .howto-card{ aspect-ratio: 16 / 9; }

.howto-card img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform: scale(1.001); /* avoid hairline gaps */
}

/* Hero overlay */
.howto-hero .howto-overlay{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.55));
  color:#fff;
  display:flex; flex-direction:column; justify-content:center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.howto-hero h3{
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  line-height:1.1; margin:0 0 1.25rem; font-weight:800;
}

.howto-cta{
  display:inline-flex; align-items:center; gap:.6rem;
  font-size: .95rem; letter-spacing:.12em;
  padding:.6rem 1rem; border:1px solid rgba(255,255,255,.5);
  border-radius:999px; background: rgba(255,255,255,.08);
  transition: .25s ease;
}
.howto-hero:hover .howto-cta{ background: rgba(255,255,255,.18); transform: translateY(-1px); }

/* Hover zoom for all cards (subtle) */
.howto-card:hover img{ transform: scale(1.03); transition: transform .5s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .howto-top{ grid-template-columns: 1fr; }      /* 2 → 1 */
  .howto-bottom{ grid-template-columns: 1fr 1fr; }/* 3 → 2 */
}

@media (max-width: 640px){
  .howto-section{ padding: 2rem 5% 1.5rem; }
  .howto-bottom{ grid-template-columns: 1fr; }   /* 2 → 1 */
  .howto-cta{ font-size:.9rem; padding:.55rem .9rem; }
}


/* Section + ghost title */
.ta-section { 
  padding: 2rem 5% 3rem; 
  background:#fff; 
}

.ta-ghost{
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #9ca3af; /* Light gray like in the image */
  line-height: 1;
  margin: 0 0 2rem;
  text-align: left;
}

/* Grid table */
.ta-grid{
  display: grid;
  grid-template-columns: 180px repeat(5, 1fr); /* time + 5 days */
  border-left: none; /* No left border on grid container */
  border-right: none; /* No right border */
  border-bottom: 1px solid #e5e7eb; /* Thin light bottom border */
  border-top: none; /* No top border */
  background: #fff;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

/* Cells */
.ta-cell{
  padding: 1.5rem 1rem;
  border-right: 1px solid #111827; /* Thinner vertical separators for data rows */
  border-bottom: 1px solid #e5e7eb; /* Thin light horizontal separators */
  background: #fff;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Move text to bottom */
  gap: 0.25rem;
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 1rem;
  color: black;
}

/* Remove right border from last column */
.ta-cell:nth-child(6n) {
  border-right: none;
}

/* Remove right border from last header column (Fri) */
.ta-head:last-child {
  border-right: none;
}

/* Make Time header cell have thick border like other header cells */
.ta-head:first-child {
  border-right: 4px solid black; /* Thick border for Time header only */
  border-left: 4px solid black; /* Thick left border for Time header only */
}

/* Header cells */
.ta-head{
  font-weight: 800; 
  font-size: 1.4rem;
  color: black;
  background: #fff;
  text-align: left; /* Left align to border */
  padding-bottom: 0.5rem; /* Reduce bottom padding to move text down */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Move text to bottom of cell */
  border-right: 4px solid black; /* Thicker vertical separators for header only */
}

/* Time column */
.ta-time, .time{
  font-weight: 800; /* Make Time title bold */
  font-size: 1.4rem;
  color: black;
  text-align: left;
  border-right: 1px solid black; /* Thinner border for data rows */
  border-left: 1px solid black; /* Thinner left border for data rows */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Move text to bottom */
}

/* English name (lighter) */
.ta-en{ 
  color: black; 
  font-size: 1.1rem;
}

/* Remove thick vertical separators for clean design */
.ta-grid > *::after {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .ta-grid{ 
    grid-template-columns: 160px repeat(5, 1fr); 
  }
}

/* Phones: stack as cards by time slot */
@media (max-width: 768px){
  .ta-grid{
    border: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Convert each time row into a card */
  .ta-grid .ta-head{ 
    display: none; /* hide table headers on mobile */
  }

  /* Group rows manually: each "card" = time + 5 day cells */
  .ta-grid > .ta-time{
    border: 1px solid #e5e7eb;
    border-radius: 8px 8px 0 0;
    padding: 1rem;
    background: #f9fafb;
    font-weight: 600;
  }
  
  /* following 5 cells for that time slot */
  .ta-grid > .ta-time + .ta-cell,
  .ta-grid > .ta-time + .ta-cell + .ta-cell,
  .ta-grid > .ta-time + .ta-cell + .ta-cell + .ta-cell,
  .ta-grid > .ta-time + .ta-cell + .ta-cell + .ta-cell + .ta-cell,
  .ta-grid > .ta-time + .ta-cell + .ta-cell + .ta-cell + .ta-cell + .ta-cell{
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
  }
  
  /* last of the 5 cells */
  .ta-grid > .ta-time + .ta-cell + .ta-cell + .ta-cell + .ta-cell + .ta-cell{
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0 0 8px 8px;
  }

  /* add mini headers for days inside cards */
  .ta-grid .ta-cell::before{
    content: attr(data-day);
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
  }

  /* remove desktop separators */
  .ta-grid > *::after{ 
    display: none; 
  }
}

/* =========================
   Team Members Section
========================= */

.team-section { 
  padding: 2rem 5% 3rem; 
  background: #fff; 
}

.team-ghost{
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1;
  margin: 0 0 2rem;
  text-align: left;
}

.team-container {
  max-width: none;
  margin: 0;
}

.team-row {
  margin-bottom: 2rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.team-row-title {
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #000;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.title-text {
  flex-shrink: 0;
}

.group-name {
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #000;
  max-width: 300px;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  max-width: 150px;
  padding: 0.75rem;
  border-radius: 0;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-1px);
}

.member-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 0.75rem;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #e5e7eb;
  transition: border-color 0.3s ease;
}

.member-avatar img:hover {
  border-color: #3b82f6;
}

.member-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-link:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.member-link img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #e5e7eb;
  transition: border-color 0.3s ease;
}

.member-link:hover img {
  border-color: #3b82f6;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.member-name {
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.member-degree {
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Larger avatars on bigger screens */
@media (min-width: 1200px) {
  .member-avatar {
    width: 90px;
    height: 90px;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1400px) {
  .member-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 1.2rem;
  }
}

@media (min-width: 1600px) {
  .member-avatar {
    width: 110px;
    height: 110px;
    margin-bottom: 1.3rem;
  }
}

@media (min-width: 1920px) {
  .member-avatar {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
  }
}

/* Responsive styles for team section */
@media (max-width: 768px) {
  .team-ghost {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-section {
    padding: 2rem 5% 3rem;
  }
  
  .team-row {
    margin-bottom: 1.5rem;
  }
  
  .team-row-title {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .group-name {
    font-size: 1rem;
    margin-left: 0;
  }
  
  .team-members {
    gap: 1.25rem;
    justify-content: center;
  }
  
  .team-member {
    min-width: 100px;
    max-width: 120px;
    padding: 0.5rem;
  }
  
  .member-avatar {
    width: 65px;
    height: 65px;
    margin-bottom: 0.5rem;
  }
  
  .member-name {
    font-size: 0.9rem;
  }
  
  .member-degree {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .team-ghost {
    font-size: 2rem;
  }
  
  .team-section {
    padding: 1.5rem 5% 2rem;
  }
  
  .team-row {
    margin-bottom: 1.25rem;
  }
  
  .team-row-title {
    font-size: 1.2rem;
  }
  
  .group-name {
    font-size: 0.9rem;
  }
  
  .team-members {
    gap: 1rem;
  }
  
  .team-member {
    min-width: 80px;
    max-width: 100px;
    padding: 0.5rem;
  }
  
  .member-avatar {
    width: 60px;
    height: 60px;
  }
  
  .member-name {
    font-size: 0.8rem;
  }
  
  .member-degree {
    font-size: 0.75rem;
  }
}

/* Responsive spacing adjustments for team titles */
@media (min-width: 1200px) {
  .team-row-title {
    gap: 4rem;
  }
}

@media (min-width: 1400px) {
  .team-row-title {
    gap: 5rem;
  }
}

@media (min-width: 1600px) {
  .team-row-title {
    gap: 6rem;
  }
}

@media (min-width: 1920px) {
  .team-row-title {
    gap: 7rem;
  }
}


/* =========================
   Footer
========================= */

.site-footer {
  background-color: #2c2c2c;
  color: #fff;
  font-family: 'Source Han Sans', sans-serif;
}
.footer-top {
  display: flex;
  justify-content: space-between; /* Changed back to space-between to position content on left and right sides */
  align-items: center;
  padding: 2rem 5%;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-left img {
  height: 72px;
  max-width: 160px;
  object-fit: contain;
}
.footer-right {
  display: flex;
  align-items: center;
  text-align: right; /* Keep right alignment */
  justify-content: flex-end; /* Ensure content is pushed to the right */
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Change from flex-end to flex-start so both texts start from same left edge */
  text-align: right; /* Keep text right-aligned */
}
.contact-info h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-align: right; /* Ensure heading is right-aligned */
}
.contact-info p {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.9);
  text-align: right; /* Ensure email is right-aligned */
}
/* .footer-divider {
  width: 1px;
  height: 52px;
  background-color: rgba(255, 255, 255, 0.7);
}
.footer-text h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.footer-text p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
} */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 0.9rem 5%;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------Footer Responsive --------- */

/* Tablets: keep left-align, reduce sizes a bit */
@media (max-width: 1024px) {
  .footer-top {
    padding: 1.5rem 5%;
  }
  .footer-left img {
    height: 60px;
    max-width: 130px;
  }
  .footer-divider {
    height: 44px;
  }
  .footer-text h3 {
    font-size: 1.1rem;
  }
  .footer-text p {
    font-size: 0.9rem;
  }
  .contact-info h3 {
    font-size: 1.1rem;
  }
  .contact-info p {
    font-size: 0.9rem;
  }
}

/* Phones: stack vertically, center for balance */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column; /* stack left and right sections */
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem 6%;
  }
  .footer-left {
    flex-direction: column; /* stack logo, divider, text */
    gap: 0.6rem;
    text-align: center;
  }
  .footer-left img {
    height: 56px;
    max-width: 120px;
  }
  .footer-divider {
    display: none;
  } /* hide thin line when stacked */
  .footer-text h3 {
    font-size: 1rem;
  }
  .footer-text p {
    font-size: 0.9rem;
  }
  .footer-right {
    text-align: center;
  }
  .contact-info h3 {
    font-size: 1rem;
  }
  .contact-info p {
    font-size: 0.9rem;
  }
  .footer-bottom {
    font-size: 0.85rem;
    padding: 0.8rem 6%;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .footer-left img {
    height: 48px;
    max-width: 100px;
  }
  .footer-text h3 {
    font-size: 0.95rem;
  }
  .footer-text p {
    font-size: 0.85rem;
  }
  .contact-info h3 {
    font-size: 0.95rem;
  }
  .contact-info p {
    font-size: 0.85rem;
  }
}


/* --- Homepage CSS Code Ended --- */



/* =========================
   Equipments Page
========================= */

/* Headings */
.equip-hero{padding:2.25rem 5% 0;background: white;}
.equip-ghost{font-size:clamp(2.2rem,7vw,4rem);font-weight:300;color:rgba(0,0,0,.15);margin:0;line-height:1;}
.equip-title{margin:.25rem 0 1.25rem;font-size:clamp(1.5rem,3vw,2.25rem);font-weight:800;color:#1a2238; margin-bottom: 0 !important;}

/* Grid: same size cards, narrower columns, taller rows */
.equip-row{
  position:relative;
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* narrower cards */
  gap: 1.5rem;
  padding: 1rem 5% 2rem;
  background:white;
  grid-auto-rows: 380px;         /* taller cards */
  align-items: stretch;
}

/* ---------- Room tile (lighter blue + optional bg image) ---------- */
.equip-roomcard{
  border-radius:14px;
  overflow:hidden;
  /* box-shadow:0 10px 24px rgba(0,0,0,.06); */
  height:100%;                   /* fill grid cell just like cards */
}
.equip-roomcard-media{
  position:relative;
  height:100%;                   
  aspect-ratio: 4 / 3;           
  background-color:#e9f1ff;      
  background-size:cover;        
  background-position:center;
  background-repeat:no-repeat;
}
/* light blue tint
.equip-roomcard-tint{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,
    rgba(14, 26, 201, 0.38) 0%,
    rgba(14, 26, 201, 0.38) 55%,
    rgba(14, 26, 201, 0.38) 100%
  );
} */
.equip-room-badge{
  position:absolute; top:.65rem; left:.65rem;
  display:inline-flex; align-items:center; gap:.4rem;
  /* background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.35); */
  color:#fff; font-size:.8rem; padding:.25rem .5rem; border-radius:999px;
}
.equip-roomcard-text{
  position:absolute; left:.9rem; bottom:.9rem; right:.9rem; color:#fff;
}
.equip-roomcard-cn{
  font-family:'Source Han Sans',sans-serif; font-weight:800; font-size:clamp(1.05rem,2.4vw,1.5rem);
}
.equip-roomcard-en{
  margin-top:.25rem; font-weight:700; opacity:.95; font-size:clamp(.95rem,1.8vw,1.15rem);
}

/* ---------- Equip cards ---------- */
.equip-card{
  display: grid !important;
  grid-template-rows: 1fr auto !important; /* image fills first row, meta sits below */
  height: 100% !important;
  overflow: hidden; /* fine to keep */
}
.equip-card:hover{ transform:translateY(-3px); box-shadow:0 16px 32px rgba(0,0,0,.10); }

.equip-media{
  position:relative;
  height:100%;
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 0 !important;
  overflow:hidden;
}
.equip-media img{
  width:100%; 
  height:100%; 
  object-fit:cover;
  object-position: center; 
  display:block;
  transform:scale(1.001); 
  transition:transform .6s ease;
}
.equip-card:hover .equip-media img{ transform:scale(1.04); }

/* Number badge
.equip-number{
  position:absolute; top:.5rem; left:.5rem;
  width:28px; height:28px; border-radius:999px;
  background:#000; color:#fff;
  display:grid; place-items:center; font-weight:800; font-size:.9rem;
  box-shadow:0 2px 0 rgba(0,0,0,.2);
} */

/* Meta text */
.equip-meta{
  display: block !important;
  padding: .9rem .9rem 1.1rem !important;
  background: transparent !important;
}
.equip-name-cn{ margin:0 0 .25rem; font-weight:800; color:#0f1219; font-size:1.05rem; }
.equip-name{ margin:0 0 .35rem; font-weight:800; color:#151b28; font-size:1.05rem; }
.equip-sub{ margin:0; color:#6a7483; font-size:.92rem; }


/* ---------- Responsive ---------- */
@media (max-width: 1280px){
  .equip-row{ grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 900px){
  .equip-row{ grid-template-columns: 1fr; }
}


.equip-hero,
.equip-row,
.equip-section,
.equip-wrap {
  background:#fff !important;
}

/* Larger cards on desktop */
.equip-row{
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important; /* wider */
  grid-auto-rows: 360px !important; /* taller */
  gap: 1.5rem !important;
  padding: 1rem 5% 2rem !important;
}

/* Cards fill their grid cell */
.equip-card,
.equip-roomcard {
  height: 100% !important;
  overflow: hidden; /* clip anything extra */
}

.equip-media,
.equip-roomcard-media{
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;

  aspect-ratio: auto !important;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* IMG should fill the box, no distortion */
.equip-media img{
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;     /* fill without stretching */
  object-position: center !important;
  transform: none !important;       /* optional: remove tiny scale if it bothers crop */
}

/* Keep the light blue tint on the room tile */
.equip-roomcard-tint{
  pointer-events: none;
}

/* Optional: slightly larger on very wide screens */
@media (min-width: 1600px){
  .equip-row{
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
    grid-auto-rows: 380px !important;
  }
}

/* Mobile/tablet balance */
@media (max-width: 900px){
  .equip-row{
    grid-template-columns: 1fr !important;
    grid-auto-rows: 280px !important;
  }
}

/* ===== Equipment Detail ===== */

/* Ensure all equipment detail sections have white background */
.equip-detail {
  background: #fff;
}

.eqtop { 
  background:#fff; 
  display: flex;
  gap: 2rem;
  align-items: stretch;
}


.eqtop-wrap { 
  max-width:1200px; 
  margin:0 auto; 
  padding:24px 24px 24px; }

/* Titles */
.eqtop-ghost{
  margin:0 0 6px;
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-weight:400;
  color:#9ca3af; /* Same as other ghost titles */
  letter-spacing:.2px;
  line-height:1.1;
  font-size:clamp(2rem,6vw,3.4rem);
}
.eqtop-cn{
  margin:0;
  font-weight:1100;
  color:#222;
  line-height:1.1;
  font-size:clamp(1.6rem,4.6vw,3rem);
}

/* Divider line under CN title across the content width */
.eqtop-divider{
  height:3px; 
  background:#e7e7e7; 
  margin:22px 0 22px;
}

/* Two-column grid (image left / spec box right) */
.eqtop-grid{
  display:grid;
  grid-template-columns: minmax(200px, 1fr) minmax(200px, 1fr);
  gap:32px;
  align-items:stretch;
}

/* Left image */
.eqtop-media{ 
  overflow:hidden;  
}

.eqtop-media img{ 
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* Right specification box */
.eqtop-spec {
  padding: 0;
}

.eqtop-spec-h {
  margin: 0 0 1.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: #333;
}

.eqtop-spec-h .cn {
  display: inline;
  font-family: 'Source Han Sans', sans-serif;
  margin-right: 0.5rem;
  font-size: 2.5rem;
  color: black;
  font-weight: 600;
}

.eqtop-spec-h .en {
  display: inline;
  color: black;
  font-size: 2rem;
  font-weight: 600;
}

.eqtop-spec-h {
  margin: 0 0 1.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: #333;
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 0.5rem;
}

.eqtop-spec-list div {
  /* Add the grid property to the inner div */
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem; /* This will be the gap between 'Model' and 'FX-888D' */
  margin-bottom: 0.5rem; /* Add space between each row */
}

.eqtop-spec-list div:last-child {
  margin-bottom: 0; /* Remove margin from last item */
}

.eqtop-spec-list dt{ 
  font-weight:600; 
  color:#222; 
  font-size:22px;
}

.eqtop-spec-list dd{ 
  margin:0; 
  color:#111;
  font-size:22px;
}

/* Medium screens */
@media (max-width: 980px) {
  /* This rule is correct */
  .eqtop-grid{ grid-template-columns:1fr; }
  .eqtop-spec-list dt,
  .eqtop-spec-list dd {
    font-size: 20px;
  }
  .eqtop-spec-h .cn {
    font-size: 2.2rem;
  }
  .eqtop-spec-h .en {
    font-size: 1.8rem;
  }
  .eqtop-spec-h {
    border-bottom: 2px solid #e7e7e7;
    padding-bottom: 0.4rem;
  }
  
  /* Ensure image maintains horizontal emphasis on medium screens */
  .eqtop-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

/* Small screens: Stacks labels and values */
@media (max-width: 640px) {
  .eqtop-spec-list div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .eqtop-spec-list dt,
  .eqtop-spec-list dd {
    font-size: 18px;
  }
  .eqtop-spec-h .cn {
    font-size: 2rem;
  }
  .eqtop-spec-h .en {
    font-size: 1.6rem;
  }
  .eqtop-spec-h {
    border-bottom: 2px solid #e7e7e7;
    padding-bottom: 0.3rem;
  }
  
  /* Ensure image maintains horizontal emphasis on small screens */
  .eqtop-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

/* Extra small screens: Further optimize spacing */
@media (max-width: 480px) {
  .eqtop-spec-list div {
    gap: 0.4rem;
  }
  .eqtop-spec-list dt,
  .eqtop-spec-list dd {
    font-size: 16px;
  }
  .eqtop-spec-h .cn {
    font-size: 1.8rem;
  }
  .eqtop-spec-h .en {
    font-size: 1.4rem;
  }
  .eqtop-spec-h {
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 0.2rem;
  }
  .eqtop-wrap {
    padding: 16px 16px 24px;
  }
  .eqtop-grid {
    gap: 20px;
  }
  
  /* Ensure image maintains horizontal emphasis on small screens */
  .eqtop-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

/* Red safety notes with "※" */
.eqtop-notes{ margin:15px 0 0; padding-left:1.25rem; }
.eqtop-notes li{
  list-style:none; position:relative; margin:1rem 0;
  color:#fa4646; font-weight:700; line-height:1.6;
}
.eqtop-notes li::before{
  content:"※"; position:absolute; left:-1.1rem; top:0;
  color:#fa4646; font-weight:900;
}

/* Separate English and Chinese notes on different lines */
.eqtop-notes li .cn,
.eqtop-notes li .en {
  display: block;
  margin: 0.25rem 0;
}

.eqtop-notes li .cn {
  font-family: 'Source Han Sans', sans-serif;
  font-weight: 800;
}



/* ---------- Arrow between sections ---------- */
.eq-arrow{
  display:block;
  margin:18px auto 6px;
  width:110px; max-width:20vw;
  opacity:.9;
}

/* ---------- Process Guide ---------- */
.proc-wrap{ 
  max-width:1200px; 
  margin:0 auto; 
  padding: 0; 
  background:#fff; 
  box-sizing: border-box;
}
.proc-ghost{
  margin:0 0 6px; 
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-weight:400;
  color:#9ca3af; /* Same as other ghost titles */
  letter-spacing:.2px; 
  line-height:1.1;
  font-size:clamp(1.8rem,5.5vw,3rem);
  padding: 0 24px;
}
.proc-cn{
  margin:0; font-weight:1000; color:#222; line-height:1.1;
  font-size:clamp(1.3rem,4vw,2.1rem);
  padding: 0 24px;
}
.proc-divider{ height:2px; background:#e8e8e8; margin:18px 24px 10px; }

/* Step block */
.proc-step{ padding:18px 24px 28px; border-bottom:1px dashed #eaeaea; }
.proc-step:last-child{ border-bottom:0; }

.proc-step-title{
  margin:0 0 10px; font-weight:900; color:#111;
  font-size:clamp(1.05rem,3.2vw,1.35rem);
}
.proc-step-title .num{ margin-right:.4rem; }

/* DESKTOP LAYOUT */
.proc-desktop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding-right: 24px;
}

.proc-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proc-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  min-height: 350px;
}

.proc-figure img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.proc-figure .proc-watermark {
  display: none;
}

.proc-text-block:first-child .proc-watermark {
  position: absolute;
  left: 50%;
  top: 50%;                 /* Center in the text block */
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 20vw, 14rem);
  line-height: 1;
  font-weight: 1000;
  color: #9b8a8a;
  opacity: .10;
  pointer-events: none;
  user-select: none;
  z-index: 0;               /* Behind text */
}

.proc-texts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
  position: relative;
}

.proc-text-block {
  min-height: 350px;              
  display: flex;
  flex-direction: column;
  justify-content: center;        
  align-items: center;            
  text-align: center;             
  padding: 16px;
}

.proc-text-block .proc-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}


.proc-text-block p {
  margin: .25rem 0 .65rem;
  color: #151b28;
}

.proc-text-block p.cn {
  font-weight: 700;
}

.proc-text-block p.en {
  color: #374151;
}

/* MOBILE LAYOUT */
.proc-mobile {
  display: none;
}

@media (max-width: 980px) {
  .proc-desktop {
    display: none;
  }
  
  .proc-mobile {
    display: block;
  }
  
  .proc-pair {
    margin-bottom: 24px;
  }
  
  .proc-mobile-figure {
    position: relative;
    margin: 0 0 12px 0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 200px;
    width: 100%;
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
  }
  
  .proc-mobile-figure img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    display: block;
    max-width: 100%;
  }
  
  .proc-mobile-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(3rem, 15vw, 8rem);
  line-height: 1;
  font-weight: 1000;
  color: #9b8a8a;
  opacity: .10;            /* lighter so it doesn’t fight text */
  pointer-events: none;
  user-select: none;
  z-index: 0;              /* behind the text */
}
  
  .proc-mobile-text {
  position: relative;
  padding: 24px 8px 12px;  /* top padding so the watermark has room */
  text-align: center;      /* optional: center the text too */
}
  
  .proc-mobile-text p {
    margin: .25rem 0 .65rem;
    color: #151b28;
  }
  
  .proc-mobile-text p.cn {
    font-weight: 700;
  }
  
  .proc-mobile-text p.en {
    color: #374151;
  }
}


/* ---------- Safety Note section ---------- */
.safety-wrap{
  position:relative;
  max-width:1200px;
  margin:0 auto;
  padding:0;
  background:#fff;
}

/* Hide watermark completely */
.safety-watermark{ display:none !important; }

.safety-title{
  margin:26px 0 2px;
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-weight:400;                 /* slightly lighter than 900 for a cleaner look */
  color:#9ca3af; /* Same as other ghost titles */
  font-size:clamp(1.35rem,3.2vw,4rem);
  text-align:center;
  letter-spacing:.2px;
  padding:0 24px;
}
.safety-title-cn{
  margin:0 0 12px;
  font-weight:900;
  color:#111;
  font-size:clamp(1.05rem,2.6vw,2.5rem);
  text-align:center;
  padding:0 24px;
}

.safety-divider{
  height:2px;
  background:#e6e6e6;
  margin:12px 0 18px;
}

/* List: bullet aligns with the Chinese; English continues on same line */
.safety-list{
  margin:0;
  padding:0 24px 8px 0;            /* right padding only; left handled by grid bullet */
}
.safety-list li{
  /* grid: bullet column + text column */
  display:grid;
  grid-template-columns: 1.2rem 1fr;
  column-gap:.6rem;
  align-items:baseline;
  margin:10px 0 16px;
  line-height:1.75;
}

/* Custom bullet (sits in the first grid column) */
.safety-list li::before{
  content:"•";
  grid-column:1;
  color: black;                   /* soft gray dot like the ref */
  font-size:1.15rem;
  line-height:1.75;
  position:relative;
  top:.05rem;                      /* tiny vertical nudge */
}

/* Place both CN & EN paragraphs in the text column; inline on one line */
.safety-list p{
  grid-column:2;
  margin:0;
  display:inline;
  white-space:normal;
}

.safety-list p.cn{
  font-weight:700;
  color:#111;
  font-weight: 400;
  font-size:1.5rem;
  display: inline;
  margin: 0; 

}
.safety-list p.en{
  color:#374151;
  font-size:1.5rem;
  display: inline; 
  margin: 0;

}


/* Responsive tweaks */
@media (max-width: 820px){
  .safety-title{ font-size:clamp(1.25rem,4.5vw,1.7rem); }
  .safety-title-cn{ font-size:clamp(1rem,3.8vw,1.2rem); }
  .safety-list li{ margin:8px 0 14px; }
  .safety-list p.cn,
  .safety-list p.en{ font-size:0.98rem; }
}


/* ---------- Related Tools ---------- */
.rt-wrap{
  max-width:1200px;
  margin:0 auto;
  padding: 0;
  background:#fff;
}

.rt-ghost{
  margin:0 0 4px;
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-weight:400;
  color:#9ca3af; /* Same as other ghost titles */
  letter-spacing:.2px;
  line-height:1.1;
  font-size:clamp(1.8rem,6vw,3rem);
  padding: 0 24px;
  text-align:center;
}
.rt-title-cn{
  margin:0 0 10px;
  font-weight:1000;
  color:#222;
  font-size:clamp(1.2rem,3.6vw,1.8rem);
  text-align:center;
  padding: 24px 24px;
}

/* Hero with overlay card in top-left */
.rt-hero{
  position:relative;
  margin:0 24px 28px;
  border-radius:12px;
  overflow:visible;
  box-shadow:0 12px 26px rgba(0,0,0,.08);
}
.rt-hero img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;        
}
.rt-hero-overlay{
  position:absolute;
  left:-18px;
  top:-16px;                 /* lift it a little outside the image */
  max-width:min(580px, 65%);
  color:#fff;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0, rgba(0,0,0,.35) 100%);
  padding: clamp(20px, 5vw, 60px) clamp(6px, 3vw, 24px);
  border-radius:8px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); /* subtle floating effect */
}
.rt-hero-title .cn{
  font-weight:900; font-size:clamp(1.05rem,2.6vw,1.4rem); margin-left:10px;
}
.rt-hero-title .en{
  margin-top:2px; opacity:.95;
  font-weight:700; font-size:clamp(.95rem,2.2vw,1.2rem); margin-left:10px;
}
.rt-hero-overlay p{ margin:.5rem 0 0; margin-top:6px; margin-left:10px;}

/* Row = two columns */
.rt-row{
  display:grid;
  grid-template-columns: minmax(280px, 48%) 1fr;
  align-items:start;
  gap:24px;
  margin:24px 24px 36px;
  align-items:center;
}
.rt-row.right{ grid-template-columns: 1fr minmax(280px, 48%); }
.rt-row.right .rt-media{ order:2; }
.rt-row.right .rt-text{ order:1; }

.rt-media{
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}
.rt-media img{
  width:100%; height:auto; display:block;
}

.rt-text p{ margin:.35rem 0; line-height:1.75; color:#374151; }
.rt-text p.cn{ font-weight:700; color:#151b28; }
.rt-text p.strong{ margin-bottom:.25rem; }
.rt-text p.en{ color:#374151; }

/* Mobile */
@media (max-width: 900px){
  .rt-row,
  .rt-row.right{
    grid-template-columns: 1fr;
  }
  .rt-row.right .rt-media{ order:1; }
  .rt-row.right .rt-text{ order:2; }

  /* on mobile the text sits below, so don't force vertical centering */
  .rt-row{ align-items:stretch; }
  .rt-text{ justify-content:flex-start; }

  .rt-hero-overlay{
    left:16px;
    top:-10px;              /* still slightly outside, but tighter on small screens */
    max-width:86%;
  }
}


/* =========================
   Reservation Page
========================= */

/* =========================
   Equipment Page
========================= */

/* Equipment ghost title - same style as other section titles */
.equip-ghost {
  font-family: 'Roboto', 'Source Han Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: #9ca3af; /* Same as TA Schedule, About, etc. */
  line-height: 1;
  margin-bottom: 2rem;
  text-align: left;
}

/* Responsive adjustments for equipment title */
@media (max-width: 640px) {
  .equip-ghost {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-bottom: 1.5rem;
  }
}