@charset "utf-8";

#container {
    padding-bottom: 0;
}
/* 1집발견 */
#homeDscv {
    position: relative;
    width: 100%;
    padding: 120px 0px 122px 0px;
}

#homeDscv .sectionInner {
    padding: 0 25px 30px 65px;
    position: relative;
    justify-content: center;
}
#homeDscv .sectionInner .sectionTitle {
    text-align: center;
}
#homeDscv .sectionInner .sectionTitle h1 {
    font-family: "Poppins", "Pretendard", sans-serif;
    font-size: var(--fs-58);
    font-style: normal;
    font-weight: 600;
    line-height: 60px;
}
/* 타이틀 줄바꿈용 br — 데스크톱은 한 줄(숨김), 모바일에서만 'YOUR' 뒤 줄바꿈 노출 */
#homeDscv .sectionTitle h1 br {
    display: none;
}

/* ===== 상단 마퀴 바 — "DESIGN YOUR SINGLE LIFE 1집구석" 왼쪽 무한 반복 (공용) =====
   모바일: 항상 표시(상단 고정, 정적 초록 바 대체) / PC: 스크롤 내리면 .is-visible(JS)로 슬라이드 등장 */
.homeMarquee {
    position: fixed;
    top: 64px; /* 헤더 높이(#header .headerInner min-height) 바로 아래 */
    left: 0;
    width: 100%;
    height: 44px;
    background-color: var(--keyColor);
    overflow: hidden;
    z-index: 90; /* 헤더(9999) 아래 · 콘텐츠 위 */
    pointer-events: none; /* 장식 바 — 아래 콘텐츠 클릭 통과 */
}
.homeMarquee .homeMarqueeTrack {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: homeMarqueeScroll 120s linear infinite;
}
.homeMarquee .homeMarqueeItem {
    font-family: "Poppins", "Pretendard", sans-serif;
    font-size: var(--fs-18);
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    padding-right: 48px; /* 반복 간 간격 */
}
/* PC: 기본 숨김 → 스크롤 시 슬라이드 등장 (모바일은 항상 표시) */
@media all and (min-width: 768px) {
    .homeMarquee {
        transform: translateY(-100%);
        transition: transform 0.4s ease;
    }
    .homeMarquee.is-visible {
        transform: translateY(0);
    }
}
@keyframes homeMarqueeScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    } /* 절반 이동 = 동일 콘텐츠라 끊김 없는 루프 */
}
#homeDscv .sectionInner .sectionMore {
    position: absolute;
    right: 65px; /* sectionInner의 padding:0 40px 안쪽 우측 */
    bottom: 0; /* 현재 align-items:flex-end 기준과 맞춤 */
}
/* === 1집발견 커스텀 무한 캐러셀(slick 미사용) — 가운데 확대 + 하단 닷 === */
#homeDscv .homeCardViewport {
    --cardW: 530px; /* 사이드(일반) 카드 폭 */
    --cardWC: 640px; /* 가운데(활성) 카드 폭 */
    --gap: 42px; /* 모든 카드 사이 균일 간격 — 슬롯 폭을 실제로 키워(530/640) scale 안 쓰므로 간격 일정 */
    --trackH: 480px; /* 트랙 고정 높이 = 가운데 카드 높이(640×3/4) → 슬라이딩 중 높이 출렁임 방지 */
    position: relative;
    width: calc(
        100% - 130px
    ); /* 좌우 인셋 65px씩 — 화면폭 무관 항상 65, 옆 카드(날개) 대칭 peek 유지 */
    margin: 0px auto 0;
    padding: 35px 0; /* 가운데 확대분 세로 여백(상하 클리핑 방지) */
    overflow: hidden;
    box-sizing: content-box;
    touch-action: pan-y; /* 가로 제스처는 JS 드래그로, 세로만 브라우저 스크롤 → 터치 감도 향상 */
}
@media (max-width: 1915px) {
    #homeDscv .homeCardViewport {
        width: 100%;
    }
} /* 1920 이상에선 인셋 없이 풀폭 */
@media (min-width: 1930px) {
    #homeDscv .homeCardViewport {
        width: 100%;
    }
}
#homeDscv .homeCardBox {
    /* 트랙 */
    display: flex;
    align-items: center;
    height: var(
        --trackH
    ); /* 고정 → 카드 폭 변화 시에도 높이 불변(일렁임 방지) */
    gap: var(--gap);
    width: max-content;
    list-style: none;
    margin: 0;
    padding: 0;
    will-change: transform;
}
/* 하단 닷 — 사이트 slick-dots(.slick-dots li button:before)와 동일 룩 */
#homeDscv .homeDots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 33px;
}
#homeDscv .homeDot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #000;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
#homeDscv .homeDot.is-active {
    background-color: var(--keyColor);
}
#homeDscv .homeCard {
    flex: 0 0 var(--cardW);
    width: var(--cardW);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        flex-basis 0.6s ease,
        width 0.6s ease;
}
#homeDscv .homeCard .cardImg {
    position: relative;
    width: 100%;
    aspect-ratio: 640 / 480; /* 4:3 — 폭 따라 높이 비례(530→398, 640→480) */
    background-color: #eaeaea;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 30px;
    overflow: hidden;
}
/* 반응형 <img> (background-image 대체) — 카드 채움, 오버레이 아래. hover scale은 img에. */
#homeDscv .cardImg .coverImg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
    z-index: 0;
}
/* 호버 시 이미지 줌 (물건발견·일상발견과 동일 패턴) */
#homeDscv .cardImg:hover .coverImg {
    transform: scale(1.05);
}

