/* A magazine plate: full coverlines over one continuous photographic shade. */
body.prominent .fr-shade {
 background-image: linear-gradient(180deg, rgba(0,0,0,.46) 0%, transparent 26%, transparent 46%, rgba(0,0,0,.32) 66%, rgba(0,0,0,.80) 100%);
}

body.prominent .fr-cap::before {
	content: none;
}

/* Optional white coverlines need a continuous photographic exposure even on
   bright lookbook frames. No rectangular panel or per-line shadow. */
body.prominent:not(.fr-cover-hide-teasers):not(.fr-cover-text-off) .magcover:has(.fr-cover-teasers) .fr-shade {
	background-image: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.52) 28%, transparent 72%), linear-gradient(180deg, rgba(0,0,0,.36), transparent 26%, transparent 44%, rgba(0,0,0,.73));
}

/* Reduced-motion's global duration must never animate font measurements. */
body.prominent .fr-cap__word,
body.prominent .fr-cap__head,
body.prominent .fr-cover-teasers__copy {
	transition-property: opacity, transform;
}

body.prominent .fr-cap--magazine {
	right:var(--pad);
	bottom:clamp(28px,5vh,64px);
	width:auto;
	max-width: min(84%, 38rem);
}

body.prominent .fr-cap--magazine .fr-cap__lab {
	margin-bottom:12px;
	font-size:11px;
	font-weight:600;
	letter-spacing:.1em;
}

body.prominent .fr-cap--magazine .fr-cap__word[data-len] {
	display:block;
	max-width:26ch;
	overflow:visible;
	font-size:clamp(28px,2.65vw,50px);
	font-weight:500;
	font-style:normal;
	letter-spacing:-.035em;
	white-space:pre-line;
	font-stretch:80%;
	line-height:1.06;
	text-wrap:balance;
	overflow-wrap:break-word;
	-webkit-line-clamp:unset;
}

body.prominent .fr-cap--magazine .fr-cap__word[data-len='s'] {
	font-size:clamp(48px,5.15vw,84px);
}

body.prominent .fr-cap--magazine .fr-cap__word[data-len='m'] {
	font-size:clamp(38px,4vw,70px);
}

body.prominent .fr-cap--magazine .fr-cap__word[data-len='s'],
body.prominent .fr-cap--magazine .fr-cap__word[data-len='m'] {
	font-style:italic;
	font-weight:450;
	overflow-wrap:anywhere;
}

body.prominent .fr-cap--magazine .fr-cap__dek {
	max-width:36ch;
	margin:14px 0 0;
	color:var(--on-photo);
	font-family:var(--font-ui);
	font-size:13px;
	font-weight:400;
	line-height:1.55;
}

body.prominent .fr-cap[data-cover-away] .fr-cap__dek {
	display:none !important;
}

body.prominent .fr-cap--magazine .fr-cap__open {
	margin-top:16px;
	font-size:10px;
}

body.prominent .fr-cover-teasers {
	position:absolute;
	z-index:6;
	top:clamp(148px,24vh,216px);
	left:var(--pad);
	width:min(46%,260px);
	color:var(--on-photo);
}

body.prominent .fr-cover-teasers ul {
	display:grid;
	gap:22px;
	margin:0;
	padding:0;
	list-style:none;
}

body.prominent .magcover .fr-cover-teasers li {
	margin:0;
	padding:0;
	list-style:none;
}

body.prominent .magcover .fr-cover-teasers li::before, body.prominent .magcover .fr-cover-teasers li::after {
	display:none;
}

body.prominent .fr-cover-teasers a {
	display:block;
	min-height:44px;
	color:var(--on-photo);
	text-decoration:none;
	text-underline-offset:.18em;
}

body.prominent .fr-cover-teasers a:hover .fr-cover-teasers__copy, body.prominent .fr-cover-teasers a:focus-visible .fr-cover-teasers__copy {
	text-decoration:underline;
}

body.prominent .fr-cover-teasers a:focus-visible {
	outline:2px solid currentColor;
	outline-offset:5px;
}

body.prominent .fr-cover-teasers__label {
	display:block;
	margin-bottom:6px;
	font-family:var(--font-ui);
	font-size:9px;
	font-weight:600;
	line-height:1.4;
	letter-spacing:.1em;
	text-transform:uppercase;
}

body.prominent .fr-cover-teasers__copy {
	display:block;
	font-family:var(--font-display);
	font-size:clamp(17px,1.35vw,25px);
	font-weight:500;
	letter-spacing:-.025em;
	font-stretch:85%;
	line-height:1.16;
	text-wrap:balance;
	overflow-wrap:break-word;
}

body.prominent .fr-cover-teasers[data-count='3'] ul {
	gap:16px;
}

body.prominent .fr-cover-teasers[data-count='3'] .fr-cover-teasers__copy {
	font-size:21px;
}

