.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.faq-hero {
    padding-top: 144px;
}

.faq-hero h3 {
    font-size: 16px;
    font-weight: 400;
    color: #8c9199;
}

.hero-title {
    margin-block: 18px;
    line-height: 1.3;
    font-size: 40px;
    font-weight: 700;
    color: #212124;
}

.hero-intro {
    font-size: 17px;
    line-height: 1.6;
    color: #545961;
}

.updated {
    margin-top: 14px;
    font-size: 14px;
    color: #8c9199;
}

.faq-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block: 40px;
}

.tabs {
    display: flex;
    gap: 8px;
}

.tab {
    height: 40px;
    padding: 0 22px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #545961;
}

.tab:hover {
    border-color: #1c57fc;
    color: #1c57fc;
}

.tab[aria-pressed="true"] {
    background: #1c57fc;
    border-color: #1c57fc;
    font-weight: 600;
    color: #fff;
}

.tab[aria-pressed="true"]:hover {
    background: #1c57fc;
    color: #fff;
}

.search {
    position: relative;
    width: 339px;
    max-width: 100%;
    flex-shrink: 0;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 18px;
    height: 18px;
    color: #8c9199;
    transform: translateY(-50%);
    pointer-events: none;
}

.search input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 46px;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    background: #fff;
    color: #212124;
    font-size: 15px;
    -webkit-appearance: none;
    appearance: none;
}

.search input::placeholder {
    color: #8c9199;
}

.search input:focus {
    border-color: #1c57fc;
}

.faq-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 80px;
}

.toc-side {
    margin-bottom: 24px;
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.toc-side summary {
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
}

.toc-side summary::-webkit-details-marker {
    display: none;
}

.toc-side .toc-list {
    padding: 0 18px 16px;
}

.toc-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #212124;
}

.toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.toc-list li + li {
    margin-top: 10px;
}

.toc-list a {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: #545961;
}

.toc-list a:hover {
    color: #1c57fc;
}

.faq-list {
    flex: 1;
    min-width: 0;
}

.faq-group + .faq-group {
    margin-top: 56px;
}

.faq-group-title {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: #212124;
}

.faq-count {
    margin-left: 4px;
    color: #F81515;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    interpolate-size: allow-keywords;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item[open],
.faq-item[open]:hover {
    border: 1px solid #f81515;
    padding-bottom: 26px;
}

.faq-item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    line-height: 1.5;
    padding: 18px 28px 16px 28px;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.q-num {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 700;
    color: #f81515;
}

.q-text {
    flex: 1;
    font-size: 18px;
    font-weight: 500;
    color: #212124;
}

.faq-hit {
    background: #ffe8e6;
    color: #f81515;
    font-weight: 700;
    border-radius: 2px;
}

.q-icon {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 1.8px solid #8c9199;
    border-bottom: 1.8px solid #8c9199;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .q-icon {
    border-color: #222224;
    transform: translateY(2px) rotate(-135deg);
}

.faq-item::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1), content-visibility 0.25s allow-discrete;
}

.faq-item[open]::details-content {
    height: auto;
}

.faq-a {
    margin: 0 30px;
    padding: 16px 8px 0 36px;
    border-top: 1px solid #e6e8ec;
}

.faq-a-body {
    line-height: 1.7;
    font-size: 16px;
    color: #545961;
}

.faq-a-body .lead {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #212124;
}

.faq-src {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: #8c9199;
}

a.faq-more,
a.faq-more:link,
a.faq-more:visited,
a.faq-more:hover,
a.faq-more:active {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
}

.faq-empty {
    padding: 48px 16px;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: #545961;
}

.faq-empty[hidden] {
    display: none;
}

.faq-empty strong {
    color: #212124;
    font-size: 18px;
}

.faq-empty a:link,
.faq-empty a:visited,
.faq-empty a:hover,
.faq-empty a:active {
    display: inline;
    color: #f81515;
    font-weight: 700;
}

/* common.css body overflow-x:hidden 은 스크롤 컨테이너가 되어 sticky를 막는다 */
body:has(.faq-content) {
    overflow-x: clip;
}

.side-col {
    position: sticky;
    top: 150px;
    z-index: 2;
    width: 320px;
}

.side-card {
    padding: 28px;
    border-radius: 20px;
    background: #041a28;
}

