/*
Theme Name: HG Framework
Theme URI: http://www.hectorgarrofe.com
Description: Plantilla Wordpress para XXXXXXXXXXXXX
Author: Héctor Garrofé
Author URI: http://www.hectorgarrofe.com
Version: 3.0
*/

/*---------------------------------------------
//  Variables & Modern Reset
//---------------------------------------------
*/

:root {
	/* Colors */
	--color-primary: #2b453c;
	--color-primary-dark: #20332C;
	--color-secondary: #A7BBB5;
	--color-accent: #809C94;
	--color-text: #20332C;
	--color-text-light: #666666;
	--color-bg: #ffffff;
	--color-bg-alt: #f8f9fa;
	--color-border: #e9ecef;
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

	/* Typography */
	--font-main: 'Inter', sans-serif;
	--font-weight-light: 300;
	--font-weight-normal: 400;
	--font-weight-medium: 500;
	--font-weight-bold: 700;

	/* Spacing */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 4rem;
	--radius-sm: 0.25rem;
	--radius-md: 0.5rem;
	--radius-lg: 1rem;

	/* Layout */
	--container-width: 1200px;
	--header-height: 90px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	background: var(--color-bg);
	font-family: var(--font-main);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--color-primary);
}

.product-body a.product-download:hover {
	color: #fff;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-primary);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: var(--spacing-sm);
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-bottom: var(--spacing-sm);
}

/* Layout Utilities */
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--spacing-sm);
}

.flex {
	display: flex;
}

.flex-col {
	flex-direction: column;
}

.items-center {
	align-items: center;
}

.justify-between {
	justify-content: space-between;
}

.justify-center {
	justify-content: center;
}

.gap-sm {
	gap: var(--spacing-sm);
}

.gap-md {
	gap: var(--spacing-md);
}

/* Wrapper */
#wrapper {
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#wrapper.active {
	-webkit-filter: brightness(50%);
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5 ease-in-out;
	transition: all 0.5s ease-in-out;
	background: #ffffff;
}

#wrapper.slide {
	width: 100%;
	height: 100%;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4 ease-in-out;
	transition: all 0.4s ease-in-out;
}

#wrapper.active.slide {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-filter: brightness(50%);
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4 ease-in-out;
	transition: all 0.4s ease-in-out;
	background: #ffffff;
}

#container {
	max-width: 960px;
	margin: 0 auto;
}

/*---------------------------------------------
//  header
//---------------------------------------------
*/

#header-container {
	width: 100%;
	background: #ffffff;
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 0;
	z-index: 1000;
}

header {
	max-width: var(--container-width);
	margin: 0 auto;
	height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--spacing-sm);
}

#logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 12px;
	box-sizing: border-box;
	max-height: calc(var(--header-height) - 24px);
	overflow: hidden;
}

#logo img {
	display: block;
	max-height: 48px;
	width: auto;
}

/*---------------------------------------------
//  menu
//---------------------------------------------
*/
header nav {
	height: 100%;
	display: flex;
	align-items: center;
}

header nav ul.menu {
	display: flex;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

header nav ul.menu>li {
	position: relative;
}

header nav ul.menu>li>a {
	text-decoration: none;
	color: var(--color-text);
	font-weight: var(--font-weight-medium);
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	display: block;
	padding: 0.5rem 0;
	transition: color 0.3s ease;
}

header nav ul.menu>li>a:hover,
header nav ul.menu>li.current-menu-item>a {
	color: var(--color-primary);
}

/* Underline Effect */
header nav ul.menu>li>a::after {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background: var(--color-primary);
	transition: width 0.3s;
	margin-top: 4px;
}

header nav ul.menu>li>a:hover::after,
header nav ul.menu>li.current-menu-item>a::after {
	width: 100%;
}

header nav ul.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Dropdown (if any) */
header nav ul.menu>li>ul {
	position: absolute;
	top: 100%;
	left: 0;
	background: linear-gradient(135deg, rgba(32, 51, 44, 0.98), rgba(18, 32, 27, 0.95));
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	border-radius: var(--radius-sm);
	padding: 0.5rem 0;
	border: 1px solid rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

header nav ul.menu>li:hover>ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

header nav ul.menu>li>ul>li>a {
	padding: 0.8rem 1.4rem;
	display: block;
	color: #f5f5f5;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

header nav ul.menu>li>ul>li>a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

/*
MOBILE MENU BUTTON
*/
.mobile-menu-btn {
	display: none;
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 10002;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	border: 1px solid rgba(32, 51, 44, 0.12);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	box-shadow: var(--shadow-md);
	cursor: pointer;
	padding: 0;
	color: var(--color-primary);
	font-size: 1.6rem;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.mobile-menu-btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
}

.mobile-menu-btn.active {
	background: linear-gradient(135deg, var(--color-primary), #1d2f28);
	color: #fff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

@media only screen and (max-width : 940px) {
	.mobile-menu-btn {
		display: inline-flex;
	}

	header {
		height: 78px;
	}

	header nav {
		display: none;
	}

	#logo {
		width: 110px;
	}
}

/*
END MOBILE MENU BUTTON
*/
#breadcrumbs {
	font-size: 0.85rem;
	color: #666;
	display: flex;
	align-items: center;
}

#breadcrumbs .ti-home {
	font-size: 1.1rem;
	margin-right: 6px;
	color: var(--color-primary);
	position: relative;
	top: -1px;
}

#breadcrumbs a {
	font-weight: 600;
	text-transform: uppercase;
}

header nav ul.menu>li>ul>li a {
	padding: 0.8rem 1.4rem;
	font-size: 0.92rem;
	color: #f5f5f5;
	font-weight: 600;
	text-transform: uppercase;
}

header nav ul>li>ul>li.current-menu-item a {}

/*---------------------------------------------
//  submenu 2do nivel
//---------------------------------------------
*/

header nav ul>li>ul>li>ul {
	display: none;
	z-index: 1;
}

header nav ul>li>ul>li:hover>ul {
	display: block;
	position: absolute;
	background: linear-gradient(135deg, rgba(32, 51, 44, 0.95), rgba(18, 32, 27, 0.92));
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.07);
	left: 161px;
	top: 0;
	min-width: 115px;
}

/*---------------------------------------------
//  Blog
//---------------------------------------------
*/
#content .post {
	margin-bottom: 40px;
	border-bottom: 1px solid #eeeeee;
	overflow: hidden;
	padding-bottom: 20px;
}

.read-more {
	color: #fff;
	background: var(--color-primary);
	padding: 5px 10px;
	box-sizing: border-box;
	float: left;
}

