/* Rivertickets trip landing — hero, offer, facts, body */

:root {
	--rt-ink: #0f2a33;
	--rt-muted: #5a6f78;
	--rt-line: rgba(15, 42, 51, 0.12);
	--rt-water: #1a6b7a;
	--rt-water-deep: #0e4a56;
	--rt-foam: #e8f3f5;
	--rt-accent: #2f8f5b;
	--rt-accent-soft: #e7f5ec;
	--rt-ok: #1f7a4c;
	--rt-ok-hover: #16633c;
	--rt-radius: 14px;
	--rt-font-display: "Literata", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
	--rt-font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

.com-rivertickets-trip.rt-trip {
	font-family: var(--rt-font-body);
	color: var(--rt-ink);
	margin: 0;
	padding: 0 0 2.5rem;
}

/* Hero — page shell width (not full-bleed), so crop is visible */
.rt-trip-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	margin: 0 0 1.35rem;
	min-height: clamp(220px, 38vw, 440px);
	display: flex;
	align-items: flex-end;
	background-color: var(--rt-water-deep);
	background-image: var(--rt-hero-image);
	background-size: cover;
	background-position: center 40%;
	overflow: hidden;
	border-radius: 14px;
}

.rt-trip-hero--empty {
	background-image:
		linear-gradient(135deg, var(--rt-water) 0%, var(--rt-water-deep) 55%, #0a3640 100%);
}

.rt-trip-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(
			180deg,
			rgba(8, 28, 34, 0.12) 0%,
			rgba(8, 28, 34, 0.28) 42%,
			rgba(8, 28, 34, 0.78) 100%
		);
}

.rt-trip-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0;
	padding: clamp(1.5rem, 4vw, 2.4rem) 1.25rem 1.4rem;
	animation: rt-trip-fade-up 0.55s ease both;
}

