/* Base font and global styles matching CI4 */
:root {
  --background: #ffffff;
  --foreground: #252525;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Noto Sans KR', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* Universal SVG sizing constraints to prevent unconstrained flexbox expansion */
svg {
  max-width: 100%;
  box-sizing: border-box;
}

.kgoods-more svg,
.bt-more svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.kgoods-stat svg,
.card-stat svg,
.bk-stat svg,
.bt-stat svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.hero__arrow svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  flex-shrink: 0 !important;
}

.scroll-to-top svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

/* Screen reader only utility */
.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  font-size: 14px !important;
}

@media (max-width: 768px) {
  .button_list {
    font-size: 13px !important;
  }
}


/* keyboard focus ring: legacy sheets reset outline on many controls; :focus-visible only, so mouse clicks stay unchanged */
/* :not(#__no_such_id) lifts this to id-level specificity, so component rules such as
   .btn:focus-visible { outline: 0 !important } lose */
:is(a, button, input, select, textarea, summary, [tabindex], [contenteditable='true']):focus-visible:not(#__no_such_id) {
  outline: 2px solid #1a4bd0 !important;
  outline-offset: 2px !important;
}

/* .flex rows with --mg-x are 100% + 2×gutter wide (negative margins); inside a box without padding they pushed the
   page 15px sideways at 1024-1920px. Clip only horizontally so card shadows keep their vertical room. */
.event_list_wrap {
  overflow-x: clip;
}

/* /center/about: a fixed 1000px block next to the section padding ran past a 1024px screen */
.intro .sec_content.inner_1000 {
  display: block;
  max-width: min(1000px, 100%) !important; /* beats map.css .inner_1000 { max-width: 1000px !important } */
  box-sizing: border-box;
}

/* touch targets under the WCAG 2.2 AA 24px minimum (QA interaction.tap-target) */
.ticket-s-i.searchBtn {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#icon_search_ {
  padding: 6px;
  box-sizing: content-box;
  cursor: pointer;
}
a.more_link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

/* /contact/main: 20px-tall links stacked in table rows */
.bs_table td a {
  display: inline-block;
  padding: 3px 0;
}
