#slider {
    width: 100%;
}

.tns-outer {
    width: 100%;
}

.slide {
    width: 100%;
}

.banner {
    display: flex;
    flex-direction: column;
    background-color: var(--background-blue);

    width: 100%;
    border-radius: 4px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}

.banner-card {
    background-color: var(--background-blue);
    color: var(--text-alt);

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    gap: 0;
    padding: 2rem 2rem 4rem;
    cursor: default;
    user-select: none;
}

.banner-card h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.banner-card p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.banner-card a {
    background-color: var(--brand-accent);
    color: var(--text-primary);

    font-size: 1.15rem;
    font-weight: 600;
    
    padding: 0.625rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;

    align-self: center;
}

.banner-card a:hover {
    background-color: #f1ae04;
}

.banner-photo {
    aspect-ratio: 3/2;
    width: 100%;
    overflow: hidden;
}

.banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: calc(2rem - 6px);
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 1rem;
    align-self: center;
    margin-top: auto;

    width: fit-content;
}

.banner-dots button {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
}

.banner-dots button.active {
    background: rgb(255, 255, 255);
}

@media (min-width: 768px) {
    .banner {
        flex-direction: row-reverse;
        height: auto;
        max-height: 450px;
    }
    
    .banner-card {
        padding: 2rem 2rem 4rem 3rem;
        width: 40%;
    }

    .banner-photo {
        aspect-ratio: auto;
        width: 60%;
    }
}

@media (min-width: 1300px) {
    .banner-photo {
        aspect-ratio: 3/2;
    }
}