/* ===== LIFE IN AUSTRALIA - PEOPLE SECTION ===== */
.people-section {
  padding: 110px 0;
  background: var(--white);
}
.people-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.people-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  white-space: nowrap;
}
.people-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Asymmetric grid: row 1 = large(2col) + tall(1col), row 2 = 3 equal */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 240px;
  gap: 16px;
}

.people-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.people-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.people-card:hover img {
  transform: scale(1.06);
}

/* Gradient overlay for location tags */
.people-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.45) 0%, transparent 50%);
  pointer-events: none;
  transition: opacity 0.3s;
}
.people-card:hover::after {
  opacity: 0.7;
}

/* Location tag */
.people-location {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.3px;
}
.people-location svg {
  flex-shrink: 0;
}

/* Grid placement */
.people-card-1 {
  grid-column: 1 / 3;
  grid-row: 1;
}
.people-card-2 {
  grid-column: 3;
  grid-row: 1;
}
.people-card-3,
.people-card-4,
.people-card-5 {
  grid-row: 2;
}

/* 6th card: extra row */
.people-grid-6 {
  grid-template-rows: 280px 240px;
}

/* Responsive */
@media (max-width: 968px) {
  .people-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 220px;
  }
  .people-card-1 {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .people-card-2 {
    grid-column: 1;
    grid-row: 2;
  }
  .people-card-3 {
    grid-column: 2;
    grid-row: 2;
  }
  .people-card-4 {
    grid-column: 1;
    grid-row: 3;
  }
  .people-card-5 {
    grid-column: 2;
    grid-row: 3;
  }
}
@media (max-width: 600px) {
  .people-title { white-space: normal; }
  .people-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 16px;
    scrollbar-width: none;
  }
  .people-grid::-webkit-scrollbar {
    display: none;
  }
  .people-card-1,
  .people-card-2,
  .people-card-3,
  .people-card-4,
  .people-card-5 {
    flex: 0 0 80vw;
    height: 240px;
    scroll-snap-align: start;
    border-radius: 12px;
  }
  .people-section { padding: 64px 0; }
}
