/*
Theme Name: Glovis Webzine
Theme URI: 
Author: Glovis Webzine Team
Author URI: 
Description: 글로비스 웹진(Glovis Webzine) 제안 및 시연을 위해 제작된 커스텀 워드프레스 테마입니다.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: glovis-webzine
*/

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Presentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    height: 50px;
    z-index: 9999;
    top: 0;
    left: 0;
}

#site-navigation {
    width: calc(100% - 80px);
    max-width: 1200px;
    padding: 0 40px;
    margin: 0 auto;
    height: 100%;
    position: relative;

    transition: all 0.4s;
}

#site-navigation ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0;
}

#site-navigation ul li {
    height: 100%;
    list-style: none;
}

#site-navigation ul li#logo {
    width: 123px;
    background: url('img/glovis-logo.png') no-repeat left center;
    background-size: contain;
}

#site-navigation ul li#logo a {
    width: 100%;
    height: 100%;
    display: inline-block;
}

#site-navigation ul li#section-button {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    position: relative;
    top: -50px;
    transition: top 0.6s;
}

#site-navigation ul li#section-button.active {
    top: 0;
}

#section-button .section-title {
    font-family: 'Presentation';
    font-weight: 700;
    font-size: 16px;
    width: 77px;
    color: #323232;
    transition: opacity 0.3s;
    cursor: pointer;
}

#section-button .section-title.left {
    text-align: right;
    padding-right: 2px;
}

#section-button .section-title.right {
    text-align: left;
    padding-left: 4px;
    width: 75px;
}

#section-button.btn-right .section-title.left {
    color: #FF9700;
}

#section-button.btn-right .section-title.right {
    color: #8C8C8C;
    /* 옅은 회색 */
}

#section-button.btn-left .section-title.left {
    color: #8C8C8C;
}

#section-button.btn-left .section-title.right {
    color: #00DBEE;
}

#section-button .on-btn-container {
    width: 54px;
    height: 26px;
    border-radius: 18px;
    background-color: #FF9700;
    position: relative;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#section-button.btn-left .on-btn-container {
    background-color: #00DBEE;
}

#section-button .on-btn-container .on-btn {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 9px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: left 0.3s ease, color 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#section-button.btn-right .on-btn-container .on-btn {
    left: 4px;
    color: #FF9700;
}

#section-button.btn-left .on-btn-container .on-btn {
    left: 32px;
    color: #00DBEE;
}

#site-navigation ul li#menu-buttons {
    width: 85px;
    background: url('img/menu.png') no-repeat right center;
    background-size: contain;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.site-main.single-post-main {
    padding-top: 100px;
    padding-bottom: 300px;
}

/* body.home .site-footer {
    display: none;
} */

.site-footer a {
    color: #00a0e9;
}

/* ==========================================================================
   프론트 페이지 (인트로) 스타일
   ========================================================================== */

/* 기본 컨테이너의 제한된 넓이/패딩 해제 */
.site-main-intro {
    padding: 0;
    margin: 50px 0 0;
    max-width: 100%;
    height: auto;
    overflow: hidden;
}

.intro-container {
    position: relative;
    width: 100vw;
    height: calc(100vh - 50px);
    /* 사이트 헤더 높이만큼 뺌 */
    position: relative;
    overflow: hidden;
    z-index: 11;
}

.bg-layer-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bg-layer.active {
    opacity: 1;
}

.bg-layer.official {
    background-image: url('img/intro-bg-1.jpg');
}

.bg-layer.behind {
    background-image: url('img/intro-bg-2.jpg');
}

/* 무한 이동 로고 배경 컨테이너 */
.intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 화면보다 약간 크게 설정하여 여백 방지 */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    z-index: 1;
}

.marquee-row {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1;
}

.marquee-inner {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}

/* 오른쪽에서 왼쪽 (홀수 줄) */
.marquee-row.rt-to-lt .marquee-inner {
    animation: marquee-rtl 100s linear infinite;
}

