.offers {
	> header {
		> p {
			text-wrap: balance;
		}
	}

	> ul > li {
		display: flex;
		flex-direction: column;
		gap: var(--s-sm);

		> header {
			display: flex;
			flex-wrap: wrap;
			align-items: baseline;
			justify-content: space-between;
			gap: var(--s-xs);

			> h3 {
				color: var(--c-blue-dk);
			}

			> em {
				font-family: var(--f-l);
				font-size: 2rem;
				line-height: 1em;
				font-weight: bold;

				> s {
					margin-left: var(--s);
					font-size: 0.6em;
					font-weight: normal;
					color: var(--c-fg-md);
				}
			}
		}

		> ul {
			> li {
				position: relative;
				padding-left: var(--s-sm);

				&:not(:first-child) {
					margin-top: var(--s);
				}

				&:before {
					content: "✓";
					position: absolute;
					left: 0;
					color: var(--c-blue-dk);
					font-weight: bold;
				}
			}
		}
	}

	/* A section of side-by-side photo cards. */
	&.mod-cards {
		background-color: var(--c-bg-lt);

		> header {
			max-width: var(--w-lg);
			margin: 0 auto;
			text-align: center;

			> p {
				margin-top: var(--s-xs);
			}
		}

		> ul {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
			gap: var(--s-md);
			max-width: var(--w-xl);
			margin: var(--s-md) auto 0;

			> li {
				> figure {
					position: relative;
					margin: calc(var(--s-sm) * -1.5) calc(var(--s-sm) * -1.5) 0;

					/* A short tagline set over the photo ("Try it out"), on a scrim so
					   it reads over light photos too. */
					&:has(> span):after {
						content: "";
						position: absolute;
						inset: 0;
						background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%);
					}

					> span {
						position: absolute;
						z-index: 1;
						bottom: var(--s-sm);
						left: calc(var(--s-sm) * 1.5);
						color: var(--c-white);
						text-transform: uppercase;
						text-shadow: 0 1px var(--s-xs) rgba(0, 0, 0, 0.5);
					}

					> img {
						display: block;
						width: 100%;
						object-fit: cover;
						aspect-ratio: 4 / 3;
					}
				}

				/* Buttons line up across cards whatever the copy above them. */
				> nav {
					margin-top: auto;
				}
			}
		}
	}

	/* Plain rows, nested inside another component; each row is a price item. */
	&.mod-list {
		> header > p {
			margin-bottom: var(--s-xs);
			font-style: italic;
		}

		/* Pulled out by the item's padding, so its text lines up with the copy
		   above and only the hover background reaches past it. */
		> ul > li {
			margin: 0 calc(var(--s-xs) * -1);

			+ li {
				margin-top: var(--s);
			}
		}
	}
}
