/**
 * GosSeo — khối Hỏi đáp và Hướng dẫn từng bước, phía người đọc và trong trình soạn.
 *
 * Cố ý nhẹ tay: chữ, màu, cỡ chữ lấy theo theme; ở đây chỉ dựng bố cục và mũi tên mở/đóng.
 */

.gosseo-faq,
.gosseo-howto {
	margin: 1.5em 0;
}

.gosseo-faq-tieu-de,
.gosseo-howto-ten {
	margin: 0 0 0.6em;
}

.gosseo-faq-muc {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.gosseo-faq-muc:first-of-type {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.gosseo-faq-hoi {
	position: relative;
	padding: 0.85em 2em 0.85em 0;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.gosseo-faq-hoi::-webkit-details-marker {
	display: none;
}

.gosseo-faq-hoi::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.4em;
	width: 0.5em;
	height: 0.5em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s;
}

.gosseo-faq-muc[open] > .gosseo-faq-hoi::after {
	transform: translateY(-30%) rotate(-135deg);
}

.gosseo-faq-tl {
	padding: 0 0 1em;
}

.gosseo-faq-tl > :last-child,
.gosseo-howto-buoc-chu > :last-child {
	margin-bottom: 0;
}

.gosseo-howto-gio {
	opacity: 0.8;
	font-size: 0.92em;
}

.gosseo-howto-buoc {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: gosseo-buoc;
}

.gosseo-howto-buoc > li {
	position: relative;
	margin: 0 0 1.2em;
	padding-left: 2.6em;
	counter-increment: gosseo-buoc;
}

.gosseo-howto-buoc > li::before {
	content: counter(gosseo-buoc);
	position: absolute;
	top: 0;
	left: 0;
	width: 1.8em;
	height: 1.8em;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.08);
	font-weight: 700;
	line-height: 1.8em;
	text-align: center;
}

.gosseo-howto-buoc-ten {
	display: block;
	margin-bottom: 0.3em;
}

.gosseo-howto-anh {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 0.6em;
}

/* Trình soạn khối */
.gosseo-khoi-sua .gosseo-khoi-muc {
	position: relative;
	padding: 0.4em 0 0.6em;
}

.gosseo-khoi-sua .gosseo-faq-hoi {
	padding-right: 0;
}

.gosseo-khoi-sua .gosseo-faq-hoi::after {
	display: none;
}

.gosseo-khoi-nut {
	display: flex;
	gap: 2px;
	justify-content: flex-end;
	opacity: 0.6;
}

.gosseo-khoi-muc:hover .gosseo-khoi-nut,
.gosseo-khoi-muc:focus-within .gosseo-khoi-nut {
	opacity: 1;
}

.gosseo-howto-anh-xem {
	max-width: 96px;
	height: auto;
}
