/* @import url("https://fonts.cdnfonts.com/css/carmen-sans"); */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.6/dist/web/static/pretendard.css");

:root {
    --green-color: #45e822;
    --blue-color: #00aad5;
    --orange-color: #ff542c;
}

/* Background image default style */
.background-img {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.ant-drawer-content-wrapper {
    box-shadow: none !important;
    display: flex;
    justify-content: center;
    height: auto !important;
}
.ant-drawer .ant-drawer-body {
    padding: 0;
}

.checkbox label span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.checkbox .ant-checkbox {
    display: none;
}

.floating {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    position: relative;
}
.floating > li {
    width: 22px;
    height: 22px;
    position: relative;
}
.floating > li svg {
    width: 22px;
    height: 22px;
    cursor: pointer;
}
.floating .modal-wrapper {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
}
.floating .modal {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease 0.3s;
    width: 591px;
    height: 273px;
    position: absolute;
    bottom: 0;
    right: calc(591px / 2);
    background: #fff;
    z-index: 4;
}
.floating .modal .link-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.floating .modal .close {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
}
.floating .modal.on {
    opacity: 1;
}
.floating .modal.off {
    opacity: 0;
    transform: translateY(-10px);
}
.floating .modal li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    /* color: #9b9b9b;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: -0.28px;
     */

    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px; /* 93.75% */
    letter-spacing: -0.8px;
}
.floating .modal li img,
.floating .modal li svg {
    width: 64px;
    height: 64px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
}
.ant-message {
    bottom: 60px;
    top: unset !important;
}
.ant-message .ant-message-notice {
    display: flex;
    width: 400px;
    height: 56px;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}
.ant-message .ant-message-notice .ant-message-notice-content {
    box-shadow: none;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    height: 56px;
    padding: 16px 20px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    align-self: stretch;
    color: var(--base-white, #fff);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: -0.4px;
    text-transform: capitalize;
}
*::-webkit-scrollbar {
    width: 4px;
}
*::-webkit-scrollbar-thumb {
    background-color: #c4c4c4;
    border-radius: 10px;
}
*::-webkit-scrollbar-track {
    background-color: transparent;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
@media (max-width: 1239px) {
    .floating {
        padding-right: 30px;
        margin-top: 40px;
        gap: 16px;
    }
    .floating > li,
    .floating > li svg {
        width: 22px;
        height: 22px;
    }
    .floating .modal {
        width: calc(100% - 60px);
        height: 154px;
        padding: 0;
        bottom: 45px;
        right: 30px;
    }
    .floating .modal li {
        width: auto;
        gap: 8px;
        color: #9b9b9b;
        text-align: center;

        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 15px; /* 115.385% */
        letter-spacing: -0.65px;
    }
    .floating .modal li img,
    .floating .modal li svg {
        width: 36px;
        height: 36px;
    }
    .floating .modal .link-list {
        gap: 14px;
    }
    .floating .modal .close {
        top: 20px;
        right: 20px;
    }
    .floating .modal .close svg {
        width: 20px;
        height: 20px;
    }
    .floating .modal .link-list .close svg {
        width: 22px;
        height: 22px;
    }
    .mypage ~ footer {
        display: none;
    }
    /* .ant-message {
        bottom: 121px;
        top: unset !important;
    } */
    .ant-message .ant-message-notice {
        width: calc(100% - 20px);
        /* padding: 0 20px; */
    }
    .ant-message .ant-message-notice .ant-message-notice-content {
        color: var(--base-white, #fff);
        text-align: center;

        /* Body/h7_smbold */
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 140%; /* 16.8px */
        letter-spacing: -0.3px;
        text-transform: capitalize;
    }
}

.ant-drawer {
    z-index: 1501;
}

.error-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.error-wrapper .message {
    font-size: 30px;
}

.error-wrapper .logo {
    width: 100px;
}

.error-wrapper .logo svg {
    width: 100%;
}

/* List //////////////////////////////////////// */
.inner .list-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 36px;
}
.inner .list-wrap .background-img {
    height: 250px;
    /* border-radius: 40px; */
    cursor: pointer;
}

.inner .list-wrap .text-box {
    margin-top: 24px;
}
.inner .list-wrap .top {
    display: flex;
    gap: 8px;
    /* justify-content: space-between; */
}
.inner .list-wrap .top .category {
    text-transform: capitalize;
    padding: 4px 8px;
    background: rgba(0, 170, 213, 0.1);
    color: var(--blue-color);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}
.inner .list-wrap .top .category.orange {
    color: var(--orange-color);
    background: rgba(255, 84, 44, 0.1);
}

.inner .list-wrap .top .category.green {
    color: var(--green-color);
    background: rgba(104, 255, 71, 0.1);
}
.inner .list-wrap .text-box p {
    width: fit-content;
    cursor: pointer;
    margin-top: 8px;
    color: #000;

    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -1.3px;
}
.inner .list-wrap .subtitle {
    margin-top: 8px;
    color: #000;

    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.9px;
}

.inner .list-wrap .date {
    margin-top: 8px;
    color: rgba(17, 17, 17, 0.3);

    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.7px;
}
.inner .list-wrap .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    margin-top: 8px;
}
.inner .list-wrap .tags li a {
    display: block;
    border-radius: 17px;
    border: 1px solid var(--base-black, #000);
    color: #000;
    padding: 5px 10px;
}

/* More Button */
.article .btn-wrap {
    text-align: center;
    margin-top: 60px;
}
.article .btn-wrap button {
    width: 200px;
    height: 50px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: #464646;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.9px;
    cursor: pointer;
    background: transparent;
}
.article .btn-wrap button:hover {
    background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 1199px) {
    .inner .list-wrap {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        gap: 30px;
    }
    .inner .list-wrap > li {
        padding-bottom: 0;
    }
    .inner .list-wrap .background-img {
        height: 208px;
        /* border-radius: 40px; */
    }

    .inner .list-wrap .text-box {
        margin-top: 14px;
    }
    .inner .list-wrap .text-box p {
        font-size: 18px;
        letter-spacing: -0.9px;
    }
    .inner .list-wrap .subtitle {
        font-size: 15px;
        letter-spacing: -0.75px;
    }
    .inner .list-wrap .date {
        font-size: 13px;
        line-height: 13px;
        letter-spacing: -0.65px;
    }
    .inner .btn-wrap button,
    .article .btn-wrap button {
        width: 120px;
        height: 40px;
        font-size: 15px;
        letter-spacing: -0.75px;
    }
    .article .btn-wrap {
        margin-top: 40px;
    }
}
/* List //////////////////////////////////////// */
