/* 공지/이벤트 목록: notice-list-states-mock.html 시안 기반. 상단 5개에는 적용하지 않는다. */
.gca-list, .gca-list *, .gca-list-section, .gca-list-section * { box-sizing: border-box; }
.gne-notice-atlas .gca-list-section .gca-wrap { width: min(calc(100% - 64px), 1120px); margin-inline: auto; }
.gca-list-section .gca-label { display: block; color: #b84a3e; font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.gca-list .gca-list__empty { margin: 0; padding: 32px 0; color: #687585; font-size: 14px; }
.gca-list .gca-list__meta time { color: inherit; font: inherit; }
.gne-notice-atlas .gca-list-section.gca-section { padding: 84px 0; }
.gne-notice-atlas .gca-section--ended { background: #f7f8fa; }
.gca-list-section .gca-section__head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: end; margin-bottom: 36px; }
.gca-list-section .gca-section__head h2 { color: #172033; margin: 9px 0 0; font-size: 34px; line-height: 1.25; letter-spacing: 0; }
.gca-list-section .gca-section__head p { margin: 0; color: #687585; font-size: 14px; line-height: 1.55; text-align: right; }

/* Shared shortcode contract: thumbnail / meta / content / action */
.gca-list { border-top: 2px solid #172033; }
.gca-list .gca-list__item { margin: 0; padding: 0; border-radius: 0; box-shadow: none; color: #172033; text-decoration: none; display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 20px; align-items: center; min-height: 136px; border-bottom: 1px solid #dfe4ec; }
.gca-list a.gca-list__item { transition: background .16s ease; }
.gca-list a.gca-list__item:hover { background: #f8fbfd; }
.gca-list a.gca-list__item:focus-visible { outline: 2px solid #0b166f; outline-offset: -2px; }
.gca-list .gca-list__thumb { width: 116px; aspect-ratio: 1; overflow: hidden; background: #e7edf2; }
.gca-list .gca-list__thumb img { margin: 0; border-radius: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.gca-list .gca-list__content { min-width: 0; padding: 18px 0; }
.gca-list .gca-list__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; color: #687585; font-size: 12px; line-height: 1.3; }
.gca-list .gca-list__type { padding: 0; background: transparent; color: #0b166f; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.gca-list .gca-list__divider { width: 1px; height: 10px; background: #cbd4dd; }
.gca-list .gca-list__title { color: #172033; display: block; overflow: hidden; margin-top: 10px; font-size: 18px; font-weight: 750; line-height: 1.35; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.gca-list .gca-list__summary { display: block; overflow: hidden; margin: 6px 0 0; color: #687585; font-size: 13px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.gca-list .gca-list__action { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 4px; color: transparent; font-size: 0; line-height: 1; }
.gca-list .gca-list__action:after { color: #0b166f; font-size: 18px; line-height: 1; content: "→"; }

/* Notice: date is the only secondary datum. */
.gca-list.gca-list--notice .gca-list__summary { display: none; }

/* Active event: duration and benefit remain visible without changing row structure. */
.gca-list.gca-list--event .gca-list__period { color: #0b166f; font-weight: 750; }
.gca-list .gca-list__badges { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.gca-list .gca-list__badge { border-radius: 0; background: transparent; padding: 2px 6px; border: 1px solid #d4dce5; color: #b84a3e; font-size: 10px; font-weight: 750; line-height: 1.2; }

/* Ended event: a read-only archive state, without an action affordance. */
.gca-list.gca-list--ended .gca-list__item { grid-template-columns: 116px minmax(0, 1fr); opacity: .64; }
.gca-list.gca-list--ended .gca-list__thumb img { filter: grayscale(1); }
.gca-list.gca-list--ended .gca-list__type { padding: 0; background: transparent; color: #687585; }
.gca-list.gca-list--ended .gca-list__status { padding: 3px 6px; background: #e7ebef; color: #5c6671; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.gca-list.gca-list--ended .gca-list__title { color: #5c6671; }

@media (max-width: 900px) {
  .gca-list-section .gca-section__head { gap: 32px; }
}

@media (max-width: 700px) {
  .gne-notice-atlas .gca-list-section .gca-wrap { width: calc(100% - 32px); }
  .gne-notice-atlas .gca-list-section.gca-section { padding: 60px 0; }
  .gca-list-section .gca-section__head { display: block; margin-bottom: 26px; }
  .gca-list-section .gca-section__head h2 { font-size: 27px; }
  .gca-list-section .gca-section__head p { margin-top: 10px; font-size: 13px; text-align: left; }
  .gca-list .gca-list__item, .gca-list.gca-list--ended .gca-list__item { grid-template-columns: 58px minmax(0, 1fr) 24px; gap: 12px; min-height: 88px; }
  .gca-list .gca-list__thumb { width: 58px; }
  .gca-list .gca-list__content { padding: 12px 0; }
  .gca-list .gca-list__meta { gap: 5px 8px; font-size: 10px; }
  .gca-list .gca-list__type { font-size: 9px; }
  .gca-list .gca-list__title { margin-top: 6px; font-size: 14px; }
  .gca-list .gca-list__summary { display: none; }
  .gca-list .gca-list__action { width: 24px; height: 24px; margin: 0; }
  .gca-list.gca-list--ended .gca-list__item { grid-template-columns: 58px minmax(0, 1fr); }
  .gca-list.gca-list--ended .gca-list__status { padding: 2px 5px; font-size: 9px; }
}
