/* Section: Story cards, the theme's wavy photo cards in beige on a white band */
.wr-story-cards__header { max-width: 68rem; margin: 0 auto 3.2rem; text-align: center; }
.wr-story-cards__header h2 { margin-bottom: 1.6rem; }
.wr-story-cards__intro { font-size: 1.8rem; margin: 0; text-wrap: balance; }

/* Equal-height cards: each card fills its cell, the link line sits at the bottom */
.wr-story-cards > .cell { display: flex; }
.wr-story-card { display: flex; flex: 1; margin: 0; color: inherit; }
.wr-story-card__inner { display: flex; flex-direction: column; }
.wr-story-card__body { display: flex; flex: 1; flex-direction: column; }

/* Photo: same 4:3 shape on every card */
.wr-story-card__photo { height: auto; aspect-ratio: 4 / 3; }
.wr-story-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.wr-story-card__title { font-size: 2.8rem; margin-bottom: .8rem; }
.wr-story-card__text { font-size: 1.6rem; margin: 0 0 1.6rem; }
.wr-story-card__body > :last-child { margin-bottom: 0; }
.wr-story-card__more { display: inline-block; margin-top: auto; padding-top: .4rem; font-size: 1.6rem; font-weight: 700; color: #246EC0; transition: color .2s ease-in-out; }

/* Clickable card: the link line turns green on hover, like other theme links */
a.wr-story-card:hover .wr-story-card__more, a.wr-story-card:focus-visible .wr-story-card__more { color: #46B64B; }
a.wr-story-card:hover .wr-story-card__more:after, a.wr-story-card:focus-visible .wr-story-card__more:after { border-color: #46B64B; }
a.wr-story-card:hover .wr-story-card__title { color: #1C3653; }
a.wr-story-card:focus-visible { outline: .3rem solid #246EC0; outline-offset: .4rem; border-radius: 1rem; }

/* Beige and light blue bands: white cards with a centred green button */
.wr-bg--lightblue .wr-story-card__body, .wr-bg--beige .wr-story-card__body { text-align: center; align-items: center; }
.wr-story-card__byline { font-size: 1.4rem; font-style: italic; margin: 0 0 1.2rem; }
.wr-story-card__button { margin: auto 0 0; }
a.wr-story-card:hover .wr-story-card__button, a.wr-story-card:focus-visible .wr-story-card__button { background-color: #246EC0; }

@media print, screen and (min-width: 47.5em) {
	.wr-story-card__title { font-size: 3.2rem; }
	.wr-bg--lightblue .wr-story-card__title { font-size: 2.8rem; }
	.wr-bg--beige .wr-story-card__title { font-size: 4.4rem; line-height: 1.05; }
}
