/* SESEO Plugin Public Styles */
h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
}

.loop-entry .entry-summary p, .loop-entry .entry-header .entry-meta {
    margin: 0.5em 0;
    font-size: 14px;
}






@media screen and (max-width: 719px) {
    .content-style-boxed .content-bg:not(.loop-entry) {
       margin-left: 0; 
       margin-right:0; 
      
    }
	
	h1 {
		font-weight: 700;
		font-size: 24px;
		line-height: 1.5;
		color: var(--global-palette3);
	}


}




/* Основные стили для статьи */
article {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
    color: #2c3e50;
    font-size: 16px;
    letter-spacing: 0.01em;
}

/* Стили для блоков статей */
.article-block {
    
}

 

.article-block.text-content {
    line-height: 1.8;
    color: #2c3e50;
    font-size: 16px;
}

.article-block h2 {
    color: #2d5016;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: 700;
    border-bottom: 4px solid #2d5016;
    padding-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.article-block h3 {
    color: #2d5016;
    margin: 30px 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 3px solid #2d5016;
    padding-bottom: 10px;
    line-height: 1.4;
}

.article-block p {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

/* Стили для изображений в статьях */
.article-img {
    margin: 25px 0;
    text-align: center;
}

.article-img-frame__img {
    display: inline-block;
    max-width: 100%;
    margin: 0 10px 20px 10px;
    vertical-align: top;
}

/* Если только одно изображение - во всю ширину */
.article-img:has(.article-img-frame__img:only-child) .article-img-frame__img {
    display: block;
    width: 100%;
    margin: 0 0 20px 0;
}

.article-img img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 3px solid #fff;
}

/* Одиночное изображение во всю ширину */
.article-img:has(.article-img-frame__img:only-child) img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.article-img img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.article-img__caption {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
    line-height: 1.4;
}

.article-img__caption a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.article-img__caption a:hover {
    text-decoration: underline;
    color: #2980b9;
}

/* Стили для таблиц */
.article-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8ecf0;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.article-block table th,
.article-block table td {
    padding: 16px 20px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #e1e5e9;
    vertical-align: top;
}

.article-block table th {
    background: linear-gradient(135deg, #2d5016 0%, #1a3009 100%);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 3px solid #1a3009;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.article-block table th:first-child {
    border-top-left-radius: 12px;
}

.article-block table th:last-child {
    border-top-right-radius: 12px;
}

.article-block table td {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    white-space: normal;
    word-wrap: break-word;
    padding: 18px 20px;
}

.article-block table tr:nth-child(even) {
    background: #f8f9fa;
}

.article-block table tr:nth-child(odd) {
    background: #fff;
}

.article-block table tr:hover {
    background: #e9ecef;
    transition: background-color 0.3s ease;
}

.article-block table tr:last-child td {
    border-bottom: none;
}

.article-block table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.article-block table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

/* Стили для скроллбара таблиц */
.article-block table::-webkit-scrollbar {
    height: 6px;
}

.article-block table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.article-block table::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 3px;
}

.article-block table::-webkit-scrollbar-thumb:hover {
    background: #5a6268;
}


/* Стили для советов экспертов */
.expert-tip {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    padding: 20px;
    margin: 25px 0;
    border-radius: 12px;
    border-left: 6px solid #1e8449;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    position: relative;
}

.expert-tip::before {
    content: "💡";
    font-size: 20px;
    position: absolute;
    top: 18px;
    left: 20px;
}

.expert-tip > div {
    margin-left: 50px;
    font-weight: 500;
}

.expert-tip strong {
    color: #fff;
    font-weight: 700;
}

.expert-tip a {
    color: #a8e6a3;
    text-decoration: underline;
}

.expert-tip a:hover {
    color: #90ee90;
}

/* Стили для блоков уведомлений */
.article-attantionb {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    padding: 25px;
    margin: 30px 0;
    border-radius: 16px;
    border-left: 8px solid #e74c3c;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.25);
    position: relative;
    transition: all 0.3s ease;
}

.article-attantionb::before {
    content: "⚠️";
    font-size: 28px;
    position: absolute;
    top: 20px;
    left: 25px;
}

.article-attantionb > div {
    margin-left: 50px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
}

.article-tiketb {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    padding: 25px;
    margin: 30px 0;
    border-radius: 16px;
    border-left: 8px solid #d35400;
    box-shadow: 0 8px 24px rgba(243, 156, 18, 0.25);
    position: relative;
    transition: all 0.3s ease;
}

.article-tiketb::before {
    content: "📌";
    font-size: 28px;
    position: absolute;
    top: 20px;
    left: 25px;
}

.article-tiketb > div {
    margin-left: 50px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
}

.article-notice_info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    padding: 25px;
    margin: 30px 0;
    border-radius: 16px;
    border-left: 8px solid #1f4e79;
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.25);
    position: relative;
    transition: all 0.3s ease;
}

