/* Scoped presentation fixes for Richard's 24 August issue log. */

/* The shared archive uses the approved Events-style two-column grid and the
   same 1080 x 1920 (9:16) media standard as the homepage listing sections. */
.iso-shared-archive-page .directorist-archive-items .directorist-thumnail-card {
	height: auto !important;
	padding-top: 177.7778% !important;
	overflow: hidden;
}

.iso-shared-archive-page .iso-shared-archive-heading {
	margin: 0 auto 24px;
	max-width: 1120px;
	padding: 24px 20px 0;
	text-align: center;
}

.iso-shared-archive-page .iso-shared-archive-heading h1 {
	color: #11162a;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0;
}

.iso-shared-archive-page .directorist-archive-items .directorist-thumnail-card-front-wrap,
.iso-shared-archive-page .directorist-archive-items .directorist-thumnail-card-back-wrap,
.iso-shared-archive-page .directorist-archive-items .directorist-swiper,
.iso-shared-archive-page .directorist-archive-items .swiper-wrapper,
.iso-shared-archive-page .directorist-archive-items .swiper-slide,
.iso-shared-archive-page .directorist-archive-items .dd-lcv-card__media,
.iso-shared-archive-page .directorist-archive-items .dd-lcv-card__facade,
.iso-shared-archive-page .directorist-archive-items .dd-lcv-card__video,
.iso-shared-archive-page .directorist-archive-items .dd-lcv-card__poster,
.iso-shared-archive-page .directorist-archive-items .dd-lcv-card__iframe {
	height: 100% !important;
	width: 100% !important;
}

.iso-shared-archive-page .directorist-archive-items .directorist-thumnail-card img,
.iso-shared-archive-page .directorist-archive-items .dd-lcv-card__video,
.iso-shared-archive-page .directorist-archive-items .dd-lcv-card__poster {
	display: block;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center;
	width: 100% !important;
}

.iso-shared-archive-page .directorist-archive-contents,
.iso-shared-archive-page .directorist-archive-items,
.iso-shared-archive-page .directorist-listing-single,
.iso-home-v2-page .iso-v2-listing-section {
	min-width: 0;
}

/* A reliable, thumb-sized sound control for autoplay-muted listing videos.
   This sits above native/provider chrome, which is very small on mobile. */
.dd-lcv-card__media .iso-video-sound-toggle {
	align-items: center;
	background: rgba(17, 22, 42, 0.92);
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	bottom: 12px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
	color: #fff;
	cursor: pointer;
	display: none;
	font-size: 13px;
	font-weight: 700;
	gap: 6px;
	height: auto !important;
	justify-content: center;
	left: auto !important;
	line-height: 1;
	max-width: calc(100% - 20px);
	min-height: 46px;
	min-width: 46px;
	padding: 10px 14px;
	position: absolute;
	right: 12px;
	top: auto !important;
	width: auto !important;
	z-index: 8;
}

/* The larger custom control is only needed where touch interaction is the
   primary input: Elementor's tablet breakpoint and below. */
@media (max-width: 1024px) {
	.dd-lcv-card__media .iso-video-sound-toggle {
		display: inline-flex;
	}
}

.dd-lcv-card__media .iso-video-sound-toggle:hover,
.dd-lcv-card__media .iso-video-sound-toggle:focus-visible {
	background: #11162a;
	outline: 3px solid #ffdf00;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.iso-shared-archive-page .directorist-archive-contents > .directorist-row,
	.iso-shared-archive-page .directorist-archive-items .directorist-row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.iso-shared-archive-page .directorist-archive-items [class*="directorist-col-"] {
		max-width: 100%;
		width: 100%;
	}

	.dd-lcv-card__media .iso-video-sound-toggle {
		bottom: 10px;
		font-size: 12px;
		min-height: 48px;
		min-width: 48px;
		right: 10px;
	}
}

/* Match the second homepage carousel to the first: media fills the section,
   navigation uses arrows only, and no pagination gutter remains. */
.brand-elementor-slider.elementor-section {
	padding-bottom: 0 !important;
	padding-top: 0 !important;
}

.brand-elementor-slider .elementor-widget-wrap {
	padding-bottom: 0 !important;
	padding-top: 0 !important;
}

.brand-elementor-slider .elementor-widget-container {
	margin-bottom: 0 !important;
}

.brand-elementor-slider .elementor-image-carousel-wrapper {
	padding-bottom: 0 !important;
}

.brand-elementor-slider .swiper-pagination {
	display: none !important;
}
