
/* =================================================================
   TOBUILD - СТРАНИЦА "РЕДАКТИРОВАНИЕ ПРОФИЛЯ"
   ТОЛЬКО НОВЫЕ СТИЛИ (не дублирующие profile.css)
   ================================================================= */
body {
    font-family: "Onest", sans-serif;
    background-color: #fff;
}
/* =================================================================
   1. КОНТЕНТ-ОБЕРТКА
   ================================================================= */
.content-wrapper {
    display: flex;
    gap: 40px;
}

/* =================================================================
   2. КНОПКА "НАЗАД"
   ================================================================= */
.back-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    cursor: pointer;
    width: fit-content;
}

.back-button {
    width: 24px;
    height: 24px;
    background-color: #E74915;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.back-button i {
    color: white;
    font-size: 16px;
    transform: rotate(180deg);
}

.back-text {
    font-size: 16px;
    font-weight: 500;
    color: #1E1E1E;
}

/* =================================================================
   3. ЗАГОЛОВОК ФОРМЫ
   ================================================================= */
.edit-form-title {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #1E1E1E;
    margin-bottom: 30px;
}

/* =================================================================
   4. АВАТАР С РЕДАКТИРОВАНИЕМ
   ================================================================= */
.avatar-large {
    position: relative;
    cursor: pointer;
}

.avatar-edit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-large:hover .avatar-edit-overlay {
    opacity: 1;
}

/* =================================================================
   5. СЕТКА ФОРМЫ
   ================================================================= */
.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    flex: 1;
}

/* =================================================================
   6. КАСТОМНЫЕ ПОЛЯ ВВОДА
   ================================================================= */
.form-control-custom {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E0E4EC;
    border-radius: 15px;
    background-color: #F6F7FA;
    font-size: 16px;
    color: #1E1E1E;
    outline: none;
    font-family: 'Onest', sans-serif;
    transition: border-color 0.2s ease;
}

.form-control-custom:focus {
    border-color: #E74915;
}

.form-control-custom::placeholder {
    color: #6B7280;
}

.form-control-custom:read-only {
    background-color: #F6F7FA;
    color: #6B7280;
    cursor: default;
}

/* =================================================================
   7. РАДИО-ГРУППЫ
   ================================================================= */
.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 10px 14px;
    background-color: #F6F7FA;
    border-radius: 15px;
    height: 60px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #E74915;
    margin: 0;
}

.radio-item span {
    font-size: 16px;
    color: #1E1E1E;
}

.radio-item.inactive span {
    color: #6B7280;
}

/* =================================================================
   8. СПЕЦИАЛЬНЫЕ ЭЛЕМЕНТЫ
   ================================================================= */
.delete-user-label {
    color: #E71531 !important;
}

.info-text {
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
    margin-bottom: 20px;
}

/* =================================================================
   9. КНОПКИ ДЕЙСТВИЙ
   ================================================================= */
.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.btn-save {
    background-color: #E74915;
    border: none;
    border-radius: 15px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    min-width: 200px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Onest', sans-serif;
}

.btn-save:hover {
    background-color: #d13d0c;
}

.btn-reset {
    background-color: transparent;
    border: 1px solid #6B7280;
    border-radius: 15px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #6B7280;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Onest', sans-serif;
}

.btn-reset:hover {
    background-color: #f0f0f0;
}

/* =================================================================
   10. АДАПТИВНОСТЬ (дополнения к profile.css)
   ================================================================= */
@media (max-width: 992px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .form-group {
        width: 100%;
    }
    .radio-group {
        height: auto;
        min-height: 60px;
    }
}

@media (max-width: 768px) {
    .back-link {
        margin-bottom: 16px;
    }
    .back-button {
        width: 20px;
        height: 20px;
    }
    .back-button i {
        font-size: 14px;
    }
    .back-text {
        font-size: 14px;
    }
    .edit-form-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    .form-control-custom,
    .select-custom {
        font-size: 14px;
        padding: 8px 12px;
    }
    .radio-group {
        gap: 15px;
        padding: 8px 12px;
    }
    .radio-item span {
        font-size: 14px;
    }
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn-save,
    .btn-reset {
        width: 100%;
        min-width: auto;
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .edit-form-title {
        font-size: 22px;
    }
    .form-control-custom,
    .select-custom {
        font-size: 13px;
        padding: 8px 10px;
    }
    .radio-group {
        gap: 12px;
    }
    .radio-item span {
        font-size: 13px;
    }
    .info-text {
        font-size: 11px;
    }
    .btn-save,
    .btn-reset {
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .edit-form-title {
        font-size: 20px;
    }
    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        gap: 8px;
    }
    .radio-item {
        width: 100%;
    }
    .form-actions {
        margin-top: 16px;
    }
    .btn-save,
    .btn-reset {
        font-size: 13px;
        padding: 10px 14px;
    }
}


/* =================================================================
   TOBUILD - СТРАНИЦА "ДОБАВЛЕНИЕ РАБОТЫ В ПОРТФОЛИО"
   ТОЛЬКО НОВЫЕ СТИЛИ (не дублирующие profile.css / portfolio.css)
   ================================================================= */

/* =================================================================
   1. КНОПКА "НАЗАД"
   ================================================================= */
.back-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    cursor: pointer;
    width: fit-content;
}

.back-button {
    width: 24px;
    height: 24px;
    background-color: #E74915;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(180deg);
    flex-shrink: 0;
}

.back-button i {
    color: white;
    font-size: 16px;
}

.back-text {
    font-size: 16px;
    font-weight: 500;
    color: #1E1E1E;
}

/* =================================================================
   2. КАРТОЧКА ФОРМЫ
   ================================================================= */
.form-card {
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 32px;
    width: 100%;
}

/* =================================================================
   3. ЗАГОЛОВКИ ФОРМЫ
   ================================================================= */
.form-main-title {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #1E1E1E;
    margin-bottom: 40px;
}

