.main-container,
.search-container {
    position: relative;
}

.main-container {
    min-height: 450px;
}

.main-container img {
    position: absolute;
    background-repeat: no-repeat;
    object-fit: cover;
    height: 100%;
    width: 100%;
    z-index: -2;
}

.overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: -1;
}

.tagline {
    color: #fff;
    font-family: var(--display-font);
    font-weight: 600;
    font-size: var(--tagline-font-size);
    line-height: 1.3;
    letter-spacing: -.02em;
}

.wod-title {
    font-weight: 700;
    margin-bottom: 3px;
}

.wod-info a {
    color: blue;
    text-decoration: underline;
}

.headline {
    letter-spacing: .015em;
    font-weight: 600;
}


@media (min-width: 768px) and (max-width:992px) {
    :root {
        --tagline-font-size: 3.25rem;
    }
}

@media (max-width: 768px) {
    :root {
        --tagline-font-size: 3rem;
    }

    .main-container {
        min-height: 560px;
    }

    .search-container .container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    :root {
        --tagline-font-size: 1.75rem;
    }

    .main-container {
        min-height: 480px;
    }

    .tagline {
        line-height: 1.2;
    }

    .search-container {
        padding: 0 1.25rem;
    }
}

