.stm-hs {
	--stm-hs-navy: #0d1b2a;
	--stm-hs-navy-2: #16283c;
	--stm-hs-gold: #a98a62;
	--stm-hs-ivory: 251, 249, 245;
	--stm-hs-ink: #16202b;
	--stm-hs-ink-2: #55616e;
	--stm-hs-hair: rgba(13, 27, 42, .08);
	--stm-hs-hair-2: rgba(13, 27, 42, .14);
	--stm-hs-serif: 'Cormorant Garamond', 'IBM Plex Sans Thai', serif;
	--stm-hs-th: 'IBM Plex Sans Thai', 'Cormorant Garamond', sans-serif;
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #fff;
	color: var(--stm-hs-ink);
	font-family: var(--stm-hs-serif);
	-webkit-font-smoothing: antialiased;
}
.stm-hs *, .stm-hs *::before, .stm-hs *::after { box-sizing: border-box; }

/* ---------- slide ---------- */
.stm-hs-slide {
	position: relative;
	overflow: hidden;
	background: rgb(var(--stm-hs-ivory));
	aspect-ratio: 1920 / 1024;
	min-height: 420px;
}
.stm-hs-media, .stm-hs-imglink { position: absolute; inset: 0; display: block; }
.stm-hs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }

/* เฟดขาวฝั่งซ้าย เพื่อให้ข้อความอ่านง่ายบนทุกรูป */
.stm-hs-slide--text::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(var(--stm-hs-ivory), .95) 0%, rgba(var(--stm-hs-ivory), .82) 30%, rgba(var(--stm-hs-ivory), 0) 62%);
	pointer-events: none;
}

/* ---------- ข้อความ ---------- */
.stm-hs-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
	max-width: 58%;
	padding: clamp(24px, 4vw, 64px) 0 clamp(24px, 4vw, 64px) clamp(24px, 5.6vw, 88px);
}

.stm-hs-eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 clamp(14px, 2vw, 30px);
	font: 600 clamp(11px, 1.05vw, 16px) / 1.3 var(--stm-hs-serif);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--stm-hs-gold);
}
.stm-hs-eyebrow::after { content: ''; flex: 0 0 clamp(50px, 8vw, 130px); height: 1px; background: var(--stm-hs-gold); }

.stm-hs-title {
	margin: 0 0 clamp(14px, 1.8vw, 26px);
	font: 500 clamp(32px, 4.9vw, 80px) / 1.08 var(--stm-hs-serif);
	letter-spacing: -.01em;
	color: var(--stm-hs-navy);
}
.stm-hs-gold { color: var(--stm-hs-gold); }
.stm-hs-title-gold {
	display: block;
	margin-top: .1em;
	font-size: .78em;
	line-height: 1.12;
	text-transform: uppercase;
	color: var(--stm-hs-gold);
}

.stm-hs-desc {
	margin: 0 0 clamp(20px, 2.4vw, 36px);
	font: 400 clamp(15px, 1.45vw, 23px) / 1.75 var(--stm-hs-serif);
	color: var(--stm-hs-ink);
}

.stm-hs-btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: clamp(13px, 1.2vw, 18px) clamp(24px, 2.4vw, 38px);
	border-radius: 4px;
	background: var(--stm-hs-navy);
	color: #fff;
	font: 500 clamp(14px, 1.3vw, 20px) / 1.3 var(--stm-hs-serif);
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background .25s;
}
.stm-hs-btn:hover, .stm-hs-btn:focus-visible { background: var(--stm-hs-navy-2); color: #fff; }
.stm-hs-btn svg { flex: none; transition: transform .25s; }
.stm-hs-btn:hover svg { transform: translateX(3px); }

/* ---------- ปุ่มควบคุมใต้แบนเนอร์ ---------- */
.stm-hs-ui { display: flex; justify-content: center; padding: 20px 0; border-top: 1px solid var(--stm-hs-hair); background: #fff; }
.stm-hs-ui__mid { display: flex; align-items: center; gap: 24px; }
.stm-hs-arw {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	border: 1px solid var(--stm-hs-hair-2);
	border-radius: 50%;
	background: transparent;
	color: var(--stm-hs-ink-2);
	cursor: pointer;
	transition: border-color .2s, color .2s;
}
.stm-hs-arw:hover, .stm-hs-arw:focus-visible { border-color: var(--stm-hs-gold); color: var(--stm-hs-gold); background: transparent; }
.stm-hs-dots.swiper-pagination { position: static; display: flex; gap: 9px; width: auto; transform: none; }
.stm-hs-dots .swiper-pagination-bullet { width: 7px; height: 7px; margin: 0 !important; border-radius: 50%; background: var(--stm-hs-hair-2); opacity: 1; }
.stm-hs-dots .swiper-pagination-bullet-active { background: var(--stm-hs-gold); }
.stm-hs-arw:focus {
    color: #A98A62;
    background-color: transparent;
    border-color: #A98A62;
}

/* ---------- มือถือ: ข้อความอยู่บน รูปอยู่ล่าง ---------- */
@media (max-width: 860px) and (min-width: 601px) {
	.stm-hs-slide { min-height: 480px; }
	.stm-hs-content { max-width: 70%; }
}
@media (max-width: 600px) {
	.stm-hs-slide { aspect-ratio: 390 / 576; min-height: 0; }
	.stm-hs-slide--text { display: flex; flex-direction: column; }
	.stm-hs-slide--text::before { background: linear-gradient(180deg, rgba(var(--stm-hs-ivory), .96) 0%, rgba(var(--stm-hs-ivory), .88) 42%, rgba(var(--stm-hs-ivory), 0) 72%); }
	.stm-hs-bg { object-position: center bottom; }
	.stm-hs-content { height: auto; max-width: 100%; justify-content: flex-start; padding: 28px 20px 32px; }
	.stm-hs-eyebrow { gap: 10px; margin-bottom: 14px; font-size: 10px; letter-spacing: .08em; }
	.stm-hs-eyebrow::after { flex: 0 0 28px; }
	.stm-hs-title { font-size: clamp(28px, 8.4vw, 52px); }
	.stm-hs-desc { font-size: 14.5px; line-height: 1.7; text-wrap: pretty; }
	.stm-hs-btn { padding: 13px 22px; font-size: 14px; letter-spacing: .08em; }
	.stm-hs-ui { padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) { .stm-hs-btn, .stm-hs-btn svg, .stm-hs-arw { transition: none; } }