/* 왼쪽에서 오른쪽 (짝수 줄) */
.marquee-row.lt-to-rt .marquee-inner {
    /* 시작 자체를 -50%에서 출발하고 0으로 감 */
    transform: translateX(-50%);
    animation: marquee-ltr 100s linear infinite;
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* 전체 너비의 절반 이동 */
}

@keyframes marquee-ltr {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }

    /* 절반에서 원래 위치로 이동 */
}

.marquee-row .logo {
    display: inline-block;
    font-size: calc(25vh - 20px);
    font-weight: 900;
    padding: 0;
    margin-right: -0.1em;
    font-family: 'Be Vietnam Pro', sans-serif;
    text-transform: uppercase;
}

.marquee-row .logo sup {
    font-size: 0.4em;
    position: relative;
    top: -0.5em;
    left: -0.15em;
    font-weight: 900;
}

.logo.black {
    /* color: #323232; */
    color: #fff;
    opacity: 0.6;
}

.logo.white {
    color: #fff;
    opacity: 0.2;
    /* -webkit-text-stroke: 1px #323232; */
}

/* 중앙 주황색 오버레이 박스 */
.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* 박스 바깥은 클릭 통과 */
}

.intro-center-box {
    position: relative;
    overflow: hidden;
    width: 490px;
    height: 180px;
    padding: 30px;
    border-radius: 120px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    transition: background-color 0.5s ease;
    display: block;
}

.intro-center-box.btn-right {
    background-color: #FF9700;
}

.intro-center-box.btn-left {
    background-color: #00DBEE;
}

.intro-center-box .section-title {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Presentation';
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    width: 310px;
    margin: 0;
    text-align: center;
    transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    white-space: nowrap;
    cursor: pointer;
}

/* btn-right 상태 (기본): 
   버튼이 오른쪽, 왼쪽 타이틀이 보임, 오른쪽 타이틀은 화면 밖 */
.intro-center-box.btn-right .section-title.left {
    left: 30px;
    opacity: 1;
}

.intro-center-box.btn-right .section-title.right {
    left: 550px;
    opacity: 0;
}

/* btn-left 상태:
   버튼이 왼쪽, 왼쪽 타이틀은 화면 밖, 오른쪽 타이틀이 보임 */
.intro-center-box.btn-left .section-title.left {
    left: -300px;
    opacity: 0;
}

.intro-center-box.btn-left .section-title.right {
    left: 220px;
    opacity: 1;
}

/* ON 버튼 */
.section-btn {
    position: absolute;
    top: 30px;
    font-family: 'Be Vietnam Pro', sans-serif;
    width: 180px;
    height: 180px;
    line-height: 180px;
    appearance: none;
    background-color: #fff;
    font-size: 66px;
    font-weight: 800;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: left 0.6s cubic-bezier(0.25, 1, 0.5, 1), color 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.6s ease, opacity 0.3s ease;
    z-index: 10;
}

/* 버튼 좌우 이동 */
.intro-center-box.btn-right .section-btn {
    left: 340px;
    /* 30px(패딩) + 310px(공간) = 340px */
}

.intro-center-box.btn-left .section-btn {
    left: 30px;
    /* 왼쪽 패딩부터 시작 */
}

.btn-right .section-btn {
    color: #FF9700;
}

.btn-left .section-btn {
    color: #00DBEE;
}

/* ==========================================================================
   인트로 분할(Curtain) 애니메이션 레이어
   ========================================================================== */
.intro-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
    /* .intro-overlay (z-index 10) 위로 올라가도록 설정 */
    pointer-events: none;
    overflow: hidden;
}

.intro-animation.active {
    pointer-events: auto;
    /* 열릴 때는 클릭이 안되도록 */
}

