html:has(body.has-hero) {
    background-color: #0d0d0d !important;
}

body.has-hero {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

body.has-hero #content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.has-hero #hero {
    flex: 1;
    min-height: 0 !important;
}

body.has-hero #profileHeader {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

body.has-hero #profileHeader,
body.has-hero #profileHeader nav {
    background: transparent !important;
}

body.has-hero #profileHeader nav {
    background: rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.has-hero #hero {
    padding-top: 80px !important;
}

@media (min-width: 768px) {
    body.has-hero #hero {
        padding-top: 140px !important;
    }
}

.navbar-brand img {
    width: auto !important;
    height: 20px !important;
}

.navbar-brand {
    white-space: nowrap;
    font-size: clamp(0.55rem, 3vw, 1rem);
}

#hero {
    position: relative;
    overflow: hidden;
    clip-path: inset(0);
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.4) 80%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 1;
}

#hero > * {
    position: relative;
    z-index: 2;
}

body.has-hero #hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    z-index: 1;
}

body.has-hero footer .social-networks {
    display: none;
}


body.has-hero footer {
    background: transparent !important;
    position: relative;
    z-index: 10;
    margin-top: -80px;
}

body.has-hero #hero {
    padding-bottom: 80px !important;
}

#hero .subtitle,
#hero h2,
#hero p {
    opacity: 1;
}

#hero h2 {
    margin-top: 0;
}

#hero .btn {
    margin: 0;
}

#hero .hero-btns {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

@media (min-width: 768px) {
    #hero .hero-btns {
        flex-direction: row;
        align-items: center;
    }
}

#hero .image {
    overflow: visible;
    max-width: 320px;
}

#hero .image img {
    display: block;
}
#hero .image img,
#hero .img-thumbnail {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0;
    background-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.65));
}

#hero .image.animate img:hover {
    box-shadow: none !important;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.65));
}
