@import url("index7type_default.css");

:root {
    --hero-h: 570px;
    --orbit-strength: 1.3;/*circle 선명도 조정. 0.9 : 더 은은 / 1.0 : 기본 / 1.1~1.2 : 살짝 선명(추천) / 1.3 : 꽤 선명*/
    --orbit-opacity: clamp(0.82, calc(0.92 + (var(--orbit-strength) - 1) * 0.08), 1);
    --orbit-saturate: clamp(1, calc(1.06 + (var(--orbit-strength) - 1) * 0.35), 1.6);
    --orbit-contrast: clamp(1, calc(1.02 + (var(--orbit-strength) - 1) * 0.35), 1.6);
    --orbit-stroke: clamp(0.2px, calc(0.24px + (var(--orbit-strength) - 1) * 0.06px), 0.34px);
    --section-bg: url("../../2026/images/main_event_4.jpg");
    --section-bg-opacity: 0.08;
}

.rf7-heroPoster {
    height: calc(var(--hero-h) + var(--nav-h));
    padding-top: var(--nav-h);
}

@media (max-width: 767.98px) {
    :root {
        --hero-h: clamp(240px, 56.25vw, 420px);
    }
}

.rf7-heroPoster__objects {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.rf7-heroPoster__object {
    position: absolute;
    display: block;
    max-width: none;
    user-select: none;
    opacity: 0.72;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.18));
    transform-origin: center;
    animation: rf7HeroObjectFloat 9s ease-in-out infinite alternate;
}

.rf7-heroPoster__object--lt {
    top: 8%;
    left: -2%;
    width: clamp(100px, 11vw, 180px);
    animation: rf7HeroObjectFloatLT 5.8s ease-in-out infinite alternate;
}

.rf7-heroPoster__object--lm {
    top: 36%;
    left: 2%;
    width: clamp(120px, 14vw, 220px);
    opacity: 0.62;
    animation: rf7HeroObjectFloatLM 6.6s ease-in-out infinite alternate;
}

.rf7-heroPoster__object--rt {
    top: 10%;
    right: 3%;
    width: clamp(120px, 12vw, 210px);
    animation: rf7HeroObjectFloatRT 5.2s ease-in-out infinite alternate;
}

.rf7-heroPoster__object--rm {
    top: 30%;
    right: -1%;
    width: clamp(110px, 13vw, 205px);
    opacity: 0.58;
    animation: rf7HeroObjectSpin 8s linear infinite;
}

.rf7-heroPoster__object--lb {
    left: 8%;
    bottom: -2%;
    width: clamp(130px, 16vw, 250px);
    opacity: 0.6;
    animation-duration: 10.2s;
}

.rf7-heroPoster__object--rb {
    right: 8%;
    bottom: -6%;
    width: clamp(140px, 18vw, 270px);
    opacity: 0.64;
    animation: rf7HeroObjectSwingX 4.8s ease-in-out infinite alternate;
}

@keyframes rf7HeroObjectFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    100% {
        transform: translate3d(0, -14px, 0) rotate(2.5deg) scale(1.03);
    }
}

@keyframes rf7HeroObjectFloatLT {
    0% {
        transform: translate3d(0, 0, 0) rotate(-3deg) scale(1);
    }
    50% {
        transform: translate3d(18px, -16px, 0) rotate(4deg) scale(1.04);
    }
    100% {
        transform: translate3d(-10px, -30px, 0) rotate(-6deg) scale(1.02);
    }
}

@keyframes rf7HeroObjectFloatLM {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    50% {
        transform: translate3d(-14px, -18px, 0) rotate(-5deg) scale(1.05);
    }
    100% {
        transform: translate3d(16px, -34px, 0) rotate(5deg) scale(1.03);
    }
}

@keyframes rf7HeroObjectFloatRT {
    0% {
        transform: translate3d(0, 0, 0) rotate(4deg) scale(1);
    }
    50% {
        transform: translate3d(-20px, -14px, 0) rotate(-3deg) scale(1.04);
    }
    100% {
        transform: translate3d(12px, -28px, 0) rotate(6deg) scale(1.02);
    }
}

@keyframes rf7HeroObjectSwingX {
    0% {
        transform: translate3d(-22px, 0, 0) rotate(-4deg) scale(1);
    }
    50% {
        transform: translate3d(0, -3px, 0) rotate(0deg) scale(1.02);
    }
    100% {
        transform: translate3d(22px, 0, 0) rotate(4deg) scale(1);
    }
}

@keyframes rf7HeroObjectSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 991.98px) {
    .rf7-heroPoster__object--lm,
    .rf7-heroPoster__object--rm {
        display: none;
    }

    .rf7-heroPoster__object--lt {
        top: 12%;
        left: -4%;
        width: 92px;
    }

    .rf7-heroPoster__object--rt {
        top: 10%;
        right: -2%;
        width: 112px;
    }

    .rf7-heroPoster__object--lb {
        left: -1%;
        bottom: 2%;
        width: 118px;
    }

    .rf7-heroPoster__object--rb {
        right: -2%;
        bottom: -1%;
        width: 130px;
    }
}

