@charset "utf-8";

/* base.css는 layouts/app.blade.php에서 cache buster와 함께 별도 로드. */

/* Header */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    padding: 10px 40px;
    z-index: 9999;
}

#header .headerInner {
    position: relative;
    width: 100%;
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .logo {
    width: 125px;
    min-width: 125px;
    height: 34px;
    margin-right: auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 206.7 57.1'%3E%3Cpath d='M83.2 45.7c.2-.5.3-1.1.3-1.7V32.8h-10v4.5H45.3v-4.6h-10v24h49.4v-7.5h-3c.6-1.2 1-2.3 1.5-3.5m-11.5 3.4c-.1.1-.4.2-.6.2H45.5V45h28.1c-.7 1.4-1.3 2.7-1.9 4.1M89.8 42.4h23.4v14.7h11.5V42.4h23.4v-9.2H89.9c-.1 3.1-.1 6.1-.1 9.2M37.7 30.1c3.8-5.9 7.5-11.7 11.2-17.5 3.8 5.8 7.5 11.7 11.2 17.5 2.5-1.4 4.9-2.8 7.4-4.3C64 20.4 60.4 15 56.8 9.5h10.9V1.2H30.2v8.3H41c-3.6 5.5-7.1 10.9-10.7 16.3 2.5 1.4 4.9 2.8 7.4 4.3M169.6 8.8c2.9 7.7 5.7 15.3 8.5 22.9 3-1 6-2 8.9-3-1-2.7-2-5.3-3-7.9-2.5-6.6-5.1-13.2-7.6-19.8h-13c-.5 0-.8.1-1 .7-3.2 8.4-6.4 16.9-9.7 25.3-.2.6-.4 1.2-.7 1.8 3 1 5.9 2 8.9 3 3-7.7 5.8-15.3 8.7-23M8.5.7c-.4 0-.7.1-.9.5C5.7 4.8 3.7 8.4 1.8 12L0 15.3c2.7 1.6 5.4 3.1 8.1 4.7 1.1-2.1 2.2-4.2 3.3-6.2 0 0 .1 0 .1.1v37.7h9.4c.1 0 .3-.1.4-.3V.7H8.5M206.3 40.3c-1.9-1.7-3.8-3.4-5.6-5.1-.4-.3-.7-.5-1.2-.5h-41.6v9h38.6c-.1 4.4-.3 8.7-.4 13.1h9.9v-.4c.2-5.2.4-10.3.5-15.5.2-.2 0-.5-.2-.6M143.8 8.5c0-.3-.1-.7-.3-.9-2-2-4-4-5.9-6-.3-.3-.6-.4-1.1-.4H95.3v9.6h48.3c.1-.8.2-1.5.2-2.3M196.6 31.6h10V0h-10.1v8.7h-10.1v9.8h10.1c.1 4.4.1 8.8.1 13.1M83.9 26.5V0H73.5v29.8h10.4zM131.9 24.7c-.1 1.5-.3 3-.4 4.5 3.4.3 6.8.5 10.2.8.6-5.7 1.1-11.4 1.7-17.1h-10.3c-.1.6-.1 1.3-.2 1.9-.3 3.3-.7 6.6-1 9.9'/%3E%3C/svg%3E");
    background-size: auto 100%;
    background-position: 0 50%;
    background-repeat: no-repeat;
    display: block;
}

#header .navDesktop {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 530px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    transition: all 0.25s ease-in-out;
}

#header .navDesktop li {
    position: relative;
}

#header .navDesktop>li>a {
    font-size: 22px;
    color: #000;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: all 0.25s ease-in-out;
}

/* 활성/호버

#header .navDesktop:has(li > a.active) > li > a {
    color: #aaa;
}

#header .navDesktop:hover > li > a {
    color: #aaa;
}
#header .navDesktop > li > a:hover {
    color: #000;
}

#header .navDesktop>li>a.active {
    font-weight: 700;
    color: #000 !important;
}
*/

#header .navDesktop:hover a { color:#aaa; }
#header .navDesktop>li>a:hover,  #header .navDesktop>li>a.active { color:#000; }
#header .navDesktop:has(a.active)>li>a:not(.active) { color:#aaa; }
#header .navDesktop:has(a.active)>li>a:not(.active):hover { color:#000; }

#header .headerUtil {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

#header .schToggle {
    width: 40px;
    height: 40px;
    background-color: #000;
    background-image: url("../images/icon_search.svg");
    background-size: auto 20px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

