/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ СТАТЬИ (article-2.css) ===== */

/* Базовые сбросы и настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
    font-size: 1rem;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
        width: 100%;
    }
}

/* Типография для мобильных */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: 2.8rem;
    text-align: center;
}

h2 {
    font-size: 2.2rem;
    color: #597d89;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.8rem;
    color: #495057;
}

h4 {
    font-size: 1.4rem;
    color: #6c757d;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.7rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
        padding-bottom: 0.4rem;
        margin-bottom: 0.8rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1rem;
    }
}

p {
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    p {
        text-align: left;
        margin-bottom: 1.2rem;
        line-height: 1.6;
    }
}

a {
    text-decoration: none;
    color: #597d89;
    transition: all 0.3s ease;
    word-wrap: break-word;
}

a:hover {
    color: #4a6a75;
}

/* Кнопки для мобильных */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 30px;
    background-color: #597d89;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    min-height: 48px;
}

.btn:hover {
    background-color: #4a6a75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #597d89;
    color: #597d89;
}

.btn-secondary:hover {
    background-color: #597d89;
    color: white;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    min-height: 40px;
}

@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-height: 44px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn-small {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-height: 38px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 42px;
    }
}

/* Шапка сайта - мобильная адаптация */
.header {
    background-color: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #597d89;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav a {
    font-weight: 600;
    position: relative;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
    color: #4a6a75;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #597d89;
}

