/* 1. 구글 웹폰트 확실하게 로드 (Playfair Display 서체 포함) */
        @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

        /* 배경 흰색 고정 */
        body.guide-page {
            background-color: #ffffff !important;
        }

        /* 헤더 영역 전체 틀 */
        .guide-header-frame {
            text-align: center;
            padding: 0 0 50px 0;
            background-color: #ffffff !important;
        }

        .guide-title-box {
            display: inline-block;
        }

        /*  대제목 (KITCHEN GUIDE) */
        .guide-title-box h1 {
            /* 스크린샷 속 바로 그 럭셔리한 서체 강제 지정 */
            font-family: 'Playfair Display', 'Didot', 'Georgia', serif !important; 
            font-size: 42px;
            font-weight: 600;        
            letter-spacing: 4px;  
            color: #000000;
            margin: 0 0 24px 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 양옆의 세로 선(|) 구현 */
        .guide-title-box h1::before {
            content: "";
            display: inline-block;
            width: 1px;
            height: 28px;
            background-color: #000000;
            margin-right: 35px;
        }

        .guide-title-box h1::after {
            content: "";
            display: inline-block;
            width: 1px;
            height: 28px;
            background-color: #000000;
            margin-left: 21px; 
        }

        /* 소제목 */
        .guide-title-box h2 {
            font-family: 'Noto Sans KR', sans-serif !important;
            font-size: 19px;
            font-weight: 300;
            color: #111111;
            letter-spacing: -0.5px;
            margin: 0;
        }

/* 여기까지 대,소제목 스타일 */

/* ========================= 전체보기,보관법,손질법...버튼  ==========================*/
.guide-container {
    max-width: 1200px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

/* 둥근 카테고리 버튼 레이아웃 */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin-bottom: 50px;
}

.tab-btn {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #7a685a;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover:not(.active) {
    background-color: #8e7b6e; 
    color: #ffffff;
    border-color: #8e7b6e;
}

.tab-btn.active {
    background-color: #614f42;
    color: #ffffff;
    border-color: #614f42;
}

/* 여기까지 */

/*========================= 이미지 카드 출력 (guide테이블 이미지들 말하는 거임) ==========================*/
.guide-grid{
    width: 1200px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
}

.guide-card{
    cursor: pointer;
}

.card-img-box{
    width:100%;
    height:260px;
    overflow:hidden;
}

.card-img-box img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.3s;
}

.guide-card:hover img{
    transform:scale(1.05);
}

.card-info{
    text-align:center;
    margin-top:18px;
}

.card-info h3{
    font-size:22px;
    font-weight:600;
    margin:0;
}
/* 여기까지 */

/*========================= 상세보기 페이지( guide_step 테이블 ) ==========================*/
/* 메인 타이틀 글씨 굵기 조절 */
.detail-title {
    font-weight: 500 !important; 
}

/* 1. 전체 컨테이너를 이미지 폭에 맞춰 중앙 정렬 */
    .detail-container {
        max-width: 700px;        
        margin: 0 auto;          /* 화면 가운데 정렬 */
        padding: 0 20px;         /* 모바일 대응 좌우 여백 */
    }

    /* 2. 상단 메인 이미지 박스 */
    .detail-img-box {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 20px 0 !important;
    }

    .detail-img-box img {
        width: 100% !important;   /* 컨테이너 크기에 꽉 차게 */
        height: auto !important;
    }

    /* 3. 이미지 왼쪽 하단 선에 맞춘 제목 영역 */
    .detail-info {
        text-align: left !important; /* 왼쪽 정렬 */
        margin-top: 20px !important;
        margin-bottom: 15px !important;
    }

    /* 4. 구분선 스타일 */
    .detail-line {
        border: none;
        border-top: 1px solid #e0e0e0; /* 연한 회색 선 (캡처화면 느낌) */
        margin: 20px 0 !important;
        width: 100% !important;
    }

   /* 5. 단계별 콘텐츠 정렬 (가로 배치 레이아웃) */
.step-container {
    width: 100% !important;
    margin-top: 30px !important;
}

.step-item {
    display: flex !important;
    flex-direction: row-reverse !important; /* ◀ HTML 구조상 이미지가 뒤에 있으므로 순서를 뒤집어 왼쪽에 배치 */
    justify-content: flex-end !important;   /* 왼쪽 정렬 */
    align-items: flex-start !important;     /* 상단 기준 정렬 */
    gap: 30px !important;                   /* 사진과 글자 사이의 간격 */
    margin-bottom: 50px !important;         /* Step끼리의 세로 간격 */
    width: 100% !important;
}

/* 단계별 사진 박스 */
.step-img-box {
    flex-shrink: 0 !important;              /* 사진 크기 고정 */
    width: 180px !important;                /* ◀ 시안 맞춤 사진 가로 크기 */
    height: 180px !important;               /* ◀ 시안 맞춤 사진 세로 크기 */
    overflow: hidden !important;
}

.step-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;           /* 이미지가 구겨지지 않게 채움 */
}

/* 오른쪽 텍스트 영역 (Step 번호 + 설명) */
.step-text-box {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

/* Step 번호 스타일 */
.step-number {
    font-size: 1.1rem !important;
    font-weight: bold !important;
    color: #333333 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #b0b0b0 !important; /* ◀ Step 밑의 가로 선 */
    margin-bottom: 15px !important;
    display: block !important;
    width: 100% !important;
}

/* Step 내용 설명 */
.step-content {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #444444 !important;
    margin: 0 !important;
    white-space: pre-line;  /*줄바꿈*/
}