#header .login {
    width: 40px;
    min-width: 40px;
    height: 40px;
    background-color: #000;
    background-image: url("../images/icon_login.svg");
    background-size: auto 20px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 50%;
    display: block;
}

#header .logout {
    width: 40px;
    min-width: 40px;
    height: 40px;
    background-color: #000;
    background-image: url("../images/icon_logout.svg");
    background-size: auto 20px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 50%;
    display: block;
}

#header .header_mypage {
    width: 40px;
    min-width: 40px;
    height: 40px;
    background-color: #000;
    background-image: url("../images/icon_mypage.svg");
    background-size: auto 20px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 50%;
    display: block;
}

#header .navToggle {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    display: none;
}

#header .navToggle span {
    position: relative;
    width: 24px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .navToggle span:before,
#header .navToggle span:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #000;
    border-radius: 100vh;
    transition: all 0.15s ease-in-out;
}

#header .navToggle span:before {
    top: 0;
}

#header .navToggle span:after {
    bottom: 0;
}

#header .navToggle i {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 100vh;
    transition: all 0.15s ease-in-out;
    display: block;

}

#header .navToggle[data-state=open] span:before,
#header .navToggle[data-state=open] span:after {
    top: 50%;
}

#header .navToggle[data-state=open] span:before {
    transform: translateY(-50%) rotate(-45deg);
}

#header .navToggle[data-state=open] span:after {
    transform: translateY(-50%) rotate(45deg);
}

#header .navToggle[data-state=open] span i {
    opacity: 0;
    transform: translateX(20px);
}

/* 검색 영역 (헤더 schToggle 클릭 시 슬라이드 다운) */
#search {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200px;
    padding: 0 15px;
    background-color: #fff;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

#search.open {
    top: 0;
}

#search .closeBtn {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    background-image: url("../images/icon_close.svg");
    background-size: auto 32px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    cursor: pointer;
}

#search p {
    font-size: 28px;
    color: #000;
    font-weight: 600;
    text-align: center;
    word-break: keep-all;
}

#search .schBox {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
}

#search .schBox .schInput {
    width: 100%;
    font-size: 18px;
    color: var(--keyColor);
    font-weight: 600;
    line-height: 60px;
    padding: 0 60px 0 20px;
    background-color: #000;
    border: 0;
    border-radius: 100vh;
}

#search .schBox .schInput::placeholder {
    color: var(--keyColor) !important;
}

#search .schBox .schBtn {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: #000;
    background-image: url("../images/icon_search.svg");
    background-size: auto 24px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

#navMobile {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100dvh;
    padding: 80px 40px 40px 40px;
    background-color: rgba(255, 255, 255, 0.9);
    overflow: auto;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(1, 0, 0, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
}

#navMobile.on {
    top: 0;
    opacity: 1;
    transition: all 0.6s cubic-bezier(1, 0, 0, 1);
}

#navMobile .navList {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#navMobile .navList>li {
    text-align: center;
    display: block;
}

#navMobile .navList>li>a {
    font-size: 24px;
    color: #000;
    font-weight: 600;
    text-align: center;
}

/* 1차 카테고리 하위 링크 (모바일 메뉴) */
#navMobile .navSub {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
#navMobile .navSub>li>a {
    font-size: 18px;
    color: #000;
    font-weight: 400;
}

#navMobile .navFooter {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#navMobile .navFooter a {
    position: relative;
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    padding: 6px 15px;
    background-color: #000;
    border: 0;
    border-radius: 100vh;
    display: flex;
    align-items: center;
}

#navMobile .navFooter a img {
    max-width: 24px;
    /* 💡 가로 최대 24px */
    max-height: 24px;
    /* 💡 세로 최대 24px */
    width: auto;
    height: auto;
    margin-right: 5px;
    display: block;
}



/* Body Contents */
#container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* 공통 콘텐츠 래퍼 (#contentWrap) — 페이지 공통 베이스.
   특이: quiz=margin-top 60 / post=배경·z-index·margin-top 0 / about=풀블리드(padding 0) → 각 page css 오버라이드. */
#contentWrap {
    position: relative;
    width: 100%;
    margin-top: 30px;
    padding: 0 40px;
}
@media all and (min-width: 768px) and (max-width: 1023px) {
    #contentWrap { padding: 0 20px; }
}
@media all and (max-width: 767px) {
    #contentWrap {
        margin-top: 30px;
        padding: 0 15px;
    }
}

