/* ✅ 미션 리스트: 5개씩 한 줄, 총 2줄 */
.mission-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* ✅ 가운데 정렬 */
    align-items: center;
    gap:20px;
    margin-top:15px;

}
.mission-items a .contents .subject {
    font-size:18px;
}


/* ✅ 5개씩 균등 배치 */
.mission-flex-item {
    flex: 1 1 calc(25% - 30px) !important; /* ✅ 5개씩 배치, gap 고려 */
    max-width: calc(25% - 30px) !important; /* ✅ 최대 크기도 조정 */
    text-align: center;
    border: 3px solid white;
    border-radius: 15px
}

/* ✅ 가로형 이미지 컨테이너 */
.mission-flex-item .img {
    width: 100% !important;
    height: 0;
    padding-top: 56.25%; /* ✅ 16:9 비율 유지 */
    position: relative;
   
}

/* ✅ 이미지 비율 유지 */
.mission-flex-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    /* object-fit: cover; */
    border-radius: 8px;
}






/* ✅ 대회리스트: 5개씩 한 줄, 총 2줄 */
.rally-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* ✅ 가운데 정렬 */
    align-items: center;
    gap: 15px; /* ✅ 최소 gap 유지 */
    margin-top:15px;
    width:100%;
}

.rally-flex-item {
    flex: 1 1 calc(18% - 15px); /* ✅ 5개씩 배치, gap 고려 */
    max-width: calc(18% - 15px); /* ✅ 최대 20% 크기 */
    text-align: center;
    border: 3px solid white;
    border-radius: 15px;
}


/* ✅ rally 이미지 크기 */
.rally-flex-item .img {
    width: 100% !important;
    height: auto;
    /* border:3px solid white; */
    border-top-left-radius: 8px;
}

/* ✅ rally 이미지 비율 유지 */
.rally-flex-item img {
    height: auto !important;
    width: 150% !important;
    object-fit: cover !important;
    border-radius: 0px !important;
    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
    /* border:3px solid white; */
}
.rally-flex-item .img .payment{
    background: #232323; color: white; text-align: center; font-size: 14px; padding: 10px; border: 1px solid grey;    border-bottom-left-radius: 8px;
                 border-bottom-right-radius: 8px;
}

/* ✅ rally 제목 길이 제한 */
.rally-flex-item .subject {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



#sub_ch{
    display: flex;
    position: relative;
    width: 100%;
    font-size: 20px;
    color:#ffffff;
    padding: 10px;
    text-align: center;
    justify-content: center;
    background-color: #1c2024;
    padding: 6px;
   
}

#sub_ch .title{
    padding: 10px 20px 10px 20px;
    background-color: #1c2024;
    font-size: 10pt;
    width: 200px;
    padding-left: 20px;
    border-radius: 10px;
    margin-left:20px;   
}

.swiper-slide .img img { 
    border-radius: 7px;
}
.swiper-slide .img .recomand_left { 
    z-index: 10;position: absolute;color: #fff;top: -3px;font-weight: bold;width: 80px;height: 60px;text-align: center;left: -4px;
}
.swiper-slide .img .recomand_right { 
    z-index: 10;position: absolute;color: #fff;top: -3px;font-weight: bold;width: 80px;height: 60px;text-align: center;right: -5px;
}



.community-mobile-tab-section .tab-day a .num {
    width:10px;
}

.search-menu-section ul{
    display: flex;
    text-align: center;
    margin-top: 5px;
    justify-content: center;
    /* border: 1px solid #333; */
    /* border: 3px solid #333; */
}

.search-menu-section ul li{
    font-weight: 600;
    /* border: 1px solid #fff; */
    padding: 10px 19px;
    margin: 0 50px;
    color: #fff;
    font-size: 17pt;
    /* border-bottom: 1px solid #a31717; */
    /* border: 3px solid #333; */
    
}

.search-menu-section ul li.on{
    color: #fff;
    border-bottom: 1px solid #a31717;
    font-weight: 600;
    background: #a31717;
    border-radius: 3px;
}

.search-menu-section {
    margin-top:20px;
}


.community-title {
    padding: 6px 10px;
    background-color: #1c2024;
    font-size: 14pt;
    border-radius: 3px;
    font-weight: 600;
    text-align: center;
    color:#fff;
    width:200px;
}