/*---------------------------------------------
//  footer
//---------------------------------------------
*/
#footer-container {
	width: 100%;
	background: linear-gradient(145deg, var(--color-primary), #192b24);
	color: #fff;
	padding: var(--spacing-md) 0 var(--spacing-md);
}

#partners {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(120px, 1fr);
	gap: 18px;
	padding: 0 var(--spacing-sm) var(--spacing-md);
	align-items: center;
	justify-content: center;
	justify-items: center;
	overflow-x: auto;
	scrollbar-width: thin;
}

#partners img {
	max-height: 60px;
	object-fit: contain;
	filter: none;
	opacity: 1;
	transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

#partners img:hover {
	transform: translateY(-6px);
	filter: none;
	opacity: 1;
}

footer {
	max-width: 1100px;
	margin: 0 auto;
	color: #fff;
	padding: 0 var(--spacing-sm);
	font-size: 0.95rem;
}

footer a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}

#footer-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--spacing-md);
	padding: 0 0 var(--spacing-md);
}

.footer-col {
	width: 100%;
	float: none;
	margin: 0;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 14px;
	padding: var(--spacing-md);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.footer-col p {
	line-height: 1.6;
	margin: 0.2rem 0 0;
	color: rgba(255, 255, 255, 0.82);
}

.footer-line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 6px 0;
}

.footer-line i {
	color: var(--color-secondary);
	margin-top: 2px;
}

.footer-col a {
	color: rgba(255, 255, 255, 0.9);
}

.footer-col h3 {
	font-size: 1.05rem;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 0;
	margin-bottom: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

.footer-social {
	display: flex;
	gap: 12px;
	align-items: center;
}

.social-ico {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 1.2rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
	text-decoration: none !important;
	/* Ensure no underline affects alignment */
}

.social-ico i {
	display: block;
	line-height: 1;
	margin: 0;
	/* Reset margin */
}

.social-ico:hover {
	transform: translateY(-2px) scale(1.04);
	background: rgba(255, 255, 255, 0.18);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

#copyright-container {
	width: 100%;
	background: #0f1b16;
	padding: 12px 0;
}

#copyright {
	max-width: 1100px;
	margin: 0 auto;
	color: #dfe7e4;
	padding: 0 var(--spacing-sm);
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

/*---------------------------------------------
//  footer menu
//---------------------------------------------
*/
footer nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 0 0 var(--spacing-sm);
	margin: 0 0 var(--spacing-sm);
	list-style: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

footer nav ul.menu li {
	display: inline-flex;
	padding-bottom: 0;
}

footer nav ul.menu li a {
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: 10px;
	border: 1px solid transparent;
	color: rgba(255, 255, 255, 0.8);
	transition: all 0.25s ease;
}

footer nav ul.menu li a:hover {
	border-color: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.current-menu-item a {
	/**/
}

#footer-info {
	padding-top: 10px;
}

/*---------------------------------------------
//  submenu 1er nivel
//---------------------------------------------
*/

#menu-footer>li>ul {
	display: none;
	z-index: 1;
}

#menu-footer>li:hover>ul {
	display: block;
	position: absolute;
	background: #c8c8c8;
}

/*---------------------------------------------
//  submenu 2do nivel
//---------------------------------------------
*/

#menu-footer>li>ul>li {
	position: relative;
}

#menu-footer>li>ul>li>ul {
	display: none;
	z-index: 1;
}

#menu-footer>li>ul>li:hover>ul {
	display: block;
	position: absolute;
	background: #c8c8c8;
	left: 90px;
	top: 0;
	min-width: 90px;
}



/*---------------------------------------------
//  galerias [slide]
//---------------------------------------------
*/
.nav-thumbnails {
	margin-top: 5px;
	margin-bottom: 10px;
}

.nav-thumbnails li {
	margin-left: 5px;
	margin-right: 5px;
}

.nav-thumbnails li:first-child {
	margin-left: 0px;
	margin-right: 5px;
}


.mini-thumb {
	float: left;
}

/*---------------------------------------------
//  sidebar
//---------------------------------------------
*/

.home #sidebar {
	display: none;
}

#sidebar-languages-content {
	overflow: hidden;
}

#sidebar aside {
	float: left;
	width: 30%;
	padding: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-left: 1px solid #eeeeee;
}

#sidebar-languages-content h2 {
	display: none;
}

#sidebar .sidebar-element {
	margin-bottom: 20px;
}

#sidebar .sidebar-element a {
	text-decoration: none;
	color: #000;
}

#sidebar .sidebar-element ul li {
	padding: 2px 0;
	box-sizing: border-box;
}

/*---------------------------------------------
//  notificaciones
//---------------------------------------------
*/
#notificacion {
	background: yellow;
	width: 250px;
	min-height: 200px;
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 8;
	display: none;
}

#cerrar {
	float: right;
}

#cerrar:hover {
	cursor: pointer;
}

/*---------------------------------------------
//  Carousel
//---------------------------------------------
*/

#carousel-container {
	position: relative;
	clear: both;
	margin-bottom: 35px;
	padding-bottom: 70px;
}

#carousel-container .flexslider {
	--carousel-height: clamp(420px, 70vh, 720px);
	--carousel-pan-duration: 6s;
	border-radius: 0;
	/* overflow: hidden; Removed to allow bullets to be seen outside */
	background: #0c1713;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.flexslider .slides>li {
	position: relative;
	min-height: var(--carousel-height);
}

.carousel-image {
	width: 100%;
	height: var(--carousel-height);
	object-fit: cover;
	transform: scale(1.05);
	will-change: transform;
	filter: saturate(1.05);
}

.carousel-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(13, 31, 25, 0.78) 20%, rgba(13, 31, 25, 0.55) 55%, rgba(13, 31, 25, 0.35) 100%);
	display: flex;
	align-items: flex-end;
	padding: clamp(1.5rem, 4vw, 3rem);
	pointer-events: none;
}

.carousel-content {
	pointer-events: auto;
	max-width: 840px;
	width: min(90%, 840px);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	box-shadow: 0 15px 60px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: grid;
	gap: 12px;
	color: #ffffff;
}

.carousel-title {
	margin: 0;
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	line-height: 1.1;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.carousel-text {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	line-height: 1.6;
}

.carousel-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.carousel-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
	color: #ffffff;
	padding: 0.85rem 1.6rem;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: 0.01em;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.14);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
	text-decoration: none;
}

.carousel-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 45px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
}

/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 */


/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
	outline: none;
}

.slides,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {
	margin: 0;
	padding: 0;
}

.flexslider .slides>li {
	display: none;
	-webkit-backface-visibility: hidden;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
	width: 100%;
	display: block;
}

.flex-pauseplay span {
	text-transform: capitalize;
}

/* Clearfix for the .slides element */
.slides:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

html[xmlns] .slides {
	display: block;
}

