.user {
    padding: 0 var(--padding-container);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    gap: 40px;
}

.user__section-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.user__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.user__hero-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 100%;
}

.user__hero-title {
    font-family: var(--font-family-esteban);
    color: var(--main);
    font-weight: 400;
    font-size: 32px;
    line-height: var(--line-height-article-title);
}

.user__hero-description {
    text-align: center;
    font-size: var(--font-size-16-18);
    line-height: var(--line-height-classic);
}
.user__hero-content-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.user__hero-social-networks {
    display: flex;
    justify-content: center;
}

.user__hero-social-list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.user__hero-social-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.user__hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.user__hero-social-link:hover {
    opacity: 0.7;
}

.user__hero-social-icon {
    width: 24px;
    height: 24px;
}

.user__section-articles {
    width: 100%;
    max-width: 1200px;
}

.user__articles-title {
    font-family: var(--font-family-esteban);
    color: var(--main);
    font-weight: 400;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.user__articles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.user__articles-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.user__articles-item-link {
    display: block;
    width: 350px;
    max-width: 100%;
    overflow: hidden;
    max-height: 220px;
}

.user__articles-item-image {
    width: 350px;
    max-width: 100%;
    max-height: 220px;
    height: auto;
    aspect-ratio: 250 / 155;
    object-fit: cover;
    display: block;
}

.user__articles-item-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.user__articles-item-title {
    font-family: var(--font-family-esteban);
    color: var(--main);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.user__articles-item-title-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.user__articles-item-tags-and-date {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(15px, 1.3vw, 16px);
}

.user__articles-item-date-tag {
    margin: 0;
    font-size: clamp(15px, 1.3vw, 16px);
    word-break: break-word;
}

.user__articles-item-description {
    display: none;
    font-size: clamp(15px, 1.3vw, 16px);
    line-height: var(--line-height-classic);
    margin: 0;
    color: #666;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.user__articles-empty {
    text-align: center;
    color: #666;
    font-size: 16px;
    padding: 40px 20px;
}

@media (min-width: 1024px) {
    .user {
        flex-direction: row;
        align-items: flex-start;
        gap: 150px;
    }

    .user__section-hero {
        width: 35%;
        flex-shrink: 0;
    }

    .user__section-articles {
        width: 65%;
        flex: 1;
        max-width: none;
    }

    .user__articles-title {
        text-align: left;
    }

    .user__articles-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 340px));
        gap: 30px;
        justify-content: start;
    }

    .user__articles-item {
        max-width: 340px;
        width: 100%;
        min-width: 0;
    }

    .user__articles-item-link {
        width: 100%;
        max-width: 340px;
    }

    .user__articles-item-image {
        width: 100%;
        max-width: 340px;
        height: 210px;
        object-fit: cover;
    }

    .user__articles-item-content {
        max-width: 340px;
        min-width: 0;
    }

    .user__articles-item-title {
        font-size: 22px;
        max-width: 340px;
    }

    .user__articles-item-description {
        display: block;
    }

    .user__hero-description {
        line-height: 28px;
    }
}
