/* body{
    background-color: var(--primary-color);
} */

.main-page {
    margin-top: 97px;
}

.header {
    background-color: #fff;
    height: 97px;
}

.nav-logo svg{
    fill: var(--primary-color);
}

.main-navigation ul li>a{
    color: var(--primary-color);
}

.header.scroll .nav-logo svg{
    fill: #fff;
}

.header.scroll .main-navigation ul li.ing>a{
    color: var(--secondary-color);
}



.detail-section{
    padding: 40px 0 80px 0;
}

.detail-header{
    margin-bottom: 40px;
}
.detail-header ul{
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-header ul li{
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-header ul li a{
    font-size: 17px;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

.detail-header ul li a:hover{
    color: var(--secondary-color);
}

.detail-header ul li span{
    font-size: 17px;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.4;
    margin: 0;
    padding: 0;
    font-family: var(--family-font-secondary);
}

.detail-wrapper{
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.detail-img{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #EDE6E0;
    max-height: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;

    img {
        width: auto;
        height: 90%;
        object-position: center top;
        border-radius: 10px;
    }
}

.detail-img span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.detail-content{
    width: 60%;
    display: flex;
    flex-direction: column;
}

.detail-content h1{
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-title {
    margin-bottom: 40px;
}

.detail-content h3{
    font-size: 26px;
    font-weight: 600;
    color: var(--secondary-color);
}
.detail-content p{
    font-size: 20px;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    margin-bottom: 20px;
}

.founder-talks {
    background-color: #ffffff;
    border-radius: 12px;
    /* border: 1px solid rgba(135, 33, 46, 0.12); */
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.founder-talks h2 {
    margin: 0;
    padding: 28px 30px 10px;
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
}

.founder-talks > p {
    margin: 0;
    padding: 0 30px 18px;
    font-size: 20px;
    line-height: 1.5;
    color: #333333;
}

.founder-talks-content {
    background-color: #f8f5f2;
    border-top: 1px solid rgba(135, 33, 46, 0.12);
    padding: 22px 30px 30px;
}

.founder-talks-source {
    display: none;
}

.founder-timeline-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 28px;
}

.founder-timeline-list::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: rgba(135, 33, 46, 0.24);
}

.timeline-item {
    position: relative;
    background-color: #ffffff;
    border: 1px solid rgba(135, 33, 46, 0.12);
    border-radius: 10px;
    padding: 14px 16px 14px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 34px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    box-shadow: 0 0 0 2px #f8f5f2;
}

.timeline-year {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(135, 33, 46, 0.15);
}

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

.timeline-events li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 14px;
    font-size: 17px;
    line-height: 1.7;
    color: #2f2f2f;
    font-family: var(--family-font-secondary);
    white-space: pre-wrap;
    word-break: break-word;
}

.timeline-events li::before {
    content: '';
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    transform: translateY(-50%);
}

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


@media screen and (max-width: 992px) {
    .banner-section{
        padding-top: 0;
        height: 50vh;
    }
    .banner-content {
        width: 100%;
        left: 0;
        padding: 15px 15px 0 15px;
        text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    }
    .header{
        height: 90px;
        background-color: transparent;
    }

    .mobile-menu-toggle .menu-icon-line{
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .main-page{
        margin-top: 90px;
    }

    .detail-section{
        padding: 20px 0 40px 0;
    }
    .detail-header{
        margin-bottom: 20px;
    }
    .detail-header ul li{
        flex-wrap: wrap;
    }
    .detail-header ul li a{
        font-size: 16px;
    }
    .detail-header ul li span{
        font-size: 16px;
    }
    .detail-wrapper{
        flex-direction: column;
        gap: 20px;
    }
    .detail-img{
        width: 100%;
        height: fit-content;
        max-height: 100vw;
        padding: 12px;

        img {
            width: fit-content;
            height: fit-content;
            max-width: calc(100vw - 64px);
            max-height: calc(100vw - 64px);
            object-fit: contain;
            border-radius: 12px;
        }
    }
    .detail-content{
        width: 100%;
    }
    .detail-content h1{
        font-size: 26px;
        margin-bottom: 10px;
    }
    .detail-content h3{
        font-size: 20px;
        margin-bottom: 20px;
    }
    .detail-content p{
        font-size: 16px;
    }

    .founder-talks h2 {
        font-size: 26px;
        padding: 20px 16px 8px;
        position: relative;
    }

    .founder-talks > p {
        padding: 0 16px 14px;
        font-size: 16px;
    }

    .founder-talks-content {
        padding: 14px 12px 20px;
    }

    .founder-timeline-list {
        gap: 12px;
        padding-left: 12px;
    }

    .founder-timeline-list::before {
        left: -2px;
    }

    .timeline-item {
        padding: 12px 12px;
    }

    .timeline-item::before {
        left: -18px;
        width: 8px;
        height: 8px;
    }

    .timeline-year {
        font-size: 22px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .timeline-events li {
        font-size: 15px;
        line-height: 1.65;
    }
}