.anim-split {
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.anim-split.top {
    top: 0;
    transform: translateY(calc(-100% - 2px));
}

.anim-split.bottom {
    bottom: 0;
    transform: translateY(calc(100% + 2px));
}

.intro-animation.active .anim-split.top {
    transform: translateY(0);
}

.intro-animation.active .anim-split.bottom {
    transform: translateY(0);
}

/* 지정된 섹션에 맞게 배경색 부여 */
.anim-split.official {
    background-color: #FF9700;
}

.anim-split.behind {
    background-color: #00DBEE;
}

.anim-title {
    position: absolute;
    top: 60px;
    /* 상단 여백 (이미지 참고) */
    left: 60px;
    /* 좌측 여백 (이미지 참고) */
    color: #fff;
    font-size: 9em;
    /* 화면 꽉 차게 브라우저 폭 기반 설정 */
    font-weight: 700;
    font-family: 'Be Vietnam Pro', sans-serif;
    line-height: 1;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease 0.4s;
    /* 슬라이드 인 후 나타나게 딜레이 */
}

.intro-animation.active .anim-title {
    opacity: 1;
}

.anim-title .plus-sign {
    font-size: 0.6em;
    /* 플러스 크기 상대조정 */
    vertical-align: top;
}

/* ==========================================================================
   인트로 배경 비디오 및 커튼 투명화 효과
   ========================================================================== */
.intro-video-layer {
    position: absolute;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 105;
    /* .intro-overlay(10) 보다는 낮게, .intro-background(기본) 보다는 높게 */
}

.intro-video-layer.active {
    top: 0;
}

.intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.intro-video.active {
    opacity: 1;
}

/* ==========================================================================
   커튼 부분 개방 및 완전히 열리는 시퀀스 애니메이션
   ========================================================================== */
@keyframes curtainOpenTop {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(calc(-100% - 2px));
    }
}

@keyframes curtainOpenBottom {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(30px);
    }

    60% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(calc(100% + 2px));
    }
}