.rt-trip-hero__title {
	font-family: var(--rt-font-display);
	font-weight: 700;
	font-size: clamp(1.85rem, 4.2vw, 3rem);
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 0.55rem;
	color: #fff;
	text-wrap: balance;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.rt-trip-hero__subtitle {
	font-family: var(--rt-font-body);
	font-weight: 600;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	line-height: 1.35;
	margin: 0;
	color: #fff;
	opacity: 0.75;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

/* Bottom SEO block — sole H1 of the page (not in TOC) */
.rt-trip-seo {
	margin-top: 2.5rem;
	padding: 2rem 0 2.75rem;
	animation: rt-trip-fade-up 0.55s ease 0.48s both;
}

.rt-trip-seo__heading {
	font-family: var(--rt-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 0 0 0.85rem;
}

.rt-trip-seo__text {
	font-family: var(--rt-font-body);
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--rt-muted);
	max-width: 42rem;
}

.rt-trip-seo__text p {
	margin: 0 0 0.75rem;
}

.rt-trip-seo__text p:last-child {
	margin-bottom: 0;
}

.rt-trip-related {
	margin-top: 2rem;
	padding: 0 0 2.5rem;
	animation: rt-trip-fade-up 0.55s ease 0.5s both;
}

.rt-trip-related__title {
	font-family: var(--rt-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 0 0 1.25rem;
}

.rt-trip-related__list {
	display: grid;
	gap: 1.25rem;
}

.rt-trip__inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.rt-trip__layout {
	position: relative;
}

/* Desktop in-page TOC (sticky left column)
   Note: Cassiopeia sets `.container-component nav { position: relative }`,
   so we use a div[role=navigation] and sticky inside a full-height grid slot. */
.rt-trip-toc-slot {
	display: none;
}

.rt-trip-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.15rem;
}

.rt-trip-toc__link {
	display: block;
	padding: 0.35rem 0.55rem 0.35rem 0.7rem;
	border-left: 2px solid transparent;
	color: var(--rt-muted);
	text-decoration: none;
	font-size: 0.92rem;
	line-height: 1.3;
	font-weight: 600;
	transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.rt-trip-toc__link:hover {
	color: var(--rt-water-deep);
}

.rt-trip-toc__link.is-active {
	color: var(--rt-water-deep);
	border-left-color: var(--rt-water);
	background: rgba(26, 107, 122, 0.06);
}

#description,
#path,
#timetable,
#ships,
#ship_menu,
#tickets,
#comments,
#contact {
	scroll-margin-top: 5.5rem;
}

@media (min-width: 1200px) {
	.rt-trip__layout {
		display: grid;
		grid-template-columns: 9.25rem minmax(0, 1fr);
		column-gap: 1.25rem;
		align-items: stretch;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
		overflow: visible;
	}

	.rt-trip__inner {
		max-width: none;
		width: 100%;
		min-width: 0;
		margin: 0;
		padding-left: 0;
		padding-right: 0;
	}

	.rt-trip-toc-slot {
		display: block;
		align-self: stretch;
	}

	.rt-trip-toc,
	.container-component .rt-trip-toc {
		display: block;
		position: sticky;
		top: 5.25rem;
		padding-top: 1.35rem;
		z-index: 5;
		width: 100%;
		box-sizing: border-box;
	}
}

.rt-trip__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1.15rem;
}

.rt-trip__badge {
	display: inline-block;
	padding: 0.28rem 0.65rem;
	border-radius: 6px;
	background: var(--rt-accent-soft);
	color: var(--rt-ok);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Offer: buy 33% left, prices 67% right */
.rt-trip-offer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 1.25rem 2rem;
	align-items: center;
	margin: 0 0 1.75rem;
	padding: 1.15rem 1.25rem;
	background:
		linear-gradient(180deg, rgba(232, 243, 245, 0.9), rgba(232, 243, 245, 0.35));
	border-radius: var(--rt-radius);
	border: 1px solid var(--rt-line);
	animation: rt-trip-fade-up 0.55s ease 0.06s both;
}

.rt-trip-offer__info {
	min-width: 0;
}

.rt-trip-offer__info:only-child {
	grid-column: 1 / -1;
}

.rt-trip-offer__prices {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.rt-trip-offer__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.65rem;
	font-size: 1.05rem;
}

.rt-trip-offer__price-title {
	color: var(--rt-muted);
	font-weight: 600;
}

.rt-trip-offer__price-value {
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	letter-spacing: -0.02em;
}

.rt-trip-offer__price-free,
.rt-trip-offer__sep {
	font-weight: 600;
	color: var(--rt-ink);
}

.rt-trip-offer__discount {
	display: inline-block;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	background: #ffe8a3;
	color: #8a5a00;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.rt-trip-offer__buy {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.rt-trip-offer .rt-btn-buy,
.rt-trip .rt-btn-buy {
	appearance: none;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 11.5rem;
	padding: 0.85rem 1.4rem;
	border-radius: 10px;
	background: var(--rt-ok);
	color: #fff;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.rt-trip-offer .rt-btn-buy:hover,
.rt-trip .rt-btn-buy:hover {
	background: var(--rt-ok-hover);
	transform: translateY(-1px);
	color: #fff;
}

.rt-trip-offer__pier {
	margin: 0.75rem 0 0;
	padding: 0;
	background: none;
	border: 0;
	color: #8a969c;
}

.rt-trip-offer__pier-heading {
	margin: 0 0 0.2rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #8a969c;
	line-height: 1.25;
}

.rt-trip-offer__pier-prices {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.1rem;
}

.rt-trip-offer__pier-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.2rem 0.35rem;
	font-size: 0.82rem;
	line-height: 1.25;
	color: #8a969c;
}

.rt-trip-offer__pier-title {
	font-weight: 500;
}

.rt-trip-offer__pier-value {
	font-weight: 600;
}

/* Facts: When / Duration / Ships */
.rt-trip-facts {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 1rem 1.5rem;
	margin: 0 0 2rem;
	padding: 0 0 1.75rem;
	border-bottom: 1px solid var(--rt-line);
	animation: rt-trip-fade-up 0.55s ease 0.12s both;
}

.rt-trip-facts__stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.rt-trip-facts__item--from {
	margin-top: 1rem;
}

.rt-trip-facts__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75rem;
	align-items: start;
}

.rt-trip-facts__icon {
	width: 36px;
	height: 36px;
	object-fit: contain;
	margin-top: 0.15rem;
	color: #1a6b7a;
	flex-shrink: 0;
}

.rt-trip-facts__label {
	display: block;
	margin: 0 0 0.25rem;
	color: var(--rt-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.rt-trip-facts__value {
	margin: 0;
	color: var(--rt-ink);
	line-height: 1.45;
	font-size: 1.35rem;
}

.rt-trip-facts__season {
	margin: 0.2rem 0 0;
	color: #8a969c;
	font-size: 0.88rem;
	line-height: 1.35;
	font-weight: 500;
}

.rt-trip-facts__ships {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rt-trip-facts__ship-names {
	margin: 0;
	color: var(--rt-ink);
	line-height: 1.45;
	font-size: 1.35rem;
	font-weight: 400;
}

.rt-trip-facts__ship-names a {
	color: inherit;
	text-decoration: none;
}

.rt-trip-facts__ship-names a:hover,
.rt-trip-facts__ship-names a:focus-visible {
	color: var(--rt-water);
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.rt-trip-facts__ship-types {
	margin: 0.2rem 0 0;
	color: var(--rt-muted);
	font-size: 0.95rem;
	line-height: 1.35;
	font-weight: 500;
}

/* Description */
.rt-trip-body {
	animation: rt-trip-fade-up 0.55s ease 0.18s both;
}

.rt-trip-body__title {
	font-family: var(--rt-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 0 0 0.85rem;
}

.rt-trip-body__text {
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--rt-ink);
}

.rt-trip-body__text :where(span, font) {
	font-size: inherit !important;
}

.rt-trip-body__text p {
	margin: 0 0 0.9rem;
}

.rt-trip-body__text p:last-child {
	margin-bottom: 0;
}

/* Advantages */
.rt-trip-advantages {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
	animation: rt-trip-fade-up 0.55s ease 0.22s both;
}

.rt-trip-advantages__title {
	font-family: var(--rt-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 0 0 2.6rem;
}

.rt-trip-advantages__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem 1.5rem;
}

.rt-trip-advantages__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
}

.rt-trip-advantages__icon {
	width: 72px;
	height: 72px;
	object-fit: contain;
	display: block;
}

.rt-trip-advantages__name {
	margin: 0 0 0.25rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rt-ink);
}

.rt-trip-advantages__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--rt-muted);
}

/* Route */
.rt-trip-route {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
	animation: rt-trip-fade-up 0.55s ease 0.26s both;
}

.rt-trip-route__title {
	font-family: var(--rt-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 0 0 1.1rem;
}

.rt-trip-route__text {
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--rt-ink);
}

.rt-trip-route__text p {
	margin: 0 0 0.9rem;
}

.rt-trip-route__text p:last-child {
	margin-bottom: 0;
}

.rt-trip-route__text a {
	color: var(--rt-water);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.rt-trip-route__text a:hover {
	color: var(--rt-water-deep);
}

.rt-trip-route__map {
	margin-top: 1.1rem;
}

.rt-trip-route__map-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
	list-style: none;
	font-style: italic;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--rt-water);
	border-bottom: 1px dashed var(--rt-water);
	padding-bottom: 0.05rem;
}

