/* Notice list page */
.notice-tabs .sub-tabs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notice-board { padding: 120px 20px 125px; }
.notice-board__inner { width: min(1200px, 100%); margin: 0 auto; }
.notice-board__list { border-top: 2px solid #747983; }
.notice-board__list li { border-bottom: 1px solid #202a38; }
.notice-board__list a {
  display: flex;
  min-height: 89px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 4px;
}
.notice-board__list a:hover .notice-board__subject > span:last-child { color: var(--gold); }
.notice-board__subject { display: flex; min-width: 0; align-items: center; gap: 12px; font-size: 20px; line-height: 1.45; }
.notice-board__subject > span:last-child { overflow-wrap: anywhere; }
.notice-board__badge {
  flex: 0 0 auto;
  min-width: 52px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #921b1b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.notice-board__list time { flex: 0 0 auto; color: #9aa9be; font-size: 17px; }
.notice-board__empty { padding: 80px 0; border-top: 2px solid #747983; border-bottom: 1px solid #202a38; color: #9aa9be; font-size: 18px; text-align: center; }
.notice-detail__content img { max-width: 100%; height: auto; }

/* Event listing */
.event-board { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0 125px; }
.event-board__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 58px 60px; }
.event-card { min-width: 0; }
.event-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.event-card__thumbnail {position:relative; overflow: hidden; aspect-ratio: 1; border-radius: 10px; background: #111a29; }
.event-card__thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.event-card__thumbnail .event-detail__status {position:absolute; top:10px; left:10px; z-index:2; display:block; min-width:78px; padding: 8px 18px; background: #ce0bcf;   border: none;  color: #fff;  font-weight: 700;  font-size: clamp(14px, 2.5vw, 16px);  text-align:center;}
.event-card__thumbnail .event-detail__status.done {background:#ddd; background: rgba(255, 255, 255, 0.5); color: #3d3c3f;}
.event-card__link:hover .event-card__thumbnail img { transform: scale(1.035); }
.event-card__body { padding: 17px 5px 0; }
.event-card__body h2 { display: -webkit-box; overflow: hidden; margin: 0 0 11px; color: #f4f6fb; font-size: 18px; font-weight: 500; line-height: 1.55; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.event-card__body time { color: #91adff; font-size: 16px; }
.event-card__link:hover h2 { color: var(--gold); }
.event-detail__status { display: inline-flex; padding: 5px 11px; background: #ce0bcf;   border: none;  border-radius:100px; color: #fff;  font-weight: 700;  font-size: 13px;  text-align:center;}
.event-detail__status.done {background:none; border:1px solid rgba(255, 255, 255, 0.5); color: #a5a5a5;}
.event-detail__poster img { width: min(100%, 560px); height: auto; margin: 0 auto; aspect-ratio: 1; }
@media (max-width: 1024px) {
  .event-board { padding-top: 90px; padding-bottom: 100px; }
  .event-board__grid { gap: 42px 30px; }
}
@media (max-width: 760px) {
  .event-board { padding: 58px 0 76px; }
  .event-board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
  .event-card__thumbnail { border-radius: 7px; }
  .event-card__body { padding: 12px 2px 0; }
  .event-card__body h2 { margin-bottom: 8px; font-size: 16px; line-height: 1.55; -webkit-line-clamp: 3; }
  .event-card__body time { font-size: 14px; }
}
@media (max-width: 380px) {
  .event-board { width: calc(100% - 32px); }
  .event-board__grid { gap: 28px 12px; }
  .event-card__body h2 { font-size: 14px; }
  .event-card__body time { font-size: 12px; }
}

/* Notice detail */
.notice-detail { width: min(1000px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0 120px; color: #e9edf5; }
.notice-detail__header { padding: 0 0 28px; border-bottom: 1px solid #ffffff38; }
.notice-detail__header h2 { margin: 16px 0 20px; font-size: clamp(25px, 3vw, 36px); line-height: 1.4; letter-spacing: -.035em; overflow-wrap: anywhere; }
.notice-detail__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #aab6c8; font-size: 16px; }
.notice-detail__meta strong { margin-left: 5px; color: #e9edf5; font-weight: 500; }
.notice-detail__content { padding: 42px 0; color: #d2d9e4; line-height: 1.9; overflow-wrap: anywhere; }
.notice-detail__content p { margin: 0 0 22px; }
.notice-detail__content strong { color: #fff; }
.notice-detail__content a { color: #e5c77a; text-decoration: underline; text-underline-offset: 3px; }
.notice-detail__content h3 { margin: 38px 0 14px; color: #fff; font-size: 22px; }
.notice-detail__image { margin: 34px 0; }
.notice-detail__image img { display: block; width: 100%; border-radius: 12px; object-fit: cover; }
.notice-detail__image figcaption { margin-top: 9px; color: #9aa9be; font-size: 13px; text-align: center; }
.notice-detail__schedule { margin: 22px 0 30px; padding: 0; list-style: none; border-top: 1px solid #ffffff30; }
.notice-detail__schedule li { display: grid; grid-template-columns: minmax(130px, .35fr) 1fr; gap: 18px; padding: 17px 12px; border-bottom: 1px solid #ffffff24; }
.notice-detail__schedule span { color: #9aa9be; }
.notice-detail__schedule strong { font-weight: 500; }
.notice-detail__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid #ffffff38; border-bottom: 1px solid #ffffff38; }
.notice-detail__actions > div { display: flex; gap: 8px; }
.notice-detail__actions a:not(.board-list-button) { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid #ffffff38; border-radius: 4px; color: #e9edf5; text-decoration: none; transition: border-color .2s, color .2s; font-size:16px; }
.notice-detail__actions a:not(.board-list-button):hover { border-color: var(--gold); color: var(--gold); }
.notice-comments { padding-top: 54px; }
.notice-comments h2 { margin: 0 0 20px; color: #fff; font-size: 22px; }
.notice-comments h2 span { margin-left: 5px; color: var(--gold); font-size: 16px; }
.notice-comments__form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.notice-comments__form textarea { width: 100%; min-height: 94px; padding: 14px; border: 1px solid #ffffff38; border-radius: 5px; background: #111927; color: #fff; font: inherit; resize: vertical; }
.notice-comments__form button { min-width: 112px; border: 0; border-radius: 5px; background: var(--gold); color: #101522; font: inherit; font-weight: 700; cursor: pointer; }
.notice-comments__list { margin: 26px 0 0; padding: 0; list-style: none; }
.notice-comments__list li { padding: 20px 4px; border-top: 1px solid #ffffff24; }
.notice-comments__list li > div { display: flex; align-items: center; gap: 12px; }
.notice-comments__list strong { color: #fff; font-size: 14px; }
.notice-comments__list time { color: #9aa9be; font-size: 13px; }
.notice-comments__list p { margin: 10px 0 0; color: #c4cedc; line-height: 1.7; }
@media (max-width: 760px) {
  .notice-detail { width: calc(100% - 40px); padding: 54px 0 78px; }
  .notice-detail__header { padding-bottom: 22px; }
  .notice-detail__meta { gap: 8px 14px; font-size: 12px; }
  .notice-detail__content { padding: 30px 0; font-size: 15px; }
  .notice-detail__image { margin: 26px 0; }
  .notice-detail__image img { min-height: 190px; max-height: 380px; }
  .notice-detail__schedule li { grid-template-columns: 1fr; gap: 5px; padding: 14px 8px; }
  .notice-detail__actions { padding: 18px 0; }
  .notice-detail__actions a:not(.board-list-button) { min-height: 42px; padding: 0 12px; font-size: 13px; }
  .notice-comments { padding-top: 38px; }
  .notice-comments__form { grid-template-columns: 1fr; }
  .notice-comments__form button { min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .notice-detail__actions a:not(.board-list-button), .event-card__thumbnail img { transition: none; }
  .event-card__link:hover .event-card__thumbnail img { transform: none; }
}
@media (max-width: 1024px) {
  .notice-board { padding-top: 90px; padding-bottom: 100px; }
  .notice-board__subject { font-size: 18px; }
  .pagination { gap: 12px; margin-top: 54px; }
}
@media (max-width: 600px) {
  .notice-board { padding: 56px 20px 76px; }
  .notice-board__list a { min-height: 76px; gap: 12px; padding: 14px 2px; }
  .notice-board__subject { align-items: flex-start; gap: 8px; font-size: 15px; }
  .notice-board__badge { min-width: 44px; padding: 3px 7px; font-size: 12px; }
  .notice-board__list time { font-size: 12px; }
}

.go-event { display: flex;   align-items: center;   justify-content: center;}
.go-event a {font-weight:500;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;}



.event-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: clamp(8px, 5.5vw, 13px) 25px;
    border-radius: 8px;

    background: linear-gradient(
        110deg,
        #7045FF 0%,
        #963CFF 50%,
        #DA45D9 100%
    );

    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.2);

    box-shadow:
        0 4px 15px rgba(126, 65, 255, 0.3),
        0 0 25px rgba(190, 65, 255, 0.12);

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover 효과 */
.event-shortcut:hover {
    transform: translateY(-3px);

    background: linear-gradient(
        110deg,
        #895EFF 0%,
        #B34DFF 50%,
        #F05AE9 100%
    );

    box-shadow:
        0 8px 25px rgba(126, 65, 255, 0.45),
        0 0 35px rgba(218, 69, 217, 0.25);

    color: #fff;
}

/* 클릭 효과 */
.event-shortcut:active {
    transform: translateY(-1px);
}

/* 키보드 접근성 */
.event-shortcut:focus-visible {
    outline: 2px solid #E9B7FF;
    outline-offset: 4px;
}
