/* 올인원 메인 컨테이너 */
.aio_main {
    background-color: #fff;
    padding: 80px 0;
    font-family: 'Pretendard', sans-serif;
}

.aio_container {
    max-width: 136rem;
    /* f_inner 영역 가로 길이와 동일하게 설정 */
    margin: 5% auto 0 auto;
    padding: 0 2rem;
}

/* 상단 2x2 그리드 (하드코딩) */
.aio_top_wrap {
    margin-bottom: 80px;
}

.aio_top_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px 20px;
}

.aio_top_item {
    height: 240px;
    border-radius: 15px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.aio_top_item.box1 {
    height: 324px;
    /* 이미지 규격에 맞춰 조정 가능 */
}

.aio_top_item.box2 {
    height: 100%;
    /* 1번 박스 높이에 맞춤 */
}

.aio_top_item:hover {
    border-color: #eee;
}

/* 상단 박스 개별 스타일 (이미지나 배경색 필요시 여기서 조절) */
.aio_top_item.box1 {
    height: auto;
    padding: 0;
    background-image: none;
    background-color: transparent;
    border: none;
}

.aio_top_item.box1 img {
    width: 100%;
    height: auto;
    display: block;
}

.aio_top_item.box1 .aio_box_content {
    display: none;
}

.aio_top_item.box2 {
    background: transparent;
    border: none;
    color: #222;
    cursor: default;
}

.aio_top_item.box2:hover {
    transform: none;
    box-shadow: none;
}

.aio_top_item.box2 .label {
    color: #007bff;
    opacity: 1;
    font-size: 16px;
    font-weight: 700;
}

.aio_top_item.box3 {
    background-color: #FFFAE6;
    border: none;
}

.aio_top_item.box4 {
    background-color: #FFF2E7;
    border: none;
}

/* 박스 내부 가로 배치 구조 */
.aio_box_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top_hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.aio_box_text {
    flex: 1;
}

.aio_box_icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aio_box_icon img {
    max-width: 120%;
    max-height: 120%;
    object-fit: contain;
}

.aio_top_item .label {
    font-size: 14px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 10px;
    text-transform: uppercase;
}


.aio_top_item .title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2%;

}

.aio_top_item.box3 .title,
.aio_top_item.box4 .title {
    font-size: 30px;
    font-weight: 700;
}

.aio_top_item .desc {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.8;
}

/* 하단 3x3 그리드 (동적) */
.aio_bottom_wrap {
    text-align: center;
}

h1.aio_section_title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #111;
    text-align: left;
}

.aio_bottom_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.aio_sub_card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    /* 보더 제거 */
    cursor: pointer;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    /* transition: all 0.2s ease-in-out; */
}

.aio_sub_card:hover {
    transform: translateY(-10px) translateZ(0);
    box-shadow: none;
}


.aio_img_box {
    width: 100%;
    /* 세로 고정 사용 시 주석 해제 */
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    /* 이미지 라운드 10px 적용 */
}

.aio_img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aio_info_box {
    padding: 20px 0;
    /* 좌우 패딩 제거하여 가로 길이 맞춤 */
    text-align: left;
}

.aio_sub_cate {
    font-size: 13px;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 8px;
}

.aio_sub_title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aio_sub_desc {
    font-size: 14px;
    font-weight: 300;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aio_m_br {
    display: none;
}

.aio_box_text .desc {
    font-size: 18px;
    letter-spacing: 1px;
}

/* 반응형 */
@media (max-width: 991px) {
    .aio_bottom_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .aio_top_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aio_bottom_grid {
        grid-template-columns: 1fr;
    }

    .aio_top_item {
        height: 164px;
        padding: 30px;
    }

    .aio_top_item.box2 {
        order: -1;
        text-align: left;
        padding: 10px 0;
        border-radius: 0;
    }

    .aio_top_item.box2 .label {
        font-weight: 700;
        font-size: 14px;
    }

    .aio_top_item.box2 .title {
        font-weight: 700;
        font-size: 26px;
        margin-bottom: 2%;
    }

    .aio_top_item.box2 .desc {
        font-weight: 300;
        font-size: 18px;
        margin-top: 15px;
    }

    .aio_top_item.box3,
    .aio_top_item.box4 {
        border-radius: 15px;
        padding: 0 20px;
    }

    .aio_top_item.box3 .title,
    .aio_top_item.box4 .title {
        font-weight: 700;
        font-size: 20px;
    }

    .aio_top_item.box3 .desc,
    .aio_top_item.box4 .desc {
        font-weight: 300;
        font-size: 16px;
        margin-top: 10px;
        letter-spacing: 0.5px;
    }

    .aio_top_item.box3 .aio_box_icon,
    .aio_top_item.box4 .aio_box_icon {
        width: 80px;
        height: 80px;
    }

    h1.aio_section_title {
        font-weight: 700;
        font-size: 26px;
    }

    .aio_top_wrap {
        margin-bottom: 60px;
    }

    .aio_m_br {
        display: block;
    }

    .aio_sub_title {
        font-weight: 700;
        font-size: 20px;
    }

    .aio_sub_desc {
        font-weight: 300;
        font-size: 14px;
    }

    .aio_main {
        padding-bottom: 0;
    }
}