.rt-trip-route__map-toggle::-webkit-details-marker {
	display: none;
}

.rt-trip-route__map-toggle::marker {
	content: "";
}

.rt-trip-route__map[open] .rt-trip-route__map-toggle {
	border-bottom-color: transparent;
	margin-bottom: 0.85rem;
}

.rt-trip-route__map-icon {
	flex-shrink: 0;
}

.rt-trip-route__map-body {
	overflow: hidden;
	border-radius: 8px;
	background: var(--rt-foam);
}

.rt-trip-route__map-body iframe {
	display: block;
	width: 100%;
	height: 553px;
	max-width: 100%;
	border: 0;
}

/* Schedule + how to get */
.rt-trip-schedule {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
	animation: rt-trip-fade-up 0.55s ease 0.3s both;
}

.rt-trip-schedule__title {
	font-family: var(--rt-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 0 0 1.1rem;
}

.rt-trip-schedule__hint {
	margin: 0 0 0.85rem;
	font-size: 1rem;
	color: var(--rt-ink);
}

.rt-trip-schedule__widget {
	margin-bottom: 1.5rem;
	min-height: 2rem;
}

.rt-trip-schedule__widget iframe,
.rt-trip-howto__map iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

.rt-trip-dock {
	margin-top: 1.25rem;
}

.rt-trip-dock__title {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--rt-ink);
}

