@charset "utf-8";

/* 
	이벤트 플로팅 CTA
	- 위치: event-floating.js 가 스크롤(scrollTop > 0) 시 .is-visible 을 토글
	- 기본(모바일/태블릿): fixed, 화면 하단 중앙. 숨김 상태는 아래로 내려가 있고 opacity 0, 클릭 불가
	- PC(1200px 이상): sticky 로 전환, 본문 흐름 안에서 하단 40px 에 붙음 (JS 가 .note 아래로 top 보정) 
*/

#wrap.boardPage.event .upload-viewWrap #event-floating{position: fixed; bottom: 72px; left: 50%; z-index: 101; display: inline-flex; align-items: center; justify-content: center; gap: 0; box-sizing: border-box; width: 232px; max-width: calc(100% - 32px); height: 48px; padding: 0 20px; border-radius: 8px; background-color: #0C182D; color: #fff; font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: -0.28px; text-decoration: none; white-space: nowrap; box-shadow: 0 14px 40px 0 rgba(0, 0, 0, 0.14); transform: translate(-50%, calc(100% + 16px)); opacity: 0; visibility: hidden; pointer-events: none; overflow: visible; cursor: pointer; transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s ease, background-color 0.3s ease; transition-delay: 0s, 0s, 0s, 0s; gap: 6px; }
#wrap.boardPage.event .upload-viewWrap #event-floating svg{display: none;}
#wrap.boardPage.event .upload-viewWrap #event-floating.is-visible{transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0.1s, 0.1s, 0.1s, 0s;}
#wrap.boardPage.event .upload-viewWrap #event-floating .event-floating__text{display: inline-flex; align-items: center; font-family: "Elice DX Neolli", sans-serif; font-size: 16px; font-weight: 300; letter-spacing: 0;}
#wrap.boardPage.event .upload-viewWrap #event-floating .event-floating__text em{background: linear-gradient(90deg, #FFFBD0 -0.65%, #DAFFB8 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 500; margin-right: 4px;}

@media screen and (min-width: 744px) {
	#wrap.boardPage.event .upload-viewWrap #event-floating{width: 332px;}
}

@media screen and (min-width: 1200px) {
	#wrap.boardPage.event .upload-viewWrap #event-floating{position: sticky; bottom: 40px; left: 50%; z-index: 101; width: 384px; height: 56px; margin: 0 0 100px; padding: 0 24px; font-size: 18px; letter-spacing: -0.36px; border-radius: 12px;}
	#wrap.boardPage.event .upload-viewWrap #event-floating svg{display: block;}
	#wrap.boardPage.event .upload-viewWrap #event-floating.is-visible{transform: translate(-50%, 0);}
	#wrap.boardPage.event .upload-viewWrap #event-floating .event-floating__arrow{display: block; width: 18px; height: 18px;}
	#wrap.boardPage.event .upload-viewWrap #event-floating .event-floating__text{font-size: 18px; letter-spacing: -0.36px;}
	#wrap.boardPage.event .upload-viewWrap #event-floating .event-floating__text em{margin: 0 6px;}
}

/* 호버 효과 (마우스 환경) */
@media (hover: hover) and (pointer: fine) {
    /* 플로팅 버튼 */
    #wrap.boardPage.event .upload-viewWrap.visit-consult #event-floating:hover{background-color: #40404E;}
}