/* 가운데(활성) 카드만 슬롯 확대 — 폭 530 → 640. PC에서만(모바일은 확대 없음) */
@media (min-width: 768px) {
    #homeDscv .homeCard.is-center {
        flex-basis: var(--cardWC);
        width: var(--cardWC);
    }
}

#homeDscv .cardImg:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0) 50%
    );
}

#homeDscv .cardImg .cardLink {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#homeDscv .cardImg .tagBox {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    /* 가운데 카드에서만 노출 (텍스트와 동일) */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#homeDscv .cardImg .linkBox {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#homeDscv .cardImg .textWrap {
    position: absolute;
    left: 32px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
    pointer-events: none;
    /* 가운데(활성) 카드에서만 제목/텍스트 노출 — 기본 숨김 + 페이드 */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    max-width: 80%;
}

/* 활성(가운데) 카드만 제목/텍스트·태그·링크 표시 */
#homeDscv .homeCard.is-center .cardImg .textWrap,
#homeDscv .homeCard.is-center .cardImg .tagBox,
#homeDscv .homeCard.is-center .cardImg .linkBox {
    opacity: 1;
}

#homeDscv .cardImg .textWrap h2 {
    font-size: var(--fs-36);
    color: #fff;
    font-weight: 600;
    word-break: keep-all;
    line-height: 1.2;
}

#homeDscv .cardImg .textWrap p {
    margin-top: 14px;
    font-size: var(--fs-16);
    color: #fff;
    font-weight: 400 !important;
    line-height: 1.2;
    word-break: keep-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 70%;
}

#homeDscv .tagList {
    width: 100%;
    margin-top: 15px;
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#homeDscv .tagList .tagSlider {
    width: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}
#homeDscv .tagSlider .slick-list {
    max-width: 100%;
    transition: width 0.5s ease-in-out !important;
    display: inline-block !important;
    overflow: hidden !important;
}
#homeDscv .tagSlider .tagItem {
    margin: 0 3px;
    box-sizing: border-box;
    display: inline-block;
}
#homeDscv .tagList .slick-prev,
#homeDscv .tagList .slick-next {
    position: static;
    width: 34px;
    height: 34px;
    background-color: transparent;
    background-size: auto 24px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border: 0;
    text-indent: -9999px;
    transform: none;
    cursor: pointer;
}
#homeDscv .tagList .slick-prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath 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");
}
#homeDscv .tagList .slick-next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath 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");
}

/* 취향발견 */
#tasteDscv {
    position: relative;
    padding: 58px 65px 130px 65px;
    background-color: #fff;
}
#tasteDscv .quizBox {
    margin-top: 22px;
}
.quizBox:has(.slick-dots) {
    padding-bottom: 40px !important;
}
/* 음수마진은 .cardWrap 패딩(15)과 일치시켜 양 끝 카드가 섹션 패딩을 침범하지 않게 함 */
#tasteDscv .quizBox .slick-list {
    margin: 0 -15px;
}

/* 슬라이드 높이 균일화 설정 */
#tasteDscv .quizBox .slick-track {
    display: flex !important;
    align-items: stretch;
}
#tasteDscv .quizBox .slick-slide {
    height: auto !important;
}
#tasteDscv .quizBox .slick-slide > div {
    height: 100%;
}
#tasteDscv .quizBox .cardWrap {
    height: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    outline: none;
}
#tasteDscv .quizBox .card {
    position: relative;
    padding: 30px 20px;
    background-color: var(--bgColor);
    border-radius: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0px;
}
#tasteDscv .quizBox .card .cardLink {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 20px;
}
/* (구 카드용 #tasteDscv .quizBox h2 제거 — 새 카드 .tasteCard__title 간섭 방지) */
/* 1집발견 배너와 동일 패턴: 컨테이너에 가로비, figure는 stretch만 (per-figure aspect-ratio 사용 시 overflow 발생) */
#tasteDscv .quizBox .quizImgBox {
    position: relative;
    width: 100%;
    aspect-ratio: 1.6 / 1;
    /* 카드 1개일 때 슬라이드가 풀폭이 되어 1.6:1 비율로 높이가 과도해지는 것 방지 — 450에서 상한.
       다중 카드(슬라이드 폭 좁음)는 보통 450 미만이라 영향 없음. */
    max-height: 450px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
}
#tasteDscv .quizBox .quizImgBox > .label {
    z-index: 2;
    pointer-events: none;
    text-transform: uppercase;
}
#tasteDscv .quizBox .quizImg {
    flex: 1;
    margin: 0;
    border-radius: 0px;
    position: relative;
    overflow: hidden;
}
#tasteDscv .quizBox .quizImg:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transition: transform 0.6s ease-in-out;
}
#tasteDscv .quizBox .card:hover .quizImg:before {
    transform: scale(1.05);
}
#tasteDscv .quizBox .btnTake {
    position: relative;
    z-index: 2;
    font-size: var(--fs-16);
    color: #fff;
    font-weight: 600;
    padding: 6px 45px;
    background-color: var(--darkColor);
    border: 0;
    border-radius: 100vh;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition:
        background-color 0.2s ease-in-out,
        color 0.2s ease-in-out;
    margin-top: 25px;
}
#tasteDscv .quizBox .btnTake .takePoint {
    position: relative;
    font-size: var(--fs-16);
    color: #fff;
    font-weight: 900;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
