.club-title {
  text-align: center;
  margin-bottom: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.club-title span {
  flex: 1;
  height: 4px;
  background: #f5a623;
}

.club-title h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
}

.club-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.club-role {
  width: 25%;
  text-align: center;
}

.club-role h3 {
  font-size: 25px;
}

.club-info {
  width: 45%;
}

.club-info p {
  margin: 10px 0;
  font-size: 16px;
}

.club-image {
  width: 20%;
  text-align: center;
}

.club-image img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border: 1px solid #ddd;
}

.member-table {
  margin: 40px 0;
}

.member-table table {
  width: 100%;
  border-collapse: collapse;
}

.member-table th {
  text-align: left;
  padding: 15px;
  font-size: 18px;
  border-bottom: 2px solid #ddd;
}

.member-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.section-title {
  margin: 40px 0 20px;
  font-size: 28px;
}

.content-box {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 35px;
}

.content-box p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.content-box li {
  margin-bottom: 10px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .debate-club-section {
    padding: 20px 15px;
  }

  .club-title h2 {
    font-size: 20px;
  }

  .club-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .club-role,
  .club-info,
  .club-image {
    width: 100%;
  }

  .club-role h3 {
    font-size: 20px;
  }

  .club-info p {
    font-size: 12px;
  }

  .club-image img {
    width: 150px;
    height: auto;
  }

  .member-table table,
  .member-table thead,
  .member-table tbody,
  .member-table th,
  .member-table td,
  .member-table tr {
    display: block;
    width: 100%;
  }

  .member-table thead {
    display: none;
  }

  .member-table tr {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 15px;
  }

  .member-table td {
    border: none;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .member-table td::before {
    content: attr(data-label);
    font-weight: 700;
  }

  .section-title {
    font-size: 20px;
  }

  .content-box {
    padding: 15px;
  }

  .content-box p,
  .content-box li {
    font-size: 14px;
  }
}

/* ===== CLUB BANNER & OVERVIEW (FACILITIES STYLE) ===== */
.club-banner-wrap {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.club-banner-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.club-overview-card {
  background: #ffffff;
  border: 1px solid #dde1e8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.club-overview-title {
  font-size: 24px;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e7ff;
}

.club-desc-content {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 24px;
  overflow: hidden;
}

.club-desc-content p {
  margin-bottom: 12px;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.club-desc-content img {
  display: none !important;
  float: none !important;
}

.club-desc-content * {
  max-width: 100%;
}

.club-desc-content [style*="float"] {
  float: none !important;
}

/* ===== 4 ACTION BUTTONS (MATCHING REFERENCE DESIGN) ===== */
.club-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  margin-top: 10px;
}

.club-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.club-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
  color: #ffffff !important;
}

/* Vibrant Button Colors matching reference screenshot */
.club-action-btn.btn-activities {
  background: linear-gradient(135deg, #1e60d0 0%, #154fb0 100%);
}

.club-action-btn.btn-members {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.club-action-btn.btn-photo {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.club-action-btn.btn-video {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.club-members-wrapper,
.club-activities-wrapper {
  scroll-margin-top: 80px;
}

@media (max-width: 768px) {
  .club-action-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .club-action-btn {
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
  }

  .club-banner-image {
    max-height: 240px;
  }

  .club-overview-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .club-action-bar {
    grid-template-columns: 1fr;
  }
}
