/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Для заголовка используем специальный контейнер */
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.container-full-width {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.article-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Дополнительные стили для центрирования заголовков */
.article-content .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Pre-header styles */
.pre-header {
    height: 50px;
    background-color: #F2F2F2;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 98;;
}

.pre-header-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
    gap: 22px;
}

.icon-small {
    width: 21px;
    height: 21px;
    margin-right: 5px;
}

.icon-medium {
    width: 28px;
    height: 21px;
    margin-right: 10px;
}

.icon-tall {
    width: 19px;
    height: 22px;
    margin-right: 10px;
}

.icon-wide {
    width: 25px;
    height: 20px;
    margin-right: 10px;
}

.icon-square {
    width: 23px;
    height: 23px;
    margin-right: 10px;
}

.icon-extra-tall {
    width: 17px;
    height: 25px;
    margin-right: 10px;
}

/* Курсор руки для всех иконок */
.icon-small, .icon-medium, .icon-tall, .icon-wide, .icon-square, .icon-extra-tall,
.icon-burger, .icon-search, .icon-notifications, .icon-subscribe {
    cursor: pointer;
}

.btn-non-clickable {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: normal;
    color: #000;
    padding: 0;
    margin-right: 15px;
}

/* Добавляем курсор руки для всех кнопок */
.btn-menu, .btn-session, .btn-subscribe, .icon-notifications {
    cursor: pointer;
}

.pre-header-text {
    font-size: 12px;
    font-weight: normal;
    color: #000;
}

.pre-header-separator {
    width: 1px;
    height: 16px;
    background-color: #CCCCCC;
    margin: 0 15px;
}

.pre-header-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.pre-header-inner-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    flex-wrap: nowrap;
}

/* Header styles */
.sticky-header {
    height: 90px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E6E6E6;
    position: sticky;
    top: 0;
    z-index: 99;
    display: flex;
    align-items: center;
}

.menu-section {
    display: flex;
    align-items: center;
}

.spacer-5px {
    margin-left: 5px;
}

.icon-burger {
    width: 23px;
    height: 23px;
}

.btn-menu {
    font-size: 10px;
    font-weight: bold;
    margin-left: 12px;
}

