@charset "utf-8";

/* =========================================================
   공식보증업체 - 사이트 다크/골드 컨셉 카드형 리스트
   참고 이미지 구조:
   이미지 / 사이트이름 / 가입코드 / 상세보기 / 바로가기
   ========================================================= */

.tanga-official-board{
    position:relative;
    width:100%;
    margin:0 0 28px;
    padding:0 !important;
    border:0 !important;
    outline:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#f1f1f1;
}

.tanga-official-head{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    margin:0 0 28px;
    padding:6px 0 2px;
    border:0;
    background:transparent;
    box-shadow:none;
}

.tanga-official-head-left{
    display:flex;
    align-items:center;
    gap:16px;
}

.tanga-official-head-left > div{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.tanga-official-mark{
    display:block;
    flex:0 0 auto;
    width:12px !important;
    height:40px !important;
    min-width:12px !important;
    max-width:12px !important;
    min-height:40px !important;
    max-height:40px !important;
    border-radius:999px;
    background:#F4BE24;
    box-shadow:0 0 14px rgba(244,190,36,.14);
    align-self:center;
}

.tanga-official-head h2{
    margin:0;
    padding:0;
    color:#F4BE24;
    font-size:22px;
    font-weight:900;
    line-height:1.15;
    letter-spacing:-0.02em;
    white-space:nowrap;
}

.tanga-official-head p{
    margin:0;
    padding:0;
    color:#d0d0d0;
    font-size:15px;
    font-weight:700;
    line-height:1.4;
    letter-spacing:-0.01em;
}

/* 카드 3열 */
.tanga-official-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    width:100%;
}

/* 카드 */
.tanga-official-card{
    min-width:0;
    overflow:hidden;

    border:1px solid #3b3b3b;
    border-radius:10px;

    background:#202020;
    box-shadow:0 6px 18px rgba(0,0,0,.18);
}

/* 이미지 */
.tanga-official-thumb{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:720 / 500;
    overflow:hidden;
    background:#111;
    text-decoration:none;
}

.tanga-official-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .18s ease;
}

.tanga-official-card:hover .tanga-official-thumb img{
    transform:scale(1.015);
}

/* 정보표 */
.tanga-official-info{
    margin:0 12px;
    border:1px solid #3d3d3d;
    border-top:0;
    border-radius:0 0 6px 6px;
    overflow:hidden;
    background:#1c1c1c;
}

.tanga-official-info-row{
    display:grid;
    grid-template-columns:110px minmax(0,1fr);
    min-height:48px;
}

.tanga-official-info-row + .tanga-official-info-row{
    border-top:1px solid #393939;
}

.tanga-official-info-label{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:8px 10px;

    background:#292929;
    color:#d9d9d9;

    font-size:12px;
    font-weight:700;
    white-space:nowrap;
}

.tanga-official-info-value{
    display:flex;
    align-items:center;
    justify-content:center;

    min-width:0;
    padding:8px 12px;

    background:#1d1d1d;
    color:#efefef;

    font-size:13px;
    font-weight:700;
    text-align:center;

    word-break:break-word;
}

.tanga-official-code{
    color:#F4BE24;
    -webkit-text-fill-color:#F4BE24;
    font-size:14px;
    font-weight:800;
}

/* 하단 버튼 */
.tanga-official-card-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;

    padding:12px;
}

.tanga-official-detail-btn,
.tanga-official-go-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;

    width:100%;
    min-width:0;
    height:40px;
    padding:0 10px;

    border-radius:6px;

    font-size:12px;
    font-weight:800;
    line-height:1;
    text-decoration:none !important;

    transition:filter .15s ease, border-color .15s ease;
}

.tanga-official-detail-btn{
    border:1px solid #565656;
    background:#262626;
    color:#f0f0f0 !important;
    -webkit-text-fill-color:#f0f0f0 !important;
}

.tanga-official-detail-btn:hover{
    border-color:#F4BE24;
}

.tanga-official-go-btn{
    border:1px solid #F4BE24 !important;
    background:#F4BE24 !important;
    background-image:none !important;
    color:#111 !important;
    -webkit-text-fill-color:#111 !important;
    font-weight:900 !important;
    opacity:1 !important;
    filter:none !important;
    box-shadow:none !important;
}

.tanga-official-go-btn:hover{
    border-color:#F7C62E !important;
    background:#F7C62E !important;
    filter:none !important;
}

.tanga-official-go-btn.is-disabled{
    opacity:.42;
    cursor:default;
}