.community-title.on {
    background-color: #a31717;
}

.swiper-youtube-items .item {
    padding: 10px 20px 10px 20px;
    background-color: #1c2024;
    font-size: 10pt;
    border-radius: 3px;
    font-weight: 600;
    text-align: center;
    color:#fff;
    width:100px;
    margin-right:3px;
}


.swiper-youtube-items .item.on {
    background-color: #a31717;
}


.swiper-options-items .item {
    padding: 10px 0;
    background-color: #1c2024;
    font-size: 10pt;
    border-radius: 3px;
    font-weight: 600;
    text-align: center;
    color:#fff;
    /* width:100px; */
    /* margin-right:3px; */
}


.swiper-options-items .item.on {
    background-color: #a31717;
}


.swiper-rankgen-items .item {
    padding: 10px;
    background-color: #1c2024;
    font-size: 10pt;
    border-radius: 3px;
    font-weight: 600;
    text-align: center;
    color:#fff;
    width:100px;
    margin-right:3px;
}


.swiper-rankgen-items .item.on {
    background-color: #a31717;
}

.swiper-options-items .item {
    padding: 10px 0;
    background-color: #1c2024;
    font-size: 10pt;
    font-weight: 600;
    text-align: center;
    color:#fff;
    /* width:100px; */
    /* margin-right:3px; */
    border-radius : 5px;
}

.swiper-options-items .item.on {
    background-color: #a31717;
}

.swiper-slide:hover {
    transform: none;
}

.community-tab-section .items{      
    margin-top: 33px;
    /* border: 5px solid #333; */
    border-radius: 10px;
    padding: 0px 10px;
}

.sub_community {
    display: flex;
    position: relative;
    width: 100%;
    max-width: 1140px;
    padding:  0;
    font-size: 20px;
    color:#ffffff;
}


.sub_community ul{
    display:flex;
    margin-top: 5px;
    margin-left: 30px;
    margin-bottom: 15px;
}

.sub_community ul li{
    font-weight: 600;
    border-bottom: 1px solid #fff;
    padding: 10px 0;
    margin: 0 15px;
    color: #fff;
}

.sub_community ul li.on{
    color: #a31717;
    border-bottom: 1px solid #a31717;
    font-weight: 600;
}

.search-main-section {
    margin: 40px 5px;
}


.community-main-section {
    background-color:#333;
    border-radius: 10px;
    padding: 10px;
    margin-top: 15px;
}


.community-tab-section {
    /* display: grid;
    grid-template-columns: repeat(3, 1fr); */
    margin: 5px;
}

.tab-cummunity-pc {
    color: #fff;
    /* background-color: #333; */
    /* margin-left: 10px;
    padding-left: 10px; */
    padding-top: 15px;
    padding: 0px 10px;
    /* margin-top:5px; */
}
.tab-cummunity-pc .tab-day .contents .subject {
    color: #fff;
    font-size: 10pt;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width:100%;
    /* width:300px; */
}
.tab-cummunity-pc .tab-day .img  {
    width:20%;
    min-width:50px;
    max-width:58px;
}
.tab-cummunity-pc .tab-day .img img {
    height: 50px;
    width: 50px;
}
.tab-cummunity-pc .tab-day a:first-child .img  {
    width:150px;
    max-width:100%;
}
.tab-cummunity-pc .tab-day a:first-child .img img {
    height: 150px;
    width: 150px;
}
.tab_community-list {
    color: #fff;
    /* background-color: #333; */
    /* margin-left: 10px; */
    padding-left: 10px;
    padding-top: 15px;
    padding: 0px 10px;
    border: 5px solid #333;
    /* margin-top:5px; */
    width: auto;
}

.tab_community-list .tab-title {
    height: 30px;
    text-align: left;
    margin: auto;
    justify-content: center;
    padding-top: 6px;
    font-size: 13pt;
    margin-left: -10px;
}

.tab_community-list .tab-title span{
    /* border-radius: 10px; */
    padding: 6px 10px;
    margin-top: -1px;
    background-color: #a31717;
}

.community-mobile-tab-section .tab_community-list .items .item
{
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 10px; */
    padding: 0;
    border-radius: 8px;
    min-height: 166px;
    /* border: 1px solid #eee; */
    border: 2px solid white;
}

