@charset "utf-8";
/*
 * 1:1 문의 목록 — 참고 사이트(yyychild-love.com) QA 마크업·스타일 정합
 * 반드시 .ttdr-qa-yyy-match 래퍼 안에서만 적용됩니다.
 */

.ttdr-qa-yyy-match {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 var(--ttdr-z-mo-gutter, 16px) var(--ttdr-z-space-48, 48px);
    font-family: Pretendard, "Pretendard Variable", "PretendardVariable", "Noto Sans KR", sans-serif;
}

/* thema Basic: .sub_container_wrap .inner_area */
.ttdr-qa-yyy-match .inner_area {
    max-width: 980px;
    margin: 69px auto 150px;
    padding: 0;
    box-sizing: border-box;
}

.ttdr-qa-yyy-match .clearfix:after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    content: "";
}

/* 서브 비주얼 (inner_area 밖, 전폭) */
.ttdr-qa-yyy-match .sub_visual {
    margin: 0 calc(-1 * var(--ttdr-z-mo-gutter, 16px)) 0;
    padding: 95px 16px;
    background: #f0f0f0;
    text-align: center;
}

.ttdr-qa-yyy-match .sub_visual h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #1d1d1d;
}

.ttdr-qa-yyy-match .sub_visual .sub_desc {
    display: block;
    margin: 25px 0 0;
    color: #676767;
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1.5;
}

/* 안내 박스 */
.ttdr-qa-yyy-match .item_notice {
    padding: 32px 30px;
    margin: 0 0 40px;
    overflow: hidden;
    background: #ffeaa3;
}

.ttdr-qa-yyy-match .item_notice .ico_noti {
    float: left;
    display: table;
    width: 105px;
    height: 105px;
    margin: 0 30px 0 0;
    border-radius: 50%;
    text-align: center;
    background: #fff;
    color: #e05552;
}

.ttdr-qa-yyy-match .item_notice .ico_noti span {
    display: table-cell;
    font-size: 49px;
    font-weight: 600;
    vertical-align: middle;
    letter-spacing: -0.05em;
    line-height: 1;
}

.ttdr-qa-yyy-match .item_notice .txt_noti {
    float: left;
    overflow: hidden;
}

.ttdr-qa-yyy-match .txt_noti .noti_title {
    margin: 0;
    color: #313131;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.05em;
}

.ttdr-qa-yyy-match .noti_title b {
    display: inline-block;
    margin: 0 4px 0 0;
    color: #e05552;
}

.ttdr-qa-yyy-match .item_notice .noti_desc {
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.025em;
    color: #313131;
}

.ttdr-qa-yyy-match .item_notice .noti_lnk {
    margin: 15px 0 0;
}

.ttdr-qa-yyy-match .noti_lnk a {
    display: inline-block;
    width: 360px;
    max-width: 100%;
    height: 55px;
    margin: 0 10px 10px 0;
    border: 2px solid #fd9a27;
    border-radius: 10px;
    background: #fff;
    color: #ff7f00;
    font-size: 22px;
    font-weight: 600;
    line-height: 51px;
    letter-spacing: -0.05em;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

.ttdr-qa-yyy-match .noti_lnk a:last-child {
    margin-right: 0;
}

.ttdr-qa-yyy-match .noti_lnk a:hover {
    filter: brightness(0.98);
}

/* 상단: 참고 사이트 qa_btn_area(문의만) + 검색·관리 보조 */
.ttdr-qa-yyy-match .qa_toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
    margin: 20px 0 0;
}

.ttdr-qa-yyy-match .qa_toolbar__extras {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

/* 문의하기 버튼 줄 (참고: .qa_btn_area 단독) */
.ttdr-qa-yyy-match .qa_btn_area {
    display: block;
    margin: 0 0 15px;
}

.ttdr-qa-yyy-match .qa_list form .qa_btn_area {
    margin: 20px 0 0;
}

.ttdr-qa-yyy-match .qa_btn_area .btn_write {
    float: right;
    display: block;
    width: 120px;
    height: 38px;
    margin: 0;
    border-radius: 18px;
    background: #ff9a0f;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 39px;
    letter-spacing: -0.025em;
    text-align: center;
    text-decoration: none;
    transition: 0.2s all;
}

.ttdr-qa-yyy-match .qa_btn_area .btn_write:hover {
    background: #ffb44d;
}

.ttdr-qa-yyy-match .qa_icon_btn {
    min-width: 40px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #d0d0d0;
    border-radius: 18px;
    background: #fff;
    color: #313131;
    cursor: pointer;
}

.ttdr-qa-yyy-match .qa_icon_btn:hover {
    border-color: #ff9a0f;
    color: #ff9a0f;
}

/* 카테고리 탭 */
.ttdr-qa-yyy-match .list_cate {
    margin: 0 0 20px;
}

.ttdr-qa-yyy-match .list_cate ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 2px;
}

.ttdr-qa-yyy-match .list_cate li {
    float: none;
    flex: 1 1 0;
    min-width: 92px;
    margin: 0;
}