/* 퀴즈/설문 카드 좌우 이미지(.quizImg)의 반응형 <img> — figure 채움 + 카드 호버 줌.
   (background-image 대체. 메인·리스트·프로모 공통. 기존 .quizImg:before bg는 var 미설정으로 무효화) */
.quizImg {
    position: relative;
    overflow: hidden;
}
.quizImg .coverImg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
}
.card:hover .quizImg .coverImg {
    transform: scale(1.1);
}

#container .sectionInner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

#container .sectionTitle h1 {
    font-size: 34px;
    color: #000;
    font-weight: 700;
}

#container .sectionTitle p {
    font-size: 18px;
    color: #000;
    font-weight: 500;
}

#container .sectionMore {
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 6px 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23000' d='M432 256a48 48 0 1 1 -96 0 48 48 0 1 1 96 0zm-160 0a48 48 0 1 1 -96 0 48 48 0 1 1 96 0zM64 304a48 48 0 1 1 0-96 48 48 0 1 1 0 96z'/%3E%3C/svg%3E");
    background-size: auto 60%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 50%;
    transition: all 0.25s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#container .sectionMore:hover {
    background-color: #fff;
}

/* Slick Dots */
.slick-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.slick-dots li button {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    text-indent: -9999px;
    font-size: 0; /* flex에선 text-indent가 안 먹어(사파리 등) 숫자가 보임 → font-size:0으로 숨김 */
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.slick-dots li button:before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #000;
    border: 0;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

.slick-dots li.slick-active button:before {
    background-color: var(--keyColor);
}

/* Tag Category */
.tagCate {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.tagCate .cate {
    position: relative;
    font-size: 20px;
    color: #000;
    font-weight: 700;
    padding: 5px ;
    cursor: pointer;
}
.tagCate .cate:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease-in-out;
}
.tagCate .cate.current:after,
.tagCate .cate:hover:after {
    transform: scaleX(1);
}

/* Livewire <button> 으로 .cate 를 렌더하므로 버튼 기본 스타일 제거 */
.tagCate .cate {
    background: none;
    border: 0;
    font-family: inherit;
    line-height: 1.4;
}

/* Tag Button */
.tag {
    width: auto !important;
    font-size: 16px;
    color: transparent;
    font-weight: 600;
    white-space: nowrap;
    line-height: 34px;
    padding: 0 15px 0 10px;
    background-color: transparent;
    border: 0;
    border-radius: 100vh;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tag:before {
    content: "#";
    margin-right: 5px;
    display: inline-block;
}

.tag.white {
    color: #000;
    background-color: #fff;
}

.tag.gray {
    color: #fff;
    background-color: #5e5e5e;
}

.tag.black {
    color: #fff;
    background-color: #000;
}

.tag.lineB {
    color: #000;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.7);
}

.tag.lineW {
    color: #FFF;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.tag.key {
    color: #000;
    background-color: var(--keyColor);
}

/* 태그 칩 hover — 마우스 기기에만 적용(모바일 터치 시 색 잔상 방지) */
@media (hover: hover) {
    .tag.white:hover {
        background-color: var(--keyColor);
    }
    .tag.gray:hover {
        background-color: #000;
    }
    .tag.black:hover {
        color: var(--keyColor);
    }
    .tag.lineB:hover {
        background-color: var(--keyColor);
    }
    .tag.lineW:hover {
        color: var(--keyColor);
        border-color: var(--keyColor);
    }
    .tag.key:hover {
        background-color: #fff;
    }
}

/* 태그/카테고리 라인(#tagList) — discovery(home/daily/item) 공통.
   전체폭 풀블리드(음수마진) + 태그칩 네이티브 가로 스크롤(드래그).
   페이지별 반응형 음수마진 보정·다크모드·카테고리 스크롤은 각 페이지 css. */
#tagList {
    width: calc(100% + 80px);
    margin-top: 20px;
    margin-left: -40px;
    margin-right: -40px;
    padding: 5px 40px;
}
/* 태그 칩 — 네이티브 가로 스크롤(slick 미사용, 선택 시 JS scrollIntoView로 최소 이동) */
#tagList .tagSlider {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
#tagList .tagSlider:active {
    cursor: grabbing;
}
#tagList .tagSlider::-webkit-scrollbar { display: none; }
#tagList .tag {
    margin: 0 3px;
    flex-shrink: 0;
    cursor: pointer;
    border: 0;
    font-family: inherit;
}

