/* ===== Main Page Styles ===== */
/* (Reset, Header, Footer, CTA, Floating, Tab styles are in /common/css/layout.css) */

.text-white {
    color: #fff !important;
}

/* ===== Key Visual ===== */
.key-visual {
    position: relative;
    overflow: hidden;
}

.slide-wrap {
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.slide-wrap:active {
    cursor: grabbing;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 560px; */
    aspect-ratio: 1/0.29166666667;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.controls-inner {
    width: 100%;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: flex-end;
}

.slide-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 66px;
}

.slide-pager {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 999px;
    padding: 0 4px;
    height: 44px;
}

.slide-pager button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-current {
    font-size: 19px;
    font-weight: 500;
    color: #ec1b23;
    letter-spacing: -0.38px;
}

.slide-sep {
    font-size: 19px;
    font-weight: 500;
    color: #555;
    letter-spacing: -0.38px;
}

.slide-total {
    font-size: 19px;
    font-weight: 500;
    color: #555;
    letter-spacing: -0.38px;
}

.slide-pause {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 999px;
}

.pause-bar {
    display: block;
    width: 2px;
    height: 13px;
    background: #555;
    border-radius: 999px;
}

.slide-pause.is-paused .pause-bar {
    display: none;
}

.slide-pause.is-paused::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #555;
}

/* ===== Icon Menu ===== */
.icon-menu {
    padding: 40px 0;
}

.icon-menu-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.icon-img {
    width: 112px;
    height: 112px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 300ms;
}

.icon-item:hover .icon-img {
    transform: translateY(-8%);
}

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

.icon-item span {
    font-size: 16px;
    font-weight: 500;
    color: #1e1e1e;
    letter-spacing: -0.32px;
    line-height: 1.5;
    text-align: center;
}

/* ===== Section Common ===== */
.section-inner {
    padding: 50px 0;
}

.section-review .section-inner {
    padding-bottom: 100px;
}

.section-title {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 30px;
    position: relative;
}

.title-highlight {
    position: absolute;
    top: 31px;
    left: 0;
    height: 15px;
    width: 166px;
    background: #bbedec;
}

.title-logo {
    width: 166px;
    position: relative;
    padding-bottom: 8px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.72px;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.72px;
}

.btn-more {
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #1e1e1e;
    letter-spacing: -0.32px;
}

.icon-more-arrow {
    width: 18px;
    height: 18px;
}

.section-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-more-center {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #1e1e1e;
    letter-spacing: -0.32px;
    padding: 16px 40px;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.btn-more-center::after {
    content: "";
    display: block;
    width: 18px;
    aspect-ratio: 1/1;
    background: url("/main/img/icon-more-arrow-d973a925c4270535cbdd86a41c37be68.png") center / cover no-repeat;
}

.btn-more-center:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.btn-more-center:hover::after {
    background-image: url("/main/img/icon-more-arrow-hover-39ab2b5f5afdd7e16569273f2eae14cd.png");
}

/* ===== Strength Section ===== */

.strength-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.strength-card {
    background: #f7f7f7;
    border-radius: 15px;
    padding: 50px 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 55px;
}

.strength-text {
    flex: 1;
    min-width: 0;
}

.strength-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(15px 24px 14px rgba(196, 200, 204, 0.3));
}

.strength-card h3 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.52px;
    color: #1e1e1e;
    margin-bottom: 10px;
}

.strength-desc {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.4px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.text-highlight {
    background: linear-gradient(to top, #bbedec 40%, transparent 40%);
}

.dot-list li {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.36px;
    color: #484848;
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
}

.dot-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #484848;
}

/* ===== Event Section ===== */

.event-cards {
    display: flex;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(2, 1fr); */
    gap: 40px 30px;
}

.event-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: calc((100% - 30px)/2);
}

.event-img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 665 / 260;
    background: #f3f2ff;
    transition: all 0.3s ease;
}

.event-card:hover .event-img {
    box-shadow: 0px 15px 15px 0px rgba(0, 0, 0, 0.25);
}

