/* Переменные CSS для легкой настройки цветов и теней */
:root {
    --primary-text-color: #34495e; /* Темный сине-серый для основного текста */
    --secondary-text-color: #7f8c8d; /* Мягкий серый для второстепенного текста */
    --heading-color: #2c3e50; /* Темно-синий/серый для заголовков */
    --accent-color: #27ae60; /* Ярко-зеленый для акцентов (кнопки, ссылки) */
    --accent-hover-color: #229954; /* Темнее зеленый для ховера */
    --light-green-bg: #ecf8f4; /* Очень светлый зеленый для фонов секций */
    
    --background-light: #fdfdfd; /* Почти белый фон */
    --background-white: #fff; /* Белый фон для карточек/блоков */
    --border-color: #e0e0e0; /* Светлая граница */
    --shadow-light: 0 5px 20px rgba(0,0,0,0.08); /* Легкая тень */
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.12); /* Средняя тень */

    --code-background: #f0f4f7;
    --code-text: #c0392b; /* Красный для кода */
    --blockquote-border: #87CEEB;
    --blockquote-background: #e0f2f7;

    /* Цвета для шапки и подвала сайта */
    --header-bg-color: #3498db; /* Синий для шапки */
    --header-text-color: #ecf0f1; /* Светлый для контраста */
    --logo-color: #f1c40f; /* Желтый для логотипа */
    --nav-link-hover-bg: rgba(255, 255, 255, 0.1);

    /* Отступы */
    --section-padding-large: 90px 0;
    --section-padding-medium: 70px 0;
    --section-padding-small: 50px 0;
}

/* Общие стили для тела страницы */
body {
    font-family: 'Open Sans', sans-serif; /* Основной текст */
    line-height: 1.8;
    color: var(--primary-text-color);
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Сброс стилей для ссылок */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* Стили для кнопок */
.btn-food-primary, .btn-food-secondary, .btn-food-tertiary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    border: none;
}

.btn-food-primary {
    background-color: var(--accent-color);
    color: var(--background-white);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-food-primary:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

.btn-food-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: none;
}