/* 빈 목록·안내 메시지 (디스커버리/뉴스레터 등 공통). 다크 배경 페이지는 color만 오버라이드. */
.emptyState {
    text-align: center;
    padding: 60px 20px;
    color: var(--mutedColor);
}

/* Link Button */
.link {
    width: 40px;
    height: 40px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.link.white {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M14.7997 0C15.4649 0 16 0.534916 16 1.19981V13.1979C16 13.8628 15.4649 14.3978 14.7997 14.3978C14.1345 14.3978 13.5993 13.8628 13.5993 13.1979V4.09436L2.04619 15.6476C1.57606 16.1175 0.81585 16.1175 0.350723 15.6476C-0.114404 15.1776 -0.119405 14.4177 0.350723 13.9528L11.9039 2.40462H2.79639C2.13121 2.40462 1.59606 1.86971 1.59606 1.20481C1.59606 0.539916 2.13121 0.00499914 2.79639 0.00499914H14.7997V0Z'/%3E%3C/svg%3E%0A");
}

.link.white:hover {
    background-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FFF' d='M14.7997 0C15.4649 0 16 0.534916 16 1.19981V13.1979C16 13.8628 15.4649 14.3978 14.7997 14.3978C14.1345 14.3978 13.5993 13.8628 13.5993 13.1979V4.09436L2.04619 15.6476C1.57606 16.1175 0.81585 16.1175 0.350723 15.6476C-0.114404 15.1776 -0.119405 14.4177 0.350723 13.9528L11.9039 2.40462H2.79639C2.13121 2.40462 1.59606 1.86971 1.59606 1.20481C1.59606 0.539916 2.13121 0.00499914 2.79639 0.00499914H14.7997V0Z'/%3E%3C/svg%3E%0A");
}

.link.gray {
    background-color: #5e5e5e;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FFF' d='M14.7997 0C15.4649 0 16 0.534916 16 1.19981V13.1979C16 13.8628 15.4649 14.3978 14.7997 14.3978C14.1345 14.3978 13.5993 13.8628 13.5993 13.1979V4.09436L2.04619 15.6476C1.57606 16.1175 0.81585 16.1175 0.350723 15.6476C-0.114404 15.1776 -0.119405 14.4177 0.350723 13.9528L11.9039 2.40462H2.79639C2.13121 2.40462 1.59606 1.86971 1.59606 1.20481C1.59606 0.539916 2.13121 0.00499914 2.79639 0.00499914H14.7997V0Z'/%3E%3C/svg%3E%0A");
}

.link.gray:hover {
    background-color: #000;
}

.link.black {
    background-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23FFF' d='M14.7997 0C15.4649 0 16 0.534916 16 1.19981V13.1979C16 13.8628 15.4649 14.3978 14.7997 14.3978C14.1345 14.3978 13.5993 13.8628 13.5993 13.1979V4.09436L2.04619 15.6476C1.57606 16.1175 0.81585 16.1175 0.350723 15.6476C-0.114404 15.1776 -0.119405 14.4177 0.350723 13.9528L11.9039 2.40462H2.79639C2.13121 2.40462 1.59606 1.86971 1.59606 1.20481C1.59606 0.539916 2.13121 0.00499914 2.79639 0.00499914H14.7997V0Z'/%3E%3C/svg%3E%0A");
}

.link.black:hover {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%233aff00' d='M14.7997 0C15.4649 0 16 0.534916 16 1.19981V13.1979C16 13.8628 15.4649 14.3978 14.7997 14.3978C14.1345 14.3978 13.5993 13.8628 13.5993 13.1979V4.09436L2.04619 15.6476C1.57606 16.1175 0.81585 16.1175 0.350723 15.6476C-0.114404 15.1776 -0.119405 14.4177 0.350723 13.9528L11.9039 2.40462H2.79639C2.13121 2.40462 1.59606 1.86971 1.59606 1.20481C1.59606 0.539916 2.13121 0.00499914 2.79639 0.00499914H14.7997V0Z'/%3E%3C/svg%3E%0A");
}

.link.key {
    background-color: var(--keyColor);
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M14.7997 0C15.4649 0 16 0.534916 16 1.19981V13.1979C16 13.8628 15.4649 14.3978 14.7997 14.3978C14.1345 14.3978 13.5993 13.8628 13.5993 13.1979V4.09436L2.04619 15.6476C1.57606 16.1175 0.81585 16.1175 0.350723 15.6476C-0.114404 15.1776 -0.119405 14.4177 0.350723 13.9528L11.9039 2.40462H2.79639C2.13121 2.40462 1.59606 1.86971 1.59606 1.20481C1.59606 0.539916 2.13121 0.00499914 2.79639 0.00499914H14.7997V0Z'/%3E%3C/svg%3E%0A");
}

.link.key:hover {
    background-color: #fff;
}

/* Label */
.label {
    position:absolute;
    top: 10px;
    right: -6px;
    font-size: 14px;
    color: #000;
    font-weight: 600;
    padding: 6px 10px 6px 15px;
    border: 0;
    z-index: 1;
}
.label:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: var(--keyColor);
    clip-path: polygon(10px 0%, 100% 0%, 100% 100%, 10px 100%, 0% 50%);
}
.label:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 6px;
    height: 6px;
    background-color:#000;
    clip-path: polygon(100% 0, 0 0, 0 100%);
}