/* 게시글 목록 하단 관리자/글쓰기 = 먹튀사이트 게시판과 동일 */
.tanga-official-actions{
    position:static !important;
    float:none !important;
    clear:both !important;
    transform:none !important;

    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:6px !important;

    width:100% !important;
    margin:14px 0 0 !important;
    padding:0 2px !important;

    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

.tanga-official-admin-btn,
.tanga-official-write-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    min-width:62px !important;
    width:auto !important;
    height:31px !important;
    min-height:31px !important;
    padding:0 11px !important;
    margin:0 !important;

    border-radius:5px !important;
    font-size:10px !important;
    font-weight:700 !important;
    line-height:1 !important;
    text-decoration:none !important;
    box-shadow:none !important;
}

.tanga-official-admin-btn{
    border:1px solid #414141 !important;
    background:#292929 !important;
    color:#c8c8c8 !important;
    -webkit-text-fill-color:#c8c8c8 !important;
}

.tanga-official-write-btn{
    border:1px solid #F4BE24 !important;
    background:#F4BE24 !important;
    color:#111 !important;
    -webkit-text-fill-color:#111 !important;
    font-weight:800 !important;
}

/* 페이지번호 = 먹튀사이트 게시판 느낌과 동일 */
.tanga-official-paging{
    width:100%;
    margin:18px 0 20px;
    text-align:center;
}

.tanga-official-paging .pg_wrap,
.tanga-official-paging .pg{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0;
    margin:0 auto !important;
    float:none;
}

.tanga-official-paging .pg_page,
.tanga-official-paging .pg_current{
    min-width:44px;
    height:44px;
    line-height:44px;
    margin:0 7px;
    border:0;
    border-radius:10px;
    background:transparent;
    color:#d9d9d9;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
    box-shadow:none;
}

.tanga-official-paging .pg_current{
    background:#F4BE24;
    color:#111;
}

.tanga-official-paging .pg_start,
.tanga-official-paging .pg_prev,
.tanga-official-paging .pg_next,
.tanga-official-paging .pg_end{
    color:#8f8572;
    background:transparent;
}

/* 검색창 = 먹튀사이트 게시판과 동일한 간격/폭 */
.tanga-official-search{
    position:static !important;
    float:none !important;
    clear:both !important;
    width:560px !important;
    max-width:calc(100% - 30px) !important;
    margin:0 auto 20px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

.tanga-official-search legend{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
}

.tanga-official-search form{
    display:grid !important;
    grid-template-columns:100px minmax(0,350px) 90px !important;
    gap:10px !important;
    align-items:center !important;
    justify-content:center !important;
    width:560px !important;
    max-width:100% !important;
    margin:0 auto !important;
}

.tanga-official-select,
.tanga-official-search-input,
.tanga-official-search-btn{
    height:40px;
    border-radius:10px;
    font-family:inherit;
    box-sizing:border-box;
}

.tanga-official-select,
.tanga-official-search-input{
    border:1px solid #4a4a4a;
    background:#262626;
    color:#f2f2f2;
    outline:0;
    box-shadow:none;
}

.tanga-official-select{
    padding:0 12px;
    font-size:10px;
    font-weight:800;
}

.tanga-official-search-input{
    min-width:0;
    padding:0 14px;
    font-size:10px;
    font-weight:700;
}

.tanga-official-search-input::placeholder{
    color:#7e776d;
    opacity:1;
}

.tanga-official-search-btn{
    border:1px solid #F4BE24;
    background:#F4BE24;
    color:#111;
    font-size:10px;
    font-weight:900;
    cursor:pointer;
}

@media(max-width:767px){
    .tanga-official-actions{
        margin-top:11px !important;
        gap:5px !important;
        padding:0 1px !important;
    }

    .tanga-official-admin-btn,
    .tanga-official-write-btn{
        min-width:56px !important;
        height:29px !important;
        min-height:29px !important;
        padding:0 9px !important;
        font-size:9px !important;
    }

    .tanga-official-paging{
        margin:15px 0 16px;
    }

    .tanga-official-paging .pg_page,
    .tanga-official-paging .pg_current{
        min-width:34px;
        height:34px;
        line-height:34px;
        margin:0 3px;
        border-radius:8px;
        font-size:13px;
    }

    .tanga-official-search{
        width:100% !important;
        max-width:100% !important;
        margin:0 auto 16px !important;
    }

    .tanga-official-search form{
        width:100% !important;
        grid-template-columns:1fr !important;
        gap:8px !important;
    }

    .tanga-official-select,
    .tanga-official-search-input,
    .tanga-official-search-btn{
        height:40px;
        font-size:10px;
    }

    .tanga-official-select{
        padding:0 10px;
    }

    .tanga-official-search-input{
        padding:0 12px;
    }
}

/* 비어있을 때 */
.tanga-official-empty{
    grid-column:1 / -1;

    display:flex;
    align-items:center;
    justify-content:center;

    min-height:220px;

    border:1px solid #343434;
    border-radius:10px;

    background:#202020;
    color:#6f6f6f;

    font-size:13px;
}

/* 태블릿 */
@media(max-width:1100px){
    .tanga-official-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px;
    }
}