@media (max-width: 575.98px) {
    .rf7-heroPoster__object {
        opacity: 0.46;
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.14));
    }

    .rf7-heroPoster__object--lt,
    .rf7-heroPoster__object--rt {
        display: none;
    }

    .rf7-heroPoster__object--lb {
        left: -3%;
        bottom: 6%;
        width: 96px;
    }

    .rf7-heroPoster__object--rb {
        right: -4%;
        bottom: 0;
        width: 108px;
    }
}

.rf7-timeBox {
    padding: 12px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.22);
}

.rf7-timeBox__num {
    font-weight: 950;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.96);
}

.rf7-timeBox__label {
    margin-top: 2px;
    font-weight: 900;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.66);
}

.rf7-section {
    padding: 66px 0;
    scroll-margin-top: 86px;
}

.rf7-section--shortsScroll {
    padding: 0;
}

/* -----------------------------------------------
쇼츠 섹션
----------------------------------------------- */
.scroll-container { position: relative; width: 100%; height: 4800px; background-color: #ffffff; transition: background-color 0.6s ease; }

/* 고정 뷰포트 */
.sticky-box { position: sticky; top: 0; width: 100%; height: 100vh; padding: 80px 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; isolation: isolate; /*background-color: #f4efe6;*/}

.sticky-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--section-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;
    filter: grayscale(1) saturate(0.9) contrast(1.05);
    transition: opacity 0.25s ease;
}

.sticky-box.is-festival-bg::before {
    opacity: var(--section-bg-opacity);
}

