@import "../../assets/css/breakpoints.css";

.cluster-page {
	padding: 40px 0 60px;
}
.cluster-page h1 {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 900;
	color: #121415;
	margin-bottom: 12px;
	line-height: 1.3;
}
.cluster-page h2 {
	font-size: clamp(1.1rem, 2.4vw, 1.45rem);
	font-weight: 800;
	color: #121415;
	margin: 32px 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f0f0;
}
.cluster-intro {
	font-size: .97rem;
	color: #6a6868;
	line-height: 1.75;
	max-width: 800px;
	margin-bottom: 28px;
}

/* ── Shared cluster related links ───────────────────────────── */
.cluster-related ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.cluster-related ul li a {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 100px;
	background: #f1f5fa;
	border: 1.5px solid #e0e0e0;
	font-size: .83rem;
	font-weight: 600;
	color: #121415;
	text-decoration: none;
	transition: all .22s ease;
}
.cluster-related ul li a:hover {
	background: var(--color-red-600);
	border-color: var(--color-red-600);
	color: #fff;
}

/* ── Giá lăn bánh table ─────────────────────────────────────── */
.glb-table-wrap {
	margin-bottom: 28px;
}
.glb-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
}
.glb-table thead th {
	background: #121415;
	color: #fff;
	padding: 12px 16px;
	text-align: left;
	font-weight: 700;
	font-size: .85rem;
	white-space: nowrap;
}
.glb-table tbody td {
	padding: 11px 16px;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: middle;
}
.glb-table tbody tr:hover {
	background: #fef8f8;
}
.glb-table tbody td strong {
	color: var(--color-red-600);
	font-weight: 700;
}
.glb-explain dt {
	font-weight: 700;
	color: #121415;
	margin: 14px 0 4px;
}
.glb-explain dd {
	color: #6a6868;
	font-size: .9rem;
	margin-left: 0;
	line-height: 1.65;
}

/* ── Lịch bảo dưỡng ─────────────────────────────────────────── */
.schedule-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
}
.schedule-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 16px 20px;
	border-bottom: 1px solid #f0f0f0;
	background: #fff;
	transition: background .18s ease;
}
.schedule-item:last-child {
	border-bottom: none;
}
.schedule-item:hover {
	background: #fef8f8;
}
.schedule-km {
	flex-shrink: 0;
	min-width: 90px;
	font-weight: 800;
	font-size: 1rem;
	color: var(--color-red-600);
	padding-top: 2px;
}
.schedule-hangs {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.schedule-hangs li {
	display: inline-block;
	background: #f1f5fa;
	border: 1px solid #e0e0e0;
	padding: 4px 12px;
	border-radius: 100px;
	font-size: .8rem;
	color: #444;
}
.faq-list dt {
	font-weight: 700;
	color: #121415;
	margin: 18px 0 6px;
	font-size: .95rem;
}
.faq-list dd {
	color: #6a6868;
	margin-left: 0;
	line-height: 1.7;
	font-size: .9rem;
	border-left: 3px solid var(--color-red-600);
	padding-left: 14px;
}
.baoduong-cta {
	background: #f1f5fa;
	border-radius: 12px;
	padding: 28px 24px;
	margin-top: 8px;
	text-align: center;
}
.baoduong-cta h2 {
	border-bottom: none;
	margin-top: 0;
}
.baoduong-cta p {
	color: #6a6868;
	margin-bottom: 18px;
}

/* ── Đánh giá score ─────────────────────────────────────────── */
.score-list {
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.score-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: .9rem;
}
.score-list li span {
	min-width: 180px;
	color: #121415;
	font-weight: 600;
}
.score-list li meter {
	flex: 1;
	height: 8px;
	border-radius: 4px;
}
.score-list li strong {
	min-width: 40px;
	text-align: right;
	font-weight: 700;
	color: var(--color-red-600);
}
.score-overall {
	font-size: 1.1rem;
	font-weight: 700;
	color: #121415;
	border-top: 1px solid #f0f0f0;
	padding-top: 14px;
	margin-top: 4px;
}
.review-body {
	line-height: 1.8;
	color: #444;
	font-size: .95rem;
}

/* ── So sánh xe ─────────────────────────────────────────────── */
.xe-compare-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
}
.xe-compare-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 18px;
	border-bottom: 1px solid #f0f0f0;
	background: #fff;
	font-size: .9rem;
}
.xe-compare-list li:last-child {
	border-bottom: none;
}
.xe-compare-current {
	background: #fef8f8 !important;
	font-weight: 700;
}
.btn-sm {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 6px;
	font-size: .78rem;
	font-weight: 700;
	background: var(--color-red-600);
	color: #fff;
	text-decoration: none;
	transition: background .18s ease;
	border: 1.5px solid var(--color-red-600);
}
.btn-sm:hover {
	background: var(--color-red-700);
	border-color: var(--color-red-700);
	color: #fff;
}
.btn-sm.btn-outline {
	background: transparent;
	color: var(--color-red-600);
}
.btn-sm.btn-outline:hover {
	background: var(--color-red-600);
	color: #fff;
}

/* ── Bảo dưỡng / so sánh buttons ───────────────────────────── */
.baoduong-cta .btn,
.sosanh-cta .btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 28px;
	border-radius: 7px;
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
	min-height: 48px;
	border: 2px solid transparent;
	transition: all .22s ease;
	margin: 4px;
}
.baoduong-cta .btn-primary,
.sosanh-cta .btn-primary {
	background: var(--color-red-600);
	color: #fff;
	border-color: var(--color-red-600);
}
.baoduong-cta .btn-primary:hover,
.sosanh-cta .btn-primary:hover {
	background: var(--color-red-700);
}
.baoduong-cta .btn-outline {
	background: transparent;
	color: var(--color-red-600);
	border-color: var(--color-red-600);
}
.baoduong-cta .btn-outline:hover {
	background: var(--color-red-600);
	color: #fff;
}

/* ── Related article list (cluster_danhgia) ─────────────────── */
.danhgia-related-articles {
  margin-top: 32px;
}

.bv-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bv-list a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-primary);
  transition: box-shadow 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.bv-list a:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bv-list img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.bv-list span {
  padding: 8px 12px 12px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (--bp-lt-md) {
	.cluster-page {
		padding: 28px 0 44px;
	}
	.schedule-item {
		flex-direction: column;
		gap: 8px;
	}
	.schedule-km {
		min-width: unset;
	}
	.score-list li span {
		min-width: 130px;
	}
	.xe-compare-list li {
		flex-wrap: wrap;
		gap: 8px;
	}
}
@media (--bp-lt-phone) {
	.score-list li {
		flex-wrap: wrap;
	}
	.score-list li span {
		min-width: unset;
		width: 100%;
	}
}
