.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 {
    display: block;
    width: 100%;
    object-fit: cover;
    height: 26.25rem;

    @screen sm {
        height: 19rem;
    }

    @screen md {
        height: 32rem;
    }

    @screen lg {
        height: 32rem;
    }
}

.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: sans-serif;
    font-size: 2.5rem;
    line-height: .7;
    text-transform: none;

    .fonts-loaded-1 & {
        font-family: theme('fonts.sans');
    }

    @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;
    bottom: 4rem;

    @screen sm {
        bottom: 4.5rem;
        font-size: 1.0rem;
    }

    @screen lg {
        bottom: 5rem;
        font-size: 1.5rem;
    }
}

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