@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: 0px 70px;
    z-index: 9999;
}

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

#header .logo {
    width: 125px;
    min-width: 125px;
    height: 32px;
    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%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: all 0.25s ease-in-out;
}

#header .navDesktop li {
    position: relative;
}

#header .navDesktop > li > a {
    font-size: var(--fs-24);
    color: #000;
    font-weight: 600;
    line-height: 24px;
    padding: 1px;
    position: relative;
    transition: all 0.25s ease-in-out;
}

/* 호버·활성 모두 색상 변경 없이 하단 라인으로 표시 (a의 padding:10px 0 안쪽 하단) */
#header .navDesktop > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-in-out;
}
#header .navDesktop > li > a:hover::after,
#header .navDesktop > li > a.active::after {
    transform: scaleX(1);
}

/* 데스크탑: 로고 정중앙 + 메뉴 좌측으로 교체 (모바일·태블릿은 nav 숨김 + 로고 좌측 유지) */
@media (min-width: 1024px) {
    #header .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin-right: 0;
    }
    #header .navDesktop {
        position: static;
        transform: none;
    }
}

/* 1300px 이하: 메뉴와 중앙 로고가 가까워지므로 메뉴 gap 축소 */
@media (min-width: 1024px) and (max-width: 1300px) {
    #header .navDesktop {
        gap: 15px;
    }
}

#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_login.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: var(--fs-28);
    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: var(--fs-18);
    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: 50px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

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

/* 1차 카테고리 하위 링크 (모바일 메뉴) */
#navMobile .navSub {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    display: none;
}
#navMobile .navSub > li > a {
    font-size: var(--fs-18);
    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: var(--fs-16);
    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%;
    flex: 1 0 auto; /* 스티키 푸터: 남은 세로 공간을 채워 푸터(형제)를 바닥에 고정. (기존 min-height:100vh는 푸터를 화면 밖으로 밀어 여백·스크롤 유발) */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: 130px;
}

/* 공통 콘텐츠 래퍼 (#contentWrap) — 페이지 공통 베이스.
   특이: quiz=margin-top 60 / post=배경·z-index·margin-top 0 / about=풀블리드(padding 0) → 각 page css 오버라이드. */
#contentWrap {
    position: relative;
    width: 100%;
    margin-top: 80px;
    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: var(--fs-48);
    color: #000;
    font-weight: 700;
    line-height: var(--fs-48);
}

#container .sectionTitle p {
    padding-top: 8px;
    font-size: var(--fs-24);
    color: #666;
    font-weight: 400;
}

#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: 8px;
}
.tagCate .cate {
    position: relative;
    font-size: var(--fs-20);
    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: var(--fs-16);
    color: transparent;
    font-weight: 400;
    white-space: nowrap;
    line-height: 100%;
    padding: 7px 12px 7px 13px;
    background-color: transparent;
    border: 1px solid transparent;
    box-sizing: border-box;
    background-clip: padding-box;
    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;
    transform: translateZ(0);
    will-change: transform;
}

.tag:before {
    content: "#";
    margin-right: 1px;
    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;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.tag.lineW {
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.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: #000;
        background-color: var(--keyColor);
    }
    .tag.key:hover {
        background-color: #fff;
    }
}

/* 태그/카테고리 라인(#tagList) — discovery(home/daily/item) 공통.
   전체폭 풀블리드(음수마진) + 태그칩 네이티브 가로 스크롤(드래그).
   페이지별 반응형 음수마진 보정·다크모드·카테고리 스크롤은 각 페이지 css. */
#tagList {
    width: calc(100% + 80px);
    margin-top: 30px;
    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;
    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.lightgray {
    background-color: #e2e2e2;
    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.lightgray: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.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: var(--fs-14);
    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%);
    opacity: 0.8;
    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 (Figma 정합 — 상단 정책메뉴+패밀리드롭다운 / 회사정보 2줄 / 저작권안내+소셜, bg #f5f5f5) */
#footer {
    margin-top: auto;
    padding: 56px 64px 44px;
    background-color: #f5f5f5;
    color: #121212;
    word-break: keep-all; /* 한글 줄바꿈을 어절(워드) 단위로 — 글자 중간 끊김 방지 */
}