/* open-sequence 클래스가 추가되면 열림 동작 실행 (상태 유지) */
.intro-animation.open-sequence .anim-split.top {
    animation: curtainOpenTop 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

.intro-animation.open-sequence .anim-split.bottom {
    animation: curtainOpenBottom 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}

/* ==========================================================================
   Section Content (글비피셜 & 글비하인드 그리드)
   ========================================================================== */
.section-container {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 40px 450px;
    display: none;
    /* 초기 숨김 */
}

.section-container.show {
    display: block;
    animation: footerSlideUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.section-content {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.section-content.active {
    display: block;
    opacity: 1;
}

.section-main-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #111;
    letter-spacing: -0.01em;
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 40px;
    margin-bottom: 120px;
}

.article-card {
    display: flex;
    flex-direction: column;
}

.thumb-box {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Official 섹션 배경색 및 이미지 */
.shape-a-1 .thumb-box {
    background-color: #AD8AFF;
}

.shape-a-2 .thumb-box {
    background-color: #FF9700;
}

.shape-a-3 .thumb-box {
    background-color: #00DBEE;
}

.shape-a-4 .thumb-box {
    background-color: #FFCCD6;
}

.shape-a-5 .thumb-box {
    background-color: #FF6888;
}

.shape-a-6 .thumb-box {
    background-color: #FAE53B;
}

/* Behind 섹션 배경색 및 이미지 */
.shape-b-1 .thumb-box {
    background-color: #FBEC57;
}

.shape-b-2 .thumb-box {
    background-color: #FF62D6;
}

.shape-b-3 .thumb-box {
    background-color: #29B1FF;
}

.shape-b-4 .thumb-box {
    background-color: #FFAF00;
}

.shape-b-5 .thumb-box {
    background-color: #AF8B85;
}

.shape-b-6 .thumb-box {
    background-color: #85FFC4;
}

/* 공통 마스트 및 이미지 스타일 */
.thumb-img {
    position: relative;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    overflow: hidden;
    cursor: pointer;
}

.thumb-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--thumb-bg);
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.popular-card .thumb-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #000;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.popular-card:hover .thumb-img::after {
    opacity: 0;
}

/* 마스크 쉐입 및 썸네일 이미지 정의 */
.shape-a-1 .thumb-img {
    --thumb-bg: url('img/thumb-a-1.jpg');
    -webkit-mask-image: url('img/shape-a-1.svg');
    mask-image: url('img/shape-a-1.svg');
}

.shape-a-2 .thumb-img {
    --thumb-bg: url('img/thumb-a-2.jpg');
    -webkit-mask-image: url('img/shape-a-2.svg');
    mask-image: url('img/shape-a-2.svg');
}

.shape-a-3 .thumb-img {
    --thumb-bg: url('img/thumb-a-3.jpg');
    -webkit-mask-image: url('img/shape-a-3.svg');
    mask-image: url('img/shape-a-3.svg');
}

.shape-a-4 .thumb-img {
    --thumb-bg: url('img/thumb-a-4.jpg');
    -webkit-mask-image: url('img/shape-a-4.svg');
    mask-image: url('img/shape-a-4.svg');
}

.shape-a-5 .thumb-img {
    --thumb-bg: url('img/thumb-a-5.jpg');
    -webkit-mask-image: url('img/shape-a-5.svg');
    mask-image: url('img/shape-a-5.svg');
}

.shape-a-6 .thumb-img {
    --thumb-bg: url('img/thumb-a-6.jpg');
    -webkit-mask-image: url('img/shape-a-6.svg');
    mask-image: url('img/shape-a-6.svg');
}

.shape-b-1 .thumb-img {
    --thumb-bg: url('img/thumb-b-1.jpg');
    -webkit-mask-image: url('img/shape-b-1.svg');
    mask-image: url('img/shape-b-1.svg');
}

.shape-b-2 .thumb-img {
    --thumb-bg: url('img/thumb-b-2.jpg');
    -webkit-mask-image: url('img/shape-b-2.svg');
    mask-image: url('img/shape-b-2.svg');
}

.shape-b-3 .thumb-img {
    --thumb-bg: url('img/thumb-b-3.jpg');
    -webkit-mask-image: url('img/shape-b-3.svg');
    mask-image: url('img/shape-b-3.svg');
}

.shape-b-4 .thumb-img {
    --thumb-bg: url('img/thumb-b-4.jpg');
    -webkit-mask-image: url('img/shape-b-4.svg');
    mask-image: url('img/shape-b-4.svg');
}

.shape-b-5 .thumb-img {
    --thumb-bg: url('img/thumb-b-5.jpg');
    -webkit-mask-image: url('img/shape-b-5.svg');
    mask-image: url('img/shape-b-5.svg');
}

.shape-b-6 .thumb-img {
    --thumb-bg: url('img/thumb-b-6.jpg');
    -webkit-mask-image: url('img/shape-b-6.svg');
    mask-image: url('img/shape-b-6.svg');
}

/* 호버 효과: 틀은 고정되고 이미지만 확대 */
.article-card:hover .thumb-img::before {
    transform: scale(1.2);
}

.category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    width: fit-content;
}

/* Official Tag Color */
.official .category {
    border: 1px solid #FF9900;
    color: #FF9900;
}

/* Behind Tag Color */
.behind .category {
    border: 1px solid #00D1FF;
    color: #00D1FF;
}

.article-card .title,
.popular-card .title {
    font-family: 'Presentation', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    color: #111;
    margin-top: 0px;
    margin-bottom: 10px;
    word-break: keep-all;
}

.article-card .date,
.popular-card .date {
    font-size: 13px;
    color: #999;
    margin-top: 0;
}

.section-divider {
    border: 0;
    border-top: 1px solid #000;
    margin-bottom: 80px;
}

/* Popular Section */
.popular-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #111;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.popular-card {
    display: flex;
    flex-direction: column;
}

.popular-thumb {
    width: 100%;
    aspect-ratio: 1 / 1.125;
    margin-bottom: 25px;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    background-color: #F5F5F5;
}

.popular-thumb .thumb-img {
    width: 100%;
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    background-color: rgba(0, 0, 0, 0.1);
}

.popular-card .category {
    margin-bottom: 15px;
}

/* Popular Content Images - Official */
#content-official .popular-card:nth-child(1) .thumb-img {
    --thumb-bg: url('img/pick-a-1.jpg');
}