.rt-trip-dock__desc {
	margin-bottom: 0.75rem;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--rt-ink);
}

.rt-trip-howto {
	margin-top: 0.5rem;
}

.rt-trip-howto__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
	list-style: none;
	font-style: italic;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--rt-water);
	border-bottom: 1px dashed var(--rt-water);
	padding-bottom: 0.05rem;
}

.rt-trip-howto__toggle::-webkit-details-marker {
	display: none;
}

.rt-trip-howto__toggle::marker {
	content: "";
}

.rt-trip-howto[open] .rt-trip-howto__toggle {
	border-bottom-color: transparent;
	margin-bottom: 0.9rem;
}

.rt-trip-howto__pin {
	flex-shrink: 0;
}

.rt-trip-howto__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.1rem;
	margin: 0 0 1rem;
	padding: 0 0 0.75rem;
	border-bottom: 1px solid var(--rt-line);
}

.rt-trip-howto__tab {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	appearance: none;
	background: transparent;
	border: 0;
	padding: 0.15rem 0;
	cursor: pointer;
	font: inherit;
	font-size: 1.05rem;
	color: var(--rt-ink);
	border-bottom: 1px dashed transparent;
}

.rt-trip-howto__tab img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.rt-trip-howto__tab span {
	border-bottom: 1px dashed var(--rt-ink);
}

.rt-trip-howto__tab.is-active span {
	border-bottom-color: var(--rt-water);
	color: var(--rt-water-deep);
	font-weight: 600;
}

.rt-trip-howto__panel {
	display: none;
}

.rt-trip-howto__panel.is-active {
	display: block;
}

.rt-trip-howto__map {
	min-height: 400px;
	margin-bottom: 0.85rem;
	overflow: hidden;
	border-radius: 8px;
	background: var(--rt-foam);
}

.rt-trip-gallery {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
}

.rt-trip-gallery__title {
	font-family: var(--rt-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 0 0 0.85rem;
}

.rt-trip-howto__map iframe {
	height: 560px;
}

.rt-trip-howto__text {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--rt-ink);
}

.rt-trip-howto__text p {
	margin: 0 0 0.85rem;
}

.rt-trip-howto__text p:last-child {
	margin-bottom: 0;
}

/* Ships */
.rt-trip-ships {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
	animation: rt-trip-fade-up 0.55s ease 0.34s both;
}

.rt-trip-ships__title {
	font-family: var(--rt-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 0 0 1.25rem;
}

.rt-trip-ship + .rt-trip-ship {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
}

.rt-trip-ship__top {
	display: grid;
	grid-template-columns: minmax(140px, 25%) minmax(0, 1fr);
	gap: 1.5rem 1.75rem;
	align-items: start;
}

.rt-trip-ship__aside {
	text-align: center;
}

.rt-trip-ship__avatar {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
	margin: 0 auto 0.75rem;
	background: var(--rt-foam);
}

.rt-trip-ship__name {
	margin: 0 0 0.2rem;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rt-ink);
}

.rt-trip-ship__type {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.35;
	color: var(--rt-muted);
}

.rt-trip-ship__name a,
.rt-trip-ship__type a,
.rt-trip-ship__avatar-link {
	color: inherit;
	text-decoration: none;
}

.rt-trip-ship__name a:hover,
.rt-trip-ship__type a:hover {
	color: var(--rt-water);
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.rt-trip-ship__desc {
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--rt-ink);
}

.rt-trip-ship__desc p {
	margin: 0 0 0.85rem;
}

.rt-trip-ship__desc p:last-child {
	margin-bottom: 0;
}

.rt-trip-ship__attrs {
	list-style: none;
	margin: 3rem 0 0 2rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.6rem 1.75rem;
}

.rt-trip-ship__attr {
	display: grid;
	grid-template-columns: 25px minmax(0, 1fr);
	gap: 0.75rem;
	align-items: center;
}

.rt-trip-ship__attr-icon {
	width: 25px;
	height: 25px;
	object-fit: contain;
	display: block;
}

.rt-trip-ship__attr-label {
	font-size: 0.98rem;
	line-height: 1.35;
	color: var(--rt-ink);
}

