/*
Theme Name: CARNIMAD / Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor.
Author: UNIKAL
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

:root {
	/* COLOURS */
	--c-white: #fff;
	--c-black: #181818;

	--c-white-20: #ffffff20;
	--c-white-50: #ffffff80;
	--c-white-80: #ffffffcc;

	--c-black-20: #00000020;
	--c-black-50: #00000080;
	--c-black-80: #000000cc;

	--c-grey: #bfbfbf;
	--c-grey-100: #f5f5f5;
	--c-grey-300: #e4e4e7;
	--c-grey-500: #7a7a7a;
	--c-grey-600: #7b7d7b;
	--c-grey-900: #333;

	--c-green-ok: #a3cb38;
	--c-red-ok: #e74c3c;
	--c-yellow-ok: #f39c12;
	--c-red: #e30613;
	--c-red-dark: #a1020c;

	/* PROJECT */
	--c-primary: #c3002f;
	--c-secondary: #000000;
	--c-text: #2b2a2a;
	--c-link: #c3002f;

	/* ELEMENTOR */
	--c-primary-100: #ffe8ed;
	--c-primary-700: #4e0013;
	--c-blue: #1e73be;
	--c-green: #32a343;
	--c-yellow: #efb810;

	/* ELEMENTOR - v4 */
	--ca-white: var(--c-white);
	--ca-primary: var(--c-primary);
	--ca-secondary: var(--c-secondary);
	--ca-grey-100: var(--c-grey-100);
	--ca-grey-300: var(--c-grey-300);
	--ca-grey-500: var(--c-grey-500);

	/* VARIOS */
	--a-anim: all 150ms ease-out;
}

@media screen and (max-width: 767px) {
}

/* --------------- HEADER STICKY */
.carnimad-header {
	transition: var(--a-anim);
}

.carnimad-header.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	width: 100%;
	animation: carnimadStickyHeaderIn 0.35s ease forwards;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.carnimad-header .e-ac3c48b-21f80cd {
	transition: var(--a-anim);
}

.carnimad-header.is-sticky .e-ac3c48b-21f80cd {
	max-width: 180px;
}
.carnimad-header.is-sticky .e-dbd562a-b258edd {
	padding-block-start: 10px;
	padding-block-end: 10px;
}

@keyframes carnimadStickyHeaderIn {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --------------- HOME */
.home_news .elementor-widget-theme-post-excerpt {
	display: none;
}

/* --------------- PAGINACIÓN LOOP NOTICIAS */
.elementor-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.elementor-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	background: #ffffff;
	border: 1px solid #ececec;
	color: #000000;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: all 0.3s ease;
}

.elementor-pagination a.page-numbers:hover,
.elementor-pagination .current {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #ffffff;
}

.elementor-pagination .elementor-screen-only {
	display: none;
}

.elementor-pagination .current {
	background: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
	color: #ffffff;
	cursor: default;
}

.elementor-pagination .dots {
	cursor: default;
	pointer-events: none;
}

.elementor-pagination .prev,
.elementor-pagination .next {
	font-size: 0;
}

.elementor-pagination .prev::before,
.elementor-pagination .next::before {
	font-size: 2.4rem;
	font-weight: 300;
	line-height: 1;
	color: inherit;
}

.elementor-pagination .prev::before {
	content: '‹';
}

.elementor-pagination .next::before {
	content: '›';
}

.elementor-pagination .elementor-screen-only {
	display: none;
}

