/* DP Stories — category filter + Swiper carousel (portrait cards) */

.elementor-widget-dp-stories {
	min-width: 0;
	max-width: 100%;
}

.elementor-widget-dp-stories .dp-stories {
	box-sizing: border-box;
	background-color: #000000;
	color: #fff;
	/* Let the carousel shrink inside Elementor flex (.e-con) rows; wide max-content nav must not set min-width:auto overflow. */
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.elementor-widget-dp-stories .dp-stories__nav-wrap {
	display: var(--dp-stories-nav-wrap-display, flex);
	justify-content: var(--dp-stories-nav-wrap-justify, center);
	text-align: var(--dp-stories-nav-wrap-text-align, center);
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: var(--dp-stories-nav-overflow-x, visible);
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.elementor-widget-dp-stories .dp-stories__nav {
	display: flex;
	flex-wrap: var(--dp-stories-nav-flex-wrap, wrap);
	justify-content: var(--dp-stories-nav-justify, center);
	align-items: center;
	width: var(--dp-stories-nav-width, auto);
	min-width: var(--dp-stories-nav-min-width, 0);
	gap: 40px;
}

.elementor-widget-dp-stories .dp-stories__nav-wrap::-webkit-scrollbar {
	display: none;
}

.elementor-widget-dp-stories .dp-stories__nav-btn {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	text-decoration: none;
	white-space: var(--dp-stories-nav-btn-white-space, normal);
	flex: var(--dp-stories-nav-btn-flex, initial);
	transition: color 0.2s ease, opacity 0.2s ease;
}

.elementor-widget-dp-stories .dp-stories__nav-btn:hover,
.elementor-widget-dp-stories .dp-stories__nav-btn:focus-visible {
	color: #ffffff;
	opacity: 1;
}

.elementor-widget-dp-stories .dp-stories__nav-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.45);
	outline-offset: 4px;
}

.elementor-widget-dp-stories .dp-stories__nav-btn.is-active {
	color: #ffffff;
}

/* Carousel row: arrows + Swiper */
.elementor-widget-dp-stories .dp-stories__carousel {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.elementor-widget-dp-stories .dp-stories__swiper {
	flex: 1;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.elementor-widget-dp-stories .dp-stories__swiper .swiper-wrapper {
	align-items: flex-start;
}

.elementor-widget-dp-stories .dp-stories__swiper .swiper-slide {
	height: auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.elementor-widget-dp-stories .dp-stories__slide--hidden {
	display: none !important;
}

.elementor-widget-dp-stories .dp-stories__carousel-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid currentColor;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.elementor-widget-dp-stories .dp-stories__carousel-btn:hover,
.elementor-widget-dp-stories .dp-stories__carousel-btn:focus-visible {
	background-color: rgba(255, 255, 255, 0.08);
}

.elementor-widget-dp-stories .dp-stories__carousel-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.5);
	outline-offset: 2px;
}

/* Tall slides: 1st, 3rd, 5th… Short slides: 2nd, 4th… (~82% height, top-aligned).
   :where() keeps default width below Elementor responsive rules specificity. */
:where(.elementor-widget-dp-stories) .dp-stories__card {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 9 / 16;
	height: min(72vh, 640px);
	margin: 0;
	text-decoration: none;
	color: inherit;
	border-style: solid;
	border-width: 1px;
	border-color: #c9a962;
	border-radius: 0;
	overflow: hidden;
	box-sizing: border-box;
	transition: opacity 0.2s ease;
}

.elementor-widget-dp-stories .dp-stories__slide--stagger-short .dp-stories__card {
	aspect-ratio: 9 / 13.12;
	height: calc(min(72vh, 640px) * 0.82);
}

.elementor-widget-dp-stories .dp-stories__card:focus-visible {
	outline: 2px solid rgba(201, 169, 98, 0.9);
	outline-offset: 2px;
}

.elementor-widget-dp-stories .dp-stories__card-inner {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.elementor-widget-dp-stories .dp-stories__media {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transition: transform 0.35s ease;
	transform: scale(1);
	will-change: transform;
}

.elementor-widget-dp-stories .dp-stories__card:hover .dp-stories__media,
.elementor-widget-dp-stories .dp-stories__card:focus-visible .dp-stories__media {
	transform: scale(1.08);
}

.elementor-widget-dp-stories .dp-stories__media--placeholder {
	background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
}

.elementor-widget-dp-stories .dp-stories__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 38%;
	display: flex;
	align-items: flex-end;
	box-sizing: border-box;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.elementor-widget-dp-stories .dp-stories__overlay-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	text-align: left;
	background-color: transparent;
	box-sizing: border-box;
}

.elementor-widget-dp-stories .dp-stories__title {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
	font-weight: 500;
	line-height: 1.35;
	color: #ffffff;
	margin: 0;
}

.elementor-widget-dp-stories .dp-stories__excerpt {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: clamp(0.75rem, 1vw, 0.8125rem);
	font-weight: 400;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.elementor-widget-dp-stories .dp-stories__empty {
	margin: 0;
	padding: 24px;
	text-align: center;
	font-family: system-ui, sans-serif;
	color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767px) {
	.elementor-widget-dp-stories .dp-stories__carousel {
		gap: 8px;
	}

	.elementor-widget-dp-stories .dp-stories__carousel-btn {
		width: 38px;
		height: 38px;
	}
}