/* 3. 고정 섹션 헤더 */
.section-header { position: absolute; top: 100px; left: 80px; z-index: 30; will-change: transform, opacity; transform-origin: left top; }
.section-header .sub-title { font-size: 1.1rem; font-weight: 700; color: #888; margin-bottom: 10px; display: block; }
.section-header h2 { font-size: 3.5rem; font-weight: 800; display: flex; align-items: center; gap: 4px; margin-bottom: 15px; color: #ff9933;}
.section-header h2 .rainbow-o { display: inline-block; width: 35px; height: 35px; border-radius: 50%; border: 6px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(45deg, #ff9933, #ff9933, #fffc33, #fff59f, #ff9933); background-origin: border-box; background-clip: content-box, border-box; transform: translateY(4px); }
.section-header .desc { font-size: 1.2rem; color: #666; line-height: 1.6; max-width: 600px; }

/* 중앙 장식(스트로크 원) - 꿈틀거리는 움직임 구현 */
.center-orbits { position: absolute; left: 50%; top: 50%; width: min(650px, 120vw); height: min(650px, 120vw); transform: translate(-50%, -50%); z-index: 5; pointer-events: none; opacity: var(--orbit-opacity); overflow: visible; filter: saturate(var(--orbit-saturate)) contrast(var(--orbit-contrast)); }
.center-orbits svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* [수정 위치] stroke-width를 0.2로 줄여 실처럼 가늘게 */
.center-orbits .ring { fill: none; stroke-width: var(--orbit-stroke); stroke-linecap: round; vector-effect: non-scaling-stroke; transform-origin: 50% 50%; }

/* [수정 위치] 애니메이션 duration을 불규칙하게 설정하여 유기적인 느낌 구현 */
.center-orbits .ring--a { stroke: #ff3366; stroke-opacity: 0.78; animation: orbitA 11s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate; }
.center-orbits .ring--b { stroke: #ff9933; stroke-opacity: 0.84; animation: orbitB 7s cubic-bezier(0.6, 0.1, 0.3, 0.9) infinite alternate; }
.center-orbits .ring--c { stroke: #22c55e; stroke-opacity: 0.96; animation: orbitC 13s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate; }
.center-orbits .ring--d { stroke: #3b82f6; stroke-opacity: 0.96; animation: orbitD 5s cubic-bezier(0.6, 0.1, 0.3, 0.9) infinite alternate; }
.center-orbits .ring--e { stroke: #a033ff; stroke-opacity: 0.9; animation: orbitE 19s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate; }

/* [수정 위치] @keyframes 내부 translate 값을 조절하여 움직임 폭 제어 */
@keyframes orbitA { 0% { transform: translate(0,0) scale(1) rotate(0deg); } 100% { transform: translate(5px, -5px) scale(1.02) rotate(10deg); } }
@keyframes orbitB { 0% { transform: translate(0,0) scale(1) rotate(0deg); } 100% { transform: translate(-35px, 20px) scale(0.95) rotate(-45deg); } }
@keyframes orbitC { 0% { transform: translate(0,0) scale(1) rotate(0deg); } 100% { transform: translate(-10px, 10px) scale(1.01) rotate(-15deg); } }
@keyframes orbitD { 0% { transform: translate(0,0) scale(1) rotate(0deg); } 100% { transform: translate(40px, -30px) scale(1.1) rotate(60deg); } }
@keyframes orbitE { 0% { transform: translate(0,0) scale(1) rotate(0deg); } 100% { transform: translate(5px, 5px) scale(0.98) rotate(-5deg); } }

/* 우측 상단 스크롤 인디케이터 */
.scroll-indicator { position: absolute; right: 80px; top: 120px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; z-index: 30; }
.scroll-line { width: 150px; height: 2px; background: #eee; position: relative; overflow: hidden; }
.scroll-line-fill { position: absolute; left: 0; top: 0; width: 0%; height: 100%; background: #111; }
.scroll-text { font-size: 0.9rem; color: #ea3a3a; font-weight: 600; letter-spacing: 0.1em; }

.end-wipe { position: absolute; inset: 0; z-index: 25; pointer-events: none; opacity: 0; transition: opacity 0.35s ease; }
.end-wipe svg { width: 100%; height: 100%; display: block; }

/* 4. 가로 카드 트랙 */
.card-track { position: relative; z-index: 20; display: flex; width: max-content; height: 100%; align-items: center; will-change: transform; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.shorts-card { width: 100vw; height: 100%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.shorts-card.empty-space { width: 70vw; position: relative; display: flex; align-items: center; justify-content: flex-start; padding-left: 100px; }

.end-space-message { opacity: 0; transform: translateY(26px) scale(0.98); filter: blur(10px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease; max-width: 520px; }
.end-space-message.show-text { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
.end-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; color: #ea3a3a; }
.end-kicker::before { content: ""; width: 46px; height: 2px; background: rgba(17, 17, 17, 0.86); display: inline-block; }
.end-space-message h4 { font-size: clamp(3.2rem, 5.2vw, 5.2rem); font-weight: 100; color: #fff; margin: 10px 0 14px; letter-spacing: -0.06em; line-height: 0.92; text-shadow: 0 24px 60px rgba(0, 0, 0, 0.16); -webkit-text-stroke: 1px rgba(17, 17, 17, 0.10); }
.end-space-message p { font-size: 1.15rem; color: rgba(17, 17, 17, 1); line-height: 1.65; }
.end-space-message.show-text h4 { animation: endTitlePop 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.end-space-message.show-text p { animation: endDescRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both; }

@keyframes endTitlePop {
    0% { transform: translateY(14px) scale(0.98); letter-spacing: -0.10em; }
    60% { transform: translateY(-2px) scale(1.02); letter-spacing: -0.06em; }
    100% { transform: translateY(0) scale(1); letter-spacing: -0.06em; }
}

@keyframes endDescRise {
    0% { transform: translateY(16px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.card-inner { display: flex; align-items: center; gap: 100px; position: relative; }
.video-box { width: 420px; height: 680px; max-height: calc(100vh - 200px); border-radius: 40px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08); background-color: #000; position: relative; transition: transform 0.5s ease; }
.video-box--wide { width: clamp(560px, 58vw, 980px); height: auto; aspect-ratio: 16 / 9; }
.video-box iframe { width: 100%; height: 100%; border: none; }
.video-box:hover { transform: scale(1.02); }

.shorts-card--visual .card-inner {
    width: 100%;
    height: 100%;
    justify-content: center;
    gap: 0;
}

.shorts-card--festival .card-inner {
    width: 100%;
    height: 100%;
    justify-content: center;
    gap: 0;
}

.rf7-festivalVisual {
    width: min(980px, 86vw);
    text-align: center;
    word-break: keep-all;
    line-break: strict;
    hyphens: none;
    padding: clamp(18px, 4vw, 44px) clamp(14px, 3.2vw, 34px);
}

.rf7-festivalVisual__kicker {
    font-family: "SchoolSafetyWave", Pretendard, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1.05;
    background: linear-gradient(135deg, rgba(254, 166, 64, 0.98), rgba(234, 58, 58, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.rf7-festivalVisual__title {
    margin-top: 18px;
    font-size: clamp(1.28rem, 2.4vw, 2.1rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.35;
    color: rgba(17, 17, 17, 0.82);
}

.rf7-photoSplit {
    width: min(1200px, 92vw);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(18px, 4.2vw, 64px);
}

.rf7-photoCard {
    position: relative;
    aspect-ratio: 16 / 9;
    width: clamp(460px, 56vw, 860px);
    max-height: calc(100vh - 240px);
    overflow: hidden;
    background: #000;
}

.rf7-photoCard__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rf7-photoCopy {
    width: min(440px, 34vw);
    color: rgba(17, 17, 17, 0.92);
    word-break: keep-all;
    line-break: strict;
    hyphens: none;
}

.rf7-photoCopy__festival {
    display: flex;
    flex-direction: column;
    margin-top: clamp(18px, 3vw, 34px);
}

.rf7-photoCopy__program {
    padding-top: 0;
    border-top: 0;
}

.rf7-photoCard__copyKicker {
    font-family: "SchoolSafetyWave", Pretendard, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.06;
    background: linear-gradient(135deg, rgba(254, 166, 64, 0.98), rgba(234, 58, 58, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.rf7-photoCard__copyTitle {
    margin-top: 14px;
    font-size: clamp(1.12rem, 1.45vw, 1.55rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.45;
}

.rf7-photoCard__copyDesc {
    font-size: clamp(1.08rem, 1.35vw, 1.32rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: rgba(17, 17, 17, 0.9);
}

.rf7-photoCard__copyBody {
    margin-top: 12px;
    font-size: clamp(0.96rem, 1.05vw, 1.05rem);
    line-height: 1.75;
    color: rgba(17, 17, 17, 0.56);
}

.card-caption { width: 450px; display: flex; flex-direction: column; gap: 24px; }
.card-caption h3 { font-size: 4rem; font-weight: 900; color: #111; line-height: 1.1; word-break: keep-all; }
.card-caption p { font-size: 1.3rem; color: #777; line-height: 1.6; font-weight: 400; }
.rice-object { position: absolute; left: -60px; top: -60px; width: 140px; z-index: 4; transform: rotate(-15deg); filter: grayscale(0.2) opacity(0.8); pointer-events: none; }

.scroll-next-arrow { position: absolute; right: 155px; bottom: 120px; z-index: 20; opacity: 0; transform: translateY(-30px); transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); will-change: opacity, transform; }
.scroll-next-arrow.show-arrow { opacity: 1 !important; transform: translateY(0) !important; }
.scroll-next-arrow svg { width: 56px; height: 220px; fill: none; stroke: #000; stroke-width: 0.6px; stroke-linecap: round; stroke-linejoin: round; }
.scroll-next-arrow.show-arrow svg { animation: arrowBounce 1.5s infinite ease-in-out; }
@keyframes arrowBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.rf7-section--programs {
    position: relative;
    overflow: hidden;
    color: rgba(17, 17, 17, 0.92);
    padding-bottom: 88px;
    background: radial-gradient(900px 520px at 18% 10%, rgba(254, 166, 64, 0.22), transparent 60%), radial-gradient(760px 520px at 90% 30%, rgba(236, 72, 153, 0.12), transparent 65%), linear-gradient(180deg, #f3f4f6, #eef2f7);
}

.rf7-programsObjects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.rf7-programsObject {
    position: absolute;
    display: block;
    max-width: none;
    opacity: 0.28;
    filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.08));
    animation: rf7ProgramsObjectFloat 10s ease-in-out infinite alternate;
}

.rf7-programsObject--lt {
    top: 8%;
    left: -1.5%;
    width: clamp(100px, 10vw, 170px);
    animation-duration: 9.2s;
}

.rf7-programsObject--rt {
    top: 14%;
    right: -1%;
    width: clamp(108px, 11vw, 180px);
    animation-duration: 11.1s;
}

.rf7-programsObject--lb {
    left: 1%;
    bottom: 12%;
    width: clamp(120px, 13vw, 210px);
    opacity: 0.24;
    animation-duration: 10.4s;
}

.rf7-programsObject--rb {
    right: 0.5%;
    bottom: 10%;
    width: clamp(130px, 14vw, 220px);
    opacity: 0.26;
    animation-duration: 12s;
}

@keyframes rf7ProgramsObjectFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(0, -12px, 0) rotate(1.8deg);
    }
}

.rf7-programsHead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 80px;
}

.rf7-programsHead__left {
    flex: 1 1 auto;
    min-width: 0;
}

.rf7-programsHead__right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.rf7-programsHead__controls {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.rf7-programsKicker {
    color: rgba(17, 17, 17, 1);
    font-weight: 300;
    letter-spacing: 0.18em;
}

.rf7-programsTitle {
    margin-top: 12px;
    color: rgba(17, 17, 17, 0.92);
    font-size: clamp(2.6rem, 4vw, 4rem);
    letter-spacing: -0.04em;
    text-shadow: none;
}

.rf7-programsTabs {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.rf7-programTab {
    appearance: none;
    border: 1px solid rgba(17, 17, 17, 0.12);
    background: rgba(255, 255, 255, 0.78);
    color: rgba(17, 17, 17, 0.88);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1), background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.rf7-programTab:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(17, 17, 17, 0.18);
}

.rf7-programTab.is-active {
    background: rgba(17, 17, 17, 0.92);
    border-color: rgba(17, 17, 17, 0.92);
    color: rgba(255, 255, 255, 0.95);
}

.rf7-programsCarouselWrap {
    position: relative;
}

.rf7-programSlide {
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.rf7-programLayout {
    display: grid;
    grid-template-columns: minmax(380px, 1.1fr) minmax(360px, 0.9fr);
    gap: clamp(18px, 3vw, 46px);
    align-items: stretch;
}

.rf7-programMedia {
    position: relative;
    height: clamp(260px, 28vw, 460px);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(17, 17, 17, 0.06);
    /*box-shadow: 0 26px 70px rgba(0, 0, 0, 0.16);*/
}

.rf7-programMedia::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, 0.22), transparent 60%), linear-gradient(180deg, transparent 40%, rgba(17, 17, 17, 0.56));
    pointer-events: none;
    z-index: 1;
}

.rf7-programImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.rf7-programCopy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    padding: 18px 0 0;
    padding-left: 18px;
    position: relative;
}

.rf7-programGhost {
    font-weight: 950;
    letter-spacing: -0.08em;
    font-size: clamp(2.2rem, 4.6vw, 4.6rem);
    line-height: 1;
    color: rgba(17, 17, 17, 0.06);
}

.rf7-programMid {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
}

.rf7-programCta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    width: min(440px, 100%);
    justify-content: center;
    padding: 18px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(254, 166, 64, 0.98), rgba(234, 58, 58, 0.92));
    color: rgba(255, 255, 255, 0.96);
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: 1.08rem;
    border: 0;
    box-shadow: none;
    transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1), filter 0.18s ease;
}

.rf7-programCta::after {
    content: "→";
    font-weight: 950;
    transform: translateY(-1px);
}

.rf7-programCta:hover {
    transform: translateY(-1px);
    filter: brightness(1.02) saturate(1.05);
}

.rf7-programCta:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.24);
    outline-offset: 4px;
}

.rf7-programName {
    font-size: clamp(2.4rem, 3.9vw, 3.7rem);
    letter-spacing: -0.05em;
    line-height: 1.02;
    color: rgba(17, 17, 17, 0.96);
}

.rf7-programDesc {
    color: rgba(17, 17, 17, 0.68);
    font-weight: 600;
    line-height: 1.55;
    font-size: 1.08rem;
    max-width: 46ch;
}

.rf7-programsCtrl {
    position: relative;
    inset: auto;
    transform: none;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(17, 17, 17, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.rf7-programsCtrl .carousel-control-prev-icon,
.rf7-programsCtrl .carousel-control-next-icon {
    display: none;
}

.rf7-programsCtrl::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-color: rgba(17, 17, 17, 0.45);
    border-width: 0;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.rf7-programsCtrl.carousel-control-prev::before {
    border-top-width: 2px;
    border-left-width: 2px;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.rf7-programsCtrl.carousel-control-next::before {
    border-top-width: 2px;
    border-right-width: 2px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.rf7-programsCtrl:hover::before {
    border-color: rgba(17, 17, 17, 0.8);
}

.rf7-programsCtrl:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.24);
    outline-offset: 4px;
}

.rf7-programsIndicators {
    position: static;
    margin: 0;
    gap: 10px;
    justify-content: flex-end;
}

.rf7-programsIndicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: rgba(17, 17, 17, 0.22);
    opacity: 1;
    border: 0;
    margin: 0;
    transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1), background-color 0.18s ease;
}

.rf7-programsIndicators .active {
    background-color: rgba(17, 17, 17, 0.88);
    transform: scale(1.2);
}

.rf7-programsNav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.rf7-programsAuto {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    appearance: none;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(17, 17, 17, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    position: relative;
}

.rf7-programsAuto__icon {
    width: 16px;
    height: 16px;
    display: block;
    position: relative;
}

.rf7-programsAuto__icon::before,
.rf7-programsAuto__icon::after {
    content: "";
    position: absolute;
    top: 1px;
    bottom: 1px;
    width: 4px;
    border-radius: 2px;
    background: rgba(17, 17, 17, 0.7);
}

.rf7-programsAuto__icon::before {
    left: 2px;
}

.rf7-programsAuto__icon::after {
    right: 2px;
}

.rf7-programsAuto.is-paused .rf7-programsAuto__icon::before,
.rf7-programsAuto.is-paused .rf7-programsAuto__icon::after {
    width: 0;
    background: transparent;
}

.rf7-programsAuto.is-paused .rf7-programsAuto__icon {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid rgba(17, 17, 17, 0.72);
    margin-left: 2px;
}

.rf7-programsAuto:focus-visible {
    outline: 2px solid rgba(17, 17, 17, 0.24);
    outline-offset: 4px;
}

.carousel-item.active .rf7-programSlide {
    animation: rf7ProgSlideIn 0.68s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.carousel-item.active .rf7-programImg {
    transform: scale(1.05);
}

@keyframes rf7ProgSlideIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 14px, 0) scale(0.988);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0px);
    }
}

.rf7-programsWave {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 88px;
    display: block;
    pointer-events: none;
    z-index: 1;
    transform: translate3d(0, -100%, 0);
}

.rf7-programsWave path {
    fill: rgba(254, 166, 64, 1);
}

.rf7-section--way {
    --wave-h: 88px;
    --section-pad: clamp(44px, 5vw, 72px);
    position: relative;
    z-index: 1;
    margin-top: -88px;
    min-height: clamp(320px, 30vw, 520px);
    background-image: url("https://www.ricefestival.or.kr/inform/images/2024/1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    place-items: center;
    padding: calc(var(--section-pad) + var(--wave-h)) 0 var(--section-pad) 0;
    background-color: #eef2f7;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20600'%20preserveAspectRatio='none'%3E%3Cpath%20fill='%23fff'%20d='M0%2C90%20C220%2C0%20500%2C160%20720%2C90%20C940%2C20%201180%2C180%201440%2C90%20L1440%2C600%20L0%2C600%20Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20600'%20preserveAspectRatio='none'%3E%3Cpath%20fill='%23fff'%20d='M0%2C90%20C220%2C0%20500%2C160%20720%2C90%20C940%2C20%201180%2C180%201440%2C90%20L1440%2C600%20L0%2C600%20Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: top center;
    mask-position: top center;
}

.rf7-section--way::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.78));
    z-index: 0;
    pointer-events: none;
}

.rf7-wayContent {
    position: relative;
    z-index: 1;
    max-width: 980px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.94);
    padding-left: 16px;
    padding-right: 16px;
    transform: translate3d(0, 8px, 0);
}

.rf7-wayTitleLink {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}

.rf7-wayKicker {
    letter-spacing: 0.22em;
    font-weight: 900;
    font-size: 0.82rem;
}

.rf7-wayTitle {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    color: #fff;
    letter-spacing: -0.04em;
    text-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.rf7-wayDesc {
    max-width: 780px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.90);
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

@media (max-width: 575.98px) {
    .rf7-section--way {
        margin-top: 0;
        min-height: 380px;
        background-position: 55% center;
    }

    .rf7-wayContent {
        gap: 12px;
        transform: translate3d(0, 6px, 0);
    }

    .rf7-wayDesc {
        font-size: 1rem;
        line-height: 1.7;
    }
}

.rf7-wayNaverIcon {
    width: clamp(44px, 8vw, 64px);
    height: clamp(44px, 8vw, 64px);
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 199, 90, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 34px 84px rgba(0, 0, 0, 0.30);
    transition: transform 0.16s ease, filter 0.16s ease;
}

.rf7-wayNaverIcon:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.05);
}

.rf7-wayNaverIcon:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.78);
    outline-offset: 4px;
}

.rf7-wayNaverIcon__mark {
    color: #fff;
    font-weight: 1000;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    line-height: 1;
}

.rf7-wayCta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.75);
    outline-offset: 4px;
}

@media (max-width: 991.98px) {
    .rf7-programsObject--lt,
    .rf7-programsObject--rt {
        width: 96px;
        opacity: 0.2;
    }

    .rf7-programsObject--lb,
    .rf7-programsObject--rb {
        width: 118px;
        opacity: 0.18;
    }

    .rf7-programsHead {
        flex-direction: column;
        align-items: stretch;
    }

    .rf7-programsHead__right {
        align-items: flex-start;
        text-align: left;
        order: 0;
    }

    .rf7-programsHead__left {
        order: 1;
    }

    .rf7-programsHead__controls {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .rf7-programsTabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .rf7-programTab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .rf7-programSlide {
        padding: 0;
        min-height: auto;
    }

    .rf7-programLayout {
        grid-template-columns: 1fr;
    }

    .rf7-programMedia {
        min-height: 220px;
    }

    .rf7-programCopy {
        padding-left: 0;
    }

    .rf7-programCopy::after {
        display: none;
    }

    .rf7-programCta {
        margin-top: 0;
        width: 100%;
    }
}

.footer-section { width: 100%; height: 80vh; background-color: #fff; }

/* -----------------------------------------------
최신글
----------------------------------------------- */
.rf7-section--paper {
    padding: 88px 0;
    color: rgba(17, 17, 17, 0.92);
}

.rf7-paperWrap {
    position: relative;
}

.rf7-paperGrid {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
    align-items: flex-start;
    gap: clamp(28px, 4vw, 56px);
}

.rf7-paperPoster {
    position: relative;
}

.rf7-paperPoster img {
    width: 100%;
    display: block;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 32px 80px rgba(17, 17, 17, 0.10);
}

.rf7-paperBoard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rf7-paperHead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.rf7-paperKicker {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    color: rgba(17, 17, 17, 0.48);
    margin-bottom: 10px;
}

.rf7-paperTitle {
    font-size: clamp(2rem, 3.2vw, 3rem);
    color: var(--main);
    letter-spacing: -0.04em;
}

.rf7-paperMore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: rgba(17, 17, 17, 0.54);
    font-size: 0.95rem;
    font-weight: 700;
}

.rf7-paperMore::after {
    content: "\2192";
    font-size: 1rem;
}

.rf7-paperList {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rf7-paperItem {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 28px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.03);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rf7-paperItem::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    width: 6px;
    height: 54px;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(180deg, rgba(254, 166, 64, 0.96), rgba(234, 58, 58, 0.92));
}

.rf7-paperItem:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 26px 60px rgba(17, 17, 17, 0.08);
}

.rf7-paperItem__title {
    font-size: 1.12rem;
    line-height: 1.6;
    font-weight: 800;
    color: rgba(17, 17, 17, 0.88);
    padding-right: 20px;
    word-break: keep-all;
}

.rf7-paperItem__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rf7-paperItem__cat {
    /*display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border-bottom: 1px solid var(--point);*/
    color: rgba(17, 17, 17, 0.62);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    flex: 0 0 auto;
    /*background: rgba(255, 255, 255, 0.82);*/
    white-space: nowrap;
}

.rf7-paperItem__date {
    font-size: 0.94rem;
    color: rgba(17, 17, 17, 0.42);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .rf7-section--paper {
        padding: 72px 0;
    }

    .rf7-paperGrid {
        grid-template-columns: 1fr;
    }

    .rf7-paperPoster {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .rf7-section--paper {
        padding: 0;
    }

    .rf7-paperHead {
        flex-direction: column;
        gap: 12px;
    }

    .rf7-paperItem {
        padding: 22px 22px 20px;
        border-radius: 18px;
    }

    .rf7-paperItem__title {
        font-size: 1rem;
    }
}

.rf7-section--culture {
    position: relative;
    z-index: 0;
    padding: clamp(64px, 7vw, 112px) 0;
    background: linear-gradient(180deg, #ffffff, #f6f7f8);
    color: rgba(17, 17, 17, 0.92);
}

.rf7-cultureHead {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 34px;
}

.rf7-cultureTitle {
    font-size: clamp(1.9rem, 3.1vw, 2.9rem);
    letter-spacing: -0.045em;
    color: rgba(17, 17, 17, 0.85);
}

.rf7-cultureTitle__accent {
    font-size: clamp(2.6rem, 4vw, 4rem);
    background: linear-gradient(135deg, rgba(254, 166, 64, 0.98), rgba(234, 58, 58, 0.92));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.rf7-cultureDesc {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(17, 17, 17, 0.62);
    word-break: keep-all;
}

.rf7-cultureCards {
    align-items: stretch;
}

.rf7-cultureCard {
    height: 100%;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.06);
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rf7-cultureCard:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}

.rf7-cultureCard__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(17, 17, 17, 0.03);
}

.rf7-cultureCard__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.rf7-cultureCard__body {
    padding: 22px 22px 24px;
}

.rf7-cultureCard__title {
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(17, 17, 17, 0.92);
}

.rf7-cultureCard__desc {
    font-size: 0.98rem;
    line-height: 1.72;
    color: rgba(17, 17, 17, 0.62);
    word-break: keep-all;
}

@media (max-width: 991.98px) {
    .rf7-cultureHead {
        margin-bottom: 36px;
    }
}

@media (max-width: 575.98px) {
    .rf7-section--culture {
        padding: 56px 0;
    }

    .rf7-cultureHead {
        margin-bottom: 28px;
    }

    .rf7-cultureDesc {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .rf7-cultureCard__body {
        padding: 20px 20px 22px;
    }
}

.rf7-section--quickBanners {
    background: transparent;
    padding: 0;
}

.rf7-quickBannerGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
}

.rf7-quickBannerCard {
    position: relative;
    min-height: clamp(140px, 18vw, 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: rgba(255, 255, 255, 0.96);
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
}

.rf7-quickBannerCard::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--banner-bg, none);
    background-size: cover;
    background-position: center;
    filter: grayscale(1) contrast(1.08) brightness(0.9);
    transform: scale(1.02);
    transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
    will-change: transform;
    z-index: 0;
}

.rf7-quickBannerCard::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--banner-bg, none);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.38s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
    will-change: opacity, transform;
    z-index: 1;
}

.rf7-quickBannerShade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.84));
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.38s ease;
}

.rf7-quickBannerLabel {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.rf7-quickBannerLabel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--banner-bar-h, 48px);
    background: rgba(0, 0, 0, 0.7);
    transform: translate3d(0, 100%, 0);
    transition: transform 0.48s cubic-bezier(0.2, 0.9, 0.2, 1);
    will-change: transform;
}

.rf7-quickBannerText {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.04em;
    font-size: clamp(1.02rem, 1.6vw, 1.45rem);
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55), 0 16px 40px rgba(0, 0, 0, 0.65);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.22);
    transition: top 0.48s cubic-bezier(0.2, 0.9, 0.2, 1);
    will-change: top;
}

.rf7-quickBannerText::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(140px, 22vw, 220px);
    height: clamp(70px, 10vw, 120px);
    transform: translate3d(-50%, -50%, 0);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.44) 42%, rgba(255, 255, 255, 0) 72%);
    filter: blur(30px);
    opacity: 0.9;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.22s ease;
}

.rf7-quickBannerCard:hover {
    transform: none;
}

.rf7-quickBannerCard:hover::before {
    transform: scale(1.08);
}

.rf7-quickBannerCard:hover::after {
    opacity: 1;
    transform: scale(1.08);
}

.rf7-quickBannerCard:hover .rf7-quickBannerShade {
    opacity: 0.24;
}

.rf7-quickBannerCard:hover .rf7-quickBannerLabel::before {
    transform: translate3d(0, 0, 0);
}

.rf7-quickBannerCard:hover .rf7-quickBannerText {
    top: calc(100% - (var(--banner-bar-h, 48px) / 2));
    -webkit-text-stroke: 0px transparent;
}

.rf7-quickBannerCard:hover .rf7-quickBannerText::before {
    opacity: 0;
}

.rf7-quickBannerCard:focus-visible {
    outline: 2px solid rgba(15, 23, 42, 0.52);
    outline-offset: 4px;
}

@media (max-width: 991.98px) {
    .rf7-quickBannerGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .rf7-quickBannerCard {
        min-height: 140px;
    }

    .rf7-quickBannerLabel {
        font-size: clamp(1.12rem, 4.2vw, 1.55rem);
    }
}

.rf7-quickBannerCard--event {
    --banner-bg: url("../../2026/images/sample_banner_1.png");
}

.rf7-quickBannerCard--map {
    --banner-bg: url("../../2026/images/sample_banner_2.png");
}

.rf7-quickBannerCard--way {
    --banner-bg: url("../../2026/images/sample_banner_3.png");
}

.rf7-quickBannerCard--parking {
    --banner-bg: url("../../2026/images/sample_1.png");
}

@media (max-width: 991.98px) {
    .scroll-container { height: 4200px; }
    .sticky-box { padding: 72px 0; }
    .section-header { left: 24px; top: 84px; }
    .scroll-indicator { right: 24px; top: 92px; }
    .card-inner { flex-direction: column; gap: 26px; padding: 0 18px; }
    .video-box,
    .rf7-photoCard { width: min(86vw, 560px); height: auto; max-height: none; }
    .card-caption { width: min(86vw, 540px); text-align: center; align-items: center; }
    .card-caption h3 { font-size: clamp(2.1rem, 6.6vw, 3.1rem); }
    .card-caption p { font-size: 1.05rem; }
    .shorts-card.empty-space { width: 100vw; justify-content: center; padding-left: 0; }
    .scroll-next-arrow { right: 24px; bottom: 72px; }

    .rf7-photoSplit {
        width: min(640px, 92vw);
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .rf7-photoCopy {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .rf7-programsObject--lt,
    .rf7-programsObject--rt {
        display: none;
    }

    .rf7-programsObject--lb {
        left: -4%;
        bottom: 18%;
        width: 88px;
    }

    .rf7-programsObject--rb {
        right: -4%;
        bottom: 14%;
        width: 96px;
    }

    .scroll-container { height: 3800px; }
    .sticky-box { padding: 64px 0; }
    .section-header { left: 16px; top: 76px; }
    .section-header .sub-title { font-size: 0.96rem; }
    .section-header h2 { font-size: clamp(2.2rem, 10vw, 3.1rem); }
    .section-header h2 .rainbow-o { width: 28px; height: 28px; border-width: 5px; }
    .section-header .desc { font-size: 1rem; max-width: 320px; }
    .scroll-indicator { right: 16px; top: 86px; }
    .scroll-line { width: 120px; }
    .video-box,
    .rf7-photoCard { width: min(88vw, 420px); height: auto; border-radius: 28px; }
    .card-caption h3 { font-size: clamp(2rem, 9vw, 2.7rem); }
}

.rf7-shortsMobile {
    display: none;
    background: #ffffff;
    color: rgba(17, 17, 17, 0.92);
    position: relative;
    isolation: isolate;
}

.rf7-shortsMobile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: var(--section-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;
    filter: grayscale(1) saturate(0.9) contrast(1.05);
    transition: opacity 0.25s ease;
}

.rf7-shortsMobile.is-festival-bg::before {
    opacity: var(--section-bg-opacity);
}

.rf7-shortsMobileTitle {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    letter-spacing: -0.04em;
    color: rgba(17, 17, 17, 0.92);
}

.rf7-shortsMobileDesc {
    color: rgba(17, 17, 17, 0.62);
    font-size: 0.98rem;
    line-height: 1.6;
}

.rf7-swipeHint {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: rgba(17, 17, 17, 0.42);
    opacity: 0.9;
}

.rf7-swipeHint i {
    font-size: 0.92em;
    opacity: 0.85;
}

.rf7-shortsMobileSlide {
    max-width: 520px;
    margin: 0 auto;
}

.rf7-photoSplit--mobile {
    width: min(100%, 520px);
    margin: 0 auto;
}

.rf7-festivalVisual--mobile {
    width: min(520px, 92vw);
    margin: 0 auto;
    text-align: left;
}

.rf7-festivalVisual--mobile .rf7-festivalVisual__kicker {
    font-size: clamp(2.1rem, 9vw, 3.1rem);
}

.rf7-festivalVisual--mobile .rf7-festivalVisual__title {
    margin-top: 14px;
    font-size: clamp(1.12rem, 4.6vw, 1.55rem);
}

.rf7-photoSplit--mobile .rf7-photoCard {
    width: 100%;
    max-width: none;
}

.rf7-photoSplit--mobile .rf7-photoCopy {
    width: 100%;
}

.rf7-shortsMobileFrame {
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    overflow: hidden;
    border-radius: 26px;
}

.rf7-shortsMobileFrame--wide {
    aspect-ratio: 16 / 9;
}

.rf7-shortsMobileFrame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.rf7-shortsMobileCaption {
    padding: 16px 4px 0;
    text-align: center;
}

.rf7-shortsMobileName {
    font-weight: 900;
    letter-spacing: -0.03em;
    font-size: 1.12rem;
}

.rf7-shortsMobileText {
    margin-top: 8px;
    color: rgba(17, 17, 17, 0.62);
    font-size: 0.98rem;
    line-height: 1.6;
}

.rf7-shortsMobileCtrl {
    width: 14%;
}

@media (max-width: 767.98px) {
    :root {
        --mobile-pad: 56px;
    }

    .scroll-container {
        display: none;
    }

    .rf7-shortsMobile {
        display: block;
    }

    .rf7-section {
        padding-top: var(--mobile-pad);
        padding-bottom: var(--mobile-pad);
    }

    .rf7-section--programs {
        padding-top: var(--mobile-pad);
        padding-bottom: var(--mobile-pad);
    }

    .rf7-section--paper {
        padding-top: var(--mobile-pad);
        padding-bottom: var(--mobile-pad);
    }

    .rf7-section--culture {
        padding-top: var(--mobile-pad);
        padding-bottom: var(--mobile-pad);
    }

    .rf7-shortsMobile .container.py-5 {
        padding-top: var(--mobile-pad) !important;
        padding-bottom: var(--mobile-pad) !important;
    }

    .rf7-section--programs .container.py-5 {
        padding-top: var(--mobile-pad) !important;
        padding-bottom: var(--mobile-pad) !important;
    }

    .rf7-shortsMobileDesc,
    .rf7-wayDesc,
    .rf7-cultureDesc {
        display: none;
    }
}

.rf7-topBtn {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1200;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(17, 17, 17, 0.58);
    color: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1), background 0.18s ease, box-shadow 0.18s ease;
}

.rf7-topBtn.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rf7-topBtn:hover {
    background: rgba(17, 17, 17, 0.72);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.rf7-topBtn:focus-visible {
    outline: 3px solid rgba(254, 166, 64, 0.8);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .rf7-topBtn {
        display: none;
    }
}
