/**
 * NextBio Website - 초미세 저온 분쇄 페이지 스타일 (Microgrinding)
 */

.microgrinding-page {
    width: 100%;
    background: #ffffff;
    overflow-x: hidden;
    padding: 160px 0;
    box-sizing: border-box;
}

.microgrinding-page *,
.microgrinding-page *::before,
.microgrinding-page *::after {
    box-sizing: border-box;
}

.microgrinding-page .inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 240px;
    width: 100%;
    box-sizing: border-box;
}

/* 인트로 타이틀: 상단 160px만. 하단 160px는 다음 content-section의 padding-top으로만 적용 (중복 제거) */
.microgrinding-page .intro-section {
    width: 100%;
    padding: 160px 0 0 0;
    text-align: center;
}

.microgrinding-page .intro-title {
    font-size: 64px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 24px 0;
    font-family: var(--font-family-suit);
    font-weight: 800;
    line-height: 1.2;
}

.microgrinding-page .intro-eng {
    font-size: 24px;
    color: #808284;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-family-suit);
    font-weight: 700;
}

/* 컨텐츠 공통 섹션 - HPP와 동일한 여백 */
.microgrinding-page .content-section {
    width: 100%;
    padding: 160px 240px;
    min-height: 960px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.microgrinding-page .content-section .inner {
    padding: 0;
}

.microgrinding-page .content-section.last {
    padding-bottom: 160px;
}

.microgrinding-page .content-section .inner.content-flex {
    width: 100%;
    max-width: 1920px;
}

.microgrinding-page .content-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 122px;
}

/* 섹션 01: 피그마 구조/여백 */
.microgrinding-page .content-section.section-01,
.microgrinding-page .content-section.section-01 * {
    box-sizing: border-box;
}

.microgrinding-page .content-section.section-01 {
    padding: 160px 240px;
    display: flex;
    flex-direction: row;
    gap: 122px;
    align-items: center;
    justify-content: flex-start;
    min-height: 960px;
}

