.orim-feg{--orim-feg-green:#275d45;font-family:inherit;max-width:1200px;margin:auto;padding:38px 0 64px}.orim-feg *{box-sizing:border-box}.orim-feg-heading{text-align:center;margin:0 0 38px}.orim-feg-eyebrow{font-size:11px;letter-spacing:.24em;color:#719079;font-weight:700}.orim-feg-heading h2{font-size:clamp(28px,3vw,40px);color:#263e32;font-weight:700;margin:10px 0}.orim-feg-heading p{color:#737d77;font-size:15px}.orim-feg-grid{display:grid;grid-template-columns:repeat(var(--orim-feg-cols),minmax(0,1fr));gap:24px}.orim-feg-event{display:block;text-decoration:none!important;color:inherit!important;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 8px 25px rgba(24,65,44,.08);transition:transform .2s}.orim-feg-event:hover{transform:translateY(-4px)}.orim-feg-cover{display:block;aspect-ratio:4/3;overflow:hidden}.orim-feg-cover img,.orim-feg-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.orim-feg-event:hover img,.orim-feg-photo:hover img{transform:scale(1.035)}.orim-feg-info{padding:17px 18px 20px;display:flex;align-items:center;justify-content:space-between;gap:8px}.orim-feg-info strong{font-size:16px;font-weight:500;color:#283d30}.orim-feg-info>span{font-size:12px;white-space:nowrap;color:#698576}.orim-feg-back{margin-bottom:14px}.orim-feg-back a{color:var(--orim-feg-green);text-decoration:none}.orim-feg-event-title{font-size:24px;font-weight:600;color:#2a4635;margin:0 0 22px}.orim-feg-event-title small{font-size:13px;font-weight:400;color:#7c877f}.orim-feg-photo{appearance:none;border:0;padding:0;aspect-ratio:4/3;background:#eef2ef;overflow:hidden;cursor:zoom-in;display:block;width:100%;border-radius:8px}.orim-feg-empty{background:#f5f8f5;padding:25px;border-radius:12px}.orim-feg-lightbox[hidden]{display:none!important}.orim-feg-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(11,20,16,.94);display:flex;align-items:center;justify-content:center;color:white;padding:55px 66px}.orim-feg-lightbox figure{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:100%;max-height:100%;min-width:0}.orim-feg-lightbox figure img{display:block;max-height:calc(100vh - 160px);max-width:min(1100px,100%);height:auto;width:auto;object-fit:contain}.orim-feg-lightbox figcaption{text-align:center;color:#e4ece8;font-size:14px;margin-top:12px}.orim-feg-close,.orim-feg-prev,.orim-feg-next{position:absolute;background:transparent!important;border:0!important;color:white!important;cursor:pointer;line-height:1}.orim-feg-close{top:14px;right:25px;font-size:40px}.orim-feg-prev,.orim-feg-next{top:50%;transform:translateY(-50%);font-size:65px;padding:4px 10px}.orim-feg-prev{left:8px}.orim-feg-next{right:8px}.orim-feg-counter{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:#e4ece8;font-size:13px}@media(max-width:900px){.orim-feg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}}@media(max-width:520px){.orim-feg{padding:25px 0}.orim-feg-grid{gap:10px}.orim-feg-info{padding:12px;display:block}.orim-feg-info strong{display:block;font-size:14px}.orim-feg-info>span{font-size:11px}.orim-feg-lightbox{padding:45px 38px}.orim-feg-lightbox figure img{max-height:calc(100vh - 140px)}.orim-feg-prev,.orim-feg-next{font-size:48px;padding:0}.orim-feg-close{right:12px}}

/* v1.1: 행사 목록에만 가로 자동 스크롤 적용 (상세 사진 그리드는 유지) */
.orim-feg-events-wrap.orim-feg-auto{overflow:hidden;max-width:100%;position:relative}
.orim-feg-auto .orim-feg-events{display:flex;gap:24px;width:max-content;max-width:none;animation:orim-feg-marquee var(--orim-feg-duration,35s) linear infinite;will-change:transform}
.orim-feg-auto .orim-feg-event{flex:0 0 clamp(220px,26vw,350px);width:clamp(220px,26vw,350px)}
.orim-feg-auto:hover .orim-feg-events,.orim-feg-auto:focus-within .orim-feg-events{animation-play-state:paused}
@keyframes orim-feg-marquee{from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--orim-feg-distance,0px)))}}
@media(max-width:520px){.orim-feg-auto .orim-feg-events{gap:12px}.orim-feg-auto .orim-feg-event{flex-basis:240px;width:240px}}
@media(prefers-reduced-motion:reduce){.orim-feg-auto .orim-feg-events{animation:none!important}.orim-feg-events-wrap.orim-feg-auto{overflow-x:auto}}

/* 팝업 슬라이드쇼 재생/일시정지 */
.orim-feg-lightbox .orim-feg-playpause{position:absolute;top:18px;left:20px;z-index:10;background:rgba(0,0,0,.6);color:#fff;border:1px solid rgba(255,255,255,.4);border-radius:8px;padding:8px 13px;font-size:13px;cursor:pointer}
.orim-feg-lightbox .orim-feg-playpause:hover,.orim-feg-lightbox .orim-feg-playpause:focus-visible{background:rgba(40,70,50,.9)}

/* v1.3: 행사 목록 고정 그리드, 팝업 전체 화면, 이미지 페이드 전환 */
.orim-feg-events-wrap{overflow:visible!important;max-width:100%}
.orim-feg-events-wrap .orim-feg-events{display:grid!important;width:100%!important;max-width:100%!important;animation:none!important;transform:none!important;grid-template-columns:repeat(var(--orim-feg-cols),minmax(0,1fr))}
.orim-feg-events-wrap .orim-feg-event{width:auto!important;flex:none!important}
.orim-feg-lightbox{padding:0!important;width:100vw;height:100dvh;max-width:none;max-height:none;background:rgba(0,0,0,.97)}
.orim-feg-lightbox figure{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important}
.orim-feg-image-stage{position:relative;width:100vw;height:100dvh;overflow:hidden}
.orim-feg-lightbox .orim-feg-image-stage img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain;opacity:1;transition:opacity .65s ease}
.orim-feg-lightbox .orim-feg-image-stage .orim-feg-image-incoming{opacity:0;z-index:1}
.orim-feg-lightbox .orim-feg-image-stage .orim-feg-image-incoming.is-visible{opacity:1}
.orim-feg-lightbox figcaption{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);z-index:3;margin:0;background:rgba(0,0,0,.45);padding:4px 12px;border-radius:6px;max-width:75vw}
.orim-feg-close,.orim-feg-prev,.orim-feg-next,.orim-feg-counter{z-index:4}
.orim-feg-counter{bottom:14px}
@media(max-width:900px){.orim-feg-events-wrap .orim-feg-events{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.orim-feg-events-wrap .orim-feg-events{grid-template-columns:repeat(2,minmax(0,1fr))}.orim-feg-lightbox figure,.orim-feg-image-stage{height:100dvh}}
@media(prefers-reduced-motion:reduce){.orim-feg-lightbox .orim-feg-image-stage img{transition:none}}