* html .slides {
	height: 1%;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides>li:first-child {
	display: block;
}


/* FlexSlider Default Theme
*********************************/
.flexslider {
	margin: 0;
	background: transparent;
	position: relative;
	zoom: 1;
	overflow: visible;
}

.flex-viewport {
	max-height: 2000px;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	transition: all 1s ease;
}

.loading .flex-viewport {
	max-height: 300px;
}

.flexslider .slides {
	zoom: 1;
}

.carousel li {
	margin-right: 5px
}


/* Modern FlexSlider with Tabler Icons */
/* Modern FlexSlider with Tabler Icons */
.flex-direction-nav a {
	width: 60px;
	height: 60px;
	margin: -30px 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	position: absolute;
	top: 50%;
	z-index: 20;
	cursor: pointer;
	opacity: 0;
	transition: all .4s cubic-bezier(0.25, 0.8, 0.25, 1);
	border-radius: 50%;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
	text-decoration: none;
}

.flex-direction-nav a i {
	font-size: 32px;
	line-height: 1;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.flex-direction-nav .flex-prev {
	left: -80px;
}

.flex-direction-nav .flex-next {
	right: -80px;
}

.flexslider:hover .flex-prev {
	opacity: 1;
	left: 30px;
}

.flexslider:hover .flex-next {
	opacity: 1;
	right: 30px;
}

.flex-direction-nav a:hover {
	background: rgba(255, 255, 255, 0.95);
	color: var(--color-primary);
	transform: scale(1.1);
	box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.2);
}

/* Control Nav (Bullets) */
/* Control Nav (Bullets) */
/* Control Nav (Bullets) */
.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: -32px;
	left: 0;
	transform: none;
	display: flex;
	justify-content: center;
	gap: 12px;
	padding: 0;
	z-index: 99;
	pointer-events: auto;
	opacity: 1 !important;
	visibility: visible !important;
}

.flex-control-nav li {
	display: inline-block;
}

.flex-control-paging li a {
	width: 14px;
	height: 14px;
	display: block;
	background: rgba(43, 69, 60, 0.4) !important;
	border: 2px solid var(--color-primary) !important;
	cursor: pointer;
	text-indent: -9999px;
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.flex-control-paging li a:hover {
	background: var(--color-primary) !important;
	transform: scale(1.2);
}

.flex-control-paging li a.flex-active {
	background: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
	transform: scale(1.25);
	cursor: default;
	box-shadow: 0 0 0 4px rgba(43, 69, 60, 0.22);
	animation: bullet-pulse 2s infinite;
}

@keyframes bullet-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(43, 69, 60, 0.7);
	}

	70% {
		box-shadow: 0 0 0 10px rgba(43, 69, 60, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(43, 69, 60, 0);
	}
}

/* Modern Animations (Ken Burns Effect) */
.flexslider .slides>li {
	overflow: hidden;
	position: relative;
}

.flexslider .slides>li .carousel-image {
	opacity: 0.98;
	transform: scale(1.05) translate3d(0, 0, 0);
	transition: transform 0.6s ease, opacity 0.6s ease;
}

.flexslider .slides>li.flex-active-slide .carousel-image {
	animation: carousel-pan var(--carousel-pan-duration, 6s) ease-in-out forwards;
}

.flexslider .slides>li:nth-child(even).flex-active-slide .carousel-image {
	animation: carousel-pan-alt var(--carousel-pan-duration, 6s) ease-in-out forwards;
}

@keyframes carousel-pan {
	0% {
		transform: scale(1.05) translate3d(-14px, 0, 0);
	}

	50% {
		transform: scale(1.12) translate3d(10px, -10px, 0);
	}

	100% {
		transform: scale(1.18) translate3d(-10px, 12px, 0);
	}
}

@keyframes carousel-pan-alt {
	0% {
		transform: scale(1.05) translate3d(14px, 0, 0);
	}

	50% {
		transform: scale(1.12) translate3d(-8px, 8px, 0);
	}

	100% {
		transform: scale(1.18) translate3d(10px, -12px, 0);
	}
}

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

	#carousel-container .flexslider {
		--carousel-height: clamp(360px, 60vh, 620px);
	}

	.carousel-content {
		width: 100%;
	}
}

@media screen and (max-width: 860px) {
	.flex-direction-nav .flex-prev {
		opacity: 1;
		left: 10px;
	}

	.flex-direction-nav .flex-next {
		opacity: 1;
		right: 10px;
	}
}

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

	#carousel-container .flexslider {
		--carousel-height: clamp(300px, 52vh, 500px);
	}

	.carousel-overlay {
		padding: 1.25rem 1.4rem;
	}

	.carousel-content {
		padding: 1.1rem 1.25rem 1.35rem;
		border-radius: 12px;
		gap: 10px;
	}

	.carousel-title {
		font-size: clamp(1.5rem, 6vw, 2.1rem);
	}

	.carousel-text {
		font-size: 1rem;
	}

	.carousel-button {
		width: 100%;
		justify-content: center;
	}

	.flex-control-nav {
		bottom: -38px;
	}
}

/*---------------------------------------------
//  mobile menu
//---------------------------------------------
*/

body::after {
	content: '';
	position: fixed;
	inset: 0;
	background: rgba(32, 51, 44, 0.35);
	backdrop-filter: blur(6px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1000;
}

body.mobile-menu-open {
	overflow: hidden;
}

body.mobile-menu-open::after {
	opacity: 1;
	pointer-events: auto;
}

div#mobile-menu {
	position: fixed;
	z-index: 10001;
	top: 0;
	left: auto;
	right: 0;
	background: linear-gradient(160deg, #243730 0%, #1b2c25 55%, #13221c 100%);
	width: min(420px, 86vw);
	height: 100%;
	-webkit-transition: transform 0.35s ease, box-shadow 0.35s ease;
	-moz-transition: transform 0.35s ease, box-shadow 0.35s ease;
	-o-transition: transform 0.35s ease, box-shadow 0.35s ease;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	-webkit-transform: translate3d(105%, 0, 0);
	-moz-transform: translate3d(105%, 0, 0);
	-ms-transform: translate3d(105%, 0, 0);
	-o-transform: translate3d(105%, 0, 0);
	transform: translate3d(105%, 0, 0);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 22px 22px 28px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	box-shadow: -10px 0 38px rgba(0, 0, 0, 0.32);
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

div#mobile-menu.active {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

div#mobile-menu img {
	max-width: 180px;
	margin: 6px auto 12px;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

div#mobile-menu a {
	font-family: var(--font-main);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: rgba(255, 255, 255, 0.05);
	padding: 14px 16px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #f3f6f5;
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	-webkit-transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
	-moz-transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
	-o-transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
	transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

div#mobile-menu a + a {
	margin-top: 4px;
}

div#mobile-menu a:hover {
	background: rgba(255, 255, 255, 0.12);
	-webkit-transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
	-moz-transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
	-o-transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
	transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
	color: #ffffff;
	transform: translateX(4px);
}

