.board {
    gap: 30px;
}

.board .tabs {
    width: max-content;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid #CDCDCD;
    overflow: hidden;
    margin: 0 auto;
    box-sizing: border-box;
}
.board .tabs > * {
    height: 56px;
    line-height: 58px;
    border-right: 1px solid #CDCDCD;
    color: rgba(170, 170, 170, 0.67);
    font-size: 20px;
    padding: 0 40px;
    margin: 0 -1px;
    box-sizing: border-box;
}
.board .tabs > *:last-child {
    border-right: 0;
}
.board .tabs > *.active {
    background: var(--key-color);
    color: var(--white);
    font-weight: 600;
    border: 1px solid var(--key-color);
}
.board .board_tabs {
    width: 100%;
}
.board .board_tabs > a {
    flex: 1;
    padding: 0;
    text-align: center;
}


.gallery {
    gap: 10px;
}
.gallery .item {
    width: calc(33.3333% - 7px);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Pretendard';
}
.gallery .item .thumb {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 62%;
    overflow: hidden;
}
.gallery .item .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery .item .txt {
    padding: 20px;
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap;
    box-sizing: border-box;
}


.write_btn a {
    display: inline-block;
    width: 93px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 5px;
    font-family: 'Pretendard';
    font-size: 14px;
    font-weight: 700;
}
.write_btn a img {
    vertical-align: middle;
    margin-right: 5px;
}



.board .read .subject h4 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
}
.board .detail_info .list_btn {
    margin-top: 0;
}
.board .cont {
    word-break: break-all;
}

.board .list_table .w2 {
    width: 145px;
}
.board .list_table .w2 .text {
    flex: none;
    display: inline-block;
    max-width: calc(100% - 53px);
}

.main-container {
	font-family: 'Lato';
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.ck-content {
	font-family: 'Lato';
	line-height: 1.6;
	word-break: break-word;
}

.editor-container_classic-editor .editor-container__editor {
	min-width: 795px;
	max-width: 795px;
}



@media screen and (max-width: 1600px) {
}
@media screen and (max-width: 1380px) {
}
@media screen and (max-width: 1024px) {
    .board .tabs > * {
        height: 48px;
        line-height: 50px;
        font-size: 16px;
    }
}
@media screen and (max-width: 768px) {
    .board .tabs {
        border-radius: 10px;
    }
    .board .tabs > * {
        font-size: 14px;
        padding: 0 10px;
    }
    .board .board_tabs > a {
        flex: none;
        width: calc(33.333% - -2px);
    }
    .board .board_tabs > a:nth-child(1),
    .board .board_tabs > a:nth-child(2),
    .board .board_tabs > a:nth-child(3) {
        border-bottom: 1px solid #CDCDCD;
    }
    .board .board_tabs > a:nth-child(3n) {
        border-right: 0;
    }

    .board .list_table .w2 .text {
        max-width: none;
    }

    .sns .tabs button {
        padding: 0 30px;
    }

    .gallery .item {
        width: calc(50% - 5px);
    }
}
@media screen and (max-width: 480px) {
    .gallery .item {
        width: 100%;
    }
}
@media screen and (max-width: 380px) {
    .board .tabs > * {
        height: 40px;
        line-height: 43px;
        font-size: 12px;
        padding: 0 5px;
    }
    .sns .tabs button {
        font-size: 14px;
        padding: 0 30px;
    }
}