/* ============================================================
   EDITORIAL / TEXT PAGE — shared template for policy, T&C,
   and other long-form text pages.
   Matches the design language of the single-tour page.
   ============================================================ */

.lt-editorial {
	--lt-primary:      #659d46;
	--lt-primary-dark: #5a8c3e;
	--lt-primary-soft: rgba(101, 157, 70, 0.10);
	--lt-text:         #1a1a1a;
	--lt-muted:        #7a7a7a;
	--lt-border:       #ebebeb;
	--lt-bg-soft:      #f7f7f7;

	font-family: "GoogleSansFlex-VariableFont", sans-serif;
	color: var(--lt-text);
	background: #fff;
	width: 100%;
}

/* ── Page wrapper ─────────────────────────────────────────── */
.lt-editorial__wrap {
	width: min(var(--lt-container-width, 1300px), calc(100% - 2 * var(--lt-container-gutter, 1.5rem)));
	max-width: var(--lt-container-width, 1300px);
	margin-inline: auto;
	padding: 1.5rem 0 5rem;
}

/* ── Breadcrumbs ──────────────────────────────────────────── */
.lt-editorial__breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 2rem;
	font-size: 0.82rem;
	color: var(--lt-muted);
}

.lt-editorial__breadcrumbs a {
	color: var(--lt-muted);
	text-decoration: none;
}

.lt-editorial__breadcrumbs a:hover {
	color: var(--lt-primary);
}

.lt-editorial__breadcrumbs-sep {
	opacity: 0.5;
}

/* ── Layout: narrow reading column ───────────────────────── */
.lt-editorial__inner {
	max-width: 760px;
}

/* ── Page title ───────────────────────────────────────────── */
.lt-editorial__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.75rem, 3.5vw, 2.4rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.5px;
	color: var(--lt-text);
}

.lt-editorial__title-bar {
	display: block;
	width: 3rem;
	height: 3px;
	margin: 0.75rem 0 2rem;
	border-radius: 999px;
	background: var(--lt-primary);
}

/* ── Prose typography ─────────────────────────────────────── */
.lt-editorial__content {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--lt-text);
}

.lt-editorial__content p {
	margin: 0 0 1.15em;
}

.lt-editorial__content h2 {
	margin: 2.25em 0 0.6em;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.3px;
	color: var(--lt-text);
}

.lt-editorial__content h2:first-child {
	margin-top: 0;
}

.lt-editorial__content h3 {
	margin: 1.75em 0 0.5em;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.2px;
	color: var(--lt-text);
}

.lt-editorial__content h3:first-child {
	margin-top: 0;
}

/* ── Lists ─────────────────────────────────────────────────── */
.lt-editorial__content ul,
.lt-editorial__content ol {
	margin: 0 0 1.15em;
	padding: 0;
	list-style: none;
}

.lt-editorial__content ul li,
.lt-editorial__content ol li {
	position: relative;
	padding-left: 1.35em;
	margin-bottom: 0.55em;
	line-height: 1.6;
}

.lt-editorial__content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--lt-primary);
}

.lt-editorial__content ol {
	counter-reset: lt-ol;
}

.lt-editorial__content ol li {
	counter-increment: lt-ol;
}

.lt-editorial__content ol li::before {
	content: counter(lt-ol) ".";
	position: absolute;
	left: 0;
	top: 0;
	font-size: 0.88em;
	font-weight: 600;
	color: var(--lt-primary);
	line-height: 1.7;
}

/* ── Tables ────────────────────────────────────────────────── */
.lt-editorial__content .wp-block-table {
	margin: 0 0 1.75em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.lt-editorial__content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	line-height: 1.5;
}

.lt-editorial__content .wp-block-table thead tr {
	background: var(--lt-primary);
	color: #fff;
}

.lt-editorial__content .wp-block-table thead th {
	padding: 0.75rem 1rem;
	text-align: left;
	font-weight: 600;
	font-size: 0.88rem;
	letter-spacing: 0.02em;
	border: none;
}

.lt-editorial__content .wp-block-table tbody tr {
	border-bottom: 1px solid var(--lt-border);
}

.lt-editorial__content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--lt-bg-soft);
}

.lt-editorial__content .wp-block-table tbody td {
	padding: 0.75rem 1rem;
	vertical-align: top;
	border: none;
}

/* ── Section divider between h2 groups ───────────────────── */
.lt-editorial__content h2 {
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--lt-border);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
	.lt-editorial__wrap {
		padding-top: 1rem;
		padding-bottom: 3.5rem;
	}

	.lt-editorial__title {
		font-size: 1.65rem;
	}

	.lt-editorial__content h2 {
		font-size: 1.15rem;
	}

	.lt-editorial__content .wp-block-table thead th,
	.lt-editorial__content .wp-block-table tbody td {
		padding: 0.6rem 0.75rem;
		font-size: 0.88rem;
	}
}
