/* ── Technology Page Styles ── */

/* ── Hero (override at bottom) ── */

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 2;
  display: block;
}

.tech-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.tech-hero-tag svg {
  opacity: 0.8;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
 
}
.tech-hero h1{
    font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  word-break: keep-all;
  color: var(--primary-dark);
} 

.hero-title-vertical {
  /* writing-mode: vertical-rl; */
  text-orientation: upright;
  display: inline-block;
  letter-spacing: 0.1em;
}

.highlight-yellow {
  color: #facc15;
}

.tech-hero .hero-desc {
  color: var(--text);
}

/* ── Section Label ── */
.section-label {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 40px;
}

/* ── Research Section ── */
.research-section {
  padding-top: 60px;
}

/* ── Study Card ── */
.study-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 80px;
  padding: 32px;
  border-radius: var(--radius-lg);
}

.study-card:nth-of-type(1) {
  background: #faf6f1;
}

.study-card:nth-of-type(2) {
  background: #f0f5eb;
}

.study-main {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.8rem;
  padding-top: 8px;
}

.study-main > h2 {
  grid-column: 1 / -1;
}

.study-main > .study-body {
  grid-column: 1 / 2;
}

.study-main > .findings-box {
  grid-column: 2 / 3;
  align-self: start;
  padding: 16px;
  min-width: 280px;
}

.study-main > .findings-box .findings-label {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.study-main > .findings-box .finding-value {
  font-size: 1.6rem;
}

.study-tag {
  display: inline-block;
  align-items: center;
  gap: 8px;
  background: #fff8e6;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  color: #8b6914;
  margin-bottom: 20px;
  width: fit-content;
}

.study-tag--full {
  /* grid-column: 1 / -1; */
  margin-bottom: 8px;
  display: inline-block;
  justify-self: start;
}

.study-tag-icon {
  font-size: 1rem;
  line-height: 1;
}

.study-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 20px;
}

.study-title .zh {
  color: #9b7828;
}

.study-card:nth-of-type(2) .study-title .zh {
  color: var(--primary);
}

.study-body p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.study-body strong {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  display: inline-block;
  margin-bottom: 8px;
}

.study-body p:last-child {
  margin-bottom: 0;
}

/* ── Study Sidebar ── */
.study-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.study-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}

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

.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff;
  padding: 20px 16px 12px;
  font-size: 1rem;
  font-weight: 500;
}
ul.list {
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--primary-dark);
  padding: 0.6rem 0.6rem 0.6rem 1.4rem;
  border-radius: 0.6rem;
  list-style: disc;
  margin: 0;
}

ul.list li {
  line-height: 1.7;
}

ul.list li::marker {
  color: var(--primary);
}
/* ── Findings Box ── */
.findings-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* Column layout for findings stats */
.findings-box {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.findings-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.findings-box .findings-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: #9b7828;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.finding-stat {
  /* padding: 14px 0; */
  width: 100%;
  /* border-bottom: 1px solid var(--border); */
  border-right: none;
}

.finding-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.finding-stat:first-child {
  padding-top: 0;
}

.finding-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.finding-value--text {
  font-size: 1.4rem;
  color: #e74c3c;
}

.finding-value--arrow {
  font-size: 1.6rem;
}

.finding-desc {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.5;
}

.finding-stat:has(.finding-value--text) .finding-desc {
  color: #e74c3c;
}

/* ── Study Gallery ── */
.study-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-main img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery-thumbs img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* ── Carousel ── */
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: 40rem;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.carousel-btn:hover {
  background: #fff;
}

.carousel-prev {
  left: 10px;
}
.carousel-next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: #fff;
}

/* ── Research Button ── */
.btn-research {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}

.btn-research:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-research svg {
  opacity: 0.8;
}

/* ── Publications Section ── */
.publications-section .section-title {
  margin-bottom: 1.2rem;
}

.publications-list {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-card);
  /* border: 1px solid var(--border); */
  padding: 2.1rem 1.8rem;
  border-radius: var(--radius-lg);
}

.publication-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  /* box-shadow: var(--shadow-sm); */
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

