/* Stories archive hero and fixed banners used on story pages. */
#archive-stories .c-floating {
	display: none;
}

#archive-stories .stories-hero {
	background-color: #e0e9fd;
}

#archive-stories .stories-hero__inner {
	box-sizing: border-box;
	min-height: 498px;
	padding: 52px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#archive-stories .stories-hero__title {
	margin: 0 24px 28px;
	color: #262626;
	font-size: 2.4rem;
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
}

#archive-stories .stories-hero__description {
	width: calc(100% - 48px);
	max-width: 340px;
	margin: 0 24px 34px;
	color: #0e202e;
	font-size: 1.4rem;
	line-height: 1.5;
	text-align: center;
}

#archive-stories .stories-hero__banner {
	box-sizing: border-box;
	width: calc(100% - 48px);
	max-width: 327px;
	height: 214px;
	padding-top: 24px;
	border-radius: 8px;
	background-color: #fff;
	overflow: hidden;
	display: flex;
	justify-content: center;
	flex: 0 0 auto;
	transition: opacity 0.3s ease;
}

#archive-stories .stories-hero__banner picture {
	display: block;
	width: 211px;
	flex: 0 0 auto;
}

#archive-stories .stories-hero__banner img {
	display: block;
	width: 100%;
	height: auto;
}

#archive-stories .stories-content {
	padding-top: 52px;
}

#archive-stories .stories-content > .heading-lv2-text:first-child {
	font-size: 2.4rem;
}

#archive-stories .stories-recommended {
	box-sizing: border-box;
	padding: 52px 20px 4px;
	background-color: #e4f2ff;
}

#archive-stories .stories-recommended__heading {
	margin-bottom: 32px;
	color: #0e202e;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

#archive-stories .stories-recommended .p-download__grp__lump__fig {
	box-sizing: border-box;
}

#archive-stories .stories-recommended .p-download__grp__lump__description {
	white-space: normal;
}

.stories-fixed-banner {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	background: linear-gradient(to bottom right, #c6f0fe 0%, #82b0fa 100%);
	box-shadow: 0 0 20px 0 rgba(0, 55, 162, 0.32);
	transform: translateY(0);
	transition: transform 0.4s ease-in-out;
	will-change: transform;
}

.stories-fixed-banner--story {
	background: var(--ddd, linear-gradient(110deg, #0075ff 12.42%, #72ccff 88.14%));
}

.stories-fixed-banner[hidden] {
	display: none;
}

.stories-fixed-banner.is-closing {
	pointer-events: none;
	transform: translateY(calc(100% + 50px));
}

.stories-fixed-banner__link {
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding: 8px 48px 0;
	transition: opacity 0.3s ease;
}

@media (hover: hover) {
	#archive-stories .stories-hero__banner:hover,
	.stories-fixed-banner__link:hover {
		opacity: 0.7;
	}
}

.stories-fixed-banner__link picture,
.stories-fixed-banner__link img {
	display: block;
	width: 100%;
}

.stories-fixed-banner__close {
	position: absolute;
	top: -16px;
	right: 10px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.stories-fixed-banner__close img {
	display: block;
	width: 100%;
	height: 100%;
}

.stories-fixed-banner__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

@media screen and (min-width: 768px) {
	#archive-stories .stories-hero__inner {
		min-height: 447px;
		padding: 72px 24px 70px;
	}

	#archive-stories .stories-hero__title {
		margin-bottom: 24px;
		font-size: 3.2rem;
	}

	#archive-stories .stories-hero__description {
		width: auto;
		max-width: none;
		margin: 0 0 40px;
		font-size: 2rem;
		line-height: 1.6;
	}

	#archive-stories .stories-hero__banner {
		width: 480px;
		max-width: none;
		height: 132px;
		padding-top: 0;
	}

	#archive-stories .stories-hero__banner picture {
		width: 480px;
	}

	#archive-stories .stories-recommended {
		padding: 72px 20px;
	}

	#archive-stories .stories-recommended__heading {
		margin-bottom: 40px;
		font-size: 40px;
	}

	.stories-fixed-banner {
		right: 40px;
		bottom: 20px;
		left: auto;
		width: 213px;
		background: transparent;
		box-shadow: none;
	}

	.stories-fixed-banner--story {
		width: 221px;
	}

	.stories-fixed-banner__link {
		padding: 0;
		filter: drop-shadow(0 0 20px rgba(0, 55, 162, 0.12));
	}

	.stories-fixed-banner__close {
		top: -10px;
		right: -10px;
		width: 30px;
		height: 30px;
	}
}