.side-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.side-sub {
    margin-top: 14px;
    font-size: 13px;
    color: #99A8BF;
}

a.side-tel,
a.side-tel:link,
a.side-tel:visited,
a.side-tel:hover,
a.side-tel:active {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 26px;
    font-weight: 600;
    color: #fcf418;
}

.side-toc {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-block: 42px 20px;
    padding: 24px;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    line-height: 1;
    font-size: 15px;
    color: #545961;
}

.side-toc summary{
    list-style: none;
    font-size: 16px;
    font-weight: 700;
    color: #212124;
}

.tel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #1c57fc;
    color: #fff;
    flex-shrink: 0;
}

.tel-icon svg {
    width: 14px;
    height: 14px;
}

.btn-orange {
    border: 1px solid #ff623d;
    border-radius: 12px;
    background: #ff623d;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.btn-block {
    display: block;
    width: 100%;
    height: 56px;
    margin-top: 14px;
}

.side-note {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: #C7D1E0;
}

.faqCounselForm {
    padding: 36px;
    color: #212124;
}

.faqCounselForm h1{
    font-size: 24px;
}

.faqCounselForm h2{
    margin: 16px 0;
    font-size: 15px;
    font-weight: 400;
    color: #545961;
}

.faqCounselForm p{
    color: #8C9199;
}

.faqCounselForm li input{
    margin-top: 16px;
    padding: 0 16px;
    width: 100%;
    height: 50px;
    border: 1px solid #E6E8EC;
    border-radius: 10px;
    font-size: 15px;
}

.faqCounselForm .agree{
    margin-top: 16px;
    color: #545961;
}

.faqCounselForm .agree label{
    margin-right: 5px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0; 
    font-size: 14px;
    color: #8a898a;
}
.breadcrumb li + li::before {
    content: "›";
    display: inline-block;
    margin: 0 8px;
    color: #8C9199;
}
.breadcrumb a{
    display: inline-block;
    color: #8a898a;
}

.faq-info {
    flex: 1;
}

.conclusion{
    margin-top: 42px;
    padding: 24px 28px;
    background: #EEF3FF;
    border-radius: 14px;
    font-size: 17px;
    line-height: 1.7;
    color: #212124;
}

.info-section .conclusion{
    margin-top: 22px;
    background: #FFF4EF;
}

.info-section .conclusion.gray{
    background: #F6F7F9;
}

.info-section .conclusion h5{
    color: #8C9199;
}

.rtable{
    margin-block: 22px;
    width: 100%;
    border: 1px solid #E6E8EC;
    border-radius: 12px;
    border-collapse: separate;
    line-height: 1.5;
    font-size: 15px;
    color: #545961;
    overflow: hidden;
}

.rtable th,
.rtable td{
    padding: 14px 18px;
    border-top: 1px solid #E6E8EC;
    text-align: left;
}

.rtable thead th{
    background: #041A28;
    color: #fff;
}

.rtable tbody th,
.rtable tbody strong{
    color: #212124;
}

.info-section{
    margin-block: 44px;
    line-height: 1.7;
    font-size: 17px;
    color: #545961;
}

.info-section strong{
    color: #212124;
}

.info-section h2{
    line-height: 1.4;
    font-size: 26px;
    color: #212124;
}

.info-section h3{
    font-size: 17px;
    color: #212124;
}

.info-section p,
.info-section ul,
.info-section ol,
.info-section .qa{
    margin-top: 22px;
}

.info-section ul li:before{
    content: '•';
    display: inline-block;
    margin-right: 8px;
}

.info-section ul.checklist{
    padding: 22px 24px;
    border: 1px solid #E6E8EC;
    border-radius: 12px;
}

.info-section ul.checklist li::before{
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 0;
    width: 20px;
    height: 20px;
    margin-right: 0;
    border: 1px solid #1c57fc;
    border-radius: 5px;
    background: #1c57fc;
    box-sizing: border-box;
}

.info-section ul.checklist li::after{
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    box-sizing: border-box;
}

.info-section ul.checklist li{
    position: relative;
    padding-left: 34px;
}

.info-section ul.checklist li + li{
    margin-top: 12px;
}

.info-section p a{
    display: inline-block;
    text-decoration: underline;
    font-weight: 600;
    color: #1c57fc;
}

