/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    color: #000000;
    line-height: 1;
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    background-color: #FFFFFF;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 182px;
}

/* Блок страницы */
.article-page {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Фоновое изображение */
.background-image {
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    background: url('../img/image4.png') no-repeat center center;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}

/* Основной контент статьи */
.article-content {
    position: relative;
    z-index: 2;
    background: transparent;
    margin-top: 70px;
    padding-top: 50px;
    padding-bottom: 40px;
    min-height: calc(100vh - 206px);
}

/* Заголовок статьи */
.article-title-main {
    font-weight: 400;
    font-size: 40px;
    line-height: 47px;
    color: #000000;
    margin-bottom: 20px;
    max-width: 644px;
    position: relative;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

/* Краткое описание */
.article-excerpt {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #000000;
    margin-bottom: 40px;
    max-width: 795px;
    position: relative;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Навигация по разделам статьи */
.article-navigation {
    margin-bottom: 40px;
    /* max-width: 301px; */
    position: relative;
}

.nav-title {
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: #000000;
    margin-bottom: 15px;
    position: relative;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.nav-item-hidden {
    display: none;
}

.nav-list.is-expanded .nav-item-hidden {
    display: block;
}

.nav-toggle {
    margin-top: 12px;
    border: 1px solid #809C53;
    background: transparent;
    color: #000000;
    font-size: 14px;
    line-height: 1.2;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.nav-toggle:hover {
    background-color: #809C53;
    color: #FFFFFF;
}

.nav-list {
    list-style: none;
    position: relative;
}

.nav-list::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: #809C53;
}

.nav-list li {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid #809C53;
}

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

.nav-link {
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #000000;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
    position: relative;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Наведение */
.nav-link:hover {
    color: #687E36;
}

.nav-link.active {
    color: #000000 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

/* Тело статьи */
.article-body {
    max-width: 1019px;
    position: relative;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    /* margin-top: 20px; */
    /* margin-bottom: 15px; */
}

.article-body p {
    margin-bottom: 15px;
    line-height: 26px;
}

.article-body ul,
.article-body ol {
    margin: 10px 0 15px 24px;
    line-height: 26px;
}

.article-body li {
    margin-bottom: 8px;
}

/* Раздел статьи */
.article-section {
    margin-bottom: 40px;
    scroll-margin-top: 120px;
    position: relative;
}

.section-title {
    font-weight: 400;
    font-size: 24px;
    line-height: 26px;
    color: #000000;
    margin-bottom: 15px;
    position: relative;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.section-content {
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #000000;
    position: relative;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.section-content p {
    margin-bottom: 0px;
}

.section-content ul,
.section-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.section-content li {
    margin-bottom: 8px;
}

/* Изображение статьи */
.article-image-large {
    width: 1016px;
    height: 369px;
    background: #B9B9B9;
    border-radius: 20px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.article-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.article-image-large .placeholder-text {
    font-weight: 400;
    font-size: 128px;
    line-height: 150px;
    text-transform: uppercase;
    color: #7B7B7B;
}

/* "Список правил" */
.rules-list {
    margin: 20px 0;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.rule-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: #819A44;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    text-shadow: none;
}

/* "Шаги подключения" */
.connection-steps {
    margin: 20px 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(204, 204, 204, 0.7);
}

.step:last-child {
    border-bottom: none;
}

.step-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: #70A9BC;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    text-shadow: none;
}

/* Предупреждение */
.warning {
    background: rgba(255, 243, 205, 0.8);
    border-left: 4px solid #FFC107;
    padding: 12px 15px;
    margin: 15px 0;
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

/* "Экстренные методы" */
.emergency-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.method {
    background: rgba(248, 249, 250, 0.8);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(233, 236, 239, 0.7);
}

.method h3 {
    font-weight: 400;
    font-size: 18px;
    color: #000000;
    margin-bottom: 8px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

.method p {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}