div#mobile-menu a.first_sub_menu_level {
	font-size: 0.92rem;
	text-transform: none;
	letter-spacing: 0.02em;
	padding-left: 24px;
	background: rgba(255, 255, 255, 0.03);
}

#mobile-menu-button {
	left: auto;
	right: 16px;
	top: 16px;
	height: 56px;
	width: 56px;
	padding: 0;
	border-radius: 14px;
	border: 1px solid rgba(32, 51, 44, 0.12);
	background: rgba(255, 255, 255, 0.94);
	color: var(--color-primary);
	position: fixed;
	font-size: 1.6rem;
	box-shadow: var(--shadow-md);
	align-items: center;
	justify-content: center;
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
	border-right: none;
	z-index: 10002;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#mobile-menu-button i {
	pointer-events: none;
}

#mobile-menu-button.active {
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
	background: linear-gradient(135deg, var(--color-primary), #1d2f28);
	color: #ffffff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.admin-bar div#mobile-menu,
.admin-bar #mobile-menu-button {
	top: 46px;
}

#mobile-site-title {
	float: left;
	width: 100%;
	text-align: center;
	display: none;
	line-height: 50px;
}

/*---------------------------------------------
//  Teamplate - Portfolio
//---------------------------------------------
*/
.portfolio-item {
	display: inline-block;
	width: 30%;
	margin-bottom: 30px;
}

/*---------------------------------------------
//  Teamplate - Team
//---------------------------------------------
*/

.team-member {
	text-align: center;
}

/*---------------------------------------------
//  Template - Mostrar hijos con foto
//---------------------------------------------
*/
.fill {
	display: inline-block;
	width: 30%;
	margin-bottom: 30px;
	vertical-align: top;
}

#llista-fills .fill:nth-child(3n+2) {
	display: inline-block;
	width: 30%;
	margin: 0 3.33%;
}

/*---------------------------------------------
//  Contact Form 7
//---------------------------------------------
*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	padding: 5px 10px;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: #000;
	border: 1px solid #9a9a9a;
	width: 100%;
}

.wpcf7 input[type="submit"] {
	font-family: 'Roboto', sans-serif;
	background: var(--color-primary);
	text-transform: uppercase;
	padding: 5px 10px;
	box-sizing: border-box;
	color: #fff;
	border: none;
	float: right;
}

/*================= PORTFOLIO =====================*/
#container-iso {
	width: 100%;
	box-sizing: border-box;
}

.item {
	float: left;
	width: 25%;
	height: auto;
	box-sizing: border-box;
	padding: 5px;
	overflow: hidden;
}

.item img {
	width: 100%;
	vertical-align: middle;
}

.item:hover .item-info-container {
	opacity: 1;
	top: 0%;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2 ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.item-info-container {
	opacity: 0;
	position: absolute;
	top: 0%;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	padding: 20px;
	box-sizing: border-box;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2 ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.item-info {
	width: 100%;
	height: 100%;
	background: white;
	padding: 25px;
	box-sizing: border-box;
}

#filters {
	width: 100%;
	display: block;
	height: 30px;
	text-align: right;
}

#filters div {
	display: inline-block;
}

#filters div:hover {
	cursor: pointer;
}

#portfolio-header-container {
	position: relative;
}

#portfolio-header-container img {
	vertical-align: top;
}

#portfolio-header-opacity {
	background: rgba(0, 0, 0, 0.7);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #ffffff;
}

#portfolio-header-text {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	text-align: center;
}

.titol-llistat-fills {
	text-align: center;
}

/*---------------------------------------------
//  Listas
//---------------------------------------------
*/

#page-container #content ul {
	margin-bottom: 20px;
}

#page-container #content ul li:before {
	content: '';
	display: block;
	width: 5px;
	height: 5px;
	background: var(--color-secondary);
	position: absolute;
	top: 7px;
	left: 10px;
}

#page-container #content ul li {
	position: relative;
	padding-left: 20px;
	display: block;
	margin-bottom: 10px;
}

#title-container {
	background: var(--color-primary);
	width: 100%;
	padding: var(--spacing-lg) 0;
	text-align: center;
}

#title-container h1 {
	max-width: var(--container-width);
	margin: 0 auto;
	color: #ffffff;
	font-size: 3rem;
	font-weight: var(--font-weight-bold);
	padding: 0 var(--spacing-sm);
}

#post-192 {
	width: 28%;
	float: left;
}

#mapa {
	width: 68%;
	float: right;
}

#producto-column {
	width: 20%;
	float: left;
}

#producto-contenido {
	width: 80%;
	float: right;
	padding-left: 40px;
	box-sizing: border-box;
}

#producto-contenido iframe {
	width: 100%;
	height: 400px;
}

#pdf-button {
	background: var(--color-primary);
	color: #fff;
	padding: 1rem 2rem;
	width: 100%;
	text-align: center;
	display: inline-block;
	border-radius: var(--radius-md);
	font-weight: var(--font-weight-medium);
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
}

#pdf-button:hover {
	background: var(--color-primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

#partners {
	margin: 40px 0;
	padding: 0 40px;
	box-sizing: border-box;
	text-align: center;
}

#partners img {
	height: 50px;
	width: auto;
	display: inline-block;
	margin: 0 10px;
	filter: none;
	opacity: 1;
	transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

#partners img:hover {
	transform: translateY(-6px);
}

.post h1 {
	color: var(--color-primary) !important;
	margin-bottom: 0 !important;
}

.fecha {
	display: block;
	margin-bottom: 20px;
}

#title-container .fecha {
	display: block;
	max-width: 980px;
	margin: 0 auto;
	color: #ffffff;
	box-sizing: border-box;
	margin-top: -30px;
	margin-bottom: 40px;
}

.post .attachment-portfolio-thumb {
	float: right;
	width: 40%;
	border: 6px solid #deebe7;
	margin-left: 15px;
	margin-bottom: 10px;
}

#sidebar .title {
	color: var(--color-primary);
	text-transform: uppercase;
	border-bottom: 1px solid #eeeeee;
}

.banner h1 {
	background: var(--color-secondary);
	font-size: 14px;
	padding: 10px;
	box-sizing: border-box;
	color: var(--color-primary);
}

.banner img {
	vertical-align: top;
	width: 100%;
}

/* Modern Post Grid */
.home #content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--spacing-md);
}

#entradas-home {
	float: left;
	width: 100%;
	padding: var(--spacing-lg) 0 var(--spacing-md);
}