#tasteDscv .quizBox .btnTake .takePoint:before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("../images/icon_point.svg");
    background-size: cover;
    background-position: 0 50%;
    background-repeat: no-repeat;
}

/* 일상발견 */
#dailyDscv {
    padding: 58px 65px 130px 65px;
    background-color: #fff;
}

#dailyDscv .dailyBox {
    width: 100%;
    margin-top: 30px;
    display: flex;
    gap: 40px;
}

#dailyDscv .dailyBox .dailyList {
    flex: 1;
    min-width: 0; /* 텍스트 칼럼이 정상적으로 축소되도록(필수) */
    width: auto;
}

#dailyDscv .dailyBox .dailyList .dailyPost {
    width: 100%;
    border-top: 1px solid #5e5e5e;
    display: flex;
    flex-direction: column;
}

#dailyDscv .dailyBox .dailyList .postBox {
    position: relative;
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid #5e5e5e;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* 카드 전체 클릭(글 상세) — 태그 아래 레이어 */
#dailyDscv .dailyBox .dailyList .postBox .cardLink {
    position: absolute;
    inset: 0;
    z-index: 1;
}
/* 태그는 위로 — 클릭 시 일상발견 필터로 이동 */
#dailyDscv .dailyBox .dailyList .postBox .tag {
    position: relative;
    z-index: 2;
    width: 143px !important;
    height: 48px;
    font-size: var(--fs-28);
    margin-right: 12px;
}

#dailyDscv .dailyBox .dailyList .postBox p {
    min-width: 0;
    font-size: var(--fs-28);
    color: #5e5e5e;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

#dailyDscv .dailyBox .dailyList .postBox .link {
    margin-left: auto;
}

/* 텍스트 라인 태그칩·화살표 — 기본 검정 + 글자/화살표 흰색(메인 화살표는 .lightgray=검정이라 흰 화살표로 교체). hover는 아래에서 다크그레이(#5e5e5e) */
#dailyDscv .dailyBox .dailyList .postBox .tag {
    color: #fff;
    background-color: #000;
}
#dailyDscv .dailyBox .dailyList .postBox .link {
    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");
}

#dailyDscv .dailyBox .dailyList .postBox:hover p,
#dailyDscv .dailyBox .dailyList .postBox.is-hovered p,
#dailyDscv .dailyBox .dailyList .postBox:hover .tag,
#dailyDscv .dailyBox .dailyList .postBox.is-hovered .tag,
#dailyDscv .dailyBox .dailyList .postBox:hover .link,
#dailyDscv .dailyBox .dailyList .postBox.is-hovered .link {
    transition: all 0.3s ease-in-out;
}

#dailyDscv .dailyBox .dailyList .postBox:hover p,
#dailyDscv .dailyBox .dailyList .postBox.is-hovered p {
    color: #5e5e5e;
    font-weight: 600;
}

#dailyDscv .dailyBox .dailyList .postBox:hover .tag,
#dailyDscv .dailyBox .dailyList .postBox.is-hovered .tag,
#dailyDscv .dailyBox .dailyList .postBox:hover .link,
#dailyDscv .dailyBox .dailyList .postBox.is-hovered .link {
    background-color: #5e5e5e;
}

/* 카드 호버 시 lightgray 화살표를 흰색으로 (id 선택자라 .link.lightgray:hover보다 우선 → 여기서 같이 교체) */
#dailyDscv .dailyBox .dailyList .postBox:hover .link.lightgray,
#dailyDscv .dailyBox .dailyList .postBox.is-hovered .link.lightgray {
    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");
}

#dailyDscv .dailyBox .dailyThumb {
    flex: 0 0 600px; /* 고정폭 — 폭 줄어도 썸네일 안 좁아짐(리스트가 flex:1로 줄어듦) */
    width: 600px;
    max-width: 600px;
    display: flex;
}

#dailyDscv .dailyBox .dailyThumb .thumbBox {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#dailyDscv .dailyBox .dailyThumb .thumbBox li {
    flex: 1;
    display: flex;
}

#dailyDscv .dailyBox .dailyThumb .thumbBox .postThumb {
    position: relative;
    display: block;
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
}

#dailyDscv .dailyBox .dailyThumb .thumbBox .postThumb .thumbImg {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transition: transform 0.6s ease-in-out;
}

/* 반응형 <img> (background-image 대체) — absolute로 채워 박스 높이(flex stretch)에 영향 안 줌. hover scale은 thumbImg에 */
#dailyDscv .dailyBox .dailyThumb .thumbBox .postThumb .thumbImg .coverImg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#dailyDscv .dailyBox .dailyThumb .thumbBox .postThumb:hover .thumbImg,
#dailyDscv .dailyBox .dailyThumb .thumbBox .postThumb.is-hovered .thumbImg {
    transform: scale(1.05);
}

