/* Контейнер для всех полей */
.fields-container {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

/* Стили для каждого элемента поля */
.field-entry {
    display: flex;
    align-items: flex-start; /* Выравниваем по верху */
    margin-bottom: 12px;
    padding: 8px 0 8px 30px;
    border-bottom: 1px solid #eee;
    position: relative;
    min-height: 24px;
}

/* Псевдоэлементы для иконок */
.field-entry:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: "\f017"; /* Иконка по умолчанию - часы */
    position: absolute;
    left: 0;
    top: 8px; /* Фиксированная позиция сверху вместо center */
    width: 20px;
    height: 20px;
    font-size: 16px;
    color: #2a69b8;
}

/* Индивидуальные иконки для каждого класса поля */
.field-entry.preptime:before { 
    content: "\f017"; /* clock */
    color: #2196F3; 
}

.field-entry.cooktime:before { 
    content: "\f017"; /* clock */
    color: #2196F3; 
}

.field-entry.calories:before { 
    content: "\f0e7"; /* bolt */
    color: #FF9800; 
}

.field-entry.recipecategory:before { 
    content: "\f07b"; /* folder */
    color: #4CAF50; 
}

.field-entry.recipecuisine:before { 
    content: "\f57d"; /* globe-americas */
    color: #9C27B0; 
}

.field-entry.recipeyield:before { 
    content: "\f0c0"; /* users */
    color: #E91E63; 
}

.field-entry.recipeingredient:before { 
    content: "\f4d8"; /* seedling */
    color: #8BC34A; 
    top: 5px; /* Особое позиционирование для иконки ингредиентов */
}

/* Стили для метки и значения */
.field-label {
    font-weight: bold;
    margin-right: 8px;
    min-width: 160px;
    color: #333;
    padding-top: 2px; /* Выравниваем текст с иконкой */
}

.field-value {
    flex: 1;
    color: #666;
}

/* Стили для вложенного списка ингредиентов */
.field-value ul {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
}

.field-value li {
    padding: 2px 0;
    position: relative;
    padding-left: 15px;
}

.field-value li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2a69b8;
    font-weight: bold;
}

/* Особые стили для поля с ингредиентами */
.field-entry.recipeingredient {
    align-items: flex-start;
}

.field-entry.recipeingredient .field-label {
   /* min-width: 140px;  Уменьшаем ширину для ингредиентов */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .field-entry {
        flex-direction: column;
        padding-left: 25px;
    }
    
    .field-entry:before {
        top: 12px; /* Корректируем позицию для мобильных */
    }
    
    .field-label {
        /*min-width: auto;*/
        margin-bottom: 5px;
    }
    
    .field-entry.recipeingredient:before {
        top: 8px;
    }
}

/* Альтернатива если Font Awesome не загружается */
@supports not (font-family: 'Font Awesome 6 Free') {
    .field-entry:before {
        content: "•";
        font-family: inherit;
        font-weight: bold;
        font-size: 18px;
    }
    
    .field-entry.preptime:before { content: "⏰"; }
    .field-entry.cooktime:before { content: "⏰"; }
    .field-entry.calories:before { content: "⚡"; }
    .field-entry.recipecategory:before { content: "📁"; }
    .field-entry.recipecuisine:before { content: "🌎"; }
    .field-entry.recipeyield:before { content: "👥"; }
    .field-entry.recipeingredient:before { content: "🌱"; }
}

/* -------------------------------
   🍁 Цитаты
--------------------------------- */
blockquote {
    background-color: #F1F7E9;
    border-left: 6px solid #94BD7B;
    padding: 1rem 1.5rem;
    font-style: italic;
    font-size: 1.1rem;
    color: #3C4D30;
    margin: 2rem 0;
    border-radius: 4px;