#entradas-home h2,
#contacta-home-title {
	color: var(--color-primary);
	text-transform: uppercase;
	font-size: 24px;
	margin: 0 0 var(--spacing-sm);
	text-align: center;
	letter-spacing: 0.08em;
}

#entradas-home .section-kicker {
	text-align: center;
	color: var(--color-text-light);
	font-size: 0.95rem;
	margin-bottom: 6px;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 40px;
}

.post-portada {
	width: 100%;
	background: #ffffff;
	border-radius: 24px;
	border: 1px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	display: flex;
	flex-direction: column;
}

.post-portada:hover {
	transform: translateY(-12px);
	box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
	border-color: rgba(43, 69, 60, 0.1);
}

.news-thumb {
	position: relative;
	overflow: hidden;
}

.news-thumb img {
	width: 100%;
	height: 240px;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
	filter: saturate(1.02);
	transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.post-portada:hover .news-thumb img {
	transform: scale(1.08);
}

.news-pill {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 0.78rem;
	border-radius: 999px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.news-body {
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
}

.news-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	color: var(--color-text-light);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
}

.news-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	opacity: 0.8;
}

.title-noticia-portada {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--color-primary);
	line-height: 1.25;
	margin: 0;
	letter-spacing: -0.01em;
}

.news-excerpt {
	margin: 0;
	color: var(--color-text-light);
	line-height: 1.7;
	font-size: 1.05rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-primary);
	background: transparent;
	padding: 0;
	font-weight: 700;
	text-decoration: none;
	margin-top: auto;
	font-size: 0.95rem;
	transition: gap 0.3s ease;
}

.news-read-more span {
	border-bottom: 2px solid rgba(43, 69, 60, 0.2);
	padding-bottom: 2px;
	transition: border-color 0.3s ease;
}

.news-read-more:hover {
	gap: 12px;
	transform: none;
	box-shadow: none;
	background: transparent;
}

.news-read-more:hover span {
	border-color: var(--color-primary);
}

#footer-logo {
	width: 42px;
	height: auto;
	margin: 0;
}

.footer-ico {
	width: 22px;
	height: 22px;
	vertical-align: middle;
	margin-right: 8px;
	margin-bottom: 4px;
	color: var(--color-secondary);
}


#migas-container {
	background: var(--color-secondary);
	width: 100%;
	float: left;
	margin-bottom: 20px;
}

#migas {
	max-width: 960px;
	margin: 0 auto;
}

#migas a {
	color: var(--color-primary);
	font-weight: 400;
}

#breadcrumbs {
	line-height: 50px;
}

#portada-pdf {
	margin-top: 30px;
}

#idiomes {
	float: right;
	margin-left: 15px;
	margin-top: 47px;
}

.transposh_flags a {
	margin-right: 8px;
}

.overlay {
	background: transparent;
	position: relative;
	width: 100%;
	height: 450px;
	/* your iframe height */
	top: 450px;
	/* your iframe height */
	margin-top: -450px;
	/* your iframe height */
	float: left;
}

#mapa-home {
	margin-bottom: 40px;
}

#home-container {
	background: #f6f6f6;
	overflow: hidden;
	padding: var(--spacing-lg) 0;
}

#home-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 var(--spacing-sm);
}

#home-content img {
	max-width: 100%;
	height: auto;
}

/* Home video styling */
.home #intro-text iframe[src*="youtube.com"],
.home #intro-text iframe[src*="youtu.be"] {
	display: block;
	width: 100% !important;
	height: auto;
	aspect-ratio: 16 / 9;
	border: none;
	border-radius: 16px;
	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
	background: #0f1b16;
}

.home #intro-text iframe[src*="youtube.com"]:hover,
.home #intro-text iframe[src*="youtu.be"]:hover {
	transform: translateY(-6px) scale(1.01);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
	filter: saturate(1.08);
}

#home-form-container {
	overflow: hidden;
	padding-bottom: 40px;
}

#home-form-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 var(--spacing-sm);
}

#contacta-home-title {
	margin: 40px 0 10px;
	text-align: center;
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

#home-form-content input {
	margin-bottom: 10px;
}

/* Contact Form 7 - Modern */
.home #home-form-content .wpcf7 form,
.page-id-121 .wpcf7 form {
	background: linear-gradient(135deg, #ffffff, #f7faf9);
	border: 1px solid var(--color-border);
	border-radius: 18px;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px 20px;
}

.home #home-form-content .wpcf7 form p,
.page-id-121 .wpcf7 form p {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	grid-column: span 1;
}

.home #home-form-content .wpcf7 form p:has(textarea),
.page-id-121 .wpcf7 form p:has(textarea) {
	grid-column: 1 / -1;
}

.home #home-form-content .wpcf7 label,
.page-id-121 .wpcf7 label {
	font-weight: 600;
	color: var(--color-text);
	letter-spacing: 0.01em;
}

.home #home-form-content .wpcf7-form-control,
.page-id-121 .wpcf7-form-control {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	background: #fff;
	color: var(--color-text);
}

.home #home-form-content .wpcf7-form-control:focus,
.page-id-121 .wpcf7-form-control:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(43, 69, 60, 0.15);
	outline: none;
}

.home #home-form-content textarea.wpcf7-form-control,
.page-id-121 textarea.wpcf7-form-control {
	min-height: 140px;
	resize: vertical;
	grid-column: 1 / -1;
}

.home #home-form-content .wpcf7-submit,
.page-id-121 .wpcf7-submit {
	background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
	color: #fff;
	border: none;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 14px;
	padding: 16px 32px;
	cursor: pointer;
	justify-self: center;
	grid-column: 1 / -1;
	min-width: min(420px, 100%);
	text-align: center;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.home #home-form-content .wpcf7-submit:hover,
.page-id-121 .wpcf7-submit:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
	background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
}

.home #home-form-content .wpcf7-spinner,
.page-id-121 .wpcf7-spinner {
	margin-left: 8px;
}

.home #home-form-content .wpcf7-response-output,
.page-id-121 .wpcf7-response-output {
	grid-column: 1 / -1;
	border-radius: 12px;
	padding: 10px 14px;
	margin: 0;
}

/*===============RESPONSIVE=====================*/

/*== TABLET == iPad Landscape */
@media only screen and (max-width : 1024px) {

	#page-container #content {
		padding: 0 40px 20px 40px;
	}

	footer,
	#copyright {
		padding: 10px 20px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.flex-prev,
	.flex-next {
		display: none !important;
	}
}

/* Footer Modernization */
footer {
	background: transparent;
	color: #fff;
	padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
	font-size: 0.95rem;
}