/* Мобильное меню */
@media (max-width: 992px) {
    .nav {
        gap: 1rem;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        padding: 0.8rem 15px;
        gap: 0.8rem;
    }
    
    .logo {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
        gap: 0.8rem;
        padding: 0.5rem 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav::-webkit-scrollbar {
        display: none;
    }
    
    .nav a {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0.6rem 10px;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav {
        gap: 0.5rem;
    }
    
    .nav a {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Подвал сайта - мобильная адаптация */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    width: 100%;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #bdc3c7;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: #ecf0f1;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem;
        margin-top: 3rem;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }
    
    .footer p {
        margin-bottom: 0;
        line-height: 1.5;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-nav a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-nav {
        gap: 0.8rem;
    }
    
    .footer-nav a {
        font-size: 0.8rem;
    }
}

/* Хлебные крошки - мобильная адаптация */
.breadcrumbs {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    padding: 1.2rem 0;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.breadcrumbs .container {
    white-space: nowrap;
    padding: 0 15px;
}

.breadcrumbs a {
    color: #597d89;
    display: inline-block;
}

.breadcrumbs a:hover {
    color: #4a6a75;
}

.breadcrumbs span {
    color: #6c757d;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
        font-size: 0.85rem;
    }
    
    .breadcrumbs .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .breadcrumbs {
        padding: 0.8rem 0;
        font-size: 0.8rem;
    }
}

/* ===== СТИЛИ СТРАНИЦЫ СТАТЬИ ===== */

.article-page {
    padding-top: 2rem;
    background: white;
    min-height: 100vh;
    width: 100%;
}

/* Заголовок статьи - мобильная адаптация */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.article-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #597d89 0%, #4a6a75 100%);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-style: italic;
    word-wrap: break-word;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.meta-item i {
    color: #597d89;
    font-size: 1rem;
}

.article-hero-image {
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.8rem;
    font-style: italic;
    padding: 0 10px;
}

@media (max-width: 992px) {
    .article-header h1 {
        font-size: 2.2rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .article-meta {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .article-page {
        padding-top: 1.5rem;
    }
    
    .article-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 10px;
    }
    
    .article-category {
        font-size: 0.8rem;
        padding: 0.5rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .article-excerpt {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 15px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .meta-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        width: auto;
        max-width: 100%;
    }
    
    .article-hero-image {
        margin: 1.5rem auto;
        border-radius: 8px;
    }
    
    .image-caption {
        font-size: 0.8rem;
        margin-top: 0.5rem;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .article-page {
        padding-top: 1rem;
    }
    
    .article-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .article-header h1 {
        font-size: 1.6rem;
        padding: 0 5px;
    }
    
    .article-category {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }
    
    .article-excerpt {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 1rem;
    }
    
    .meta-item {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
    
    .article-hero-image {
        margin: 1rem auto;
        border-radius: 6px;
    }
}

/* Оглавление - мобильная адаптация */
.article-toc {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 5px solid #597d89;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.article-toc h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.article-toc ol {
    list-style-type: none;
    counter-reset: toc-counter;
    padding: 0;
}

.article-toc li {
    counter-increment: toc-counter;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
    line-height: 1.5;
}

.article-toc li::before {
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #597d89;
    font-size: 1.1rem;
}

.article-toc a {
    color: #2c3e50;
    transition: color 0.3s ease;
    font-weight: 500;
    display: inline-block;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-toc a:hover,
.article-toc a.active {
    color: #597d89;
}

@media (max-width: 992px) {
    .article-toc {
        padding: 2rem;
    }
    
    .article-toc h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .article-toc {
        padding: 1.5rem;
        margin-bottom: 2rem;
        border-radius: 8px;
        border-left-width: 4px;
    }
    
    .article-toc h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .article-toc li {
        margin-bottom: 0.8rem;
        padding-left: 2rem;
        font-size: 0.95rem;
    }
    
    .article-toc li::before {
        font-size: 1rem;
    }
    
    .article-toc a {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .article-toc {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .article-toc h3 {
        font-size: 1.1rem;
    }
    
    .article-toc li {
        margin-bottom: 0.6rem;
        padding-left: 1.8rem;
        font-size: 0.9rem;
    }
    
    .article-toc li::before {
        font-size: 0.95rem;
    }
    
    .article-toc a {
        font-size: 0.9rem;
    }
}

/* Тело статьи - мобильная адаптация */
.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    width: 100%;
    padding: 0 10px;
}

.article-section {
    margin-bottom: 4rem;
    width: 100%;
}

.article-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
}

.article-section h3 {
    color: #597d89;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.article-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .article-body {
        font-size: 1.05rem;
        line-height: 1.7;
        padding: 0 15px;
    }
    
    .article-section {
        margin-bottom: 3rem;
    }
    
    .article-section h2 {
        font-size: 1.6rem;
    }
    
    .article-section h3 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.8rem 0;
    }
}

@media (max-width: 768px) {
    .article-body {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .article-section {
        margin-bottom: 2.5rem;
    }
    
    .article-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .article-section h3 {
        font-size: 1.2rem;
        margin: 1.2rem 0 0.6rem 0;
    }
    
    .article-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .article-body {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 5px;
    }
    
    .article-section {
        margin-bottom: 2rem;
    }
    
    .article-section h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.5rem;
    }
    
    .article-section h3 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .article-section p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
}

/* Выделенные блоки - мобильная адаптация */
.content-highlight {
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    padding: 2rem;
    border-left: 5px solid #597d89;
    border-radius: 8px;
    margin: 2.5rem 0;
}

.content-highlight.important {
    background: linear-gradient(135deg, #fff0f0 0%, #ffebee 100%);
    border-left-color: #e74c3c;
}

.content-highlight p {
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .content-highlight {
        padding: 1.5rem;
        margin: 2rem 0;
        border-left-width: 4px;
    }
    
    .content-highlight p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content-highlight {
        padding: 1.2rem;
        margin: 1.5rem 0;
        border-left-width: 3px;
    }
    
    .content-highlight p {
        font-size: 0.95rem;
    }
}

/* Цитаты - мобильная адаптация */
.article-quote {
    border-left: 5px solid #597d89;
    padding: 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: #555;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
}

.article-quote p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.article-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    color: #999;
    font-weight: 500;
}

.article-quote cite::before {
    content: "— ";
}

@media (max-width: 768px) {
    .article-quote {
        padding: 1.5rem;
        margin: 2rem 0;
        border-left-width: 4px;
    }
    
    .article-quote p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .article-quote {
        padding: 1.2rem;
        margin: 1.5rem 0;
        border-left-width: 3px;
    }
    
    .article-quote p {
        font-size: 0.95rem;
    }
}

/* Блок с основными фактами - мобильная адаптация */
.quick-facts {
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2rem 0 3rem 0;
    border: 2px solid #597d89;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quick-facts h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 70px;
}

.fact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.fact-item i {
    color: #597d89;
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.fact-item span {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
    word-wrap: break-word;
}

@media (max-width: 992px) {
    .quick-facts {
        padding: 2rem;
    }
    
    .quick-facts h3 {
        font-size: 1.6rem;
    }
    
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-facts {
        padding: 1.5rem;
        margin: 1.5rem 0 2rem 0;
        border-radius: 8px;
    }
    
    .quick-facts h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .fact-item {
        padding: 1rem;
        min-height: 60px;
    }
    
    .fact-item i {
        font-size: 1.3rem;
        width: 25px;
    }
    
    .fact-item span {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .quick-facts {
        padding: 1.2rem;
        margin: 1rem 0 1.5rem 0;
    }
    
    .quick-facts h3 {
        font-size: 1.2rem;
    }
    
    .fact-item {
        padding: 0.8rem;
        min-height: 55px;
    }
    
    .fact-item i {
        font-size: 1.2rem;
        width: 22px;
    }
    
    .fact-item span {
        font-size: 0.9rem;
    }
}

/* Список преимуществ - мобильная адаптация */
.benefits-list {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #597d89;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefits-list h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefits-list ul {
    list-style-type: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    font-size: 1.05rem;
}

.benefits-list li::before {
    content: "•";
    color: #597d89;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.benefits-list strong {
    color: #2c3e50;
}

@media (max-width: 768px) {
    .benefits-list {
        padding: 1.5rem;
        margin: 1.2rem 0;
        border-left-width: 3px;
    }
    
    .benefits-list h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .benefits-list li {
        margin-bottom: 0.6rem;
        padding-left: 1.2rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .benefits-list li::before {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .benefits-list {
        padding: 1.2rem;
        margin: 1rem 0;
    }
    
    .benefits-list h4 {
        font-size: 1rem;
    }
    
    .benefits-list li {
        margin-bottom: 0.5rem;
        padding-left: 1rem;
        font-size: 0.9rem;
    }
    
    .benefits-list li::before {
        font-size: 0.9rem;
    }
}

/* Карточки сравнения - мобильная адаптация */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.comparison-card.highlighted {
    border-color: #597d89;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.comparison-card.highlighted::before {
    content: "Рекомендуем";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #597d89;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.comparison-card h4 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.comparison-card ul {
    list-style-type: none;
    text-align: left;
    padding: 0;
    flex-grow: 1;
}

.comparison-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}

.comparison-card li::before {
    content: "▸";
    color: #597d89;
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 992px) {
    .comparison-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .comparison-card {
        padding: 1.5rem;
        min-height: 280px;
    }
    
    .comparison-card h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .comparison-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .comparison-card {
        padding: 1.2rem;
        min-height: auto;
        margin-bottom: 0;
    }
    
    .comparison-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .comparison-card li {
        margin-bottom: 0.6rem;
        padding-left: 1.2rem;
        font-size: 0.95rem;
    }
    
    .comparison-card.highlighted::before {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .comparison-cards {
        gap: 1.2rem;
        margin: 1.2rem 0;
    }
    
    .comparison-card {
        padding: 1rem;
    }
    
    .comparison-card h4 {
        font-size: 1rem;
    }
    
    .comparison-card li {
        margin-bottom: 0.5rem;
        padding-left: 1rem;
        font-size: 0.9rem;
    }
    
    .comparison-card.highlighted::before {
        font-size: 0.65rem;
        padding: 0.15rem 0.6rem;
    }
}

/* Практические советы - мобильная адаптация */
.tips-section {
    margin: 3rem 0;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #597d89;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.tip-number {
    background: #597d89;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tip-content h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1.2rem;
}

.tip-content p {
    margin-bottom: 0;
    color: #666;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .tips-section {
        margin: 2rem 0;
    }
    
    .tip-item {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 1.2rem;
        border-left-width: 3px;
    }
    
    .tip-item:hover {
        transform: translateX(3px);
    }
    
    .tip-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        align-self: center;
    }
    
    .tip-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
        text-align: center;
    }
    
    .tip-content p {
        font-size: 0.95rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tips-section {
        margin: 1.5rem 0;
    }
    
    .tip-item {
        margin-bottom: 1.2rem;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .tip-number {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    
    .tip-content h4 {
        font-size: 1rem;
    }
    
    .tip-content p {
        font-size: 0.9rem;
    }
}

/* FAQ раздел - мобильная адаптация */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    min-height: 70px;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    margin-bottom: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    flex: 1;
    padding-right: 1rem;
}

.faq-question i {
    color: #597d89;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 1.5rem;
    display: none;
    background: white;
}

.faq-answer p {
    padding: 1.5rem 0;
    margin-bottom: 0;
    border-top: 1px solid #e9ecef;
    font-size: 1.05rem;
}

/* Исправления для FAQ - всегда открыт */
.faq-answer {
    padding: 1.5rem;
    display: block;
    background: white;
    border-top: 1px solid #e9ecef;
}

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: default;
}

.faq-question:hover {
    background: #f8f9fa;
}

/* Убираем иконки стрелок из FAQ */
.faq-question i {
    display: none;
}

@media (max-width: 768px) {
    .faq-section {
        margin: 2rem 0;
    }
    
    .faq-item {
        margin-bottom: 0.8rem;
        border-radius: 6px;
    }
    
    .faq-question {
        padding: 1rem;
        min-height: 60px;
    }
    
    .faq-question h4 {
        font-size: 1rem;
        padding-right: 0;
    }
    
    .faq-answer {
        padding: 1rem;
    }
    
    .faq-answer p {
        padding: 1rem 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .faq-section {
        margin: 1.5rem 0;
    }
    
    .faq-item {
        margin-bottom: 0.6rem;
        border-radius: 5px;
    }
    
    .faq-question {
        padding: 0.8rem;
        min-height: 55px;
    }
    
    .faq-question h4 {
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0.8rem;
    }
    
    .faq-answer p {
        padding: 0.8rem 0;
        font-size: 0.9rem;
    }
}

/* Ключевые выводы - мобильная адаптация */
.article-keypoints {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 2px solid #597d89;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-keypoints h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.article-keypoints ul {
    list-style-type: none;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

.article-keypoints li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    font-size: 1.1rem;
}

.article-keypoints li::before {
    content: "★";
    color: #597d89;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .article-keypoints {
        padding: 2rem;
    }
    
    .article-keypoints h3 {
        font-size: 1.6rem;
    }
    
    .article-keypoints li {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .article-keypoints {
        padding: 1.5rem;
        margin: 2rem 0;
        border-radius: 8px;
    }
    
    .article-keypoints h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .article-keypoints ul {
        max-width: 100%;
    }
    
    .article-keypoints li {
        margin-bottom: 0.8rem;
        padding-left: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .article-keypoints li::before {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .article-keypoints {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }
    
    .article-keypoints h3 {
        font-size: 1.2rem;
    }
    
    .article-keypoints li {
        margin-bottom: 0.6rem;
        padding-left: 1.2rem;
        font-size: 0.9rem;
    }
    
    .article-keypoints li::before {
        font-size: 0.9rem;
    }
}

/* ===== БЛОК РЕСУРСОВ И ОРАКУЛА ===== */

/* Блок ресурсов - мобильная адаптация */
.article-resources {
    margin: 4rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.article-resources h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #2c3e50;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    min-height: 200px;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #597d89;
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #597d89 0%, #4a6a75 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-icon i {
    color: white;
    font-size: 1.5rem;
}

.resource-content {
    flex: 1;
    min-width: 0;
}

.resource-content h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-size: 1.3rem;
    word-wrap: break-word;
}

.resource-content p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #597d89;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ СТРЕЛОК - ПРАВИЛЬНЫЕ НАПРАВЛЕНИЯ */
.resource-card:first-child .resource-link {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
}

.resource-card:first-child .resource-link i {
    order: -1;
    transform: rotate(0deg);
}

.resource-card:last-child .resource-link {
    justify-content: flex-end;
    text-align: right;
    width: 100%;
}

.resource-card:last-child .resource-link i {
    order: 1;
    transform: rotate(0deg);
}

.resource-card:hover .resource-link {
    color: #4a6a75;
    gap: 0.8rem;
}

@media (max-width: 992px) {
    .article-resources {
        margin: 3rem 0;
        padding: 2.5rem 0;
    }
    
    .article-resources h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .resource-card {
        padding: 1.5rem;
        min-height: 180px;
    }
    
    .resource-icon {
        width: 50px;
        height: 50px;
    }
    
    .resource-icon i {
        font-size: 1.3rem;
    }
    
    .resource-content h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .article-resources {
        margin: 2.5rem 0;
        padding: 2rem 0;
        border-radius: 10px;
    }
    
    .article-resources h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .resource-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem;
        min-height: auto;
    }
    
    .resource-icon {
        width: 50px;
        height: 50px;
    }
    
    .resource-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .resource-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.8rem;
    }
    
    /* Адаптивность для стрелок на мобильных */
    .resource-card .resource-link {
        justify-content: center !important;
        text-align: center !important;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .resource-card:first-child .resource-link i,
    .resource-card:last-child .resource-link i {
        order: 1 !important;
        transform: rotate(0deg) !important;
    }
}

@media (max-width: 480px) {
    .article-resources {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .article-resources h3 {
        font-size: 1.3rem;
    }
    
    .resources-grid {
        gap: 1.2rem;
        padding: 0 5px;
    }
    
    .resource-card {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .resource-icon {
        width: 45px;
        height: 45px;
    }
    
    .resource-icon i {
        font-size: 1.2rem;
    }
    
    .resource-content h4 {
        font-size: 1rem;
    }
    
    .resource-content p {
        font-size: 0.85rem;
    }
    
    .resource-link {
        font-size: 0.85rem;
    }
}

/* Призыв к действию - мобильная адаптация */
.article-cta {
    background: linear-gradient(135deg, #597d89 0%, #4a6a75 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 15px;
    margin: 4rem 0;
    text-align: center;
}

.cta-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background: white;
    color: #597d89;
    font-weight: 600;
    min-width: 200px;
}

.cta-buttons .btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: #597d89;
}

@media (max-width: 992px) {
    .article-cta {
        padding: 3rem 1.5rem;
        margin: 3rem 0;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .article-cta {
        padding: 2.5rem 1rem;
        margin: 2.5rem 0;
        border-radius: 10px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0.8rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        padding: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
        min-width: unset;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-cta {
        padding: 2rem 0.8rem;
        margin: 2rem 0;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .cta-buttons {
        gap: 0.8rem;
    }
    
    .cta-buttons .btn {
        max-width: 220px;
        padding: 10px 15px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Стили для иконки кристального шара */
.fa-crystal-ball:before {
    content: "\f6e8";
}

/* Дополнительные улучшения для мобильных устройств */
@media (max-width: 768px) {
    /* Улучшение отступов на мобильных */
    .article-section,
    .content-section,
    .tips-section,
    .faq-section,
    .conclusion-section {
        padding: 0 5px;
    }
    
    /* Улучшение читаемости текста */
    p, li, span {
        line-height: 1.6;
        letter-spacing: 0.01em;
    }
    
    /* Улучшение кнопок для сенсорных экранов */
    .btn, .resource-card, .fact-item {
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Улучшение навигации по оглавлению */
    .article-toc a {
        padding: 0.3rem 0;
        display: block;
    }
}

@media (max-width: 480px) {
    /* Еще больше улучшений для маленьких экранов */
    .container {
        overflow-x: hidden;
    }
    
    /* Уменьшение отступов между секциями */
    .article-section {
        margin-bottom: 1.5rem;
    }
    
    /* Компактные заголовки */
    h1, h2, h3, h4 {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* Более компактные карточки */
    .comparison-card,
    .resource-card {
        margin-bottom: 0.8rem;
    }
}

/* Поддержка ориентации экрана */
@media (orientation: portrait) {
    .header .container,
    .footer .container,
    .article-body {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    /* Оптимизация для ландшафтного режима на мобильных */
    .header {
        position: relative;
    }
    
    .article-header h1 {
        font-size: 1.5rem;
    }
    
    .article-excerpt {
        font-size: 0.9rem;
    }
}

/* Поддержка устройств с высоким DPI */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Более тонкие линии для ретины */
    .article-section h2,
    .breadcrumbs {
        border-width: 1px;
    }
    
    .content-highlight,
    .article-quote,
    .benefits-list,
    .tip-item {
        border-left-width: 2px;
    }
}

/* Оптимизация для очень маленьких экранов */
@media (max-width: 320px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Предотвращение горизонтального скролла */
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Улучшение для сенсорных устройств */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .resource-card:hover,
    .fact-item:hover,
    .comparison-card:hover,
    .tip-item:hover {
        transform: none;
    }
    
    .btn:active,
    .resource-card:active,
    .fact-item:active,
    .comparison-card:active,
    .tip-item:active {
        transform: scale(0.98);
    }
    
    .nav a.active::after {
        height: 3px;
    }
}