/* Media Play Button */
.btnPlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20%;
    max-width: 80px;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.btnPlay:before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--darkColor);
    border: 0;
    border-radius: 50%;
    transition: all 0.15s ease-in-out;
    display: block;
}

.btnPlay:after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% + 5%);
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='21' viewBox='0 0 18 21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%233AFF00' d='M1.15313 0.286297C1.86563 -0.107453 2.72813 -0.0980778 3.43125 0.333172L16.9313 8.58317C17.5969 8.99567 18.0094 9.71754 18.0094 10.505C18.0094 11.2925 17.5969 12.0144 16.9313 12.4269L3.43125 20.6769C2.7375 21.0988 1.86563 21.1175 1.15313 20.7238C0.440626 20.33 0 19.58 0 18.7644V2.24567C0 1.43005 0.440626 0.680047 1.15313 0.286297Z'/%3E%3C/svg%3E%0A");
    background-size: auto 50%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-in-out;
    display: block;
}

.btnPlay:hover:before {
    background-color: var(--keyColor);
}

.btnPlay:hover:after {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='21' viewBox='0 0 18 21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M1.15313 0.286297C1.86563 -0.107453 2.72813 -0.0980778 3.43125 0.333172L16.9313 8.58317C17.5969 8.99567 18.0094 9.71754 18.0094 10.505C18.0094 11.2925 17.5969 12.0144 16.9313 12.4269L3.43125 20.6769C2.7375 21.0988 1.86563 21.1175 1.15313 20.7238C0.440626 20.33 0 19.58 0 18.7644V2.24567C0 1.43005 0.440626 0.680047 1.15313 0.286297Z'/%3E%3C/svg%3E%0A");
}

/* Footer */
#footer {
    margin-top: auto;
    padding: 80px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer .footerUtil {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#footer .footerUtil a {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    padding: 6px 15px;
    background-color: #000;
    border: 0;
    border-radius: 100vh;
    display: flex;
    align-items: center;
}

#footer .footerUtil a i {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
}

#footer .footerUtil a i.icon_instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='white'%3E%3Cpath d='M11.07 0H4.93A4.923 4.923 0 0 0 0 4.93v6.14A4.923 4.923 0 0 0 4.93 16h6.14A4.923 4.923 0 0 0 16 11.07V4.93A4.923 4.923 0 0 0 11.07 0m3.395 10.485a3.975 3.975 0 0 1-3.98 3.98h-4.97a3.975 3.975 0 0 1-3.98-3.98v-4.97a3.975 3.975 0 0 1 3.98-3.98h4.97a3.975 3.975 0 0 1 3.98 3.98z'/%3E%3Cpath d='M8.222 3.818c-2.323 0-4.202 1.9-4.202 4.222 0 2.324 1.88 4.223 4.202 4.223 2.324 0 4.202-1.9 4.202-4.223a4.203 4.203 0 0 0-4.202-4.222m0 6.748A2.55 2.55 0 0 1 5.677 8.02a2.55 2.55 0 0 1 2.545-2.545 2.55 2.55 0 0 1 2.546 2.545c-.02 1.414-1.152 2.546-2.546 2.546M13.212 3.758c0 .585-.485 1.07-1.07 1.07s-1.071-.485-1.071-1.07.485-1.071 1.07-1.071 1.071.464 1.071 1.07'/%3E%3C/g%3E%3C/svg%3E");
}