#dailyDscv .dailyBox .dailyThumb .thumbBox .postThumb .link {
    position: absolute;
    bottom: 10px;
    right: 10px;
    transition: all 0.3s ease-in-out;
    transform: scale(0.8);
    transform-origin: right bottom;
}

#dailyDscv .dailyBox .dailyThumb .thumbBox .postThumb:hover .link,
#dailyDscv .dailyBox .dailyThumb .thumbBox .postThumb.is-hovered .link {
    background-color: var(--darkColor);
    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");
    transform: scale(1);
}

/* 물건발견 */
#itemDscv {
    padding: 58px 65px 130px 65px;
}
#itemDscv .itemCardBox {
    position: relative;
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
#itemDscv .itemCard {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* 카드 전체 클릭(글 상세) — 태그칩 아래 레이어 */
#itemDscv .itemCard .cardLink {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* 이미지 위 태그칩 — cardLink보다 위(클릭 시 물건발견 필터로 이동) */
#itemDscv .itemCard .cardThumb .tagBox {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
#itemDscv .itemCard.cardFull {
    flex-direction: row;
    border-radius: 30px; /* 카드 자체를 클립(overflow:hidden) → 이미지·오버레이를 한 라운드로 통일, 모서리 삐짐 원천 차단 */
}
#itemDscv .cardCol,
#itemDscv .cardFull,
#itemDscv .cardRow {
    height: 480px; /* 좌우구조도 상하 구조가 되므로 480px로 통일하여 노출 */
}

/* 이미지 요소 설정 */
#itemDscv .cardThumb {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}
/* 반응형 <img> (background-image 대체) — cardThumb 채움, hover scale은 img에. */
#itemDscv .cardThumb .coverImg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
    z-index: 0;
}
#itemDscv .itemCard:hover .cardThumb .coverImg {
    transform: scale(1.1);
}

/* 상하구조 비율 */
#itemDscv .cardCol .cardThumb {
    width: 100%;
    height: 50%;
}
/* 좌우구조 비율 */
#itemDscv .cardRow .cardThumb,
#itemDscv .cardRowReverse .cardThumb {
    width: 100%;
    height: 100%;
}

/* 채움구조 이미지와 텍스트 박스 설정 */
#itemDscv .cardFull .cardThumb {
    width: 100%;
    height: 100%;
}
#itemDscv .cardFull .textBox {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: #fff;
    box-sizing: border-box;
}

/* 텍스트 내용 기본 스타일 */
#itemDscv .textBox {
    position: relative; /* .link(absolute) 기준을 카드→텍스트박스로 → 좌우배치에서도 화살표가 텍스트박스 우하단 */
    width: 100%;
    height: 100%;
    padding: 0px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex: 1;
}
#itemDscv .cardFull .textBox {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0) 50%
    );
    box-sizing: border-box;
    border-radius: 30px; /* 이미지 .cardThumb(30)과 일치 — 모서리 오버레이 삐짐 방지(공용 textBox 20 상속 덮음) */
}
#itemDscv .textBox.keyColor {
    background-color: var(--keyColor);
    padding: 35px 20px;
}
#itemDscv .textBox.pointColor {
    background-color: var(--secondpointColor);
    padding: 30px 28px;
}
#itemDscv .textBox .textWrap {
    color: var(--lightColor);
    padding: 0px;
}
#itemDscv .textBox.keyColor .textWrap,
#itemDscv .textBox.pointColor .textWrap {
    width: 90%;
    color: var(--darkColor);
}
#itemDscv .textBox h3 {
    font-size: var(--fs-28);
    font-weight: 600;
    line-height: 1.2;
    word-break: keep-all;
    margin-bottom: 10px;
    width: 90%;
}
#itemDscv .textBox p {
    font-size: var(--fs-18);
    font-weight: 400;
    word-break: keep-all;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 90%;
}

#itemDscv .textBox.keyColor p {
    line-clamp: 3;
    -webkit-line-clamp: 3;
}

#itemDscv .textBox.pointColor .textWrap h3 {
    font-size: var(--fs-24);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}
