/* ============================================================
   ABOUT PAGE — about.css
   ============================================================ */

.about-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 6% 80px;
}

/* ============================================================
   THE BOARD SECTION
   Structure: .board-section
                .board-heading
                .board-grid
                  .board-card
                    .board-card__image > img
                    .board-card__name
                    .board-card__role
   ============================================================ */

.board-section {
  width: 100%;
}

.board-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: #222;
  margin-bottom: 40px;
}

/* 4-column grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
}

/* Individual card */
.board-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Portrait image */
.board-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: #f0f0f0;
}

.board-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Name */
.board-card__name {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* Role / title */
.board-card__role {
  font-size: clamp(0.82rem, 1.2vw, 0.92rem);
  color: #666;
  margin: 0;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */

.btn-back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #5c1a5a;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.btn-back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-back-top:hover {
  background-color: #7a2278;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet landscape — 3 columns */
@media (max-width: 1024px) {
  .board-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 24px;
  }
}

/* Tablet portrait — 2 columns */
@media (max-width: 700px) {
  .about-main {
    padding: 40px 5% 60px;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }

  .board-heading {
    margin-bottom: 28px;
  }
}

/* Mobile — 2 columns, tighter */
@media (max-width: 480px) {
  .about-main {
    padding: 30px 4% 50px;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }

  .btn-back-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* Very small — 1 column */
@media (max-width: 320px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
}