/* iRC Site Core — layout helpers (the widget styles live in uploads/irc-site-core/frozen.css) */

.irc-site-header {
	display: block;
	position: sticky;
	top: 0;
	z-index: 99;
}

.admin-bar .irc-site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .irc-site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .irc-site-header {
		top: 0;
	}
}

.irc-main {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Slides (formerly Elementor Pro "Slides" with Swiper) */
.irc-slider .swiper-wrapper {
	transition-property: transform;
	transition-timing-function: ease;
}

.irc-slider .swiper-slide {
	flex: 0 0 100%;
	width: 100%;
}

.irc-slider .elementor-swiper-button {
	cursor: pointer;
	z-index: 2;
}

.irc-slider .swiper-pagination-bullet {
	cursor: pointer;
}

/* Share buttons are links now */
a.elementor-share-btn {
	text-decoration: none;
}

/* Post cards: keep the image ratio box filled (Pro did this with JavaScript) */
.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail {
	position: relative;
	overflow: hidden;
}

.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: none;
}