.ttdr-qa-yyy-match .list_cate li a {
    display: block;
    width: 100%;
    padding: 19px 8px;
    background: #eaeaea;
    color: #6c6c6c;
    font-size: clamp(15px, 2.1vw, 22px);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.ttdr-qa-yyy-match .list_cate li.active a {
    background: #ffd036;
    color: #313131;
}

/* 표 */
.ttdr-qa-yyy-match .list_board {
    margin: 0 0 20px;
}

.ttdr-qa-yyy-match .tbl_layout02 {
    border-bottom: 1px solid #b2b2b2;
}

.ttdr-qa-yyy-match .tbl_layout02 table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 tr.qa_tbl_head th {
    position: relative;
    padding: 15px 8px;
    border-top: 2px solid #313131;
    color: #313131;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    text-align: center;
    vertical-align: middle;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 tr.qa_tbl_head th:after {
    display: none;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 tr.qa_tbl_head .qa_tbl_th_chk {
    padding: 10px 6px;
    font-size: 14px;
    font-weight: 600;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 tr.board-list:hover td {
    background: #fafafa;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 td {
    padding: 20px 12px;
    border-top: 1px solid #b2b2b2;
    color: #313131;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.015em;
    text-align: center;
    vertical-align: middle;
    word-break: keep-all;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 .vw_subj {
    max-width: 0;
    padding: 20px 0 20px 25px;
    overflow: hidden;
    text-align: left;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 .vw_subj a,
.ttdr-qa-yyy-match .list_board .tbl_layout02 .vw_subj a.ellipsis {
    display: block;
    overflow: hidden;
    color: #313131;
    font-weight: 500;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 .vw_subj a:hover {
    color: #e05552;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 .reply {
    color: #707070;
    font-weight: 500;
}

/* 완료: 참고 HTML — <div class="reply qa_spot"> */
.ttdr-qa-yyy-match .list_board .tbl_layout02 .reply.qa_spot {
    color: #e05552;
    font-weight: 500;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 .qa_spot {
    color: #e05552;
    font-weight: 500;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 caption {
    padding: 12px;
    caption-side: top;
    color: #676767;
    font-size: 14px;
    text-align: left;
}

.ttdr-qa-yyy-match .list_board .empty_table {
    padding: 40px 16px !important;
    color: #888;
}

.ttdr-qa-yyy-match .list_board .tbl_layout02 td.list-item {
    font-weight: 600;
    color: #555;
}

/* 페이지네이션 — form 밖, 참고 .list-page .pagination { margin:50px 0 0 } */
.ttdr-qa-yyy-match .qa_list_wrap .list-page {
    margin: 50px 0 0;
    text-align: center;
}

.ttdr-qa-yyy-match .qa_list_wrap .list-page .pg_wrap {
    clear: both;
    margin: 0;
}

.ttdr-qa-yyy-match .qa_list_wrap .pg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.ttdr-qa-yyy-match .qa_list_wrap .pg a,
.ttdr-qa-yyy-match .qa_list_wrap .pg span {
    min-width: 34px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #313131 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-indent: 0 !important;
}

.ttdr-qa-yyy-match .qa_list_wrap .pg .pg_current {
    border-color: #ff9a0f;
    background: #ff9a0f;
    color: #fff !important;
}

/* 하단 관리 버튼 */
.ttdr-qa-yyy-match .bo_fx {
    margin: 24px 0 0;
    padding: 0;
}

.ttdr-qa-yyy-match .bo_fx .btn_bo_user {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ttdr-qa-yyy-match .bo_fx .btn_bo_user li {
    float: none;
    margin: 0;
}

.ttdr-qa-yyy-match .more_opt li {
    float: none !important;
    width: auto !important;
    min-width: 140px;
}

/* 검색 레이어 — 스킨 기본 유지, 위치만 보조 */
.ttdr-qa-yyy-match .qa_toolbar__extras .bo_sch_wrap {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    margin-top: 8px;
}

.ttdr-qa-yyy-match .qa_mo_sch {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid #b2b2b2;
    border-radius: 10px;
    background: #fff;
}

.ttdr-qa-yyy-match .qa_mo_sch .sch_input {
    width: 100%;
    max-width: 100%;
    margin: 8px 0;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .ttdr-qa-yyy-match .inner_area {
        margin: 32px auto 72px;
    }

    .ttdr-qa-yyy-match .sub_visual {
        padding: 48px 12px;
    }

    .ttdr-qa-yyy-match .sub_visual h2 {
        font-size: 26px;
    }

    .ttdr-qa-yyy-match .sub_visual .sub_desc {
        margin-top: 16px;
        font-size: 15px;
    }

    .ttdr-qa-yyy-match .item_notice {
        padding: 20px 16px;
        margin-bottom: 28px;
    }

    .ttdr-qa-yyy-match .item_notice .ico_noti {
        float: none;
        width: 72px;
        height: 72px;
        margin: 0 auto 16px;
    }

    .ttdr-qa-yyy-match .item_notice .ico_noti span {
        font-size: 36px;
    }

    .ttdr-qa-yyy-match .item_notice .txt_noti {
        float: none;
    }

    .ttdr-qa-yyy-match .txt_noti .noti_title {
        font-size: 18px;
    }

    .ttdr-qa-yyy-match .item_notice .noti_desc {
        font-size: 15px;
    }

    .ttdr-qa-yyy-match .noti_lnk a {
        display: block;
        width: 100%;
        height: 48px;
        margin-right: 0;
        font-size: 16px;
        line-height: 44px;
    }

    .ttdr-qa-yyy-match .list_cate li {
        flex: 1 1 100%;
        min-width: 0;
    }

    .ttdr-qa-yyy-match .list_cate li a {
        padding: 14px 12px;
        font-size: 16px;
    }

    .ttdr-qa-yyy-match .qa_btn_area .btn_write {
        float: none;
        width: 100%;
        max-width: 200px;
        margin-left: auto;
        font-size: 17px;
    }

    .ttdr-qa-yyy-match .qa_toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ttdr-qa-yyy-match .qa_toolbar__extras {
        margin-right: 0;
    }

    .ttdr-qa-yyy-match .list_board {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ttdr-qa-yyy-match .list_board .tbl_layout02 {
        min-width: 720px;
    }

    .ttdr-qa-yyy-match .list_board .tbl_layout02 tr.qa_tbl_head th {
        font-size: 16px;
    }

    .ttdr-qa-yyy-match .list_board .tbl_layout02 td {
        font-size: 14px;
    }
}
