@charset "utf-8";

/* ============================================================
   acne_care 페이지 — Tailwind 보조 스타일
   ============================================================ */

.ctt_admin {
    display: none;
}

/* 섹션 1 — xl 이상 이미지·텍스트 박스 겹침 */
@media (min-width: 1280px) {
    .sh-acne-care-intro__visual {
        position: relative;
        min-height: 500px;
    }

    .sh-acne-care-intro__photo {
        position: absolute;
        left: 0;
        top: 50px;
        z-index: 10;
        width: 30%;
        max-width: 400px;
    }

    .sh-acne-care-intro__box {
        position: relative;
        z-index: 20;
        margin-left: 36%;
        min-height: 500px;
        padding-left: clamp(100px, 10vw, 160px);
        padding-right: 40px;
    }
}

@media (min-width: 1536px) {
    .sh-acne-care-intro__photo {
        left: 0;
        width: 40.83%;
        max-width: 588px;
    }

    .sh-acne-care-intro__box {
        margin-left: 28.2%;
        padding-left: min(220px, 18%);
    }
}

/* 섹션 2 — 배경 이미지 + 흰색 80% 오버레이 */
.sh-acne-care-types__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    opacity: 0.8;
}

/* 섹션 3 — 필링 비교표 PC */
@media (min-width: 1024px) {
    .sh-acne-care-peel__table {
        display: grid;
        grid-template-columns: 120px repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .sh-acne-care-peel__corner {
        background-color: #ffffff;
        border-right: none;
        border-bottom: none;
    }

    .sh-acne-care-peel__label,
    .sh-acne-care-peel__head,
    .sh-acne-care-peel__cell {
        border-right: 1px solid #f2f2f2;
        border-bottom: 1px solid #f2f2f2;
    }

    .sh-acne-care-peel__head {
        border-top: none;
    }

    .sh-acne-care-peel__col--last {
        border-right: none;
    }

    .sh-acne-care-peel__cell--last,
    .sh-acne-care-peel__label--last {
        border-bottom: none;
    }
}

/* 섹션 6 — 후기 마퀴 */
.sh-acne-care-review-track {
    display: flex;
    width: max-content;
    animation: sh-acne-care-review-marquee 55s linear infinite;
}

.sh-acne-care-review-marquee:hover .sh-acne-care-review-track {
    animation-play-state: paused;
}

@keyframes sh-acne-care-review-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* 섹션 7 — FAQ */
.sh-acne-care-faq .sh-faq-item__question > span.text-primary {
    color: #ff964d;
}

.sh-acne-care-faq .sh-faq-item:not(.is-open) .sh-faq-item__question-body {
    color: #212121;
}

.sh-acne-care-faq .sh-faq-item.is-open .sh-faq-item__question-body {
    color: #ff964d;
}
