/* ========================================
   СТИЛІ ДЛЯ БЛОГУ
   ДОДАТИ В КІНЕЦЬ ФАЙЛУ styles-courses.css
   ======================================== */

/* ========== ГОЛОВНИЙ БЛОК БЛОГУ ========== */
.blog-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    /* ЗМІНИТИ ФОНОВІ КОЛЬОРИ БЛОГУ */
    padding: 140px 5% 80px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-main-icon {
    font-size: 4rem; /* ЗМІНИТИ РОЗМІР ІКОНКИ БЛОГУ */
    margin-bottom: 1rem;
    color: var(--primary-color); /* ЗМІНИТИ КОЛІР ІКОНКИ */
    display: block;
}

.blog-subtitle {
    font-size: 1.3rem; /* ЗМІНИТИ РОЗМІР ПІДЗАГОЛОВКА БЛОГУ */
    color: var(--accent-color); /* ЗМІНИТИ КОЛІР ПІДЗАГОЛОВКА */
    font-weight: 500;
    margin: 1rem 0;
}

/* ========== КОНТЕЙНЕР БЛОГУ ========== */
.blog-container {
    max-width: 1400px; /* ЗМІНИТИ МАКСИМАЛЬНУ ШИРИНУ БЛОГУ */
    margin: 0 auto;
    padding: 60px 5%; /* ЗМІНИТИ ВІДСТУПИ КОНТЕЙНЕРА */
}

/* ========== КАТЕГОРІЇ БЛОГУ ========== */
.blog-categories {
    display: flex;
    justify-content: center;
    gap: 1rem; /* ЗМІНИТИ ВІДСТАНЬ МІЖ КНОПКАМИ КАТЕГОРІЙ */
    margin: 3rem 0;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--white); /* ЗМІНИТИ ФОНОВИЙ КОЛІР КНОПОК КАТЕГОРІЙ */
    color: var(--text-dark); /* ЗМІНИТИ КОЛІР ТЕКСТУ КНОПОК */
    border: 2px solid var(--secondary-color); /* ЗМІНИТИ КОЛІР РАМКИ */
    padding: 0.8rem 1.5rem; /* ЗМІНИТИ РОЗМІР КНОПОК КАТЕГОРІЙ */
    border-radius: 25px; /* ЗМІНИТИ ЗАКРУГЛЕНІСТЬ КНОПОК */
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.9rem; /* ЗМІНИТИ РОЗМІР ШРИФТУ КНОПОК */
}

.category-btn.active {
    background: var(--primary-color); /* ЗМІНИТИ КОЛІР АКТИВНОЇ КНОПКИ */
    color: var(--white);
    border-color: var(--primary-color);
}

.category-btn:hover {
    background: var(--primary-color); /* ЗМІНИТИ КОЛІР ПРИ ХОВЕРІ */
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========== РЕКОМЕНДОВАНА СТАТТЯ ========== */
.featured-post {
    background: var(--white); /* ЗМІНИТИ ФОНОВИЙ КОЛІР РЕКОМЕНДОВАНОЇ СТАТТІ */
    border-radius: 25px; /* ЗМІНИТИ ЗАКРУГЛЕНІСТЬ */
    padding: 3rem; /* ЗМІНИТИ ВІДСТУПИ РЕКОМЕНДОВАНОЇ СТАТТІ */
    margin: 3rem 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* ЗМІНИТИ ТІНЬ */
    border: 3px solid var(--accent-color); /* ЗМІНИТИ КОЛІР РАМКИ */
}

.featured-content {
    display: grid;
    grid-template-columns: 2fr 1fr; /* ЗМІНИТИ ПРОПОРЦІЇ РЕКОМЕНДОВАНОЇ СТАТТІ */
    gap: 3rem; /* ЗМІНИТИ ВІДСТАНЬ МІЖ ТЕКСТОМ ТА ЗОБРАЖЕННЯМ */
    align-items: center;
}

.featured-badge {
    background: var(--accent-color); /* ЗМІНИТИ КОЛІР БЕЙДЖА "РЕКОМЕНДУЄМО" */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem; /* ЗМІНИТИ РОЗМІР ШРИФТУ БЕЙДЖА */
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-text h2 {
    color: var(--primary-color); /* ЗМІНИТИ КОЛІР ЗАГОЛОВКА РЕКОМЕНДОВАНОЇ СТАТТІ */
    font-size: 2.2rem; /* ЗМІНИТИ РОЗМІР ЗАГОЛОВКА */
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-text p {
    color: var(--text-light); /* ЗМІНИТИ КОЛІР ТЕКСТУ РЕКОМЕНДОВАНОЇ СТАТТІ */
    font-size: 1.1rem; /* ЗМІНИТИ РОЗМІР ТЕКСТУ */
    line-height: 1.6;
    margin-bottom: 2rem;
}

.featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 200px; /* ЗМІНИТИ РОЗМІР ЗОБРАЖЕННЯ-ЗАГЛУШКИ */
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), #f0f9ff);
    /* ЗМІНИТИ ГРАДІЄНТ ЗОБРАЖЕННЯ-ЗАГЛУШКИ */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color); /* ЗМІНИТИ КОЛІР ІКОНКИ ЗОБРАЖЕННЯ */
}

