/* Shared keyboard focus for the Korean portal and its modal dialogs. */
a:focus, button:focus, input:focus, select:focus, textarea:focus,
[role="button"]:focus, [tabindex]:focus {
  outline: 3px solid #005fcc !important;
  outline-offset: 3px;
}
/* Alternative descriptions stay in the accessibility tree without taking visual space. */
.a11y-only, .ir_text {
  position: absolute !important; width: 1px !important; height: 1px !important;
  margin: -1px !important; padding: 0 !important; border: 0 !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important; white-space: nowrap !important;
}
.ir_text { font-size: inherit !important; text-indent: 0 !important; }
.carousel-pause {
  min-width: 44px; min-height: 32px; margin: 8px; padding: 4px 10px;
  border: 1px solid #555; border-radius: 3px; background: #fff; color: #222;
  font: inherit; cursor: pointer;
}
/* Keep titles styled like the existing blocks after adding heading semantics. */
.board h2.title, .titleWrap h2.title, .title-wrap h2.title { margin: 0; }
.exhibition-preview { white-space: pre-line; line-height: 1.7; margin: 10px 0; }
.exhibition-preview[hidden], .desc[hidden] { display: none !important; }
button.btn_open_view { padding: 0; box-sizing: content-box; font-family: inherit; cursor: pointer; }
#contents_go:focus { outline-offset: -3px; }
.float_menu a[hidden] { display: none !important; }
/* Keep keyboard targets inside the visible height of the fixed side menu. */
.sideWrapper { max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
.sideWrapper .sideMain { min-height: 0; }
.key .bread a:first-child { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; }
.key .bread a:first-child img { display: inline-block; width: 18px; height: 16px; opacity: 1; visibility: visible; }
.a11y-image-control { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
button.close { padding: 0; border: 0; background: transparent; cursor: pointer; }
.contents_area .exp_area a.btn_pop { display: inline-block; color: #fff; }
.support-steps { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; padding: 0; list-style: none; }
.support-steps li { flex: 1 1 140px; padding: 18px; background: #f0f2f4; color: #222; border: 1px solid #68717b; line-height: 1.6; }
.support-steps strong { display: block; color: #253c55; }
/* Give image links a visible focus box inside their clipped card. */
.onePage .section.second .exp-list .img-wrap > a,
.onePage .section.third .thumbnail > a {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  display: block; width: auto; height: auto;
}
.onePage .section.second .exp-list .img-wrap > a:focus,
.onePage .section.third .thumbnail > a:focus { outline-offset: -3px; }