#itemDscv .link {
    transition: all 0.3s ease-in-out;
}
#itemDscv .itemCard:hover .link {
    background-color: var(--darkColor);
    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");
}
#itemDscv .textBox.topLeft {
    flex-direction: column;
}
#itemDscv .textBox.topLeft .link {
    margin-left: auto;
}
#itemDscv .textBox.bottomLeft {
    align-items: flex-end;
    flex-direction: row;
    padding: 30px;
}
#itemDscv .textBox.bottomLeft .link {
    margin-left: auto;
    padding: 15px;
}
#itemDscv .textBox .link {
    position: absolute;
    right: 15px;
    bottom: 15px;
    margin: 0;
    padding: 0;
}
/*
Desktop Device greater than 1024px
*/
@media all and (min-width: 1200px) {
    #itemDscv .itemCardBox {
        display: grid;
        grid-template-columns: repeat(
            3,
            1fr
        ); /* 3열 분할 (3열 벤토는 ≥1200만) */
        grid-template-rows: 1fr 1fr; /* 고정 240 → 비례(폭 줄어도 행 높이가 비례, 찌그러짐 방지) */
        aspect-ratio: 3 / 1; /* 3열×2행 → 2행 차지 카드(cardCol·cardFull)가 정사각, cardRow는 2:1 */
    }

    /* 상하·채움 카드: 고정 480 해제 → 그리드 영역(2행 span) 비례로 채움 */
    #itemDscv .cardCol,
    #itemDscv .cardFull {
        height: auto;
    }

    /* 상하구조 */
    #itemDscv .cardCol {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    /* 채움구조 */
    #itemDscv .cardFull {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    /* 좌우구조 */
    #itemDscv .cardRow {
        grid-column: 3;
        grid-row: 1;
        flex-direction: row;
        height: 100%;
    }
    #itemDscv .cardRow .cardThumb {
        width: 50%;
    }

    /* 좌우구조 2열 */
    #itemDscv .cardRowReverse {
        grid-column: 3;
        grid-row: 2;
        flex-direction: row-reverse; /* PC에서는 우측 이미지, 좌측 텍스트 반전 */
        height: 100%;
    }
    #itemDscv .cardRowReverse .cardThumb {
        width: 50%;
    }
}
/* 물건발견: <1200은 태블릿식 2열(비례)로 전환 — 3열 벤토 그리드는 ≥1200만 */
@media all and (min-width: 1024px) and (max-width: 1199px) {
    #itemDscv .itemCardBox {
        flex-direction: row;
        flex-wrap: wrap;
    }
    #itemDscv .cardCol,
    #itemDscv .cardFull {
        width: calc(50% - 1px);
        height: auto;
        aspect-ratio: 1 / 1;
    }
    #itemDscv .cardRow {
        width: calc(50% - 1px);
        height: auto;
        aspect-ratio: 2 / 1;
        flex-direction: row;
    }
    #itemDscv .cardRow .cardThumb {
        width: 50%;
    }
    #itemDscv .textBox .textWrap {
        padding: 0;
    }
}

@media all and (min-width: 1280px) and (max-width: 1600px) {
    /* <1601: 고정 600px 대신 비례 40% (고정은 ≥1601만 — 그 아래선 600px이 너무 넓어짐) + 글자 축소 */
    #dailyDscv .dailyBox .dailyThumb {
        flex: 0 0 520px;
        width: 520px;
        max-width: 520px;
    }
    #dailyDscv .dailyBox .dailyList .postBox p {
        font-size: var(--fs-24);
    }
    #dailyDscv .dailyBox .dailyList .postBox .tag {
        width: 110px !important;
        height: 42px;
        font-size: var(--fs-20);
    }
}
@media all and (min-width: 1200px) and (max-width: 1279px) {
    /* <1601: 비례 40% + 글자 축소 */
    #dailyDscv .dailyBox .dailyThumb {
        flex: 0 0 440px;
        width: 440px;
        max-width: 440px;
    }
    #dailyDscv .dailyBox .dailyList .postBox p {
        font-size: var(--fs-20);
    }
    #dailyDscv .dailyBox .dailyList .postBox .tag {
        width: 90px !important;
        height: 36px;
        font-size: var(--fs-18);
    }
}
/* <1200: 고정폭(600) 대신 태블릿식 2열(비례 40%)로 전환 — 좁은 데스크탑 cramp 해소
   (고정 600px이 1024서 텍스트 칼럼을 ~304px로 만드는 문제) */
@media all and (min-width: 1024px) and (max-width: 1199px) {
    #dailyDscv .dailyBox .dailyThumb {
        flex: 0 0 380px;
        width: 380px;
        max-width: 380px;
    }
    #dailyDscv .dailyBox .dailyList .postBox p {
        font-size: var(--fs-20);
    }
    #dailyDscv .dailyBox .dailyList .postBox .tag {
        width: 70px !important;
        height: 30px;
        font-size: var(--fs-16);
    }
}
/* (와이드 ≥1441 비례 처리는 ≥1024 미디어쿼리로 통합 — aspect-ratio 1360/480가 전 데스크탑 구간에 적용) */