#footer .footerUtil a i.icon_newsLetter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 13'%3E%3Cpath fill='white' d='M1.6 13q-.66 0-1.13-.477Q0 12.045 0 11.375v-9.75Q0 .955.47.477T1.6 0h12.8q.66 0 1.13.477.47.478.47 1.148v9.75q0 .67-.47 1.148T14.4 13zM8 7.313 1.6 3.25v8.125h12.8V3.25zm0-1.625 6.4-4.063H1.6zM1.6 3.25V1.625v9.75z'/%3E%3C/svg%3E");
}

#footer .footerUtil a i.icon_mypage {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M9.5 4C9.5 3.33696 9.23661 2.70107 8.76777 2.23223C8.29893 1.76339 7.66304 1.5 7 1.5C6.33696 1.5 5.70107 1.76339 5.23223 2.23223C4.76339 2.70107 4.5 3.33696 4.5 4C4.5 4.66304 4.76339 5.29893 5.23223 5.76777C5.70107 6.23661 6.33696 6.5 7 6.5C7.66304 6.5 8.29893 6.23661 8.76777 5.76777C9.23661 5.29893 9.5 4.66304 9.5 4ZM3 4C3 2.93913 3.42143 1.92172 4.17157 1.17157C4.92172 0.421427 5.93913 0 7 0C8.06087 0 9.07828 0.421427 9.82843 1.17157C10.5786 1.92172 11 2.93913 11 4C11 5.06087 10.5786 6.07828 9.82843 6.82843C9.07828 7.57857 8.06087 8 7 8C5.93913 8 4.92172 7.57857 4.17157 6.82843C3.42143 6.07828 3 5.06087 3 4ZM1.54062 14.5H12.4594C12.1813 12.5219 10.4813 11 8.42813 11H5.57188C3.51875 11 1.81875 12.5219 1.54062 14.5ZM0 15.0719C0 11.9937 2.49375 9.5 5.57188 9.5H8.42813C11.5063 9.5 14 11.9937 14 15.0719C14 15.5844 13.5844 16 13.0719 16H0.928125C0.415625 16 0 15.5844 0 15.0719Z'/%3E%3C/svg%3E");
}

#footer .footerMenu {
    margin-top: 40px;
    padding: 10px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

#footer .footerMenu a {
    font-size: 16px;
    color: #000;
    font-weight: 400;
    text-align: center;
}

#footer .footerInfo {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#footer .footerInfo li {
    position: relative;
    font-size: 16px;
    color: #000;
    font-weight: 400;
    line-height: 1.5;
    padding: 0 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#footer .footerInfo li:not(:first-of-type):before {
    content: "";
    width: 1px;
    height: 50%;
    background-color: #000;
    display: block;
}

#footer .footerInfo li.rowFirst:before {
    display: none;
}

#footer .footerCopyright {
    font-size: 16px;
    color: #828282;
    font-weight: 400;
    margin-top: 10px;
}

/* Dark Mode */
body.darkMode #container .sectionTitle h1,
body.darkMode #container .sectionTitle p {
    color: #fff !important;
}

body.darkMode #footer .footerUtil a {
    color: #000 !important;
    background-color: #fff !important;
}

body.darkMode #footer .footerMenu {
    border-color: #fff !important;
}

body.darkMode #footer .footerMenu a {
    color: #fff !important;
}

body.darkMode #footer .footerUtil a i.icon_instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='black'%3E%3Cpath d='M11.07 0H4.93A4.923 4.923 0 0 0 0 4.93v6.14A4.923 4.923 0 0 0 4.93 16h6.14A4.923 4.923 0 0 0 16 11.07V4.93A4.923 4.923 0 0 0 11.07 0m3.395 10.485a3.975 3.975 0 0 1-3.98 3.98h-4.97a3.975 3.975 0 0 1-3.98-3.98v-4.97a3.975 3.975 0 0 1 3.98-3.98h4.97a3.975 3.975 0 0 1 3.98 3.98z'/%3E%3Cpath d='M8.222 3.818c-2.323 0-4.202 1.9-4.202 4.222 0 2.324 1.88 4.223 4.202 4.223 2.324 0 4.202-1.9 4.202-4.223a4.203 4.203 0 0 0-4.202-4.222m0 6.748A2.55 2.55 0 0 1 5.677 8.02a2.55 2.55 0 0 1 2.545-2.545 2.55 2.55 0 0 1 2.546 2.545c-.02 1.414-1.152 2.546-2.546 2.546M13.212 3.758c0 .585-.485 1.07-1.07 1.07s-1.071-.485-1.071-1.07.485-1.071 1.07-1.071 1.071.464 1.071 1.07'/%3E%3C/g%3E%3C/svg%3E");
}

