body.afa-page {
    background: #071424;
    color: #fff;
    font-family: "Sarabun", "Mulish", sans-serif;
    cursor: default;
}

.afa-page a,
.afa-page button {
    cursor: pointer;
}

.afa-page .slider-bottom .item-group[data-status="2"] {
    display: none;
}

.afa-main {
    min-height: 100vh;
    background: #071424;
    overflow-x: clip;
    letter-spacing: normal;
}

.afa-main * {
    letter-spacing: normal;
}

.afa-topbar {
    border-bottom: 3px solid #fff;
    background: #123a67 url("./../images/afa/nav-bg-mobile.webp") center / cover no-repeat;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-btn {
    min-height: 38px;
    padding: 7px 18px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.1;
    flex: 0 0 auto;
    width: fit-content;
    max-width: 32%;
}

.topbar-btn--blue {
    background: linear-gradient(180deg, #184272 14.06%, #2475d0 100%);
}

.topbar-btn img {
    width: 18px;
    height: auto;
}

.topbar-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    flex: 0 1 auto;
    width: fit-content;
    max-width: 38%;
    margin: 0 auto;
}

.topbar-center img {
    width: min(220px, 42vw);
    height: auto;
}

.topbar-center span {
    color: #fff;
    font-size: clamp(10px, 1.1vw, 24px);
    font-weight: 800;
    line-height: 1.15;
}

.afa-hero {
    position: relative;
    min-height: min(100vh, 980px);
    background: #000 url("./../images/afa/header/bg_mobile.webp") center top / cover no-repeat;
}

.afa-hero__media {
    width: 100%;
    padding: 18px 0 110px;
}

.afa-hero__logo {
    display: none;
}

.afa-video-frame {
    width: min(100%, 796px);
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 24px;
}

.afa-video-frame video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    object-fit: cover;
    background: #000;
}

.hero-tab,
.section-tab {
    width: 100%;
    display: block;
}