.community-mobile-tab-section .tab_community-list .items .item .img_mission img {
    width:100%;
    height:auto;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
/* .tab-day a{
    display:flex;
    margin:10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #c9c8c847;

    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    
} */

.tab-day a {
    display: flex;
    margin: 10px 0;
    /* padding-bottom: 10px; */
    /* border-bottom: 1px solid #c9c8c847; */
    flex-direction: column;
    /* flex-wrap: nowrap; */
    align-content: center;
    /* justify-content: flex-start; */
    /* align-items: center; */
    width: 200px;
        /* width: 120px; */
}

.tab-day a:first-child{
    /* display: flex;
    margin: 10px 0;
    flex-direction: row;
    align-content: center;
    justify-content: center; */
    /* display: flex;
    margin: 10px 0;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center; */
}


.tab-day a:first-child img{
    width:150px;
    height:150px;
}


.tab-day img{
    height:50px;
    width:50px;
}

.tab-day a .contents{
    padding-left:10px;
    /* margin-top: 5px; */
}

.tab-day .contents .subject {
    color:#fff;
    font-size:10pt;
    display: -webkit-box;             /* Flexbox 대신 사용하는 레이아웃 */
    -webkit-line-clamp: 2;            /* 최대 줄 수 설정 */
    -webkit-box-orient: vertical;     /* 텍스트 방향 설정 */
    overflow: hidden;                 /* 넘치는 텍스트 숨기기 */
    text-overflow: ellipsis;          /* 초과 텍스트에 "..." 추가 */
    /* margin-bottom: 10px; */
}
.tab-day .contents .cate {
    color:#fff;
    font-size:10pt;
}



.tab-week a{
    display:flex;
}
.tab-week a .contents{
    padding-left:10px;
}

.tab-week .contents .subject {
    color:#fff;
    font-size:10pt;
}
.tab-week .contents .cate {
    color:#fff;
    font-size:10pt;
}

.tab-month a{
    display:flex;
}

.tab-month .contents .subject {
    color:#fff;
    font-size:10pt;
}
.tab-month .contents .cate {
    color:#fff;
    font-size:10pt;
}





.tab-vote a{
    display:flex;
    margin:10px 0;
    padding-bottom: 10px;
    /* border-bottom: 1px solid #c9c8c847; */
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}

.community-mobile-tab-section .tab-vote .items .item:first-child {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 10px; */
    padding: 0;
    border-radius: 8px;
    min-height: 166px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.3);
    justify-content: center;
}
.vote-list-desktop .item:first-child {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}


.tab-vote a img{
    width:150px;
    height:150px;
}
.tab-vote a:first-child img{
    width:150px;
    height:150px;
}


.tab-vote a .contents{
    padding-left:10px;
    margin-top: 5px;
}

.tab-vote .contents .subject {
    color:#fff;
    font-size:10pt;
    display: -webkit-box;             /* Flexbox 대신 사용하는 레이아웃 */
    -webkit-line-clamp: 2;            /* 최대 줄 수 설정 */
    -webkit-box-orient: vertical;     /* 텍스트 방향 설정 */
    overflow: hidden;                 /* 넘치는 텍스트 숨기기 */
    text-overflow: ellipsis;          /* 초과 텍스트에 "..." 추가 */
}
.tab-vote .contents .cate {
    color:#fff;
    font-size:10pt;
}




#wrap .search-var .detail-btn-search  {
    /* border-right:1px solid hsla(0, 0%, 100%, .1);
    border-top:1px solid hsla(0, 0%, 100%, .1);
    border-bottom:1px solid hsla(0, 0%, 100%, .1);
    padding:20px 20px 20px 25px;
    vertical-align: middle;
    background-color:#fff;


    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0; */
    /* margin-left:20px; */


    background-color: #555;
    width: 100px;
    margin-left: 10px;
    border-radius: 10px;
    font-size: 18px;
    color: #fff;
    border: 1px solid #fff;
    text-align: center;
    vertical-align: middle;
    display: flex
;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

#wrap .search-var .search-btn-options  {
    vertical-align: middle;
    background-color: #a31717;
    width:100px;
    margin-left:10px;
    border-radius: 10px;
    font-size:16px;
    color:#fff;
    border:1px solid #fff;
    text-align: center;
    vertical-align: middle;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    animation: border-glows 2s infinite linear; 
}

