

/* Start:/local/templates/eco_26/css/blog.css?17754461129723*/
/**
 * =============================================================================
 * BLOG & ARTICLES
 * =============================================================================
 * Styles for the blog listing (grid) and the single article view (longread).
 * 
 * SECTIONS:
 * 1. Blog Grid & Cards
 * 2. Single Article Page
 * =============================================================================
 */

/* ========================================= */
/* 1. BLOG GRID & CARDS                      */
/* ========================================= */

.blog-grid { margin-bottom: 60px; }

.blog-card {
    background: #fff; border: none; border-radius: 6px;
    overflow: hidden; height: 100%; display: flex; flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Image Link */
.blog-card__img-link {
    display: block; position: relative;
    padding-bottom: 60%; /* Aspect Ratio */
    overflow: hidden; background-color: #f0f0f0;
}

.blog-card__img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img { transform: scale(1.05); }

/* Card Body */
.blog-card__body {
    padding: 25px; display: flex; flex-direction: column; flex-grow: 1;
}

.blog-card__date {
    font-size: 0.85rem; color: var(--color-secondary);
    margin-bottom: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
}

.blog-card__title {
    font-family: var(--font-family-base);
    font-size: 1.4rem; line-height: 1.2; margin-bottom: 15px;
    color: var(--color-primary);
}

.blog-card__title a {
    color: inherit; text-decoration: none; transition: color 0.3s;
}
.blog-card__title a:hover { color: var(--color-secondary); }

.blog-card__preview {
    font-size: 0.95rem; color: #555; line-height: 1.6;
    margin-bottom: 20px; flex-grow: 1;
}

/* Read More Link */
.blog-read-more {
    font-family: var(--font-family-secondary);
    font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; color: var(--color-primary);
    text-decoration: none; letter-spacing: 0.05em;
    display: inline-flex; align-items: center; gap: 5px;
    transition: gap 0.3s;
}

.blog-read-more:hover { gap: 10px; color: var(--color-secondary); }


/* ========================================= */
/* 2. SINGLE ARTICLE PAGE                    */
/* ========================================= */

.article-container {
    background: #fff; padding: 40px 60px;
    border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.article-header { text-align: center; margin-bottom: 40px; }

.article-date {
    display: inline-block; color: var(--color-secondary);
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: 15px; font-size: 0.9rem;
}

.article-title {
    font-family: var(--font-family-base);
    font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1;
    color: var(--color-primary); margin-bottom: 30px;
}

.article-cover {
    width: 100%; height: auto; border-radius: 6px;
    margin-bottom: 40px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Article Content */
.article-content {
    font-family: var(--font-family-base);
    font-size: var(--text-size-fluid);
    line-height: 1.8; color: #333;
}

.article-content p { margin-bottom: 1.5em; }

.article-content h2, .article-content h3 {
    margin-bottom: 0.8em; color: var(--color-primary);
}

.article-content img {
    max-width: 100%; height: auto; border-radius: 4px; margin: 20px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--color-secondary);
    padding-left: 20px; font-style: italic; font-size: 1.3rem;
    color: #555; margin: 40px 0;
}

@media (max-width: 768px) {
    .article-container { padding: 20px; }
}

/* ========================================= */
/* ТИПОГРАФИКА И ВЕРСТКА СТАТЬИ КМ0          */
/* ========================================= */

.article-content {
    /* Делаем шрифт крупнее, а строки плотнее для "журнального" вида */
    font-family: var(--font-family-base, "EB Garamond", serif);
    font-size: 1.4rem; 
    line-height: 1.5; 
    color: #2b2b2b;
    letter-spacing: 0.01em;
}

.article-content p { 
    margin-bottom: 1.4em; 
}

.article-content h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.article-content h2 i {
    color: var(--color-secondary); /* Золотые иконки в заголовках */
    font-size: 0.9em;
}

/* Глобальное скругление по требованию босса */
.article-content img,
.art-placeholder-img,
.card-list li,
.faq-item {
    border-radius: 5px !important;
}

/* Плейсхолдеры изображений (placehold.co) */
.art-placeholder-figure {
    margin: 35px 0;
    width: 100%;
}
.art-placeholder-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.art-caption {
    font-family: var(--font-family-secondary);
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}

/* Списки-карточки */
.card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.card-list li {
    background: #fff;
    border: 1px solid rgba(133, 102, 60, 0.15);
    border-left: 4px solid var(--color-secondary);
    padding: 20px;
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.1rem; /* Увеличили текст в карточках */
    line-height: 1.4;
}
.card-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.card-list li strong {
    color: var(--color-primary);
    font-family: var(--font-family-secondary);
    display: block;
    margin-bottom: 8px;
    font-size: 1.15em;
}

/* Модификаторы списков (теперь на Bootstrap Icons) */
.icon-list-check {
    list-style: none;
    padding-left: 0;
}
.icon-list-check li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
}
.icon-list-check li::before {
    content: '\F26A'; /* bi-check-circle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.icon-list-warning {
    list-style: none;
    padding-left: 0;
}
.icon-list-warning li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
}
.icon-list-warning li::before {
    content: '\F33A'; /* bi-exclamation-triangle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: #D8A73A; 
    font-size: 1.2rem;
}

/* Крупный нумерованный список */
.styled-number-list {
    list-style: none;
    counter-reset: my-counter;
    padding-left: 0;
    margin-bottom: 35px;
}
.styled-number-list li {
    counter-increment: my-counter;
    position: relative;
    padding-left: 65px;
    margin-bottom: 20px;
    min-height: 45px;
    display: flex;
    align-items: center;
}
.styled-number-list li::before {
    content: counter(my-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--color-secondary);
    color: white;
    border-radius: 5px !important; /* Делаем квадраты со скруглением 5px вместо кругов! */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-family-secondary);
    font-size: 1.4em;
}

/* Выразительный блок FAQ */
.faq-section {
    margin-top: 20px;
}
.faq-item {
    background: #fbfaf8; /* Очень легкий теплый оттенок */
    border: 1px solid rgba(185, 153, 97, 0.2);
    border-left: 4px solid var(--color-primary); /* Акцент основным зеленым */
    padding: 20px 25px;
    margin-bottom: 15px;
}
.faq-question {
    font-family: var(--font-family-secondary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.faq-answer {
    margin: 0;
    font-size: 1.1rem;
    color: #444;
}

.article-content a {
    text-decoration: underline;
}

/* ========================================= */
/* СТИЛИ ДЛЯ ТАБЛИЦ В СТАТЬЯХ                */
/* ========================================= */
.eco-table-wrapper {
    overflow-x: auto;
    margin: 35px 0;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.eco-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: #fff;
    font-family: var(--font-family-secondary);
}
.eco-table th {
    background-color: var(--color-primary);
    color: #fff;
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.eco-table th:last-child { border-right: none; }
.eco-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-right: 1px solid rgba(0,0,0,0.05);
    color: #444;
    font-size: 1.05rem;
    line-height: 1.5;
    vertical-align: top;
}
.eco-table td:last-child { border-right: none; }
.eco-table tr:last-child td { border-bottom: none; }
.eco-table tr:hover td { background-color: #faf9f7; }
/* End */
/* /local/templates/eco_26/css/blog.css?17754461129723 */