footer h3 {
	color: #fff;
	font-size: 1.1rem;
	margin-bottom: var(--spacing-sm);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 0.5rem;
}

footer a {
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.3s ease;
}

footer a:hover {
	color: #fff;
}

footer .col3 {
	margin-bottom: var(--spacing-md);
}

/* Footer Icons */
footer i {
	font-size: 1.2rem;
	margin-right: 0.5rem;
	vertical-align: middle;
	color: var(--color-secondary);
}

/* PC pequeños */
@media only screen and (max-width : 960px) {
	#logo {
		margin-left: 20px;
	}
}

/*== TABLET == iPad PORTRAIT */
@media only screen and (max-width: 768px) {

	#wpadminbar {
		position: fixed !important;
	}

	header {
		text-align: center;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 998;
		background: #ffffff;
		height: 60px;
		box-shadow: var(--shadow-sm);
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#logo {
		float: none;
		max-height: 52px;
		padding: 7px 12px;
	}

	#logo img {
		max-height: 36px;
		width: auto;
		padding: 0;
	}

	#page-container #content {
		width: 100%;
		padding-top: 0;
	}

	#sidebar aside {
		width: 100%;
	}

	.sidebar-element {
		width: 50%;
		float: left;
	}

	.home #page-container #content {
		width: 100%;
	}

	#carousel-container {
		margin-top: 50px;
	}

	.home #page-container #content {
		padding-top: 0;
	}

	.item {
		width: 33.3%;
	}

	#idiomes {
		float: right;
		margin-left: 0px;
		margin-top: 17px;
		margin-right: 20px;
	}

	#title-container {
		margin-top: 50px;
		padding: 0 40px;
		box-sizing: border-box;
	}

	#migas {
		padding: 0 40px;
		box-sizing: border-box;
	}

	#post-192,
	#mapa {
		width: 100%;
	}

	#sidebar {
		display: none;
	}
}

/*== SMARTPHONE ==*/
@media only screen and (max-width: 600px) {

	#container {
		margin-top: 0;
		margin-bottom: 0;
	}

	.sidebar-element {
		width: 100%;
		float: left;
		margin: 0 auto;
	}

	header {
		text-align: center;
	}

	/*
	header nav ul{
		display: none;
	}
	*/

	header nav {
		width: 100%;
		float: left;
		margin-left: 0;
		margin-top: 10px;
		margin-bottom: 10px;
	}

	header nav select {
		display: inline-block;
	}

	.carousel-overlay {
		align-items: flex-end;
		padding: 1rem 1.1rem 1.4rem;
		background: linear-gradient(140deg, rgba(13, 31, 25, 0.9) 10%, rgba(13, 31, 25, 0.78) 60%, rgba(13, 31, 25, 0.62) 100%);
	}

	.carousel-content {
		width: 100%;
		background: rgba(10, 20, 16, 0.85);
		border: 1px solid rgba(255, 255, 255, 0.08);
		padding: 1rem 1.1rem 1.25rem;
		border-radius: 14px;
		gap: 8px;
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
	}

	.carousel-title {
		margin: 0;
		font-size: clamp(1.2rem, 5vw, 1.5rem);
		line-height: 1.2;
	}

	.carousel-text {
		margin: 0;
		font-size: 0.95rem;
		line-height: 1.5;
		color: rgba(255, 255, 255, 0.88);
	}

	.carousel-button {
		font-size: 0.95rem;
		justify-content: center;
		width: 100%;
	}

	.item {
		width: 50%;
	}

	.footer-col {
		width: 100%;
		text-align: center;
	}

	.col4 {
		display: none;
	}

	footer nav ul {
		text-align: center;
	}

	.post .attachment-portfolio-thumb {
		float: left;
		width: 100%;
		border: none;
		margin-right: 15px;
		margin-bottom: 10px;
	}

	#logo img {
		display: block;
		max-height: 32px;
		width: auto;
		margin: 0;
	}

	#mobile-menu-button {
		top: 10px;
		right: 12px;
		height: 52px;
		width: 52px;
	}

	.fill {
		width: 100%;
	}

	#llista-fills .fill:nth-child(3n+2) {
		width: 100%;
		margin: 0;
		margin-bottom: 20px;
	}

	#producto-column,
	#producto-contenido {
		width: 100%;
	}

	#producto-contenido {
		padding-left: 0;
		padding-top: 40px;
	}

	.post-portada {
		width: 100%;
	}
}

@media only screen and (max-width: 320px) {
	.item {
		width: 100%;
	}
}

/*---------------------------------------------
//  Blog Layout & Cards
//---------------------------------------------
*/

.blog-layout {
	max-width: none;
	width: 100%;
}

.blog-layout #page-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-sm) var(--spacing-lg);
}

.blog-layout #content {
	width: 100%;
	float: none;
}

.blog-layout #sidebar {
	display: none;
}

.blog-hero {
	position: relative;
	padding: 80px 24px 48px;
	background: radial-gradient(circle at 20% 20%, rgba(128, 156, 148, 0.2), transparent 40%), radial-gradient(circle at 80% 0%, rgba(43, 69, 60, 0.18), transparent 35%), linear-gradient(135deg, #f8fbfa 0%, #eef3f2 100%);
	overflow: hidden;
	margin-bottom: 32px;
}

.blog-hero::after {
	content: '';
	position: absolute;
	inset: 18% auto auto 55%;
	width: 240px;
	height: 240px;
	background: radial-gradient(circle, rgba(43, 69, 60, 0.14) 0%, transparent 60%);
	filter: blur(20px);
	pointer-events: none;
}

.blog-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	gap: 28px;
	align-items: stretch;
}

.blog-hero__copy {
	flex: 1.5;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.blog-hero__breadcrumbs p {
	margin: 0 0 8px 0;
	color: var(--color-text-light);
	font-size: 0.95rem;
}

.blog-hero__breadcrumbs #breadcrumbs {
	line-height: 1.6;
	margin: 0;
}

.blog-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--color-primary);
	color: #fff;
	padding: 8px 14px;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.82rem;
	width: fit-content;
	box-shadow: var(--shadow-sm);
}

.blog-hero h1 {
	margin: 6px 0 8px 0;
	font-size: 2.6rem;
	color: var(--color-primary);
	letter-spacing: -0.02em;
}

.blog-hero__lede {
	max-width: 760px;
	color: var(--color-text-light);
	font-size: 1.05rem;
	line-height: 1.8;
	margin: 0;
}

.blog-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--color-primary);
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(43, 69, 60, 0.1);
	box-shadow: var(--shadow-sm);
	font-weight: 700;
	font-size: 0.9rem;
}

.meta-pill--soft {
	background: rgba(255, 255, 255, 0.6);
}

