/* banner */
section.banner .inner .banner-wrap {
    display: flex;
    padding: 24px 16px;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
    border-radius: 12px;
    position: relative;
    margin: 32px 0px 16px 0px;
}

@media (min-width: 768px) {
    section.banner .inner .banner-wrap {
        padding: 40px;
        margin: 64px 0px 32px 0px;
    }
}

section.banner .inner .banner-wrap .txt-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1;
}

@media (min-width: 768px) {
    section.banner .inner .banner-wrap .txt-wrap {
        gap: 12px;
    }
}

section.banner .inner .banner-wrap .txt-wrap .banner-title {
    color: var(--White);
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.22px;
}

section.banner .inner .banner-wrap .txt-wrap .banner-description {
    color: var(--White);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

@media (min-width: 768px) {
    section.banner .inner .banner-wrap .txt-wrap .banner-title {
        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        line-height: 38px;
        letter-spacing: -0.56px;
    }

    section.banner .inner .banner-wrap .txt-wrap .banner-description {
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px;
        letter-spacing: -0.2px;
    }
}

section.banner .inner .banner-wrap .img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

section.banner .inner .banner-wrap .img-wrap::after {
    border-radius: 12px;
    content: "";
    position: absolute;
    inset: 0;
    /* top, right, bottom, left 모두 0 */
    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.40) 0%,
            rgba(0, 0, 0, 0.40) 100%);
    pointer-events: none;
    /* 클릭 막지 않음 */
}


/* design */
section.design {
    padding-top: 64px;
}

section.design .design-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

section.design .design-list .design-container {
    display: flex;
    flex-direction: column;
    padding: 0 0 50px;
}

section.design .design-list .design-container:not(:last-of-type) {
    border-bottom: 1px solid var(--Gray-3);
}

@media (min-width: 768px) {
    section.design .design-list .design-container {
        flex-direction: row;
        gap: 50px;
    }
}

section.design .design-list .design-container .background-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    aspect-ratio: 343.00/223.70;
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 768px) {
    section.design .design-list .design-container .background-img {
        flex: 0 0 40%;
    }
}

section.design .design-list .design-container .background-img img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

section.design .design-list .design-container .detail-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 30px 0px;
}

@media (min-width: 768px) {
    section.design .design-list .design-container .detail-wrap {
        padding: 30px 15px;
    }
}

section.design .design-list .design-container .detail-wrap .tag {
    color: var(--Primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 8px;
}

section.design .design-list .design-container .detail-wrap .title {
    color: var(--Black);
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.22px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    section.design .design-list .design-container .detail-wrap .title {
        font-size: 28px;
        line-height: 38px;
        letter-spacing: -0.56px;
        margin-bottom: 12px;
    }
}

section.design .design-list .design-container .detail-wrap .description {
    color: var(--Gray-2);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

section.design .pagination {
    display: flex;
    gap: 4px;
    padding: 8px 0px;
    margin: 48px auto 64px auto;
    width: fit-content;
}

@media (min-width: 768px) {
    section.design .pagination {
        margin: 64px auto;
    }
}

section.design .pagination .img-wrap.prev .description,
section.design .pagination .img-wrap.next .description {
    color: var(--Black);
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

section.design .pagination .img-wrap.prev,
section.design .pagination .img-wrap.next {
    display: flex;
    gap: 4px;
    align-items: center;
}

section.design .pagination .img-wrap.prev img,
section.design .pagination .img-wrap.next img {
    width: 16px;
    height: 16px;
    aspect-ratio: 1/1;
    margin: auto;
}

section.design .pagination .number {
    color: var(--Gray-2);
    text-align: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    display: block;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    align-content: center;
}

section.design .pagination .number.selected {
    display: flex;
    padding: 4px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid var(--Gray-3);
}




/* 콘텐츠 영역 */
section.heading {
    position: relative;
    height: 500px;
}

section.heading .title-wrap {
    position: absolute;
    z-index: 1;
    bottom: 0px;
    margin-bottom: 48px;
    width: calc(100% - 32px);
}

section.heading .title-wrap .subtitle {
    color: var(--White);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
    margin-bottom: 8px;
}

section.heading .title-wrap .title {
    color: var(--White);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 31px;
    letter-spacing: -0.22px;
    margin-bottom: 8px;
}

section.heading .title-wrap .description {
    color: var(--White);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    word-break: keep-all;
}

section.heading .img-wrap {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

section.heading .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

@media (min-width: 768px) {
    section.heading .title-wrap {
        position: absolute;
        z-index: 1;
        bottom: 0px;
        margin-bottom: 64px;
        max-width: 1200px;
    }

    section.heading .title-wrap .subtitle {
        font-size: 18px;
        font-weight: 500;
        line-height: 26px;
        margin-bottom: 6px;
    }

    section.heading .title-wrap .title {
        font-size: 28px;
        font-weight: 700;
        line-height: 36px;
        letter-spacing: -0.56px;
        margin-bottom: 12px;
    }

    section.heading .title-wrap .description {
        font-size: 18px;
        font-weight: 400;
        line-height: 26px;
        width: 50%;
    }
}

section.contents .inner {
    padding: 48px 16px;
}

@media (min-width: 768px) {
    section.contents .inner {
        max-width: 900px;
        margin: auto;
        padding: 64px 16px;
    }
}