/* "Tham gia nhóm Zalo" blocks (templates/flex/html/softway_zalo_group.php) */
.swz-card, .swz-strip {
	--swz-blue: #0068ff;
	--swz-blue-dark: #0052cc;
	--swz-ink: #0f1b2d;
	--swz-text: #3b4859;
	--swz-soft: #eef5ff;
	box-sizing: border-box;
}
.swz-card *, .swz-strip * { box-sizing: border-box; }

.swz-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 999px;
	background: var(--swz-blue);
	color: #fff !important;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgba(0, 104, 255, .28);
	transition: background .15s, transform .15s, box-shadow .15s;
}
.swz-btn:hover, .swz-btn:focus { background: var(--swz-blue-dark); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(0, 104, 255, .34); }
.swz-btn .swz-zicon path[stroke] { stroke: var(--swz-blue); }
.swz-btn--lg { padding: 14px 28px; font-size: 17px; }

/* Card at the end of an article */
.swz-card {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
	margin: 36px 0 8px;
	padding: 28px 32px;
	border: 1px solid #cfe1ff;
	border-radius: 18px;
	background: linear-gradient(135deg, #f4f8ff 0%, var(--swz-soft) 60%, #e3eeff 100%);
	color: var(--swz-text);
}
.swz-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px !important;
	color: var(--swz-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.swz-card .swz-card__title {
	margin: 0 0 8px;
	color: var(--swz-ink);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: -.01em;
}
.swz-card__intro { margin: 0 0 14px !important; font-size: 16px; line-height: 1.6; }
.swz-points {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 20px;
	margin: 0 0 20px !important;
	padding: 0 !important;
	list-style: none !important;
}
.swz-points li {
	position: relative;
	margin: 0 !important;
	padding-left: 26px;
	font-size: 15px;
	line-height: 1.5;
	list-style: none !important;
}
.swz-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--swz-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.swz-card__qr { width: 168px; text-align: center; }
.swz-card__qr .swz-qr {
	display: block;
	width: 168px;
	height: 168px;
	padding: 6px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(15, 27, 45, .12);
}
.swz-card__qr p { margin: 10px 0 0 !important; font-size: 13px; line-height: 1.4; color: #6b7788; }

/* Strip above the footer */
.swz-strip {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 22px;
	margin-bottom: 20px;
	border-radius: 14px;
	background: var(--swz-blue);
	color: #fff;
}
.swz-strip__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	color: var(--swz-blue);
}
.swz-strip__icon .swz-zicon path[fill="currentColor"] { fill: var(--swz-blue); }
.swz-strip__icon .swz-zicon path[stroke] { stroke: #fff; }
.swz-strip__text { flex: 1; margin: 0; line-height: 1.45; }
.swz-strip__text b { display: block; color: #fff; font-size: 17px; }
.swz-strip__text span { color: rgba(255, 255, 255, .88); font-size: 14.5px; }
.sw-footer .swz-strip .swz-btn,
.swz-strip .swz-btn { background: #fff; color: var(--swz-blue) !important; box-shadow: none; }
.swz-strip .swz-btn:hover, .swz-strip .swz-btn:focus { background: #e8f1ff; color: var(--swz-blue-dark) !important; }
.swz-strip .swz-btn .swz-zicon path[stroke] { stroke: #fff; }

@media (max-width: 991px) {
	.swz-card { grid-template-columns: 1fr; padding: 24px 22px; }
	/* on a phone the button opens Zalo directly; a QR code only helps on a computer */
	.swz-card__qr { display: none; }
}
@media (max-width: 767px) {
	.sw-topbar__links > li.sw-topbar__group { display: none; }
	.swz-card .swz-card__title { font-size: 21px; }
	.swz-points { grid-template-columns: 1fr; }
	.swz-card .swz-btn { width: 100%; justify-content: center; }
	.swz-strip { flex-wrap: wrap; padding: 16px; }
	.swz-strip__text { flex-basis: calc(100% - 62px); }
	.swz-strip .swz-btn { width: 100%; justify-content: center; }
}
