/**
 * Built-in website builder component styles (columns, text, quote, carousel,
 * expandable...). Single source: inlined into the legacy CssComposer by
 * website-creator.php and linked directly on Tailwind (AI) pages, whose css
 * column stays empty.
 */
.cst-p, .cst-h1, .cst-h2, .cst-h3, .cst-h4, .cst-link {
	padding: 1rem;
}
.cst-video, .cst-image {
	width: 100%;
	height: auto;
}
.cst-row-1, .cst-row-2, .cst-row-3 {
	min-height: 50px;
	flex: 1 1 0;
	min-width: 0;
}
.cst-content-1, .cst-content-2, .cst-content-3 {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: nowrap;
	padding: 1rem;
}
.cst-p.cst-text-content,
.cst-h1.cst-text-content,
.cst-h2.cst-text-content,
.cst-h3.cst-text-content,
.cst-h4.cst-text-content {
	color: black;
}
.cst-quote {
	color: black;
	font-weight: 300;
	padding: 1rem;
	box-shadow: -5px 0 0 0 #ccc;
	font-style: italic;
	margin: 20px 30px;
}
.cst-link-block {
	padding: 1rem;
	display: inline-block;
	cursor: pointer;
	min-height: 50px;
	min-width: 50px;
}
.cst-link {
	display: inline-block;
	cursor: pointer;
}
.cst-article, .cst-figure {
	min-height: 50px;
	padding: 1rem;
}
[container='true'] {
	width: 100%;
	min-height: 10px;
}
[container='true'].gjs-selected-parent {
	min-height: 30px;
}
#websiteCustomContent [container='true'] {
	min-height: auto;
}
#websiteCustomContent [container='true']:empty {
	display: none;
}
@media screen and (max-width: 1023px) {
	.cst-content-1, .cst-content-2, .cst-content-3 {
		flex-wrap: wrap;
	}
	.cst-row-1, .cst-row-2, .cst-row-3 {
		flex-basis: 100%;
	}
}

.cst-carousel {
	--cst-carousel-visible-items: 3;
	--cst-carousel-gap: 1rem;
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 1rem;
}

.cst-carousel[data-carousel-show-arrows],
.cst-carousel[data-carousel-show-arrows="true"] {
	padding-left: 4.5rem;
	padding-right: 4.5rem;
}

.cst-carousel[data-carousel-item-size="large"] { --cst-carousel-visible-items: 3; }
.cst-carousel[data-carousel-item-size="medium"] { --cst-carousel-visible-items: 4; }
.cst-carousel[data-carousel-item-size="small"] { --cst-carousel-visible-items: 5; }

.cst-carousel-viewport {
	container-type: inline-size;
	container-name: cst-carousel;
	overflow-x: auto;
	overflow-y: auto;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	outline: none;
}
.cst-carousel-viewport::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}
.cst-carousel-viewport:focus-visible {
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.45);
	border-radius: 8px;
}
.cst-carousel-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: var(--cst-carousel-gap);
	width: max-content;
	min-width: 100%;
	min-height: 100px;
	box-sizing: border-box;
}
.cst-carousel-item {
	flex: 0 0 calc((100cqi - (var(--cst-carousel-visible-items) - 1) * var(--cst-carousel-gap)) / var(--cst-carousel-visible-items));
	max-width: calc((100cqi - (var(--cst-carousel-visible-items) - 1) * var(--cst-carousel-gap)) / var(--cst-carousel-visible-items));
	min-width: 0;
	box-sizing: border-box;
	padding: 1rem;
	scroll-snap-align: start;
}
.cst-carousel-item-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.cst-carousel-item-media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #f1f5f9;
	overflow: hidden;
}
.cst-carousel-item-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cst-carousel-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cst-carousel-item-body {
	padding: 1rem 1.125rem 1.25rem;
	flex: 1;
}
.cst-carousel-item-title {
	margin: 0 0 0.5rem;
	line-height: 1.3;
	font-weight: 600;
	color: #0f172a;
}
.cst-carousel-item-text {
	color: #475569;
	line-height: 1.5;
}
.cst-carousel-item-text p {
	margin: 0 0 0.5rem;
}
.cst-carousel-item-text p:last-child {
	margin-bottom: 0;
}
.cst-carousel-controls {
	display: none;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	inset: 0;
	padding: 0 0.75rem;
	pointer-events: none;
}
.cst-carousel[data-carousel-show-arrows] .cst-carousel-controls,
.cst-carousel[data-carousel-show-arrows="true"] .cst-carousel-controls {
	display: flex !important;
}
.cst-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	background: #fff;
	color: #334155;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cst-carousel__btn:hover {
	background: #f8fafc;
	border-color: rgba(15, 23, 42, 0.2);
	color: #0f172a;
}
.cst-carousel__btn .glyphicon {
	font-size: 0.85rem;
	line-height: 1;
}
@media screen and (max-width: 767px) {
	.cst-carousel {
		padding: 1rem 3.5rem;
	}
	.cst-carousel .cst-carousel-item {
		flex: 0 0 100cqi !important;
		max-width: 100cqi !important;
	}
}