.form-section-title {
    font-size: 20px;
    font-weight: 500;
    color: #1E1E1E;
    margin: 32px 0 24px 0;
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.upload-section-title {
    font-size: 22px;
    font-weight: 500;
    color: #1E1E1E;
    margin: 40px 0 24px 0;
}

/* =================================================================
   4. СЕТКА ФОРМЫ
   ================================================================= */
.form-row {
    display: flex;
    gap: 36px;
    margin-bottom: 24px;
}

.form-group {
    flex: 1;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #1E1E1E;
    margin-bottom: 8px;
    display: block;
}

/* =================================================================
   5. ПОЛЯ ВВОДА
   ================================================================= */
.form-control-custom {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E0E4EC;
    border-radius: 15px;
    background-color: #F6F7FA;
    font-size: 16px;
    color: #1E1E1E;
    outline: none;
    font-family: 'Onest', sans-serif;
}

.form-control-custom:focus {
    border-color: #E74915;
}

.form-control-custom::placeholder {
    color: #6B7280;
}

/* =================================================================
   6. ТЕКСТОВАЯ ОБЛАСТЬ
   ================================================================= */
.textarea-custom {
    width: 100%;
    padding: 14px;
    border: 1px solid #E0E4EC;
    border-radius: 15px;
    background-color: #F6F7FA;
    font-size: 16px;
    color: #1E1E1E;
    outline: none;
    font-family: 'Onest', sans-serif;
    resize: vertical;
    min-height: 162px;
}

.textarea-custom:focus {
    border-color: #E74915;
}

/* =================================================================
   7. КНОПКИ ЗАГРУЗКИ
   ================================================================= */
.upload-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 110%;
    cursor: pointer;
    white-space: nowrap;
}

.upload-btn.primary {
    background-color: #1E1E1E;
    color: #FFFFFF;
}

.upload-btn.secondary {
    background-color: #EDF0F5;
    color: #1E1E1E;
}

.upload-btn.warning {
    background-color: rgba(231, 21, 49, 0.1);
    color: #E71531;
}

.upload-btn i {
    font-size: 20px;
}

/* =================================================================
   8. ЧЕКБОКС "ОТМЕТИТЬ ВСЕ"
   ================================================================= */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid #E0E4EC;
    border-radius: 4px;
    cursor: pointer;
}

.checkbox-wrapper span {
    font-size: 16px;
    color: #6B7280;
}

/* =================================================================
   9. DROP ZONE (ЗОНА ЗАГРУЗКИ)
   ================================================================= */
.drop-zone {
    width: 100%;
    min-height: 120px;
    background-color: #F6F7FA;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 27px;
    margin-bottom: 40px;
    cursor: pointer;
    border: 2px dashed #E0E4EC;
}

.drop-zone i {
    font-size: 32px;
    color: #6B7280;
}

.drop-zone span {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
}

/* =================================================================
   10. КНОПКА ОТПРАВКИ
   ================================================================= */
.submit-btn {
    background-color: #E74915;
    border: none;
    border-radius: 15px;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    min-width: 300px;
    cursor: pointer;
    margin-top: 32px;
    font-family: 'Onest', sans-serif;
}

.submit-btn:hover {
    background-color: #d13d0c;
}

/* =================================================================
   11. АДАПТИВНОСТЬ (дополнения к profile.css)
   ================================================================= */
@media (max-width: 1400px) {
    .profile-wrapper {
        padding: 20px 40px 40px 40px;
    }
}