/* Ship onboard menu */
.rt-trip-ship-menu__title {
	font-family: var(--rt-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 2.25rem 0 0.85rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
}

.rt-trip-ship-menu {
	margin-top: 0.35rem;
}

.rt-trip-ship-menu__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
	list-style: none;
	font-style: italic;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--rt-water);
	border-bottom: 1px dashed var(--rt-water);
	padding-bottom: 0.05rem;
}

.rt-trip-ship-menu__toggle::-webkit-details-marker {
	display: none;
}

.rt-trip-ship-menu__toggle::marker {
	content: "";
}

.rt-trip-ship-menu[open] .rt-trip-ship-menu__toggle {
	border-bottom-color: transparent;
	margin-bottom: 0.9rem;
}

.rt-trip-ship-menu__icon,
.rt-trip-ship-menu__cutlery {
	flex-shrink: 0;
	display: block;
}

.rt-trip-ship-menu__body {
	max-width: 52rem;
}

.rt-trip-ship-menu__body table {
	width: 100%;
	border-collapse: collapse;
}

.rt-trip-ship-menu__body td {
	padding: 0.45rem 0.6rem;
	border-bottom: 1px solid rgba(15, 42, 51, 0.1);
	vertical-align: top;
}

.rt-trip-ship-menu__body em {
	font-size: 80%;
	font-style: italic;
	color: #9aa6ac;
}

.rt-trip-ship-menu__body tr > td:last-child {
	white-space: nowrap;
	text-align: right;
}

.rt-trip-ship-menu__name {
	margin: 0 0 0.65rem;
	font-weight: 700;
}

.rt-trip-ship-menu-extra {
	margin-top: 2rem;
}

/* Responsive board menu content */
.rt-board-menu {
	color: var(--rt-ink);
}

.rt-board-menu__section {
	margin: 1.35rem 0 0.55rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--rt-water-deep);
	background: var(--rt-foam);
	border-radius: 6px;
}

.rt-board-menu__section:first-child {
	margin-top: 0;
}

.rt-board-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rt-board-menu__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 0.35rem 1rem;
	align-items: start;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--rt-line);
}

.rt-board-menu__item:last-child {
	border-bottom: 0;
}

.rt-board-menu__name {
	font-size: 1rem;
	line-height: 1.35;
}

.rt-board-menu__name em {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.92rem;
	font-style: italic;
	color: var(--rt-muted);
	font-weight: 400;
}

.rt-board-menu__vol {
	font-size: 0.92rem;
	color: var(--rt-muted);
	white-space: nowrap;
	padding-top: 0.1rem;
}

.rt-board-menu__price {
	font-size: 1rem;
	font-weight: 600;
	white-space: nowrap;
	text-align: right;
	padding-top: 0.05rem;
}

@media (max-width: 640px) {
	.rt-board-menu__item {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"name price"
			"vol price";
	}

	.rt-board-menu__name { grid-area: name; }
	.rt-board-menu__vol { grid-area: vol; }
	.rt-board-menu__price {
		grid-area: price;
		align-self: start;
	}
}

/* Tickets (bottom buy block + payment benefits) */
.rt-trip-tickets {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
	animation: rt-trip-fade-up 0.55s ease 0.36s both;
}

.rt-trip-tickets__title {
	font-family: var(--rt-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	margin: 0 0 1.1rem;
}

.rt-trip-tickets .rt-trip-offer {
	animation: none;
}

.rt-trip-pay-benefits {
	list-style: none;
	margin: 2.25rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 2.25rem;
}

.rt-trip-pay-benefits__item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}

.rt-trip-pay-benefits__icon {
	width: 72px;
	height: 72px;
	object-fit: contain;
	display: block;
}

.rt-trip-pay-benefits__name {
	margin: 0 0 0.25rem;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--rt-ink);
}

.rt-trip-pay-benefits__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--rt-muted);
}

/* Reviews (Cackle mock / live) */
.rt-trip-reviews {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
	animation: rt-trip-fade-up 0.55s ease 0.4s both;
}

.rt-trip-reviews__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin: 0 0 1.35rem;
}

.rt-trip-reviews__tab {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0;
	padding: 0.35rem 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	font: inherit;
	color: var(--rt-ink);
}

.rt-trip-reviews__tab img {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.rt-trip-reviews__tab span {
	border-bottom: 1px dashed transparent;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--rt-muted);
}