.community-pc-tab-section .tab-pc-cummunity-title .tab-title{
    padding: 10px 0;
    margin-top: -1px;
    background-color: #1c2024;
    border: 1px solid #000;
    margin-bottom: 5px;
    cursor:pointer;
    border-radius: 5px;
    color:#fff;
    font-size:15px;
    text-align: center;
}
.community-pc-tab-section .tab-pc-cummunity-title .tab-title.active{
    background-color: #a31717;
    border-radius: 5px;
}

@keyframes border-glows {
    0% {
      border-color: rgb(255, 255, 255);
      box-shadow: 0 0 12px rgb(241, 241, 239);
    } 
    50% {
      border-color: rgba(255, 245, 245, 0.6); /* 연한 gold */
      box-shadow: 0 0 24px rgba(238, 237, 229, 0.6);
    }
    100% {
      border-color: rgb(255, 255, 255);
      box-shadow: 0 0 12px gold;
    }
  }



#wrap .search-var .detail-btn-search .ri-search-line  {
    font-size:25px;
}

.genre-list {font-size:10pt; color:#fff; margin:0 15px; }
.genre-list .genre-title{font-size: 16pt;background: #a31717;width: 130px;text-align: center;border-radius: 5px;padding: 5px 10px;}
.genre-list .genre-items{ margin: 5px 0;background-color: #414141; justify-content: center; border-radius: 5px; padding:10px 3px; display: flex;flex-direction: row;flex-wrap: wrap;align-content: center;align-items: center;font-size:10pt; color:#fff; }
/* justify-content: flex-start; */
.genre-list .genre-items .item { background-color: #1c2024; padding: 10px 20px; border-radius: 5px; margin:5px 10px 5px 0; }
.genre-list .genre-items .item.all { background-color: #686868; color:#fff; padding: 10px 20px; border-radius: 5px; margin:5px 10px 5px 0; }
.genre-list .genre-items .item.on { background: #a31717; color:#fff;}

.options-list .genre-list-selected {     background-color: #1e1e1e;
    padding: 5px;
    border-radius: 5px;
    margin: 15px;
    display: flex
;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;}
.options-list .genre-list-selected .genre-list-items { display: flex;flex-direction: row;flex-wrap: wrap;align-content: center;justify-content: flex-start; width:calc(100% - 70px)}
.options-list .genre-list-selected .item { color: #ffffff;
    margin: 0 5px 5px 0;
    font-size: 10pt;
    background-color: #575454;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;}
/* .options-list .genre-list-selected .genre-list-searchbox { text-align: center;position: relative;display: flex; } */
.options-list .genre-list-selected .genre-list-searchbox {text-align: center;position: relative;display: flex;flex-direction: column;flex-wrap: wrap;align-content: center;justify-content: flex-end;align-items: center; }
.options-list .genre-list-selected .genre-list-searchbox .btn-options-init {
    padding-top: 18px;
    font-size: 10pt;
    height: 50px;
    width: 70px;
    background-color: #575454;
    color: #fff;
    border-radius: 5px }
.options-list .genre-list-selected .genre-list-searchbox .btn-options-search {margin-top: 10px;padding-top: 18px;font-size:10pt;height:50px; width:70px; background-color: #a31717; color:#fff; border-radius: 5px; }


.options-category .on { background: #a31717; }
/* 
.options-list .genre-items { margin: 10px;display: flex;flex-direction: row;flex-wrap: wrap;align-content: center;justify-content: flex-start;align-items: center;font-size:10pt; color:#fff; } */

.series-list {font-size:10pt; color:#fff; margin:0 15px; }
.series-list .series-items{ margin: 10px;display: grid; flex-direction: row;align-content: center;justify-content: flex-start;align-items: center; }
.series-list .series-items .item { padding: 10px 20px; width: 120px; border-radius: 5px; margin:5px 10px 5px 0; }


.search-menu-section { width: 100%; overflow: hidden; overflow-x: auto;white-space: nowrap;margin-bottom:0;}
.search-menu-section::-webkit-scrollbar {width:0px;background-color:rgba(50,50,50,0.1);display:none;}

.options-list {
  
    margin-top: -22px;
    padding:20px 0;
    margin-bottom:10px;
    display:none;
    color:#fff;
    border-radius: 5px;
    margin-bottom: 25px;
}

/* .options-list {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transition: none !important;
    pointer-events: none !important;
}
.options-list.open {
    display: block !important;
    height: auto !important;
    margin: 25px 0 !important;
    padding: 20px 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
} */



.community-pc-tab-section .tab_community-list .items{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size:14px;
    width: 100%;
}
.community-pc-tab-section .tab-day .items a {
    width:100%;
    text-align:center;
    /* height: 190px; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    padding-bottom:0;
    margin: 20px 5px;
}







.community-pc-tab-section .tab-day .items a img{
    width:120px;
    height: 120px;
}
.community-pc-tab-section .tab-day .items a:nth-child(1) img
    , .community-pc-tab-section .tab-day .items a:nth-child(2) img
    , .community-pc-tab-section .tab-day .items a:nth-child(3) img

{
    width:150px;
    height: 150px;
}


.community-pc-tab-section .tab-day.mission .items a img{
    width:120px;
    height: 80px;
}

.community-pc-tab-section .tab-day.mission .items a:nth-child(1) img
    , .community-pc-tab-section .tab-day.mission .items a:nth-child(2) img
    , .community-pc-tab-section .tab-day.mission .items a:nth-child(3) img

{
    width:150px;
    height: 100px;
}


.community-pc-tab-section .tab-vote a img
{
    
    width:120px;
    height: 120px;
}
.community-pc-tab-section .tab-vote a
{
    display: flex;
    margin: 10px 0;
    padding-bottom: 10px;
    flex-direction: column;
    align-content: center;
    width: 100%;
    height: 190px;
    justify-content: space-around;
    
    
}

.community-pc-tab-section .tab-vote .items a:nth-child(1) img
    , .community-pc-tab-section .tab-vote .items a:nth-child(2) img
    , .community-pc-tab-section .tab-vote .items a:nth-child(3) img

{
    width:120px;
    height: 150px;
    
}


.community-pc-tab-section .tab-cummunity-title {
    font-size: 13pt;
    color:#fff;
    justify-content: center;
    text-align: center; 
}

.community-tablet-tab-section .tab-vote a{
    display: flex;
    margin: 10px 0;
    border-bottom: 1px solid #c9c8c847;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 12px 0 22px 0;
}


/* .community-tablet-tab-section .tab_community-list{
    min-height: 1065px;
} */







/* 태블릿 버전 (화면 너비가 768px 이상 1024px 이하일 때) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .search-menu-section ul li {
        margin: 0 35px;
    }
}
@media screen and (max-width: 1150px) {
    #contents { max-width:100%; padding : 0px 10px}
}
@media screen and (max-width: 767px) {

    .community-tablet-tab-section .tab_community-list .items .img_mission img{
        aspect-ratio: 100 / 50;
        width: 100%;
        height: auto;
        object-fit: cover
    }
    #contents { max-width:100%; }
    #sub_ch{
        /* padding: 0; */
    }

    .community-title {
        /* margin:0 5px;  */
    }

    .search-menu-section ul {
    }

    .search-menu-section ul li {
        font-size: 10pt;
        margin: 0px 20px;
        width: 100%;
        padding: 10px 0px;
        background-color: #1c2024;
        border-radius: 3px;
    }

    #wrap .search-var input {
        /* padding: 0; */
        font-size: 10pt;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
       
    }
    
    #wrap .search-var input:focus {
        color:#000;
    }


    #wrap .search-var .detail-btn-search {
        /* padding: 15px 20px 15px 25px; */
        /* background-color:#fff;
        color:#000; */
        /* border:0px; */
    }
        
    
    #wrap .search-var .btn-search {
        padding: 15px 20px 15px 25px;
    }
        
    .search-main-section {
        margin: 20px 0px;
    }
    .sub_community { margin-bottom:15px;}
    .sub_community ul { margin: auto;text-align: center;justify-content: center; }   
    
    

    .community-tab-section {
        display:none;
    }


    .community-mobile-tab-section {
        /* display: grid;
        grid-template-columns: repeat(1, 1fr); */
    }
    .community-mobile-tab-section .tab-cummunity-title {
        font-size: 13pt;
        color:#fff;
        justify-content: center;
        text-align: center; 
    }
    .community-mobile-tab-section .tab-cummunity-title .tab-title{
        padding: 10px 0;
        margin-top: -1px;
        background-color: #1c2024;
        border: 1px solid #000;
        margin-bottom: 5px;
        cursor:pointer;
        border-radius: 5px;
    }
    .community-mobile-tab-section .tab-cummunity-title .tab-title.active{
        background-color: #a31717;
        border-radius: 5px;
    }


    .community-mobile-tab-section .tab_community-title {
        font-size: 13pt;
        color:#fff;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        text-align: center;
    }
    .community-mobile-tab-section .tab_community-title .tab-title{
        padding: 10px 0;
        margin-top: -1px;
        background-color: #1c2024;
        border: 1px solid #000;
        margin-bottom: 5px;
        cursor:pointer;
        border-radius: 5px;
    }
    .community-mobile-tab-section .tab_community-title .tab-title.active{
        background-color: #a31717;
        border-radius: 5px;
    }
    .community-mobile-tab-section .tab_community-list{
        display:none;
    }
    .community-mobile-tab-section .tab_community-list.active{
        display:block;
        margin-left:0;
    }
    .community-mobile-tab-section .tab_community-list .items .img img{
        height:80px;
        width:80px;
    }
    .community-mobile-tab-section .tab_community-list .items .item:first-child .img img{
        height:120px;
        width:120px;
    }
    .community-mobile-tab-section .tab_community-list .items .contents{
        padding-left: 10px;
        margin-top: 0;
        width:70%;

    }
    .community-mobile-tab-section .tab_community-list .items .contents .subject{
        font-size:10pt;
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden; 
        text-overflow: ellipsis;   
    }
    .community-mobile-tab-section .tab_community-list .items .item:first-child .contents .subject 
    {
        white-space: normal;
        width:100%;
        font-size:12pt;
        text-align: center;
        margin-top: 5px;
        margin-bottom: 5px;
    }


    
    .community-mobile-tab-section .tab-day a{
        display:flex;
        margin:10px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #c9c8c847;

        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .community-mobile-tab-section .tab-vote a{
        display:flex;
        margin:10px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #c9c8c847;

        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }
    

    .community-tablet-tab-section {
        /* display: grid;
        grid-template-columns: repeat(1, 1fr); */
    }
    .community-tablet-tab-section .tab-cummunity-title {
        font-size: 13pt;
        color:#fff;
        justify-content: center;
        text-align: center; 
    }
    .community-tablet-tab-section .tab-cummunity-title .tab-title{
        padding: 10px 0;
        margin-top: -1px;
        background-color: #1c2024;
        border: 1px solid #000;
        margin-bottom: 5px;
        cursor:pointer;
        border-radius: 5px;
    }
    .community-tablet-tab-section .tab-cummunity-title .tab-title.active{
        background-color: #a31717;
        border-radius: 5px;
    }


    .community-tablet-tab-section .tab-tablet-cummunity-title {
        font-size: 13pt;
        color:#fff;
        /* display: grid;
        grid-template-columns: repeat(3, 1fr); */
        justify-content: center;
        text-align: center;
    }
    .community-tablet-tab-section .tab-tablet-cummunity-title .tab-title{
        padding: 10px 0;
        margin-top: -1px;
        background-color: #1c2024;
        border: 1px solid #000;
        margin-bottom: 5px;
        cursor:pointer;
        border-radius: 5px;
    }
    .community-tablet-tab-section .tab-tablet-cummunity-title .tab-title.active{
        background-color: #a31717;
        border-radius: 5px;
    }
    .community-tablet-tab-section .tab_community-list{
        display:none;
    }
    
    .community-tablet-tab-section .tab_community-list.active{
        display:block;
        margin-left:0;
    }
    .community-tablet-tab-section .tab_community-list .items .img img{
        height:40px;
        width:40px;
    }
    .community-tablet-tab-section .tab_community-list .items .item:first-child .img img{
        height:100px;
        width:100px;
    }
    .community-tablet-tab-section .tab_community-list .items .contents{
        padding-left: 10px;
        margin-top: 0;

    }
    .community-tablet-tab-section .tab_community-list .items .contents .subject{
        font-size:10pt;
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden; 
        text-overflow: ellipsis;  
        margin-top:10px; 
    }
    .community-tablet-tab-section .tab_community-list .items  {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .community-tablet-tab-section .tab_community-list .items .img img{
        height:150px;
        width:150px;
    }

    .community-tablet-tab-section .tab_community-list .itemlist .img img{
        height:80px;
        width:80px;
        object-fit: cover;
    }
    .community-tablet-tab-section .tab_community-list .itemlist .contents{
        padding-left: 10px;
        margin-top: 0;
        width:80%;
    }
    .community-tablet-tab-section .tab_community-list .itemlist .contents .subject{
        font-size:10pt;
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden; 
        text-overflow: ellipsis;   
    }
    .community-tablet-tab-section .tab_community-list .itemlist .item:first-child .contents .subject 
    {
        white-space: normal;
        width:100%;
        font-size:10pt;
    }
    
    .community-tablet-tab-section .tab-day a:first-child{
        display:flex;
        margin:10px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #c9c8c847;

        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
    }
    .community-tablet-tab-section .tab-vote .items a:nth-child(1)
        , .community-tablet-tab-section .tab-vote .items a:nth-child(2)
        , .community-tablet-tab-section .tab-vote .itemsa:nth-child(3)
    {
        min-height:187px;
    }
    
    .community-tablet-tab-section .tab-vote a{
            display: flex;
            margin: 10px 0;
            border-bottom: 1px solid #c9c8c847;
            flex-direction: column;
            flex-wrap: nowrap;
            align-content: center;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 12px 0 22px 0;
    }

    
    .community-tablet-tab-section .tab-day a{
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        border-bottom: 1px solid #c9c8c847;
    }


    .tab-day a:first-child img{
        width:50px;
        height: 50px;
    }

  

    .community-tablet-tab-section .tab-vote .items .item:nth-child(1)
    , .community-tablet-tab-section .tab-vote .items .item:nth-child(2)
    , .community-tablet-tab-section .tab-vote .items .item:nth-child(3)
    {
        justify-content: center;
    }

    .community-tablet-tab-section .tab_community-list .items a:nth-child(1)
    , .community-tablet-tab-section .tab_community-list .items a:nth-child(2)
    , .community-tablet-tab-section .tab_community-list .items a:nth-child(3)
    {
        /* display: flex;
        margin: 10px 0;
        flex-direction: row;
        align-content: center;
        justify-content: center; */
        display: flex;
        margin: 10px 0;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        /* box-shadow: 0 4px 6px rgba(255, 255, 255, 0.3); */
        width: 40%;
        max-width: 40%;
        /* min-height: 167px; */
    }


    .options-list {
        margin-top:0;
    }
}


@media screen and (max-width: 360px) {
    #contents { max-width:100%; }

    .tab-day a:first-child img {
        aspect-ratio: 100 / 50;
        width: 100%;
        height: auto;
        object-fit: cover
    }
    .search-menu-section ul li { margin: 0 5px; }
    #sub_ch {
        height: 40px;
    }
    #sub_ch a {
        font-size:8px;
        white-space: nowrap;
    }

    #wrap .search-var {
        margin: 35px 0;
    }

    #wrap .search-var input {
        font-size: 11px;
        height: 45px;
    }
    #wrap .search-var .detail-btn-search {
        /* height: 45px;
        padding: 10px 15px 15px 0; */
    }
    #wrap .search-var .search-btn-options {
        font-size: 13px;
    }
    
    .community-title {
        height: 30px;
        display: flex;
        /* margin: 0 5px;  */
        height: 30px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .community-title.on {
        height: 30px;
        display: flex;
    }
    .options-list {
        margin-top:-22px;
    }
}

@media screen and (max-width: 500px) { 
    #wrap .search-var .detail-btn-search  { 
        font-size:15px;
    }
    #wrap .search-var .search-btn-options{
        font-size:13px;  
    }
    #wrap .search-var {
        margin:0;
    }  
    .options-list {
        margin-bottom: -20px;
    }
}
/* 태블릿 버전 (화면 너비가 768px 이상 1024px 이하일 때) */
@media screen and (min-width: 768px)  {
    

    .community-tablet-tab-section {
        /* display: grid;
        grid-template-columns: repeat(1, 1fr); */
    }
    .community-tablet-tab-section .tab-cummunity-title {
        font-size: 13pt;
        color:#fff;
        justify-content: center;
        text-align: center; 
    }
    .community-tablet-tab-section .tab-cummunity-title .tab-title{
        padding: 10px 0;
        margin-top: -1px;
        background-color: #1c2024;
        border: 1px solid #000;
        margin-bottom: 5px;
        cursor:pointer;
        border-radius: 5px;
    }
    .community-tablet-tab-section .tab-cummunity-title .tab-title.active{
        background-color: #a31717;
        border-radius: 5px;
    }


    .community-tablet-tab-section .tab-tablet-cummunity-title {
        font-size: 13pt;
        color:#fff;
        /* display: grid;
        grid-template-columns: repeat(3, 1fr); */
        justify-content: center;
        text-align: center;
    }
    .community-tablet-tab-section .tab-tablet-cummunity-title .tab-title{
        padding: 10px 0;
        margin-top: -1px;
        background-color: #1c2024;
        border: 1px solid #000;
        margin-bottom: 5px;
        cursor:pointer;
        border-radius: 5px;
    }
    .community-tablet-tab-section .tab-tablet-cummunity-title .tab-title.active{
        background-color: #a31717;
        border-radius: 5px;
    }
    .community-tablet-tab-section .tab_community-list{
        display:none;
    }
    
    .community-tablet-tab-section .tab_community-list.active{
        display:block;
        margin-left:0;
        /* min-height:1065px; */
    }
    .community-tablet-tab-section .tab_community-list .items .img img{
        height:40px;
        width:40px;
    }
    .community-tablet-tab-section .tab_community-list .items .item:first-child .img img{
        /* height:100px;
        width:100px; */
        /* height: auto;
        width: 100%;
        aspect-ratio: 3 / 1;
        object-fit: cover; */
    }
    .community-tablet-tab-section .tab_community-list .items .contents{
        padding-left: 10px;
        margin-top: 0;

    }
    .community-tablet-tab-section .tab_community-list .items .contents .subject{
        width:120px;
        font-size:10pt;
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden; 
        text-overflow: ellipsis;
        margin-top: 10px;   
    }
    .community-tablet-tab-section .tab_community-list .items  {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .community-tablet-tab-section .tab_community-list .items .img img{
            height: 150px;
            width: 120px;
    }
    .community-tablet-tab-section .tab_community-list .items .img_mission img{
        aspect-ratio: 2 / 1;
        width: 100%;
        height: 120px;
        object-fit: cover;
    }

    .community-tablet-tab-section .tab_community-list .itemlist .img img{
        height:80px;
        width:80px;
        object-fit: cover;
        /* margin-bottom: 10px; */
    }
    .community-tablet-tab-section .tab_community-list .itemlist .contents{
        padding-left: 10px;
        margin-top: 0;

    }
    .community-tablet-tab-section .tab_community-list .itemlist .contents .subject{
        font-size: 12pt;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        /* margin-top: -5px;  */
    }
    .community-tablet-tab-section .tab_community-list .itemlist .item:first-child .contents .subject 
    {
        white-space: normal;
        width:100%;
        font-size:12pt;
    }
    
    .community-tablet-tab-section .tab-day a{
        display:flex;
        margin:0;
        /* padding-bottom: 10px; */
        padding:10px 0px;
        border-bottom: 1px solid #c9c8c847;
        /* border:3px solid white; */
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        width:100%;        
    }
    .community-tablet-tab-section .tab-day a:first-child{
        /* display:flex;
        margin:10px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #c9c8c847;

        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center; */
        display: flex;
        margin: 0;
        /* padding-bottom: 10px; */
        /* padding-top: 10px; */
        padding:10px 0px;
        border-bottom: 1px solid #c9c8c847;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        
    }

    .tab-day a:first-child img{
        height:50px;
        width:50px;
    }

    /* .community-tablet-tab-section .tab-vote .items .item:nth-child(1)
    , .community-tablet-tab-section .tab-vote .items .item:nth-child(2)
    , .community-tablet-tab-section .tab-vote .items .item:nth-child(3)
    {
        justify-content: center;
    } */

    .community-tablet-tab-section .tab_community-list .items a:nth-child(1)
    , .community-tablet-tab-section .tab_community-list .items a:nth-child(2)
    , .community-tablet-tab-section .tab_community-list .items a:nth-child(3)
    {
        /* display: flex;
        margin: 10px 0;
        flex-direction: row;
        align-content: center;
        justify-content: center; */
        display: flex;
        margin: 10px 0;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        box-shadow: 0 4px 6px rgba(255, 255, 255, 0.3);
        width: 30%;
        min-height: 167px;
    }


}