/*
Tablet Device Less than 1023px or greater than 768px
*/
@media all and (min-width: 768px) and (max-width: 1023px) {
    #tasteDscv .quizBox .slick-list {
        margin: 0 -10px;
    }
    #tasteDscv .quizBox .cardWrap {
        padding: 0 10px;
    }

    #itemDscv .itemCardBox {
        flex-direction: row; /* 가로 나열 */
        flex-wrap: wrap; /* 100% 넘치면 줄바꿈 */
    }

    /* 상하구조와 채움구조 좌우 배치 */
    #itemDscv .cardCol,
    #itemDscv .cardFull {
        width: calc(50% - 1px); /* gap(1px) 감안 → 한 줄에 2개 */
        height: auto; /* base 480 해제 */
        aspect-ratio: 1 / 1; /* 고정 400 → 비례 정사각(폭 줄어도 안 찌그러짐) */
    }

    /* 좌우구조 좌우 배치 */
    #itemDscv .cardRow {
        width: calc(
            50% - 1px
        ); /* gap(1px) 감안 → 한 줄에 2개 (cardRowReverse도 .cardRow 포함) */
        height: auto; /* base 480 해제 */
        aspect-ratio: 2 / 1; /* 고정 240 → 비례 */
        flex-direction: row;
    }

    /* 3, 4번 카드 이미지 가로 비율 다시 50%로 조정 */
    #itemDscv .cardRow .cardThumb {
        width: 50%;
    }

    /* 태블릿에서 HTML 구조 순서대로 흐르도록 강제 초기화 */
    #itemDscv .cardCol {
        order: unset;
    }
    #itemDscv .cardFull {
        order: unset;
    }
    #itemDscv .cardRow {
        order: unset;
    }
    #itemDscv .textBox .textWrap {
        padding: 0;
    }
    #tasteDscv,
    #dailyDscv,
    #itemDscv {
        padding-bottom: 50px;
    }

    #dailyDscv .dailyBox {
        gap: 20px;
    }
    #dailyDscv .dailyBox .dailyThumb {
        flex: 0 0 320px;
        width: 320px;
        max-width: 320px;
    }

    #dailyDscv .dailyBox .dailyList .postBox .tag {
        width: 70px !important;
        height: 30px;
        font-size: var(--fs-16);
        margin-right: 0px;
    }

    #dailyDscv .dailyBox .dailyList .postBox {
        padding: 15px 0;
    }
    #dailyDscv .dailyBox .dailyList .postBox p {
        font-size: var(--fs-20);
    }
    #homeDscv .sectionInner .sectionTitle h1 {
        font-size: var(--fs-42);
        line-height: 60px;
    }

    #itemDscv .textBox h3,
    #itemDscv .textBox.keyColor .textWrap h3,
    #itemDscv .textBox.pointColor .textWrap h3 {
        font-size: var(--fs-20);
    }
    #itemDscv .textBox p {
        font-size: var(--fs-16);
    }
}

