/*
 Theme Name:   The Capital
 Theme URI:    https://thecapital.co.za
 Description:  Child theme for Hello Elementor — The Capital Hotels, Apartments & Resorts
 Author:       The Capital
 Author URI:   https://thecapital.co.za
 Template:     hello-elementor
 Version:      1.0.6
 License:      GNU General Public License v3 or later
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  the-capital
*/

/* ------------------------------------------------------------------
   Performance — layout-shift (CLS) guards
   ------------------------------------------------------------------ */

/* Elementor background video: keep the iframe invisible until the player
   reports ready, so its injection/resizing never paints a layout shift.
   The container's background (fallback image) shows in the meantime. */
.elementor-background-video-container iframe.elementor-background-video-embed {
	opacity: 0;
	transition: opacity 0.4s ease;
}
.elementor-background-video-container iframe.elementor-background-video-embed[data-ready="true"] {
	opacity: 1;
}

/* Weglot language switcher: reserve its rendered footprint so it doesn't
   push surrounding content when its JS injects the widget. */
div[id^="weglot-switcher"] {
	min-width: 63px;
	/* min-height: 52px; */
}

/* ------------------------------------------------------------------
   Hide ALL slider pagination dots site-wide (client request).
   Covers every theme slider's pagination container plus the generic
   Swiper/Elementor class. Sliders remain navigable via arrows and
   touch/drag.
   ------------------------------------------------------------------ */
.swiper-pagination,
.tc-swiper-pagination,
.tc-deals-pagination,
.tc-related-deals-pagination,
.tc-vg-pagination,
.tc-gs-pagination,
.tc-rooms-pagination,
.tc-inner-pagination,
.tc-flush-pagination,
.tc-facilities-pagination,
.tc-reasons-pagination,
.tc-mr-custom-pagination,
.tc-mr-config-pagination,
.tc-mr-ext-pagination,
.tc-hi-pagination,
.tc-inspiration-pagination,
.tc-cs-pagination {
	display: none !important;
}
