/* Section: Hero */
.dn-hero {
	display: grid;
	grid-template-columns: minmax(0, 730fr) minmax(0, 710fr);
	grid-template-rows: auto;
}
.dn-hero__text { grid-column: 1; padding: 60px 32px 48px var(--dn-edge); }
.dn-hero__lede { margin-top: 50px; }
.dn-hero__places { margin-top: 24px; }
.dn-hero__scroll { margin-top: 20px; }
/* The image is never cropped: full column width at its own proportion, and never taller than the
   screen allows. A narrower (portrait) image keeps to the right edge, next to the text. */
.dn-hero__media { grid-column: 2; align-self: start; margin: 0; --dn-hero-max: max(420px, calc(100svh - 120px)); }
.dn-hero__media img { display: block; width: 100%; height: auto; max-height: var(--dn-hero-max); object-fit: contain; object-position: 100% 0; }

/* On the home page the menu sits above the image: leave room for it. */
.dn-hero-header .dn-section--hero:first-child .dn-hero { grid-template-rows: 164px auto; }
.dn-hero-header .dn-section--hero:first-child .dn-hero__text { grid-row: 1 / 3; }
.dn-hero-header .dn-section--hero:first-child .dn-hero__media { grid-row: 2; --dn-hero-max: max(420px, calc(100svh - 164px - 24px)); }

@media (max-width: 960px) {
	.dn-hero,
	.dn-hero-header .dn-section--hero:first-child .dn-hero { grid-template-columns: 1fr; grid-template-rows: auto; }
	.dn-hero__text,
	.dn-hero-header .dn-section--hero:first-child .dn-hero__text { grid-column: 1; grid-row: 1; padding: 40px var(--dn-gutter) 48px; }
	.dn-hero__lede { margin-top: 36px; }
	/* Home: the big title starts level with the round menu button (top right). */
	.dn-hero-header .dn-section--hero:first-child .dn-hero__text { padding-top: 26px; padding-right: calc(var(--dn-gutter) + 64px); }
	.dn-hero__media,
	.dn-hero-header .dn-section--hero:first-child .dn-hero__media { grid-column: 1; grid-row: 2; --dn-hero-max: 82svh; }
	.dn-hero__media img { object-position: 50% 0; }
}