.blog-hero__panel {
	flex: 1;
	min-width: 280px;
	display: flex;
	justify-content: flex-end;
}

.blog-hero__panel-inner {
	position: relative;
	background: #fff;
	border-radius: 18px;
	padding: 22px;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.blog-hero__panel-inner::after {
	content: '';
	position: absolute;
	right: -30px;
	top: -30px;
	width: 150px;
	height: 150px;
	background: radial-gradient(circle, rgba(43, 69, 60, 0.12) 0%, transparent 60%);
}

.panel-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.8rem;
	color: var(--color-primary);
}

.panel-title {
	margin: 12px 0 16px 0;
	font-size: 1.25rem;
	line-height: 1.4;
	color: var(--color-text);
}

.panel-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--color-primary);
	text-decoration: none;
}

.panel-link:hover {
	color: var(--color-primary-dark);
}

.panel-empty {
	margin: 0;
	color: var(--color-text-light);
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 32px;
	padding: 10px 0 40px;
	width: 100%;
}

.blog-card {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.08);
	transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid rgba(0, 0, 0, 0.04);
	position: relative;
}

.blog-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 60px -14px rgba(0, 0, 0, 0.15);
	border-color: rgba(43, 69, 60, 0.14);
}

.blog-card-image {
	position: relative;
	padding-top: 62%;
	overflow: hidden;
	background: linear-gradient(135deg, #f0f3f2, #e5ecea);
	display: block;
}

.blog-card-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-card:hover .blog-card-image img {
	transform: scale(1.06);
}

.blog-card-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.85rem;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.blog-card-content {
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-grow: 1;
}

.blog-card-meta {
	display: flex;
	align-items: center;
	gap: 12px 18px;
	flex-wrap: wrap;
	color: var(--color-text-light);
	font-size: 0.92rem;
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.meta-item i {
	color: var(--color-primary);
}

.blog-card-title {
	font-size: 1.35rem;
	margin: 0;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.blog-card-title a {
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title a {
	color: var(--color-primary);
}

.blog-card-excerpt {
	margin: 0;
	color: var(--color-text-light);
	line-height: 1.75;
	font-size: 1rem;
}

.blog-card-footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	padding-top: 14px;
}

.blog-card-tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.blog-tag {
	background: var(--color-bg-alt);
	color: var(--color-primary);
	padding: 6px 10px;
	border-radius: 12px;
	font-size: 0.85rem;
	font-weight: 600;
}

.btn-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--color-primary);
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(43, 69, 60, 0.08);
	transition: all 0.3s ease;
}

.btn-read-more:hover {
	gap: 10px;
	background: rgba(43, 69, 60, 0.12);
	color: var(--color-primary);
}

.btn-read-more i {
	font-size: 1.05em;
	transition: transform 0.3s ease;
}

.btn-read-more:hover i {
	transform: translateX(4px);
}

/*---------------------------------------------
//  Child Pages Listing
//---------------------------------------------
*/

.children-hero,
.products-hero {
	padding-bottom: 16px;
}

.children-hero .blog-hero__eyebrow {
	background: rgba(43, 69, 60, 0.12);
	color: var(--color-primary);
}

.products-hero .blog-hero__eyebrow {
	background: rgba(128, 156, 148, 0.18);
	color: var(--color-primary);
}

.children-hero .blog-hero__lede,
.products-hero .blog-hero__lede {
	max-width: 760px;
}

.children-layout #page-container,
.products-layout #page-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-sm) var(--spacing-lg);
}

.children-layout #content,
.products-layout #content {
	width: 100%;
	float: none;
}

.children-layout #sidebar,
.products-layout #sidebar {
	display: none;
}

.children-intro,
.products-intro,
.listing-intro {
	background: var(--color-bg-alt);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 20px 24px;
	box-shadow: var(--shadow-sm);
	margin-bottom: 28px;
}

.children-intro p:last-child,
.products-intro p:last-child,
.listing-intro p:last-child {
	margin-bottom: 0;
}

.children-grid,
.products-grid {
	padding-top: 6px;
}

.child-card .blog-card-badge {
	background: rgba(32, 51, 44, 0.9);
}

.child-card .blog-card-meta,
.product-card .blog-card-meta {
	font-size: 0.9rem;
}

.child-card .blog-card-title,
.product-card .blog-card-title {
	font-size: 1.25rem;
}

.child-card .blog-card-excerpt,
.product-card .blog-card-excerpt {
	line-height: 1.65;
}

.product-card .blog-card-badge {
	background: rgba(128, 156, 148, 0.85);
}

.children-empty {
	margin: 0;
	padding: 16px 4px;
	color: var(--color-text-light);
}

/*---------------------------------------------
//  Product Page
//---------------------------------------------
*/

.product-hero .blog-hero__eyebrow {
	background: rgba(128, 156, 148, 0.18);
	color: var(--color-primary);
}

.product-page #page-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-sm) var(--spacing-lg);
}

.product-page #content {
	width: 100%;
	float: none;
}

.product-page #sidebar {
	display: none;
}

.product-wrapper {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 32px;
	align-items: start;
	margin-top: 12px;
}

.product-body {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 18px;
	padding: 28px;
	box-shadow: var(--shadow-sm);
}

.product-richtext p:last-child {
	margin-bottom: 0;
}

.product-aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-media {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.product-media__thumb {
	width: 100%;
	height: auto;
	display: block;
}

.product-pdf-preview {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border-top: 1px solid var(--color-border);
	background: var(--color-bg-alt);
}

.product-pdf-preview img {
	width: 80px;
	height: auto;
	border-radius: 10px;
	box-shadow: var(--shadow-sm);
}

.product-pdf-preview__copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.product-pdf-preview__label {
	margin: 0;
	font-weight: 700;
	color: var(--color-primary);
}

.product-panel__copy {
	margin: 10px 0 14px 0;
	color: var(--color-text-light);
}

.product-download {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--color-primary);
	color: #fff;
	padding: 12px 16px;
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
}

