/* Section: Text and media, writing beside a photo, photo circles or a video */
.wr-text-media h2 { text-align: left; margin-bottom: 2.4rem; }
.wr-text-media__text > :last-child { margin-bottom: 0; }
.wr-text-media__solo { margin-inline: auto; }
.wr-text-media__media { margin-top: 3.2rem; }
.wr-text-media__text p, .wr-text-media__text li { font-size: 1.8rem; }
.wr-text-media__button .button { margin: 0; }

/* On phones a video comes first, since it is the most engaging part */
@media screen and (max-width: 47.49em) {
	.wr-text-media--video .wr-text-media__media { order: -1; margin: 0 0 3.2rem; }
}

/* Photo: rounded, never taller than the screen */
.wr-text-media__photo { display: block; width: 100%; max-height: 56rem; object-fit: cover; border-radius: 1.2rem; }

/* Photo circles: a loose cluster of the theme's wavy circles */
.wr-circles { position: relative; aspect-ratio: 1; max-width: 44rem; margin-inline: auto; }
.wr-circles .circle-distressed { position: absolute; margin: 0; }
.wr-circles .circle-distressed img { display: block; aspect-ratio: 1; height: auto; object-fit: cover; }
.wr-circles--2 { aspect-ratio: 1 / .92; }
.wr-circles--2 > :nth-child(1) { left: 0; top: 0; width: 62%; }
.wr-circles--2 > :nth-child(2) { right: 0; bottom: 0; width: 52%; }
.wr-circles--3 > :nth-child(1) { left: 0; top: 4%; width: 56%; }
.wr-circles--3 > :nth-child(2) { right: 2%; top: 0; width: 42%; }
.wr-circles--3 > :nth-child(3) { left: 32%; bottom: 0; width: 50%; }
.wr-circles--4 > :nth-child(1) { left: 0; top: 6%; width: 50%; }
.wr-circles--4 > :nth-child(2) { right: 4%; top: 0; width: 42%; }
.wr-circles--4 > :nth-child(3) { left: 6%; bottom: 0; width: 40%; }
.wr-circles--4 > :nth-child(4) { right: 0; bottom: 2%; width: 52%; }

/* Video: a portrait Short sits centred under the text on phones */
.wr-text-media .wr-video--portrait { margin-inline: auto; }

@media print, screen and (min-width: 47.5em) {
	.wr-text-media__media { margin-top: 0; }
	.wr-text-media--left .wr-text-media__media { order: -1; }

	/* Landscape video gets half the width so it is big enough to watch */
	.wr-text-media--video:not(:has(.wr-video--portrait)) > .cell { width: calc(50% - 3.2rem); }

	/* A Short sits centred in its column */
	.wr-text-media .cell .wr-video--portrait { margin-inline: auto; max-width: 32rem; }
}
