.secondary-navbar {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    margin-top: 70px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    width: 100%;
    display: flex;
    justify-content: center;
}

.secondary-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 900px;
    width: 100%;
    margin-left: 30px;
}

.secondary-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.secondary-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid #ffcc00;
}

.secondary-nav-link.disabled {
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

.secondary-nav-link i {
    font-size: 0.9rem;
}

.main-container {
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

.texts-content-wrapper {
    min-height: 60vh;
    padding: 30px 0;
}

/* Кнопка "Наверх" */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 100;
    background: #2a3eb1;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(42,62,177,0.15);
    transition: background 0.2s;
}

#back-to-top:hover {
    background: #1d295c;
}

.site-footer {
    background: linear-gradient(90deg, #2a3eb1 0%, #1d295c 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