/* 모바일 */
@media(max-width:700px){
    .tanga-official-head{
        margin-bottom:18px;
        padding-top:4px;
    }

    .tanga-official-head-left{
        gap:12px;
    }

    .tanga-official-head-left > div{
        gap:10px;
    }

    .tanga-official-mark{
        width:11px !important;
        height:36px !important;
        min-width:11px !important;
        max-width:11px !important;
        min-height:36px !important;
        max-height:36px !important;
    }

    .tanga-official-head h2{
        font-size:18px;
    }

    .tanga-official-head p{
        font-size:12px;
        line-height:1.35;
    }

    .tanga-official-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .tanga-official-info{
        margin:0 9px;
    }

    .tanga-official-info-row{
        grid-template-columns:92px minmax(0,1fr);
        min-height:44px;
    }

    .tanga-official-info-label,
    .tanga-official-info-value{
        font-size:11px;
    }

    .tanga-official-code{
        font-size:12px;
    }

    .tanga-official-card-actions{
        gap:7px;
        padding:9px;
    }

    .tanga-official-detail-btn,
    .tanga-official-go-btn{
        height:37px;
        font-size:11px;
    }

    .tanga-official-actions{
        margin-top:11px;
    }

    .tanga-official-admin-btn,
    .tanga-official-write-btn{
        min-width:56px;
        height:29px;
        padding:0 9px;
        font-size:9px;
    }

    .tanga-official-paging{
        margin:16px 0 14px;
    }

    .tanga-official-paging .pg_page,
    .tanga-official-paging .pg_current{
        min-width:34px;
        height:34px;
        line-height:34px;
        margin:0 3px;
        border-radius:8px;
        font-size:13px;
    }

    .tanga-official-search{
        margin:0 0 16px;
    }

    .tanga-official-search form{
        grid-template-columns:96px minmax(0,1fr) 82px;
        gap:8px;
    }

    .tanga-official-select,
    .tanga-official-search-input,
    .tanga-official-search-btn{
        height:42px;
        border-radius:10px;
        font-size:11px;
    }

    .tanga-official-select{
        padding:0 10px;
    }

    .tanga-official-search-input{
        padding:0 12px;
    }
}
/* ========================================================= */


#bo_list.tanga-official-board,
.tanga-official-board#bo_list{
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

#bo_list.tanga-official-board::before,
#bo_list.tanga-official-board::after{
    display:none !important;
    content:none !important;
}

@media(max-width:700px){
    .tanga-official-head{
        margin-bottom:18px;
        padding-top:6px;
    }

    .tanga-official-head-left{
        gap:12px;
    }

    .tanga-official-head-left > div{
        gap:8px;
    }

    .tanga-official-mark{
        width:10px !important;
        height:32px !important;
        min-width:10px !important;
        max-width:10px !important;
        min-height:32px !important;
        max-height:32px !important;
    }

    .tanga-official-head h2{
        font-size:17px;
    }

    .tanga-official-head p{
        font-size:11px;
        line-height:1.35;
    }
}


/* official header yellow bar size hard override */
#bo_list .tanga-official-head .tanga-official-mark,
.tanga-official-board .tanga-official-head .tanga-official-mark{
    width:12px !important;
    height:40px !important;
    min-width:12px !important;
    max-width:12px !important;
    min-height:40px !important;
    max-height:40px !important;
}

@media (max-width:700px){
    #bo_list .tanga-official-head .tanga-official-mark,
    .tanga-official-board .tanga-official-head .tanga-official-mark{
        width:10px !important;
        height:32px !important;
        min-width:10px !important;
        max-width:10px !important;
        min-height:32px !important;
        max-height:32px !important;
    }
}
