/* 변수 */
:root {
    /* color */
    --main: #EE3123;
    --mian-text: #DDDDDD;
    --support-text: #AAAAAA;
    --ssupport-text: #707070;
    --icon: #CCCCCC;
    --blk-btn: #00000080;
    --red-btn: #EE312380;
    --Hblk-btn: #000000;
    --Hred-btn: #EE3123;
    /* font */
    --px12: 0.75em;
    --px14: 0.875em;
    --px16: 1em;
    --px20: 1.25em;
    --px24: 1.5em;
    --px28: 1.75em;
    --px32: 2em;
    --px40: 2.5em;
    /* etc */
    --radius: 1.75em;
}

/* 페이지 제목 */
.page-section {
    background: #222222;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.page-inner {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 50px;
}

.page-inner>.page-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    padding-bottom: 20px;
}

/* 페이지명 */
.page-wrap>h2 {
    font-size: 32px;
    font-weight: 700;
}

/* 페이지경로 */
.page-wrap>.location>span {
    font-size: 12px;
    color: #707070;
}

.page-wrap>.location>span:last-child {
    color: #DDD;
    font-weight: 600;
}

.page-wrap>.location>span>a:hover {
    text-decoration: underline;
}

/* ^^^ 돈 땃쥐 더 탑 ^^^ */

/* 아래에 작업 */
h3 {
    font-size: var(--px24);
    margin: 35px 0;
}

.btn {
    width: auto;
    padding: 12px 28px;
    height: 48px;
    border: none;
    border-radius: var(--radius);
    background: var(--blk-btn);
    font-size: var(--px16);
    color: var(--mian-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-wrap {
    display: flex;
    gap: 20px;
}

.btn:hover {
    background: var(--Hblk-btn);
}

.btn.active {
    background: var(--red-btn);
}

/* 검색창 */
.inner form {
    width: 300px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    border-radius: 28px;
    height: 40px;
    margin-top: 4px;
    margin-left: auto;
}

.inner form>input {
    flex: 1;
    height: 100%;
    background: none;
    border: none;
    margin-left: 18px;
    color: #fff;
}

.inner form>button {
    width: 40px;
    height: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.inner form>button img {
    width: 20px;
}

/* 인기상영작 TOP10 */
.popular-wrap {
    position: relative;
}

.popular-list ul {
    display: flex;
    gap: 45px;
    /* overflow: hidden; */
}

.popular-list li {
    flex: 0 0 calc((100% - 135px) / 4);
}

.popular-list img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.popular-list {
    overflow: hidden;
}

.arrow-btn-wrap>li {
    position: absolute;
    top: 50%;
    display: flex;
    gap: 50px;
}

.arrow-btn-wrap>.arrow-btn-left {
    left: -70px;
}

.arrow-btn-wrap>.arrow-btn-right {
    right: -70px;
}

/* 신규개봉작 */
.new-list-wrap {
    position: relative;
}

.new-list {
    overflow: hidden;
}

.new-list ul {
    display: flex;
    gap: 45px;
    /* overflow: hidden; */
}

.new-list li {
    flex: 0 0 calc((100% - 135px) / 4);
}

.new-list img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
}

/* 전체영화 */
.tab-menu ul {
    display: flex;
    gap: 40px;
    margin-top: 35px;
    margin-bottom: 30px;
}

.tab-menu .active {
    color: #EE3123
}

.all-list-wrap {
    position: relative;
}

.all-list ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
}

.all-list img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
}