.header-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.header-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.logo {
    width: 380px;
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.icon-search {
    width: 26px;
    height: 26px;
    margin-left: -10px;
}

.icon-notifications {
    width: 25px;
    height: 25px;
    margin-right: 20px;
}

.btn-session {
    width: 127px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #000;
    background-color: #fff;
    font-size: 10px;
    font-weight: normal;
    color: #000;
    margin-right: 15px;
}

.subscribe-btn-wrapper {
    position: relative;
    display: inline-block;
}

/* Добавляем стили для улучшения отображения уведомления */
.subscribe-btn-wrapper:hover .dialog-box {
    opacity: 1;
    visibility: visible;
}

.btn-subscribe {
    width: 188px;
    height: 40px;
    border-radius: 5px;
    background-color: #FFFF24;
    border: none;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.icon-subscribe {
    width: 21px;
    height: 21px;
    margin-right: 10px;
}

.btn-subscribe span {
    font-size: 10px;
    font-weight: normal;
    color: #000;
}

.dialog-box {
    position: absolute;
    width: 250px;
    height: 30px;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    z-index: 1000; /* Поверх всех элементов */
}

.dialog-box.show {
    opacity: 1;
    visibility: visible;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 8px solid #000;
    border-bottom: none;
}

/* Post-header styles */
.post-header {
    height: 50px;
    background-color: #fff;
    border-bottom: 1px solid #E6E6E6;
    display: flex;
    align-items: center;
}

.post-header .container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 15px;
    align-content: center; /* Align content in cross axis */
}

/* Since financial-info and news-info are direct children of container,
   we treat them as flex items */
.post-header .container > .financial-info,
.post-header .container > .news-info {
    display: flex;
    gap: 20px;
    white-space: nowrap;
}

.post-header .container > .financial-info {
    justify-content: flex-start;
    margin-right: auto; /* Push to the left */
    align-self: center; /* Center align the items vertically */
    margin-top: 5px;
}

.post-header .container > .news-info {
    justify-content: flex-end;
    margin-left: auto; /* Push to the right */
    align-self: center; /* Center align the items vertically */
    margin-top: -45px;
}

.financial-info span, .news-info span {
    font-size: 12px;
    font-weight: bold;
}

/* Article styles */
main {
    padding: 50px 0;
    width: 100%;
}

.main-title {
    font-size: calc(1.5rem + 1vw);
    font-weight: bold;
    margin: 30px 0 15px;
    text-align: center;
    width: 100%;
}

.main-subtitle {
    font-size: calc(1rem + 0.5vw);
    font-weight: normal;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

.article-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
}

.article-text {
    font-size: calc(0.9rem + 0.2vw);
    margin: 20px 0;
    text-align: justify;
    width: 100%;
}

.section-title {
    font-size: calc(1.1rem + 0.3vw);
    font-weight: bold;
    margin: 40px 0 20px;
    width: 100%;
    text-align: center;
}

.dialog-box-content {
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #000;
    margin: 20px 0;
    width: 100%;
}

.dialog-box-content p {
    margin-bottom: 15px;
    width: 100%;
}

/* Top earners list */
/* 1. Базовый стиль (Mobile First) — по умолчанию в столбик для маленьких экранов */
.top-earners-container {
    max-width: 800px;
    width: 100%;
    margin: 30px auto;
    padding: 0 15px;
}

.item {
    display: flex;
    flex-direction: column; /* В столбик на мобилках */
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
}

.place {
    display: flex;
    flex-direction: column; /* Аватар над именем на мобилке */
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 8px;
    object-fit: cover;
}

.progress-container {
    display: flex;
    flex-direction: column; /* Полоска над суммой на мобилке */
    align-items: center;
    width: 100%;
    gap: 10px;
}

.progress {
    width: 100%;
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

/* 2. ДЕСКТОП И ПЛАНШЕТЫ (от 600px до 1920px) — всё строго в одну строку */
@media (min-width: 600px) {
    .item {
        flex-direction: row !important; /* В одну строку */
        justify-content: space-between !important;
        text-align: left;
        padding: 12px 20px !important;
    }

    .place {
        display: flex !important;
        flex-direction: row !important; /* Номер + Аватар + Имя в ряд */
        align-items: center !important;
        margin-bottom: 0 !important;
        width: auto !important;
        flex: 0 0 250px !important; /* Фиксируем левую часть */
    }

    .place__num {
        font-weight: bold;
        min-width: 30px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        margin: 0 12px !important;
        object-fit: cover;
    }

    .place__name {
        margin: 0;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
    }

    .progress-container {
        display: flex !important;
        flex-direction: row !important; /* Полоска + Сумма в ряд */
        align-items: center !important;
        flex: 1 !important;
        justify-content: flex-end !important;
        margin-left: 20px !important;
    }

    .progress {
        flex: 1 !important; /* Полоска растягивается */
        max-width: 250px !important;
        margin-bottom: 0 !important;
    }

    .progress__info {
        min-width: 120px;
        text-align: right;
    }
}

/* 3. Анимация (оставь как была) */
.progress__bar {
    height: 100%;
    background: linear-gradient(to right, #007bff, #00bfff, #007bff);
    background-size: 200% 100%;
    animation: gradientShift 2s infinite linear;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Calculator styles */
.calculator-container {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin: 30px auto;
    width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive adjustments for calculator */
@media (max-width: 1200px) {
    .calculator-container {
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .calculator-container {
        width: 95%;
        padding: 15px;
    }
    
    #calculator-title {
        font-size: 1rem;
    }
    
    .profit-grid-container {
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .calculator-container {
        width: 100%;
        padding: 15px;
        margin: 20px 0;
    }
    
    #calculator-title {
        font-size: 0.9rem;
    }
    
    .profit-slider-container {
        margin-bottom: 10px;
    }
    
    .slider-labels {
        font-size: 0.7rem;
    }
    
    #profitDaily, #profitMonthly, #profitHalfYear {
        font-size: 0.9rem;
    }
}

#calculator-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.profit-grid-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.profit-slider-container {
    width: 100%;
    position: relative;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #666;
}

.profit-slider {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    -webkit-appearance: none;
    position: relative;
}

.profit-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.profit-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.output {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#invest-txt, .profit-summary-name-txt {
    font-weight: bold;
    text-align: center;
}

.profit-summary-txt {
    font-weight: bold;
    color: #007bff;
    text-align: center;
}

#profitDaily, #profitMonthly, #profitHalfYear {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Notification banner */
.notification-banner {
    background-color: #000;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    width: 100%;
}

.notification-banner p {
    text-align: center;
    font-size: calc(0.9rem + 0.2vw);
    width: 100%;
}

.center-text {
    text-align: center;
    font-weight: bold;
    margin: 30px 0;
    font-size: calc(1rem + 0.3vw);
    width: 100%;
}

/* Registration form */
.registration-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    width: 100%;
    text-align: center;
    position: relative;
}

.registration-header {
    text-align: center;
    margin-bottom: 20px;
}

.registration-header h3 {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: #007bff;
}

.registration-header p {
    font-size: 1rem;
    margin: 0;
    color: #d9534f;
    font-weight: bold;
}

.registration-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 20px auto;
    display: block;
}

.attention-title {
    font-size: 1.2rem;
    color: #d9534f;
    margin: 20px 0;
    font-weight: bold;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 5px;
}

.time-label {
    font-size: 0.8rem;
    color: #666;
}

.register-btn {
    background-color: #d9534f;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin: 20px 0;
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 20px auto;
}

.register-btn:hover {
    background-color: #c9302c;
}

.guarantee-text {
    font-size: 0.9rem;
    margin: 10px 0;
    color: #666;
}

.copyright-text {
    font-size: 0.8rem;
    margin: 0 0 20px 0;
    color: #999;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.register-now-btn {
    background-color: #d9534f;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin: 20px 0;
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 20px auto;
}

.register-now-btn:hover {
    background-color: #c9302c;
}

.form-submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    max-width: 300px;
    display: block;
    margin: 15px auto 0 auto;
}

