/* CSS Reset - 브라우저 간 기본 스타일 차이 제거 */

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

/* 기본 여백 제거 */
* {
    margin: 0;
    padding: 0;
}

/* HTML 기본 설정 */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Body 기본 설정 */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 이미지와 미디어 요소 */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 폼 요소 */
input,
button,
textarea,
select {
    font: inherit;
}

/* 링크 */
a {
    text-decoration: none;
}

/* 리스트 */
ul,
ol {
    list-style: none;
}

/* 제목 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
}

/* 버튼 */
button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* 테이블 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 인용문 */
blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

/* 접근성: 포커스 링 전부 블랙 (브라우저 기본 블루 제거) */
:focus-visible {
    outline: 2px solid black;
    outline-offset: 2px;
}

/* 스크린 리더 전용 텍스트 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
