.navigation_banners {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin: 0 0.1em 2em;
}

.navigation_grid {
    display: flex;
    gap: 10px;
    margin-bottom: 1.8em;
}

.banner_vertical {
    position: relative;
    width: 280px;
    height: 370px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    text-decoration: none;
    border: 2px solid #fff;
    transition: transform 0.3s ease;
}

.banner_vertical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.banner_vertical:hover {
    transform: scale(1.02);
}

.banner_vertical::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
    pointer-events: none;
    opacity: 1 !important;
}

.banner_vertical::before {
    content: attr(alt);
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 90%;
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
    font-variant: small-caps;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
    z-index: 2;
}

.banner_horizontal {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    text-decoration: none;
    border: 2px solid #fff;
    transition: transform 0.3s ease;
}

.banner_horizontal:hover {
    transform: scale(1.02);
}

.banner_horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner_horizontal::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
    pointer-events: none;
    opacity: 1 !important;
}

.banner_horizontal::before {
    content: attr(alt);
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 90%;
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
    font-variant: small-caps;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
    z-index: 2;
}