.news-notice-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  padding-inline: 20px;
}

.section-title {
  font-family: inherit;
  margin-bottom: 0 !important;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

/* ================= NEWS ================= */

.news-section {
  background: linear-gradient(to top, rgba(183, 131, 95, 0.88), rgba(183, 131, 95, 0.7), rgba(183, 131, 95, 0.6));

  /* background: rgba(230, 230, 250, 0.5); */
  padding: 2rem;
  border-radius: 10px;
}

.news-scroll {
  /* height: 420px; */
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding-right: 5px;
}

.news-card {
  /* background: #111; */
  border-radius: 10px;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.news-card p {
  color: #000;
  padding: 10px;
  font-size: 14px;
}

/* ================= NOTICE ================= */

.notice-section {
  background: linear-gradient(to top, rgba(183, 131, 95, 0.9), rgba(183, 131, 95, 0.7), rgba(183, 131, 95, 0.6));

  /* background: rgba(230, 230, 250, 0.5); */
  padding: 2rem;
  border-radius: 10px;
}

.notice-marquee {
  height: 420px;
  overflow-y: auto; /* MANUAL SCROLL */
  position: relative;
  padding: 10px;
}

/* Marquee content */
.notice-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: marqueeUp 8s linear infinite;
}

/* Pause marquee on hover */
.notice-marquee:hover .notice-content {
  animation-play-state: paused;
}

.notice-content .notice-item {
  font-size: 14px;
  padding: 8px;
  border-bottom: 1px dashed #333;
}

/* Bottom → Top marquee */
@keyframes marqueeUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* ================= SCROLLBAR (optional) ================= */

.news-scroll::-webkit-scrollbar,
.notice-marquee::-webkit-scrollbar {
  width: 6px;
}

.news-scroll::-webkit-scrollbar-thumb,
.notice-marquee::-webkit-scrollbar-thumb {
  /* background: #444; */
  border-radius: 10px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .news-notice-wrapper {
    grid-template-columns: 1fr;
  }
  .news-scroll {
    height: 100%;
    grid-template-columns: 1fr;
  }
  .news-card img {
    /* height: 100%; */
  }
}
