/* 이벤트 상세 — GO-V 라이트 (고객센터 결, 1200px) */

.idx-page .idx-main-wrap:has(> .idx-main > .idx-ev2) {
  overflow-y: auto;
}

.idx-page .idx-main-wrap:has(> .idx-main > .idx-ev2) > .idx-main {
  flex: 0 0 auto;
  min-height: auto;
  height: auto;
  overflow: visible;
}

.idx-ev2 {
  --idx-ev2-blue: #2b7de9;
  --idx-ev2-border: #d0d7de;
  --idx-ev2-head: #f0f3f7;
  --idx-ev2-text: #1a1a1a;
  --idx-ev2-muted: #667085;
  --idx-ev2-accent: #2b7de9;
  --idx-ev2-btn: #2b7de9;
  --idx-ev2-btn-txt: #fff;
  --idx-ev2-divider: #e8ecf0;
  width: 100%;
  max-width: var(--gov-content-w, 1200px);
  margin: 0 auto;
  padding: 12px var(--gov-content-pad, 12px) 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  flex: 0 0 auto;
  min-height: min-content;
  box-sizing: border-box;
}

.idx-page.idx-page--logged-in .idx-ev2 {
  max-width: var(--gov-content-w, 1200px);
}

.idx-ev2__bar {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #3a4656;
  border: 1px solid #3a4656;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.idx-ev2__bar-icon {
  display: none;
}

.idx-ev2__bar-title {
  margin: 0;
  font: 700 16px/1.2 "Noto Sans KR", Helvetica, sans-serif;
  letter-spacing: -0.02em;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.idx-ev2__surface {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  background: #fff;
  border: 1px solid var(--idx-ev2-border);
  border-radius: 0 0 6px 6px;
  overflow: visible;
  flex: 0 0 auto;
  min-height: min-content;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(15, 40, 70, 0.06);
}

.idx-ev2__block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 5px 0 10px;
  border-bottom: 1px solid var(--idx-ev2-divider);
  width: 100%;
  flex: 0 0 auto;
  min-height: min-content;
  box-sizing: border-box;
}

.idx-ev2__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 16px;
  width: 100%;
  flex: 0 0 auto;
  min-height: min-content;
  box-sizing: border-box;
}

.idx-ev2__article-shell {
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  flex: 0 0 auto;
  min-height: min-content;
  box-sizing: border-box;
  border: 1px solid var(--idx-ev2-border);
}

.idx-ev2__article {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  border-radius: 0;
  overflow: visible;
  width: 100%;
  flex: 0 0 auto;
  min-height: min-content;
  box-sizing: border-box;
}

.idx-ev2__ribbon {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}

.idx-ev2__ribbon-in {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 12px 16px;
  background-color: var(--idx-ev2-head);
  border-bottom: 1px solid var(--idx-ev2-border);
}

.idx-ev2__badge {
  display: flex;
  width: auto;
  min-width: 40px;
  height: 22px;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 0;
  background: var(--idx-ev2-blue);
  box-sizing: border-box;
}

.idx-ev2__badge-txt {
  font: 700 11px/1.2 "Noto Sans KR", Helvetica, sans-serif;
  letter-spacing: -0.02em;
  color: #fff;
}

.idx-ev2__event-title {
  margin: 0;
  font: 700 15px/1.35 "Noto Sans KR", Helvetica, sans-serif;
  letter-spacing: -0.02em;
  color: var(--idx-ev2-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.idx-ev2__body {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 4px 0;
  width: 100%;
  background-color: #fff;
  border-radius: 0;
  overflow: visible;
  flex: 0 0 auto;
  min-height: min-content;
  box-sizing: border-box;
}

.idx-ev2__body-in {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 15px;
  padding: 10px 0;
  flex: 0 0 auto;
  width: 100%;
  min-height: min-content;
  box-sizing: border-box;
}

.idx-ev2__hero {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 0;
  flex-shrink: 0;
}

.idx-ev2__hero[hidden],
.idx-ev2__hero:not([src]),
.idx-ev2__hero[src=""] {
  display: none;
}

.idx-ev2__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 83px;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  padding-inline: 20px;
  box-sizing: border-box;
  font: 400 13px/1.5 "Noto Sans KR", Helvetica, sans-serif;
  letter-spacing: -0.02em;
  color: var(--idx-ev2-muted);
}

.idx-ev2__copy p {
  margin: 0;
  align-self: stretch;
}

.idx-ev2__copy-strong {
  color: var(--idx-ev2-text);
  letter-spacing: -0.01px;
}

.idx-ev2__copy-meta {
  color: var(--idx-ev2-blue);
  letter-spacing: -0.01px;
  font-weight: 600;
}

.idx-ev2__html-body,
.idx-ev2__copy .idx-notice__thread-html {
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  color: var(--idx-ev2-text);
  word-break: break-word;
  overflow-x: auto;
  box-sizing: border-box;
}

/* 이용안내 등 — 레거시 게시판 박스형(어두운 캡션바) */
.idx-ev2__html-body .custom_table,
.idx-ev2__copy .idx-notice__thread-html .custom_table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #cfd5dd;
  border-radius: 6px;
  background: #fff;
  table-layout: fixed;
  overflow: hidden;
}

.idx-ev2__html-body .custom_table.border,
.idx-ev2__copy .idx-notice__thread-html .custom_table.border {
  border: 1px solid #cfd5dd;
}

.idx-ev2__html-body .custom_table caption,
.idx-ev2__copy .idx-notice__thread-html .custom_table caption {
  caption-side: top;
  text-align: left;
  padding: 11px 14px;
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: #fff;
  background: #2a2f38;
  border: 0;
  border-radius: 5px 5px 0 0;
}

.idx-ev2__html-body .custom_table td,
.idx-ev2__copy .idx-notice__thread-html .custom_table td {
  padding: 14px 16px 16px;
  border: 0;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.75;
  color: #222;
  background: #fff;
}

.idx-ev2__html-body .custom_table span,
.idx-ev2__copy .idx-notice__thread-html .custom_table span {
  color: #2f6fed;
  font-weight: 600;
}

.idx-ev2__html-body .custom_table b,
.idx-ev2__copy .idx-notice__thread-html .custom_table b {
  color: #970000;
  font-weight: 700;
}

.idx-ev2__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
  border-top: 1px solid var(--idx-ev2-divider);
}

.idx-ev2__btn {
  display: flex;
  max-width: 320px;
  height: 40px;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  background-color: var(--idx-ev2-btn);
  font: 700 14px/1.3 "Noto Sans KR", Helvetica, sans-serif;
  letter-spacing: -0.02em;
  color: var(--idx-ev2-btn-txt);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.idx-ev2__btn:hover {
  background: #1e6ad1;
  filter: none;
}

.idx-ev2__btn:focus-visible {
  outline: 2px solid var(--idx-ev2-blue);
  outline-offset: 2px;
}