body.prominent .fr-mobile-story-tools {
	display:none;
}
/* The owner's choices survive every lookbook change. */
body.prominent.fr-cover-hide-masthead .magcover .cover-logo,
body.prominent.fr-cover-hide-label .magcover .fr-cap__lab,
body.prominent.fr-cover-hide-title .magcover .fr-cap__word,
body.prominent.fr-cover-hide-title .magcover .fr-cap__head,
body.prominent.fr-cover-hide-dek .magcover .fr-cap__dek,
body.prominent.fr-cover-hide-teasers .magcover .fr-cover-teasers,
body.prominent.fr-cover-hide-link .magcover .fr-cap__open,
body.prominent.fr-cover-text-off .magcover .cover-logo,
body.prominent.fr-cover-text-off .magcover .fr-cap,
body.prominent.fr-cover-text-off .magcover .fr-cover-teasers,
body.prominent.fr-cover-text-off .magcover .cover-sidebar-left,
body.prominent.fr-cover-text-off .magcover .cover-sidebar-right,
body.prominent.fr-cover-text-off .magcover .fr-shade,
body.prominent .fr-cap--magazine[hidden],
body.prominent .fr-cap--magazine .fr-cap__word[hidden],
body.prominent .fr-cap--magazine .fr-cap__lab[hidden],
body.prominent .fr-cap--magazine .fr-cap__head[hidden] {
	display:none !important;
}

@media only screen and (max-width:960px) {
	body.prominent .cover-logo.logo-left {
		max-width: calc(100% - 126px);
	}

 body.prominent .fr-cap--magazine {
	width:auto;
	max-width:540px;
	bottom:28px;
 }

 body.prominent .fr-cap--magazine.fr-cap--subject .fr-cap__word[data-len] {
	display:block;
	font-size:clamp(30px,8vw,44px);
 }

 body.prominent .fr-cap--magazine.fr-cap--subject .fr-cap__head {
	display:none !important;
 }

 body.prominent .fr-cap--magazine .fr-cap__word[data-len='s'] {
	font-size:clamp(56px,15vw,80px);
 }

 body.prominent .fr-cap--magazine .fr-cap__word[data-len='m'] {
	font-size:clamp(44px,12vw,64px);
 }

 body.prominent .fr-cover-teasers {
	top:142px;
	width:min(56%,280px);
 }

 body.prominent .fr-cover-teasers__copy {
	font-size:23px;
 }

 body.prominent .fr-mobile-story-tools:not(:empty) {
	display:block;
	margin:0 0 24px;
 }

 body.prominent .fr-mobile-story-tools .fr-story-tools {
	margin:0;
 }

 body.prominent.fr-cover-hide-title .magcover ~ .magcontent .fr-front .fr-lead__h {
	position:static !important;
	width:auto;
	height:auto;
	margin:22px 0 0;
	overflow:visible;
	clip-path:none;
	white-space:normal;
 }
}

@media(max-height:740px) {
 body.prominent .fr-cover-teasers {
	top:138px;
 }

 body.prominent .fr-cover-teasers ul {
	gap:14px;
 }

 body.prominent .fr-cover-teasers__copy {
	font-size:20px;
 }
}

/* Let the centre of the frame breathe. The owner's overlay tint remains at the edges.
   A photograph-only cover is shown with the original exposure. */
body.prominent .magcover:has(.fr-shade) .cover-content > .overlay {
	mask-image: linear-gradient(180deg, #000, transparent 26%, transparent 58%, #000);
}
body.prominent.fr-cover-text-off .magcover .cover-content > .overlay { display: none; }

body.prominent .magcover [data-anymag-cover="photo"][style] img {
	object-position: var(--fr-photo-position, 50% 50%);
}
body.prominent .magcover:has(.fr-cap[data-cover-away]) .fr-cover-teasers { visibility: hidden; }

@media (max-width: 960px) {
	body.prominent .magcover {
		height: 74vh;
		height: 74svh;
		min-height: min(520px, 76vh);
		max-height: 770px;
	}

	/* Keep issue lines in reading order. A densely edited cover can grow
	   beyond the usual photograph instead of printing one story over another. */
	body.prominent .magcover:has(.fr-cover-teasers) {
		height: auto;
		min-height: 0;
		max-height: none;
	}

	body.prominent .magcover:has(.fr-cover-teasers) .cover-wrap {
		position: relative;
		inset: auto;
		height: auto;
	}

	body.prominent .magcover .cover-content:has(> .fr-cover-teasers) {
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: clamp(min(520px, 76vh), 74vh, 770px);
		min-height: clamp(min(520px, 76svh), 74svh, 770px);
		padding-bottom: 26px;
	}

	body.prominent .magcover .cover-content > .fr-cover-teasers {
		position: relative;
		inset: auto;
		margin: clamp(28px, 7vh, 64px) var(--pad) 24px;
	}

	body.prominent .magcover .fr-cover-teasers + .fr-cap {
		position: relative;
		inset: auto;
		margin: auto var(--pad) 0;
	}

	body.prominent .fr-cap--magazine {
		bottom: 26px;
		max-width: min(100%, 36rem);
	}
	body.prominent .fr-cap--magazine .fr-cap__open { margin-top: 8px; }

	body.prominent .fr-cap--magazine.fr-cap--subject .fr-cap__word[data-len="l"] {
		font-size: clamp(26px, 6.6vw, 37px);
	}
}