/*
Mobile Device Less than 768px
*/
@media all and (max-width: 767px) {
    #homeDscv {
        margin-top: 0; /* 마퀴 바를 헤더에 딱 붙임 */
        padding: 44px 0 0 0; /* 고정된 마퀴 바(44px) 높이만큼 콘텐츠 내림 — 겹침 방지 */
    }
    /* 타이틀 → 풀폭 초록 바(Figma): sectionInner 좌우패딩 제거, 더보기는 바 아래 우측 */
    #homeDscv .sectionInner {
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    #homeDscv .homeCardViewport {
        --cardW: 280px;
        --gap: 16px;
        --trackH: auto; /* 모바일은 가운데 확대 없음 → 높이 고정 불필요 */
        width: 100%;
        margin-top: 19px;
        padding: 0 0 16px 0;
    }
    #homeDscv .homeDots {
        margin-top: 0px;
        gap: 10px;
    }
    #homeDscv .sectionTitle h1 br {
        display: none; /* 초록 바는 한 줄 */
    }
    /* 타이틀 → 윗줄 전체폭, 더보기(점 세 개) → 아랫줄 우측.
   ★PC의 position:absolute가 모바일에 상속돼 타이틀과 겹쳤던 것 → static으로 흐름 복귀해야 마진이 먹음 */
    /* 타이틀을 항상 윗줄 전체폭으로 → 닷이 무조건 아랫줄로 내려가고 타이틀은 가운데 유지.
       (br로 2줄 되며 폭이 줄면 닷이 같은 줄에 붙어 margin-left:auto가 정렬을 깨던 것 방지) */
    /* 타이틀 = 풀폭 초록 바 (Figma) */
    /* 모바일은 정적 초록 바 대신 마퀴(.homeMarquee)가 상단 고정으로 대체 → 기존 sectionTitle 바 숨김 */
    #homeDscv .sectionInner .sectionTitle {
        display: none;
    }
    /* 더보기(점 세개) — 풀폭 바 아래 우측(15 인셋) */
    #homeDscv .sectionInner .sectionMore {
        position: static;
        right: auto;
        bottom: auto;
        margin: 8px 15px 0 auto;
    }
    /* PC 닷을 60px 내리며 tagList margin-top을 80으로 키웠는데, 모바일은 닷 안 내려가므로 원래 여백으로 */
    #homeDscv .tagList {
        margin-top: 3px;
    }
    #homeDscv .sectionInner .sectionTitle h1 {
        font-family: "Pretendard", sans-serif;
        font-size: var(--fs-18);
        font-weight: 800; /* ExtraBold */
        color: #000;
        line-height: 1;
        white-space: nowrap;
    }

    /* 모바일은 세로형 카드(17/23), 가운데 확대 없음(scale은 ≥768 미디어에만) */
    #homeDscv .homeCard .cardImg {
        aspect-ratio: 17 / 23;
    }
    #homeDscv .cardImg .textWrap {
        left: auto;
        right: 20px;
    }
    #homeDscv .cardImg .textWrap h2 {
        line-height: 1.25;
        text-align: right;
        font-size: var(--fs-18);
    }
    #homeDscv .cardImg .textWrap p {
        display: none;
    }
    #homeDscv {
        padding-bottom: 58px;
    }
    #tasteDscv,
    #dailyDscv,
    #itemDscv {
        padding: 37px 15px 64px 15px;
    }
    /* 더보기(닷)를 부제 라인 높이에 맞춤 — 40px 버튼 중앙정렬 닷이 부제보다 위로 떠 보이던 것 보정(값 조정 가능) */
    #homeDscv .sectionMore {
        transform: translateY(14px);
    }
    #tasteDscv .sectionMore,
    #itemDscv .sectionMore,
    #dailyDscv .sectionMore {
        transform: translateY(7px);
    }
    #dailyDscv .dailyBox .dailyList .postBox .tag {
        width: 80px !important;
        height: 36px;
        font-size: var(--fs-14);
        margin-right: 0px;
    }
    /* quizBox .slick-list 음수마진(-20, PC 패딩 기준)이 모바일 패딩(15)보다 커서 가로 오버플로 → -15로 보정 */
    #tasteDscv .quizBox .slick-list {
        margin: 0 -15px;
    }

    #tasteDscv .quizBox .card {
        background-color: #fff;
    }

    #tasteDscv .slick-dots {
        gap: 0;
    }

    .quizBox:has(.slick-dots) {
        padding-bottom: 32px !important;
    }

    #tasteDscv .quizBox {
        margin-top: 12px;
    }
    #dailyDscv .dailyBox {
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
    }
    #dailyDscv .dailyBox .dailyList {
        width: 100%;
    }
    #dailyDscv .dailyBox .dailyList .postBox {
        padding: 10px 0;
    }
    #dailyDscv .dailyBox .dailyList .postBox p {
        font-size: var(--fs-18);
    }
    #dailyDscv .dailyBox .dailyThumb {
        flex: initial;
        width: 100%;
        max-width: 100%;
        height: auto !important; /* 250 고정 해제 → 썸네일 비율로 높이 결정(리스트와 안 맞춰도 됨) */
    }
    /* 모바일 썸네일 비율 고정 — 윗줄 2칸 3:2, 아랫줄 3칸 1:1 (어드민 크롭과 일치) */
    #dailyDscv .dailyBox .dailyThumb .thumbBox li {
        flex: none;
    }
    #dailyDscv .dailyBox .dailyThumb .thumbBox li:first-child .postThumb {
        aspect-ratio: 3 / 2;
    }
    #dailyDscv .dailyBox .dailyThumb .thumbBox li:last-child .postThumb {
        aspect-ratio: 1 / 1;
    }

    #itemDscv .itemCardBox {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 12px;
    }
    #itemDscv .textBox .textWrap {
        padding: 0px;
    }
    /* cardFull: 풀이미지(텍스트 오버레이) 유지 */
    #itemDscv .cardFull {
        height: auto;
    }
    #itemDscv .cardFull .cardThumb {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    /* cardCol: 전체 박스 정사각(1) → 상단 이미지 1/2 + 텍스트 박스 1/2 (PC 벤토 cardCol과 동일) */
    #itemDscv .cardCol {
        aspect-ratio: 1 / 1;
        height: auto;
    }
    #itemDscv .cardCol .cardThumb {
        height: 50%; /* 상단 이미지 1/2 (텍스트 박스는 base flex:1로 나머지 1/2) */
        aspect-ratio: auto;
    }
    /* cardRow·cardRowReverse: 모바일에서도 PC처럼 좌우 배치(이미지 50% 옆 + 텍스트 50%, 2:1) */
    #itemDscv .cardRow,
    #itemDscv .cardRowReverse {
        aspect-ratio: 2 / 1;
        height: auto;
    }
    #itemDscv .cardRow {
        flex-direction: row;
    }
    #itemDscv .cardRowReverse {
        flex-direction: row-reverse;
    }
    #itemDscv .cardRow .cardThumb,
    #itemDscv .cardRowReverse .cardThumb {
        width: 50%;
        flex: 0 0 50%;
        height: 100%;
        aspect-ratio: auto;
    }
    /* 텍스트 박스도 정확히 50% (base flex:1 → 0 0 50%, min-width:0로 내용이 폭을 밀지 않게) */
    #itemDscv .cardRow .textBox,
    #itemDscv .cardRowReverse .textBox {
        width: 50%;
        flex: 0 0 50%;
        min-width: 0;
    }
    #itemDscv .textBox.bottomLeft,
    #itemDscv .textBox.keyColor,
    #itemDscv .textBox.pointColor {
        padding: 15px;
    }
    /* 분홍 박스(cardRow/cardRowReverse)는 모바일 좁은 폭이라 텍스트 90→100% */
    #itemDscv .textBox.pointColor .textWrap {
        width: 100%;
    }
    #itemDscv .textBox h3,
    #itemDscv .textBox.keyColor .textWrap h3,
    #itemDscv .textBox.pointColor .textWrap h3 {
        font-size: var(--fs-18);
        width: 90%;
        margin-bottom: 5px;
    }
    #itemDscv .textBox.keyColor p {
        font-size: var(--fs-16);
        -webkit-line-clamp: 3;
        line-clamp: 3;
        width: 90%;
    }
    #itemDscv .textBox p {
        font-size: var(--fs-16);
        -webkit-line-clamp: 2;
        line-clamp: 2;
        width: 90%;
    }
}

/* 메인 전용 — 카피라이트 아래 여백(푸터 하단 패딩) 50% 증가 40→60px (하단 구독 바와 간격 확보) */
#footer {
    padding-bottom: 60px;
}
/* 한개만 노출시 배너 타입 — 배경은 인라인 --bg-img(콘텐츠 배너 이미지), 없으면 샘플 fallback.
   흰 글씨 가독성을 위해 어두운 그라데이션 오버레이를 이미지 위에 깔아준다. */