/* .publication-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
} */

.publication-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.publication-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.publication-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.publication-badge--published {
  background: #e3f2e5;
  color: #2d6a4f;
}

.publication-badge--completed {
  background: #f0f0f0;
  color: #777;
}

.publication-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 8px;
}

.publication-dept {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.publication-dept svg {
  opacity: 0.6;
}

.publication-desc {
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
}

.btn-publication {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 4px;
}

.btn-publication:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ── Footer CTA ── */

.footer-cta-green .container {
  max-width: 1024px;
}

.footer-cta-green-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-cta-green h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-cta-green p {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.8;
  margin-bottom: 32px;
}

.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #fff;
  color: #1b4332;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #1b4332;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  /* .study-card,
  .study-card--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  } */

  .study-sidebar {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .study-main {
    grid-template-columns: 1fr;
  }

  .study-main > .study-body,
  .study-main > .findings-box {
    grid-column: 1 / -1;
  }

  .study-main > .findings-box {
    padding: 1.2rem;
  }

  .findings-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
  }

  .study-main > .findings-box .findings-label {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .study-main > .findings-box .finding-value {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  
  .hero-wave {
    height: 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .study-title {
    font-size: 1.35rem;
  }

  .study-card {
    margin-bottom: 60px;
  }

  .publication-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .publication-meta {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .btn-publication {
    margin-top: 8px;
  }

  .findings-box {
    flex-direction: column;
  }

  .finding-stat {
    border-right: none;
    /* border-bottom: 1px solid var(--border); */
    padding: 14px 0;
  }

  .finding-stat:last-child {
    /* border-bottom: none; */
  }

  .section-label {
    font-size: 2rem;
  }

  .footer-cta-green h2 {
    font-size: 1.5rem;
  }

  .gallery-main img {
    height: 160px;
  }

  .gallery-thumbs img {
    height: 100px;
  }
  .footer-cta-green {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: #fff;
    padding: 2.8rem 1.3rem;
    text-align: center;
    margin: 2.4rem 1.2rem;
    border-radius: 1.2rem;
  }
}
/* ── Hero Override: Two-column layout matching recycling ── */
.tech-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  background: #fafdf3;
  color: var(--text);
  overflow: hidden;
  padding: 0 0 80px;
}
.tech-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/media/00_research.png") center/cover no-repeat;
  opacity: 0.12;
  filter: grayscale(1);
  pointer-events: none;
  z-index: 0;
}
.tech-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: left;
}
.tech-hero-layout {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 3.6rem;
  align-items: center;
}
.tech-hero-content {
  text-align: left;
}
.tech-hero-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f0e0;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--primary-dark);
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}
.hero-title .highlight {
  color: var(--primary);
}
.hero-title-mobile {
  display: none;
}
.hero-desc {
  color: var(--text);
}
.tech-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.tech-hero-cta .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.tech-hero-layout {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 3.6rem;
  align-items: center;
}
.tech-hero-cta .btn-white {
  background: transparent;
  border: 1px solid #ccc;
  color: var(--text);
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 0.2s;
}
.tech-hero-cta .btn-white:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.tech-hero-media {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 560px;
}
.tech-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-scroll-down {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}
@media (max-width: 1024px) {
  .tech-hero {
    min-height: auto;
    padding: 9rem 1.8rem 3rem;
    align-content: start;
  }
  .tech-hero .container {
    align-content: start;
  }
  .tech-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tech-hero-content {
    text-align: left;
    max-width: 100%;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-title-desktop {
    display: none;
  }
  .hero-title-mobile {
    display: block;
  }
  .mobile-break {
    display: block;
  }
  .hero-desc {
    max-width: 100%;
  }
  .technology-button{
display: flex;
flex-direction: row;
justify-content: center;
  }

  .tech-hero-cta {
    justify-content: center;
  }
  .tech-hero-media {
    aspect-ratio: 4/5;
    max-height: 400px;
  }
  .carousel-slide img {
    height: 24rem;
  }
  .btn-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  padding: 14px 32px;
  background: #fff;
  color: #1b4332;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
}
