@font-face {
	font-family: "Open Sans";
	src: url("/assets/fonts/light.woff") format("woff");
	font-style: normal;
	font-weight: 300;
	font-display: swap;
}

@font-face {
	font-family: "Open Sans Bold";
	font-style: normal;
	font-weight: 700;
	src: local("Open Sans Bold"), local("OpenSans-Bold"), url("https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN7rg-VQ.ttf") format("truetype");
	font-display: swap;
}

:root {
	--bg: #f4f7fb;
	--surface: #ffffff;
	--surface-alt: #edf3f8;
	--ink: #17324d;
	--muted: #5f7081;
	--line: #d2dce7;
	--brand: #c20063;
	--brand-dark: #003473;
	--brand-soft: #fbe5f1;
	--brand-soft-dark: #e3ecf7;
	--success-soft: #eff8f2;
	--danger-soft: #fff1f1;
	--shadow: 0 14px 34px rgba(0, 52, 115, 0.08);
	--container: 1240px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: 300;
	font-size: 17px;
	color: var(--ink);
	background:
		radial-gradient(circle at top right, rgba(194, 0, 99, 0.12), transparent 22%),
		linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
}

a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--brand);
}

img {
	display: block;
	max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
}

p {
	margin: 0;
}

ul {
	margin: 0;
	padding-left: 1.2rem;
}

input,
select,
button,
textarea {
	font: inherit;
}

.site-shell {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px 56px;
}

.site-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	padding: 26px 0 16px;
}

.site-brand,
.site-nav a,
.filter-link,
.button-link,
.destination-card,
.trip-gallery-thumb,
.lightbox-link {
	text-decoration: none;
}

.site-brand img {
	width: 100%;
	max-width: 200px;
	height: auto;
}

.site-header-tools {
	display: grid;
	justify-items: end;
	gap: 12px;
}

.site-contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--brand);
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	font-size: 1.08rem;
}

.site-contact a {
	text-decoration: none;
	color: var(--brand);
}

.site-contact-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	color: var(--brand);
}

.site-contact-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.site-nav a {
	padding: 10px 0;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	color: var(--brand-dark);
}

.page-hero {
	padding: 16px 0 28px;
}

.page-hero-grid {
	display: block;
}

.page-hero-grid:has(.page-hero-aside) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
	gap: 26px;
	align-items: start;
	padding: 28px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: var(--shadow);
}

.page-hero-main {
	display: grid;
	align-content: start;
}

.page-hero-aside {
	width: 100%;
	max-width: 320px;
	justify-self: end;
}

.breadcrumbs {
	margin-bottom: 22px;
	color: var(--muted);
	font-size: 1rem;
}

