.forum-profile-hero {
    --forum-profile-hero-accent-rgb: 94, 45, 24;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(var(--forum-profile-hero-accent-rgb), 0.12) 0%, rgba(var(--forum-profile-hero-accent-rgb), 0.22) 46%, rgba(26, 33, 57, 0.96) 100%),
        linear-gradient(180deg, rgba(24, 31, 58, 0.96), rgba(17, 23, 43, 0.98));
}

.forum-profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 20, 35, 0.08), rgba(18, 23, 40, 0.28)),
        radial-gradient(circle at top center, rgba(var(--forum-profile-hero-accent-rgb), 0.16), transparent 52%);
    pointer-events: none;
    z-index: 0;
}

.forum-profile-hero-main,
.forum-profile-side {
    position: relative;
    z-index: 2;
}

.forum-profile-hero-blur,
.forum-profile-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.forum-profile-hero-blur {
    z-index: 0;
}

.forum-profile-hero-media {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.forum-profile-hero-blur img {
    width: 108%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.08);
    filter: blur(28px) saturate(1.05) brightness(0.84);
    opacity: 0.76;
}

.forum-profile-hero-media img {
    width: 100%;
    height: 336px;
    object-fit: contain;
    object-position: center top;
    opacity: 0.96;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.92) 68%, rgba(0, 0, 0, 0.32) 92%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.92) 68%, rgba(0, 0, 0, 0.32) 92%, rgba(0, 0, 0, 0) 100%);
}

.forum-profile-hero-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44%;
    background: linear-gradient(180deg, rgba(var(--forum-profile-hero-accent-rgb), 0) 0%, rgba(var(--forum-profile-hero-accent-rgb), 0.18) 30%, rgba(24, 31, 58, 0.92) 100%);
    backdrop-filter: blur(14px) saturate(1.06);
}

.forum-profile-publication-actions {
    margin-top: 10px;
}

.forum-profile-publication-actions .forum-toolbar-button {
    min-width: 170px;
}

@media (max-width: 900px) {
    .forum-profile-hero-media img {
        height: 180px;
    }

    .forum-profile-publication-actions .forum-toolbar-button {
        min-width: 0;
        width: 100%;
    }
}