.article-notice_info::before {
    content: "ℹ️";
    font-size: 28px;
    position: absolute;
    top: 20px;
    left: 25px;
}

.article-notice_info > div {
    margin-left: 50px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
}

.article-notice_advise {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    padding: 25px;
    margin: 30px 0;
    border-radius: 16px;
    border-left: 8px solid #1e8449;
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.25);
    position: relative;
    transition: all 0.3s ease;
}

.article-notice_advise::before {
    content: "💡";
    font-size: 28px;
    position: absolute;
    top: 20px;
    left: 25px;
}

.article-notice_advise > div {
    margin-left: 50px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
}

.article-see {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: #fff;
    padding: 25px;
    margin: 30px 0;
    border-radius: 16px;
    border-left: 8px solid #6c3483;
    box-shadow: 0 8px 24px rgba(155, 89, 182, 0.25);
    position: relative;
    transition: all 0.3s ease;
}

.article-see::before {
    content: "👀";
    font-size: 28px;
    position: absolute;
    top: 20px;
    left: 25px;
}

.article-see > div {
    margin-left: 50px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
}

/* Стили для блока источников */
.article-sources {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    margin: 25px 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-sources > div:first-child {
    background: #6c757d;
    color: #fff;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    position: relative;
    transition: background-color 0.3s ease;
}

.article-sources > div:first-child:hover {
    background: #5a6268;
}

.article-sources > div:first-child::after {
    content: "▼";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.article-sources.expanded > div:first-child::after {
    transform: translateY(-50%) rotate(180deg);
}

.article-sources > div:not(:first-child) {
    padding: 20px;
    display: none;
    background: #fff;
    border-top: 1px solid #dee2e6;
}

.article-sources.expanded > div:not(:first-child) {
    display: block;
}

/* Стили для списков */
.article-block ul,
.article-block ol {
    margin: 25px 0;
    padding-left: 0;
}

.article-block ul {
    list-style: none;
}

.article-block ul li {
    position: relative;
    padding: 12px 0 12px 35px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #2c3e50;
    font-size: 16px;
}

.article-block ul li::before {
    content: "•";
    color: #2d5016;
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 12px;
}

.article-block ol {
    counter-reset: list-counter;
}

.article-block ol li {
    position: relative;
    padding: 12px 0 12px 45px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #2c3e50;
    font-size: 16px;
    counter-increment: list-counter;
}

 

/* Стили для чек-листов */
.checklist {
    list-style: none;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.checklist li {
    padding: 15px 20px;
    border-bottom: 1px solid #e1e5e9;
    transition: background-color 0.3s ease;
}

.checklist li:last-child {
    border-bottom: none;
}

.checklist li:hover {
    background-color: #f8f9fa;
}

.checklist li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

/* Адаптивность */
@media (max-width: 768px) {
    article {
        padding: 15px;
        margin: 10px;
    }
    
    .article-block {
        padding: 15px;
        margin: 15px 0;
    }
    
    .article-block h2 {
        font-size: 24px;
    }
    
    .article-block h3 {
        font-size: 20px;
    }
    
    .article-block p {
        font-size: 15px;
    }
    
    /* Горизонтальная прокрутка только для таблиц на мобиле */
    .article-block {
        position: relative;
        margin: 15px 0;
    }
    
    /* Контейнер для таблицы с прокруткой */
    .article-block table {
        font-size: 14px;
        min-width: 600px;
        margin: 20px 0;
        display: table;
        width: 100%;
    }
    
    /* Обертка для таблицы с прокруткой */
    .article-block {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .article-block table th,
    .article-block table td {
        padding: 12px 16px;
        white-space: nowrap;
        min-width: 120px;
    }
    
    .article-block table th {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .article-block table td {
        font-size: 13px;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* На мобильных устройствах картинки в одну колонку */
    .article-img-frame__img {
        display: block;
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .article-img img {
        height: 250px;
        width: 100%;
    }
    
    /* Одиночные изображения на мобиле */
    .article-img:has(.article-img-frame__img:only-child) img {
        height: 250px;
    }
    
    /* Адаптация списков на мобиле */
    .article-block ul li,
    .article-block ol li {
        padding-left: 30px;
        font-size: 15px;
        line-height: 1.6;
    }
    
    .article-block ol li {
        padding-left: 40px;
    }
    
    .article-block ul li::before {
        font-size: 18px;
        top: 10px;
    }
    
    .article-block ol li::before {
        font-size: 15px;
        top: 10px;
        min-width: 25px;
    }
    
    /* Адаптация блоков уведомлений */
    .expert-tip,
    .article-attantionb,
    .article-tiketb,
    .article-notice_info,
    .article-notice_advise,
    .article-see {
        padding: 20px;
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .expert-tip::before,
    .article-attantionb::before,
    .article-tiketb::before,
    .article-notice_info::before,
    .article-notice_advise::before,
    .article-see::before {
        font-size: 22px;
        top: 18px;
        left: 20px;
    }
    
    .expert-tip > div,
    .article-attantionb > div,
    .article-tiketb > div,
    .article-notice_info > div,
    .article-notice_advise > div,
    .article-see > div {
        margin-left: 50px;
        font-size: 15px;
        line-height: 1.5;
    }
}

@media (min-width: 769px) {
    /* На десктопе картинки в одну строку */
    .article-img {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 20px;
    }
    
    .article-img-frame__img {
        flex: 1;
        min-width: 200px;
        max-width: 300px;
    }
    
    .article-img img {
        width: 100%;
        height: 200px;
    }
}











/* =================================================================
   МИНИМАЛИСТИЧНЫЕ Стили для оглавления (Версия 3.0)
   Сайт: posadka-uhod.ru
   ================================================================= */

/* 1. Основной контейнер - убираем весь фон и рамки */
.lwptoc {
    background: none !important; /* Убираем фон */
    border: none !important;     /* Убираем рамку */
    box-shadow: none !important; /* Убираем тень */
    padding: 0 !important;       /* Убираем внутренние отступы */
    margin: 2.5em 0;             /* Оставляем только внешние отступы для воздуха */
}

/* 2. Заголовок оглавления ("Оглавление") */
.lwptoc .lwptoc_title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #212529; /* Очень темный, почти черный */
    margin-bottom: 1.2em; /* Отступ от заголовка до списка */
    text-align: left;
}

/* 3. Обертка списка (OL) */
.lwptoc .lwptoc_itemWrap {
    padding-left: 25px; /* Небольшой отступ слева для нумерации */
    margin: 0;
}

/* 4. Пункты списка (LI) - Выравнивание нумерации */
.lwptoc .lwptoc_item {
    padding: 4px 0; /* Небольшие вертикальные отступы между пунктами */
    font-size: 17px;
    line-height: 1.6; /* Ключевое свойство для идеального выравнивания */
}

/* 5. Ссылки в оглавлении */
.lwptoc .lwptoc_item a {
    color: #000000 !important; /* Черный цвет по запросу */
    text-decoration: none;
    font-weight: 400; /* Стандартная насыщенность, не жирный */
    transition: color 0.2s ease; /* Плавный переход для ховера */
}

/* 6. Ссылки при наведении курсора */
.lwptoc .lwptoc_item a:hover {
    color: #529f00 !important; /* Фирменный зеленый цвет при наведении */
    text-decoration: underline;
}

/* 7. Стиль самой нумерации (цифр) */
.lwptoc .lwptoc_item::marker {
    color: #529f00; /* Зеленый цвет для акцента на цифрах */
    font-weight: 600;
}


 

.lwptoc-light .lwptoc_i {
   
     background:#FFF;
}