/* ========== МЕТА-ІНФОРМАЦІЯ ПОСТІВ ========== */
.post-meta {
    display: flex;
    gap: 1.5rem; /* ЗМІНИТИ ВІДСТАНЬ МІЖ ЕЛЕМЕНТАМИ МЕТА-ІНФОРМАЦІЇ */
    flex-wrap: wrap;
    margin: 1.5rem 0;
    font-size: 0.9rem; /* ЗМІНИТИ РОЗМІР ШРИФТУ МЕТА-ІНФОРМАЦІЇ */
    color: var(--text-light); /* ЗМІНИТИ КОЛІР МЕТА-ІНФОРМАЦІЇ */
}

.post-author,
.post-date,
.post-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ========== КНОПКИ ЧИТАННЯ ========== */
.read-more-btn {
    background: var(--accent-color); /* ЗМІНИТИ КОЛІР КНОПКИ "ЧИТАТИ ДАЛІ" */
    color: white;
    border: none;
    padding: 1rem 2rem; /* ЗМІНИТИ РОЗМІР КНОПКИ */
    border-radius: 25px; /* ЗМІНИТИ ЗАКРУГЛЕНІСТЬ КНОПКИ */
    font-size: 1.1rem; /* ЗМІНИТИ РОЗМІР ШРИФТУ КНОПКИ */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background: #b8860b; /* ЗМІНИТИ КОЛІР ПРИ ХОВЕРІ */
    transform: translateY(-3px);
}

.read-post-btn {
    background: var(--primary-color); /* ЗМІНИТИ КОЛІР КНОПОК СТАТЕЙ */
    color: white;
    border: none;
    padding: 0.8rem 1.5rem; /* ЗМІНИТИ РОЗМІР КНОПОК СТАТЕЙ */
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.read-post-btn:hover {
    background: #1e3f1a; /* ЗМІНИТИ КОЛІР ПРИ ХОВЕРІ НА КНОПКИ СТАТЕЙ */
    transform: translateY(-2px);
}

/* ========== СІТКА СТАТЕЙ ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* ЗМІНИТИ МІНІМАЛЬНУ ШИРИНУ КАРТОК СТАТЕЙ */
    gap: 2rem; /* ЗМІНИТИ ВІДСТАНЬ МІЖ КАРТКАМИ СТАТЕЙ */
    margin: 3rem 0;
}

/* ========== КАРТКА СТАТТІ ========== */
.blog-post {
    background: var(--white); /* ЗМІНИТИ ФОНОВИЙ КОЛІР КАРТОК СТАТЕЙ */
    border-radius: 20px; /* ЗМІНИТИ ЗАКРУГЛЕНІСТЬ КАРТОК */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* ЗМІНИТИ ТІНЬ КАРТОК */
    transition: all 0.3s;
    border: 2px solid transparent;
}

.blog-post:hover {
    transform: translateY(-8px); /* ЗМІНИТИ ПІДЙОМ ПРИ ХОВЕРІ */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* ЗМІНИТИ ТІНЬ ПРИ ХОВЕРІ */
    border-color: var(--primary-color); /* ЗМІНИТИ КОЛІР РАМКИ ПРИ ХОВЕРІ */
}

