/* L2 Valkyria — /info/rules (game rules) */

body.rules-page .rules-section {
	padding-top: 28px;
	padding-bottom: 48px;
}

body.rules-page .rules-section > .container {
	max-width: 1140px;
}

body.rules-page .rules-panel {
	background: linear-gradient(165deg, rgba(48, 34, 22, 0.97) 0%, rgba(38, 28, 18, 0.98) 100%);
	border: 1px solid rgba(174, 131, 46, 0.28);
	border-radius: 12px;
	padding: 36px 40px 40px;
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.rules-page .rules-panel .section__text {
	font-size: 15px;
	line-height: 1.72;
	color: #d4d0cc;
	margin-bottom: 20px;
}

body.rules-page .rules-panel .rules-intro {
	margin-bottom: 8px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(188, 142, 49, 0.18);
}

body.rules-page .rules-panel .rules-intro .section__text {
	margin-bottom: 18px;
}

body.rules-page .rules-panel .rules-intro .section__text:last-child {
	margin-bottom: 0;
}

body.rules-page .rules-panel .section__text a {
	color: #bc8e31;
	text-decoration: none;
}

body.rules-page .rules-panel .section__text a:hover {
	color: #e0b85c;
	text-decoration: underline;
}

/* Top-level sections: "1. Account usage" on one line */
body.rules-page .rules-panel .section__list > ol > li {
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(188, 142, 49, 0.1);
}

body.rules-page .rules-panel .section__list > ol > li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

body.rules-page .rules-panel .section__list > ol > li::before {
	color: #ff9800;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

body.rules-page .rules-panel .section__list ol h4 {
	display: inline;
	margin: 0;
	color: #ff9800;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.3px;
}

body.rules-page .rules-panel .section__list > ol > li > ol {
	display: block;
	margin-top: 16px;
	margin-left: 0;
	padding-left: 0;
	border-left: none;
}

body.rules-page .rules-panel .section__list ol ol {
	margin-top: 12px;
	padding-left: 1.35rem;
	border-left: 2px solid rgba(188, 142, 49, 0.2);
}

body.rules-page .rules-panel .section__list ol ol ol {
	margin-top: 10px;
	margin-bottom: 6px;
	padding-left: 1.15rem;
	border-left-color: rgba(188, 142, 49, 0.12);
}

body.rules-page .rules-panel .section__list ol li {
	color: #dbdada;
	font-size: 15px;
	line-height: 1.68;
}

body.rules-page .rules-panel .section__list ol ol > li {
	margin-top: 0;
}

body.rules-page .rules-panel .section__list ol ol > li + li {
	margin-top: 14px;
}

body.rules-page .rules-panel .section__list ol ol ol > li {
	margin-top: 0;
	font-size: 14px;
	line-height: 1.65;
	color: #ccc8c4;
}

body.rules-page .rules-panel .section__list ol ol ol > li + li {
	margin-top: 8px;
}

body.rules-page .rules-panel .section__list strong {
	color: #e8c56a;
	font-weight: 600;
}

body.rules-page .rules-panel .section__list a {
	color: #bc8e31;
	text-decoration: none;
}

body.rules-page .rules-panel .section__list a:hover {
	color: #e0b85c;
	text-decoration: underline;
}

body.rules-page .rules-panel .section__list blockquote {
	display: block;
	position: relative;
	margin: 18px 0 6px;
	padding: 16px 18px 16px 22px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	line-height: 1.68;
	color: #ece8e4;
	font-weight: 400;
	background: rgba(188, 142, 49, 0.07);
	border: 1px solid rgba(188, 142, 49, 0.2);
	border-radius: 8px;
}

body.rules-page .rules-panel .section__list blockquote::before {
	content: '';
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 0;
	width: 3px;
	background-color: #bc8e31;
	box-shadow: 0 0 12px rgba(188, 142, 49, 0.2);
	border-radius: 0 3px 3px 0;
}

body.rules-page .rules-panel .section__list blockquote strong {
	color: #ff9800;
}

body.rules-page .rules-panel #sharing_means {
	scroll-margin-top: 100px;
}

@media (max-width: 767px) {
	body.rules-page .rules-panel {
		padding: 26px 22px 28px;
		border-radius: 10px;
	}

	body.rules-page .rules-panel .section__list > ol > li::before,
	body.rules-page .rules-panel .section__list ol h4 {
		font-size: 17px;
	}
}

@media (max-width: 575px) {
	body.rules-page .rules-section {
		padding-top: 20px;
		padding-bottom: 36px;
	}

	body.rules-page .rules-panel {
		padding: 20px 16px 22px;
	}

	body.rules-page .rules-panel .section__list ol ol {
		padding-left: 1rem;
	}
}
