/* 웹툰·이슈 Q&A 카드 목록 — 퍼블 board_* 보완(검색유형 select·빈 결과) */
#wrap .board_filter .webtoon-search-type {
    width: auto;
    min-width: 110px;
    height: 48px;
    flex-shrink: 0;
}

.webtoon-empty {
    margin: 48px 0;
    text-align: center;
    font-size: var(--text-17);
    color: var(--gray-70);
}

.webtoon-thumb-empty {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gray-20);
}

.board_card_info > span {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* 메인·메가메뉴 축소 비율에 맞춘 웹툰 목록 밀도 */
#container:has(#frm_webtoonSearch, #frm_issueQaSearch) {
    padding-bottom: 0;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) {
    padding-bottom: 36px;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .board_page {
    gap: 28px;
    padding-bottom: 0;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .board_filter {
    padding: 16px 24px;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .board_filter_row {
    gap: 16px;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) :is(.webtoon-search-type, .board_filter input[type="search"], .board_filter_btn) {
    height: 44px;
    font-size: var(--text-17);
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .board_filter_divider {
    height: 44px;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .board_result_head {
    min-height: 56px;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .board_card_list {
    gap: 14px;
    padding-block: 20px;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .board_card {
    gap: 12px;
    padding: 12px;
}

#contents:has(#frm_issueQaSearch) .board_card[aria-disabled="true"] {
    pointer-events: none;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .board_card_info > span {
    font-size: var(--text-17);
    line-height: 1.45;
}

#contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .paging {
    margin-top: 20px;
}

@media (max-width: 640px) {
    #contents:has(#frm_webtoonSearch, #frm_issueQaSearch) {
        padding-bottom: 28px;
    }

    #contents:has(#frm_webtoonSearch, #frm_issueQaSearch) .board_page {
        gap: 20px;
    }
}