.hero-tab {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.afa-intro {
    position: relative;
    background: #fff url("./../images/afa/main_mobile_bg.webp") center top / cover no-repeat;
    /* padding: 36px 18px 0; */
    overflow: hidden;
    background-size: 100% 100%
}

.intro-copy {
    width: min(1401px, calc(100% - 40px));
    max-width: 1401px;
    margin: 0 auto 22px;
    text-align: center;
    color: #111827;
    position: relative;
    z-index: 2;
}

.intro-copy h1 {
    font-size: clamp(28px, 3.5vw, 62px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
    color: #000;
}

.intro-copy p {
    margin: 0 auto;
    font-size: clamp(14px, 1.05vw, 17px);
    line-height: 1.5;
    font-weight: 600;
    max-width: 100%;
    color: #000;
}

.intro-copy__break {
    display: none;
}

.info-swiper {
    width: min(1550px, calc(100vw - 40px));
    margin: 0 auto;
    overflow: visible;
    padding: 20px 0 24px;
}

.info-swiper-shell {
    width: min(1549px, calc(100vw - 28px));
    max-width: 1549px;
    margin: 0 auto;
    overflow: hidden;
}

.info-swiper .swiper-wrapper {
    align-items: center;
}

.info-swiper .info-slide {
    position: relative;
    z-index: 1;
    width: 100%;
    transition: transform .3s ease, opacity .3s ease;
}

.info-card {
    width: 80%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.info-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.info-swiper .info-dim {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.info-swiper .swiper-slide-active {
    transform: scale(1) !important;
    z-index: 10;
}

.info-swiper .swiper-slide-active .info-dim {
    opacity: 0;
}

.info-swiper .swiper-slide-prev .info-dim,
.info-swiper .swiper-slide-next .info-dim {
    opacity: 1;
}

.info-swiper .swiper-slide-prev {
    transform: translateX(190px) scale(0.6) !important;
    z-index: 2;
}

.info-swiper .swiper-slide-next {
    transform: translateX(-190px) scale(0.6) !important;
    z-index: 2;
}

.info-swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
    opacity: 0;
    pointer-events: none;
}

.story-wrap {
    width: min(1549px, calc(100vw - 28px));
    margin: 12px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.story-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.story-col {
    color: #173e69;
}

.story-header-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    margin-bottom: 16px;
}

.story-header-row--right {
    justify-content: flex-end;
}

.story-logo {
    width: 49px;
    flex: 0 0 auto;
}

.story-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.story-title-group,
.story-title-group--right {
    color: #173e69;
}

.story-title-group p,
.story-title-group--right p {
    font-size: clamp(20px, 1.25vw, 24px);
    font-weight: 800;
    line-height: 1.2;
    color: #173e69;
}

.story-title-group h2,
.story-title-group--right h2 {
    font-size: clamp(28px, 2vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    margin-top: 6px;
    color: #173e69;
}

.story-title-group--right {
    text-align: right;
}

.story-body {
    display: grid;
    gap: 16px;
    color: #173e69;
}

.story-body p {
    font-size: clamp(15px, 1.15vw, 20px);
    line-height: 1.65;
    font-weight: 600;
    color: #173e69;
}

.story-body--left {
    width: 100%;
}

.story-body--left p:first-child {
    width: 90%;
}

.story-body--left p:last-child {
    width: 80%;
}

.story-body--right {
    width: 100%;
}

.story-body--right p {
    width: 90%;
    margin-left: auto;
}

.afa-model {
    width: min(920px, 72vw);
    display: block;
    margin: 24px auto 0;
    position: relative;
    z-index: 1;
}

.vision-section {
    background: #d9e4ef url("./../images/afa/afa_bg_history_partner_mobile.webp") center top / cover no-repeat;
    padding: 30px 18px 42px;
}

.vision-copy {
    max-width: 1420px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    color: #173e69;
}

.vision-copy h2 {
    font-size: clamp(32px, 3vw, 50px);
    font-weight: 800;
    line-height: 1.1;
    color: #173e69;
}

.vision-copy p {
    font-size: clamp(15px, 1.2vw, 22px);
    line-height: 1.7;
    font-weight: 700;
    color: #173e69;
}

.vision-image img {
    width: min(980px, 100%);
    display: block;
    margin: 24px auto 0;
}

.cups-section {
    position: relative;
    background: #0f2741 url("./../images/afa/cups/celebrate_bg.webp") center / cover no-repeat;
    padding: 42px 18px 74px;
    overflow: hidden;
}

.cups-heading {
    text-align: center;
    color: #fff;
    margin-bottom: 22px;
}

.cups-heading p {
    font-size: clamp(22px, 2vw, 36px);
    font-weight: 700;
}

.cups-heading h2 {
    font-size: clamp(30px, 2.8vw, 54px);
    font-weight: 700;
    line-height: 1.15;
    margin-top: 8px;
}

.cups-shell {
    width: min(1460px, calc(100vw - 28px));
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.cups-swiper {
    padding: 18px 0 10px;
}

.cups-swiper .swiper-wrapper {
    align-items: center;
}

.cups-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cup-card {
    width: 100%;
    height: 264px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cup-card img {
    width: auto;
    max-width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

.cups-section .section-tab {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.reflect-section {
    background: #fff url("./../images/afa/afa_bg_event.webp") center / cover no-repeat;
    padding: 40px 0 46px;
    overflow: hidden;
}

.section-inner {
    width: min(1549px, calc(100vw - 28px));
    margin: 0 auto;
    padding: 0 0 28px;
}

.section-inner h2 {
    margin: 0 0 18px;
    text-align: center;
    color: #000;
    font-size: clamp(30px, 2.6vw, 40px);
    font-weight: 800;
    line-height: 1.15;
}

.reflect-shell {
    position: relative;
}

.reflect-swiper .swiper-slide {
    height: calc((100% - 10px) / 2) !important;
}

.reflect-swiper .swiper-slide img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 18px;
}

.reflect-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 54px;
    height: 54px;
    border: 0;
    background: transparent;
    padding: 0;
    display: none;
}

.reflect-nav img {
    width: 100%;
    height: auto;
}

.reflect-prev {
    left: -84px;
}

.reflect-next {
    right: -84px;
}

.reflect-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.reflect-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid #245796;
    background: transparent;
    opacity: .35;
}

.reflect-pagination .swiper-pagination-bullet-active {
    background: #245796;
    opacity: 1;
}

.afa-footer {
    background: #123a67 url("./../images/afa/nav-bg-mobile.webp") center / cover no-repeat;
    padding: 22px 18px;
    display: flex;
    justify-content: center;
}

.afa-footer img {
    width: min(336px, 80vw);
    height: auto;
}

@media (min-width: 1024px) {
    .afa-topbar {
        background-image: url("./../images/afa/nav-bg.webp");
    }

    .afa-hero {
        min-height: calc(100vh - 30px);
        background-image: url("./../images/afa/header/bg.webp");
    }

    .afa-hero__media {
        padding: 100px 64px 120px;
        width: min(100%, 920px);
        margin-left: auto;
        margin-right: 90px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .afa-hero__logo {
        display: block;
        width: 316px;
        height: auto;
        margin: 0 auto;
    }

    .afa-video-frame {
        width: 100%;
    }

    .afa-intro {
        background-image: url("./../images/afa/main_bg.webp");
        /* padding: 36px 24px 0; */
    }

    .intro-copy {
        width: min(1401px, calc(100% - 120px));
        margin-bottom: 26px;
    }

    .intro-copy h1 {
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .intro-copy p {
        font-size: 17px;
        line-height: 1.45;
    }

    .intro-copy__break {
        display: block;
    }

    .info-swiper .info-slide {
        width: 868px !important;
    }

    .info-card {
        width: 100%;
    }

    .info-swiper {
        width: min(1320px, calc(100% - 120px));
        max-width: calc(100% - 120px);
    }

    .info-swiper-shell {
        width: min(1549px, calc(100% - 120px));
    }

    .story-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .story-wrap {
        width: min(1549px, calc(100% - 120px));
        padding: 0 32px;
    }

    .story-col {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .story-col--right {
        align-items: flex-end;
    }

    .story-logo {
        width: 69px;
    }

    .story-title-group p,
    .story-title-group--right p {
        font-size: 22px;
    }

    .story-title-group h2,
    .story-title-group--right h2 {
        font-size: 32px;
    }

    .story-body {
        width: 50%;
    }

    .story-body p {
        font-size: 16px;
    }

    .vision-section {
        background-image: url("./../images/afa/afa_bg_history_partner.webp");
        padding: 34px 24px 60px;
    }

    .vision-copy {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 48px;
        align-items: center;
    }

    .cups-shell {
        width: min(1460px, calc(100vw - 120px));
    }

    .cup-card {
        height: 230px;
    }

    .section-inner {
        width: min(1549px, calc(100% - 120px));
    }

    .reflect-nav {
        display: block;
    }

    .afa-footer {
        background-image: url("./../images/afa/nav-bg.webp");
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .info-swiper .swiper-slide-prev {
        transform: translateX(400px) scale(0.6) !important;
    }

    .info-swiper .swiper-slide-next {
        transform: translateX(-400px) scale(0.6) !important;
    }
}

@media (max-width: 1023px) {
    .topbar-btn {
        padding: 7px 10px;
        border-radius: 8px;
        max-width: none;
    }

    .topbar-btn span {
        display: none;
    }

    .topbar-center img {
        width: min(220px, 42vw);
    }

    .topbar-center span {
        font-size: 10px;
        max-width: 220px;
    }

    .info-swiper-shell,
    .story-wrap {
        width: calc(100vw - 18px);
        padding: 0;
    }

    .story-body--left p:first-child,
    .story-body--left p:last-child,
    .story-body--right p {
        width: 100%;
    }

    .intro-copy h1 {
        margin-bottom: 10px;
    }

    .intro-copy p {
        font-size: 14px;
        line-height: 1.45;
    }
}

@media (max-width: 767px) {
    .afa-hero {
        min-height: auto;
    }

    .afa-hero__media {
        padding-bottom: 88px;
    }

    .afa-video-frame {
        padding: 0;
        background: none;
        border-radius: 0;
    }

    .section-inner {
        width: calc(100vw - 18px);
    }

    .info-swiper {
        width: calc(100vw - 18px);
        padding-bottom: 20px;
    }

    .cup-card {
        height: 230px;
    }

    .reflect-swiper .swiper-slide img {
        border-radius: 14px;
    }
}
