/*---------------- project_settings ----------------*/
:root {
    /* 색상·컨테이너·본문 설정은 실제 제공 자료와 Figma 확인 후 정의한다. */
    --thin: 100;
    --extra-light: 200;
    --light: 300;
    --normal: 400;
    --medium: 500;
    --semi-bold: 600;
    --bold: 700;
    --extra-bold: 800;
    --black: 900;

    --ft12: 0.75rem;
    --ft14: 0.875rem;
    --ft15: 0.938rem;
    --ft16: 1rem;
    --ft18: 1.125rem;
    --ft20: 1.25rem;
    --ft22: 1.375rem;
    --ft24: 1.5rem;
    --ft26: 1.625rem;
    --ft28: 1.75rem;
    --ft30: 1.875rem;
    --ft32: 2rem;
    --ft35: 2.188rem;
    --ft36: 2.25rem;
    --ft40: 2.5rem;
    --ft42: 2.625rem;
    --ft45: 2.813rem;
    --ft48: 3rem;
    --ft50: 3.125rem;
    --ft56: 3.5rem;
    --ft60: 3.75rem;
    --ft70: 4.375rem;
    --ft80: 5rem;
    --ft100: 6.25rem;
    --ft150: 9.375rem;
}

/*---------------- reset ----------------*/
:lang(ko) {
    word-break: keep-all;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
}
body {
    width: 100%;
    font-family: var(--font-family, sans-serif);
    font-weight: var(--normal);
    color: var(--body-color, CanvasText);
    background-color: var(--body-bg, Canvas);
}
img {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}
a {
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
}
ul,
ol,
li {
    list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    white-space: pre-line;
}
p,
span {
    white-space: pre-line;
}
button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}
button {
    border: 0;
    cursor: pointer;
    background: none;
}
button:disabled {
    cursor: not-allowed;
}
table {
    width: 100%;
    border-spacing: 0;
}
/* 브라우저 기본 포커스와 폼 조작을 유지한다. 커스텀 UI는 해당 컴포넌트에서 처리한다. */

/*---------------- layout ----------------*/
.wrap,
.page {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
section {
    width: 100%;
    position: relative;
}
footer {
    width: 100%;
}
.container,
.container-ss,
.container-sm,
.container-md,
.container-lg {
    width: 100%;
    margin: 0 auto;
    padding-inline: var(--container-gutter, 0px);
    position: relative;
}
.container-ss {
    max-width: var(--container-ss);
}
.container-sm {
    max-width: var(--container-sm);
}
.container-md {
    max-width: var(--container-md);
}
.container-lg {
    max-width: var(--container-lg);
}

/*---------------- utility ----------------*/
.overflow {
    overflow: hidden;
}
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ellipsis.line2,
.ellipsis.line3,
.ellipsis.line4 {
    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.ellipsis.line2 {
    -webkit-line-clamp: 2;
}
.ellipsis.line3 {
    -webkit-line-clamp: 3;
}
.ellipsis.line4 {
    -webkit-line-clamp: 4;
}
.text-left {
    text-align: start;
}
.text-center {
    text-align: center;
}
.pre-line {
    white-space: pre-line;
}
.underline {
    text-decoration: underline;
}
.scroll_hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scroll_hide::-webkit-scrollbar {
    display: none;
}
.grid {
    width: 100%;
    display: grid;
    gap: var(--grid-gap);
}
.grid.col-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid.col-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.col-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.col-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid.col-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.align-end {
    align-items: flex-end;
}
.align-start {
    align-items: flex-start;
}
.align-center {
    align-items: center;
}
.align-stretch {
    align-items: stretch;
}
.justify-end {
    justify-content: flex-end;
}
.justify-start {
    justify-content: flex-start;
}
.justify-between {
    justify-content: space-between;
}
.justify-stretch {
    justify-content: stretch;
}
.justify-center {
    justify-content: center;
}

input[type="file"] {
    display: none;
}
select,
input,
input[type="text"],
input[type="email"],
input[type="file"],
input[type="number"],
input[type="password"],
input[type="textarea"],
textarea {
    width: 100%;
    border-radius: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
    color: var(--gray-600);
    resize: vertical;
    background: none;
}

input::placeholder {
    color: var(--gray-400);
}
input::-webkit-search-cancel-button,
input::-webkit-search-decoration,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
  display: none;
}

select:focus,
input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="file"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="textarea"]:focus,
textarea:focus {
    outline: none;
    /* outline: 1px solid var(--primary); */
}

/*---------------- lenis ----------------*/
html.lenis,
html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* pagination */
.pagination {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination .pagination_btn {
    width: 32px;
    height: 32px;
}
.pagination .pagination_btn a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination ul {
    display: flex;
    gap: 10px;
    padding: 0 10px;
}
.pagination ul li {
    width: 30px;
    height: 30px;
    border-radius: 15px;
}
.pagination ul li a {
    font-size: var(--ft16);
    color: var(--gray-400);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination i {
    font-size: var(--ft14);
    color: var(--gray-400);
}
.pagination span {
    font-size: var(--ft18);
    color: var(--gray-400);
}
.pagination ul li:hover,
.pagination ul li.page_click {
    background-color: var(--gray-700);
}
.pagination ul li:hover a,
.pagination ul li.page_click a {
    color: var(--white);
}
