/* ---------- DESKTOP ---------- */
.gs-tabs {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow-x: hidden;
}
@supports (contain: inline-size) {
	.gs-tabs { contain: inline-size; }
}
.gs-tabs > ul.gs-tabs__head-box {
	margin: 0 0 20px 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow-x: auto;
	overflow-y: hidden;
}
.gs-tabs > ul.gs-tabs__head-box > li {
	display: block; 
	flex: 0 0 auto;
	width: auto;
	margin-right: 10px;
	padding: 10px 20px;
	border: 2px solid var(--color-border-grey-light, #ececec);
	border-radius: var(--main-template-border-radius-elements, 4px);
	cursor: pointer;
	text-align: center;
	font-size: 1em;
	font-weight: 500;
	color: var(--color-text-base-black, #333333);
}
.gs-tabs > ul.gs-tabs__head-box > li:first-child { margin-left: 0 !important; }
.gs-tabs > ul.gs-tabs__head-box > li.active,
.gs-tabs > ul.gs-tabs__head-box > li.active:hover,
.gs-tabs > ul.gs-tabs__head-box > li:hover {
	border-color: var(--main-template-color, #0088cc);
	color: var(--main-template-color, #0088cc);
}

/* ---------- MOBILE (<= 767.95px) ---------- */
@media (max-width: 767.95px) {
	.gs-tabs > ul.gs-tabs__head-box {
		display: none;
	}
	.gs-tabs .gs-tabs__content-box > .gs-tabs__item {
		display: block !important;
		overflow: hidden;
		transition: max-height .35s cubic-bezier(.25,.8,.25,1);
		will-change: max-height;
		border-bottom: 1px solid #ececec;
	}
	.gs-tabs > ul.gs-tabs__head-box > li {
		width: 100%;
		margin: 0 0 10px 0;
		padding: 10px 0;
	}
	.gs-tabs .gs-tabs__content-box > .gs-tabs__item > .gs-tabs__head-box {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 20px 25px 20px 0;
		cursor: pointer;
		position: relative;
		font-weight: 500;
	}
	.gs-tabs .gs-tabs__content-box > .gs-tabs__item > .gs-tabs__head-box::after {
		content: "\f078";
		font-family: "FontAwesome";
		font-style: normal;
		font-weight: normal;
		font-size: 0.8em;
		line-height: 1;
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%) rotate(0deg);
		transition: transform .25s ease;
	}
	.gs-tabs .gs-tabs__content-box > .gs-tabs__item.active > .gs-tabs__head-box::after {
		transform: translateY(-50%) rotate(180deg);
	}
	.gs-tabs .gs-tabs__content-box > .gs-tabs__item {
		padding-bottom: 20px;
	}
	.gs-tabs .gs-tabs__content-box > .gs-tabs__item:first-child {
		border-top: 1px solid var(--color-border-grey-light, #ececec);
	}
}