#content-official .popular-card:nth-child(2) .thumb-img {
    --thumb-bg: url('img/pick-a-2.jpg');
}

#content-official .popular-card:nth-child(3) .thumb-img {
    --thumb-bg: url('img/pick-a-3.png');
}

/* Popular Content Images - Behind */
#content-behind .popular-card:nth-child(1) .thumb-img {
    --thumb-bg: url('img/pick-b-1.jpg');
}

#content-behind .popular-card:nth-child(2) .thumb-img {
    --thumb-bg: url('img/pick-b-2.jpg');
}

#content-behind .popular-card:nth-child(3) .thumb-img {
    --thumb-bg: url('img/pick-b-3.jpg');
}

/* Popular Card Hover Effect */
.popular-card:hover .thumb-img::before {
    transform: scale(1.1);
}


.site-footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    background-color: transparent;
    /* 초기에는 공간을 차지하지 않도록 완전히 숨김 */
    display: none;
}

.site-footer.show {
    display: block;
    /* 나타날 때 슬라이드 업 애니메이션 적용 */
    animation: footerSlideUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes footerSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-event-wrapper {
    width: 100%;
    background-color: #B4FF5C;
    border-radius: 55px 55px 0 0;
    display: flex;
    justify-content: center;
}

.footer-event-box {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    padding: 30px 40px;
    position: relative;
}

.event-left {
    margin-right: 40px;
}

.event-title {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: #111;
    margin: 0;
    line-height: 1;
}

.event-mid {
    flex-grow: 1;
}

.event-desc-main {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0 0 5px 0;
    line-height: 1.35;
}

.event-desc-sub {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.event-character {
    width: 180px;
    height: 180px;
    position: absolute;
    right: 230px;
    /* 버튼을 피해 왼편에 배치 */
    bottom: 0;
    margin-bottom: -1px;
    /* 선과 맞닿게 조정 */
    background-image: url('img/event-icon.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 10;
}

/* 푸터 캐릭터 이미지가 없을 때를 대비한 CSS 도형 목업 */
.char-fallback {
    width: 110px;
    height: 110px;
    background: #5300FF;
    border-radius: 50%;
    position: absolute;
    bottom: 25px;
    left: 15px;
    z-index: -1;
}

.char-fallback::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 25px;
    width: 20px;
    height: 25px;
    background: #5300FF;
    box-shadow: 40px 0 0 #5300FF;
    /* 두 번째 다리 */
}

.event-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-btn {
    border: 2px solid #5300FF;
    color: #5300FF !important;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    background-color: transparent;
}

.event-btn:hover {
    background-color: #5300FF;
    color: #fff !important;
}

.footer-copyright-area {
    background-color: #383838;
    width: 100%;
    /* 초기 상태: 숨김 */
    max-height: 0px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-copyright-area.visible {
    max-height: 200px;
}

.footer-copyright-box {
    width: 100%;
    max-width: 1200px;
    padding: 40px;
}

.privacy-policy {
    margin: 0;
}

.privacy-policy a {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

.copyright-text {
    color: #a0a0a0;
    font-size: 15px;
    margin: 0;
    font-weight: 400;
}

/* ==========================================================================
   Full Menu Overlay (전체 메뉴 팝업)
   ========================================================================== */
.full-menu-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: calc(100% - 120px);
    height: calc(100% - 80px);
    background-color: #6D5F58;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    color: #fff;
}

.full-menu-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 55px;
    max-width: 1200px;
    width: 100%;
}

.vol-info {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.close-menu {
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-menu:hover {
    transform: rotate(90deg);
}

.close-menu::before,
.close-menu::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.close-menu::before {
    transform: rotate(45deg);
}

.close-menu::after {
    transform: rotate(-45deg);
}

.menu-body {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    overflow-y: auto;
    min-height: 0;
}

.menu-column {
    flex: 1;
}

.col-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 0px;
    line-height: 1.1;
}

.col-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 35px;
}

.official .col-subtitle {
    color: #FF9900;
}

.behind .col-subtitle {
    color: #00D1FF;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1.5px solid rgba(255, 255, 255, 0.6);
}

.menu-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-list li a {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.menu-list li a:hover {
    opacity: 0.7;
}

.item-title {
    font-size: 18px;
    font-weight: 700;
    /* margin-bottom: 8px; */
    text-transform: uppercase;
}

.item-desc {
    font-size: 15px;
    font-weight: 400;
    opacity: 0.8;
}

.menu-footer {
    padding-top: 40px;
}

.footer-btn-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-btn {
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    word-break: keep-all;
    transition: all 0.3s;
}

.footer-btn:hover {
    background-color: #fff;
    color: #6D5F58;
}

/* 상세페이지 스타일 */
.entry-cover {
    width: 100vw;
    position: relative;
    top: 50px;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -100px;
    margin-bottom: 100px;
    overflow: hidden;
    z-index: 99;
}

.entry-cover img {
    min-width: 1920px;
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.floating-side-button {
    position: fixed;
    right: 40px;
    top: calc(50vh - 303px);
    width: 70px;
    height: 606px;
    background: url('img/like-button.png') no-repeat center center;
    background-size: contain;
    z-index: 98;
}

body.postid-572 .floating-side-button {
    display: none !important;
}

.entry-content {
    font-family: 'Presentation', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    font-size: 21px;
    font-weight: 200;
    line-height: 1.75em;
}

.entry-content h3 {
    font-size: 27px;
    font-weight: 700;
    /* margin-bottom: 90px; */
    position: relative;
}

.entry-content h3::before,
.entry-content h3::after {
    content: '';
    position: absolute;
    top: 10px;
    width: calc(calc(50vw - 50%) - 40px);
    height: 1px;
    background-color: #000;
}

.entry-content h3::before {
    right: calc(100% + 40px);
}

.entry-content h3::after {
    left: calc(100% + 40px);
}

.entry-content h4 {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 35px;
}

.entry-content h4 small {
    font-size: 21px;
    font-weight: 200;
}

.entry-content h4::before {
    content: '';
    position: absolute;
    top: 10px;
    width: 60px;
    height: 1px;
    background-color: #000;
}

.entry-content h4::before {
    right: calc(100% + 40px);
}

.entry-content>.wp-block-image {
    margin-left: -60px;
    margin-right: -60px;
    padding-top: 75px;
    padding-bottom: 75px;
}

.entry-content .wp-block-buttons a {
    cursor: default !important;
    font-size: 22px;
    line-height: 58px;
    font-weight: 400;
    /* width: 168px; */
    height: 58px;
    border: 1px solid #898C8A;
    border-radius: 16px;
    padding: 0 40px;
    margin: 60px 0 24px;
}

.entry-content>.wp-block-image.padding-0 {
    padding: 0;
}

.entry-content .margin-right-0 {
    margin-right: 0px;
}

/* 본문 내 아이콘 스타일 */
.entry-content i.glovis-icon {
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 24px;
    /* 기본 크기, 필요시 조정 */
    height: 24px;
    margin: -4px 2px 0;
    font-style: normal;
}

.entry-content i.glovis-icon.icon01 {
    background-image: url('img/icon01.png');
}

.entry-content i.glovis-icon.icon02 {
    background-image: url('img/icon02.png');
}

.entry-content i.glovis-icon.icon03 {
    background-image: url('img/icon03.png');
}

.entry-content i.glovis-icon.icon04 {
    background-image: url('img/icon04.png');
}

.entry-content i.glovis-icon.icon05 {
    background-image: url('img/icon05.png');
}

.entry-content i.glovis-icon.icon06 {
    background-image: url('img/icon06.png');
}

.entry-content i.glovis-icon.icon07 {
    background-image: url('img/icon07.png');
}

.entry-content p.note {
    font-size: 21px;
    font-weight: 200;
    padding: 35px 50px;
    border: 1px solid #000;
    border-bottom: 2px solid #000;
    margin-bottom: 250px;
}

.entry-content p.note strong {
    font-weight: 800;
}

/* 마커 밑줄 효과 */
.entry-content strong.marker {
    background-image: linear-gradient(#E8FFCD, #b4ff5c);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 14px;
    transition: background-size 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-bottom: 2px;
}

.entry-content strong.marker.marker-active {
    background-size: 100% 14px;
}

/* ==========================================================================
   반응형 스타일 (Responsive)
   ========================================================================== */

/* 태블릿 및 작은 화면 (800px 이하) */
/* Floating Hover Image Styles */
.floating-hover-img {
    position: fixed;
    max-width: 155px;
    width: auto;
    height: auto;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) rotate(-10deg);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.floating-hover-img.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

/* 화면 폭 1280px 미만에서는 호버 이미지 숨김 */
@media screen and (max-width: 1279px) {
    .floating-hover-img {
        display: none !important;
    }
}

@media screen and (max-width: 800px) {
    #site-navigation {
        width: calc(100% - 40px);
        padding: 0 20px;
    }

    .section-container {
        width: calc(100% - 40px);
        padding: 40px 20px 400px;
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .popular-grid {
        gap: 30px;
    }

    .intro-center-box {
        width: 400px;
        height: 150px;
        padding: 20px;
    }

    .intro-center-box .section-title {
        font-size: 48px;
        width: 250px;
    }

    .section-btn {
        width: 150px;
        height: 150px;
        line-height: 150px;
        font-size: 50px;
        top: 20px;
    }

    .intro-center-box.btn-left .section-btn {
        left: 20px;
    }

    .intro-center-box.btn-right .section-btn {
        left: 270px;
    }

    .intro-center-box.btn-left .section-title.right {
        left: 180px;
    }

    .anim-title {
        font-size: 4em;
    }

    .full-menu-overlay {
        width: calc(100% - 60px);
        padding: 30px;
    }

    .col-title {
        font-size: 36px;
    }

    .col-subtitle {
        font-size: 18px;
    }

    .item-title {
        font-size: 18px;
    }

    .item-desc {
        font-size: 14px;
    }

    .section-main-title {
        font-size: 34px;
        margin: 0.5em 0 0.75em;
    }

    .event-character {
        display: none;
    }

    .event-title {
        font-size: 24px;
    }

    .event-left {
        margin-right: 25px;
    }

    .event-desc-main,
    .event-desc-sub {
        font-size: 18px;
    }

    .footer-btn-row {
        gap: 20px;
    }

    .footer-btn {
        font-size: 14px;
    }

    .floating-side-button {
        display: none;
    }
}

/* 모바일 (580px 이하) */
@media screen and (max-width: 580px) {

    #section-button .section-title {
        display: none;
    }

    .article-grid,
    .popular-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .intro-center-box {
        width: 280px;
        height: 100px;
        padding: 15px;
        border-radius: 60px;
    }

    .intro-center-box .section-title {
        font-size: 32px;
        width: 180px;
    }

    .section-container {
        padding-bottom: 580px;
    }

    .section-btn {
        width: 100px;
        height: 100px;
        line-height: 100px;
        font-size: 32px;
        top: 15px;
    }

    .intro-center-box.btn-left .section-btn {
        left: 15px;
    }

    .intro-center-box.btn-right .section-btn {
        left: 195px;
    }

    .intro-center-box.btn-left .section-title.right {
        left: 115px;
    }

    .section-main-title {
        font-size: 32px;
        margin: 0.35em 0 0.5em;
    }

    .footer-event-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px 20px 30px;
    }

    .event-left {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .event-character {
        display: none;
        /* 모바일에서는 공간 부족으로 숨김 처리 권장 */
    }

    .event-right {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }

    .menu-body {
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .col-title {
        font-size: 32px;
    }

    .col-subtitle {
        margin-bottom: 20px;
    }

    .full-menu-overlay {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
        padding: 20px;
    }

    .menu-list li a {
        padding: 12px 0;
    }

    .footer-btn-row {
        gap: 8px;
    }

    .footer-btn {
        font-size: 14px;
        padding: 8px 0;
    }

}