/* Trang Giới Thiệu (About) - Layout styles */

/* Page Hero Banner */
.page-hero {
  padding: clamp(8rem, 16vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
  background: linear-gradient(180deg, #FDF9F6 0%, #FFFFFF 100%);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.page-hero__lead {
  font-size: 1.25rem;
  line-height: var(--lh-body);
  color: var(--color-text-muted);
  max-width: 48rem;
  margin-inline: auto;
}

/* Split content layout */
.container--split {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .container--split {
    grid-template-columns: 1fr 1fr;
  }
  .reverse-desktop .about-overview__content { order: 2; }
  .reverse-desktop .about-overview__media { order: 1; }
}

.chip-label {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(6, 136, 211, 0.1);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: var(--text-small);
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: var(--space-3);
  letter-spacing: 0.04em;
}

.img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.img-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 5/4;
  object-fit: cover;
  display: block;
}

.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }

.check-list, .value-list {
  padding: 0;
  list-style: none;
}
.check-list li, .value-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--space-3);
  line-height: 1.6;
}
.check-list li::before, .value-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}

/* MISSION BENTO GRID */
.bento-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}
@media (min-width: 768px) {
  .bento-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
  }
}

.bento-header__left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bento-header__title {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0;
}
.bento-header__desc {
  max-width: 38rem;
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bento-card {
  position: relative;
  height: auto;
  min-height: 360px;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  padding: 2rem;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease;
}
@media (min-width: 768px) {
  .bento-card:hover { box-shadow: var(--shadow-card); }
}

.bento-card__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
}

.bento-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
  transition: opacity 0.4s ease;
}

.bento-card__content { 
  position: relative; 
  z-index: 10; 
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.bento-card:hover .bento-card__bg-img {
  transform: scale(1.05);
}
.bento-card:hover .bento-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 100%);
}
.bento-card:hover .bento-card__content {
  transform: translateY(-4px);
}

.bento-card__subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.bento-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  background: var(--color-base-content); /* or base color */
  padding: 0.25rem 1rem;
  border-radius: 999px;
  display: inline-block;
}
.bento-card--1 .bento-card__title { background: rgba(6, 136, 211, 0.9); }
.bento-card--2 .bento-card__title { background: rgba(188, 54, 1, 0.9); }
.bento-card--3 .bento-card__title { background: rgba(67, 151, 117, 0.9); }

.bento-card__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Card Specifics */
@media (min-width: 768px) {
  .bento-card--1 { grid-column: span 2; min-height: 420px; }
}

/* Badge pop */
.about-overview__media { position: relative; }
.badge-pop {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  padding: var(--space-4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-primary-light);
  max-width: 280px;
  z-index: 2;
}
.badge-pop strong { display: block; color: var(--color-primary); margin-bottom: 4px; }
@media(max-width: 767px) {
  .badge-pop {
    position: relative;
    right: 0; bottom: 0;
    margin-top: var(--space-4);
    max-width: 100%;
  }
}

/* Team Showcase (Lãnh đạo) */
.team-showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  margin-inline: auto;
  user-select: none;
}
@media (min-width: 768px) {
  .team-showcase {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(2rem, 4vw, 5rem);
  }
}

/* Left: Photos */
.team-showcase__photos {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}
@media (min-width: 768px) {
  .team-showcase__photos {
    gap: 1.5rem;
    overflow-x: visible;
  }
}

.team-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.team-col--2 { margin-top: 3rem; }
.team-col--3 { margin-top: 1.5rem; }

@media (min-width: 768px) {
  .team-col--2 { margin-top: 4.25rem; }
  .team-col--3 { margin-top: 2rem; }
}

.team-photo {
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  background: var(--color-surface);
}

/* Kích thước ngẫu nhiên có chủ ý (staggered) - To hơn */
.team-col--1 .team-photo { width: 150px; height: 160px; }
.team-col--2 .team-photo { width: 162px; height: 172px; }
.team-col--3 .team-photo { width: 155px; height: 165px; }

@media (min-width: 640px) {
  .team-col--1 .team-photo { width: 180px; height: 190px; }
  .team-col--2 .team-photo { width: 195px; height: 205px; }
  .team-col--3 .team-photo { width: 186px; height: 196px; }
}
@media (min-width: 768px) {
  .team-col--1 .team-photo { width: 220px; height: 230px; }
  .team-col--2 .team-photo { width: 240px; height: 250px; }
  .team-col--3 .team-photo { width: 230px; height: 240px; }
}
@media (min-width: 1024px) {
  .team-col--1 .team-photo { width: 240px; height: 260px; }
  .team-col--2 .team-photo { width: 260px; height: 280px; }
  .team-col--3 .team-photo { width: 250px; height: 270px; }
}
@media (min-width: 1280px) {
  .team-col--1 .team-photo { width: 270px; height: 290px; }
  .team-col--2 .team-photo { width: 290px; height: 310px; }
  .team-col--3 .team-photo { width: 280px; height: 300px; }
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease;
  filter: grayscale(1) brightness(0.77); /* Default state from prompt */
}

/* Hover States for Photos */
.team-showcase[data-hover="true"] .team-photo {
  opacity: 0.6;
}
.team-showcase .team-photo.is-active {
  opacity: 1;
}
.team-showcase .team-photo.is-active img {
  filter: grayscale(0) brightness(1);
}

/* Right: Names */
.team-showcase__names {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  width: 100%;
}
@media (min-width: 768px) {
  .team-showcase__names { gap: 1.25rem; padding-top: 0.5rem; }
}

.team-row {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* Hover States for Names */
.team-showcase[data-hover="true"] .team-row {
  opacity: 0.5;
}
.team-showcase .team-row.is-active {
  opacity: 1;
}

.team-row__header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-row__dot {
  width: 16px;
  height: 12px;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.25); /* dark / 25% */
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.team-row.is-active .team-row__dot {
  background: var(--color-primary); 
  width: 20px;
}

.team-row__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: rgba(15, 23, 42, 0.8);
  transition: color 0.3s ease;
}
@media (min-width: 768px) {
  .team-row__name { font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .team-row__name { font-size: 1.25rem; }
}
@media (min-width: 1280px) {
  .team-row__name { font-size: 1.35rem; }
}

.team-row.is-active .team-row__name {
  color: var(--color-primary-dark);
}

.team-row__role {
  margin-top: 4px;
  padding-left: 26px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}
@media (min-width: 1024px) {
  .team-row__role { font-size: 0.6875rem; padding-left: 30px; margin-top: 6px; }
}
@media (min-width: 1280px) {
  .team-row__role { font-size: 0.75rem; padding-left: 30px; margin-top: 8px; }
}
