﻿:root {
    --banner-height: 400px;
}

.blaze-slider.animated-banner {
    --slide-gap: 0px;
    --slides-to-show: 1;
}

.animated-banner .slide {
    display: block;
    position: relative;

    height: var(--banner-height);
}

.animated-banner a.slide:hover,
.animated-banner a.slide:focus {
    text-decoration: none;
}

.animated-banner .slide > img.slide-back{
    filter: saturate(.8) brightness(.8);
}

.animated-banner .slide > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.animated-banner .slide h2,
.animated-banner .slide p {
    background: var(--accent-500);
    color: #fff;
    padding: .5rem 1rem;
    min-height: 4rem;
    margin: 0;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    text-align: right;
    justify-content: center;
    align-items: flex-end;
}

.animated-banner .slide h2 {
    font-size: 2.5em;
}

.animated-banner .slide p {
    font-size: 1.05em;
}

.animated-banner .slide p.slide-link {
    font-size: 1.25em;
    font-weight: 600;
    min-height: 0;
}

.animated-banner .slide > :last-child {
    margin-bottom: 0;
}

.animated-banner .pagination-container {
    position: relative;
}

.animated-banner .blaze-pagination {
    position: absolute;
    bottom: calc(var(--banner-link-image-size) + 2rem);
    right: 1rem;
    display: flex;
    gap: .5rem;
}

@media screen and (min-width: 768px) {
    :root {
        --banner-height: 500px;
    }
}

@media screen and (min-width: 1200px) {
    :root {
        --banner-height: 600px;
    }
}

@media screen and (min-width: 1500px) {
    :root {
        --banner-height: 750px;
    }
}