/* ===================================================================
   reset.css — 브라우저 기본 스타일 초기화
   노원 JUMP 단체 홈페이지 퍼블리싱
   ※ 이 파일에는 브랜드 스타일을 넣지 않습니다. 초기화 전용.
   =================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd, ol, ul,
fieldset, legend {
  margin: 0;
  padding: 0;
}

ul[class], ol[class] { list-style: none; }

fieldset { border: 0; min-width: 0; }

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img { border-style: none; height: auto; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

textarea { resize: vertical; }

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th { text-align: left; font-weight: inherit; }

address { font-style: normal; }

summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

[hidden] { display: none !important; }

/* 접근성: 화면에는 감추고 스크린리더에는 노출 */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* 키보드 포커스 링 — 마우스 클릭 시엔 숨김 */
:focus-visible {
  outline: 3px solid var(--color-focus, #037ab8);
  outline-offset: 2px;
  border-radius: 2px;
}
