/* 
---------------------------------------------
                  Sub0302
--------------------------------------------- 
*/

/* cont1 */
.cont1 .visual {
    position: relative;
    border-radius: 56px;
    min-height: 728px;
    background: url("../../img/inquiry/qna-cont-bg01.png") center/cover no-repeat;
    overflow: hidden;
}

.cont1 .cont-header {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    text-align: right;
}

.cont1 .eyebrow {
    color: #64BDFA;
    font-size: var(--font-2xl);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .02em;
}

.cont1 .headline {
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 1440px) {
    .cont1 .visual {
        min-height: 640px;
        border-radius: 48px;
    }

    .cont1 .cont-header {
        padding: 48px 56px;
    }
}

@media (max-width: 1280px) {
    .cont1 .visual {
        min-height: 560px;
        border-radius: 42px;
    }

    .cont1 .eyebrow {
        font-size: var(--font-xl);
    }
}

@media (max-width: 1024px) {
    .cont1 .visual {
        min-height: 350px;
        border-radius: 36px;
    }

    .cont1 .cont-header {
        padding: 0 30px;
    }

    .cont1 .headline {
        white-space: pre-line;
    }
}

@media (max-width: 768px) {
    .cont1 .headline {
        color: white;
    }

    .cont1 .visual {
        background: url("../../img/inquiry/qna-cont-bg02.png") center/cover no-repeat;
        padding: 50px 20px;
        min-height: auto;
        border-radius: 28px;
        background-position: center top;
    }

    .cont1 .cont-header {
        position: relative;
        padding: 0;
        gap: 5px;
        text-align: left;
    }

    .cont1 .eyebrow {
        font-size: var(--font-md);
        line-height: 1.5;
    }

    .cont1 .headline {
        white-space: normal;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .cont1 .visual {
        padding: 40px 20px;
        border-radius: 10px;
    }

    .cont1 .eyebrow {
        font-size: var(--font-xs);
    }
}

/* cont2 */
.cont2 {
    background: url("../../img/inquiry/inquire-cont-bg02.png") no-repeat;
    background-size: cover;
    background-position: 20% 80%;
}

.cont2 .headline {
    margin-bottom: 28px;
    color: var(--primary);
    line-height: 1.1;
}

.cont2 .btn-wrapper {
    display: flex;
    justify-content: end;
}

/* board */
.board-table {
    width: 100%;
    margin-top: 20px;
    border-top: 2px solid var(--primary);
    border-collapse: collapse;
    table-layout: fixed;
}

.board-table col:nth-child(1) {
    width: 8%;
}

.board-table col:nth-child(3) {
    width: 12%;
}

.board-table col:nth-child(4) {
    width: 14%;
}

.board-table thead th {
    padding: 18px 16px;
    border-bottom: 1px solid #C2C2C2;
    font-size: var(--font-lg);
    font-weight: 600;
}

.board-table tbody tr {
    border-bottom: 1px solid #C2C2C2;
}

.board-table tbody tr.question.is-open {
    border-bottom: 0;
}

.board-table tbody td {
    padding: 22px 16px;
    color: #333;
    font-size: var(--font-md);
    text-align: center;
    vertical-align: top;
}

.board-table .title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.badge.state {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    background: #EEF3FF;
    border-radius: 9999px;
    color: #29427A;
    font-size: var(--font-sm);
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
}

.question:not(.is-answered) .badge.state {
    background: #F2F4F7;
    color: #475467;
}

.board-table td:nth-child(2) {
    text-align: left;
}

.question .title {
    flex: 1 1 auto;
    min-width: 0;
    display: inline-block;
    color: inherit;
    font: inherit;
    text-align: left;
    font-weight: 600;
    white-space: normal;
    line-height: 1.4;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.question .title:hover {
    color: var(--primary);
}

.question-detail .content {
    margin-left: 80px;
    padding: 0 0 15px;
    color: #646464;
    font-size: var(--font-md);
    line-height: 1.7;
    white-space: pre-line;
}

.board-table tbody tr.question-detail>td {
    padding-top: 10px;
    border-bottom: 0;
}

.board-table .no-results-row>td {
    text-align: center;
    color: #666;
    padding: 100px 0;
}

.answer {
    background: #F7F7F7;
}

.board-table tbody tr.answer>td {
    border-top: 0;
}

.answer .content {
    margin-left: 80px;
    padding: 20px 0;
    font-size: var(--font-md);
    white-space: pre-line;
}

@media (max-width: 1280px) {
    .cont2 .headline {
        margin-bottom: 24px;
    }

    .board-table tbody td {
        padding: 20px 16px;
    }

    .board-table tbody tr.question-detail>td {
        padding-top: 0;
    }

    .answer .content {
        padding: 10px 0;
    }
}

@media (max-width: 1024px) {
    .board-table thead th {
        padding: 14px 12px;
        font-size: var(--font-md);
    }

    .board-table tbody td {
        padding: 18px 12px;
    }

    .answer .content {
        padding: 5px 0;
    }
}

@media (max-width:768px) {
    .cont2 .headline {
        margin-bottom: 10px;
    }

    .board-table {
        width: 100%;
        border-top: 0;
        border-collapse: separate;
        display: block;
    }

    .board-table thead {
        display: none;
    }

    .board-table tbody {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .board-table tbody tr.question {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding: 20px 20px 18px;
        border: 1px solid #E2E8F5;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
        box-sizing: border-box;
        transition: box-shadow .15s ease, border-color .15s ease, transform .06s ease;
    }

    .board-table tbody tr.question:hover {
        box-shadow: 0 14px 30px rgba(0, 0, 0, .09);
        border-color: #D5E1F7;
    }

    .board-table tbody td {
        border: 0;
        padding: 0;
        text-align: left;
        color: #333;
        font-size: 16px;
        line-height: 1.5;
        box-sizing: border-box;
    }

    .board-table tbody td:nth-child(1) {
        display: none;
    }

    .board-table tbody td:nth-child(2) {
        order: 1;
        flex: 1 1 100%;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .board-table .title-wrapper {
        align-items: flex-start;
        gap: 8px;
    }

    .question .title {
        padding: 0;
        background: transparent;
        border: 0;
        cursor: pointer;
        display: inline-block;
        width: 100%;
        text-align: left;
        font: inherit;
        color: inherit;
        line-height: 1.4;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    .board-table tbody td:nth-child(3) {
        order: 3;
        margin-left: auto;
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        background: #EEF3FF;
        color: #29427A;
        padding: 6px 12px;
        border-radius: 9999px;
        font-weight: 700;
        font-size: 13px;
    }

    .board-table tbody td:nth-child(4) {
        order: 2;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #6B7280;
        font-size: 14px;
    }

    .board-table tbody td:nth-child(4)::before {
        content: "";
        width: 15px;
        height: 15px;
        background: #9AA3B2;
        -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'><rect x='2' y='3.5' width='12' height='10' rx='2' stroke='black' stroke-width='1.6'/><path d='M4 2.5v3M12 2.5v3M2 7h12' stroke='black' stroke-width='1.6' stroke-linecap='round'/></svg>") center/contain no-repeat;
        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'><rect x='2' y='3.5' width='12' height='10' rx='2' stroke='black' stroke-width='1.6'/><path d='M4 2.5v3M12 2.5v3M2 7h12' stroke='black' stroke-width='1.6' stroke-linecap='round'/></svg>") center/contain no-repeat;
    }

    .board-table tbody tr.question-detail,
    .board-table tbody tr.answer {
        flex-direction: column;
        width: 100%;
        padding: 12px 20px 16px;
        border: 1px solid #E2E8F5;
        border-top: 0;
        border-radius: 16px;
        box-shadow: 0 10px 22px rgba(0, 0, 0, .04);
        box-sizing: border-box;
    }
    
    .board-table tbody tr.question-detail {
        background: white;
        margin-top: -15px;
        border-radius: 0 0 16px 16px;
    }

    .board-table tbody tr.answer>td:nth-child(4) {
        margin-top: 3px;
        margin-left: 10px;
    }

    .board-table tbody tr.question.is-open {
        border-radius: 16px 16px 0 0;
        border-bottom: 0;
    }

    .board-table tbody tr.question-detail.open,
    .board-table tbody tr.answer.open {
        display: flex;
    }

    .question-detail .content,
    .answer .content {
        margin-left: 0;
        padding: 4px 0;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.6;
        white-space: pre-line;
    }
}

@media (max-width:480px) {
    .board-table tbody tr.question {
        padding: 18px 18px 16px;
        border-radius: 14px;
    }

    .board-table tbody td {
        font-size: var(--font-base);
    }

    .board-table tbody td:nth-child(2) {
        margin-bottom: 4px;
    }

    .board-table tbody td:nth-child(3) {
        font-size: 12px;
        padding: 5px 10px;
    }

    .board-table tbody td:nth-child(4) {
        font-size: 13px;
    }

    .board-table tbody td:nth-child(4)::before {
        width: 14px;
        height: 14px;
    }

    .board-table tbody tr.question-detail,
    .board-table tbody tr.answer {
        padding: 10px 18px 14px;
        border-radius: 0 0 14px 14px;
    }

    .question-detail .content,
    .answer .content {
        font-size: var(--font-sm);
    }
}


/* search */
.board-search {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.board-search .select-list {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 48px;
}

.board-search .select-list select {
    display: none;
}

.board-search .select-trigger {
    width: 120px;
    height: 48px;
    padding: 0 36px 0 14px;
    background: #F9F9F9;
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: #282828;
    font-size: var(--font-base);
    text-align: left;
    line-height: 48px;
    cursor: pointer;
    transition: box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
}

.board-search .select-trigger:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(9, 106, 217, .12);
}

.board-search .select-trigger:focus {
    outline: none;
}

.board-search .select-trigger:focus-visible {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(9, 106, 217, .18);
    background: white;
}

.board-search .select-list::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 11px;
    height: 8px;
    transform: translateY(-50%);
    background-color: #333;
    -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='8' viewBox='0 0 11 8'%3E%3Cpath d='M1 1 L5.5 6 L10 1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='8' viewBox='0 0 11 8'%3E%3Cpath d='M1 1 L5.5 6 L10 1' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform .15s ease, background-color .15s ease;
}

.board-search .select-list.open::after {
    transform: translateY(-50%) rotate(180deg);
    background-color: var(--primary);
}

.board-search .select-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #FAFAFA;
    border: 1px solid var(--primary);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    z-index: 5;
}

.select-list.open select,
.select-list.open .select-trigger {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    box-shadow: none;
}

.board-search .select-list.open .select-menu {
    display: block;
}

.board-search .select-menu li {
    padding: 8px 16px;
    font-size: var(--font-base);
    color: #282828;
    cursor: pointer;
    user-select: none;
}

.board-search .select-menu li:hover {
    background: #EDF4FF;
}

.board-search .select-menu li[aria-selected="true"] {
    background: #E6F0FF;
    font-weight: 600;
}

.board-search .search-box {
    height: 48px;
    display: flex;
    align-items: stretch;
    border: 1px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    transition: background-color .12s ease, box-shadow .12s ease;
}

.board-search .search-box:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(9, 106, 217, .10);
}

.board-search input {
    flex: 1;
    min-width: 320px;
    padding: 13px 16px;
    background: #F9F9F9;
    font-size: var(--font-base);
    font-weight: 400;
}

.board-search input::placeholder {
    color: #999;
}

.board-search .btn-search {
    padding: 0 20px;
    border-left: 1px solid var(--primary);
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: var(--font-base);
    cursor: pointer;
    transition: transform .06s ease, filter .12s ease, background-color .12s ease, box-shadow .12s ease;
}

.board-search .btn-search:hover {
    filter: brightness(0.95);
    box-shadow: 0 6px 14px rgba(9, 106, 217, .22);
}

@media (max-width:1280px) {
    .board-search .select-list {
        height: 46px;
    }

    .board-search .select-trigger {
        height: 46px;
        line-height: 46px;
        padding: 0 34px 0 12px;
    }

    .board-search .select-list::after {
        width: 10px;
        height: 7px;
        right: 10px;
    }

    .board-search .search-box {
        height: 46px;
    }

    .board-search input {
        min-width: 300px;
        padding: 12px 14px;
    }

    .board-search .btn-search {
        padding: 0 18px;
    }
}

@media (max-width:1024px) {
    .board-search .select-list {
        width: 116px;
        height: 46px;
    }

    .board-search .select-trigger {
        width: 116px;
        padding: 0 32px 0 12px;
    }

    .board-search input {
        min-width: 260px;
    }
}

@media (max-width:768px) {
    .board-search .select-list {
        width: 112px;
        height: 46px;
    }

    .board-search .select-trigger {
        width: 112px;
        padding: 0 30px 0 12px;
        font-size: 15px;
    }

    .board-search .select-menu li {
        font-size: 15px;
    }

    .board-search .search-box {
        height: 46px;
    }

    .board-search input {
        min-width: 220px;
        font-size: 15px;
    }

    .board-search .btn-search {
        padding: 0 16px;
        font-size: 15px;
    }
}

@media (max-width:480px) {
    .board-search {
        margin-top: 32px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .board-search .select-list {
        width: 100%;
        height: 44px;
    }

    .board-search .select-trigger {
        width: 100%;
        height: 44px;
        line-height: 44px;
        padding: 0 30px 0 12px;
        font-size: var(--font-sm);
    }

    .board-search .select-list::after {
        width: 9px;
        height: 6px;
        right: 10px;
    }

    .board-search .select-menu {
        width: 100%;
    }

    .board-search .select-menu li {
        font-size: var(--font-sm);
        padding: 10px 14px;
    }

    .board-search .search-box {
        width: 100%;
        height: 44px;
    }

    .board-search input {
        min-width: 0;
        width: 100%;
        padding: 11px 12px;
        font-size: var(--font-sm);
    }

    .board-search .btn-search {
        padding: 0 14px;
        font-size: var(--font-sm);
    }
}

/* pagination */
.pagination {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    user-select: none;
}

.pagination .pager-arrow {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease, transform .05s ease;
}

.pagination .pager-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 18px;
    background: #676767;
    transform: translate(-50%, -50%);
    transition: background-color .15s ease, transform .05s ease;
}

.pagination .pager-arrow.prev::before,
.pagination .pager-arrow.next::before {
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='18' viewBox='0 0 11 18' fill='none'><path d='M9.41406 0.707031L1.41406 8.70703L9.41406 16.707' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='18' viewBox='0 0 11 18' fill='none'><path d='M9.41406 0.707031L1.41406 8.70703L9.41406 16.707' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>") center/contain no-repeat;
}

.pagination .pager-arrow.next::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.pagination .pager-arrow.prev-first::before,
.pagination .pager-arrow.next-last::before {
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='18' viewBox='0 0 16 18' fill='none'><path d='M14.4141 0.707031L6.41406 8.70703L14.4141 16.707' stroke='black' stroke-width='2'/><path d='M9.41406 0.707031L1.41406 8.70703L9.41406 16.707' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='18' viewBox='0 0 16 18' fill='none'><path d='M14.4141 0.707031L6.41406 8.70703L14.4141 16.707' stroke='black' stroke-width='2'/><path d='M9.41406 0.707031L1.41406 8.70703L9.41406 16.707' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat;
}

.pagination .pager-arrow.next-last::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

.pagination .pager-arrow:hover {
    background: rgba(9, 106, 217, .10);
}

.pagination .pager-arrow:hover::before {
    background: #096AD9;
}

.pagination .pager-arrow:active {
    transform: scale(.96);
}

.pagination .pager-arrow:active::before {
    background: #074ea4;
}

.pagination .pager-arrow[disabled],
.pagination .pager-arrow.is-disabled {
    cursor: default;
    pointer-events: none;
    background: transparent;
    opacity: .55;
}

.pagination .pager-list {
    display: flex;
    gap: 10px;
}

.pagination .pager-list a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid transparent;
    border-radius: 9999px;
    font-weight: 600;
    transition: color .12s ease, border-color .12s ease, background-color .12s ease, transform .05s ease;
}

.pagination .pager-list a:hover {
    color: #096AD9;
    border-color: #096AD9;
}

.pagination .pager-list a.active,
.pagination .pager-list a[aria-current="page"] {
    color: #096AD9;
    border-color: #096AD9;
    background: #FFFFFF;
}

@media (max-width:1280px) {
    .pagination {
        gap: 12px;
    }

    .pagination .pager-arrow {
        width: 34px;
        height: 34px;
    }

    .pagination .pager-arrow::before {
        width: 15px;
        height: 17px;
    }

    .pagination .pager-list {
        gap: 9px;
    }

    .pagination .pager-list a {
        width: 34px;
        height: 34px;
    }
}

@media (max-width:1024px) {
    .pagination {
        gap: 10px;
    }

    .pagination .pager-arrow {
        width: 32px;
        height: 32px;
    }

    .pagination .pager-arrow::before {
        width: 14px;
        height: 16px;
    }

    .pagination .pager-list {
        gap: 8px;
    }

    .pagination .pager-list a {
        width: 32px;
        height: 32px;
    }
}

@media (max-width:768px) {
    .pagination {
        gap: 8px;
        margin-top: 40px;
    }

    .pagination .pager-arrow {
        width: 30px;
        height: 30px;
    }

    .pagination .pager-arrow::before {
        width: 13px;
        height: 15px;
    }

    .pagination .pager-list {
        gap: 8px;
    }

    .pagination .pager-list a {
        width: 30px;
        height: 30px;
        font-size: var(--font-sm);
    }
}

@media (max-width:480px) {
    .pagination {
        margin-top: 32px;
        gap: 6px;
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .pagination .pager-arrow {
        width: 28px;
        height: 28px;
    }

    .pagination .pager-arrow::before {
        width: 12px;
        height: 14px;
    }

    .pagination .pager-list {
        gap: 6px;
    }

    .pagination .pager-list a {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}