.gallery-hero-wrapper {
    padding-block: 14px;
    position: relative;
    overflow: visible;
    background: linear-gradient(180deg, rgba(18, 10, 36, .55), rgba(18, 10, 36, .25) 60%, transparent);
}

.gallery-hero-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--secundary), var(--primary), var(--secundary));
    filter: drop-shadow(0 0 8px rgba(34, 242, 254, .6));
    opacity: .9;
}

.gallery-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-inline: clamp(12px, 3vw, 28px);
}

.gallery-hero-back-btn {
    text-decoration: none;
    border: 1px solid rgba(34,242,254,.6);
    color: var(--secundary);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(18,10,36,.35);
    backdrop-filter: blur(4px);
    font-weight: 700;
    transition: background .2s, color .2s, box-shadow .2s, transform .1s;
}
.gallery-hero-back-btn:hover {
    background: var(--secundary);
    color: #000;
    box-shadow: 0 0 10px var(--secundary);
    transform: translateY(-1px);
}

.gallery-hero-title {
    margin: 0;
    flex: 2;
    text-align: center;
    padding: 10px 0;
    font-weight: 800;
    letter-spacing: .03em;
    font-size: clamp(18px, 1.4rem + .6vw, 28px);
    line-height: 1.2;
    text-shadow: 0 0 14px rgba(34,242,254,.25), 0 0 22px rgba(255,0,230,.15);
}

@media (max-width: 768px) {
    .gallery-hero-wrapper { padding-block: 12px; }
    .gallery-hero-back-btn { padding: 6px 9px; }
    .gallery-hero-title { font-size: clamp(18px, 4.2vw, 24px); }
}