#tasteDscv .tasteBanner {
    position: relative;
    isolation: isolate; /* 독립 stacking context — 배경 :before(z-index:-1)를 배너 안에 가둠 */
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1788 / 544; /* 기본 1788×544 비율 — 풀폭 반응형(폭 따라 박스·이미지 같이 스케일, 줌 없음) */
    min-height: 400px; /* 좁은 화면 바닥값 — 텍스트 안 눌리게 */
    margin-top: 30px;
    padding: 30px;
    border: 1px solid #5e5e5e; /* 외곽라인 — 퀴즈 카드와 통일 */
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
/* 단일 노출: 데스크탑=가로 배너(.tasteBanner) / 모바일=일반 카드(.tasteSingleCard) 토글 */
#tasteDscv .tasteSingleCard {
    display: none;
}
@media (max-width: 767px) {
    #tasteDscv .tasteBanner {
        display: none;
    }
    #tasteDscv .tasteSingleCard {
        display: block;
        margin-top: 12px;
    }
}
/* 배경 이미지+가독성 오버레이를 가상요소로 분리 → 호버 시 살짝 확대(텍스트는 고정). overflow:hidden로 클립 */
#tasteDscv .tasteBanner:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(
        --bg-img,
        url("../images/sample_images/banner_sample.jpg")
    );
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    transition: transform 0.6s ease-in-out;
}
#tasteDscv .tasteBanner:hover:before {
    transform: scale(1.05);
}
/* 배너 전체 클릭 — 풀커버 오버레이 링크. 텍스트/태그는 그 아래, btnTake만 위로 올려 자체 호버 유지 */
#tasteDscv .tasteBanner .cardLink {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 30px;
}
#tasteDscv .tasteBanner h1 {
    font-size: var(--fs-46);
    color: #000;
    font-weight: 700;
    line-height: 1.2;
    word-break: keep-all;
    margin-top: 30px;
}
#tasteDscv .tasteBanner p {
    font-size: var(--fs-18);
    color: #000;
    font-weight: 500;
    word-break: keep-all;
    white-space: pre-line; /* 어드민 설명의 줄바꿈(\n) 유지 */
    margin-top: 10px;
    background-color: #fff; /* 설명 흰 배경(하이라이트) */
}
/* 배경 이미지가 밝을 때(JS 평균 휘도 측정 → .is-light) — 흰 글씨 대신 어두운 글씨로 자동 대비.
   메타 칩(.metaItem #f1f1f1)·태그·버튼(검정 bg)은 자체 배경이라 어떤 배경에서도 가독성 OK → 유지 */
#tasteDscv .tasteBanner.is-light h1,
#tasteDscv .tasteBanner.is-light p {
    color: #1a1a1a;
}
/* 배너 콘텐츠 래퍼 — 배너 상단 좌측(20/20)에 배치. 버튼이 래퍼 폭 100% 채우게, max-width로 과확장만 방지 */
#tasteDscv .tasteBanner__inner {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: fit-content;
    max-width: 440px;
}
/* 타이틀 + 리드글만 흰 카드 (태그는 카드 밖, 원래 위치) */
#tasteDscv .tasteBanner__text {
    padding: 0;
}
#tasteDscv .tasteBanner__text h1 {
    margin-top: 30px;
    background-color: #fff; /* 제목 흰 배경(하이라이트) */
}
#tasteDscv .tasteBanner__inner h1,
#tasteDscv .tasteBanner__inner p {
    padding: 0 10px;
}
/* 배너 태그 칩도 카드처럼 링크 — cardLink(z-index:1) 위로 올려 클릭 가능하게(버튼과 동일 처리) */
#tasteDscv .tasteBanner__inner .tag {
    position: relative;
    z-index: 2;
}
/* 메타 칩 + 버튼 하단 그룹 — 배너 좌하단(20/20)에 배치. 폭은 콘텐츠(메타 행) 기준 */
#tasteDscv .tasteBanner__foot {
    position: absolute;
    left: 0px;
    bottom: 0px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 440px;
}
@media all and (max-width: 767px) {
    #tasteDscv .tasteBanner__inner,
    #tasteDscv .tasteBanner__foot {
        max-width: none;
        width: 100%;
    }
    #tasteDscv .tasteBanner__inner h1 {
        margin-top: 20px;
        font-size: var(--fs-28);
        padding: 0;
    }
    #tasteDscv .tasteBanner__inner p {
        font-size: var(--fs-16);
        padding: 0;
    }
}
/* 단일 배너 메타 칩(문항수·소요시간·증정) — 카드와 동일 룩(.quizMeta 공용). 하단 그룹 최상단이라 위 여백 없음 */
#tasteDscv .tasteBanner .quizMeta {
    margin-top: 0;
}
/* 작은 카드 버튼(.tasteCard__btn) 룩 + 래퍼 폭 100%(풀폭). 메타 칩 아래 배치. */
#tasteDscv .tasteBanner .btnTake {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: 24px;
    padding: 6px 30px;
    font-size: var(--fs-16);
    color: #fff;
    font-weight: 500;
    background-color: #000;
    border: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background-color 0.2s ease-in-out;
}
#tasteDscv .tasteBanner .btnTake .arr {
    font-weight: 400;
}
@media (hover: hover) {
    #tasteDscv .tasteBanner .btnTake:hover {
        background-color: #222;
    }
}
