.content-even{
    background-color: #FFFBEB;
}   

.page-container {
    margin-top: 400px; /* 헤더 높이만큼 여백 */
    width: 100%;
    overflow-x: hidden;
}

.content-section {
    padding: 20px 0;
    width: 100%;
}

.section-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    width: 100%;
    box-sizing: border-box;
}

.section-side {
    width: 400px;
    flex-shrink: 0;
    min-width: 0;
}


.content-desc{
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.5;
}


.side-title{
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.5;
}


.space-10{
    margin: 10px 0;
}

.space-20{
    margin: 20px 0;
}

.space-100{
    margin: 100px 0;
}


.history-number {
    font-size: 18px;
    color: #ffcd3c;
    display: block;
}


/*  */


.section-content {
    flex: 1;
    position: relative;
    min-width: 0;
    width: 100%;
}

.swiper-container {
    width: 100%;
    max-width: 900px;
    height: 500px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #333;
}

/* 태블릿 */
@media (max-width: 1024px) {
    .section-wrapper {
        flex-direction: column;
        padding: 50px 20px;
        max-width: 100%;
    }

    .section-side {
        width: 100%;
        margin-bottom: 30px;
    }

    .swiper-container {
        width: 100%;
        height: 400px;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    .page-container {
        margin-top: 300px;
    }

    .section-wrapper {
        padding: 30px 15px;
        max-width: 100%;
    }

    .section-side {
        margin-bottom: 20px;
    }

    .history-intro {
        margin-bottom: 15px;
    }

    .history-number {
        font-size: 16px;
    }

    .side-title {
        font-size: 2rem;
        word-break: keep-all;
    }

    .content-desc {
        font-size: 1rem;
        word-break: break-word;
    }

    .swiper-container {
        height: 300px;
        width: 100%;
    }

    .swiper-pagination {
        bottom: 10px;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .animated-link {
        font-size: 14px;
    }

    .link-arrow {
        font-size: 12px;
    }
}

/* 작은 모바일 */
@media (max-width: 480px) {
    .page-container {
        margin-top: 250px;
    }

    .section-wrapper {
        padding: 20px 10px;
    }

    .swiper-container {
        height: 250px;
    }

    .side-title {
        font-size: 1.5rem;
    }

    .content-desc {
        font-size: 0.9rem;
    }
}

.link-wrapper {
    margin: 30px 0;
}

.animated-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 5px 0;
    overflow: hidden;
    padding-bottom: 2px; /* 언더라인을 위한 여백 */
}

.link-text {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.link-arrow {
    margin-left: 8px;
    font-size: 14px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

/* 호버 효과 */
.animated-link:hover .link-text {
    transform: translateY(-150%);
}

.animated-link::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.animated-link:hover::after {
    transform: translateY(-120%);
}

/* 언더라인 추가 */
.animated-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

.animated-link:hover::before {
    width: 80%;
}


.small-titles{
    font-size: 1.1rem;
    font-weight: 200 !important;
    color: #707070;
    position: relative;
    display: inline-block;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner-logo {
    width: 120px;
    height: 120px;
    border: 2px solid #f7de8e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.partner-logo i {
    font-size: 40px;
    color: #eca600;
    transition: all 0.3s ease;
}

.partner-name {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    font-weight: 500;
}

/* 호버 효과 */
.partner-logo:hover {
    background-color: #f7de8e;
}

.partner-logo:hover i {
    color: #fff;
}

/* 반응형 처리 */
@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partner-logo {
        width: 100px;
        height: 100px;
    }

    .partner-logo i {
        font-size: 32px;
    }

    .partner-name {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .partner-grid {
        gap: 15px;
    }

    .partner-logo {
        width: 80px;
        height: 80px;
    }

    .partner-logo i {
        font-size: 28px;
    }
}

.partners-showcase {
    margin-top: 40px;
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 10px;
}

.partners-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.grid-brand {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.brand-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 20px;
}

.brand-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.brand-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 상하 분리 */
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.brand-item-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    align-self: flex-start; /* 왼쪽 정렬 */
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.brand-item-desc {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    text-align: left; /* 왼쪽 정렬 */
    align-self: flex-start; /* 왼쪽 정렬 */
    margin-top: auto; /* 하단으로 밀기 */
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
    max-height: 70%; /* 최대 높이 제한 */
    overflow-y: auto; /* 긴 텍스트는 스크롤 */
}

/* 스크롤바 스타일링 */
.brand-item-desc::-webkit-scrollbar {
    width: 4px;
}

.brand-item-desc::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.brand-item-desc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* 호버 효과 */
.brand-item:hover .brand-overlay {
    opacity: 1;
    visibility: visible;
}

.brand-item:hover .brand-item-name {
    transform: translateY(0);
    opacity: 1;
}

.brand-item:hover .brand-item-desc {
    transform: translateY(0);
    opacity: 1;
}

/* 반응형 처리 */
@media (max-width: 768px) {
    .grid-brand {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .brand-item {
        padding: 15px;
    }

    .brand-overlay {
        padding: 15px;
    }

    .brand-item-name {
        font-size: 14px;
    }

    .brand-item-desc {
        font-size: 12px;
        line-height: 1.4;
        max-height: 65%;
    }
}

@media (max-width: 480px) {
    .grid-brand {
        gap: 10px;
    }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.value-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    gap: 20px;
}


.value-number {
    font-size: 24px;
    font-weight: 700;
    color: #999;
    line-height: 1;
    min-width: 40px;
}

.value-content {
    flex: 1;
}

.value-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.value-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 반응형 처리 */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 20px;
    }

    .value-number {
        font-size: 20px;
    }

    .value-content h3 {
        font-size: 16px;
    }

    .value-content p {
        font-size: 13px;
    }
}