.wp-block-gallery.is-style-slider {
	position: relative;
}

.wp-block-gallery.is-style-slider .tb-slider-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	gap: 12px;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.wp-block-gallery.is-style-slider .tb-slider-track::-webkit-scrollbar {
	display: none;
}

.wp-block-gallery.is-style-slider .tb-slider-track > * {
	flex: 0 0 80%;
	scroll-snap-align: start;
	margin: 0 !important;
}

@media (min-width: 782px) {
	.wp-block-gallery.is-style-slider .tb-slider-track > * {
		flex: 0 0 45%;
	}
}

.wp-block-gallery.is-style-slider .tb-slider-track img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 6px;
}

/* Ok butonları - resimlerin biraz içinde, tam yuvarlak */
.wp-block-gallery.is-style-slider .tb-slider-nav {
	position: absolute;
	top: 50%;
	margin-top: -20px; /* transform yerine sabit offset: bazı temalarda transform ezilebiliyor */
	width: 40px;
	height: 40px;
	aspect-ratio: 1 / 1;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	border: none;
	outline: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 3;
	padding: 0;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
	transition: background .15s ease, transform .15s ease;
}

.wp-block-gallery.is-style-slider .tb-slider-nav:hover {
	background: rgba(0, 0, 0, .8);
	transform: scale(1.06);
}

.wp-block-gallery.is-style-slider .tb-slider-nav:active {
	transform: scale(0.94);
}

.wp-block-gallery.is-style-slider .tb-slider-nav svg {
	width: 16px;
	height: 16px;
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wp-block-gallery.is-style-slider .tb-slider-prev { left: 14px; }
.wp-block-gallery.is-style-slider .tb-slider-next { right: 14px; }

.wp-block-gallery.is-style-slider .tb-slider-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 10px;
}

.wp-block-gallery.is-style-slider .tb-slider-dots button {
	width: 8px;
	height: 8px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	border: none;
	background: #ccc;
	padding: 0;
	cursor: pointer;
	box-sizing: border-box;
}

.wp-block-gallery.is-style-slider .tb-slider-dots button.active {
	background: #FF6600;
}