.form-submit-btn:hover {
    background-color: #0056b3;
}

/* Testimonials */
.testimonials {
    margin: 30px 0;
    width: 100%;
}

.testimonial {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    width: 100%;
}

.testimonial p:first-child {
    font-style: italic;
    margin-bottom: 10px;
}

.author {
    text-align: right;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 1200px) {
    .container {
        max-width: 90%;
    }
    
    .container-full-width {
        max-width: 90%;
    }
    
    .logo {
        width: 300px;
        height: auto;
    }
    
    .icon-search {
        margin-right: 100px;
    }
    
    .btn-menu {
        display: none;
    }
    
    .icon-search {
        display: none;
    }
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    
    .container-full-width {
        padding: 0 10px;
    }
    
    .pre-header {
        height: auto;
        padding: 10px 0;
    }
    
    .pre-header .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pre-header-item {
        margin-right: 10px;
    }
    
    .pre-header-separator {
        margin: 0 10px;
    }
    
    .sticky-header {
        height: auto;
        padding: 15px 0;
    }
    
    .header-left, .header-center, .header-right {
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }
    
    .header-left {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    
    .menu-section {
        margin-right: 0; /* Отступ от меню до лупы теперь через spacer */
    }
    
    .spacer-5px {
        margin-left: 5px;
    }
    
    .icon-search {
        margin-left: 5px; /* Обновлено: теперь отступ от меню до лупы 5px */
    }
    
    .header-right {
        flex-wrap: wrap;
        gap: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
    
    .icon-search {
        margin-left: 0;
    }
    
    .logo {
        width: 250px;
    }
    
    .post-header {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }
    
    .post-header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .financial-info, .news-info {
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .item {
        flex-direction: column;
        align-items: center;
    }
    
    .place {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }
    
    .progress {
        width: 100%;
        align-items: center;
    }
    
    .article-content {
        padding: 0 10px;
    }
}

    
    .sticky-header {
        height: auto;
        padding: 15px 0;
    }
    
    .header-left, .header-center, .header-right {
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }
    
    .header-left {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    
    .menu-section {
        margin-right: 0; /* Отступ от меню до лупы теперь через spacer */
    }
    
    .spacer-5px {
        margin-left: 5px;
    }
    
    .icon-search {
        margin-left: 5px; /* Обновлено: теперь отступ от меню до лупы 5px */
    }
    
    .header-right {
        flex-wrap: wrap;
        gap: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
    
    .icon-search {
        margin-left: 0;
    }
    
    .logo {
        width: 250px;
    }
    
    .post-header {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }
    
    .post-header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .financial-info, .news-info {
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .item {
        flex-direction: column;
        align-items: center;
    }
    
    .place {
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
    }
    
    .progress {
        width: 100%;
        align-items: center;
    }
    
    .article-content {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
    }
    
    .main-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .logo {
        width: 200px;
    }
    
    .btn-session {
        width: 100px;
        height: 35px;
        font-size: 9px;
    }
    
    .btn-subscribe {
        width: 150px;
        height: 35px;
        padding: 0 10px;
    }
    
    .icon-subscribe {
        margin-right: 5px;
    }
    
    .btn-subscribe span {
        font-size: 9px;
    }
    
    .dialog-box {
        width: 200px;
        font-size: 11px;
    }
    
    .dialog-above {
        top: -40px;
        width: 200px;
    }
    
    .financial-info, .news-info {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .top-list {
        padding: 0;
    }
    
    .item {
        padding: 15px;
    }
    
    .calculator-container {
        padding: 15px;
    }
    
    #calculator-title {
        font-size: 1rem;
    }
    
    .article-content {
        padding: 0 5px;
    }
    
    .menu-section {
        flex-direction: row;
        align-items: center;
    }
    
    .header-left {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .header-right {
        flex-direction: row;
        align-items: center;
    }
    
    .icon-search {
        width: 23px;
        height: 23px;
        margin-left: 5px; /* Обновлено: теперь отступ от меню до лупы 5px */
        margin-top: 0;
    }
    
    .icon-notifications {
        width: 21px;
        height: 21px;
    }
    
    .icon-subscribe {
        width: 17px;
        height: 17px;
        margin-right: 2px;
    }
    
    .logo {
        width: 150px;
    }
    .pre-header-inner-container {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 10px 15px;
    }
    .pre-header-item {
        font-size: 10px;
        margin: 5px;
    }
    .pre-header-separator {
        display: none;
    }
    .btn-non-clickable {
        font-size: 10px;
    }
    .pre-header-text { /* Добавляем сюда для уменьшения текста */
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .top-earners-container {
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }
    
    .item {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 15px;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .place {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .place__num {
        font-weight: bold;
        min-width: 30px;
        flex-shrink: 0;
    }
    
    .avatar {
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }
    
    .place__name {
        margin: 0;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        flex: 1;
    }
    
    .progress-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
        box-sizing: border-box;
    }
    
    .progress {
        width: 100%;
        max-width: 100%;
    }
    
    .progress__bar {
        width: 100%;
        height: 10px;
    }
    
    .progress__info {
        font-size: 12px;
        width: 100%;
        text-align: center;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .container-full-width {
        padding: 0 5px;
    }
    
    .pre-header-item {
        margin-right: 5px;
    }
    
    .pre-header-separator {
        margin: 0 5px;
    }
    
    .btn-non-clickable {
        font-size: 10px;
    }
    
    .pre-header-text {
        font-size: 10px;
    }
    
    .icon-medium {
        width: 23px;
        height: 19px;
    }
    
    .logo {
        width: 150px;
    }
    
    .btn-menu {
        font-size: 8px;
    }
    
    .icon-search {
        width: 23px;
        height: 23px;
    }
    
    .icon-notifications {
        width: 21px;
        height: 21px;
    }
    
    .btn-session {
        width: 80px;
        height: 30px;
        font-size: 8px;
    }
    
    .btn-subscribe {
        width: 120px;
        height: 30px;
        padding: 0 8px;
    }
    
    .icon-subscribe {
        width: 14px;
        height: 14px;
        margin-right: 3px;
    }
    
    .btn-subscribe span {
        font-size: 8px;
    }
    
    .dialog-box {
        width: 180px;
        font-size: 10px;
    }
    
    .financial-info span, .news-info span {
        font-size: 10px;
    }
    
    .main-title {
        font-size: 1.3rem;
    }
    
    .main-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .center-text {
        font-size: 1rem;
    }
    
    .registration-form {
        padding: 20px;
    }
    
    .article-content {
        padding: 0;
    }
    
    .header-left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .menu-section {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .spacer-5px {
        display: none; /* Скрыть отступ на мобильных устройствах, так как элементы будут в столбце */
    }
    
    .icon-search {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .header-right {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .icon-search {
        width: 23px;
        height: 23px;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .financial-info, .news-info {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}

/* Additional responsive adjustments */
@media (max-width: 480px) {
    
    .sticky-header {
        padding: 10px 0;
    }
    
    .header-left, .header-center, .header-right {
        margin: 5px 0;
    }
    
    .menu-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .spacer-5px {
        display: none; /* Скрыть отступ на мобильных устройствах, так как элементы будут в столбце */
    }
    
    .header-left {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-right {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .logo {
        width: 120px;
    }
    
    .btn-menu {
        font-size: 7px;
    }
    
    .icon-search {
        width: 23px;
        height: 23px;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .btn-session {
        width: 70px;
        height: 25px;
        font-size: 7px;
    }
    
    .btn-subscribe {
        width: 100px;
        height: 25px;
        font-size: 7px;
    }
    
    .icon-subscribe {
        width: 17px;
        height: 17px;
        margin-right: 2px;
    }
    
    .dialog-box {
        width: 150px;
        font-size: 9px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .main-title {
        font-size: 1.2rem;
    }
    
    .main-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .center-text {
        font-size: 0.9rem;
    }
    
    .notification-banner p {
        font-size: 0.8rem;
    }
    
    .article-content {
        padding: 0;
    }
}

/* Footer styles */
.footer {
    background-color: #fff;
    padding: 50px 0 15px 0;
    margin-top: 50px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-logo {
    display: block;
    margin: 0 auto 30px auto;
    width: 200px;
    height: auto;
}

.divider-line {
    width: 1200px;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto 50px auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.footer-column {
    flex: 1;
    margin-right: 20px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-image {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.footer-guarantee {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.footer-copyright {
    font-size: 10px;
    color: #666;
    margin-bottom: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-bottom-column {
    flex: 1;
    margin-right: 20px;
}

.footer-bottom-column:last-child {
    margin-right: 0;
}

.footer-bottom-column p {
    margin: 0 0 10px 0;
    font-size: 12px;
    line-height: 1.4;
}

.copyright {
    text-align: center;
    font-size: 10px;
    line-height: 1.4;
    margin-bottom: 15px;
    padding: 0 20px;
}

.footer-bottom-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.left-text {
    text-align: left;
    font-size: 10px;
    flex: 1;
}

.middle-text {
    text-align: center;
    font-size: 10px;
    flex: 1;
}

.right-text {
    text-align: right;
    font-size: 10px;
    flex: 1;
}

.left-text a, .middle-text a, .right-text a {
    color: #000;
    text-decoration: none;
}

.left-text a:hover, .middle-text a:hover, .right-text a:hover {
    text-decoration: underline;
}

/* Additional responsive adjustments */
@media (max-width: 1200px) {
    .divider-line {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .footer-bottom-column {
        margin-bottom: 20px;
    }
    
    .footer-bottom-text {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .left-text, .right-text {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 15px 0;
    }
    
    .footer-logo {
        width: 150px;
    }
    
    .divider-line {
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-container {
        padding: 0 10px;
    }
    
    .footer-logo {
        width: 120px;
    }
    
    .divider-line {
        width: 100%;
        margin: 0 auto 20px auto;
    }
    
    .footer-column h3 {
        font-size: 12px;
    }
    
    .footer-column a {
        font-size: 11px;
    }
    
    .footer-bottom-column p {
        font-size: 11px;
    }
    
    .copyright {
        font-size: 9px;
    }
    
    .left-text, .right-text {
        font-size: 9px;
    }
}

/* Video container styles */
.video-container {
    width: 800px;
    margin: 30px auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive adjustments for video */
@media (max-width: 1200px) {
    .video-container {
        width: 90%;
    }
    
    .video-container video {
        width: 100%;
        height: auto;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .video-container {
        width: 95%;
        padding: 0 10px;
    }
    
    .video-container video {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .video-container {
        width: 100%;
        padding: 0 5px;
    }
    
    .video-container video {
        width: 100%;
        height: auto;
        max-height: 300px; /* Limit height on small screens */
    }
}

/* Hide pre-header and post-header on screens below 1240px */
@media (max-width: 1239px) {
    .pre-header {
        display: none;
    }
    
    .post-header {
        display: none;
    }
}

/* Hide session and subscription buttons on screens below 1240px */
@media (max-width: 1239px) {
    .btn-session {
        display: none;
    }
    
    .btn-subscribe {
        display: none;
    }
    
    .subscribe-btn-wrapper {
        display: none;
    }
}