/* =========================================================
   공지사항 전용 스타일
   file: /assets/notice-page.css
========================================================= */

.notice-page {
  margin-top: 34px !important;
  margin-bottom: 72px !important;
}

.notice-banner {
  width: 100%;
  aspect-ratio: 16 / 5;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 22px;
  background: #eef1f5;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .07);
}

.notice-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.notice-head-card,
.notice-list-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.notice-head-card {
  padding: 32px 36px;
  margin-bottom: 24px;
}

.notice-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8eef2;
  color: #6d2141;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
}

.notice-head-layout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 16px;
}

.notice-head-layout h1 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.notice-head-layout p {
  margin: 0;
  color: #657083;
  font-size: 15px;
  line-height: 1.7;
}

.notice-count {
  min-width: 120px;
  padding: 16px 20px;
  text-align: center;
  border-radius: 14px;
  background: #fff9fb;
  border: 1px solid #f0e2e8;
}

.notice-count strong {
  display: block;
  margin-bottom: 3px;
  color: #772545;
  font-size: 27px;
  font-weight: 900;
}

.notice-count span {
  color: #816b74;
  font-size: 12px;
  font-weight: 700;
}

.notice-list-card {
  padding: 32px 34px 34px;
}

.notice-section-head {
  margin-bottom: 18px;
}

.notice-section-head h2 {
  margin: 10px 0 0;
  color: #172033;
  font-size: 24px;
  font-weight: 820;
  letter-spacing: -.03em;
}

.notice-modern-list {
  display: grid;
  gap: 10px;
}

.notice-modern-item {
  overflow: hidden;
  border: 1px solid #e7eaf0;
  border-radius: 14px;
  background: #fff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.notice-modern-item:hover {
  transform: translateY(-2px);
  border-color: #dfc8d2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.notice-modern-link {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 14px 18px;
  color: inherit;
  text-decoration: none;
}

.notice-modern-link:hover {
  text-decoration: none;
}

.notice-modern-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f7f1f4;
  color: #772545;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}

.notice-modern-body h3 {
  margin: 0 0 6px;
  color: #253044;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 780;
  word-break: keep-all;
}

.notice-modern-body p {
  margin: 0;
  color: #8a94a4;
  font-size: 12px;
}

.notice-modern-arrow {
  padding: 0 5px;
  color: #a4acb8;
  font-size: 20px;
  transition: transform .18s ease, color .18s ease;
}

.notice-modern-item:hover .notice-modern-arrow {
  color: #772545;
  transform: translateX(3px);
}

.notice-empty {
  padding: 48px 20px;
  text-align: center;
  border: 1px dashed #dce2ea;
  border-radius: 14px;
  background: #fafbfd;
}

.notice-empty strong {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 16px;
}

.notice-empty p {
  margin: 0;
  color: #8a94a4;
  font-size: 13px;
}

@media (max-width: 768px) {
  .notice-page {
    margin-top: 20px !important;
    margin-bottom: 48px !important;
  }

  .notice-banner {
    margin-bottom: 20px;
    border-radius: 14px;
  }

  .notice-head-card,
  .notice-list-card {
    border-radius: 16px;
  }

  .notice-head-card,
  .notice-list-card {
    padding: 24px 20px;
  }

  .notice-head-layout {
    display: block;
  }

  .notice-head-layout h1 {
    font-size: 29px;
  }

  .notice-count {
    margin-top: 18px;
    max-width: 130px;
  }

  .notice-modern-link {
    grid-template-columns: 44px 1fr auto;
    gap: 11px;
    padding: 12px 13px;
  }

  .notice-modern-number {
    width: 38px;
    height: 38px;
  }

  .notice-modern-body h3 {
    font-size: 14px;
  }

  .notice-modern-arrow {
    font-size: 17px;
  }
}
