@CHARSET "UTF-8";
.web-framework {
    font-family: 'Noto Sans KR', sans-serif;
}

.web-framework .sub-title {
    font-size: 28px;
    color: #111111;
    margin-bottom: 19px;
    letter-spacing: -1.2px;
    font-weight: 500;
}

.web-framework .title-main {
    font-size: 55px;
    color: #000000;
    letter-spacing: -2px;
    margin-bottom: 85px;
    line-height: 76px;
    font-weight: 700;
}

.web-framework .button-group {
    margin: 20px 0 40px;
}

.web-framework .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 218px;   /* 최소 가로 크기 */
    height: 64px;
    padding: 0 24px;    /* 좌우 여백은 고정 */
    border-radius: 32px;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    margin: 0 7px;
    text-decoration: none;
    transition: background 0.3s;
}

.web-framework .btn:hover {
    background: #163ab2;
}

.web-framework .tab-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 12px 0;
    background: #f7f7f7;
    border-radius: 6px;
    margin-top: 120px;
    margin-bottom: 96px;
}

.web-framework .tab-menu li {
    list-style: none;
    font-size: 18px;
    cursor: pointer;
}

.web-framework .tab-menu li.active {
    color: #2050DD;
    font-weight: 500;
}

.section-title {
    text-align: center;
}

.section-title .desc {
    margin: 0;
}

.section-title .title-en {
    font-size: 20px;
    font-weight: 700;
    color: #111111;
    line-height: 30px;
    letter-spacing: -0.5px;
    margin-top: 30px;
    margin-bottom: 4px;
}

.section-title .title-ko {
    font-size: 17px;
    font-weight: 400;
    color: #111;
    letter-spacing: -0.5px;
    line-height: 25px;
}

.section-title .title-ko strong {
    font-weight: 500; /* Platform 강조 */
}

.web-framework .tab-submenu {
    display: flex;
    justify-content: center;
    gap: 124px;
    margin-top: 60px;
    margin-bottom: 80px;
    padding: 0;
}
.web-framework .tab-submenu li span{
    display:flex;justify-content:center;align-items:center;
    min-width:120px; height:80px;          /* 패딩 대신 최소 너비 + 고정 높이 */
    border-radius:18px; font-weight:500;
}

.web-framework .tab-submenu li {
    list-style: none;
    font-size: 20px;
    color: #888888;
    letter-spacing: -0.5px;
    text-align: center;
    line-height: 30px;
    font-weight: 500;
    cursor: pointer;
}

.web-framework .tab-submenu li.active {
    font-weight: 600;
    color: #111111;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
}
.card-slider-outer {
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

/* 가로 슬라이드 영역 */
.card-slider-wrap {
    width: 100vw; /* 오른쪽 약간 넘침 허용 */
    overflow: hidden;
    position: relative;
}

/* 카드 리스트 */
.card-slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 각 카드 */
.card-item {
    min-height: 354px;
    width: 350px;
    margin: 0 10px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-box {
    width: 100%;
    height: 210px;
    background-color: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box img {
    max-width: 100%;
    max-height: 70%;
    object-fit: contain;
}

.info-box {
    width: 100%;
    padding: 24px 5px 0;
    text-align: left;
}

.info-box .reference-date {
    font-size: 16px;
    color: #BBBBBB;
    margin-bottom: 6px;
    font-weight: 400;
}

.info-box .title-card {
    font-size: 24px;
    color: #111111;
    letter-spacing: -0.5px;
    line-height: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-box .tag-wrap {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.info-box .tag {
    background-color: #e9f0ff;
    color: #2a5bda;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 13px;
}

.card-item:first-child {
    margin-left: 0;
}

.arrow-wrapper {
    display: flex; /* 버튼을 좌우로 배치 */
    gap: 10px; /* 버튼 사이 간격 */
    margin: 52px 0 120px; /* 위쪽 마진 */
}

.arrow-btn {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.arrow-btn img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: none;
    border: none;
}

/* 좌측 화살표는 이미지 좌우 반전 */
.arrow-btn.left img {
    transform: scaleX(-1);
}

/* hover 시 효과 */
.arrow-btn:hover:not(:disabled) {
    background-color: #f5f5f5;
    border-color: #999999;
}

/* 비활성 상태 (첫 슬라이드일 때) */
.arrow-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


.reference-title {
    margin-top: 120px;
    color: #2050DD;
    font-weight: bold;
    font-size: 20px;
}

.reference-subtitle {
    font-size: 32px;
    letter-spacing: -1px;
    font-weight: bold;
    margin: 16px 0 60px;
}

.tag {
    display: inline-block;
    font-size: 14px;
    color: #1538B9;
    letter-spacing: -0.5px;
    text-align: left;
    line-height: 22px;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .arrow-wrapper {
        justify-content: center; /* 가운데 정렬 */
        margin: 30px 0 60px;     /* 모바일에 맞게 마진 축소 */
    }
    .reference-title {
        color: #2050DD;
        font-weight: bold;
        font-size: 14px;
    }
    .reference-subtitle {
        font-size: 18px;   /* 모바일에서 글자 크기 줄이기 */
        line-height: 1.4;
        margin: 12px 0 40px;
    }


    /* 카드 전체 컨테이너 */
    .card-slider-outer {
        position: relative;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        overflow: hidden;
    }




    /* 상단 로고 박스 */
    .logo-box {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 160px;
        border-bottom: 1px solid #eee;
    }
    .logo-box img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

    /* 하단 정보 영역 */
    .info-box {
        padding: 15px;
    }
    .info-box .reference-date {
        font-size: 14px;
        color: #777;
        margin-bottom: 8px;
    }
    .info-box .title-card {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .tag-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .tag {
        display: inline-block;
        padding: 4px 10px;
        font-size: 13px;
        color: #0056d6;
        background: #f0f6ff;
        border-radius: 12px;
    }

    /* 하단 화살표 영역 */
    .arrow-wrapper {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }
    .arrow-btn {
        width: 40px;
        height: 40px;
        border: 1px solid #ddd;
        border-radius: 50%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .arrow-btn img {
        width: 100%;
        height: 100%;
    }
    .arrow-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }
    :root {
        --peek: 64px; /* 오른쪽에 살짝 보일 카드 여백 */
    }

    .card-slider-outer {
        overflow: hidden;
        position: relative;
    }

    .card-slider {
        display: flex;
        gap: 16px;
        transition: transform 0.3s ease;
    }

    .card-item {
        flex: 0 0 calc(100% - var(--peek));
    }

}
