.c-magazine-page__hero {
    position: relative;
    height: 26.25rem;

    &::after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8) 100%);
        pointer-events: none;
    }

    @screen sm {
        height: 19rem;
    }

    @screen md {
        height: 32rem;
    }

    @screen lg {
        height: 32rem;
    }
}

.c-magazine-page__image {
    position: absolute;
    z-index: 1;
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform .2s;
}

.c-magazine-page__title {
    position: absolute;
    left: 2rem;
    right: 2rem;
    z-index: 2;
    bottom: 2.5rem;
    text-align: center;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    font-family: 'HeadingFontFamily', 'BaseFontFamily', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    text-transform: none;

    @screen sm {
        bottom: 3rem;
    }

    @screen md {
        bottom: 4rem;
    }

    @screen lg {
        font-size: 3rem;
        bottom: 4rem;
    }
}

.c-magazine-page__subtitle {
    position: relative;
    font-family: theme('fonts.sans');
    color: white;
    text-align: center;
    font-size: 1.0rem;
    font-weight: bold;
    margin-top: 2rem;
    z-index: 2;
    top: 24rem;

    @screen sm {
        top: 16.5rem;
        font-size: 1.0rem;
    }

    @screen md {
        top: 29rem;
        font-size: 1.25rem;
    }

    @screen lg {
        top: 28rem;
        font-size: 1.5rem;
    }
}

.c-magazine-page__date {
    text-align: center;
    font-size: 1.0rem;
    margin-top: 1rem;
    color: theme('colors.gray.500');
}