/* =====================================================
   AISLING KOREA - About Us Page Styles (New Design)
   ===================================================== */

/* About hero background override */
.hero-page .hero-bg {
    background-image: url('/images/about-hero.jpg');
    background-position: left center;
}

/* =====================================================
   Sub Navigation
   ===================================================== */
.about-subnav {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 90;
}

/* 해시 앵커 이동 시 고정 헤더 + 서브내비만큼 아래로 밀어서 표시 */
#overview,
#ceo-quote,
#vision,
#global,
#history {
    scroll-margin-top: 130px;
}

@media (max-width: 767px) {

    #overview,
    #ceo-quote,
    #vision,
    #global,
    #history {
        scroll-margin-top: 115px;
    }
}

.about-subnav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.about-subnav-link {
    display: block;
    padding: 15px 36px;
    font-size: 1.15rem;
    font-weight: 500;
    color: #888888;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.about-subnav-link:hover {
    color: #085a3c;
}

.about-subnav-link.active {
    color: #085a3c;
    font-weight: 600;
}

.about-subnav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #085a3c;
    border-radius: 0;
}

/* =====================================================
   Overview Intro Section
   ===================================================== */
.overview-section {
    padding: 180px 0;
    background: #ffffff;
}

.overview-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.overview-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.4;
    letter-spacing: -0.02em;
    white-space: pre-line;
    margin-bottom: 30px;
}

.overview-text {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.8;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 50px 40px;
    background: #f4f4f4;
    border-radius: 0;
}

.overview-card-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.overview-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.overview-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 12px;
}

.overview-card-text {
    font-size: 1rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* =====================================================
   CEO Message Section
   ===================================================== */
.ceo-section {
    padding: 180px 0;
    background: #085a3c;
}

.ceo-grid {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 80px;
    align-items: center;
}

.ceo-photo {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 15px;
}

.ceo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: transform 0.5s ease;
}

.ceo-photo:hover img {
    transform: scale(1.05);
}

.ceo-content {
    color: #ffffff;
}

.ceo-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    white-space: pre-line;
    margin-bottom: 30px;
}

.ceo-message {
    margin-bottom: 40px;
}

.ceo-message p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 16px;
    white-space: pre-line;
}

.ceo-message p:last-child {
    margin-bottom: 0;
}

.ceo-signature {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
}

/* =====================================================
   Vision / Core Competencies Section
   ===================================================== */
.vision-section {
    padding: 180px 0;
    background: #ffffff;
}

.vision-header {
    text-align: center;
    margin-bottom: 64px;
}

.vision-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.4;
    margin-bottom: 24px;
}

.vision-text {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
}

.vision-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.vision-pillar {
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.vision-pillar-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.vision-pillar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vision-pillar-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.vision-pillar-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 16px;
}

.vision-pillar-text {
    font-size: 1rem;
    color: #555555;
    line-height: 1.8;
    word-break: keep-all;
}

/* =====================================================
   K-Food Global Section
   ===================================================== */
.global-section {
    position: relative;
    padding: 120px 0 350px 0;
    background: #ffffff;
    /* White background based on Image 4 */
    overflow: hidden;
}

.global-bg {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 1200px;
    /* 더 작은 화면에서는 비율 유지 */
    max-width: 1920px;
    /* 와이드 스크린에서 무한 확장 방지 */
    height: auto;
    z-index: 0;
}

.global-bg img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* opacity: 0.15; */
}

.global-content {
    position: relative;
    z-index: 1;
    text-align: right;
    max-width: 1200px;
    margin: 0 auto;
}

.global-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.4;
    white-space: pre-line;
    margin-bottom: 24px;
}

.global-text {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.8;
}

/* =====================================================
   History Timeline Section
   ===================================================== */
.history-section {
    padding: 120px 0;
    background: #ffffff;
}

.history-section .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.history-section .section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--s-color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.history-section .section-title {
    font-family: var(--s-font-display, 'Playfair Display', serif);
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: #eeeeee;
}

.timeline-item {
    position: relative;
    display: flex;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

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

.timeline-content {
    width: calc(50% - 60px);
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--s-color-primary);
    border: 3px solid #ffffff;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 1px #eeeeee;
}

.timeline-item.milestone .timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--s-color-primary);
}

.timeline-date {
    display: block;
    font-family: var(--s-font-display, 'Playfair Display', serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--s-color-primary);
    margin-bottom: 12px;
    line-height: 1;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.7;
}

/* =====================================================
   Responsive Styles
   ===================================================== */
@media (max-width: 1199px) {
    .vision-pillars {
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .overview-title {
        font-size: 2.2rem;
    }

    .overview-cards {
        max-width: 100%;
    }

    .ceo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ceo-photo {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .vision-title,
    .global-title {
        font-size: 2rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 40px;
        margin-bottom: 48px;
    }

    .timeline-content {
        width: 100%;
        text-align: left;
    }

    .timeline-dot {
        left: 0;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {

    .overview-section,
    .ceo-section,
    .vision-section,
    .global-section,
    .history-section {
        padding: 80px 0;
    }

    .about-subnav-list {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .about-subnav-list::-webkit-scrollbar {
        display: none;
    }

    .about-subnav-link {
        padding: 16px 14px;
        font-size: 0.85rem;
    }

    .overview-title {
        font-size: 1.8rem;
    }

    .overview-cards {
        grid-template-columns: 1fr;
    }

    .ceo-title {
        font-size: 1.4rem;
    }

    .ceo-photo {
        max-width: 280px;
    }

    .vision-pillars {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .vision-title,
    .global-title {
        font-size: 1.6rem;
    }

    .history-section .section-title {
        font-size: 28px;
    }


    .vision-pillar-icon {
        width: 100px;
        height: 100px;
    }

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

    .overview-card {
        gap: 25px;
        padding: 35px 20px;
    }

    .overview-card-icon {
        width: 50px;
        height: 50px;
    }

    .overview-card-title {
        font-size: 22px;
    }

    .overview-card-text {
        font-size: 14px;
    }

    .ceo-content,
    .ceo-signature {
        text-align: Center;
    }

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

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

    .global-bg img {
        width: 80%;
    }


}