.rt-trip-reviews__tab.is-active span {
	border-bottom-color: var(--rt-ink);
	color: var(--rt-ink);
}

.rt-trip-reviews__panel {
	display: none;
}

.rt-trip-reviews__panel.is-active {
	display: block;
}

.rt-trip-reviews__summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.25rem 2rem;
	align-items: start;
	margin: 0 0 1.5rem;
	padding: 1.15rem 1.25rem;
	background: var(--rt-foam);
	border-radius: 10px;
}

.rt-trip-reviews__score {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.85rem;
}

.rt-trip-reviews__stars {
	display: inline-flex;
	gap: 0.1rem;
}

.rt-trip-reviews__stars svg,
.rt-trip-reviews__item-stars svg,
.rt-trip-reviews__bd-stars svg {
	display: block;
}

.rt-trip-reviews__rating {
	font-family: var(--rt-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--rt-water-deep);
	line-height: 1;
}

.rt-trip-reviews__count {
	font-size: 0.95rem;
	color: var(--rt-muted);
}

.rt-trip-reviews__breakdown {
	list-style: none;
	margin: 0.85rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
	max-width: 22rem;
}

.rt-trip-reviews__breakdown li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) 1.5rem;
	gap: 0.55rem;
	align-items: center;
}

.rt-trip-reviews__bd-stars {
	display: inline-flex;
	gap: 0.05rem;
	min-width: 5.25rem;
}

.rt-trip-reviews__bar {
	display: block;
	height: 8px;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	overflow: hidden;
}

.rt-trip-reviews__bar > span {
	display: block;
	height: 100%;
	background: #ffaf02;
	border-radius: inherit;
}

.rt-trip-reviews__bd-count {
	font-size: 0.85rem;
	color: var(--rt-muted);
	text-align: right;
}

.rt-trip-reviews__write {
	justify-self: end;
	align-self: center;
	margin: 0;
	padding: 0.65rem 1.1rem;
	border: 1px solid var(--rt-line);
	border-radius: 8px;
	background: #fff;
	color: var(--rt-muted);
	font: inherit;
	font-size: 0.95rem;
	cursor: not-allowed;
}

.rt-trip-reviews__mock-note {
	margin: 0 0 1.15rem;
	font-size: 0.85rem;
	color: var(--rt-muted);
}

.rt-trip-reviews__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}

.rt-trip-reviews__item {
	padding: 1.1rem 0 1.25rem;
	border-bottom: 1px solid var(--rt-line);
}

.rt-trip-reviews__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.rt-trip-reviews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.85rem;
	margin: 0 0 0.4rem;
}

.rt-trip-reviews__author {
	font-weight: 700;
	color: var(--rt-ink);
}

.rt-trip-reviews__date {
	font-size: 0.9rem;
	color: var(--rt-muted);
}

.rt-trip-reviews__item-stars {
	display: inline-flex;
	gap: 0.08rem;
	margin: 0 0 0.55rem;
}

.rt-trip-reviews__recom {
	margin: 0 0 0.55rem;
	font-weight: 600;
	color: var(--rt-water-deep);
}

.rt-trip-reviews__field {
	margin: 0 0 0.45rem;
	font-size: 0.98rem;
	line-height: 1.5;
	color: var(--rt-ink);
}

.rt-trip-reviews__field:last-child {
	margin-bottom: 0;
}

.rt-trip-reviews__empty {
	margin: 0;
	padding: 1.25rem 0;
	color: var(--rt-muted);
}

/* Contact form (Joomla Form + POWCaptcha) */
.rt-trip-contact {
	margin-top: 2.25rem;
	padding: 2.5rem 1.25rem 2.75rem;
	border-top: 1px solid var(--rt-line);
	background: #f3f3f3;
	animation: rt-trip-fade-up 0.55s ease 0.44s both;
}

.rt-trip-contact__inner {
	max-width: 34rem;
	margin: 0 auto;
	text-align: center;
}

.rt-trip-contact__title {
	font-family: var(--rt-font-display);
	font-size: clamp(1.45rem, 2.5vw, 1.85rem);
	font-weight: 700;
	color: var(--rt-ink);
	margin: 0 0 0.55rem;
	line-height: 1.25;
}

.rt-trip-contact__phone {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	color: var(--rt-ink);
}

