/* === ACCOUNT HERO — flex column + центр на мобиле === */
.account-hero {
    position: relative;
    width: 100%;
    max-width: 2560px;
    margin: 0 auto;
    overflow: hidden;
    
    /* Flex-контейнер */
    display: flex;
    align-items: center;
    justify-content: center;
    

}
/* Фон */
.account-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.account-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.account-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
}


.account-hero-content {
    position: relative;
    z-index: 3;
    width: 70%;
    max-width: 100%;
    text-align: left;
    color: #fff;
    
    /* Flex column */    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 8px;
    
    padding: 60px 20px;
}

.account-hero-title {
    font-family: "Roboto Medium", monospace !important;
    font-size: 78px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;

    margin: 0;
    padding: 0;
}

.user-name {
    font-family: "Roboto Medium", monospace !important;
    font-weight: 900;
    color: #000000; 
    font-size: 0.95em;
}

/* === АДАПТИВ — текст всегда по центру картинки на мобильных === */
@media (max-width: 899px) {
    .account-hero {
        min-height: 300px;
        height: auto;
        padding: 0;
    }

    /* Главное — возвращаем flex-центрирование всего блока */
    .account-hero {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }



    .account-hero-title {
        font-size: 22px !important;
        letter-spacing: 2px !important;
        line-height: 1.1 !important;
    }

    .user-name {
        font-size: 22px !important;
        color: #ffffff !important;
    }
}

@media (max-width: 760px) {
    .account-hero {
        min-height: 200px;
    }
    .account-hero-content {
        padding: 30px 16px !important;
    }

    .account-hero-title {
        font-size: 20px !important;
    }

    .user-name {
        font-size: 20px !important;
    }
}

@media (max-width: 360px) {
    .account-hero {
        min-height: 150px;
    }
    .account-hero-title {
        font-size: 16px !important;
    }

    .user-name {
        font-size: 16px !important;
    }
}