.cst-accordion {
	width: 100%;
	padding: 1rem;
	box-sizing: border-box;
}
.cst-accordion-item {
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 8px;
	margin-bottom: 0.75rem;
	overflow: hidden;
	background: #fff;
}
.cst-accordion-item:last-child {
	margin-bottom: 0;
}
.cst-accordion-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	cursor: pointer;
	font-weight: 600;
	color: #0f172a;
	list-style: none;
	-webkit-user-select: none;
	user-select: none;
}
.cst-accordion-title {
	flex: 1 1 auto;
	min-width: 0;
	-webkit-user-select: text;
	user-select: text;
	cursor: text;
}
.cst-accordion-summary::-webkit-details-marker {
	display: none;
}
.cst-accordion-summary::marker {
	content: "";
}
.cst-accordion-icon {
	flex: 0 0 auto;
	font-size: 0.85rem;
	line-height: 1;
	color: #64748b;
	transition: transform 0.2s ease;
}
.cst-accordion-item[open] > .cst-accordion-summary .cst-accordion-icon {
	transform: rotate(180deg);
}
.cst-accordion-body {
	padding: 0 1.25rem 1.25rem;
	color: #475569;
	line-height: 1.5;
}
.cst-accordion-body p {
	margin: 0 0 0.5rem;
}
.cst-accordion-body p:last-child {
	margin-bottom: 0;
}

.cst-expandable {
	position: relative;
	width: 100%;
	padding: 1.5rem 0;
	box-sizing: border-box;
}
.cst-expandable .cst-expandable-header {
	display: none;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 1rem;
	width: 100%;
	box-sizing: border-box;
}
.cst-expandable[data-expandable-type="menu"] .cst-expandable-header {
	display: flex;
}
.cst-expandable .cst-expandable__toggle-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	border: none;
	border-radius: 4px;
	background: #2563eb;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	line-height: 1.2;
}
.cst-expandable .cst-expandable__toggle-all:hover {
	background: #1d4ed8;
}
.cst-expandable > .cst-expandable-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
	width: 100%;
	min-height: 120px;
	box-sizing: border-box;
	padding: 0;
	border: none;
	align-items: stretch;
}
.cst-expandable[data-expandable-type="menu"] > .cst-expandable-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.cst-expandable .cst-expandable-item {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1.5rem;
	min-width: 0;
	max-width: 100%;
}
.cst-expandable[data-expandable-type="popup"] > .cst-expandable-list > .cst-expandable-item {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}
.cst-expandable[data-expandable-type="menu"] > .cst-expandable-list > .cst-expandable-item {
	display: block;
	width: 100%;
	border: none;
	border-bottom: 1px solid #e2e8f0;
	border-radius: 0;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
	background: transparent;
	box-shadow: none;
}
.cst-expandable[data-expandable-type="menu"] > .cst-expandable-list > .cst-expandable-item:last-child {
	border-bottom: none;
}
.cst-expandable .cst-expandable-item-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
.cst-expandable[data-expandable-type="menu"] .cst-expandable-item-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	width: 100%;
	box-sizing: border-box;
}
.cst-expandable .cst-expandable-item-title {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
	font-size: 1.125rem;
	line-height: 1.35;
	font-weight: 700;
	color: #0f172a;
	overflow-wrap: break-word;
	word-wrap: break-word;
	white-space: normal;
}
.cst-expandable[data-expandable-type="popup"] .cst-expandable-item-title {
	margin: 0 0 1rem;
	display: block;
}
.cst-expandable[data-expandable-type="popup"] .cst-expandable-item-header {
	display: block;
	flex-shrink: 0;
}
.cst-expandable .cst-expandable__toggle {
	display: none;
	flex: 0 0 auto;
	width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	align-self: center;
	border: none;
	border-radius: 50%;
	background: #0f172a;
	color: #fff;
	cursor: pointer;
	padding: 0;
	line-height: 1;
}
.cst-expandable[data-expandable-type="menu"] .cst-expandable__toggle {
	display: inline-flex;
	justify-self: end;
}
.cst-expandable .cst-expandable__toggle .glyphicon {
	font-size: 11px;
	line-height: 1;
	position: static;
}
.cst-expandable .cst-expandable__toggle .glyphicon-minus {
	margin-right: 1px;
}
.cst-expandable .cst-expandable-item-body {
	margin-top: 0.75rem;
	width: 100%;
	box-sizing: border-box;
}
.cst-expandable[data-expandable-type="menu"] .cst-expandable-item-body {
	margin-top: 0.65rem;
	padding: 0;
	max-width: 48rem;
}
.cst-expandable[data-expandable-type="menu"] .cst-expandable-item:not(.is-open) > .cst-expandable-item-body {
	display: none;
}
.cst-expandable[data-expandable-type="menu"] .cst-expandable-item.is-open > .cst-expandable-item-body {
	display: block;
}
.cst-expandable[data-expandable-type="popup"] .cst-expandable-item-body {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	flex: 1 1 auto;
	margin-top: 0;
	min-width: 0;
}
.cst-expandable .cst-expandable-item-text {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.6;
	max-width: 100%;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-wrap: break-word;
}
.cst-expandable .cst-expandable-item-text * {
	max-width: 100%;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-wrap: break-word;
	white-space: normal;
}
.cst-expandable .cst-expandable-item-text p {
	margin: 0 0 0.75rem;
	line-height: 1.6;
}
.cst-expandable .cst-expandable-item-text p:last-child {
	margin-bottom: 0;
}
.cst-expandable .cst-expandable__learn-more {
	display: none;
	align-self: flex-start;
	flex-shrink: 0;
	padding: 0.7rem 1.35rem;
	border: none;
	border-radius: 4px;
	background: #64748b;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	line-height: 1.2;
}
.cst-expandable[data-expandable-type="popup"] .cst-expandable__learn-more {
	display: inline-flex;
	margin-top: auto;
}
.cst-expandable .cst-expandable__learn-more:hover {
	background: #475569;
}
@media screen and (max-width: 767px) {
	.cst-expandable {
		padding: 1rem 0;
	}
}