.btn-food-secondary:hover {
    background-color: var(--accent-color);
    color: var(--background-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-food-tertiary {
    background-color: #f39c12; /* Оранжевый */
    color: var(--background-white);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-food-tertiary:hover {
    background-color: #e67e22; /* Темнее оранжевый */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

/* -------------------- Общие классы для контейнеров и секций -------------------- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: var(--section-padding-medium);
}

.bg-light-food {
    background-color: var(--light-green-bg);
}

.text-center {
    text-align: center;
}

/* Стили для заголовков */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--heading-color);
    line-height: 1.3;
    margin-top: 0;
}

h1 { font-size: clamp(2.8em, 6vw, 4.8em); margin-bottom: 0.6em; }
h2 { font-size: clamp(2.2em, 4vw, 3.5em); margin-bottom: 0.8em; }
h3 { font-size: clamp(1.7em, 3vw, 2.8em); margin-bottom: 0.9em; }
p { font-size: clamp(1em, 1.8vw, 1.15em); margin-bottom: 1.6em; } /* Увеличил межстрочный интервал */

/* -------------------- Шапка сайта -------------------- */
.site-header-food {
    background-color: var(--accent-color);
    color: var(--header-text-color);
    padding: 18px 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner-food {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

.logo-food {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.logo-food:hover {
    color: #ffd700; /* Более яркий желтый */
}

.main-nav-food ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px; 
}

.main-nav-food li {
    margin-left: 35px;
}

.main-nav-food a {
    color: var(--header-text-color);
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav-food a:hover {
    background-color: var(--nav-link-hover-bg);
    color: var(--background-white);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--header-text-color);
    font-size: 2.2em;
    cursor: pointer;
    padding: 5px 10px;
}

/* -------------------- Подвал сайта -------------------- */
.site-footer-food {
    background-color: var(--accent-color);
    color: var(--header-text-color);
    padding: 35px 0;
    text-align: center;
}

.footer-inner-food {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.footer-inner-food p {
    margin-bottom: 20px;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.85);
}

.footer-nav-food ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-nav-food a {
    color: var(--header-text-color);
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.footer-nav-food a:hover {
    color: var(--logo-color);
}

/* -------------------- Главная страница: секции -------------------- */
.main-page-content-food {
    padding-top: 0;
}

/* Секция "Герой" */
.hero-food-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/hero-healthy-food-bg.jpg') no-repeat center center/cover;
    color: var(--background-white);
    text-align: center;
    padding: 120px 20px;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-food-content h1 {
    color: var(--background-white);
    margin-bottom: 25px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-food-content p {
    font-size: clamp(1.2em, 2.5vw, 1.6em);
    max-width: 850px;
    margin: 0 auto 40px auto;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
}

/* Секция "Последние Публикации" */
.latest-posts-section {
    background-color: var(--background-light);
    padding: var(--section-padding-medium);
}

.latest-posts-section h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 18px;
}

.latest-posts-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.article-food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.article-food-card {
    background-color: var(--background-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-food-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.article-food-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.article-food-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-food-card-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.article-food-card h3 {
    font-size: 1.5em;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-food-card h3 a {
    color: var(--heading-color);
    text-decoration: none;
}

.article-food-card h3 a:hover {
    color: var(--accent-color);
}

.article-food-card p {
    font-size: 1em;
    color: var(--secondary-text-color);
    margin-bottom: 18px;
    flex-grow: 1;
}

.article-food-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: var(--secondary-text-color);
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.article-food-card-meta i {
    margin-right: 6px;
    color: var(--accent-color);
}

.read-more-link-food {
    display: block;
    margin-top: 18px;
    font-size: 1em;
    font-weight: 700;
    color: var(--accent-color);
    text-align: right;
}

.read-more-link-food:hover {
    text-decoration: none;
    color: var(--accent-hover-color);
}

.view-all-articles-food {
    text-align: center;
    margin-top: 60px;
}

/* Секция "Наши Принципы" */
.our-principles-section {
    padding: var(--section-padding-medium);
}

.principles-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.principles-text {
    flex: 1;
    min-width: 320px;
}

.principles-text h2 {
    margin-bottom: 25px;
}

.principles-text p {
    margin-bottom: 18px;
}

.principles-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.principles-text ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.05em;
    color: var(--primary-text-color);
}

.principles-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2em;
    font-weight: 700;
    top: 0;
}

.principles-image {
    flex: 1;
    min-width: 320px;
    text-align: center;
}

.principles-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

/* Секция "Подписка на рассылку" */
.newsletter-food-section {
    background-color: var(--accent-color);
    color: var(--background-white);
    padding: var(--section-padding-small);
    text-align: center;
}

.newsletter-food-section h2 {
    color: var(--background-white);
    margin-bottom: 20px;
}

.newsletter-food-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    font-size: 1.1em;
}

.newsletter-food-form {
    display: flex;
    justify-content: center;
    max-width: 550px;
    margin: 0 auto;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-food-form input[type="email"] {
    flex-grow: 1;
    padding: 14px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.05em;
    background-color: rgba(255,255,255,0.95);
    color: var(--primary-text-color);
    min-width: 220px;
}

.newsletter-food-form input[type="email"]::placeholder {
    color: var(--secondary-text-color);
}

.newsletter-food-form button {
    padding: 14px 35px;
    border-radius: 50px;
    background-color: var(--logo-color);
    color: #fff; /* Темный цвет для текста кнопки */
    border: none;
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.newsletter-food-form button:hover {
    background-color: #ffd700; /* Более яркий желтый */
    transform: translateY(-2px);
}


/* -------------------- Стили для страниц статей (article-healthy-food) -------------------- */
.article-page-main-food {
    padding-top: 40px;
    padding-bottom: 60px;
}

.full-article-food {
    background-color: var(--background-white);
    box-shadow: var(--shadow-light);
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 50px;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.article-hero-image-food {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.article-title-food {
    font-size: clamp(2.5em, 5vw, 4em);
    text-align: center;
    margin-bottom: 0.8em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--border-color);
    word-wrap: break-word;
    color: var(--heading-color);
}

.article-meta-info-food {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    font-size: 1em;
    color: var(--secondary-text-color);
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
}

.author-info-food {
    display: flex;
    align-items: center;
}

.author-avatar-food {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid var(--accent-color);
    object-fit: cover;
}

.article-body-food h2 {
    font-size: clamp(2em, 3.5vw, 3em);
    border-left: 8px solid var(--accent-color);
    padding-left: 25px;
    margin-top: 2.5em;
    margin-bottom: 1em;
}

.article-body-food h3 {
    font-size: clamp(1.6em, 2.8vw, 2.4em);
    color: var(--heading-color);
    margin-top: 2em;
    margin-bottom: 1em;
}

.article-body-food p {
    margin-bottom: 1.8em;
    font-size: clamp(1em, 2vw, 1.15em);
    line-height: 1.9;
}

.article-body-food a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

.article-body-food a:hover {
    color: var(--accent-hover-color);
    text-decoration: none;
}

.article-body-food figure {
    margin: 3em 0;
    text-align: center;
}

.article-body-food figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    transition: transform 0.3s ease-in-out;
}

.article-body-food figure img:hover {
    transform: scale(1.02);
}

.article-body-food figcaption {
    font-size: 0.95em;
    color: var(--secondary-text-color);
    margin-top: 18px;
    font-style: italic;
    line-height: 1.5;
}

.article-body-food blockquote {
    border-left: 8px solid var(--blockquote-border);
    padding: 25px 35px;
    margin: 3em 0;
    background-color: var(--blockquote-background);
    border-radius: 0 15px 15px 0;
    font-style: italic;
    color: var(--primary-text-color);
    position: relative;
    box-shadow: inset 5px 0 10px rgba(0,0,0,0.08);
}

.article-body-food blockquote::before {
    content: "“";
    font-size: 6em;
    color: rgba(0,0,0,0.08);
    position: absolute;
    left: 15px;
    top: 5px;
    line-height: 1;
}

.article-body-food blockquote p {
    margin: 0;
    padding-left: 60px;
    font-size: 1.15em;
    line-height: 1.6;
}

.article-body-food blockquote footer {
    text-align: right;
    margin-top: 18px;
    font-size: 1em;
    color: var(--secondary-text-color);
    font-weight: 600;
}

.article-body-food ul, .article-body-food ol {
    margin-bottom: 2em;
    padding-left: 35px;
}

.article-body-food li {
    margin-bottom: 0.9em;
    line-height: 1.7;
}

.article-body-food ul li::marker {
    color: var(--accent-color);
    font-size: 1.2em;
}

.article-body-food ol li::marker {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1em;
}

.article-body-food code {
    font-family: 'Fira Mono', monospace; /* Более современный моноширинный шрифт */
    background-color: var(--code-background);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.95em;
    color: var(--code-text);
}

.article-body-food pre {
    background-color: #2c3e50; /* Темный фон для блоков кода */
    color: #ecf0f1;
    padding: 25px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 3em 0;
    line-height: 1.6;
    font-size: 0.9em;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.article-body-food pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 1em;
}

/* Sidebar Summary for Articles */
.article-sidebar-summary-food {
    background-color: var(--background-white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    padding: 35px;
    margin: 40px auto;
    max-width: 800px;
    border: 1px solid var(--border-color);
}

.article-sidebar-summary-food h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--heading-color);
    font-size: 2em;
    position: relative;
    padding-bottom: 12px;
}

.article-sidebar-summary-food h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.article-sidebar-summary-food ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-sidebar-summary-food li {
    margin-bottom: 12px;
}

.article-sidebar-summary-food li a {
    color: var(--primary-text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    padding: 6px 0;
    font-size: 1.05em;
}

.article-sidebar-summary-food li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Секция "Об Авторе" */
.about-author-section-food, .related-articles-section-food {
    background-color: var(--background-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-author-section-food h2, .related-articles-section-food h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    color: var(--heading-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    display: inline-block;
}

.author-box-food {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

.author-box-avatar-food {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 0 6px rgba(39, 174, 96, 0.2);
}

.author-box-content-food h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.8em;
    color: var(--heading-color);
}

.author-box-content-food p {
    font-size: 1.05em;
    color: var(--secondary-text-color);
    line-height: 1.7;
    margin-bottom: 20px;
}

.author-social-links-food a {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--background-white);
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    margin: 0 8px;
    transition: background-color 0.3s ease;
}

.author-social-links-food a:hover {
    background-color: var(--accent-hover-color);
}

.related-articles-grid-food {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.related-article-card-food {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--background-white);
    display: flex;
    flex-direction: column;
}

.related-article-card-food:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.related-article-card-food img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.related-article-card-food h3 {
    font-size: 1.4em;
    margin: 18px 20px 12px;
    text-align: left;
    line-height: 1.4;
}

.related-article-card-food h3 a {
    color: var(--heading-color);
    text-decoration: none;
}

.related-article-card-food p {
    font-size: 0.95em;
    color: var(--secondary-text-color);
    margin: 0 20px 20px;
    text-align: left;
    flex-grow: 1;
}

.back-to-articles-food {
    text-align: center;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------- Стили для Общих (Статических) Страниц -------------------- */
.static-page-main-food {
    padding-top: 40px;
    padding-bottom: 60px;
}

.static-content-food {
    background-color: var(--background-white);
    box-shadow: var(--shadow-light);
    border-radius: 15px;
    padding: 50px;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.static-content-food h1 {
    font-size: clamp(2.2em, 5vw, 3.8em);
    text-align: center;
    margin-bottom: 35px;
    color: var(--heading-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 18px;
}

.static-content-food h2 {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    margin-top: 2.5em;
    margin-bottom: 1em;
    color: var(--heading-color);
    border-left: 6px solid var(--accent-color);
    padding-left: 20px;
}

.static-content-food h3 {
    font-size: clamp(1.5em, 2.8vw, 2.2em);
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--primary-text-color);
}

.static-content-food p {
    margin-bottom: 1.5em;
    font-size: clamp(1em, 1.8vw, 1.15em);
    line-height: 1.8;
    color: var(--primary-text-color);
}

.static-content-food ul {
    list-style: disc;
    margin-bottom: 2em;
    padding-left: 35px;
}

.static-content-food ol {
    list-style: decimal;
    margin-bottom: 2em;
    padding-left: 35px;
}

.static-content-food li {
    margin-bottom: 0.8em;
    line-height: 1.7;
    color: var(--primary-text-color);
}

/* -------------------- Стили для формы на странице Контактов -------------------- */
.contact-form-food {
    background-color: var(--background-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    margin-top: 30px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.form-group-food {
    margin-bottom: 25px;
}

.form-group-food label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--heading-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
}

.form-group-food input[type="text"],
.form-group-food input[type="email"],
.form-group-food textarea {
    width: calc(100% - 24px); /* Учитываем padding */
    padding: 14px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.05em;
    color: var(--primary-text-color);
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group-food input[type="text"]:focus,
.form-group-food input[type="email"]:focus,
.form-group-food textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.25);
    outline: none;
}

.form-group-food textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button-food {
    display: block;
    width: 100%;
    padding: 16px 25px;
    background-color: var(--accent-color);
    color: var(--background-white);
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.submit-button-food:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(39, 174, 96, 0.35);
}

.submit-button-food:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(39, 174, 96, 0.2);
}


/* -------------------- Адаптивный дизайн (Mobile-first) -------------------- */

@media (max-width: 992px) {
    .header-inner-food {
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo-food {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    .main-nav-food ul {
        flex-basis: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    .main-nav-food li {
        margin: 0 12px;
    }
    .hero-food-section {
        padding: 100px 20px;
        min-height: 450px;
    }
    .principles-grid {
        flex-direction: column;
        gap: 40px;
    }
    .principles-text, .principles-image {
        min-width: unset;
        width: 100%;
    }
    .newsletter-food-form {
        gap: 10px;
    }
    .newsletter-food-form input[type="email"], .newsletter-food-form button {
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    /* Мобильное меню */
    .mobile-menu-toggle {
        display: block; /* Показываем кнопку-гамбургер только на мобильных */
        background: none;
        border: none;
        color: var(--text-color-header, #ffffff); /* Цвет иконки */
        font-size: 1.8em;
        cursor: pointer;
        z-index: 1001; /* Чтобы кнопка была поверх меню */
    }
    .main-nav-food {
        position: absolute;
        top: var(--header-height, 60px); /* Или высота вашего хедера */
        right: 0;
        width: 100%; /* Занимает всю ширину экрана */
        background-color: var(--accent-color); /* Фон меню при открытии */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transform: translateX(100%); /* Скрываем меню за правым краем */
        transition: transform 0.3s ease-out; /* Анимация появления */
        overflow: hidden; /* Чтобы пункты не вылезали */
    }
    .main-nav-food.active {
        transform: translateX(0);
    }
    .main-nav-food ul {
        flex-direction: column; /* Пункты меню располагаются вертикально */
        align-items: center; /* Центрируем пункты */
        padding: 20px 0;
        width: 100%;
    }
    .main-nav-food li {
        width: 100%; /* Пункты занимают всю ширину */
        text-align: center;
        margin-bottom: 10px; /* Отступ между пунктами */
    }
    .main-nav-food a {
        display: block; /* Ссылки становятся блочными для удобства клика */
        padding: 10px 0;
        color: var(--white-color, #ffffff); /* Цвет текста в меню */
        text-decoration: none;
        font-size: 1.1em;
    }
    .header-inner-food {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: flex-start;
    }
    .logo-food {
        flex-basis: auto;
        margin-bottom: 0;
        text-align: left;
        font-size: 1.8em;
    }

    .section-padding {
        padding: var(--section-padding-small);
    }
    .full-article-food, .static-content-food, .about-author-section-food, .related-articles-section-food {
        padding: 30px;
    }
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }
    p { font-size: 1em; }
    .article-meta-info-food {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        font-size: 0.9em;
    }
    .article-body-food h2 {
        font-size: 1.7em;
        padding-left: 18px;
    }
    .article-body-food h3 {
        font-size: 1.4em;
    }
    .article-body-food p {
        font-size: 1em;
    }
    .article-body-food blockquote {
        padding: 20px 25px;
    }
    .article-body-food blockquote p {
        padding-left: 40px;
    }
    .article-body-food blockquote::before {
        font-size: 4em;
        left: 10px;
    }
    .article-body-food ul, .article-body-food ol {
        padding-left: 25px;
    }
    .related-articles-grid-food {
        grid-template-columns: 1fr;
    }
    .site-footer-food {
        padding: 25px 0;
    }
    .footer-nav-food ul {
        flex-direction: column;
        gap: 12px;
    }
    .contact-form-food {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 15px;
    }
    .hero-food-section {
        padding: 80px 15px;
        min-height: 400px;
    }
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; }
    .newsletter-food-form {
        max-width: 90%;
    }
    .newsletter-food-form input[type="email"], .newsletter-food-form button {
        width: 100%;
        max-width: 100%;
    }
    .article-food-card-image {
        height: 200px;
    }
}
.featured-recipes-section {
    padding: var(--section-padding-medium);
}

.featured-recipes-section h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 18px;
}

.featured-recipes-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.recipe-card {
    background-color: var(--background-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.recipe-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.recipe-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.recipe-card-category {
    display: inline-block;
    background-color: #f39c12; /* Оранжевый для категорий рецептов */
    color: var(--background-white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.recipe-card h3 {
    font-size: 1.5em;
    margin-bottom: 12px;
    line-height: 1.4;
}

.recipe-card h3 a {
    color: var(--heading-color);
    text-decoration: none;
}

.recipe-card h3 a:hover {
    color: var(--accent-color);
}

.recipe-card p {
    font-size: 1em;
    color: var(--secondary-text-color);
    margin-bottom: 18px;
    flex-grow: 1;
}

.recipe-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: var(--secondary-text-color);
}

.recipe-meta li i {
    margin-right: 5px;
    color: var(--accent-color);
}

.btn-food-small {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 600;
    background-color: var(--accent-color);
    color: var(--background-white);
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    border: none;
    margin-top: auto; /* Прижимает кнопку вниз */
}

.btn-food-small:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-2px);
}

.view-all-recipes {
    text-align: center;
    margin-top: 60px;
}


/* -------------------- Стили для секции "Часто Задаваемые Вопросы" (FAQ) -------------------- */
.faq-section {
    padding: var(--section-padding-medium);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 18px;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    padding: 25px 30px;
    border-left: 5px solid var(--accent-color);
}

.faq-item h3 {
    font-size: 1.4em;
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 1em;
    color: var(--primary-text-color);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Адаптивность для новых блоков */
@media (max-width: 768px) {
    .recipe-grid {
        grid-template-columns: 1fr;
    }
    .recipe-card-image {
        height: 180px;
    }
    .faq-item {
        padding: 20px 25px;
    }
    .faq-item h3 {
        font-size: 1.2em;
    }
    .faq-item p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .recipe-card-body {
        padding: 20px;
    }
    .recipe-card h3 {
        font-size: 1.3em;
    }
}