.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 events per row */
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 15px;
}

.event-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b71a34;
    margin-bottom: 5px;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.event-info {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.event-link {
    
    font-weight: 600;
    text-decoration: none;
}

.event-link:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 per row */
    }
}

@media (max-width: 900px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
    }
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr; /* 1 per row */
    }
}
/* ===== General Styles ===== */
.section-title h2 {
  color: #b71a34;
  font-weight: 600;
  margin-top: 49px;
}
.button-primary {
  background-color: #424242;
  color: #fff;
  padding: 10px 22px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 17px;
}
.button-primary:hover {
  background-color: #000000;
  color: #ffffff;
}
.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* ===== Info Section ===== */
.info-container {
  display: flex;
 
  gap: 20px;
 
}
.info-card {

  background: #f7f7f7;
  border-radius: 4px;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
  padding: 25px;
 
  transition: transform 0.3s ease;
}
/* .info-card:hover {
  transform: scale(1.03);
} */
.info-card h2 {
  color: #333333;
  font-weight: 600;
  font-size: 1.2rem;
}
.image-link img {
  width: 100px;
  border-radius: 12px;
}
.learn-more-btn {
  background-color: #b71a34;
  color: #ffc107;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}
.learn-more-btn:hover {
  box-shadow: 0 6px 14px rgba(142, 18, 40, 0.7);
}


/* ===== Featured Posts ===== */
.post-card {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.post-card:hover {
  transform: translateY(-5px);
}
.postblock .card.post-card {
    box-shadow: none;
    border: 0px;
    border-radius: 0px;
    padding: 0;
}
.category-label a {
    background-color: #b71a34;
    color: #fff;
    padding: 5px 10px;
    border-radius: 0px;
    font-size: 12px;
    text-decoration: none;
    position: absolute;
    top: 0px;
}
.category-label a:hover {
  color: #ffc107;
}

/* ===== Get Involved Section ===== */
.get-involved-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.get-involved-text {
  flex: 1 1 300px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 8px;
}
.get-involved-btn {
  flex: 1 1 200px;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.get-involved-btn a {
  background: #b71a34;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.get-involved-btn a:hover {
  background: #91172a;
  color: #ffc107;
}

/* Alerts */
.alert {
  padding: 10px;
  border-radius: 5px;
  margin: 15px 0;
}
.alert.success {
  background-color: #d4edda;
  color: #155724;
}
.alert.error {
  background-color: #f8d7da;
  color: #721c24;
}
.alert ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
  }
  .team-grid {
    flex-direction: column;
  }
  .get-involved-container {
    flex-direction: column;
  }
}
.team-section {
  padding: 70px 15px;
}