/* ★base.css의 전역 p{word-break:break-all}이 상속 keep-all을 덮으므로 풋터 p는 직접 지정 */
#footer p {
    word-break: keep-all;
}

/* 메인(home)·물건발견(item-discovery) 외 페이지는 풋터 배경 흰색 */
#footer.footerWhite {
    background-color: #fff;
}

#footer .footerInner {
    max-width: 1792px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

/* 왼쪽: 메뉴 + 회사정보 + 저작권 (폭 좁아지면 먼저 줄어듦) */
#footer .footerLeft {
    flex: 1;
    min-width: 0;
}

/* 오른쪽: 패밀리 드롭다운(위) + 소셜(아래) — 우측정렬 세로 스택 */
#footer .footerRight {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 36px;
}

/* 정책 메뉴 */
#footer .footerMenu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

#footer .footerMenu a {
    font-size: var(--fs-18);
    color: #121212;
    font-weight: 400;
    line-height: 1;
}

#footer .footerMenu a.strong {
    font-weight: 600;
}

/* 패밀리 사이트 커스텀 드롭다운 — 박스 흰색, 위로 펼침, 옵션 라이트그레이, 오버 시 밑줄 */
#footer .footerFamily {
    position: relative;
    width: 410px;
    max-width: 100%;
}

/* 박스(토글) — 흰색 + 화살표(닫힘=위, 열림=아래) */
#footer .famToggle {
    width: 100%;
    height: 49px;
    padding: 0 18px;
    font-family: inherit;
    font-size: var(--fs-18);
    font-weight: 600;
    color: #121212;
    text-align: left;
    background-color: #fff;
    border: 1px solid #5e5e5e;
    border-radius: 8px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23121212' stroke-width='1.5' d='M4 10l4-4 4 4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}

#footer .footerFamily.is-open .famToggle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23121212' stroke-width='1.5' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
}

/* 옵션 목록 — 박스 위로 펼침, 라이트그레이 배경 */
#footer .famMenu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 6px);
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid #5e5e5e;
    border-radius: 8px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    max-height: 320px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

#footer .footerFamily.is-open .famMenu {
    display: block;
}

#footer .famMenu a {
    display: block;
    padding: 7px 18px;
    font-size: var(--fs-16);
    color: #121212;
    line-height: 1.5;
}

/* 오버 시 라인(밑줄)으로 활성화 */
#footer .famMenu a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 구분 바 ( | ) */
#footer .bar {
    color: var(--borderColor);
    font-weight: 400;
}

/* 회사 정보 (2줄) */
#footer .footerInfo {
    margin-top: 44px;
    font-style: normal;
    font-size: var(--fs-16);
    color: #121212;
    line-height: 1.8;
    letter-spacing: -0.32px;
}

#footer .footerInfo p {
    margin: 0;
}

/* 줄바꿈은 아이템(항목 + 뒤 구분바) 단위로만 — 이메일 등 단어 중간 끊김 방지 */
#footer .footerInfo .infoItem {
    display: inline-block;
    white-space: nowrap;
}

/* 저작권 안내문 + Copyright (한 줄, 좌측 정렬) */
#footer .footerBottom {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 24px;
    font-size: var(--fs-16);
    color: #121212;
    line-height: 1.8;
    letter-spacing: -0.32px;
}

#footer .footerNote,
#footer .footerCopyright {
    margin: 0;
}

/* 소셜 아이콘 — 인스타(원형 글리프 32) + 뉴스레터(검정 라운드 사각 30). footerRight 안에서 드롭다운 아래 */
#footer .footerSocial {
    display: flex;
    align-items: center;
    gap: 8px;
}