.page-hero h1 {
	font-size: clamp(2.3rem, 4vw, 4rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
	max-width: 840px;
}

.page-trip-detail .page-hero h1 {
	font-size: clamp(1.65rem, 2.5vw, 2.45rem);
	line-height: 0.96;
	max-width: 980px;
}

.page-intro {
	margin-top: 14px;
	max-width: 780px;
	color: var(--muted);
	font-size: 1.1rem;
	line-height: 1.65;
}

.page-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.page-link-list {
	display: grid;
	gap: 12px;
	justify-items: end;
	align-content: start;
}

.page-link-action {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	color: var(--brand-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.page-link-action:hover {
	color: var(--brand);
}

.page-intro:empty {
	display: none;
}
.destination-note {
	margin-top: 18px;
	padding: 16px 18px;
	border: 1px solid rgba(194, 0, 99, 0.28);
	background: var(--brand-soft);
	color: var(--brand-dark);
	box-shadow: 0 12px 28px rgba(0, 52, 115, 0.08);
}

.destination-note strong {
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
}
.page-content,
.stack {
	display: grid;
	gap: 20px;
}

.flash-wrap {
	display: grid;
	gap: 12px;
	margin-bottom: 24px;
}

.flash {
	padding: 14px 18px;
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.flash-error {
	background: var(--danger-soft);
}

.flash-success {
	background: var(--success-soft);
}

.card,
.panel {
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: var(--shadow);
	border-radius: 0;
}

.card {
	padding: 28px;
}

.panel {
	padding: 20px;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.card-grid-spaced {
	margin-top: 22px;
}

.trip-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.trip-card-grid .panel {
	grid-column: 1 / -1;
}

.hover-card {
	transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hover-card:hover {
	transform: translateY(-2px);
	background: #f8fbff;
	border-color: #b8cade;
}

.card-media {
	position: relative;
	overflow: hidden;
	background: #d8e2ed;
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.hover-card:hover .card-media img,
.lightbox-link:hover img,
.trip-gallery-thumb:hover img {
	transform: scale(1.05);
}

.card-media-tall {
	aspect-ratio: 1 / 0.86;
	margin: -28px -28px 22px;
}

.card-media-trip {
	aspect-ratio: 1 / 0.78;
	min-height: 220px;
}

.card-media-placeholder {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	color: var(--muted);
	padding: 22px;
}

.card-body,
.trip-card-content {
	display: grid;
	gap: 16px;
}

.card-title {
	font-size: 1.45rem;
	line-height: 1.18;
}

.card-text {
	color: var(--muted);
	line-height: 1.7;
	font-size: 1.02rem;
}

.card-badge-row,
.detail-badges,
.media-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.media-badges {
	position: absolute;
	left: 16px;
	top: 16px;
	right: 16px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	font-size: 0.92rem;
	line-height: 1;
}

.badge-soft {
	background: var(--brand-soft-dark);
	color: var(--brand-dark);
}

.badge-brand {
	background: rgba(194, 0, 99, 0.92);
	color: #fff;
}

.badge-dark {
	background: rgba(0, 52, 115, 0.92);
	color: #fff;
}

.badge-duration::before {
	content: "\23F1";
	font-size: 0.95rem;
	line-height: 1;
}

.button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.button-link-green {
	background: #67a91d;
	color: #fff;
}

.button-link-green:hover {
	background: #558d17;
	color: #fff;
}

.button-link-green::after {
	content: "\203A";
	margin-left: 10px;
	font-size: 1.45rem;
	line-height: 1;
}

.button-link-outline {
	padding: 12px 18px;
	border: 1px solid var(--brand-dark);
	background: #fff;
	color: var(--brand-dark);
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.96rem;
}

.button-link-outline:hover {
	background: var(--brand-soft-dark);
	color: var(--brand-dark);
}

.button-link-subtle {
	padding: 10px 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--brand-dark);
	text-transform: none;
	letter-spacing: 0;
	font-size: 0.96rem;
}

.button-link-subtle:hover {
	background: var(--brand-soft-dark);
	color: var(--brand-dark);
}

.button-link-edit::before {
	content: "\270E";
	margin-right: 8px;
	font-size: 0.95rem;
	line-height: 1;
}

.page-link-action-print::before,
.page-link-action-pdf::before,
.button-link-print::before,
.button-link-pdf::before {
	content: "";
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	background: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.button-link-print::before,
.button-link-pdf::before {
	margin-right: 9px;
}

.page-link-action-print::before,
.button-link-print::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 8V3h10v5h2a3 3 0 0 1 3 3v6h-4v4H6v-4H2v-6a3 3 0 0 1 3-3h2Zm2 0h6V5H9v3Zm7 8H8v3h8v-3Zm3-1v-4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v4h1v-1h12v1h1Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 8V3h10v5h2a3 3 0 0 1 3 3v6h-4v4H6v-4H2v-6a3 3 0 0 1 3-3h2Zm2 0h6V5H9v3Zm7 8H8v3h8v-3Zm3-1v-4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v4h1v-1h12v1h1Z'/%3E%3C/svg%3E");
}

.page-link-action-pdf::before,
.button-link-pdf::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h9l5 5v13H5V3Zm8 2H7v14h10V9h-4V5Zm1 9v-3h-4v3H8l4 4 4-4h-2Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h9l5 5v13H5V3Zm8 2H7v14h10V9h-4V5Zm1 9v-3h-4v3H8l4 4 4-4h-2Z'/%3E%3C/svg%3E");
}

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-bottom: 24px;
	align-items: center;
}

.hero-filter-bar {
	margin-top: 22px;
	margin-bottom: 0;
}

.filter-link {
	display: inline-flex;
	gap: 5px;
	align-items: baseline;
	padding: 0;
	border-bottom: 1px solid transparent;
	color: var(--brand-dark);
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
}

.filter-link:hover {
	border-bottom-color: currentColor;
}

.filter-link span {
	color: var(--muted);
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: 400;
}

.filter-link.active {
	color: var(--brand);
	border-bottom-color: currentColor;
}

.filter-more {
	position: relative;
	display: inline-block;
}

.filter-more summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	color: var(--brand-dark);
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	list-style: none;
	border-bottom: 1px solid transparent;
}

.filter-more summary::-webkit-details-marker {
	display: none;
}

.filter-more summary:hover {
	border-bottom-color: currentColor;
}

.filter-more[open] summary {
	color: var(--brand);
	border-bottom-color: currentColor;
}

.filter-more summary span {
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font-size: 0.9rem;
	line-height: 1;
	transition: transform 0.2s ease;
}

.filter-more[open] summary span {
	transform: rotate(180deg);
}

.filter-more-list {
	position: absolute;
	z-index: 20;
	top: calc(100% + 10px);
	left: 0;
	display: grid;
	gap: 10px;
	min-width: 240px;
	max-width: min(360px, calc(100vw - 40px));
	max-height: 320px;
	overflow: auto;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	box-shadow: 0 16px 40px rgba(31, 41, 51, 0.14);
}

.hero-image-card {
	display: grid;
	gap: 10px;
}

.hero-image {
	overflow: hidden;
	background: #d8e2ed;
	border: 1px solid var(--line);
}

.hero-image img {
	width: 100%;
	aspect-ratio: 1 / 0.72;
	object-fit: cover;
}

.hero-image-actions {
	display: flex;
	justify-content: flex-end;
}

.image-editor {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
	gap: 28px;
	align-items: start;
}

.image-editor-form {
	display: grid;
	gap: 6px;
}

.image-delete-panel {
	display: grid;
	gap: 10px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.button-danger {
	background: #b42318;
}

.button-danger:hover {
	background: #8f1d14;
}

.image-editor-preview img {
	width: 100%;
	aspect-ratio: 1 / 0.82;
	object-fit: cover;
}

.trip-card {
	display: grid;
	grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
	gap: 28px;
	align-items: stretch;
}

.trip-card-compact {
	grid-template-columns: 1fr;
	gap: 16px;
	padding: 18px;
}

.trip-card-compact .card-media-trip {
	aspect-ratio: auto;
	height: 220px;
	min-height: 0;
}

.trip-card-compact .trip-card-content {
	gap: 14px;
}

.trip-card-compact .card-title {
	font-size: 1.12rem;
	line-height: 1.25;
}

.trip-card-compact .trip-card-footer {
	align-items: center;
	gap: 12px;
}

.trip-card-compact .button-link {
	padding: 10px 14px;
}

.trip-card-media {
	display: flex;
}

.trip-card-media .card-media {
	width: 100%;
}

.trip-card-content {
	align-content: start;
}

.trip-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: end;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: auto;
}

.price-block,
.price-panel {
	display: grid;
	gap: 6px;
}

.price-panel {
	padding-top: 8px;
}

.price-panel-row {
	display: grid;
	gap: 6px;
	padding: 14px 0;
	border-top: 1px solid var(--line);
}

.price-panel-row:first-child {
	border-top: 0;
	padding-top: 0;
}

.price-list {
	padding-left: 1.1rem;
}

.price-label {
	color: var(--muted);
	font-size: 0.98rem;
}

.price-value {
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--brand-dark);
}

.trip-detail {
	display: grid;
	gap: 20px;
}

.trip-hero-lead {
	font-size: 1.08rem;
	line-height: 1.72;
	color: var(--muted);
}

.trip-detail-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
	gap: 28px;
	align-items: start;
}

.trip-detail-summary-copy {
	display: grid;
	gap: 22px;
}

.trip-price-stack {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.trip-price-variants {
	display: block;
	width: 100%;
}

.trip-pricing-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: 0 8px 22px rgba(0, 52, 115, 0.07);
}

.trip-pricing-header h2 {
	font-size: 1.2rem;
	line-height: 1.2;
}

.trip-pricing-header p {
	margin-top: 4px;
	color: var(--muted);
}

.trip-pricing-header-icon,
.trip-price-pin {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 50%;
}

.trip-pricing-header-icon {
	width: 48px;
	height: 48px;
	border: 1px solid var(--brand);
	color: var(--brand);
}

.trip-pricing-header-icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.trip-pricing-body {
	display: block;
	width: 100%;
}

.trip-price-variant {
	display: block;
	width: 100%;
	padding: 14px;
	border: 1px solid #d9e2ec;
	background: var(--surface);
	box-shadow: 0 7px 18px rgba(0, 52, 115, 0.06);
}

.trip-price-variant + .trip-price-variant {
	margin-top: 10px;
}

.trip-price-destination-row {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin-bottom: 12px;
}

.trip-price-pin {
	width: 34px;
	height: 34px;
	border: 1px solid #d7e3f1;
	background: #f2f7fd;
	color: var(--brand-dark);
}

.trip-price-pin svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.trip-price-destinations {
	margin: 4px 0 0;
	color: #465e75;
	line-height: 1.45;
}

.trip-price-variant .trip-price-stack {
	padding-top: 12px;
	border-top: 1px solid #d9e2ec;
}

.trip-price-variant .trip-price-box {
	background: var(--surface);
}

.trip-price-variants-list,
.trip-price-variants-more {
	display: block;
	width: 100%;
}

.trip-price-variants-more {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #d9e2ec;
}

.trip-price-variants-more[open] {
	display: flex;
	flex-direction: column;
}

.trip-price-variants-more > summary {
	display: block;
	order: 2;
	width: 100%;
	list-style: none;
	cursor: pointer;
	text-align: center;
	color: var(--brand);
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.trip-price-variants-more > summary::-webkit-details-marker {
	display: none;
}

.trip-price-variants-more > .trip-price-variants-list {
	order: 1;
}

.trip-price-variants-more:not([open]) > .trip-price-variants-list,
.trip-price-variants-more:not([open]) .trip-price-more-open,
.trip-price-variants-more[open] .trip-price-more-closed {
	display: none;
}

.trip-price-variants-more[open] > summary {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #d9e2ec;
}

.trip-price-variants-more[open] > .trip-price-variants-list,
.trip-price-variants-more[open] .trip-price-more-open {
	display: block;
}

.trip-price-variants > .trip-price-box-half {
	margin-top: 14px;
}

.trip-price-box {
	padding: 16px 18px;
	background: #f8fbfe;
	border: 1px solid #d5dfea;
}

.trip-price-box-quarter {
	grid-column: span 1;
}

.trip-price-box-half {
	grid-column: span 2;
}

.trip-price-label {
	display: block;
	min-height: 2.6em;
	color: #5a6f84;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	font-size: 0.75rem;
	line-height: 1.15;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.trip-price-label span {
	display: block;
}

.trip-price-value {
	margin-top: 6px;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1.08;
	color: var(--brand);
}

.trip-price-inline {
	margin: 0;
	line-height: 1.45;
	color: var(--ink);
}

.trip-price-inline + .trip-price-inline {
	margin-top: 12px;
}

.trip-price-inline-label {
	min-height: 0;
	margin-bottom: 4px;
}

.trip-lead {
	font-size: 1.14rem;
	line-height: 1.78;
	color: var(--ink);
}

.trip-detail-image-card {
	display: block;
	position: relative;
	overflow: hidden;
	background: #d8e2ed;
}

.trip-detail-summary-media {
	display: grid;
	gap: 14px;
	align-content: start;
}

.trip-detail-summary-media .media-badges {
	left: 18px;
	right: 18px;
	top: 18px;
}

.trip-detail-image-card img {
	width: 100%;
	aspect-ratio: 1 / 0.9;
	object-fit: cover;
}

.trip-gallery-card {
	padding-top: 18px;
	padding-bottom: 18px;
}

.trip-gallery-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
	gap: 14px;
}

.trip-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.trip-gallery-thumb {
	display: block;
	overflow: hidden;
	background: #d8e2ed;
}

.trip-gallery-thumb img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.trip-detail-content {
	display: grid;
	gap: 24px;
}

.trip-richtext {
	line-height: 1.8;
	white-space: pre-line;
	color: var(--ink);
}

.detail-section-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
	align-items: start;
}

.detail-section {
	display: grid;
	gap: 12px;
	align-content: start;
}

.detail-section h2 {
	font-size: 1.1rem;
	color: var(--brand-dark);
}

.detail-list {
	display: grid;
	gap: 10px;
	color: var(--muted);
	line-height: 1.65;
}

.trip-availability-card {
	display: grid;
	gap: 16px;
}

.trip-availability-card h2 {
	font-size: 1.1rem;
	color: var(--brand-dark);
}

.trip-availability-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.trip-availability-link {
	display: grid;
	gap: 3px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #f8fbfe;
	color: var(--brand-dark);
	text-decoration: none;
}

.trip-availability-link:hover {
	border-color: var(--brand);
	color: var(--brand);
}

.trip-availability-link span {
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
}

.trip-availability-link small {
	color: var(--muted);
}

.muted {
	color: var(--muted);
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th,
.table td {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.table th {
	width: 180px;
	color: var(--muted);
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
}

.debug-dump {
	max-height: 520px;
	overflow: auto;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #f7f8fb;
	color: #1f2937;
	font-size: 0.86rem;
	line-height: 1.5;
	white-space: pre-wrap;
	word-break: break-word;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

label {
	display: grid;
	gap: 8px;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
}

input,
select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #c8d3dd;
	background: var(--surface);
}

button {
	padding: 13px 20px;
	border: 0;
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
	color: #fff;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
	cursor: pointer;
}

button:disabled,
button.is-loading {
	cursor: wait;
	opacity: 0.68;
}

.form-actions {
	align-self: end;
}

.backup-settings,
.backup-table-heading,
.backup-submit-bar,
.backup-choice-row,
.backup-bulk-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.backup-settings {
	align-items: flex-start;
}

.backup-fieldset {
	min-width: min(100%, 420px);
	padding: 16px 18px;
	border: 1px solid var(--line);
}

.backup-fieldset legend {
	padding: 0 6px;
	font-family: "Open Sans Bold", "Open Sans", Arial, sans-serif;
	font-weight: 700;
}

.check-label {
	display: inline-flex;
	grid-template-columns: none;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.check-label input[type="checkbox"],
.check-label input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--brand);
	flex: 0 0 auto;
}

.check-label small {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: 400;
}

.check-label-compact {
	justify-content: center;
}

.backup-drop-option {
	width: 100%;
	padding: 16px 18px;
	background: #f4f7fa;
}

.backup-table-wrap {
	overflow-x: auto;
	margin-top: 18px;
}

.backup-table th:first-child {
	width: auto;
}

.backup-table th:not(:first-child),
.backup-table td:not(:first-child) {
	width: 130px;
	text-align: center;
}

.backup-submit-bar {
	position: sticky;
	bottom: 16px;
	padding: 16px 20px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	backdrop-filter: blur(8px);
}

.backup-translation-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

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

.image-preview {
	max-width: 420px;
}

.section-top-gap {
	margin-top: 14px;
}

.section-small-gap {
	margin-top: 12px;
}

.login-card {
	max-width: 480px;
}

.site-footer {
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.site-footer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
}

.site-footer-copy-wrap {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.site-footer-group-logo {
	max-width: 150px;
	flex: 0 0 auto;
}

.site-footer-copy-wrap p {
	color: var(--muted);
	line-height: 1.55;
}

.site-footer-logos {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: nowrap;
}

.site-footer-logos a,
.site-footer-copy-wrap > a {
	display: inline-flex;
	align-items: center;
}

.site-footer-logos img {
	max-width: 150px;
	max-height: 36px;
	width: auto;
	height: auto;
}

.site-footer-meta {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.98rem;
}

.site-footer-meta a {
	text-decoration: none;
}

.site-footer-languages {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 14px;
	color: var(--muted);
	font-size: 0.95rem;
}

.site-footer-languages a {
	text-decoration: none;
	padding: 4px 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
}

.site-footer-languages a.active {
	color: var(--ink);
	border-color: currentColor;
	font-weight: 700;
}

.translations-table {
	table-layout: fixed;
}

.translation-key-cell {
	width: 32%;
	vertical-align: top;
	word-break: break-word;
}

.translation-textarea {
	width: 100%;
	min-height: 90px;
	resize: vertical;
}

.lightbox-overlay {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px 24px;
	background: rgba(0, 0, 0, 0.9);
	z-index: 9999;
}

.lightbox-overlay.is-open {
	display: flex;
}

.lightbox-shell {
	position: relative;
	width: min(1100px, 100%);
}

.lightbox-image-wrap {
	background: #0b1623;
}

.lightbox-image {
	width: 100%;
	max-height: 80vh;
	object-fit: contain;
}

.lightbox-caption {
	margin-top: 10px;
	color: #fff;
	text-align: center;
	font-size: 0.98rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	width: 44px;
	height: 44px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
}

.lightbox-close {
	right: 0;
	top: -56px;
}

.lightbox-prev,
.lightbox-next {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-prev {
	left: -56px;
}

.lightbox-next {
	right: -56px;
}

@media (max-width: 1080px) {
	.page-hero-grid:has(.page-hero-aside) {
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.image-editor {
		grid-template-columns: 1fr;
	}

	.trip-detail-hero {
		grid-template-columns: 1fr;
	}

	.trip-detail-summary {
		grid-template-columns: 1fr;
	}

	.page-link-list {
		justify-items: start;
	}

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

	.site-footer-row {
		flex-wrap: wrap;
	}

	.site-footer-logos {
		flex-wrap: wrap;
	}
}

@media (max-width: 860px) {
	.site-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-header-tools {
		justify-items: start;
	}

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

	.trip-card-grid,
	.trip-gallery-grid {
		grid-template-columns: 1fr;
	}

	.site-footer-meta {
		flex-direction: column;
	}

	.lightbox-prev,
	.lightbox-next {
		display: none;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.site-shell {
		padding-left: 16px;
		padding-right: 16px;
	}

	.card {
		padding: 20px;
	}

	.backup-settings,
	.backup-submit-bar {
		align-items: stretch;
		flex-direction: column;
	}

	.backup-submit-bar button {
		width: 100%;
	}

	.card-media-tall {
		margin: -20px -20px 18px;
	}

	.page-hero h1 {
		font-size: 2.2rem;
	}

	.page-hero-grid:has(.page-hero-aside) {
		padding: 20px;
	}

	.trip-price-stack {
		grid-template-columns: 1fr;
	}

	.trip-price-box-half {
		grid-column: span 1;
	}
}