.product-download:hover {
	background: var(--color-primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.product-download--inline {
	margin-top: 20px;
}

.product-download--ghost {
	background: rgba(43, 69, 60, 0.12);
	color: var(--color-primary);
	box-shadow: none;
}

.product-download--ghost:hover {
	background: rgba(43, 69, 60, 0.18);
	color: var(--color-primary);
}

.product-download:hover,
.product-download--inline:hover {
	color: #fff;
}

.product-panel .product-download {
	width: 100%;
	justify-content: center;
}

/*---------------------------------------------
//  Embeds
//---------------------------------------------
*/

iframe[src*="youtube.com"],
iframe[src*="youtu.be"] {
	border: none;
	border-radius: 14px;
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

@media (max-width: 1024px) {
	.product-wrapper {
		grid-template-columns: 1fr;
	}

	.product-aside {
		order: -1;
	}
}

@media (max-width: 640px) {
	.product-body {
		padding: 22px;
	}

	.product-pdf-preview {
		flex-direction: column;
		align-items: flex-start;
	}

	.product-pdf-preview img {
		width: 100%;
		max-width: 320px;
	}
}

/*---------------------------------------------
//  Single Post (Premium)
//---------------------------------------------
*/

.single-post-header {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 4rem;
	padding: 3rem 0 0;
}

.single-post-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	color: var(--color-text-light);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
}

.single-post-meta .separator {
	color: var(--color-border);
}

.single-post-title {
	font-size: 3.5rem;
	line-height: 1.1;
	margin-bottom: 2rem;
	color: var(--color-primary);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.single-post-featured-image-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 4rem;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.15);
}

.single-post-featured-image {
	width: 100%;
	height: auto;
	display: block;
}

.single-post-content {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.15rem;
	line-height: 1.9;
	color: #2c3e50;
}

.single-post-content p {
	margin-bottom: 2rem;
}

.single-post-content h2 {
	font-size: 2rem;
	margin-top: 4rem;
	margin-bottom: 1.5rem;
	font-weight: 700;
	color: var(--color-primary);
}

.single-post-content h3 {
	font-size: 1.6rem;
	margin-top: 3rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.single-post-content blockquote {
	border-left: 4px solid var(--color-primary);
	padding: 1rem 2rem;
	margin: 3rem 0;
	font-style: italic;
	font-size: 1.4rem;
	color: var(--color-primary);
	background: rgba(43, 69, 60, 0.03);
	border-radius: 0 12px 12px 0;
}

/* Post Navigation */
.post-navigation {
	max-width: 1000px;
	margin: 6rem auto 0;
	padding-top: 3rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	display: flex;
	justify-content: space-between;
	gap: 2rem;
}

.nav-link {
	display: flex;
	flex-direction: column;
	width: 45%;
	text-decoration: none;
	padding: 1.5rem;
	border-radius: 12px;
	transition: background 0.3s ease;
}

.nav-link:hover {
	background: rgba(0, 0, 0, 0.02);
}

.nav-link-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-light);
	margin-bottom: 0.8rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
}

.nav-link-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-text);
	transition: color 0.3s ease;
	line-height: 1.3;
}

.nav-link:hover .nav-link-title {
	color: var(--color-primary);
}

.nav-previous {
	text-align: left;
}

.nav-next {
	text-align: right;
	align-items: flex-end;
}

@media (max-width: 1024px) {
	.blog-hero {
		padding: 60px 20px 36px;
	}

	.blog-hero__inner {
		flex-direction: column;
	}

	.blog-hero__panel {
		width: 100%;
		justify-content: flex-start;
	}
}

@media (max-width: 900px) {
	.blog-hero h1 {
		font-size: 2.2rem;
	}

	.blog-card {
		box-shadow: var(--shadow-sm);
	}
}

@media (max-width: 768px) {
	.blog-grid {
		grid-template-columns: 1fr;
		padding: 6px 0 24px;
	}

	.blog-card-content {
		padding: 22px;
	}

	.blog-card-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.blog-card {
		box-shadow: 0 12px 36px -14px rgba(0, 0, 0, 0.1);
	}

	.single-post-title {
		font-size: 2.5rem;
	}

	.post-navigation {
		flex-direction: column;
		gap: 1rem;
	}

	.nav-link {
		width: 100%;
		text-align: center;
		align-items: center;
	}

	.nav-next {
		align-items: center;
	}
}

@media (max-width: 520px) {
	.blog-hero__eyebrow {
		font-size: 0.75rem;
	}

	.blog-card-content {
		padding: 18px;
	}
}

/*---------------------------------------------
//  Skeleton loader
//---------------------------------------------
*/
.hg-skeleton {
	--skeleton-base: #e6edea;
	--skeleton-highlight: #f5faf8;
	--skeleton-border: #dce6e2;

	position: fixed;
	inset: 0;
	z-index: 20000;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(241, 245, 243, 0.94));
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.hg-skeleton.is-visible {
	opacity: 1;
}

.hg-skeleton.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.hg-skeleton__inner {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: clamp(16px, 4vw, 32px);
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 3vw, 28px);
}

.hg-skeleton__hero {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(14px, 3vw, 26px);
	align-items: center;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid var(--skeleton-border);
	border-radius: 16px;
	padding: clamp(16px, 3vw, 24px);
	box-shadow: var(--shadow-sm);
}

.hg-skeleton__hero-copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hg-skeleton__hero-media {
	height: clamp(200px, 32vw, 260px);
	border-radius: 18px;
}

.hg-skeleton__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.hg-skeleton-card {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--skeleton-border);
	border-radius: 16px;
	padding: 14px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hg-skeleton-card__media {
	height: 150px;
	border-radius: 14px;
}

.hg-skeleton-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hg-skeleton-card__meta,
.hg-skeleton-card__footer {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.hg-skeleton-card__footer {
	justify-content: space-between;
}

.hg-skeleton-shape {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--skeleton-base);
	border-radius: 12px;
}

.hg-skeleton-shape::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
	transform: translateX(-100%);
	animation: hg-skeleton-shimmer 1.35s ease-in-out infinite;
}

.skeleton-pill {
	width: 150px;
	height: 14px;
	border-radius: 999px;
}

.skeleton-title {
	height: 32px;
	width: 70%;
}

.skeleton-subtitle {
	height: 14px;
	width: 96%;
}

.skeleton-subtitle.short {
	width: 60%;
}

.skeleton-chip {
	height: 12px;
	width: 140px;
	border-radius: 999px;
}

.skeleton-chip.small {
	width: 90px;
}

.skeleton-chip.wide {
	width: 170px;
}

.skeleton-line {
	height: 12px;
	width: 100%;
}

.skeleton-line.short {
	width: 70%;
}

.skeleton-btn {
	height: 36px;
	width: 120px;
	border-radius: 12px;
}

@keyframes hg-skeleton-shimmer {
	100% {
		transform: translateX(100%);
	}
}

@media (max-width: 960px) {
	.hg-skeleton__hero {
		grid-template-columns: 1fr;
	}

	.hg-skeleton__hero-media {
		height: 200px;
	}
}

@media (max-width: 640px) {
	.hg-skeleton__grid {
		grid-template-columns: 1fr;
	}

	.hg-skeleton-card__media {
		height: 180px;
	}

	.hg-skeleton-card__footer {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hg-skeleton,
	.hg-skeleton-shape,
	.hg-skeleton-shape::after {
		animation: none;
	}

	.hg-skeleton-shape::after {
		display: none;
	}
}
