/* ==========================
   CLUB PAGE BASE
========================== */
.club {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
}

.club__title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 20px;
}

.club__image-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.club__image {
  max-width: 100%;
  border-radius: 12px;
}

.club__content {
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ==========================
   DETAILS
========================== */
.club__details {
  background: #e3e1de;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 50px;
}

.club__detail {
  margin-bottom: 10px;
}

.club__link {
  color: #2a5298;
  text-decoration: none;
}

.club__link:hover {
  text-decoration: underline;
}

/* ==========================
   TEAM SECTION
========================== */
.club__team {
  margin-bottom: 60px;
}

.club__section-title {
  font-size: 28px;
  margin-bottom: 25px;
  text-align: center;
}

.club__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* TEAM CARD */
.team-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.team-card__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.team-card__mask {
  width: 40%;
  height: 5rem;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0 30px 0 0;
  background-color: #ecf0f1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.team-card__mask::before,
.team-card__mask::after {
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  position: absolute;
}

.team-card__mask::before {
  bottom: 100%;
  left: 0;
  box-shadow: -20px 20px #ecf0f1;
}

.team-card__mask::after {
  bottom: 0;
  left: 100%;
  box-shadow: -25px 25px #ecf0f1;
}

.team-card__name {
  font-weight: 600;
  margin-bottom: 5px;
}

.team-card__role {
  font-size: 0.9rem;
  color: #666;
}

/* ==========================
   EVENTS / NEWS
========================== */
.club__events,
.club__news {
  margin-bottom: 60px;
}

.club__events-grid,
.club__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.club__empty {
  text-align: center;
  color: #777;
}

/* ==========================
   RESPONSIVE
========================== */
@media (min-width: 768px) {
  .club__title {
    font-size: 48px;
  }
}

@media (min-width: 992px) {
  .club {
    padding: 80px 40px;
  }
}
