/* Bài viết + form đặt hàng theo nhóm dịch vụ API */
.mmo-post-svc-group-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 1.25rem 0 2rem;
	gap: 20px;
}

.mmo-post-svc-group-layout__content,
.mmo-post-svc-group-layout__column {
	flex: 0 0 58.3333%;
	max-width: calc(58.3333% - 10px);
	min-width: 0;
	position: relative;
}

/* Legacy fallback (wrap qua filter) */
.mmo-post-svc-group-layout__content-title {
	display: none;
}

.mmo-post-svc-group-layout__aside {
	flex: 0 0 41.6667%;
	max-width: calc(41.6667% - 20px);
	position: sticky;
	top: 1rem;
	align-self: flex-start;
}

@media (max-width: 991px) {
	.mmo-post-svc-group-layout {
		flex-direction: column;
	}

	.mmo-post-svc-group-layout__column,
	.mmo-post-svc-group-layout__content {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.mmo-post-svc-group-layout__aside {
		flex: 1 1 100%;
		max-width: 100%;
		position: relative;
		top: auto;
	}
}

/* Bài không gắn nhóm: một cột nội dung (không cột đặt hàng) */
body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout--no-order .mmo-post-svc-group-layout__column {
	flex: 1 1 100%;
	max-width: 100%;
}

/* Chỉ bài có nhóm + layout V2: ẩn sidebar theme (form nằm trong nội dung / landing) */
body.single-post.mmo-post-has-service-group.mmo-post-group-layout-v2 #secondary,
body.single-post.mmo-post-has-service-group.mmo-post-group-layout-v2 .post-sidebar {
	display: none !important;
}

body.single-post.mmo-post-has-service-group.mmo-post-group-layout-v2 #primary,
body.single-post.mmo-post-has-service-group.mmo-post-group-layout-v2 .large-9,
body.single-post.mmo-post-has-service-group.mmo-post-group-layout-v2 .medium-8 {
	flex: 0 0 100% !important;
	max-width: 100% !important;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout {
	max-width: 1180px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 0 0.75rem;
	margin-top: 0;
	flex: 0 0 auto;
	align-self: center;
}

/* Nền + spacing khu vực content giống layout mẫu */
body.single-post.mmo-blog-single-skin #content,
body.single-post.mmo-blog-single-skin .page-wrapper {
	background: #f6f7fb;
}

body.single-post.mmo-blog-single-skin #content .container,
body.single-post.mmo-blog-single-skin .page-wrapper .container {
	padding-top: 1.25rem;
	padding-bottom: 2.5rem;
}

/* Hero full width trên cùng; hàng 2 cột nằm dưới */
body.single-post.mmo-blog-single-skin .mmo-article-inner--svc-group {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

/* Card hóa khu vực nội dung giống design */
/* Hero: title + excerpt + ảnh */
body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero {
	width: 100%;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
	padding: 1.35rem 1.35rem 1.25rem;
	margin-bottom: 1.25rem;
	flex: 0 0 auto;
}

@media screen and (min-width: 768px) {
	body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 1.25rem;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero__text {
		flex: 1 1 0;
		min-width: 0;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero__thumb {
		flex: 0 0 20%;
		width: 20%;
		max-width: 20%;
		margin-top: 0;
		align-self: flex-start;
	}
}

@media screen and (max-width: 767px) {
	body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero__thumb {
		display: none !important;
	}
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero__text {
	text-align: left;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero .entry-header-text {
	padding-bottom: 0;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero .entry-title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.5rem, 2.15vw + 1rem, 1.95rem);
	font-weight: 800;
	line-height: 1.22;
	color: #0f172a;
	text-align: left;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero .entry-divider.is-divider {
	margin: 0.55rem auto 0.55rem 0;
	opacity: 0.35;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero .entry-category {
	display: inline-block;
	margin-bottom: 0.35rem;
	text-align: left;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero .entry-meta {
	text-align: left;
	margin-top: 0.35rem;
	color: #64748b;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero__excerpt {
	margin-top: 0.25rem;
	color: #334155;
	font-size: 0.975rem;
	line-height: 1.65;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero__thumb {
	margin-top: 1.1rem;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
	line-height: 0;
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-entry-hero__thumb img.mmo-post-svc-entry-hero__img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
}

/* Cột nhập share nằm ngoài thẻ bài viết để chỉ bọc editor content */
body.single-post.mmo-blog-single-skin .entry-content.mmo-post-svc-group-entry {
	padding: 0 !important;
	margin: 0;
	background: transparent;
	border: 0 !important;
	box-shadow: none;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout__article {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
	padding: 1.25rem 1.25rem 1.35rem;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout__article>*:first-child:not(.mmo-post-svc-group-article-intro) {
	margin-top: 0;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout__article>*:last-child {
	margin-bottom: 0;
}

/* Mobile: nội dung trái rút gọn + Xem thêm */
@media screen and (max-width: 991px) {
	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body__clamp {
		max-height: 16rem;
		overflow: hidden;
		position: relative;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body__clamp::after {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 3.25rem;
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98));
		pointer-events: none;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body.is-expanded .mmo-post-svc-group-entry-body__clamp {
		max-height: none;
		overflow: visible;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body.is-expanded .mmo-post-svc-group-entry-body__clamp::after {
		display: none;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		margin-top: 0.65rem;
		padding: 0.55rem 1rem;
		border: 1px solid rgba(30, 58, 95, 0.35);
		border-radius: 8px;
		background: #fff;
		color: #1e3a5f;
		font-weight: 700;
		font-size: 0.9rem;
		cursor: pointer;
		appearance: none;
		-webkit-appearance: none;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body__toggle:hover {
		background: rgba(30, 58, 95, 0.06);
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body__toggle-label--less {
		display: none;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body.is-expanded .mmo-post-svc-group-entry-body__toggle-label--more {
		display: none;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body.is-expanded .mmo-post-svc-group-entry-body__toggle-label--less {
		display: inline;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body.is-short .mmo-post-svc-group-entry-body__toggle {
		display: none;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body.is-short .mmo-post-svc-group-entry-body__clamp {
		max-height: none;
		overflow: visible;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body.is-short .mmo-post-svc-group-entry-body__clamp::after {
		display: none;
	}
}

@media screen and (min-width: 992px) {
	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body__toggle {
		display: none !important;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body__clamp {
		max-height: none !important;
		overflow: visible !important;
	}

	body.single-post.mmo-blog-single-skin .mmo-post-svc-group-entry-body__clamp::after {
		display: none !important;
	}
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout__article h2 {
	font-weight: 800;
	font-size: 1.15rem;
	color: #1e293b;
	margin-top: 1rem;
	margin-bottom: 0.65rem;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout__article h3 {
	font-weight: 700;
	font-size: 1rem;
	margin-top: 0.95rem;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout__article p {
	color: #475569;
	line-height: 1.65;
}

/* Legacy fallback: toàn bọc vào một card */
body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout__content {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
	padding: 1.25rem 1.25rem 1.35rem;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout__content>*:first-child {
	margin-top: 0;
}

body.single-post.mmo-blog-single-skin .mmo-post-svc-group-layout__content>*:last-child {
	margin-bottom: 0;
}

/* Form trong sidebar Flatsome (#secondary / .post-sidebar) */
#secondary .mmo-post-svc-group-order--in-sidebar,
.post-sidebar .mmo-post-svc-group-order--in-sidebar {
	width: 100%;
	max-width: 100%;
}

.mmo-post-svc-group-order,
.mmo-post-svc-group-order * {
	box-sizing: border-box;
}

.mmo-post-svc-group-order {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
	padding: 1rem 1.1rem 1.15rem;
	font-size: 14px;
	line-height: 1.45;
	color: #1e293b;
}

/* Flatsome sidebar/widgets sometimes override form controls heavily */
#secondary .mmo-post-svc-group-order,
.post-sidebar .mmo-post-svc-group-order {
	margin: 0;
}

.mmo-post-svc-group-order__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.mmo-post-svc-group-order__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.mmo-post-svc-group-order__tabs {
	display: flex;
	gap: 0;
	margin: 0.75rem 0 1rem;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #cbd5e1;
}

.mmo-post-svc-group-order__tab {
	flex: 1;
	padding: 0.45rem 0.5rem;
	margin: 0;
	border: 0;
	background: #f8fafc;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
	color: #475569;
	appearance: none;
	-webkit-appearance: none;
	line-height: 1.2;
}

.mmo-post-svc-group-order__tab.is-active {
	background: #1e3a5f;
	color: #fff;
}

.mmo-post-svc-group-order__field {
	margin-bottom: 0.85rem;
}

.mmo-post-svc-group-order__label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
	font-size: 13px;
}

.mmo-post-svc-group-order__input,
.mmo-post-svc-group-order__select,
.mmo-post-svc-group-order__textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 0.45rem 0.55rem;
	font-size: 14px;
	background: #fff;
	color: inherit;
}

.mmo-post-svc-group-order__input:focus,
.mmo-post-svc-group-order__select:focus,
.mmo-post-svc-group-order__textarea:focus {
	outline: 2px solid rgba(30, 58, 95, 0.22);
	outline-offset: 1px;
	border-color: rgba(30, 58, 95, 0.55);
}

.mmo-post-svc-group-order__hint {
	margin: 0.25rem 0 0;
	font-size: 12px;
	color: #64748b;
}

.mmo-post-svc-group-order__servers {
	margin: 0.5rem 0 0.75rem;
	max-height: none;
	overflow: visible;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 0.35rem 0.5rem;
	background: #fafafa;
}

.mmo-post-svc-group-order__server {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	padding: 0.45rem 0.25rem;
	border-bottom: 1px solid #eef2f7;
	cursor: pointer;
	border-radius: 4px;
}

.mmo-post-svc-group-order__server:last-child {
	border-bottom: 0;
}

.mmo-post-svc-group-order__server:hover {
	background: rgba(30, 58, 95, 0.06);
}

.mmo-post-svc-group-order__server input {
	margin-top: 3px;
	flex-shrink: 0;
}

.mmo-post-svc-group-order__server input[type="radio"],
.mmo-post-svc-group-order__server input[type="checkbox"] {
	transform: translateY(1px);
}

.mmo-post-svc-group-order__server-body {
	flex: 1;
	min-width: 0;
}

.mmo-post-svc-group-order__server-name {
	font-weight: 600;
	font-size: 13px;
}

.mmo-post-svc-group-order__server-meta {
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
}

.mmo-post-svc-group-order__badge {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.1rem 0.35rem;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	background: #dcfce7;
	color: #166534;
}

.mmo-post-svc-group-order__detail {
	background: #e0f2fe;
	border: 1px solid #bae6fd;
	border-radius: 8px;
	padding: 0.65rem 0.75rem;
	font-size: 12px;
	margin-bottom: 0.85rem;
}

.mmo-post-svc-group-order__detail-row {
	margin: 0.2rem 0;
}

.mmo-post-svc-group-order__total {
	font-size: 1.1rem;
	font-weight: 800;
	margin: 0.5rem 0 0.65rem;
	color: #0f172a;
}

.mmo-post-svc-group-order__submit {
	width: 100%;
	padding: 0.65rem 1rem;
	border: 0;
	border-radius: 8px;
	background: #1e3a5f;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.mmo-post-svc-group-order__submit:hover {
	filter: brightness(0.96);
}

.mmo-post-svc-group-order__submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mmo-post-svc-group-order__msg {
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.65rem;
	border-radius: 6px;
	font-size: 13px;
}

.mmo-post-svc-group-order__msg--err {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.mmo-post-svc-group-order__msg--ok {
	background: #ecfdf5;
	color: #166534;
	border: 1px solid #bbf7d0;
}

.mmo-post-svc-group-order__loading {
	padding: 1rem;
	text-align: center;
	color: #64748b;
}

.mmo-post-svc-group-order__srv-group {
	margin-bottom: 0.65rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #eef2f7;
}

.mmo-post-svc-group-order__srv-group:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.mmo-post-svc-group-order__srv-group-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	margin: 0.35rem 0 0.25rem;
}

.mmo-post-svc-group-order__purchase {
	margin: 0.5rem 0 1rem;
	padding: 0.75rem 0.85rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.mmo-post-svc-group-order__field--price .mmo-post-svc-group-order__label {
	margin-bottom: 0.15rem;
}

.mmo-post-svc-group-order__price-value {
	font-size: 1.15rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.2;
}

.mmo-post-svc-group-order__wallet-link {
	margin: 0.65rem 0 0;
	font-size: 13px;
}

.mmo-post-svc-group-order__wallet-link a {
	color: #1e3a5f;
	font-weight: 600;
	text-decoration: underline;
}