#footer .footerSns {
    display: block;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#footer .footerSns.insta {
    width: 32px;
    height: 32px;
    background-size: 32px 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%23121212'%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 .footerSns.news {
    width: 30px;
    height: 30px;
    background-color: #000;
    border-radius: 8px;
    background-size: 17px 14px;
    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");
}

/* 모바일 전용 풋터 액션 링크 줄(광고·제휴문의 | 인스타그램 | 뉴스레터 아카이브) — PC/태블릿 숨김(아래 ≤767에서 표시) */
#footer .footerMobileLinks {
    display: none;
}

/* Footer 반응형 — 태블릿 이하: 좌/우 세로 스택 (오른쪽=패밀리+소셜 그룹이 하단으로) */
@media (max-width: 1023px) {
    #footer .footerInner {
        flex-direction: column;
        gap: 28px;
    }
    #footer .footerLeft {
        width: 100%;
    }
    #footer .footerRight {
        width: 100%;
        align-items: flex-start;
        gap: 20px;
    }
    #footer .footerFamily {
        width: 100%; /* 데스크톱 410 고정 해제 → 풀폭 */
    }
    #footer .footerSocial {
        align-self: flex-end; /* 모바일 SNS 우측 정렬 */
    }
    #footer .footerInfo {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    #footer .footerMenu a,
    #footer .famToggle {
        font-size: var(--fs-16);
    }
    #footer .footerInfo,
    #footer .footerBottom,
    #footer .famMenu a {
        font-size: var(--fs-14);
    }
    /* 메뉴의 광고·제휴문의(+앞 바)는 아래 .footerMobileLinks 줄로 이동 → 메뉴에선 숨김 */
    #footer .footerMenu .adOnly {
        display: none;
    }
    /* 우측 소셜 아이콘(인스타/뉴스레터)은 텍스트 링크로 대체 → 숨김 */
    #footer .footerSocial {
        display: none;
    }
    /* 이용약관 줄 아래 액션 링크 줄 — 텍스트 스타일은 광고문의(600), 바는 주소처럼 공백 간격 */
    #footer .footerMobileLinks {
        display: block;
        margin-top: 0px;
        font-size: var(--fs-16);
        line-height: 1.6;
        letter-spacing: -0.5px;
    }
    #footer .footerMobileLinks a {
        color: #121212;
        font-weight: 600;
    }
}

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

/* 풋터는 항상 라이트(#f5f5f5) — 다크모드 페이지에서도 시안대로 라이트 유지(별도 오버라이드 없음) */

/* 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: var(--fs-16);
    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: var(--fs-18);
    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;
    }
    /* Link Button */
    .link {
        width: 30px;
        min-width: 30px;
        height: 30px;
        min-height: 30px;
        background-size: auto 14px;
    }
    #container .sectionTitle h1 {
        font-size: var(--fs-36);
    }

    #container .sectionTitle p {
        font-size: var(--fs-20);
    }

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

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

    #header .logo {
        width: 100px;
        min-width: 100px;
        height: 26px;
        /* 로고 좌측 (margin-right:auto로 우측 util·햄버거 밀어냄) */
        margin-right: auto;
    }

    #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: var(--fs-18);
    }

    #header .navToggle {
        width: 30px;
        min-width: 30px;
        height: 30px;
        display: flex;
        /* 햄버거 우측 — headerUtil 흐름 내 마지막(검색·로그인 다음) */
    }

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

    #container .sectionTitle h1 {
        font-size: var(--fs-24);
        line-height: 1.2;
    }

    #container .sectionTitle p {
        padding-top: 0;
        font-weight: 600;
        font-size: var(--fs-14);
    }
    .tagCate {
        gap: 3px;
    }
    .tagCate .cate {
        font-size: var(--fs-16);
    }
    .tag {
        font-size: var(--fs-14);
    }

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

    #footer {
        padding: 40px 15px;
    }
    #container .sectionMore {
        padding: 0px;
    }
}

/* ===== 메타 배지 (.quizMeta) — partials/quiz-meta 공용. 퀴즈·설문·취향 카드 등에서 재사용 =====
   (이전엔 quiz.css의 #quizView에 묶여 있던 것을 공용화) */
.quizMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.quizMeta .metaItem {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 100vh;
    font-size: var(--fs-14);
    font-weight: 400;
    white-space: nowrap;
}
.quizMeta .metaItem.gift {
    background-color: var(--pointColor);
    color: #fff;
}
.quizMeta .metaItem .ic {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ===== 취향발견 카드 (.tasteCard) — 리스트(그리드) + 메인(슬라이더) 공유 ===== */
#tasteDscv .tasteCardList {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}
#tasteDscv .tasteCard {
    width: 100%;
    height: 100%; /* 그리드 셀·슬라이더 슬라이드 높이 채움 → 버튼 하단정렬 */
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #5e5e5e;
    border-radius: 30px;
    overflow: hidden;
}
/* 상단 이미지 + 카테고리 배지 */
#tasteDscv .tasteCard__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #eee;
    border-bottom: 1px solid #5e5e5e; /* 이미지↔텍스트 구분선 (카드 외곽선과 통일) */
    flex-shrink: 0;
}
#tasteDscv .tasteCard__thumb .coverImg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 위치만 — 색/패딩/라운드는 .tag.black(기본 태그)이 담당 */
#tasteDscv .tasteCard__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}
/* 본문 */
#tasteDscv .tasteCard__body {
    flex: 1; /* 카드 남은 높이 채움 → 버튼 하단 고정 */
    display: flex;
    flex-direction: column;
    padding: 22px 24px 24px;
    /* gap 대신 요소별 margin으로 간격 독립 제어 */
}
#tasteDscv .tasteCard__type {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: var(--fs-14);
    font-weight: 700;
    color: #000;
    letter-spacing: 0.04em;
}
#tasteDscv .tasteCard__type .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--keyColor);
}
#tasteDscv .tasteCard__title {
    font-size: var(--fs-24);
    font-weight: 700;
    color: #000;
    line-height: 1.25;
    word-break: keep-all;
    margin: 0;
    margin-top: 10px; /* 타입 라벨과 간격 */
}
#tasteDscv .tasteCard__desc {
    margin-top: 6px; /* ★ 타이틀↔리드글 간격(좁게) */
    margin-bottom: 24px; /* 리드↔메타 최소 간격(메타 auto가 0으로 붕괴해도 유지) */
    font-size: var(--fs-16);
    color: #888;
    line-height: 1.45;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* 메타+버튼 하단 정렬(auto). 리드↔메타 최소간격은 .tasteCard__desc margin-bottom:24가 보장 */
#tasteDscv .tasteCard .quizMeta {
    margin-top: auto;
}
/* 참여하기 — 목록 버튼과 통일(radius 6·fs-16·weight 500·line-height 40·검정), 카드라 풀폭 */
#tasteDscv .tasteCard__btn {
    display: block;
    margin-top: 24px; /* 메타와 간격(gap 제거로 직접 지정) */
    border-radius: 6px;
    font-size: var(--fs-16);
    color: #fff;
    font-weight: 500;
    line-height: 40px;
    background-color: #000;
    text-align: center;
    transition: background-color 0.2s ease-in-out;
}
#tasteDscv .tasteCard__btn .arr {
    font-weight: 400;
}
@media (hover: hover) {
    #tasteDscv .tasteCard__btn:hover {
        background-color: #222;
    }
}
/* 리스트 그리드 반응형 — 1200 미만 2열 / 768 미만 1열 (메인 슬라이더엔 .tasteCardList 없어 무관) */
@media (max-width: 1199px) {
    #tasteDscv .tasteCardList {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 767px) {
    #tasteDscv .tasteCardList {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media all and (max-width: 767px) {
    #tasteDscv .tasteCard__desc {
        margin-bottom: 20px;
    }

    #tasteDscv .tasteCard__btn {
        margin-top: 20px;
    }

    #tasteDscv .tasteCard__body {
        padding: 15px 24px 20px;
    }
    #container {
        padding-bottom: 64px;
    }
}