#sources h2{
    margin-bottom: 22px;
    font-size: 20px;
}

#sources ul li a{
    line-height: 1.6;
    font-size: 14px;
    color: #8C9199;
}

#sources ul li a:before{
    content: '•';
    display: inline-block;
    margin-right: 6px;
}

#sources .checked-date{
    margin-block: 22px;
    font-size: 14px;
    color: #8C9199;
}

a.faq-btn{
    display: inline-block;
    padding: 0 32px;
    width: auto;
    line-height: 56px;
    text-align: center;
    color: #fff;
}

#related h2{
    margin-block: 44px 22px;
    font-size: 20px;
}

#related li a{
    margin-top: 10px;
    line-height: 1.5;
    color: #1c57fc;
}
#related li a span{
    display: inline-block;
    margin-right: 6px;
}

.back-all{
    margin-top: 22px;
    font-size: 17px;
    font-weight: 700;
}

.info-text{
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.7;
    color: #545961;
}


@media (max-width: 1023px) {
    .faq-hero {
        padding-top: 96px;
    }

    .hero-title {
        font-size: 32px;
    }

    .faq-tools {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .search {
        width: 100%;
    }

    .faq-content{
        flex-direction: column;
        gap: 0;
    }

    .side-col {
        order: -1;
        position: static;
        width: 100%;
    }

    .side-col .side-card {
        display: none;
    }

    .side-toc {
        margin-block: 14px 0;
        padding: 18px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .faq-hero {
        padding-top: 88px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-intro {
        font-size: 15px;
    }

    .tabs {
        min-width: 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        flex-shrink: 0;
        height: 36px;
        padding: 0 14px;
        font-size: 13px;
        line-height: 34px;
        white-space: nowrap;
    }

    .faq-group-title {
        font-size: 20px;
    }

    .q-num {
        font-size: 17px;
    }

    .faq-item summary {
        gap: 10px;
        min-height: 64px;
        padding: 16px 16px 16px 18px;
    }

    .q-text {
        font-size: 16px;
    }

    .faq-a {
        margin: 0 18px;
        padding: 18px 0 0 0;
    }

    .faq-a-body,
    .faq-a-body .lead {
        font-size: 15px;
    }

    .faq-item[open],
    .faq-item[open]:hover {
        padding-bottom: 20px;
    }

    .conclusion{
        margin-top: 26px;
        padding: 18px;
        font-size: 16px;
    }

    .conclusion h5{
        font-size: 13px;
    }


    .rtable {
        display: block;
        margin-block: 18px;
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .rtable thead {
        display: none;
    }

    .rtable tbody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .rtable tr {
        display: block;
        padding: 16px;
        border: 1px solid #E6E8EC;
        border-radius: 12px;
    }

    .rtable tbody th,
    .rtable tbody td {
        display: block;
        width: auto;
        padding: 0;
        border: 0;
    }

    .rtable tbody th {
        margin-bottom: 6px;
        font-size: 16px;
    }

    .rtable tbody td {
        font-size: 14px;
    }

    .rtable tbody td + td {
        margin-top: 6px;
    }

    .rtable tbody td::before {
        content: attr(data-label);
        margin-right: 6px;
        font-weight: 700;
        color: #212124;
    }

    .rtable tbody td.is-empty {
        display: none;
    }


    .info-section{
        margin-block: 32px;
        font-size: 16px;
    }
    
    .info-section h2{
        font-size: 20px;
    }
    
    .info-section h3{
        font-size: 16px;
    }
    
    .info-section p,
    .info-section ul,
    .info-section .qa{
        margin-top: 18px;
    }

    .info-section ul.checklist{
        padding: 16px;
    }
        
    #sources h2{
        margin-bottom:18px;
        font-size: 17px;
    }

    #sources ul li a{
        font-size: 13px;
    }
    
    #sources .checked-date{
        margin-block: 18px;
        font-size: 13px;
    }
    
    a.faq-btn{
        width: 100%;
    }
    
    #related h2{
        margin-block: 32px 18px;
        font-size: 17px;
    }

    #related li a{
        font-size: 15px;
    }
    
    .back-all{
        margin-top: 18px;
        font-size: 16px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .q-icon,
    .faq-item::details-content {
        transition: none;
    }
}
