/* List Spacing Fixes - 리스트 간격 및 스타일 수정 */

/* 기본 리스트 간격 */
ul, ol {
    margin: 16px 0;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 네비게이션 리스트 */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin-bottom: 5px;
}

.nav-list a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #495057;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-list a:hover {
    background-color: #e9ecef;
}

/* 메뉴 리스트 간격 */
.menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-list > li {
    margin-bottom: 10px;
}

.menu-list ul {
    margin-top: 8px;
    margin-bottom: 0;
}

.menu-list ul li {
    margin-bottom: 4px;
}

/* 레시피 리스트 */
.recipe-list {
    list-style-type: decimal;
    padding-left: 20px;
}

.recipe-list li {
    margin-bottom: 12px;
    padding-left: 8px;
}

/* 재료 리스트 */
.ingredient-list {
    list-style-type: disc;
    padding-left: 20px;
}

.ingredient-list li {
    margin-bottom: 6px;
}

/* 단계별 리스트 */
.step-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.step-list li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #007bff;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* 콤팩트 리스트 */
.compact-list {
    margin: 8px 0;
}

.compact-list li {
    margin-bottom: 4px;
}

/* 브런치 메뉴 리스트 특별 스타일 */
.brunch-menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.brunch-menu-list li {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 0;
}