/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
} */

.container-body {
  color: white;
  padding: 2rem;
}

.main-container {
  margin: auto;
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.cards-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 15px;
  padding-bottom: 50px;
}

.card-container {
  background: white;
  color: #333;
  border-radius: 10px;
  overflow: hidden;
  width: 28%;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  position: relative;
  display: flex;
  flex-direction: column;

}

.card-container img {
  width: 100%;
  height: 249px;
  border-radius: 10px 10px 0px 0px;
}

.tag {
  padding: 0.3rem 0.6rem;
  margin: 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  display: inline-block;
  font-weight: bold;
  width: fit-content;
}

 .community {
  background-color: #243b75;
  color: white;
} 

/* .tag {
  color: white;
} */

.event {
  background: #ffa726;
  color: white;
}

.cultural {
  background: #c2185b;
  color: white;
}

.card-container h3 {
  font-size: 1.1rem;
  margin: 10px;
  flex-grow: 1;
  text-align: left;
}

.date {
  color: #666;
  text-align: left;
  height: 27px;
}

.read-more {
  background: none;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 3px 10px;
  margin: 0.7rem;
  align-self: flex-start;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  color: #394F87;
  transition: all 0.3s ease;
  gap: 10px;
}

.read-more:hover {
  background-color: #ffa726;
  color: white;
}

.explore {
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  background: none;
  border: 2px solid white;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.explore:hover {
  background-color: white;
  color: #1e1f26;
}

.date-readmore {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px 10px 0px 10px;
  padding-bottom: 10px;
}

.date-readmore .date {
  margin: 0;
}

.date-readmore .read-more {
  margin: 0;
}