#notifications-section h3 {
  font-size: 30px;
  margin: 10px 10px 10px;
  text-align: center;
  padding: 5px 5px 5px;
  color: var(--text-color);
}

.main-container {
  display: flex;
  padding: 10px;
  gap: 20px;
  margin-top: 10px;
  height: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.main-container .Notices,
.main-container .RegualarNotification,
.main-container .MainNotification {
  background: rgba(255, 255, 255, 0.289);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(23, 23, 23, 0.3);
  border-radius: 8px;
  width: 300px;
  height: 320px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  flex: 1 1 300px;
}

@media (max-width: 992px) {
  .main-container {
    justify-content: center;
  }

  .main-container .Notices,
  .main-container .RegualarNotification,
  .main-container .MainNotification {
    width: 45%;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    align-items: center;
  }

  .main-container .Notices,
  .main-container .RegualarNotification,
  .main-container .MainNotification {
    width: 90%;
  }
}

.title {
  font-size: 20px;
  margin-top: -10px;
  text-align: center;
}

/* Container */
.notimain {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  max-height: 250px;
  overflow-x: hidden;
}

/* Card Layout */
.notification-card {
  background: rgba(189, 189, 189, 0.229);
  margin: 5px;
  padding: 8px 12px;
  border-radius: 6px;
  height: fit-content;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* LEFT - Title */
.mainTitle {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
  text-overflow: ellipsis;
}
 
.titleMessage {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px; /* adjust width */
}
/* RIGHT SIDE ITEMS */
.time {
  font-size: 12px;
  color: gray;
  white-space: nowrap;
}

/* Links + PDF */
.links a,
.timestamp a {
  font-size: 13px;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  transition: 0.2s ease;
}

.timestamp a {
  background-color: #0859c9a3;
}

.links a:hover,
.timestamp a:hover {
  opacity: 0.8;
}
