/* Compact, monochrome homepage story cards. */

.story-grid {
    width: min(1494px, calc(100% - 110px));
    gap: 22px
}

.story-card {
    min-height: 630px;
    border-radius: 31px
}

.story-card-light {
    padding: 52px 38px 0;
    color: #000
}

.story-card-light .story-tag {
    border-color: rgba(0, 0, 0, .2);
    color: #000
}

.story-card-light .story-arrow {
    color: #000
}

.story-card-light .story-arrow:hover {
    background: #000;
    color: #fff
}

.story-image {
    height: 320px;
    border-radius: 25px 25px 0 0
}

.story-card-feature {
    padding: 0 38px 40px;
    background: #000;
    color: #fff
}

.story-card-feature .feature-image {
    height: 378px;
    margin-right: -38px;
    margin-left: -38px
}

.story-card-feature .story-tag {
    border-color: rgba(255, 255, 255, .4);
    color: #fff
}

.story-card-feature>.story-arrow {
    right: 34px;
    bottom: 65px;
    background: #fff;
    color: #000
}

.story-card-feature>.story-arrow:hover {
    background: #e8e8e8;
    color: #000
}

.story-reveal-ready {
    opacity: 0;
    transform: translateY(52px);
    transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .82s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--story-delay, 0ms);
    will-change: opacity, transform
}

.story-reveal-ready.is-revealed {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:900px) {
    .story-grid {
        width: min(612px, calc(100% - 40px))
    }
    .story-card {
        min-height: 585px
    }
}

@media(max-width:600px) {
    .story-cards {
        padding: 47px 8px 65px
    }
    .story-grid {
        width: 100%;
        gap: 14px
    }
    .story-card {
        min-height: 513px;
        border-radius: 22px
    }
    .story-card-light {
        padding: 27px 22px 0
    }
    .story-image {
        height: 270px;
        border-radius: 18px 18px 0 0
    }
    .story-card-feature {
        padding: 0 22px 31px
    }
    .story-card-feature .feature-image {
        height: 306px;
        margin-right: -22px;
        margin-left: -22px
    }
    .story-card-feature>.story-arrow {
        right: 22px;
        bottom: 36px
    }
}

@media(prefers-reduced-motion:reduce) {
    .story-reveal-ready {
        opacity: 1;
        transform: none;
        transition: none
    }
}