/* 
 * About 페이지 전용 스타일
 */

.about-overview-desc {
    position: relative;
    font-size: 17px;
    font-weight: 300;
    word-break: keep-all;
}
.about-overview-desc p {
    margin: 0 0 0.35rem;
}
.about-overview-desc span {
    font-family: sans-serif;
    font-size: 0.925em;
}
.about-overview-desc strong {
    font-weight: 900;
}

/* 형광펜 애니메이션 */
.highlight-text {
    position: relative;
    display: inline-block;
    color: inherit;
    z-index: 1;
}

.highlight-text::before {
    content: '';
    height: 45%;
    position: absolute;
    left: 0;
    top: 40%;
    bottom: 0;
    width: 0;
    background: linear-gradient(120deg, rgba(255, 255, 0, 0.4) 0%, rgba(255, 255, 0, 0.6) 50%, rgba(255, 255, 0, 0.4) 100%);
    z-index: -1;
    -webkit-animation: highlight-draw 2s ease-in-out forwards;
    -moz-animation: highlight-draw 2s ease-in-out forwards;
    -o-animation: highlight-draw 2s ease-in-out forwards;
    animation: highlight-draw 2s ease-in-out forwards;
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
}

@-webkit-keyframes highlight-draw {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@-moz-keyframes highlight-draw {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@-o-keyframes highlight-draw {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes highlight-draw {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.about-overview-text {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    height: 100vh;
    max-height: 676px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.about-overview-text h2{
    font-weight: 200;
    font-size: clamp(20px, 10vw, 30px);
    line-height: 1.35;
}
.about-overview-text h2 span {
    font-size: 0.8em;
    font-weight: 900;
    display: block;
}

.about-overview-image {
    max-width: 50%;
}

.about-overview-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* About Overview List 스타일 */
.about-overview-list{
    margin-bottom:2rem
}
.about-overview-list dl {
    margin: 0.75rem 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 700;
    font-size: 18px;
    gap: 1rem;
}

.about-overview-list dt {
    color: var(--color-theme);
    text-transform: uppercase;
    line-height: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width:100px;
}

.about-overview-list dd {
    margin: 0;
    line-height: 1;
    word-break: keep-all;
}

/* 반응형 스타일 */

/* PC 레이아웃 (1140px 이상) */
@media (min-width: 1140px) {
    .about-content .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: var(--spacing-md);
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
    
    .about-overview-image {
        flex: 1;
        max-width: 65%;
    }
    
    .about-overview-text {
        max-width: 35%;
    }
}

/* 태블릿 레이아웃 (768px ~ 1139px) */
@media (min-width: 768px) and (max-width: 1139px) {
    .about-content .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: var(--spacing-lg);
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
    
    .about-content .col-8,
    .about-content .col-4 {
        flex: 1 1 50%;
        max-width: 50%;
    }
}

/* 모바일 레이아웃 (767px 이하) */
@media (max-width: 767px) {
    main {
        overflow-x: hidden;
    }

    .about-content .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .about-content .col-8,
    .about-content .col-4 {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    .about-overview-image {
        order: -1;
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .about-overview-text {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .about-overview-list dl {
        margin: 2rem 0;
    }
}
