/* ========================================
   AtWell Shrimp Encyclopedia - Detail
======================================== */

.shrimp-detail-page {
	background: #fff;
}

.shrimp-detail-container {
	width: min(960px, calc(100% - 40px));
	margin: 0 auto;
}

.shrimp-detail-hero {
	padding: 72px 0 0;
	background: #f7fbfd;
}

.shrimp-detail-hero__en {
	margin: 0 0 10px;
	color: #1f77b4;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.shrimp-detail-hero__title {
	margin: 0 0 34px;
	color: #222;
	font-size: 40px;
	line-height: 1.4;
}

.shrimp-detail-hero__figure {
	margin: 0;
	overflow: hidden;
	border-radius: 12px 12px 0 0;
	background: #eef2f4;
}

.shrimp-detail-hero__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center;
}

.shrimp-detail-content {
	padding-top: 70px;
	padding-bottom: 100px;
}

.shrimp-detail-section {
	margin-bottom: 72px;
}

.shrimp-detail-section:last-child {
	margin-bottom: 0;
}

.shrimp-detail-section__title {
	margin: 0 0 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid #dfe7eb;
	color: #222;
	font-size: 28px;
	line-height: 1.45;
}

.shrimp-detail-facts {
	margin: 0;
	border-top: 1px solid #e5eaed;
}

.shrimp-detail-facts__row {
	display: grid;
	grid-template-columns: 150px 1fr;
	border-bottom: 1px solid #e5eaed;
}

.shrimp-detail-facts dt,
.shrimp-detail-facts dd {
	margin: 0;
	padding: 17px 20px;
}

.shrimp-detail-facts dt {
	background: #f7f9fa;
	font-weight: 700;
}

.shrimp-detail-facts dd {
	color: #4f585e;
}

.shrimp-detail-text {
	color: #505960;
	font-size: 16px;
	line-height: 2;
}

.shrimp-detail-text p {
	margin: 0 0 1.4em;
}

.shrimp-detail-text p:last-child {
	margin-bottom: 0;
}

.shrimp-detail-guide-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	color: #1f77b4;
	font-weight: 700;
	text-decoration: none;
}

.shrimp-detail-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 22px;
}

.shrimp-detail-gallery__item {
	margin: 0;
}

.shrimp-detail-gallery__item img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
}

.shrimp-detail-gallery__item figcaption {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-top: 12px;
	color: #59636a;
	font-size: 14px;
	line-height: 1.7;
}

.shrimp-detail-gallery__item figcaption strong {
	color: #222;
}

.shrimp-detail-related {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.shrimp-detail-related a {
	padding: 18px 20px;
	border: 1px solid #dfe7eb;
	border-radius: 8px;
	color: #333;
	font-weight: 700;
	text-decoration: none;
}

.shrimp-detail-missing {
	padding: 80px 0 100px;
}

@media screen and (max-width: 600px) {

	.shrimp-detail-container {
		width: calc(100% - 32px);
	}

	.shrimp-detail-hero {
		padding-top: 46px;
	}

	.shrimp-detail-hero__title {
		margin-bottom: 24px;
		font-size: 28px;
	}

	.shrimp-detail-hero__figure {
		border-radius: 8px 8px 0 0;
	}

	.shrimp-detail-hero__image {
		aspect-ratio: 4 / 3;
	}

	.shrimp-detail-content {
		padding-top: 48px;
		padding-bottom: 64px;
	}

	.shrimp-detail-section {
		margin-bottom: 52px;
	}

	.shrimp-detail-section__title {
		margin-bottom: 22px;
		font-size: 24px;
	}

	.shrimp-detail-facts__row {
		grid-template-columns: 100px 1fr;
	}

	.shrimp-detail-facts dt,
	.shrimp-detail-facts dd {
		padding: 14px 12px;
		font-size: 14px;
	}

	.shrimp-detail-text {
		font-size: 15px;
		line-height: 1.9;
	}

	.shrimp-detail-gallery,
	.shrimp-detail-related {
		grid-template-columns: 1fr;
	}

	.shrimp-detail-gallery {
		gap: 24px;
	}
}
