@charset "utf-8";

#container_title {
    display: none;
}

.asvf-gallery-page,
.asvf-gallery-page * {
    box-sizing: border-box;
}

.asvf-gallery-page {
    width: 100%;
    padding: 76px 0 100px;
    color: #15171b;
}

.asvf-gallery-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 66px;
}

.asvf-gallery-eyebrow {
    display: none;
}

.asvf-gallery-intro h1 {
    margin: 0;
    font-family: 'font-B', 'Pretendard', sans-serif;
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.asvf-gallery-description {
    margin: 14px 0 0;
    color: #858995;
    font-size: 17px;
    line-height: 1.5;
}

.asvf-gallery-filter {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 18px;
    color: #858995;
    font-size: 15px;
}

.asvf-gallery-filter select {
    width: 184px;
    height: 52px;
    padding: 0 44px 0 18px;
    border: 1px solid #e3e5e9;
    border-radius: 10px;
    background-color: #fff;
    color: #525762;
    font: inherit;
    cursor: pointer;
}

.asvf-gallery-year {
    position: relative;
    padding: 0 0 30px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e6e8eb;
}

.asvf-gallery-year[hidden] {
    display: none;
}

.asvf-gallery-year-heading {
    display: flex;
    align-items: baseline;
    gap: 28px;
    margin-bottom: 24px;
}

.asvf-gallery-year-heading h2 {
    margin: 0;
    color: #15171b;
    font-family: 'font-B', 'Pretendard', sans-serif;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.asvf-gallery-year-heading span {
    color: #8d919b;
    font-size: 14px;
}

.asvf-gallery-carousel {
    position: relative;
}

.asvf-gallery-viewport {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.asvf-gallery-viewport::-webkit-scrollbar {
    display: none;
}

.asvf-gallery-track {
    display: flex;
    gap: 18px;
}

.asvf-gallery-photo {
    position: relative;
    flex: 0 0 calc((100% - 36px) / 3);
    aspect-ratio: 16 / 9;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background: #edeef0;
    cursor: zoom-in;
    scroll-snap-align: start;
}

.asvf-gallery-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(16, 20, 28, 0.08);
    border-radius: inherit;
    pointer-events: none;
}

.asvf-gallery-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.asvf-gallery-photo:hover img,
.asvf-gallery-photo:focus-visible img {
    transform: scale(1.035);
    filter: brightness(0.92);
}

.asvf-gallery-photo:focus-visible,
.asvf-gallery-arrow:focus-visible,
.asvf-gallery-lightbox button:focus-visible {
    outline: 3px solid #285bd4;
    outline-offset: 3px;
}

.asvf-gallery-controls {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
}

.asvf-gallery-controls[hidden] {
    display: none;
}

.asvf-gallery-arrow {
    position: absolute;
    top: 50%;
    width: 58px;
    height: 58px;
    padding: 0 0 5px;
    border: 1px solid rgba(215, 219, 225, 0.95);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #10141c;
    font-family: Arial, sans-serif;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.16);
    transform: translateY(-50%);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.asvf-gallery-prev {
    left: 14px;
}

.asvf-gallery-next {
    right: 14px;
}

.asvf-gallery-arrow:hover {
    border-color: #9ea4ae;
    background: #fff;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.22);
}

.asvf-gallery-arrow[hidden] {
    display: none;
}

.asvf-gallery-empty {
    padding: 100px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #848994;
    text-align: center;
}

.asvf-gallery-empty p {
    margin: 0;
    font-size: 17px;
}

.asvf-gallery-lightbox[hidden] {
    display: none;
}

.asvf-gallery-lightbox {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 28px 28px;
    background: rgba(5, 7, 10, 0.94);
}

.asvf-gallery-lightbox figure {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 1920px;
    max-height: calc(100vh - 100px);
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.asvf-gallery-lightbox.is-changing figure {
    opacity: 0;
    transform: translateX(var(--asvf-gallery-shift, 0)) scale(0.992);
}

.asvf-gallery-lightbox figure img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
}

.asvf-gallery-lightbox figcaption {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    color: #e4e6ea;
    font-size: 14px;
}

.asvf-gallery-lightbox-count {
    flex: 0 0 auto;
    color: #aeb2bb;
}

.asvf-gallery-lightbox-close,
.asvf-gallery-lightbox-arrow {
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.asvf-gallery-lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 48px;
    height: 48px;
    font-size: 42px;
    font-weight: 200;
    line-height: 1;
}

.asvf-gallery-lightbox-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 64px;
    height: 80px;
    font-size: 60px;
    line-height: 1;
    transform: translateY(-50%);
}

.asvf-gallery-lightbox-prev {
    left: 24px;
}

.asvf-gallery-lightbox-next {
    right: 24px;
}

@media (max-width: 1024px) {
    .asvf-gallery-page {
        padding: 58px 20px 80px;
    }

    .asvf-gallery-photo {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 768px) {
    .asvf-gallery-page {
        padding: 42px 20px 64px;
    }

    .asvf-gallery-intro {
        display: block;
        margin-bottom: 44px;
    }

    .asvf-gallery-intro h1 {
        font-size: 38px;
    }

    .asvf-gallery-description {
        margin-top: 10px;
        font-size: 15px;
    }

    .asvf-gallery-filter {
        display: grid;
        grid-template-columns: 1fr 140px;
        margin-top: 28px;
    }

    .asvf-gallery-filter select {
        width: 100%;
        height: 48px;
    }

    .asvf-gallery-year {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .asvf-gallery-year-heading {
        gap: 14px;
        margin-bottom: 18px;
    }

    .asvf-gallery-year-heading h2 {
        font-size: 25px;
    }

    .asvf-gallery-track {
        gap: 12px;
    }

    .asvf-gallery-photo {
        flex-basis: min(82vw, 320px);
    }

    .asvf-gallery-controls {
        inset: 0;
    }

    .asvf-gallery-arrow {
        width: 46px;
        height: 46px;
        font-size: 30px;
    }

    .asvf-gallery-prev {
        right: auto;
        left: 8px;
    }

    .asvf-gallery-next {
        right: 8px;
        left: auto;
    }

    .asvf-gallery-lightbox {
        padding: 64px 8px 20px;
    }

    .asvf-gallery-lightbox-arrow {
        width: 44px;
        font-size: 44px;
    }

    .asvf-gallery-lightbox-prev {
        left: 4px;
    }

    .asvf-gallery-lightbox-next {
        right: 4px;
    }

    .asvf-gallery-lightbox figcaption {
        padding: 12px 4px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .asvf-gallery-viewport {
        scroll-behavior: auto;
    }

    .asvf-gallery-photo img {
        transition: none;
    }

    .asvf-gallery-lightbox figure {
        transition: none;
    }
}
