.about-wrapper{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--size-l);
}

.img-wrapper{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.img-wrapper > img{
    width: 600px;
    object-fit: contain;
    border-radius: calc(0.6 * var(--size-xs));
}

.txt-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--size-xs);
    padding-top: var(--size-xs);
}

.txt{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: calc(1.25 * var(--size-xs));
        flex-wrap: wrap;          /* ✅ 필요시 줄바꿈 허용 */
}

.txt:last-of-type{
    align-items: flex-start;
}

.txt > div:not(.table-wrapper){
    letter-spacing: -0.02em;
    display: inline-block;
    min-width: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-s);
    color: var(--color-wh);
    font-weight: 600;
    background-color: var(--color-hl-sub);
    padding: 8px 12px;
    border-radius: 40px;
}

.txt > div:not(.table-wrapper) > span{
    font-size: var(--font-xs);
    font-weight: 400;
}

.txt > p{
    letter-spacing: -0.02em;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-m);
    color: var(--color-bk);
    font-weight: 500;
}

table{
    border-collapse : collapse;
    border-top: 2px solid var(--color-bk);
    border-bottom: 2px solid var(--color-bk);
}

thead{
    background-color: var(--color-hl-sub);
}

tbody{
    background-color: var(--color-wh);
}

th{
    color: var(--color-wh);
    font-weight: 600;
    border-right: 1px solid var(--color-wh);
}

th:last-of-type{
    border: none;
}

td{
    color: var(--color-bk);
    font-weight: 400;
}

tr{
    border-bottom: 1px solid #EDF0F3;
}

td:not(tbody > tr:first-of-type > td:last-of-type){
    border-right: 1px solid #EDF0F3;
}

th, td{
    letter-spacing: -0.02em;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: var(--font-s);
    text-align: center;
    padding: 12px 8px;
    line-height: 150%;
}

td > span{
    font-weight: 700;
}

.table-wrapper{
    flex: 1 1 auto;          
    min-width: 0;            
    overflow-x: auto;    
}


.table-wrapper table {
  width: max-content;     
  min-width: 512px;            
}

video{
    width: 100%;
    margin-top: var(--size-s);
    border-radius: 12px;
}

@media screen and (max-width: 1560px) {
    .txt > div:not(.table-wrapper){
        min-width: 84px;
    }

    .img-wrapper > img{
        max-width: 600px;
        width: 36vw;
    }
}


@media screen and (max-width: 1024px) {
    .img-wrapper > img{
        max-width: 640px;
        width: 100%;
    }

    .about-wrapper{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: var(--size-s);
    }

    .txt-wrapper{
        padding-top: 0;
    }

    .txt > div:not(.table-wrapper){
        min-width: 80px;
    }

    .txt{
        gap: 12px;
    }

    th, td{
        padding: 10px 8px;
        font-size: 15px;
    }
}

@media screen and (max-width: 576px) {
    .txt > div:not(.table-wrapper){
        min-width: 64px;
        font-size: var(--font-xs);
        padding: 6px 6px;
    }
}