@charset "UTF-8";

/* 이벤트 게시판 목록페이지 */
.community .section-split {
    padding-top: 188.8px;
    padding-bottom: 100px;
}

.community_container {
    max-width: 1400px;
    padding: 0 20px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    box-sizing: border-box;
}

.community_container>li {
    min-width: 0;
}

.community .community_item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.community .community_item:hover {
    cursor: pointer;
}

.community .community_item_image {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

/*  */
.community .community_item_image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.community .community_item_image_overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.community .community_item_image_overlay img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.community .community_item:hover .community_item_image_overlay {
    opacity: 1;
}

.community .community_item_title {
    color: #171717;
    text-align: center;
    font-size: 22px;
    font-weight: 300;
    line-height: 130%;
    letter-spacing: -0.44px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.community .community_item:hover .community_item_title {
    font-weight: 600;
    text-decoration-line: underline;
}

/* 이벤트 게시판 상세페이지 */

.board .section-split__inner {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.board .board_content {
    width: 100%;
}

.board .title_wrap {
    padding: 32px;
    border-top: 2px solid #171717;
    border-bottom: 1px solid #B4B4B4;
}

.board .title_text {
    color: #171717;
    font-size: 22px;
    font-weight: 600;
    line-height: 150%;
    text-align: left;
}

.board .content {
    padding-block: 40px;
    padding-inline: 20px;
}


.board .bottom_link {
    display: flex;
    border-top: 1px solid #B4B4B4;
}

.board .bottom_link:last-child {
    border-bottom: 1px solid #B4B4B4;
}

.board .bottom_link_item {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #FCFBFB;
    color: #262626;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    min-width: 142px;
}

.board .bottom_link_title {
    padding: 16px 20px;
    color: #262626;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board_btn {
    display: flex;
    justify-content: center;
    width: 136px;
    text-align: center;
    min-width: 136px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #1F0D06;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
    margin: 0 auto;
    border: none;
}

@media screen and (max-width: 1024px) {
    .community_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .community .section-split__content_col {
        padding-inline: 21px;
        padding-top: 58px;
    }

    .community_container {
        grid-template-columns: repeat(1, 1fr);
        padding-inline: 0;
        gap: 20px;
    }

    .community .section-split__headline {
        gap: 6px;
    }

    .community .section-split__content_col {
        gap: 20px;
    }

    .board .title_wrap {
        padding: 16px;
    }

    .board .title_text {
        font-size: 18px;
    }

    .board .section-split__inner {
        padding-inline: 0;
    }

    .board {
        padding-top: 60px;
    }

    .community.board .section-split {
        padding-top: 0px;
        padding-bottom: 40px;
    }

    .community .section-split {
        padding-top: 58px;
        padding-bottom: 40px;
    }

    .board .bottom_link_item {
        padding: 10px 16px;
        font-size: 14px;
        gap: 4px;
        min-width: 96px;
    }

    .board .bottom_link_item img {
        width: 20px;
        height: 20px;
    }

    .board .bottom_link_title {
        padding: 10px 8px;
        font-size: 14px;
    }

    .board .section-split__inner {
        gap: 40px;
    }

    .board_btn {
        width: 100%;
        box-sizing: border-box;
    }
}