/* ========================================
   Shrimp Encyclopedia
======================================== */

.encyclopedia-page {
	background: #fff;
}

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

/* ========================================
   Hero
======================================== */

.encyclopedia-hero {
	padding: 84px 0 78px;
	background: #f7fbfd;
}

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

.encyclopedia-hero__title {
	margin: 0 0 24px;
	color: #222;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.35;
}

.encyclopedia-hero__description {
	max-width: 720px;
	margin: 0;
	color: #555;
	font-size: 17px;
	line-height: 2;
}

/* ========================================
   Section Heading
======================================== */

.encyclopedia-section-heading {
	margin-bottom: 42px;
	text-align: center;
}

.encyclopedia-section-heading__en {
	margin: 0 0 10px;
	color: #1f77b4;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.encyclopedia-section-heading__title {
	margin: 0;
	color: #222;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.45;
}

/* ========================================
   Categories
======================================== */

.encyclopedia-categories {
	padding: 82px 0 94px;
	background: #fff;
}

.encyclopedia-category-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.encyclopedia-category-card {
	display: flex;
	flex-direction: column;
	min-height: 300px;
	padding: 34px 36px 32px;
	border: 1px solid #e3e9ed;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 3px 14px rgba(0, 0, 0, .04);
	color: inherit;
	text-decoration: none;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.encyclopedia-category-card:hover {
	transform: translateY(-4px);
	border-color: #cbdce7;
	box-shadow: 0 9px 26px rgba(31, 119, 180, .10);
}

.encyclopedia-category-card__number {
	margin: 0 0 20px;
	color: #1f77b4;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
}

.encyclopedia-category-card__en {
	margin: 0 0 6px;
	color: #6b93b5;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.encyclopedia-category-card__title {
	margin: 0 0 18px;
	color: #222;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.45;
}

.encyclopedia-category-card__description {
	flex: 1;
	margin: 0;
	color: #626a70;
	font-size: 14px;
	line-height: 1.9;
}

.encyclopedia-category-card__link {
	margin: 28px 0 0;
	color: #1f77b4;
	font-size: 14px;
	font-weight: 700;
}

.encyclopedia-category-card__link span {
	margin-left: 7px;
}

/* ========================================
   Tablet
======================================== */

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

	.encyclopedia-hero {
		padding: 68px 0 64px;
	}

	.encyclopedia-category-grid {
		gap: 20px;
	}

	.encyclopedia-category-card {
		padding: 30px;
	}
}

/* ========================================
   Smartphone
======================================== */

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

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

	.encyclopedia-hero {
		padding: 48px 0 44px;
	}

	.encyclopedia-hero__en {
		margin-bottom: 9px;
		font-size: 11px;
		line-height: 1.4;
		letter-spacing: .11em;
	}

	.encyclopedia-hero__title {
		margin-bottom: 16px;
		font-size: 29px;
		line-height: 1.4;
		word-break: keep-all;
	}

	.encyclopedia-hero__description {
		max-width: none;
		font-size: 14px;
		line-height: 1.85;
		word-break: normal;
		overflow-wrap: break-word;
	}

	.encyclopedia-categories {
		padding: 50px 0 60px;
	}

	.encyclopedia-section-heading {
		margin-bottom: 28px;
		padding: 0 6px;
	}

	.encyclopedia-section-heading__en {
		margin-bottom: 7px;
		font-size: 11px;
		line-height: 1.4;
		letter-spacing: .12em;
	}

	.encyclopedia-section-heading__title {
		font-size: 26px;
		line-height: 1.4;
		word-break: keep-all;
	}

	.encyclopedia-category-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.encyclopedia-category-card {
		min-height: 0;
		padding: 24px 22px;
		border-radius: 10px;
	}

	.encyclopedia-category-card:hover {
		transform: none;
	}

	.encyclopedia-category-card__number {
		margin-bottom: 15px;
		font-size: 12px;
	}

	.encyclopedia-category-card__en {
		margin-bottom: 5px;
		font-size: 10px;
		line-height: 1.5;
	}

	.encyclopedia-category-card__title {
		margin-bottom: 13px;
		font-size: 21px;
		line-height: 1.45;
	}

	.encyclopedia-category-card__description {
		font-size: 14px;
		line-height: 1.8;
	}

	.encyclopedia-category-card__link {
		margin-top: 19px;
		font-size: 14px;
		line-height: 1.6;
	}
}
