.smp-ss-section {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 16px;
	box-sizing: border-box;
}

.smp-ss-heading {
	text-align: center;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.3px;
	margin: 0 0 28px;
}

.smp-ss-grid {
	display: grid;
	grid-template-columns: repeat(var(--smp-ss-columns, 4), 1fr);
	gap: 16px;
}

.smp-ss-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	background: #ffffff;
	border-radius: 18px;
	padding: 22px 12px 18px;
	box-shadow: 0 2px 10px rgba(20, 30, 60, 0.06);
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.smp-ss-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 22px rgba(20, 30, 60, 0.12);
}

.smp-ss-icon-wrap {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	flex-shrink: 0;
}

.smp-ss-icon-emoji {
	line-height: 1;
}

.smp-ss-icon-img {
	object-fit: contain;
	display: block;
}

.smp-ss-label {
	font-weight: 800;
	font-size: 13px;
	line-height: 1.35;
	color: #1c3a6b;
	text-transform: uppercase;
	letter-spacing: 0.2px;
}

@media (max-width: 1024px) {
	.smp-ss-grid {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}

@media (max-width: 640px) {
	.smp-ss-grid,
	.smp-ss-service-grid,
	.smp-ss-video-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px;
	}
	.smp-ss-heading {
		font-size: 21px;
	}
	.smp-ss-icon-wrap {
		width: 60px;
		height: 60px;
	}
}

/* ---------- Shortcode 4: Testimonial Slider ---------- */

.smp-ss-testimonial-slider {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
}

.smp-ss-testimonial-track {
	position: relative;
	width: 100%;
	border-radius: 16px;
}

.smp-ss-testimonial-slide {
	display: none;
}

.smp-ss-testimonial-slide.is-active {
	display: block;
	animation: smp-ss-fade-in 0.35s ease;
}

@keyframes smp-ss-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.smp-ss-testimonial-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 28px 32px;
	text-align: center;
	box-shadow: 0 4px 18px rgba(20, 30, 60, 0.08);
}

.smp-ss-stars {
	color: #e2b93b;
	font-size: 16px;
	letter-spacing: 2px;
	margin-bottom: 14px;
}

.smp-ss-star {
	color: #d9dce1;
}

.smp-ss-star.is-filled {
	color: #f2b632;
}

.smp-ss-testimonial-quote {
	font-size: 15px;
	line-height: 1.7;
	color: #33394a;
	margin: 0 0 20px;
}

.smp-ss-testimonial-person {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.smp-ss-testimonial-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.smp-ss-testimonial-person-text {
	text-align: left;
	display: flex;
	flex-direction: column;
}

.smp-ss-testimonial-name {
	font-weight: 700;
	color: #1c3a6b;
	font-size: 14px;
}

.smp-ss-testimonial-subtitle {
	font-size: 12px;
	color: #7a8296;
}

.smp-ss-slide-nav {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #dfe3ea;
	background: #ffffff;
	color: #1c3a6b;
	cursor: pointer;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.smp-ss-slide-nav:hover {
	background: #eaf1fb;
}

.smp-ss-slide-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}

.smp-ss-slide-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: #d9dce1;
	cursor: pointer;
	padding: 0;
}

.smp-ss-slide-dot.is-active {
	background: #1c3a6b;
	width: 20px;
	border-radius: 5px;
}

@media (max-width: 640px) {
	.smp-ss-testimonial-card {
		padding: 22px 18px;
	}
}

/* ---------- Shortcode 5: Dịch vụ chính ---------- */

.smp-ss-service-grid {
	display: grid;
	grid-template-columns: repeat(var(--smp-ss-columns, 4), 1fr);
	gap: 20px;
}

.smp-ss-service-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(20, 30, 60, 0.06);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.smp-ss-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 22px rgba(20, 30, 60, 0.12);
}

.smp-ss-service-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.smp-ss-service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.smp-ss-service-body {
	padding: 18px 16px 22px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
}

.smp-ss-service-title {
	font-size: 15px;
	font-weight: 800;
	color: #1c3a6b;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.smp-ss-service-desc {
	font-size: 13px;
	color: #6b7280;
	line-height: 1.5;
	margin: 0 0 18px;
	flex: 1;
}

.smp-ss-service-btn {
	display: inline-block;
	background: #1a9e94;
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	padding: 10px 22px;
	border-radius: 999px;
	text-decoration: none;
	transition: background 0.15s ease;
}

a.smp-ss-service-btn:hover {
	background: #157c74;
}

/* ---------- Shortcode 6: Video chia sẻ ---------- */

.smp-ss-video-grid {
	display: grid;
	grid-template-columns: repeat(var(--smp-ss-columns, 3), 1fr);
	gap: 18px;
}

.smp-ss-video-card {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.smp-ss-video-thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	background: #1c3a6b;
}

.smp-ss-video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.smp-ss-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #1a9e94;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	padding-left: 4px;
	transition: transform 0.15s ease;
}

.smp-ss-video-card:hover .smp-ss-video-play {
	transform: translate(-50%, -50%) scale(1.08);
}

.smp-ss-video-title {
	font-size: 14px;
	font-weight: 700;
	color: #1c3a6b;
	line-height: 1.4;
}

.smp-ss-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
}

.smp-ss-video-modal.is-open {
	display: flex;
}

.smp-ss-video-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 30, 0.82);
}

.smp-ss-video-modal-body {
	position: relative;
	width: min(900px, 92vw);
	z-index: 1;
}

.smp-ss-video-modal-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}

.smp-ss-video-modal-frame iframe,
.smp-ss-video-modal-frame video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.smp-ss-video-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
