/* ======================================================
   ABOUT SECTION
====================================================== */

/* Background + overlay */
#about {
  position: relative;
  overflow: hidden;
  color: #333;
}

#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/archive/main_background.png") center / cover no-repeat;
  transform: scale(1);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  z-index: 0;
}

#about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

#about.expanded::before {
  transform: scale(1.03);
}

/* Content above overlay */
#about .container {
  position: relative;
  z-index: 2;
}


/* ======================================================
   TEAM SECTION (Inside About Card)
====================================================== */

/* Wrapper spacing */
.team-inline {
  margin: 60px 0;
}

/* Grid layout - always 2 columns */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* Team card - pressed (inner shadow) style */
.team-card {
  background: #eeeeee; /* slightly darker base */

  border-radius: 18px;
  overflow: hidden;

  /* Stronger pressed effect */
  box-shadow:
    inset 10px 10px 20px rgba(0, 0, 0, 0.25),
    inset -6px -6px 14px rgba(255, 255, 255, 0.6);

  transition: transform 0.3s ease;
}

/* Subtle lift on hover */
.team-card:hover {
  transform: translateY(-4px);
}

/* Member photo */
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  display: block;
}

/* Name container */
.team-info {
  padding: 5px;
  text-align: center;
}

/* First name */
.team-info h3 {
  margin-bottom: 3px;
  font-size: var(--fs-lg);
  font-weight: 600;
}

/* Surname */
.team-info p {
  font-size: var(--fs-base);
  color: #333;
}
