.page-notice .notice-section {
  padding: 3rem 0 4rem;
}

.page-notice .notice-server-warning,
.page-notice #noticeServerWarning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.page-notice .notice-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.page-notice .notice-card__link {
  width: 100%;
  border: 1px solid rgba(40, 120, 235, 0.12);
  border-radius: 16px;
  background: #fff;
  padding: 0;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 15, 45, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-notice .notice-card__link:hover {
  transform: translateY(-4px);
  border-color: var(--page-accent);
  box-shadow: 0 16px 40px rgba(40, 120, 235, 0.15);
}

.page-notice .notice-card__preview {
  display: block;
  width: 100%;
  background: #f4f7fb;
}

.page-notice .notice-card__preview--image {
  height: 220px;
  object-fit: cover;
  object-position: top center;
}

.page-notice .notice-card__preview--pdf {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #eef3fb;
}

.page-notice .notice-card__preview--pdf iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  transform: scale(1);
}

.page-notice .notice-card__preview-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 15, 45, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.page-notice .notice-card__preview--file {
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--page-accent);
  font-weight: 700;
}

.page-notice .notice-card__preview--file i {
  font-size: 2.5rem;
}

.page-notice .notice-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.page-notice .notice-card__type {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--page-accent-soft);
  color: var(--page-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-notice .notice-card__title {
  display: block;
  font-weight: 700;
  color: #120f2d;
  line-height: 1.4;
  word-break: break-word;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.page-notice .notice-card__desc {
  display: block;
  color: #4d4b5a;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.page-notice .notice-card__date {
  display: block;
  font-size: 0.85rem;
  color: #6b6a75;
  margin-bottom: 0.75rem;
}

.page-notice .notice-card__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--page-accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.page-notice .notice-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(18, 15, 45, 0.06);
}

.page-notice .notice-empty i {
  font-size: 2rem;
  color: var(--page-accent);
  margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
  .page-notice .notice-grid {
    grid-template-columns: 1fr;
  }
}