body.darkMode #footer .footerUtil a i.icon_newsLetter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 13'%3E%3Cpath fill='black' d='M1.6 13q-.66 0-1.13-.477Q0 12.045 0 11.375v-9.75Q0 .955.47.477T1.6 0h12.8q.66 0 1.13.477.47.478.47 1.148v9.75q0 .67-.47 1.148T14.4 13zM8 7.313 1.6 3.25v8.125h12.8V3.25zm0-1.625 6.4-4.063H1.6zM1.6 3.25V1.625v9.75z'/%3E%3C/svg%3E");
}

body.darkMode #footer .footerUtil a i.icon_mypage {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M9.5 4C9.5 3.33696 9.23661 2.70107 8.76777 2.23223C8.29893 1.76339 7.66304 1.5 7 1.5C6.33696 1.5 5.70107 1.76339 5.23223 2.23223C4.76339 2.70107 4.5 3.33696 4.5 4C4.5 4.66304 4.76339 5.29893 5.23223 5.76777C5.70107 6.23661 6.33696 6.5 7 6.5C7.66304 6.5 8.29893 6.23661 8.76777 5.76777C9.23661 5.29893 9.5 4.66304 9.5 4ZM3 4C3 2.93913 3.42143 1.92172 4.17157 1.17157C4.92172 0.421427 5.93913 0 7 0C8.06087 0 9.07828 0.421427 9.82843 1.17157C10.5786 1.92172 11 2.93913 11 4C11 5.06087 10.5786 6.07828 9.82843 6.82843C9.07828 7.57857 8.06087 8 7 8C5.93913 8 4.92172 7.57857 4.17157 6.82843C3.42143 6.07828 3 5.06087 3 4ZM1.54062 14.5H12.4594C12.1813 12.5219 10.4813 11 8.42813 11H5.57188C3.51875 11 1.81875 12.5219 1.54062 14.5ZM0 15.0719C0 11.9937 2.49375 9.5 5.57188 9.5H8.42813C11.5063 9.5 14 11.9937 14 15.0719C14 15.5844 13.5844 16 13.0719 16H0.928125C0.415625 16 0 15.5844 0 15.0719Z'/%3E%3C/svg%3E");
}

body.darkMode #footer .footerInfo li {
    color: #fff !important;
}

body.darkMode #footer .footerInfo li:not(:first-of-type):before {
    background-color: #fff;
}

body.darkMode #footer .footerCopyright {
    color: #fff !important;
}


