/* HEADER */
.header__content {
	/* margin: 1rem auto; */
}

.header__widgets {
	ul {
		margin: 0;
	}
	> div:last-child ul {
		flex-direction: row;
		gap: 0.5rem;
	}
}

.header__menu {
	width: 100%;
	margin-top: 1rem;
}

.header__menu input + label {
	display: none;
}

.header__menu input ~ nav {
	display: block;
	position: initial;
	width: auto;
	background: none;
	overflow: auto;
}

.header__menu nav#menu ul > li > a {
	width: auto;
	font-size: 1.6rem;
	font-weight: 500;
	padding: 0.8rem 1.5rem 0.5rem;
	border-radius: 0;
	transition: 0.5s;
	color: var(--gray-1);
	border: 2px solid #0000;
}

.header__menu nav#menu ul > li > a:hover {
	color: var(--yellow);
	background: none;
	border-bottom: 2px solid var(--yellow);
}

.header__menu nav#menu ul {
	flex-direction: initial;
	justify-content: flex-end;
	padding: 0;
}

.header__menu nav#menu ul > li {
	opacity: inherit;
	list-style: none;
}

.header__menu nav#menu ul > li > a[aria-current="page"] {
	color: var(--background);
	border-radius: 0.6rem 0.6rem 0 0;
	background: var(--red-dark);
}
.header__banner .slider_instance .stx-main-container {
	height: inherit !important;
}

/* FIN-HEADER */
/* FRONTAPGE */
.frontpage__welcome {
	/* padding: 10rem 0 7rem; */
}

.welcome__text {
	max-width: 70%;
	& p,
	h2 {
		margin-bottom: 0;
	}
	> div {
		gap: 7rem;
		> div:first-child {
			align-content: center;
		}
	}
}

.welcome__image img {
	max-width: 45rem;
}

.frontpage__welcome {
	gap: 5rem;
	padding: 10rem 0;
}
.frontpage__bestdestinations h2 {
	font-size: 5.2rem;
	line-height: normal;
}
section.frontpage__testimonials > div:nth-child(2) {
	width: 60% !important;
}

.features-box {
	width: 70%;
	gap: 4%;
	row-gap: 3rem;
	justify-content: space-between;
}

.features-box .feature {
	flex-basis: 30.5%;
}
/* FIN-FRONTAPGE */
/* FOOTER */
.footer__widgets {
	flex-wrap: nowrap;
	p,
	a,
	li {
		text-align: left;
		overflow-wrap: break-word;
		word-wrap: break-word; /* Soporte para navegadores más antiguos */
		word-break: break-word;
		hyphens: auto; /* Para añadir guiones automáticos si es necesario */
	}
	p.footer_social_icons {
		justify-content: left;
	}
	h2 {
		text-align: left;
		&:after {
			margin: unset;
		}
	}
	> div {
		min-width: 15rem;
		&:first-child {
			width: 20%;
		}
		&:first-child figure {
			text-align: left;
		}
	}
}

.copyright__box {
	justify-content: space-between;
}
/* FIN-FOOTER */
/* ITINERARIO */
.header__innerpages .header__nav {
	margin-bottom: 0;
}

.header__innerpages .header__nav::before {
	display: none;
}

.itinerario-titulo h1 {
	text-align: left;
	font-size: 4.4rem;
}

.itinerario-estracto p {
	text-align: left;
}

.itinerario-estracto {
	margin-bottom: 3rem;
	width: 100%;
}
.itinerario-titulo h1:before {
	/* width: 35%; */
	/* left: -40%; */
}

.itinerario-titulo h1:after {
	width: 35%;
	right: -40%;
}

.itinerarios__box {
	width: 90%;
	max-width: 140rem;
	margin: 0 auto 7rem;
	display: flex;
	gap: 3%;
}
.itinerarios__highlights {
	width: max-content;
}

.slider__slide {
	height: 44rem;
}

.itinerary--content .responsive-tabs-wrapper:before,
.tourContent .responsive-tabs-wrapper:after {
	display: none;
}

.itinerary--content .responsive-tabs ul.responsive-tabs__list {
	margin: 0;
	display: flex;
	align-items: center;
	height: 100%;
	border-radius: 1rem 1rem 0 0;
}

.itinerary--content .responsive-tabs .responsive-tabs__list__item {
	font: 500 1.8rem var(--font-primary);
	text-transform: uppercase;
	color: var(--dark);
	border: none;
	padding: 1.5rem 2rem 1.5rem;
	border-radius: 1rem;
	border-bottom: solid 2px #02894c00;
}

.itinerary--content .responsive-tabs .responsive-tabs__list__item--active,
.itinerary--content
	.responsive-tabs
	.responsive-tabs__list__item--active:hover {
	background: none;
	padding: 1.5rem 2rem 1.5rem;
	top: 0;
	border-bottom: solid 2px var(--red);
	color: var(--white);
	background: var(--red-dark);
}

.itinerary--content .responsive-tabs .responsive-tabs__panel {
	border: none;
	background: var(--white);
	padding: 2.5rem 1.8rem;
	border-radius: 1rem;
	margin-top: 1rem;
}

.itinerary--content .responsive-tabs .responsive-tabs__list__item:hover {
	border-bottom: solid 2px var(--red-dark);
	color: var(--white);
	background: var(--red);
	padding: 1.5rem 2rem 1.5rem;
}

.general_sidebar {
	width: 100%;
	max-width: 37rem;
	margin: 0 auto;
}

.slider__slide {
	height: 60rem;
}

.itinerarios__box article {
	width: 100%;
}
.slider__slide img {
	/* height: auto; */
	/* object-fit: initial; */
	border-radius: 1rem;
}

.itinerarios__highlights > div {
	margin: 0 6rem 0 0;
}
/* FIN-ITINERARIO */
/* FORMULARIOS */
.pages__box form label {
	flex-basis: 49%;
}

/* FIN-FORMULARIOS */

/* SIDEBAR-PAGINAS */
.sidebar__pages {
	width: 100%;
}
/* FIN-SIDEBAR-PAGINAS */
/* PAGINAS */
.pages__box .itinerary--content {
	width: 100%;
}

[id^="menu-menu-header"] {
	display: flex !important;
}
/* FIN-PAGINAS */
/* CARDS */
section.category__cards {
	column-gap: 1.3%;
}

.besttours__card {
	flex-basis: 24%;
}

.bestdestinations_box {
	column-gap: 1.3%;
}
/* FIN-CARDS */