.rt-trip-contact__phone a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.rt-trip-contact__phone a:hover {
	border-bottom-color: currentColor;
}

.rt-trip-contact__form {
	display: grid;
	gap: 0.85rem;
	text-align: left;
}

.rt-trip-contact__field .rt-trip-contact__input,
.rt-trip-contact__field input,
.rt-trip-contact__field textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.85rem 0.95rem;
	border: 1px solid #cfcfcf;
	border-radius: 2px;
	background: #fff;
	font: inherit;
	font-size: 1rem;
	color: var(--rt-ink);
	line-height: 1.35;
}

.rt-trip-contact__field input::placeholder,
.rt-trip-contact__field textarea::placeholder {
	color: #9a9a9a;
}

.rt-trip-contact__field textarea,
.rt-trip-contact__textarea {
	min-height: 8.5rem;
	resize: vertical;
}

.rt-trip-contact__captcha {
	display: flex;
	justify-content: center;
	margin: 0.35rem 0 0.15rem;
}

.rt-trip-contact__captcha .control-group,
.rt-trip-contact__captcha .controls {
	margin: 0;
	width: auto;
}

.rt-trip-contact__captcha > .control-group > .control-label,
.rt-trip-contact__captcha > .control-group > .form-label,
.rt-trip-contact__captcha label#jform_captcha-lbl {
	display: none;
}

.rt-trip-contact__captcha altcha-widget,
.rt-trip-contact__captcha .altcha {
	display: block;
}

.rt-trip-contact__captcha .altcha-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	color: var(--rt-ink);
}

.rt-trip-contact__captcha-fake {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 0.85rem;
	border: 1px solid #cfcfcf;
	border-radius: 2px;
	background: #fff;
	font-size: 0.95rem;
	color: var(--rt-ink);
	user-select: none;
}

.rt-trip-contact__captcha-box {
	width: 1.15rem;
	height: 1.15rem;
	border: 1px solid #b5b5b5;
	border-radius: 2px;
	background: #fafafa;
	flex-shrink: 0;
}


.rt-trip-contact__actions {
	display: flex;
	justify-content: center;
	margin-top: 0.35rem;
}

.rt-trip-contact__submit {
	appearance: none;
	border: 0;
	margin: 0;
	padding: 0.85rem 2.75rem;
	min-width: 12rem;
	background: #21ad33;
	color: #fff;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 2px;
	transition: background 0.15s ease, transform 0.15s ease;
}

.rt-trip-contact__submit:hover {
	background: #1a922a;
}

.rt-trip-contact__submit:active {
	transform: translateY(1px);
}

.rt-trip-contact .visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rt-trip__notice {
	margin: 0 0 1.25rem;
	padding: 0.75rem 0.9rem;
	background: var(--rt-accent-soft);
	border-left: 3px solid var(--rt-accent);
	border-radius: 0 8px 8px 0;
	font-size: 0.95rem;
}

/* Secondary blocks kept for later polish */
.rt-trip-extra {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--rt-line);
}

.rt-trip-extra h2 {
	font-family: var(--rt-font-display);
	font-size: 1.2rem;
	color: var(--rt-water-deep);
	margin: 0 0 0.75rem;
}

@media (max-width: 800px) {
	.rt-trip-facts {
		grid-template-columns: 1fr;
		gap: 1.15rem;
	}

	.rt-trip-offer {
		grid-template-columns: 1fr;
	}

	.rt-trip-offer__buy .rt-btn-buy {
		width: 100%;
	}

	.rt-trip-advantages__title {
		margin-bottom: 1.1rem;
	}

	.rt-trip-advantages__grid {
		grid-template-columns: 1fr;
		gap: 1.1rem;
	}

	.rt-trip-ship__top {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.rt-trip-ship__desc {
		text-align: left;
	}

	.rt-trip-ship__attrs {
		grid-template-columns: 1fr;
	}

	.rt-trip-pay-benefits {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.rt-trip-reviews__summary {
		grid-template-columns: 1fr;
	}

	.rt-trip-reviews__write {
		justify-self: start;
	}
}

@media (min-width: 801px) and (max-width: 1100px) {
	.rt-trip-advantages__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rt-trip-ship__attrs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rt-trip-pay-benefits {
		grid-template-columns: 1fr;
	}
}

@keyframes rt-trip-fade-up {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}