@media (max-width: 1200px) {
    .form-main-title {
        font-size: 28px;
    }
    .form-row {
        gap: 24px;
    }
    .upload-actions {
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    .content-area {
        max-width: 100%;
        margin-left: 0;
    }
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    .form-group {
        width: 100%;
    }
    .form-group[style*="max-width: 470px"] {
        max-width: 100% !important;
    }
    .upload-actions {
        justify-content: center;
    }
    .checkbox-wrapper {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .profile-wrapper {
        padding: 20px 20px 30px 20px;
    }
    .header {
        padding: 0 20px;
        height: 70px;
    }
    .logo-placeholder {
        width: 140px;
        height: 45px;
        font-size: 14px;
    }
    .notification-btn {
        width: 40px;
        height: 40px;
    }
    .notification-badge {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
    .user-dropdown-btn {
        padding: 0 8px 0 0;
        height: 40px;
    }
    .user-avatar-small {
        width: 40px;
        height: 40px;
    }
    .user-dropdown-btn span {
        display: none;
    }
    .rotate-90 {
        font-size: 14px;
    }
    .form-card {
        padding: 24px;
    }
    .form-main-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .form-section-title {
        font-size: 18px;
        margin: 24px 0 16px 0;
    }
    .upload-section-title {
        font-size: 20px;
        margin: 30px 0 20px 0;
    }
    .upload-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .upload-btn {
        width: 100%;
        justify-content: center;
    }
    .checkbox-wrapper {
        margin-top: 8px;
        justify-content: center;
    }
    .drop-zone {
        padding: 20px;
        min-height: 100px;
    }
    .drop-zone i {
        font-size: 28px;
    }
    .drop-zone span {
        font-size: 13px;
    }
    .submit-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .header {
        height: 60px;
    }
    .logo-placeholder {
        width: 120px;
        height: 40px;
        font-size: 13px;
    }
    .notification-btn {
        width: 36px;
        height: 36px;
    }
    .user-dropdown-btn {
        height: 36px;
    }
    .user-avatar-small {
        width: 36px;
        height: 36px;
    }
    .back-link {
        margin-bottom: 16px;
    }
    .back-button {
        width: 20px;
        height: 20px;
    }
    .back-button i {
        font-size: 14px;
    }
    .back-text {
        font-size: 14px;
    }
    .form-card {
        padding: 20px;
        border-radius: 20px;
    }
    .form-main-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    .form-section-title {
        font-size: 16px;
    }
    .upload-section-title {
        font-size: 18px;
    }
    .form-group label {
        font-size: 13px;
    }
    .form-control-custom,
    .select-custom,
    .textarea-custom {
        font-size: 14px;
        padding: 8px 12px;
    }
    .upload-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
    .upload-btn i {
        font-size: 18px;
    }
    .checkbox-wrapper span {
        font-size: 14px;
    }
    .drop-zone {
        padding: 16px;
        min-height: 80px;
    }
    .drop-zone i {
        font-size: 24px;
    }
    .drop-zone span {
        font-size: 12px;
    }
    .submit-btn {
        font-size: 14px;
        padding: 8px 12px;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .profile-wrapper {
        padding: 15px 15px 25px 15px;
    }
    .logo-placeholder {
        width: 100px;
        height: 36px;
        font-size: 12px;
    }
    .notification-btn {
        width: 32px;
        height: 32px;
    }
    .user-dropdown-btn {
        height: 32px;
    }
    .user-avatar-small {
        width: 32px;
        height: 32px;
    }
    .form-main-title {
        font-size: 20px;
    }
    .form-section-title {
        font-size: 15px;
    }
    .upload-section-title {
        font-size: 16px;
    }
    .upload-actions {
        gap: 8px;
    }
    .upload-btn {
        padding: 8px 10px;
        font-size: 12px;
    }
    .upload-btn i {
        font-size: 16px;
    }
    .checkbox-wrapper input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
    .checkbox-wrapper span {
        font-size: 13px;
    }
    .drop-zone {
        gap: 8px;
    }
    .drop-zone i {
        font-size: 22px;
    }
    .drop-zone span {
        font-size: 11px;
    }
}
/* =================================================================
   TOBUILD - СТРАНИЦА "ПРОСМОТР РАБОТЫ"
   ТОЛЬКО НОВЫЕ СТИЛИ (не дублирующие profile.css / portfolio.css)
   ================================================================= */

/* =================================================================
   1. ВЕРХНЯЯ ПАНЕЛЬ РАБОТЫ
   ================================================================= */
.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.work-title-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.work-main-title {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #1E1E1E;
    line-height: 40px;
    margin: 0;
}

.work-date {
    font-size: 16px;
    color: #6B7280;
    line-height: 130%;
}

/* Кнопки действий */
.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: #FFFFFF;
    border-radius: 10px;
    border: none;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.btn-icon i {
    font-size: 20px;
}

.btn-icon:hover {
    background-color: #f0f0f0;
}

/* =================================================================
   2. ГАЛЕРЕЯ ИЗОБРАЖЕНИЙ
   ================================================================= */
.gallery {
    width: 100%;
    height: 387px;
    background: linear-gradient(135deg, #C4C4C4 0%, #E0E4EC 100%);
    border-radius: 30px;
    margin-bottom: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.gallery-nav {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.gallery-nav:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-nav.left i {
    transform: rotate(180deg);
}

/* =================================================================
   3. КАРТОЧКА ИСПОЛНИТЕЛЯ
   ================================================================= */
.executor-card {
    background-color: #EDF0F5;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 520px;
    margin-bottom: 40px;
}

.executor-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #C4C4C4 0%, #E0E4EC 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.executor-info {
    flex: 1;
}

.executor-name {
    font-size: 20px;
    font-weight: 500;
    color: #1E1E1E;
    margin-bottom: 4px;
}

.executor-role {
    font-size: 16px;
    color: #6B7280;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    gap: 4px;
}

.star {
    width: 20px;
    height: 20px;
    background-color: #FF6B35;
    border-radius: 1px;
}

.star.inactive {
    background-color: #E3E6ED;
}

/* =================================================================
   4. КОНТЕЙНЕР С ПРОКРУТКОЙ
   ================================================================= */
.content-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 20px;
}

/* Кастомный скроллбар */
.content-scroll::-webkit-scrollbar {
    width: 6px;
}

.content-scroll::-webkit-scrollbar-track {
    background: #E0E4EC;
    border-radius: 10px;
}

.content-scroll::-webkit-scrollbar-thumb {
    background: #6B7280;
    border-radius: 10px;
}

.content-scroll::-webkit-scrollbar-thumb:hover {
    background: #E74915;
}

/* =================================================================
   5. СЕКЦИИ КОНТЕНТА
   ================================================================= */
.content-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 22px;
    font-weight: 500;
    color: #1E1E1E;
    margin-bottom: 16px;
}

.section-text {
    font-size: 16px;
    line-height: 130%;
    color: #6B7280;
    margin-bottom: 16px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    font-size: 16px;
    line-height: 130%;
    color: #6B7280;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6B7280;
}

.project-details {
    font-size: 22px;
    font-weight: 500;
    color: #1E1E1E;
    line-height: 120%;
    margin: 32px 0 16px 0;
}

.project-details p {
    margin-bottom: 8px;
}

/* =================================================================
   6. АДАПТИВНОСТЬ (дополнения к profile.css)
   ================================================================= */
@media (max-width: 1200px) {
    .work-main-title {
        font-size: 32px;
        line-height: 36px;
    }
    .executor-card {
        width: 100%;
    }
    .content-scroll {
        max-height: 500px;
    }
}

@media (max-width: 992px) {
    .gallery {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .work-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .work-main-title {
        font-size: 28px;
        line-height: 32px;
    }
    .work-date {
        font-size: 14px;
    }
    .action-buttons {
        width: 100%;
    }
    .btn-icon {
        flex: 1;
        justify-content: center;
    }
    .gallery {
        height: 300px;
        border-radius: 20px;
        margin-bottom: 30px;
    }
    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .executor-card {
        padding: 16px;
        margin-bottom: 30px;
    }
    .executor-avatar {
        width: 80px;
        height: 80px;
    }
    .executor-name {
        font-size: 18px;
    }
    .executor-role {
        font-size: 14px;
    }
    .star {
        width: 18px;
        height: 18px;
    }
    .content-scroll {
        max-height: 400px;
        padding-right: 12px;
    }
    .content-section {
        margin-bottom: 24px;
    }
    .section-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    .section-text {
        font-size: 14px;
    }
    .features-list li {
        font-size: 14px;
    }
    .project-details {
        font-size: 20px;
        margin: 24px 0 12px 0;
    }
}

@media (max-width: 576px) {
    .work-main-title {
        font-size: 24px;
        line-height: 28px;
    }
    .btn-icon {
        padding: 8px 12px;
        font-size: 13px;
    }
    .btn-icon i {
        font-size: 18px;
    }
    .gallery {
        height: 250px;
    }
    .gallery-nav {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    .executor-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .executor-avatar {
        width: 100px;
        height: 100px;
    }
    .rating {
        justify-content: center;
    }
    .content-scroll {
        max-height: 350px;
    }
    .section-title {
        font-size: 18px;
    }
    .project-details {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .work-main-title {
        font-size: 22px;
        line-height: 26px;
    }
    .action-buttons {
        flex-direction: column;
    }
    .btn-icon {
        width: 100%;
    }
    .gallery {
        height: 200px;
    }
    .gallery-nav {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    .executor-avatar {
        width: 90px;
        height: 90px;
    }
    .executor-name {
        font-size: 16px;
    }
    .executor-role {
        font-size: 13px;
    }
    .star {
        width: 16px;
        height: 16px;
    }
    .content-scroll {
        max-height: 300px;
        padding-right: 8px;
    }
    .section-title {
        font-size: 16px;
    }
    .section-text,
    .features-list li {
        font-size: 13px;
    }
    .project-details {
        font-size: 16px;
    }
    .project-details p {
        margin-bottom: 4px;
    }
}
/* =================================================================
   TOBUILD - СТРАНИЦА "МОЙ ПРОФИЛЬ"
   Все стили вынесены из HTML атрибутов style="..." и <style> тегов
   ================================================================= */

/* =================================================================
   1. ОБЩИЕ СТИЛИ И СБРОС
   ================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F6F7FA;
    font-family: 'Onest', sans-serif;
}

/* =================================================================
   2. ЦВЕТОВЫЕ И ПОЛЕЗНЫЕ КЛАССЫ
   ================================================================= */
.text-gray {
    color: #6B7280 !important;
}

.text-orange {
    color: #E74915 !important;
}

.bg-orange {
    background-color: #E74915 !important;
}

.bg-light-gray {
    background-color: #F6F7FA !important;
}

.border-gray {
    border: 1px solid #E0E4EC !important;
}

.fw-medium {
    font-weight: 500;
}

/* =================================================================
   3. ОСНОВНОЙ КОНТЕЙНЕР
   ================================================================= */
.profile-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    background-color: #F6F7FA;
    min-height: 100vh;
    padding: 20px 60px 60px 60px;
}

/* =================================================================
   4. ШАПКА (HEADER)
   ================================================================= */
.header {
    background-color: #FFFFFF;
    border-radius: 30px;
    height: 80px;
    padding: 0 40px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: static;
}

.logo-placeholder {
    width: 192px;
    height: 60px;
    background: linear-gradient(135deg, #E0E4EC 0%, #F6F7FA 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-weight: 500;
}

.notification-btn {
    width: 48px;
    height: 48px;
    background-color: #6B7280;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background-color: #E74915;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.user-dropdown-btn {
    background-color: #F6F7FA;
    border-radius: 15px;
    padding: 0 12px 0 0;
    height: 48px;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.user-dropdown-btn-blog {
    background-color: #F6F7FA;
    border-radius: 50px;
    padding: 0;
    height: 48px;
    border: none;
    display: flex;
    align-items: center;
    
    cursor: pointer;
}
.user-avatar-small {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #C4C4C4 0%, #E0E4EC 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.rotate-90 {
    transform: rotate(90deg);
}

/* =================================================================
   5. БОКОВОЕ МЕНЮ (SIDEBAR)
   ================================================================= */
.sidebar {
    width: 240px;
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 20px 0;
    flex-shrink: 0;
    height: 510px;
    padding: 10px;
}
.slide-bar-btn{
    color: rgba(107, 114, 128, 1) !important;
    display: flex;
    align-items: center;
    height: 44px;
    width: 100%;
    background-color: rgba(246, 247, 250, 1) !important;
}
.nav-item-custom {
    display: flex;
    align-items: center;
    height: 44px;
    width: 100%;
}
.nav-item-custom-blog{
    display: flex;
    align-items: center;
    height: 44px;
    width: 100%;
    background-color: rgba(255, 240, 234, 1);
    border-radius: 10px;
    margin-top: 10px;
}
.nav-link-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    width: 100%;
    text-decoration: none;
    color: #1E1E1E;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-link-custom:hover {
    color: #E74915;
}

.nav-link-custom.active {
    color: #E74915;
    font-weight: 500;
}

.nav-link-custom.active svg path {
    stroke: #E74915;
}

.nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-divider {
    border: 1px solid #E0E4EC;
    width: 100%;
    margin: 16px 0;
}

/* =================================================================
   6. ВЫПАДАЮЩИЕ СПИСКИ (SELECT)
   ================================================================= */
.select-custom {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E0E4EC;
    border-radius: 15px;
    background-color: #F6F7FA;
    font-size: 16px;
    color: #1E1E1E;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    font-family: 'Onest', sans-serif;
}

.select-custom:focus {
    border-color: #E74915;
    outline: none;
}

/* =================================================================
   7. ОСНОВНОЙ КОНТЕНТ
   ================================================================= */
.main-content {
    width: 1040px;
    margin-left: 40px;
}

.profile-card {
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 32px;
}

.avatar-large {
    width: 116px;
    height: 116px;
    background: linear-gradient(135deg, #C4C4C4 0%, #E0E4EC 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.btn-edit {
    background-color: #F6F7FA;
    border-radius: 10px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1E1E1E;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-edit:hover {
    background-color: #E0E4EC;
}

.btn-edit i {
    font-size: 20px;
    color: #1E1E1E;
}

.info-field {
    margin-bottom: 16px;
}

.info-field label {
    font-size: 14px;
    font-weight: 500;
    color: #1E1E1E;
    margin-bottom: 8px;
    display: block;
}

.info-field .field-value {
    border: 1px solid #E0E4EC;
    border-radius: 15px;
    padding: 10px 14px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #FFFFFF;
}

.field-value span {
    font-size: 16px;
    color: #1E1E1E;
}

.field-value.text-gray span {
    color: #6B7280;
}

.field-value i {
    font-size: 24px;
    color: #6B7280;
}

/* Заголовки */
.page-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
}

.section-title {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

/* =================================================================
   8. ФУТЕР (FOOTER)
   ================================================================= */
.footer {
    background-color: #EDF0F5;
    border-radius: 30px;
    padding: 40px 60px 30px;
    margin-top: 60px;
    width: 100%;
}

.footer h6 {
    font-size: 16px;
    font-weight: 500;
    color: #1E1E1E;
    margin-bottom: 16px;
}

.footer a {
    text-decoration: none;
    color: #6B7280;
    font-size: 14px;
    transition: color 0.3s;
}

.footer a:hover {
    color: #E74915;
}

.btn-figma {
    background-color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    color: #6B7280;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.btn-figma:hover {
    background-color: #f0f0f0;
    color: #6B7280;
}

.footer hr {
    border-color: #E0E4EC;
    opacity: 1;
    margin: 30px 0;
}

/* =================================================================
   9. АДАПТИВНОСТЬ
   ================================================================= */
/* Планшеты и меньше (до 1400px) */
@media (max-width: 1400px) {
    .profile-wrapper {
        padding: 20px 40px 40px 40px;
    }
    .main-content-wrapper {
        width: 100% !important;
    }
}

/* Ноутбуки и меньше (до 1200px) */
@media (max-width: 1200px) {
    .main-content {
        width: 100%;
    }
    .profile-card {
        padding: 24px;
    }
    .section-title {
        font-size: 28px !important;
    }
}

/* Планшеты (до 992px) */
@media (max-width: 992px) {
    .main-content-wrapper {
        flex-direction: column !important;
    }
    .sidebar {
        width: 100%;
        margin-bottom: 30px;
        height: auto;
    }
    .main-content {
        margin-left: 0;
    }
    .footer .row > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .profile-wrapper {
        padding: 20px 20px 30px 20px;
    }
    .header {
        padding: 0 20px;
        height: 70px;
    }
    .logo-placeholder {
        width: 140px;
        height: 45px;
        font-size: 14px;
    }
    .notification-btn {
        width: 40px;
        height: 40px;
    }
    .notification-badge {
        width: 16px;
        height: 16px;
        font-size: 10px;
    }
    .user-dropdown-btn {
        padding: 0 8px 0 0;
        height: 40px;
    }
    .user-dropdown-btn-blog {
        padding: 0 8px 0 0;
        height: 40px;
    }
    .user-avatar-small {
        width: 40px;
        height: 40px;
    }
    .user-dropdown-btn span {
        display: none;
    }
    .rotate-90 {
        font-size: 14px;
    }
    
    /* Карточка профиля */
    .profile-card.d-flex {
        flex-direction: column;
        text-align: center;
    }
    .avatar-large {
        margin: 0 auto;
    }
    .btn-edit {
        margin: 0 auto;
    }
    
    /* Заголовки */
    .section-title {
        font-size: 24px !important;
    }
    .page-subtitle {
        font-size: 18px;
    }
    
    /* Личные данные */
    .row.g-4 {
        flex-direction: column;
    }
    .col-md-6 {
        width: 100%;
    }
    .info-field .field-value {
        min-height: 50px;
    }
    .field-value span {
        font-size: 14px;
    }
    
    /* Футер */
    .footer {
        padding: 30px 20px 20px;
    }
    .footer .row > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .btn-figma {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Маленькие мобильные (до 576px) */
@media (max-width: 576px) {
    .header {
        height: 60px;
    }
    .logo-placeholder {
        width: 120px;
        height: 40px;
        font-size: 13px;
    }
    .notification-btn {
        width: 36px;
        height: 36px;
    }
    .user-dropdown-btn {
        height: 36px;
    }
    .user-dropdown-btn-blog {
        height: 36px;
    }
    .user-avatar-small {
        width: 36px;
        height: 36px;
    }
    .profile-card {
        padding: 20px;
        border-radius: 20px;
    }
    .section-title {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }
    .avatar-large {
        width: 100px;
        height: 100px;
    }
    .info-field label {
        font-size: 13px;
    }
    .info-field .field-value {
        padding: 8px 12px;
        min-height: 46px;
    }
    .field-value span {
        font-size: 14px;
    }
    .btn-edit {
        padding: 8px;
    }
    .btn-edit i {
        font-size: 18px;
    }
    .footer hr {
        margin: 20px 0;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .profile-wrapper {
        padding: 15px 15px 25px 15px;
    }
    .logo-placeholder {
        width: 100px;
        height: 36px;
        font-size: 12px;
    }
    .notification-btn {
        width: 32px;
        height: 32px;
    }
    .user-dropdown-btn {
        height: 32px;
    }
    .user-dropdown-btn-blog {
        height: 32px;
    }
    .user-avatar-small {
        width: 32px;
        height: 32px;
    }
    .section-title {
        font-size: 20px !important;
    }
    .page-subtitle {
        font-size: 16px;
    }
    .text-gray {
        font-size: 14px;
    }
    .avatar-large {
        width: 90px;
        height: 90px;
    }
    .info-field label {
        font-size: 12px;
    }
    .info-field .field-value {
        padding: 6px 10px;
        min-height: 42px;
    }
    .field-value span {
        font-size: 13px;
    }
    .btn-edit {
        padding: 6px 8px;
        font-size: 13px;
    }
    .btn-edit i {
        font-size: 16px;
    }
}



/* =================================================================
   3. ФИЛЬТРЫ (CHIP BUTTONS)
   ================================================================= */
   :root {
    --color-black: #1E1E1E;
    --color-dark-gray: #5C6270;
    --color-light-gray: #6B7280;
    --color-border: #E0E4EC;
    --color-bg-light: #EDF0F5;
    --color-accent: #E74915;
    --color-faq-bg: #F6F7FA;
    --color-white: #FFFFFF;
}

 .filter-scroll-wrapper {
       
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Градиентная маска показывающая что контент продолжается */
        mask-image: linear-gradient(to right, black calc(100% - 50px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black calc(100% - 50px), transparent 100%);
    }
    
    /* Скрываем скроллбар */
    .filter-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    /* Контейнер с кнопками */
    .filter-container {
        flex-wrap: nowrap !important;
        min-width: min-content;
    }
    /* Контейнер для скролла фильтров */
    .filter-chip-scroll {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
        scrollbar-width: none; /* Скрываем скроллбар в Firefox */
        padding-bottom: 5px; /* Немного места снизу */
        display: none;
    }
    
    /* Скрываем скроллбар в Chrome/Safari/Edge */
    .filter-chip-scroll::-webkit-scrollbar {
        display: none;
    }
    
    /* Контейнер с кнопками */
    .filter-chip-scroll .d-flex {
        flex-wrap: nowrap !important; /* Запрещаем перенос */
        min-width: min-content; /* Растягиваем по ширине контента */
    }
    
    /* Стили для кнопок (предполагаю, что у вас есть базовые стили для .filter-chip-btn) */
    .filter-chip-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 24px; /* Примерные отступы, замените на ваши */
        background-color: transparent;
        border: 1px solid var(--color-border, #dee2e6);
        border-radius: 30px; /* Скругленные края как у чипсов */
        font-size: 16px;
        font-weight: 500;
        color: var(--color-light-gray, #6c757d);
        white-space: nowrap; /* Текст в одну строку */
        cursor: pointer;
        transition: all 0.2s ease;
        flex: 0 0 auto; /* Запрещаем сжатие кнопок */
    }
    
    /* Стили для активной кнопки (если нужно) */
    .filter-chip-btn.active {
        background-color: var(--color-black);
        color: white;
        border-color: var(--color-black);
    }
    
    /* Hover эффект для десктопа */
    .filter-chip-btn:hover:not(.active) {
        background-color: var(--color-bg-light, #f8f9fa);
        border-color: var(--color-border, #dee2e6);
    }
    
    /* Стили фильтров */
    .filter-chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 20px;
        background-color: var(--color-bg-light);
        border: 1px solid transparent;
        border-radius: 15px;
        font-size: 16px;
        font-weight: 500;
        line-height: 120%;
        color: var(--color-light-gray);
        white-space: nowrap;
        width: auto;
        transition: all 0.2s ease;
        cursor: pointer;
        flex: 0 0 auto;
        max-width: 150px;
    }
    
    .filter-chip.active {
        background-color: var(--color-black);
        color: white;
        border-color: var(--color-black);
    }
    
    .filter-chip:not(.active) {
        border: 1px solid var(--color-border);
        background-color: transparent;
    }
    
    .filter-chip:hover:not(.active) {
        background-color: var(--color-border);
    }
    
    
   /* Контейнер-обертка для скролла */
    .filter-scroll-wrapper {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
        scrollbar-width: none; /* Скрываем скроллбар в Firefox */
        margin-bottom: -5px; /* Компенсируем отступ для скролла */
        padding-bottom: 5px; /* Небольшой отступ для контента */
    }
    
    /* Скрываем скроллбар в Chrome/Safari/Edge */
    .filter-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    /* Контейнер с кнопками */
    .filter-container {
        flex-wrap: nowrap !important; /* Запрещаем перенос кнопок */
        min-width: min-content; /* Контейнер растягивается по ширине контента */
    }
    
    /* Стили фильтров (ваши оригинальные с небольшими дополнениями) */
    .filter-chip1 {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 20px;
        background-color: var(--color-bg-light);
        border: 1px solid transparent;
        border-radius: 15px;
        font-size: 16px;
        font-weight: 500;
        line-height: 120%;
        color: var(--color-light-gray);
        white-space: nowrap;
        width: auto;
        transition: all 0.2s ease;
        cursor: pointer;
        flex: 0 0 auto; /* Важно! Запрещает сжатие кнопок в слайдере */
        gap: 8px;
    }
    
    .filter-chip1.active {
        background-color: var(--color-black);
        color: white;
        border-color: var(--color-black);
    }
    
    .filter-chip1:not(.active) {
        border: 1px solid var(--color-border);
        background-color: transparent;
    }
    
    .filter-chip1:hover:not(.active) {
        background-color: var(--color-border);
    }
    @media (max-width: 991px) {
         .filter-chip-scroll {
            display: block;
        }
        .filter-chip-scroll1{
            display: none;
        }
    }
    /* Адаптация для мобильных устройств */
    @media (max-width: 768px) {
        .filter-chip1 {
            padding: 12px 16px; /* Чуть меньше отступы на мобилках */
            font-size: 15px;
        }
        
        /* Добавляем визуальную подсказку, что можно листать */
        .filter-scroll-wrapper {
            mask-image: linear-gradient(to right, transparent, black 10px, black 90%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 10px, black 90%, transparent);
        }
        
        /* Убираем маску при скролле (опционально) */
        .filter-scroll-wrapper.scrolling {
            mask-image: none;
            -webkit-mask-image: none;
        }
    }
    
    /* Очень маленькие экраны */
    @media (max-width: 480px) {
        .filter-chip1 {
            padding: 10px 14px;
            font-size: 14px;
        }
    }
/* Контролы портфолио */
.portfolio-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}


.segment {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #1E1E1E;
    font-family: 'Onest', sans-serif;
    white-space: nowrap;
    transition: all 0.2s;
}

.segment.active {
    background-color: #1E1E1E;
    color: #FFFFFF;
}

.segment:not(.active):hover {
    background-color: #E0E4EC;
}
/* Стили для слайдеров */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.popular-slider,
.articles-slider {
    display: flex;
    gap: 31px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    width: 100%;
}

.popular-slider::-webkit-scrollbar,
.articles-slider::-webkit-scrollbar {
    display: none;
}

/* Кнопки навигации */
.slider-nav {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.slider-nav:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav.prev {
    left: -20px;
}

.slider-nav.next {
    right: -20px;
}

.slider-nav svg {
    width: 25px;
    height: 25px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .slider-nav {
        display: none;
    }
    
    .popular-slider,
    .articles-slider {
        gap: 20px;
    }
}

/* Остальные стили для карточек (как в предыдущем ответе) */
.news-card,
.article-card {
    flex: 0 0 auto;
    min-width: 326px;
}

.main-content {
    flex: 1;
    min-width: 0;
    position: relative;
}

/* Стили для секций */
.popular-section,
.new-articles-section {
    width: 100%;
    margin-bottom: 60px;
    font-family: 'Onest', sans-serif;
}

.new-articles-section {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.section-title {
    font-weight: 500;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: -0.01em;
    color: #1E1E1E;
    margin: 0;
}

/* Segmented control */
.segmented-control {
    background-size: cover !important;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 4px;
    gap: 4px;
  
    height: 40px;
    background: #EDF0F5;
    border-radius: 10px;
}

.segment {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    height: 32px;
    border: none;
    background: transparent;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #1E1E1E;
    border-radius: 10px;
    cursor: pointer;
}

.segment.active {
    background: #1E1E1E;
    color: #FFFFFF;
}

/* Кнопка "Смотреть все" */
.view-all-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    gap: 6px;
    width: 139px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #1E1E1E;
}

.view-all-btn svg {
    transform: matrix(-1, 0, 0, 1, 0, 0);
}

/* Слайдеры */
.popular-slider,
.articles-slider {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 31px;
    width: 100%;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.popular-slider::-webkit-scrollbar,
.articles-slider::-webkit-scrollbar {
    display: none;
}

/* Карточка новости (популярное) */
.news-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 20px;
    min-width: 326px;
    width: 326px;
    height: 373px;
    flex: none;
}

.news-image {
    position: relative;
    width: 326px;
    height: 235px;
    border-radius: 20px;
    overflow: hidden;
    align-self: stretch;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.time-badge {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #FFFFFF;
    z-index: 1;
}

.more-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1;
}

.topic-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 100px;
    z-index: 1;
}

.topic-tag span {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    color: #FFFFFF;
}

.news-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    width: 326px;
    height: 118px;
    align-self: stretch;
}

.author-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}

.author-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    width: 270px;
}

.news-title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: #1E1E1E;
    margin: 0;
    width: 270px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-name {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #5C6270;
    width: 270px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    gap: 32px;
    width: 270px;
    height: 17px;
    margin-left: 60px;
}

.news-stats .views,
.news-stats .time {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #6B7280;
}

/* Карточка статьи (новые статьи) */
.article-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 20px;
    min-width: 326px;
    width: 326px;
    height: 492px;
    flex: none;
}

.article-image {
    position: relative;
    width: 326px;
    height: 235px;
    border-radius: 20px;
    overflow: hidden;
    align-self: stretch;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.time-circle {
    position: absolute;
    left: 228px;
    top: 194px;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.article-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    width: 326px;
    height: 237px;
    align-self: stretch;
}

.author-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    gap: 8px;
    width: 326px;
    height: 64px;
    background: #EDF0F5;
    border-radius: 20px;
    align-self: stretch;
}

.author-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0px;
    gap: 4px;
    width: 140px;
    height: 41px;
}

.author-role {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 130%;
    color: #5C6270;
}

.article-title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: #1E1E1E;
    margin: 0;
    width: 326px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-description {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 120%;
    color: #6B7280;
    margin: 0;
    width: 326px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    gap: 32px;
    width: 326px;
    height: 17px;
}

.article-stats .views,
.article-stats .time {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #6B7280;
}

/* Кнопки прокрутки */
.scroll-btn {
    position: sticky;
    right: 0;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.popular-slider .scroll-btn.right,
.articles-slider .scroll-btn.right {
    margin-left: 20px;
}

/* Твои существующие стили для сайдбара */
.nav-item-custom-blog.active .text-orange {
    color: #E74915;
}

 /* Стили для hover на аватаре */
.author-avatar-wrapper {
    position: relative;
    width: 148px;
    height: 148px;
    cursor: pointer;
}

.author-avatar-large {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}
.author-avatar-large-team {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}
/* Hover эффект */
.author-avatar-wrapper:hover .author-avatar-large {
    filter: brightness(0.3);
}

.author-avatar-wrapper:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 1);
    border-radius: 50%;
    pointer-events: none;
}

/* Иконка звездочки при hover */
.author-avatar-wrapper:hover .star-icon {
    opacity: 1;
    visibility: visible;
}

.star-icon {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
 
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.star-icon svg {
    width: 24px;
    height: 24px;
}

.star-icon svg path {
    stroke: white;
    fill: transparent;
    transition: fill 0.3s ease;
}

/* Текст "Подписаться" при hover */
.author-avatar-wrapper:hover .subscribe-hover-text {
    opacity: 1;
    visibility: visible;
}

.subscribe-hover-text {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;

}



.subscribe-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: #1E1E1E;
    border: none;
    border-radius: 100px;
    color: white;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0px 4px 16px rgba(107, 114, 128, 0.08);
    transition: all 0.3s ease;
    z-index: 1;
}
/* Стили для секции популярных авторов */
.popular-authors-section,
.new-videos-section {
    width: 100%;
    margin-bottom: 60px;
    font-family: 'Onest', sans-serif;
}

.popular-authors-section {
    margin-top: 80px;
}

/* Стили для карточек авторов */
.authors-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    width: 100%;
}

.authors-slider::-webkit-scrollbar {
    display: none;
}

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 16px;
    min-width: 148px;
    width: 148px;
    height: 208px;
    flex: none;
}

.author-avatar-wrapper {
    position: relative;
    width: 148px;
    height: 148px;
}

.author-avatar-large {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    object-fit: cover;
}

.subscribe-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: #1E1E1E;
    border: none;
    border-radius: 100px;
    color: white;
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0px 4px 16px rgba(107, 114, 128, 0.08);
}

.author-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 8px;
    width: 148px;
}

.author-info-wrapper .author-name {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: #1E1E1E;
    width: 100%;
}

.author-info-wrapper .author-role {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    color: #5C6270;
    width: 100%;
}

/* Стили для видео карточек (переиспользуем из предыдущих секций) */
.videos-slider {
    display: flex;
    gap: 31px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    width: 100%;
}

.videos-slider::-webkit-scrollbar {
    display: none;
}

.video-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 20px;
    min-width: 326px;
    width: 326px;
    height: 373px;
    flex: none;
}

.video-image {
    position: relative;
    width: 326px;
    height: 235px;
    border-radius: 20px;
    overflow: hidden;
    align-self: stretch;
}

.video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    width: 326px;
    height: 118px;
    align-self: stretch;
}

.video-title {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: #1E1E1E;
    margin: 0;
    width: 270px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    gap: 32px;
    width: 270px;
    height: 17px;
    margin-left: 60px;
}

.video-stats .views,
.video-stats .time {
    font-family: 'Onest', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #6B7280;
}

.slider-nav {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.slider-nav:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav.prev {
    left: -20px;
}

.slider-nav.next {
    right: -20px;
}

.slider-nav svg {
    width: 25px;
    height: 25px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .slider-nav {
        display: none;
    }
    
    .authors-slider,
    .videos-slider {
        gap: 20px;
    }
}




.line{
    background-color: rgba(224, 228, 236, 1);
    height: 2px;
    width: 100%;
}
.down-hero{
    
    margin-top: 50px;
    padding: 60px;
    background-image: linear-gradient(0deg, rgba(29, 29, 27, 0) 0%, rgba(29, 29, 27, 0.8) 100%), url('/assets/img/down-hero.jpg') ;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    width: 100%;
    border-radius: 40px;
}
.down-hero h1 {
    color: #FFFFFF;
    font-size: 30px;
}
.down-hero p {
    color: rgba(255, 255, 255, 0.8);

}
.down-hero button {
    margin-top: 5%;
    color: #1E1E1E;
    border: none;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 15px;
    min-width: 260px;
}

/* Базовые стили для секции (оставляем как есть) */
.team {
    width: 100%;
}

/* Стили для контейнера с карточками на десктопе */
.team-foto {
    display: flex;
    flex-wrap: wrap; /* Чтобы карточки переносились, если не влезают */
}

/* Стили для карточек на десктопе */
.author-card {
    flex: 0 1 auto; /* Карточки занимают ширину по контенту */
    min-width: 200px; /* Минимальная ширина карточки */
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .team-foto {
        display: flex;
        flex-wrap: nowrap; /* Запрещаем перенос карточек */
        overflow-x: auto; /* Включаем горизонтальный скролл */
        gap: 16px; /* Отступ между слайдами */
        padding: 10px 0 20px 0; /* Отступы сверху/снизу */
        margin: 0 -15px; /* Компенсируем отступы секции (если есть) */
        padding-left: 15px; /* Добавляем отступ слева для первого слайда */
        padding-right: 15px; /* Добавляем отступ справа для последнего слайда */
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
        scrollbar-width: thin; /* Тонкий скроллбар для Firefox */
    }
    
    /* Стили для скроллбара в Chrome/Safari */
    .team-foto::-webkit-scrollbar {
        height: 4px; /* Высота горизонтального скроллбара */
    }
    
    .team-foto::-webkit-scrollbar-track {
        background: #f1f1f1; /* Цвет трека */
        border-radius: 10px;
    }
    
    .team-foto::-webkit-scrollbar-thumb {
        background: #888; /* Цвет ползунка */
        border-radius: 10px;
    }
    
    .team-foto::-webkit-scrollbar-thumb:hover {
        background: #555; /* Цвет ползунка при наведении */
    }
    
    /* Стили для карточек на мобильных */
    .author-card {
        flex: 0 0 auto; /* Карточка не сжимается и не растягивается */
        width: 280px; /* Фиксированная ширина карточки на мобильных */
        margin-right: 0; /* Убираем лишние отступы */
    }
    
    /* Опционально: добавляем плавную привязку при скролле */
    .team-foto {
        scroll-snap-type: x mandatory;
    }
    
    .author-card {
        scroll-snap-align: start; /* Карточки прилипают к началу */
    }
}

/* Для очень маленьких экранов (телефоны) */
@media (max-width: 480px) {
    .author-card {
        width: 240px; /* Чуть меньше ширина на маленьких телефонах */
    }
    .down-hero{
        padding: 30px;
    }
}

.filters-video {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: start;
    padding: 0;
    gap: 8px;
    width: 100%; /* На всю ширину */
    margin-top: 10px;
    height: 32px;
   
}

/* Базовые стили для кнопок фильтров */
.filter-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: 'Onest', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    color: #1E1E1E;
    white-space: nowrap; /* Запрещаем перенос текста */
    transition: all 0.2s ease;
}

/* Стили для активной кнопки (Все видео) */
.filter-btn.active {
    background: #1E1E1E;
    color: #FFFFFF;
}

/* Эффект при наведении для десктопа */
.filter-btn:hover {
    opacity: 0.8;
}
@media (max-width: 768px) {
   .filters-video{
    overflow: hidden;
    overflow-x: scroll ;
    overflow-y: hidden;
    scrollbar-width: none;
   }
}
.btn-izb{
    border: none;
    background-color: rgba(237, 240, 245, 1);
    padding: 10px;
    gap: 10px;
    border-radius: 10px;
    text-wrap: nowrap;
    min-width: 200px;
    min-height: 60px;
    color: rgba(92, 98, 112, 1);
}