/* KBS Social Reels — matched to original design tokens */

.kbs-reels-section {
	width: 100%;
	box-sizing: border-box;
	background: hsl(40 33% 97%);
	padding: 48px 0;
}
@media (min-width: 768px) { .kbs-reels-section { padding: 64px 0; } }

.kbs-reels-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

/* Header row */
.kbs-reels-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}
.kbs-reels-badge {
	font-family: Georgia, "Playfair Display", "Times New Roman", serif;
	font-size: 30px;
	font-weight: 700;
	color: hsl(20 25% 15%);
	margin: 0;
	line-height: 1.2;
}
@media (min-width: 640px) { .kbs-reels-badge { font-size: 36px; } }
.kbs-reels-title {
	margin: 8px 0 0;
	font-size: 16px;
	font-weight: 600;
	color: hsl(20 25% 15%);
}
@media (min-width: 640px) { .kbs-reels-title { font-size: 18px; } }
.kbs-reels-subtitle {
	margin: 4px 0 0;
	font-size: 14px;
	color: hsl(20 15% 45%);
}
@media (min-width: 640px) { .kbs-reels-subtitle { font-size: 16px; } }

/* Arrows (hidden on small screens, like original) */
.kbs-reels-arrows {
	display: none;
	gap: 8px;
	flex: none;
}
@media (min-width: 640px) { .kbs-reels-arrows { display: flex; } }
.kbs-reels-arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid hsl(40 20% 80%);
	background: #fff;
	color: hsl(20 25% 25%);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.2s;
}
.kbs-reels-arrow:hover {
	background: hsl(40 40% 94%);
	transform: scale(1.05);
}
.kbs-reels-arrow .kbs-reels-arrow-icon,
.kbs-reels-arrow svg {
	width: 18px !important;
	height: 18px !important;
	display: block;
	stroke: #3a2a2a !important;
	fill: none !important;
}
.kbs-reels-arrow .kbs-reels-arrow-icon polyline {
	stroke: #3a2a2a !important;
	fill: none !important;
}

/* Track */
.kbs-reels-wrap { position: relative; }
.kbs-reels-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.kbs-reels-track::-webkit-scrollbar { display: none; }

/* Reel card */
.kbs-reel {
	scroll-snap-align: start;
	flex: 0 0 auto;
	width: 220px;
}
@media (min-width: 640px) { .kbs-reel { width: 260px; } }
@media (min-width: 768px) { .kbs-reel { width: 300px; } }
@media (min-width: 1024px) { .kbs-reel { width: 320px; } }

.kbs-reel-media {
	position: relative;
	width: 100%;
	aspect-ratio: 9 / 16;
	border-radius: 24px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
}
.kbs-reel-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Caption overlay */
.kbs-reel-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 12px;
	color: #fff;
	background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.35) 45%, transparent);
	pointer-events: none;
}
.kbs-reel-creator {
	margin: 0;
	font-size: 12px;
	opacity: 0.8;
}
.kbs-reel-caption {
	margin: 2px 0 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
}

/* Play button */
.kbs-reel-play {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255,255,255,0.85);
	color: hsl(345 65% 35%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	cursor: pointer;
	transition: background 0.2s;
}
.kbs-reel-media:hover .kbs-reel-play { background: #fff; }
