/**
 * MoroccoPlan — tour itinerary (OTA activity rows).
 * Loaded separately and excluded from LiteSpeed CSS combine/UCSS so
 * accordion overrides are not stripped.
 */

.single-st_tours #st-content-wrapper.st-style-elementor #st-itinerary.st-heading-section {
	margin: 0 0 14px;
	color: #1a2b48;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
}

.single-st_tours #st-content-wrapper.st-style-elementor .st-program-list.moroccoplan-itinerary,
.single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list.moroccoplan-itinerary {
	display: block;
	margin: 0;
	max-width: 860px;
}

/* Kill Traveler/Bootstrap card chrome on itinerary only */
.single-st_tours #st-content-wrapper.st-style-elementor .st-program-list.moroccoplan-itinerary > .st-program,
.single-st_tours #st-content-wrapper.st-style-elementor .st-program-list.moroccoplan-itinerary > .st-program.style1,
.single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list.moroccoplan-itinerary > .st-program,
.single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list.moroccoplan-itinerary > .st-program.style1,
.single-st_tours #st-content-wrapper.st-style-elementor .st-program-list.moroccoplan-itinerary .accordion-item,
.single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list.moroccoplan-itinerary .accordion-item {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin-top: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	/* margin-bottom set per-item below — do not zero it here */
}

/* Clear gap between items so cards/titles never sit flush */
.single-st_tours #st-content-wrapper.st-style-elementor .st-program-list.moroccoplan-itinerary > .moroccoplan-itinerary__item,
.single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list.moroccoplan-itinerary > .moroccoplan-itinerary__item {
	margin: 0 0 16px !important;
}

.single-st_tours #st-content-wrapper.st-style-elementor .st-program-list.moroccoplan-itinerary > .moroccoplan-itinerary__item:last-child,
.single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .st-program-list.moroccoplan-itinerary > .moroccoplan-itinerary__item:last-child {
	margin-bottom: 0 !important;
}

/* Activity row */
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__row {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	column-gap: 14px;
	align-items: start;
	padding: 4px 0 12px;
	border: 0;
	border-bottom: 1px solid #e8edf2;
	background: transparent;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__item:last-child .moroccoplan-itinerary__row {
	border-bottom: 0;
	padding-bottom: 4px;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #1a2b48;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	flex-shrink: 0;
	user-select: none;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__content {
	min-width: 0;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__header {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	font-size: inherit;
	font-weight: inherit;
}

/* Title sits on the page — no accordion “card” around it */
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button,
.single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .moroccoplan-itinerary__toggle.accordion-button,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary.faq .accordion-button,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary .faq.style1 .accordion-button,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary .accordion-button {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	min-height: 40px !important;
	height: auto !important;
	padding: 0 44px 0 0 !important;
	margin: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-width: 0 !important;
	border-style: none !important;
	border-color: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	filter: none !important;
	color: #1a2b48 !important;
	text-align: left !important;
	white-space: normal !important;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button:hover,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button:focus,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button:focus-visible,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button:active,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button:not(.collapsed) {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #1a2b48 !important;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button:focus-visible {
	outline: 2px solid #1a2b48 !important;
	outline-offset: 2px !important;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__title {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 8px 16px 8px 16px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: #1a2b48;
	overflow-wrap: break-word;
	background: transparent;
	border: 0;
}

/* Small outline +/- only */
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button::after,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary .accordion-button::after,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary .faq.style1 .accordion-button::after {
	position: absolute !important;
	top: 50% !important;
	right: 0 !important;
	width: 32px !important;
	height: 32px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 1px solid #cfd6de !important;
	background: #fff !important;
	background-color: #fff !important;
	background-image: none !important;
	color: #1a2b48 !important;
	font-family: inherit !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 30px !important;
	text-align: center !important;
	content: "+" !important;
	transform: translateY(-50%) !important;
	box-shadow: none !important;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button.collapsed::after,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button:not(.collapsed)::after {
	content: "+" !important;
	background: #fff !important;
	color: #1a2b48 !important;
	border: 1px solid #cfd6de !important;
	font-family: inherit !important;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button:not(.collapsed)::after {
	content: "\2212" !important;
}

/* Description under title (content column) */
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__desc.accordion-body,
.single-st_tours #st-content-wrapper.st-style-elementor.st-single-tour-8 .moroccoplan-itinerary__desc.accordion-body {
	padding: 6px 44px 2px 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__text,
.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__text p {
	max-width: 720px;
	margin: 0;
	padding: 0;
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.6;
	color: #1a2b48 !important;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__text p + p {
	margin-top: 0.45em;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__media {
	margin: 0 0 8px;
	max-width: 380px;
}

.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

@media screen and (max-width: 767px) {
	.single-st_tours #st-content-wrapper.st-style-elementor #st-itinerary.st-heading-section {
		font-size: 24px;
		margin-bottom: 10px;
	}

	.single-st_tours #st-content-wrapper.st-style-elementor .st-program-list.moroccoplan-itinerary {
		max-width: 100%;
	}

	.single-st_tours #st-content-wrapper.st-style-elementor .st-program-list.moroccoplan-itinerary > .moroccoplan-itinerary__item {
		margin-bottom: 14px !important;
	}

	.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__row {
		grid-template-columns: 36px minmax(0, 1fr);
		column-gap: 12px;
		padding: 2px 0 10px;
	}

	.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__number {
		width: 36px;
		height: 36px;
		font-size: 12px;
	}

	.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button {
		min-height: 36px !important;
		padding: 0 40px 0 0 !important;
	}

	.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__title {
		font-size: 16px;
		line-height: 1.3;
	}

	.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__toggle.accordion-button::after {
		width: 32px !important;
		height: 32px !important;
		line-height: 30px !important;
		font-size: 17px !important;
	}

	.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__desc.accordion-body {
		padding: 5px 40px 0 0 !important;
	}

	.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__text,
	.single-st_tours #st-content-wrapper.st-style-elementor .moroccoplan-itinerary__text p {
		max-width: 100%;
		font-size: 14.5px;
		line-height: 1.55;
	}
}