/* ========== ЗОБРАЖЕННЯ СТАТТІ ========== */
.post-image {
    height: 200px; /* ЗМІНИТИ ВИСОТУ ЗОБРАЖЕНЬ СТАТЕЙ */
    background: linear-gradient(45deg, var(--secondary-color), #f8fafc);
    /* ЗМІНИТИ ГРАДІЄНТ ФОНУ ЗОБРАЖЕНЬ */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.post-emoji {
    font-size: 4rem; /* ЗМІНИТИ РОЗМІР ЕМОДЗІ В ЗОБРАЖЕННЯХ */
    color: var(--primary-color); /* ЗМІНИТИ КОЛІР ЕМОДЗІ */
}

.post-category {
    position: absolute;
    top: 1rem; /* ЗМІНИТИ ПОЗИЦІЮ КАТЕГОРІЇ */
    right: 1rem;
    background: rgba(255,255,255,0.9);
    color: var(--primary-color); /* ЗМІНИТИ КОЛІР ТЕКСТУ КАТЕГОРІЇ */
    padding: 0.3rem 0.8rem; /* ЗМІНИТИ РОЗМІР КАТЕГОРІЇ */
    border-radius: 15px;
    font-size: 0.8rem; /* ЗМІНИТИ РОЗМІР ШРИФТУ КАТЕГОРІЇ */
    font-weight: 500;
}

/* ========== КОНТЕНТ СТАТТІ ========== */
.post-content {
    padding: 2rem; /* ЗМІНИТИ ВІДСТУПИ КОНТЕНТУ СТАТЕЙ */
}

.post-content h3 {
    color: var(--primary-color); /* ЗМІНИТИ КОЛІР ЗАГОЛОВКІВ СТАТЕЙ */
    font-size: 1.3rem; /* ЗМІНИТИ РОЗМІР ЗАГОЛОВКІВ СТАТЕЙ */
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-content p {
    color: var(--text-light); /* ЗМІНИТИ КОЛІР ТЕКСТУ СТАТЕЙ */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem; /* ЗМІНИТИ РОЗМІР ТЕКСТУ СТАТЕЙ */
}

/* ========== ЗАВАНТАЖИТИ ЩЕ ========== */
.load-more-section {
    text-align: center;
    margin: 4rem 0; /* ЗМІНИТИ ВІДСТУПИ СЕКЦІЇ ЗАВАНТАЖЕННЯ */
}

.load-more-btn {
    background: var(--secondary-color); /* ЗМІНИТИ КОЛІР КНОПКИ ЗАВАНТАЖЕННЯ */
    color: var(--primary-color); /* ЗМІНИТИ КОЛІР ТЕКСТУ КНОПКИ */
    border: 2px solid var(--primary-color); /* ЗМІНИТИ КОЛІР РАМКИ */
    padding: 1rem 2rem; /* ЗМІНИТИ РОЗМІР КНОПКИ ЗАВАНТАЖЕННЯ */
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.load-more-btn:hover {
    background: var(--primary-color); /* ЗМІНИТИ КОЛІР ПРИ ХОВЕРІ */
    color: var(--white);
    transform: translateY(-3px);
}

.posts-counter {
    color: var(--text-light); /* ЗМІНИТИ КОЛІР ЛІЧИЛЬНИКА СТАТЕЙ */
    font-size: 0.9rem;
    margin: 0;
}

/* ========== ПІДПИСКА НА НОВИНИ ========== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), #1e3f1a);
    /* ЗМІНИТИ ГРАДІЄНТ СЕКЦІЇ ПІДПИСКИ */
    color: white;
    border-radius: 25px;
    padding: 3rem; /* ЗМІНИТИ ВІДСТУПИ СЕКЦІЇ ПІДПИСКИ */
    text-align: center;
    margin: 4rem 0;
}

.newsletter-content h2 {
    font-size: 2rem; /* ЗМІНИТИ РОЗМІР ЗАГОЛОВКА ПІДПИСКИ */
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem; /* ЗМІНИТИ РОЗМІР ТЕКСТУ ПІДПИСКИ */
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem; /* ЗМІНИТИ ВІДСТАНЬ МІЖ ПОЛЕМ ТА КНОПКОЮ */
    justify-content: center;
    align-items: center;
    max-width: 500px; /* ЗМІНИТИ МАКСИМАЛЬНУ ШИРИНУ ФОРМИ */
    margin: 0 auto 1rem;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 250px; /* ЗМІНИТИ МІНІМАЛЬНУ ШИРИНУ ПОЛЯ EMAIL */
    padding: 1rem 1.5rem; /* ЗМІНИТИ ВІДСТУПИ ПОЛЯ EMAIL */
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.subscribe-btn {
    background: var(--accent-color); /* ЗМІНИТИ КОЛІР КНОПКИ ПІДПИСКИ */
    color: white;
    border: none;
    padding: 1rem 2rem; /* ЗМІНИТИ РОЗМІР КНОПКИ ПІДПИСКИ */
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #b8860b; /* ЗМІНИТИ КОЛІР ПРИ ХОВЕРІ НА ПІДПИСКУ */
    transform: scale(1.05);
}

.newsletter-privacy {
    font-size: 0.85rem; /* ЗМІНИТИ РОЗМІР ТЕКСТУ КОНФІДЕНЦІЙНОСТІ */
    opacity: 0.8;
    margin: 0;
}

/* ========== ПОПУЛЯРНІ ТЕГИ ========== */
.tags-section {
    background: var(--secondary-color); /* ЗМІНИТИ ФОНОВИЙ КОЛІР СЕКЦІЇ ТЕГІВ */
    border-radius: 20px;
    padding: 2.5rem; /* ЗМІНИТИ ВІДСТУПИ СЕКЦІЇ ТЕГІВ */
    margin: 3rem 0;
}

.tags-section h3 {
    color: var(--primary-color); /* ЗМІНИТИ КОЛІР ЗАГОЛОВКА ТЕГІВ */
    margin-bottom: 2rem;
    font-size: 1.5rem; /* ЗМІНИТИ РОЗМІР ЗАГОЛОВКА ТЕГІВ */
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem; /* ЗМІНИТИ ВІДСТАНЬ МІЖ ТЕГАМИ */
}

.tag {
    background: var(--white); /* ЗМІНИТИ ФОНОВИЙ КОЛІР ТЕГІВ */
    color: var(--primary-color); /* ЗМІНИТИ КОЛІР ТЕКСТУ ТЕГІВ */
    padding: 0.5rem 1rem; /* ЗМІНИТИ РОЗМІР ТЕГІВ */
    border-radius: 20px; /* ЗМІНИТИ ЗАКРУГЛЕНІСТЬ ТЕГІВ */
    font-size: 0.9rem; /* ЗМІНИТИ РОЗМІР ШРИФТУ ТЕГІВ */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.tag:hover {
    background: var(--primary-color); /* ЗМІНИТИ КОЛІР ПРИ ХОВЕРІ НА ТЕГИ */
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* ========== ГОЛОВНИЙ БЛОК СТАТТІ ========== */
.article-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    padding: 140px 5% 60px;
    text-align: left;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.article-category {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.article-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========== КОНТЕЙНЕР СТАТТІ ========== */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* ========== КОНТЕНТ СТАТТІ ========== */
.article-content {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-intro {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.article-section {
    margin: 2.5rem 0;
}

.article-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.article-section h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
}

.article-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-section li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* ========== СПЕЦІАЛЬНІ БЛОКИ ========== */
.tip-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-left: 5px solid #22c55e;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.tip-box h4 {
    color: #166534;
    margin-bottom: 1rem;
}

.highlight-box {
    background: linear-gradient(135deg, #fef7ff 0%, #fdf2f8 100%);
    border-left: 5px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.warning-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 5px solid #dc2626;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.warning-box h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.timeline-box {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 2px solid var(--secondary-color);
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 10px;
}

.timeline-week {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}

.timeline-content {
    flex: 1;
}

/* ========== БЛОКИ ВПРАВ ========== */
.exercise-block {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    border-left: 5px solid var(--accent-color);
}

.exercise-block h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.exercise-block p {
    margin: 0.5rem 0;
}

/* ========== FAQ В СТАТТЯХ ========== */
.faq-item {
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ========== ВИСНОВОК СТАТТІ ========== */
.article-conclusion {
    background: linear-gradient(135deg, var(--primary-color), #1e3f1a);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    margin: 3rem 0;
}

.article-conclusion h2 {
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

/* ========== ТЕГИ СТАТТІ ========== */
.article-tags {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: 15px;
}

.article-tags h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-tags .tag {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.3rem;
    display: inline-block;
}

/* ========== САЙДБАР СТАТТІ ========== */
.article-sidebar {
    /* Права колонка з додатковою інформацією */
}

.author-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.author-card .author-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.author-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.author-bio {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.author-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========== СХОЖІ СТАТТІ ========== */
.related-articles {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.related-articles h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    transition: background 0.3s;
    cursor: pointer;
}

.related-item:hover {
    background: var(--secondary-color);
}

.related-image {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.related-content h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.related-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ========== ПРОМО КУРСІВ ========== */
.courses-promo {
    background: linear-gradient(135deg, var(--accent-color), #f4a261);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.courses-promo h3 {
    margin-bottom: 1.5rem;
}

.course-item {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.course-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.course-item h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.course-item p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0.3rem;
}

.course-price {
    font-weight: bold;
    font-size: 1.1rem;
}

.all-courses-btn {
    background: white;
    color: var(--accent-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s;
}

.all-courses-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ========== КОМЕНТАРІ ========== */
.comments-section {
    background: var(--secondary-color);
    padding: 3rem 0;
    margin-top: 3rem;
}

.comments-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.comments-section h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.comment-form {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    padding: 1rem;
    font-family: inherit;
    resize: vertical;
    outline: none;
}

.comment-form textarea:focus {
    border-color: var(--primary-color);
}

.comment-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 1rem;
    font-weight: 500;
    transition: background 0.3s;
}

.comment-btn:hover {
    background: #1e3f1a;
}

.comments-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

        /* ОБГОРТКА ТАБЛИЦІ — на телефоні таблиця прокручується вбік, а не ламає сторінку */
        .oil-table-wrap {
            overflow-x: auto;
            margin: 1.5rem 0;
            border-radius: 15px;
            border: 2px solid var(--secondary-color);
        }

        .oil-table {
            width: 100%;
            min-width: 640px; /* ЗМІНИТИ МІНІМАЛЬНУ ШИРИНУ ТАБЛИЦІ (далі вона прокручується) */
            border-collapse: collapse;
            font-size: 0.95rem; /* ЗМІНИТИ РОЗМІР ШРИФТУ В ТАБЛИЦІ */
        }

        .oil-table th {
            background: var(--primary-color); /* ЗМІНИТИ ФОН ШАПКИ ТАБЛИЦІ */
            color: white;
            text-align: left;
            padding: 0.9rem 1rem;
            font-weight: 600;
        }

        .oil-table td {
            padding: 0.9rem 1rem;
            border-bottom: 1px solid var(--secondary-color);
            vertical-align: top;
            line-height: 1.5;
        }

        .oil-table tr:nth-child(even) td {
            background: #fafafa; /* ЗМІНИТИ КОЛІР ЧЕРЕЗРЯДКОВОГО ФОНУ */
        }

        .oil-table td:first-child {
            font-weight: 600;
            color: var(--primary-color);
            white-space: nowrap;
        }

        /* СІТКА СЕЗОНІВ (4 блоки: весна, літо, осінь, зима) */
        .season-oils {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* ЗМІНИТИ МІН. ШИРИНУ БЛОКУ СЕЗОНУ */
            gap: 1.2rem;
            margin: 1.5rem 0;
        }

        .season-oil-card {
            border-radius: 15px;
            padding: 1.5rem;
            border-top: 5px solid;
        }

        .season-oil-card h4 {
            margin-bottom: 0.8rem;
            font-size: 1.15rem;
        }

        .season-oil-card p {
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 0.6rem;
        }

        /* КОЛЬОРИ СЕЗОНІВ — ЗМІНИТИ ТУТ */
        .season-oil-card.spring { background: #f0fdf4; border-color: #22c55e; }
        .season-oil-card.spring h4 { color: #15803d; }
        .season-oil-card.summer { background: #fffbeb; border-color: #f59e0b; }
        .season-oil-card.summer h4 { color: #b45309; }
        .season-oil-card.autumn { background: #fef2f2; border-color: #dc2626; }
        .season-oil-card.autumn h4 { color: #b91c1c; }
        .season-oil-card.winter { background: #eff6ff; border-color: #3b82f6; }
        .season-oil-card.winter h4 { color: #1d4ed8; }

        /* РЕЦЕПТ — рядок "склад" */
        .recipe-line {
            font-weight: 600;
            color: var(--primary-color);
        }

/* ========== ЗАБОРОНА РОЗТЯГУВАННЯ СТАТТІ ========== */
/* Дозволяє колонкам статті ставати вужчими за вміст (таблиця тоді прокручується всередині рамки) */
.article-content,
.article-sidebar {
    min-width: 0;
}