/* 변수 */
: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;
}

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



.tab-wrap {
    position: absolute;


    display: none;

}

.tab-wrap.active {
    position: relative;
    display: block;

}

.movieList-sub-menu {
    display: flex;
    justify-content: space-between;
}


.movie-list-wrap {
    display: flex;
    justify-content: space-between;

}

.m-button-list {
    display: flex;
    gap: 50px;
    align-items: center;
    /* translate: 20px 50px; */
}

.movie-list-wrap .m-button-list a {
    font-size: var(--px20)
}


.movie-list-wrap .m-button-list .active a {
    color: var(--main);

    border-bottom: 1px solid var(--main);
}

.movie-list-wrap span {
    padding-left: 40px;
    color: #666768;
}

.m-button-list>li:hover {
    color: var(--main)
}

.inner form {

    width: 300px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    border-radius: 28px;
    height: 40px;
    margin-top: 4px;
    /* translate: 1218px; */

}

.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;
}



.content {
    /* padding: 20px; */
}

.movie-list-tab-wrap {
    margin: 30px 0 150px;

}

.movieList-sub-menu {
    /* border: 1px solid green; */
}

.content>.list-wrap {
    /* height: 1500px; */
    display: grid;
    /* grid-template-columns: 200px 200px 200px; */
    /* grid-template-columns: repeat(3, 200px); */
    /* grid-template-columns: 1tr 1tr 1tr; */
    /* grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); */
    grid-template-columns: repeat(4, 1fr);
    /* 기기 디스플레이 맞게 숫자만 바꿔줌 - 계산해서 보임 - 2차원적 개념 플렉스와차이 */
    gap: 40px 24px;
    align-items: stretch;
    /* 위치는 바뀌지 않음 */
    /* margin-top: 30px; */
    /* margin-left: 160px;
    margin-right: 160px; */
}

.content>div .movie1 {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.content>div .movie1 .img-box {
    position: relative;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 10px;
}

.content>div .movie1 .img-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    z-index: 0;
}

.content>div .movie1 .text-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content>div .movie1 .text-box .sub-info {
    flex: 1;
}

.content>div .movie1 .text-box .mov-btn-wrap {
    margin-top: auto;
}

.content>.list-wrap .movie1 .img-box p {
    display: block;
    text-shadow: 3px 5px 10px rgb(25, 16, 27);
    position: absolute;
    font-weight: bold;
    color: #ffffff;
    font-style: oblique;
    font-size: 60px;
    width: 40px;
    height: 40px;
    bottom: 50px;
    left: 10px;


    /* position: absolute;
    font-size: 80px;
    font-weight: bold;
    color: #fff;
    left: 16px;
    bottom: 100px;
    width: 40px;
    height: 40px; */
}

.content>div .movie1 .text-box .title {
    color: #fff;
    font-size: 25px;
    align-items: center;
    margin-top: 13px;
}

.content>div .movie1 .text-box .title>p>a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content>div .movie1 .sub-info .line {
    padding-right: 20px;

    border-right: 1px solid #696666;
}

.content>div .movie1 .sub-info .egg {
    width: 20px;
    padding: 30px;
    margin-bottom: 2px;

}

.content>div .movie1 .sub-info .cust {
    margin-left: 20px;
}

.content>div .movie1 .sub-info p {}

.content>div .movie1 .sub-info .res1 {}

.content>div .movie1 .text-box .title {

    /* 자식요소를 박스형태로 옆으로 붙일때 사용한다 */
    display: -webkit-box;
    /* 방향설정 세로방향 */
    -webkit-box-orient: vertical;
    /* 줄수 장하기 */
    -webkit-line-clamp: 1;
    overflow: hidden;
    /* 줄을 변경될 경우 단어를 묶어서 */
    word-break: keep-all;
}

.content>div .movie1 .text-box .title a {}


.content>div .movie1 .text-box div {
    margin-bottom: 7px;
}

.content>div .movie1 .text-box .title img {

    margin-right: 7px;
}

.content>div .movie1 .text-box .title span {

    text-align: center;
    height: 31px;
}

/* .content>div .movie1 .btn-box {
 
    display: flex;
    flex-grow: 0;
    margin-top: 15px;
    ;
    gap: 9px;
 
} */

.mov-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 6px;
    height: 48px;
    border-radius: var(--radius);
    line-height: 1;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mov-btn-wrap .btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 10px;
}

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

.reserv:hover {
    background-color: var(--Hred-btn);
}

.view {
    background-color: var(--blk-btn);
}

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


.btn-box>.btn {
    position: relative;
    color: #fff;
    width: 94px;
    height: 35px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 7px;
    padding-left: 5px;
    padding-right: 5px;

    /* background: rgba(0, 0, 0, 0.5); */
}


.content>div .movie1 .btn-box .like-btn {
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    gap: 7px;


    /* display: flex;
    color: #fff;
 
    width: 94px;
    height: px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5); */
}

.like-btn:hover {}

.content>div .movie1 .btn-box .like-btn .p {}


.content>div .movie1 .btn-box .like-btn .img {

    /* .content>div .movie1 .text-box .story-btn {
 
    height: ;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.5);
    ;
    border-radius: 15px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5); */
}

.res-btn {
    background: #af2d23;
}

.content>div .movie1 .sub-info {
    color: #fff;
    padding: 5px;
    ;
}


/* =============반응형============== */
/* ipad */
@media screen and (max-width: 1280px) {
    .content>.list-wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 20px;
    }

    .movieList-sub-menu {
        flex-wrap: wrap;
        gap: 14px;
    }

    .m-button-list {
        gap: 24px;
        flex-wrap: wrap;
        /* 탭메뉴 줄바꿈 허용 */
    }

    .inner form {
        width: 240px;
        /* 검색창 줄이기 */
        height: 38px;
    }

    .content>div .movie1 .text-box .title {
        font-size: 20px;
    }

    .btn {
        height: 44px;
    }
}




/* mobile */
@media screen and (max-width:768px) {
    .content>.list-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }

    .movieList-sub-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .m-button-list {
        gap: 16px;
    }

    .movie-list-wrap span {
        padding-left: 0;
        /* 오른쪽 텍스트 들여쓰기 제거 */
    }

    .inner form {
        width: 100%;
        max-width: 360px;
        height: 36px;
    }

    .content>div .movie1 .img-box img {
        object-fit: cover;
    }

    .content>div .movie1 .text-box .title {
        font-size: 16px;
    }

    .content>div .movie1 .sub-info {
        font-size: 13px;
        padding: 4px 0;
    }

    .mov-btn-wrap {
        gap: 6px;
    }

    .btn {
        height: 40px;
        padding: 10px 4px;
        font-size: 13px;
    }
}



@media screen and (max-width:480px) {

    .content {}

    .content>.list-wrap {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }

    /* 포스터 - aspect-ratio로 비율 고정됨 */

    /* 제목 */
    .content>div .movie1 .text-box .title {
        font-size: 14px;
    }

    /* 버튼 */
    .btn {
        height: 36px;
        font-size: 12px;
    }

}