@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
.divider {
    width: 90%;
    height: 2px;
    background-color: #000;
    margin: 0 auto 90px;
    position: relative;
}
.divider .tag {
    position: absolute;
    left: 0;
    top: 100%;
    transform: translateY(0);
    background-color: #000;
    color: #fff;
    padding: 10px 28px;
    font-size: 20px;
    letter-spacing: 2px;
    white-space: nowrap;
    font-family: 'VIVITA-Regular', sans-serif;
}
.divider .circle {
    position: absolute;
    right: 0;
    top: 100%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.divider > div.circle > img {
    width: 90px !important;
    height: auto;
    object-fit: contain;
    margin-top: 36px;
    display: block;
    min-width: 90px;
}
.banner {
    width: 90%;
    margin: 0 auto;
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
}
.banner-slides {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    transition: transform 0.5s ease;
}
.banner-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    text-decoration: none;
}
.banner-slide img {
    width: 100%;
    height: auto;
}
.banner-slide .event-img-desktop {
    display: block;
}
.banner-slide .event-img-mobile {
    display: none;
}
.banner-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
    color: #fff;
    padding: 40px 26px 20px;
    font-size: 26px;
    width: 100%;
    box-sizing: border-box;
}
.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.2);
    border: none;
    color: #fff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 30px;
    z-index: 10;
    transition: background-color 0.3s ease;
}
.arrow-icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 85px;
    line-height: 1;
    height: 70px;
    box-sizing: border-box;
}
.banner-prev:hover,
.banner-next:hover {
    background-color: rgba(0,0,0,0.4);
}
.banner-prev {
    left: 20px;
}
.banner-next {
    right: 20px;
}
.news-title-wrapper {
    width: 90%;
    margin: 0 auto;
    margin-left: calc(90% * 0.2 + 5%);
}
.news-title {
    font-family: 'VIVITA-Regular', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 4px;
    padding: 16px 0;
    position: relative;
    width: 80%;
    margin: 100px 0 60px;
}
.news-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
}
.news-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
}
.news-grid {
    width: 90%;
    margin: 0 auto;
    margin-left: calc(90% * 0.2 + 5%);
    width: calc(90% * 0.8);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
    margin-bottom: 120px !important;
}
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    align-self: start;
    width: 100%;
}
.news-img-container {
    width: 100%;
    height: auto;
    aspect-ratio: 600 / 400;
    overflow: hidden;
}
.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease-in-out;
}
.news-card:hover .news-img {
    transform: scale(1.1);
}
.news-date {
    font-size: 12px;
    color: #999;
}
.news-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5px;
}
.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
.event-card-more {
    width: 22px;
    height: 22px;
    margin-left: auto;
    margin-top: 8px;
    position: relative;
    cursor: pointer;
}
.event-card-more img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.event-card-more .gray-arrow {
    opacity: 1;
}
.event-card-more .black-arrow {
    opacity: 0;
}
.news-card:hover .event-card-more {
    transform: scale(1.6);
}
.news-card:hover .gray-arrow { opacity: 0; }
.news-card:hover .black-arrow { opacity: 1; }
.loading {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #999;
    display: block;
    margin-bottom: 80px !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.loading.show {
    opacity: 1;
}

@media (max-width: 767px) {
    .divider {
        width: 92.67%;
        margin: 0 auto 50px;
    }
    .banner {
        width: 92.67%;
    }
    .divider .tag {
        padding: 6px 14px;
        font-size: 14px;
    }
    div.divider > div.circle > img {
        width: 50px !important;
        min-width: 50px !important;
        margin-top: 20px;
    }

    .banner-slide .event-img-desktop {
        display: none;
    }
    .banner-slide .event-img-mobile {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 600 / 400;
        object-fit: cover;
    }
     
    .banner-caption {
        font-size: 16px;
        padding: 20px 16px 12px;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%) !important;
    }
    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(0,0,0,0.3);
    }
    .arrow-icon {
        font-size: 24px !important;
        line-height: 1;
        height: auto;
    }
    .banner-prev {
        left: 10px;
    }
    .banner-next {
        right: 10px;
    }

    .banner-slider-nav {
        padding: 10px 20px !important;
        gap: 10px !important;
    }
    .slider-prev, .slider-next {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    .slider-progress-wrap {
        width: 100px !important;
        height: 1px !important;
    }

    .news-title-wrapper,
    .news-grid {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 92.67% !important;
    }
    .news-title {
        font-size: 18px;
        width: 100%;
        margin: 50px 0 30px;
    }

    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .news-img-container {
        height: auto;
        aspect-ratio: 600/400;
    }

    .news-subtitle {
        font-size: 16px;
    }
    .news-desc {
        font-size: 13px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .news-title-wrapper {
        width: 90%;
        margin: 0 auto;
    }
    .news-title {
        width: 100% !important;
    }
    .news-title::before,
    .news-title::after {
        width: 100% !important;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
        margin: 0 auto;
    }
    .news-img-container {
        height: auto;
        aspect-ratio: 600/400;
    }
    html, body {
        overflow-x: hidden !important;
        position: relative !important;
        width: 100% !important;
    }
}

.banner-slider-nav {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    background: #fff;
}
.slider-prev, .slider-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    margin: 0;
}
.slider-prev.active, .slider-next.active {
    border: 1px solid #E86F56 !important;
    color: #000 !important;
    background: transparent !important;
}
.slider-progress-wrap {
    width: 200px;
    height: 1px;
    background: #ccc;
    position: relative;
}
.slider-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #333;
    transition: width 0.5s ease;
}
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    cursor: pointer;
}
.hamburger-btn span {
    width: 26px;
    height: 2px;
    background: #000;
    display: block;
}
@media (max-width:767px){
    .hamburger-btn{display:flex !important;}
}