/* Post Pagin (디자이너 공통) */
.pg_wrap {
   width:100%;
   margin-top:60px;
   text-align:center;
   display:block;
}
.pg {
   display:flex;
   align-items:center;
   justify-content:center;
    gap: 5px;
}
.pg_page, .pg_current {
   display:inline-block;
   vertical-align:middle;
}
.pg a:focus, .pg a:hover { text-decoration:none }
.pg_page {
   width:36px;
   height:36px;
   font-size:16px;
    color:#919191;
   font-weight:400;
   line-height:36px;
   background-size:auto 18px;
   background-position:50% 50%;
   background-repeat:no-repeat;
   text-decoration:none;
   transition:all 0.25s ease-in-out;
    cursor:pointer;
}
.pg_page:hover { color:#000; }
.pg_current {
    width:36px;
   height:36px;
    font-size: 18px;
   color:#000;
    font-weight: 700;
    line-height:36px;
}
.pg_start, .pg_end, .pg_prev, .pg_next { text-indent:-999px; overflow:hidden; }
.pg_prev { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23919191' d='M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239z'/%3E%3C/svg%3E"); }
.pg_prev:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000000' d='M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239z'/%3E%3C/svg%3E"); }
.pg_next { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23919191' d='M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z'/%3E%3C/svg%3E"); }
.pg_next:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23000000' d='M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z'/%3E%3C/svg%3E"); }
.pg_start { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23919191' d='M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239zM399 79L239 239c-9.4 9.4-9.4 24.6 0 33.9L399 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-143-143L433 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0z'/%3E%3C/svg%3E"); }
.pg_start:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000000' d='M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239zM399 79L239 239c-9.4 9.4-9.4 24.6 0 33.9L399 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-143-143L433 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0z'/%3E%3C/svg%3E"); }
.pg_end { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23919191' d='M113 433L273 273c9.4-9.4 9.4-24.6 0-33.9L113 79c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l143 143L79 399c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0zm192 0L465 273c9.4-9.4 9.4-24.6 0-33.9L305 79c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l143 143L271 399c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0z'/%3E%3C/svg%3E"); }
.pg_end:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23000000' d='M113 433L273 273c9.4-9.4 9.4-24.6 0-33.9L113 79c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l143 143L79 399c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0zm192 0L465 273c9.4-9.4 9.4-24.6 0-33.9L305 79c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l143 143L271 399c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0z'/%3E%3C/svg%3E"); }

.pg_page.is-disabled {
	opacity:0.3;
	pointer-events:none;
	cursor:default;
}


/*
Desktop Device greater than 1024px
*/
@media all and (min-width:1024px) {
    /* Link Button */
    .link {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        background-size: auto 16px;
    }
}

/*
Tablet Device Less than 1023px or greater than 768px
*/
@media all and (min-width:768px) and (max-width:1023px) {
    #header {
        padding: 10px 20px;
    }

    #header .navDesktop {
        display: none;
    }

    #header .navToggle {
        display: flex;
    }

    /* Tag Button */
    .tag {
        font-size: 14px;
        line-height: 28px;
    }

    /* Link Button */
    .link {
        width: 30px;
        min-width: 30px;
        height: 30px;
        min-height: 30px;
        background-size: auto 14px;
    }

    #footer {
        padding: 40px 20px;
    }
}

/*
Mobile Device Less than 768px
*/
@media all and (max-width:767px) {
    #header {
        padding: 0 15px;
    }

    #header .logo {
        width: 100px;
        min-width: 100px;
        height: 26px;
    }

    #header .navDesktop {
        display: none;
    }

    #header .headerUtil {
        gap: 10px;
    }

    #header .schToggle,
    #header .login,
    #header .logout,
    #header .header_mypage {
        width: 30px;
        min-width: 30px;
        height: 30px;
        background-size: auto 14px;
    }

    #search .closeBtn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        background-size: auto 24px;
    }

    #search p { font-size: 18px; }

    #header .navToggle {
        width: 30px;
        min-width: 30px;
        height: 30px;
        display: flex;
    }

    #navMobile .navFooter a {
        font-size: 13px;
        padding: 6px 10px;
        white-space: nowrap;
    }

    #container .sectionInner h1 {
        font-size: 26px;
    }

    #container .sectionInner p {
        font-size: 14px;
    }
    .tagCate {
        gap: 5px;
    }
    .tagCate .cate {
        font-size: 18px;
    }

    /* Tag Button */
    .tag {
        font-size: 14px;
        line-height: 28px;
    }

    /* Link Button */
    .link {
        width: 30px;
        min-width: 30px;
        height: 30px;
        min-height: 30px;
        background-size: auto 14px;
    }

    #footer {
        padding: 40px 15px;
    }

    #footer .footerMenu a {
        font-size: 14px;
        white-space: nowrap;
    }

    #footer .footerUtil {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* 모바일: 글씨 없이 아이콘만 50px 원형 — 흰 테두리 원 + 검정 아이콘 */
    #footer .footerUtil a {
        width: 36px;
        min-width: 36px;
        height: 36px;
        padding: 0;
        font-size: 0;            /* 텍스트 숨김 */
        justify-content: center;
        border-radius: 50%;
        background-color: #000;
        border: 0px solid #000;
    }
    #footer .footerUtil a i {
        width: 18px;
        height: 18px;
        margin-right: 0;
        filter: invert(0);       /* 흰 아이콘 SVG → 검정 */
    }
    /* 다크모드(물건발견 등) SVG는 이미 검정 → invert 끄면 검정 유지(흰 원 안 검정 아이콘) */
    body.darkMode #footer .footerUtil a i {
        filter: none;
    }

    #footer .footerMenu {
        margin-top:20px;
        padding: 5px 10px;
        flex-wrap: wrap;
        gap: 5px 15px;
    }

    #footer .footerInfo {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        margin-top: 20px;
        padding: 0;
        overflow: hidden;
    }

    #footer .footerInfo li {
        font-size: 14px;
    }

    #footer .footerCopyright {
        font-size: 14px;
    }

    .pg {
    gap: 5px;
    }

    .pg_current {
        width:30px;
        min-width:30px;
        height:30px;
        min-height:30px;
        font-size:12px;
        line-height:30px;
    }

    .pg_page {
        width:30px;
        min-width:30px;
        height:30px;
        min-height:30px;
        font-size:12px;
        line-height:30px;
    }

}