.event-img-base {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 0;
    width: 60px;
    text-align: center;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.badge-active {
    background: rgba(255, 255, 255, 0.85);
    color: #356adb;
}

.badge-end {
    background: rgba(0, 0, 0, 0.2);
    color: #696969;
}

.badge-best {
    background: rgba(255, 255, 255, 0.85);
    color: #356adb;
}

.event-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.4px;
    color: #1e1e1e;
    overflow: hidden;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

/* ===== Review Section ===== */
.review-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    width: 100%;
}

.review-img {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1/0.775;
    background: #e0e2e3;
}

.review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms;
}

.review-card:hover .review-img img {
    transform: scale(1.05);
}

.review-text h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.4px;
    color: #1e1e1e;
    margin-bottom: 6px;
    overflow: hidden;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.review-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.32px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-text p img {
    display: none;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.review-swiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.review-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 1;
    background: #d9d9d9;
}

.review-swiper .swiper-pagination-bullet-active {
    background: #FF0000;
}

@media (max-width:1023px) {

    /* Key Visual */
    .controls-inner {
        bottom: 30px;
    }

    .slide-controls {
        padding-right: 0;
    }

    /* Icon Menu */
    .icon-menu {
        padding: 20px 0;
    }

    .icon-menu-wrap {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 40px;
        justify-items: center;
    }

    /* Strength */
    .strength-card {
        padding: 30px 28px;
    }

    .strength-img {
        display: none !important;
    }

    /* Events */
    .event-cards {
        flex-direction: column;
        gap: 20px;
    }

    .event-card {
        width: 100%;
    }

    /* Reviews */
    .review-swiper .swiper-slide {
        width: 280px;
    }
}

/* ===== Mobile Responsive (Main Page) ===== */
@media (max-width: 768px) {

    /* Key Visual */
    .slide {
        /* height: 480px; */
        aspect-ratio: 1/1.2307692308;
    }

    .slide-pager {
        height: 36px;
        padding: 0 16px;
        gap: 8px;
    }

    .slide-pager button {
        display: none;
    }

    .slide-current,
    .slide-sep,
    .slide-total {
        font-size: 16px;
    }

    .slide-pause {
        width: 36px;
        height: 36px;
    }

    /* Icon Menu */
    .icon-img {
        width: 62px;
        height: 62px;
    }

    .icon-item span {
        font-size: 15px;
        letter-spacing: -0.3px;
        color: #222;
    }

    /* Section Common */
    .section-review .section-inner {
        padding: 50px 0;
    }

    .section-title {
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .title-highlight {
        height: 10px;
        width: 114px;
        top: 20px;
    }

    .title-logo {
        width: 114px;
        padding-bottom: 4px;
    }

    .section-title h2 {
        font-size: 24px;
        letter-spacing: -0.48px;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 24px;
        letter-spacing: -0.48px;
    }

    .btn-more {
        display: flex;
        font-size: 14px;
        letter-spacing: -0.28px;
    }

    .section-btn-wrap {
        display: none;
    }

    /* Strength */

    .strength-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .strength-card h3 {
        font-size: 20px;
        letter-spacing: -0.6px;
        margin-bottom: 6px;
        word-break: keep-all;
    }

    .strength-desc {
        font-size: 16px;
        letter-spacing: -0.6px;
        margin-bottom: 8px;
    }

    .dot-list li {
        font-size: 14px;
        letter-spacing: -0.28px;
        margin-bottom: 2px;
        word-break: keep-all;
    }

    .dot-list li::before {
        top: 10px;
    }

    /* Events */
    .event-img {
        aspect-ratio: 665 / 260;
        height: auto;
    }

    .event-title {
        font-size: 16px;
        letter-spacing: -0.32px;

    }

    .badge {
        font-size: 14px;
        width: 52px;
        top: 12px;
        right: 12px;
    }

    /* Reviews */
    .review-text h4 {
        font-size: 18px;
        letter-spacing: -0.36px;
    }

    .review-text p {
        font-size: 14px;
        letter-spacing: -0.28px;
    }
}