/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, 
body {
    min-width: 100%;
    width: 100%;
    background-color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #000;
    line-height: 1.6em;
    
    
    /* защита от копирования
    -ms-user-select: none; 
    -moz-user-select: none; 
    -webkit-user-select: none; 
    user-select: none; */
}

.logo-header {
    height: 50px;
    padding: 14px;
    background-color: #fff;
    color: #00733E;
    position: sticky;
    top: 0;
    z-index: 1001;
}

/* меню */
.scrollmenu {
    background-color: #00733E;
    overflow: auto;
    white-space: nowrap;
    position: sticky;
    top: 50px;
    z-index: 1000;
}

.scrollmenu a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    font-size: 16px;
}

.scrollmenu a:hover {
    background-color: #003B20;
}

/* Основной контейнер */
.main {
    max-width: 1900px;
    margin: 0 auto;
    padding: 20px;
}

/* Трехколоночная структура */
.three-columns {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 30px;
    margin-top: 20px;
}

/* Стили для боковых колонок */
.left-column, .right-column {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-block {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sidebar-block h3 {
    color: #00733E;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #00733E;
    padding-bottom: 5px;
}

.sidebar-block ul {
    list-style-type: none;
}

.sidebar-block li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sidebar-block li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-block a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.sidebar-block a:hover {
    color: #00733E;
}

.advertisement {
    background-color: #e9f5ef;
    border: 2px dashed #00733E;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

/* Центральная колонка */
.center-column {
    padding: 0 10px;
}

.page-title {
    color: #00733E;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

/* Сетка анонсов статей */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Карточка статьи */
.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Изображение */
.article-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

/* Категория статьи */
.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #00733E;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Заголовок */
.article-title {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-height: 100px;
    background-color: #fff;
}

.article-title h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
}

.article-title a {
    color: #000;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.article-title a:hover {
    color: #00733E;
}

.copyright::before {
    content: "\00A9 \00A0 2026 \00A0 ";
}

/* Адаптивность */
@media (max-width: 1200px) {
    .three-columns {
        grid-template-columns: 200px 1fr 200px;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .main {
        padding: 15px;
    }
    
    .three-columns {
        grid-template-columns: 180px 1fr 180px;
        gap: 15px;
    }
    
    .articles-grid {
        gap: 20px;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-title {
        padding: 15px;
        min-height: 90px;
    }
    
    .article-title h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .three-columns {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "center"
            "left"
            "right";
        gap: 20px;
    }
    
    .left-column {
        grid-area: left;
        position: static;
    }
    
    .center-column {
        grid-area: center;
        padding: 0;
    }
    
    .right-column {
        grid-area: right;
        position: static;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .article-image {
        height: 220px;
    }
    
    .scrollmenu a {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .main {
        padding: 10px;
    }
    
    .articles-grid {
        gap: 15px;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-title {
        padding: 12px;
        min-height: 80px;
    }
    
    .article-title h3 {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .sidebar-block {
        padding: 15px;
    }
    
    .scrollmenu a {
        padding: 8px 6px;
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .article-image {
        height: 160px;
    }
    
    .article-title {
        min-height: 70px;
    }
    
    .article-title h3 {
        font-size: 0.95rem;
    }
    
    .article-category {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

/*Новый код*/

/* Стили для хлебных крошек */
.breadcrumbs {
    background-color: #f9f9f9;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.breadcrumbs ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    margin-right: 8px;
    font-size: 15px;
}

.breadcrumbs li span {
    color: #999;
    margin-left: 8px;
}

.breadcrumbs a {
    color: #00733E;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #004d29;
    text-decoration: underline;
}

.breadcrumbs .current {
    color: #666;
    font-weight: 500;
}

/* Стили для полной статьи */
.article-full {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article-header {
    margin-bottom: 40px;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #222;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.article-meta span {
    display: flex;
    align-items: center;
}

.article-meta a {
    color: #00733E;
    text-decoration: none;
    margin-left: 5px;
}

.article-meta a:hover {
    text-decoration: underline;
}

.article-intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #00733E;
}

.article-cover {
    margin: 30px 0;
}

.article-cover img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 10px;
    font-size: 0.9rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 1.5em;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 1.8em 0 1em;
    color: #222;
    border-bottom: 2px solid #00733E;
    padding-bottom: 10px;
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 1.5em 0 0.8em;
    color: #333;
}

.article-body h4 {
    font-size: 1.3rem;
    margin: 1.3em 0 0.6em;
    color: #444;
}

.article-body ul, .article-body ol {
    margin: 1.5em 0 1.5em 2em;
}

.article-body li {
    margin-bottom: 0.8em;
}

.article-image-text {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 2em 0;
    align-items: center;
}

.article-image-text img {
    flex: 1;
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.article-image-text .text-content {
    flex: 1;
    width: 50%;
}

.article-quote {
    margin: 2em 0;
    padding: 25px 30px;
    background-color: #f0f7f3;
    border-left: 5px solid #00733E;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
}

.article-quote cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: bold;
    color: #666;
    font-size: 0.9rem;
}

.article-tip {
    margin: 2em 0;
    padding: 25px;
    background-color: #fff9e6;
    border: 1px solid #ffd966;
    border-radius: 8px;
}

.article-tip h4 {
    color: #b38f00;
    margin-top: 0;
    display: flex;
    align-items: center;
}

.article-tip h4::before {
    content: "💡";
    margin-right: 10px;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.article-table thead {
    background-color: #00733E;
    color: white;
}

.article-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.article-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.article-table tbody tr:hover {
    background-color: #f0f7f3;
}

.article-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.article-tags {
    margin: 3em 0 2em;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-tags span {
    font-weight: bold;
    margin-right: 10px;
    color: #666;
}

.tag {
    display: inline-block;
    background-color: #f0f7f3;
    color: #00733E;
    padding: 5px 12px;
    margin: 0 5px 10px 0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tag:hover {
    background-color: #00733E;
    color: white;
}

.article-share {
    margin: 2em 0 3em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.article-share span {
    font-weight: bold;
    color: #666;
}

.share-btn {
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.vk { background-color: #4c75a3; }
.share-btn.telegram { background-color: #0088cc; }
.share-btn.pinterest { background-color: #e60023; }

.article-navigation {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    gap: 20px;
}

.article-navigation a {
    color: #00733E;
    text-decoration: none;
    font-weight: 500;
    padding: 10px;
    transition: all 0.3s;
    flex: 1;
    min-width: 250px;
}

.article-navigation a:hover {
    color: #004d29;
    text-decoration: underline;
}

.prev-article {
    text-align: left;
}

.next-article {
    text-align: right;
}

/* Форма подписки */
.newsletter {
    text-align: center;
}

.newsletter p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscribe-form input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
}

.subscribe-form button {
    background-color: #00733E;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-form button:hover {
    background-color: #004d29;
}

/* Адаптивность для статьи */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-intro {
        font-size: 1.1rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.3rem;
    }
    
    .article-image-text {
        flex-direction: column;
    }
    
    .article-image-text img,
    .article-image-text .text-content {
        min-width: 100%;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .article-navigation a {
        min-width: 100%;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.7rem;
    }
    
    .article-full {
        padding: 20px;
    }
    
    .article-quote {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .article-table {
        font-size: 0.9rem;
    }
    
    .article-table th,
    .article-table td {
        padding: 8px 10px;
    }
}

/* Минималистичный футер */
.site-footer.simple {
    padding: 30px 0;
    background-color: #222;
    text-align: center;
}

.site-footer.simple .footer-container {
    max-width: 100%;
}

.site-footer.simple .footer-brand {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.site-footer.simple .footer-logo {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo {
    color: #00733E;
}

.site-footer.simple .footer-description {
    font-size: 15px;
    color: #aaa;
}

.site-footer.simple .footer-bottom {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer.simple .footer-links-mini {
    margin: 10px 0;
}

.site-footer.simple .footer-links-mini a {
    color: #aaa;
    text-decoration: none;
    margin: 0 5px;
    font-size: 13px;
}

.site-footer.simple .footer-links-mini a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer.simple .footer-disclaimer {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}