.microgrinding-page .content-section.section-01 .section-01-inner {
    width: 100%;
    max-width: 1920px;
    display: flex;
    flex-direction: row;
    gap: 122px;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

.microgrinding-page .content-section.section-01 .txt {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 610px;
    flex-shrink: 0;
}

.microgrinding-page .content-section.section-01 .txt .p {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-start;
}

.microgrinding-page .content-section.section-01 ._01 {
    color: var(--main, #8dc63f);
    font-family: var(--font-family-suit);
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.microgrinding-page .content-section.section-01 .div {
    color: #000000;
    font-family: var(--font-family-suit);
    font-size: 48px;
    line-height: 60px;
    font-weight: 800;
    margin: 0;
}

.microgrinding-page .content-section.section-01 .div2 {
    text-align: left;
}

.microgrinding-page .content-section.section-01 .div-2-span {
    color: #000000;
    list-style-type: disc;
    padding-left: 1em;
    font-family: var(--font-family-suit);
    font-size: 24px;
    line-height: 36px;
    font-weight: 500;
    margin: 0;
}

.microgrinding-page .content-section.section-01 .div-2-span li {
    margin-bottom: 0.25em;
}

.microgrinding-page .content-section.section-01 .div-2-span2 {
    color: var(--gray-01, #808284);
    font-family: var(--font-family-suit);
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    display: block;
    margin-top: 0.25em;
}

.microgrinding-page .content-section.section-01 .one-step {
    font-family: var(--font-family-suit);
    font-size: 24px;
    line-height: 36px;
    font-weight: 500;
    color: #000000;
}

.microgrinding-page .content-section.section-01 .one-step-span {
    color: #000000;
    list-style-type: disc;
    padding-left: 1em;
    margin: 0 0 0.25em 0;
}

.microgrinding-page .content-section.section-01 .one-step-span:last-child {
    margin-bottom: 0;
}

.microgrinding-page .content-section.section-01 .img {
    border-radius: 32px;
    flex-shrink: 0;
    width: 100%;
    max-width: 560px;
    height: 400px;
    object-fit: cover;
    box-shadow: 6px 6px 20px 0px rgba(0, 0, 0, 0.4);
}

.microgrinding-page .txt-box {
    flex: 1;
    min-width: 0;
    max-width: 610px;
}

.microgrinding-page .sec-num {
    color: var(--main, #8dc63f);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px 0;
    font-family: var(--font-family-suit);
    font-weight: 700;
}

.microgrinding-page .sec-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 60px;
    color: #000000;
    margin: 0 0 48px 0;
    font-family: var(--font-family-suit);
    font-weight: 800;
}

.microgrinding-page .sec-title.sec-title-stack {
    line-height: 1.55;
    margin-bottom: 56px;
    letter-spacing: -0.01em;
}

.microgrinding-page .bullet-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 0;
}

.microgrinding-page .bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.microgrinding-page .bullets li {
    position: relative;
    padding-left: 25px;
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    color: #000000;
    word-break: keep-all;
    margin-bottom: 12px;
    font-family: "Suit-Medium", sans-serif;
}

.microgrinding-page .bullets li:last-child {
    margin-bottom: 0;
}

.microgrinding-page .bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: inherit;
}

.microgrinding-page .point-orange {
    color: var(--point-01, #f5821f) !important;
}

.microgrinding-page .caption {
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    margin: -10px 0;
    font-family: var(--font-family-suit);
    font-weight: 600;
}

/* 이미지 박스 */
.microgrinding-page .img-box {
    flex-shrink: 0;
    width: 100%;
    max-width: 560px;
    height: 400px;
    min-height: 320px;
    border-radius: 32px;
    background-size: cover;
    background-position: center;
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

.microgrinding-page .img-box.clip {
    overflow: hidden;
}

.microgrinding-page .img-box.bg-img {
    display: flex;
    align-items: flex-end;
    padding: 24px;
    box-sizing: border-box;
}

.microgrinding-page .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 섹션 03 적용예시 이미지 둥근 모서리 */
.microgrinding-page .img-box.full-img img {
    border-radius: 32px;
}

.microgrinding-page .img-label {
    position: absolute;
    left: 24px;
    bottom: 24px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: var(--font-family-suit);
    font-weight: 600;
    z-index: 1;
}

/* 풀페이지 스크롤: JS(microgrinding-fullpage.js)로 휠 시 섹션 단위 전환 */
@media (min-width: 1025px) {
    html.microgrinding-snap {
        scroll-behavior: auto;
    }

    body.microgrinding-snap {
        overflow-x: hidden;
    }

    html.microgrinding-snap .microgrinding-page {
        padding: 0;
    }

    /* 인트로는 콘텐츠 높이만 사용 (100vh 제거 → 큰 화면에서 과도한 높이 방지) */
    html.microgrinding-snap .microgrinding-page > .intro-section {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    html.microgrinding-snap .microgrinding-page .content-section {
        height: 100vh;
        min-height: 100vh;
        flex-shrink: 0;
    }
}

/* 반응형 */
@media (max-width: 1440px) {
    .microgrinding-page .inner {
        padding: 0 120px;
    }
    
    .microgrinding-page .content-section {
        padding: 160px 120px;
    }
    
    .microgrinding-page .content-section.section-01 {
        padding: 160px 120px;
    }
    
    .microgrinding-page .content-section.section-01 .section-01-inner {
        gap: 60px;
    }
    
    .microgrinding-page .content-flex {
        gap: 60px;
    }
    
    .microgrinding-page .img-box {
        max-width: 480px;
        height: 360px;
    }
    
    .microgrinding-page .content-section.section-01 .img {
        max-width: 480px;
        height: 360px;
    }
}

@media (max-width: 1200px) {
    .microgrinding-page {
        padding: 120px 0;
    }
    
    .microgrinding-page .inner {
        padding: 0 60px;
    }
    
    .microgrinding-page .content-section {
        padding: 120px 60px;
        min-height: auto;
    }
    
    .microgrinding-page .content-section.section-01 {
        padding: 120px 60px;
    }
    
    .microgrinding-page .content-section.section-01 .section-01-inner {
        flex-direction: column;
        gap: 48px;
    }
    
    .microgrinding-page .content-section.section-01 .txt {
        width: 100%;
        max-width: 610px;
    }
    
    .microgrinding-page .content-section.section-01 .img {
        max-width: 420px;
        height: 340px;
    }
    
    .microgrinding-page .content-flex {
        gap: 48px;
    }
    
    .microgrinding-page .img-box {
        max-width: 420px;
        height: 340px;
    }
}

/* 1024px: super-drop 참고 - 왼쪽 타이틀 위, 오른쪽 영역 아래 / PC 비율 유지 크기만 축소 */
@media (max-width: 1024px) {
    .microgrinding-page .intro-section {
        padding: 100px 0 0 0;
    }

    .microgrinding-page {
        padding: 100px 0;
    }
    
    .microgrinding-page .inner {
        padding: 0 40px;
    }
    
    .microgrinding-page .content-section {
        padding: 100px 40px;
        min-height: auto;
    }
    
    .microgrinding-page .content-section.section-01 {
        padding: 100px 40px;
        min-height: auto;
    }
    
    .microgrinding-page .content-section.last {
        padding-bottom: 100px;
    }
    
    /* 타이틀(왼쪽) 위 → 콘텐츠(오른쪽) 아래 */
    .microgrinding-page .content-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    
    .microgrinding-page .content-section.section-01 .section-01-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    
    .microgrinding-page .txt-box,
    .microgrinding-page .content-section.section-01 .txt {
        max-width: 100%;
        text-align: left;
        align-items: flex-start;
    }
    
    .microgrinding-page .bullets {
        display: inline-block;
        text-align: left;
    }
    
    .microgrinding-page .img-box {
        width: 100%;
        max-width: 560px;
        height: 360px;
        min-height: 280px;
    }
    
    .microgrinding-page .content-section.section-01 .img {
        max-width: 100%;
        width: 100%;
        max-width: 560px;
        height: 360px;
    }
    
    /* PC 비율 유지, 폰트만 축소 */
    .microgrinding-page .content-section.section-01 ._01 {
        font-size: 24px;
    }
    .microgrinding-page .content-section.section-01 .div {
        font-size: 36px;
        line-height: 1.3;
    }
    .microgrinding-page .sec-num {
        font-size: 24px;
    }
    .microgrinding-page .sec-title {
        font-size: 36px;
        line-height: 1.3;
        margin-bottom: 32px;
    }
    .microgrinding-page .sec-title.sec-title-stack {
        font-size: 36px;
        margin-bottom: 40px;
    }
    .microgrinding-page .bullets li {
        font-size: 22px;
        line-height: 1.5;
    }
    .microgrinding-page .content-section.section-01 .div-2-span,
    .microgrinding-page .content-section.section-01 .one-step-span {
        font-size: 22px;
    }
    .microgrinding-page .content-section.section-01 .div-2-span2 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .microgrinding-page .intro-section {
        padding: 80px 0 0 0;
    }

    .microgrinding-page {
        padding: 60px 0;
    }
    
    .microgrinding-page .inner {
        padding: 0 20px;
    }
    
    .microgrinding-page .content-section {
        padding: 60px 20px;
    }
    
    .microgrinding-page .intro-title {
        font-size: 40px;
        line-height: 1.3;
    }
    
    .microgrinding-page .intro-eng {
        font-size: 18px;
    }
    
    .microgrinding-page .content-section.last {
        padding-bottom: 60px;
    }
    
    /* 타이틀 위 / 콘텐츠 아래 유지, PC 비율 크기만 축소 */
    .microgrinding-page .content-flex {
        gap: 32px;
    }
    .microgrinding-page .content-section.section-01 .section-01-inner {
        gap: 32px;
    }
    
    .microgrinding-page .sec-num {
        font-size: 22px;
    }
    .microgrinding-page .sec-title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 28px;
    }
    
    .microgrinding-page .bullets li {
        font-size: 18px;
        line-height: 1.5;
    }
    
    .microgrinding-page .caption {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .microgrinding-page .img-box {
        max-width: 100%;
        height: 300px;
        min-height: 260px;
    }
    
    .microgrinding-page .sec-title.sec-title-stack {
        font-size: 28px;
        line-height: 1.35;
        margin-bottom: 28px;
    }
    
    .microgrinding-page .content-section.section-01 {
        padding: 60px 20px;
    }
    
    .microgrinding-page .content-section.section-01 ._01 {
        font-size: 22px;
    }
    .microgrinding-page .content-section.section-01 .txt .div {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .microgrinding-page .content-section.section-01 .div-2-span,
    .microgrinding-page .content-section.section-01 .one-step-span {
        font-size: 18px;
        line-height: 1.5;
    }
    
    .microgrinding-page .content-section.section-01 .div-2-span2 {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .microgrinding-page .content-section.section-01 .img {
        max-width: 100%;
        height: 300px;
    }
    
    .microgrinding-page .img-label {
        font-size: 16px;
        left: 16px;
        bottom: 16px;
    }
}

/* 480px: 초소형 화면 최적화 */
@media (max-width: 480px) {
    .microgrinding-page .intro-section {
        padding: 48px 0 0 0;
    }

    .microgrinding-page .inner {
        padding: 0 16px;
    }

    .microgrinding-page .content-section {
        padding: 48px 16px;
    }

    .microgrinding-page .content-section.section-01 {
        padding: 48px 16px;
    }

    .microgrinding-page .content-section.last {
        padding-bottom: 48px;
    }

    .microgrinding-page .intro-title {
        font-size: 28px;
        line-height: 1.25;
    }

    .microgrinding-page .intro-eng {
        font-size: 16px;
    }

    .microgrinding-page .sec-num {
        font-size: 20px;
    }

    .microgrinding-page .sec-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 24px;
    }

    .microgrinding-page .bullets li {
        font-size: 16px;
        padding-left: 20px;
    }

    .microgrinding-page .content-section.section-01 ._01 {
        font-size: 20px;
    }

    .microgrinding-page .content-section.section-01 .txt .div {
        font-size: 24px;
        line-height: 1.3;
    }

    .microgrinding-page .content-section.section-01 .div-2-span,
    .microgrinding-page .content-section.section-01 .one-step-span {
        font-size: 16px;
    }

    .microgrinding-page .content-section.section-01 .div-2-span2 {
        font-size: 14px;
    }

    .microgrinding-page .img-box,
    .microgrinding-page .content-section.section-01 .img {
        height: 260px;
        min-height: 220px;
    }
}
