/**
 * Day Trip Template Styles
 * Template: single-post-day-trip.php
 * 
 * @package TTG
 */

/* ═══════════════════════════════════════════════════════════════════════
   POST HEADER
   ═══════════════════════════════════════════════════════════════════════ */

.dt-post-header {
	padding: 2rem 0;
}

.dt-post-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.dt-post-headline {
	font-family: var(--serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--ink);
	margin: 0 0 0.75rem;
}

.dt-post-subtitle {
	font-family: var(--serif);
	font-size: clamp(1.125rem, 2vw, 1.35rem);
	font-style: italic;
	color: var(--ink3);
	margin: 0 0 1.5rem;
	line-height: 1.4;
}

.dt-post-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	font-family: var(--sans);
	font-size: 0.875rem;
	color: var(--p3);
}

.dt-post-author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: var(--ink);
	transition: color 0.2s;
}

.dt-post-author:hover {
	color: var(--r);
}

.dt-post-author-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.dt-post-author-name {
	font-weight: 600;
}

.dt-post-meta-divider {
	width: 1px;
	height: 16px;
	background: var(--p2);
}

.dt-post-date {
	color: var(--p3);
}

.dt-post-updated {
	display: flex;
	align-items: center;
	gap: 0.375rem;
}

.dt-post-updated-label {
	font-weight: 600;
	color: var(--ink3);
}

.dt-post-reading-time {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	color: var(--p3);
}

.dt-post-reading-time svg {
	flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   FEATURED IMAGE
   ═══════════════════════════════════════════════════════════════════════ */

.dt-featured-image {
	padding-block: 0 clamp(2.5rem, 3vw, 3.5rem);
	background: var(--p);
	margin-bottom: 0;
}

.dt-featured-figure {
	margin: 0;
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.dt-featured-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	border-radius: var(--r2);
	box-shadow: var(--sh-md);
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO LOGISTICS BAR
   ═══════════════════════════════════════════════════════════════════════ */

.dt-hero-logistics {
	background: var(--p);
	border-top: 1px solid var(--p2);
	border-bottom: 1px solid var(--p2);
	padding: 2rem 0;
	margin-bottom: 3rem;
}

.dt-hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

@media (min-width: 640px) {
	.dt-hero-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.dt-hero-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.dt-hero-col {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dt-hero-label {
	font-family: var(--cond);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--p3);
}

.dt-hero-value {
	font-family: var(--sans);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--ink);
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.dt-hero-jp {
	font-family: var(--jp);
	font-size: 0.875rem;
	color: var(--p3);
}

.dt-hero-en {
	font-size: 1.25rem;
}

.dt-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--p2);
}

/* ═══════════════════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════════════════ */

.dt-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.75rem;
	font-family: var(--cond);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 50px;
	white-space: nowrap;
}

.dt-badge--season {
	background: var(--p2);
	color: var(--ink);
}

.dt-badge--difficulty {
	font-weight: 700;
}

.dt-badge--easy {
	background: #c8edda;
	color: #166a38;
}

.dt-badge--moderate {
	background: #fce9a0;
	color: #7a5200;
}

.dt-badge--challenging {
	background: var(--rt);
	color: var(--rd);
}

.dt-badge--jr-pass {
	background: #c8edda;
	color: #166a38;
}

.dt-badge--recommended {
	background: var(--r);
	color: #fff;
	margin-left: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   TWO-COLUMN LAYOUT → SINGLE COLUMN
   ═══════════════════════════════════════════════════════════════════════ */

.dt-layout {
	display: block;
	max-width: 900px;
	margin: 0 auto;
}

.dt-main-content {
	width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════
   TOC COLLAPSIBLE BUTTON
   ═══════════════════════════════════════════════════════════════════════ */

.dt-toc-toggle-wrapper {
	background: var(--p);
	border: 1px solid var(--p2);
	border-radius: var(--r2);
	margin-bottom: 2rem;
	overflow: hidden;
}

.dt-toc-toggle-btn {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ink);
	transition: background-color 0.2s;
	text-align: left;
}

.dt-toc-toggle-btn:hover {
	background: var(--rt);
}

.dt-toc-toggle-btn svg:first-child {
	flex-shrink: 0;
	color: var(--r);
}

.dt-toc-toggle-label {
	flex: 1;
}

.dt-toc-toggle-icon {
	flex-shrink: 0;
	transition: transform 0.3s;
	color: var(--p3);
}

.dt-toc-toggle-btn[aria-expanded="true"] .dt-toc-toggle-icon {
	transform: rotate(180deg);
}

.dt-toc-nav {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.dt-toc-nav:not([hidden]) {
	max-height: 2000px;
	padding: 0 1.25rem 1.25rem;
	border-top: 1px solid var(--p2);
}

.dt-toc-list {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.dt-toc-list li {
	margin: 0;
}

.dt-toc-list a {
	display: block;
	padding: 0.5rem 0.75rem;
	color: var(--ink3);
	text-decoration: none;
	border-left: 2px solid transparent;
	transition: all 0.2s;
	line-height: 1.4;
	font-size: 0.875rem;
}

.dt-toc-list a:hover {
	color: var(--r);
	background: var(--rt);
	border-left-color: var(--r);
}

.dt-toc-list a.is-active {
	color: var(--r);
	font-weight: 600;
	border-left-color: var(--r);
	background: var(--rt);
}

/* Nested TOC items (H3 under H2) */
.dt-toc-list ol {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.dt-toc-list ol a {
	font-size: 0.8125rem;
	padding: 0.375rem 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   LEAD PARAGRAPH
   ═══════════════════════════════════════════════════════════════════════ */

.dt-lead {
	font-family: var(--serif);
	font-size: 1.25rem;
	line-height: 1.6;
	color: var(--ink);
	border-left: 3px solid var(--r);
	padding-left: 1.5rem;
	margin: 0 0 2rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   TRANSPORT SUMMARY
   ═══════════════════════════════════════════════════════════════════════ */

.dt-transport-summary {
	background: #ffffff;
	border: 1px solid #d9c8c6;
	border-left: 3px solid #e41c1c;
	border-radius: 10px;
	padding: 0;
	overflow: hidden;
	margin: 2rem 0;
	box-shadow: 0 2px 8px rgba(26, 23, 20, 0.06);
}

.dt-transport-summary-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #ede7da;
	/* background: #f8f5f0; */
}

.dt-transport-summary-icon {
	width: 28px;
	height: 28px;
	background: #f8edeb;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dt-transport-summary-icon svg {
	width: 20px;
	height: 20px;
	stroke: #e41c1c;
}

.dt-transport-summary-title {
	font-family: var(--serif);
	font-size: 1.125rem;
	font-weight: 700;
	color: #1a1714;
	margin: 0;
	letter-spacing: -0.01em;
}

.dt-transport-summary-content {
	padding: 1rem 1.25rem;
}

.dt-transport-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
}

.dt-transport-row:last-child {
	padding-bottom: 0;
}

.dt-transport-row:first-child {
	padding-top: 0;
}

.dt-transport-name {
	font-size: 0.875rem;
	color: var(--ink);
	font-weight: 400;
	flex: 1;
	line-height: 1.5;
}

/* Free-form lines that don't match the "Name: 30 min, ¥1,500" structure are
   still shown (never dropped) — rendered as a softer full-width note row. */
.dt-transport-row--text .dt-transport-name {
	color: var(--ink3);
}

.dt-transport-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-shrink: 0;
}

.dt-transport-duration {
	font-size: 0.875rem;
	color: var(--ink3);
	white-space: nowrap;
	font-weight: 400;
}

.dt-transport-price {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--r);
	white-space: nowrap;
	min-width: 60px;
	text-align: right;
}

/* Fallback for unstructured content */
.dt-transport-summary-content p {
	margin: 0.5rem 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--ink);
}

.dt-transport-summary-content p:first-child {
	margin-top: 0;
}

.dt-transport-summary-content p:last-child {
	margin-bottom: 0;
}

/* Mobile responsive */
@media (max-width: 639px) {
	.dt-transport-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.375rem;
	}

	.dt-transport-meta {
		width: 100%;
		justify-content: space-between;
	}
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION SEPARATOR
   ═══════════════════════════════════════════════════════════════════════ */

hr,
.dt-section-separator {
	display: block;
	width: 100%;
	height: 1px;
	border: none;
	border-top: 1px solid var(--p2);
	margin: 3rem 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   ARTICLE PROSE
   ═══════════════════════════════════════════════════════════════════════ */

.dt-article-prose {
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink);
	margin-bottom: 2rem;
	min-height: 100px;
}

.dt-article-prose h2 {
	font-family: var(--serif);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--ink);
	margin: 2.5rem 0 1rem;
	scroll-margin-top: 88px;
}

.dt-article-prose h3 {
	font-family: var(--serif);
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--ink);
	margin: 2rem 0 0.75rem;
	scroll-margin-top: 88px;
}

.dt-article-prose p {
	margin: 1rem 0;
}

.dt-article-prose ul,
.dt-article-prose ol {
	padding-left: 2.5rem;
	margin-bottom: 1.1rem;
}

.dt-article-prose li {
	margin-bottom: 0.4rem;
	line-height: 1.7;
	max-width: none;
}

.dt-article-prose ul {
	list-style: disc;
}

.dt-article-prose ol {
	list-style: decimal;
}

.dt-article-prose ul li::marker {
	color: var(--r);
}

.dt-article-prose ol li::marker {
	color: var(--r);
	font-weight: 700;
}

.dt-article-prose a {
	color: var(--r);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color 0.2s;
}

.dt-article-prose a:hover {
	color: var(--rd);
}

.dt-article-prose img {
	max-width: 100%;
	height: auto;
	border-radius: var(--r2);
	margin: 1.5rem 0;
}

.dt-article-prose blockquote {
	border-left: 3px solid var(--r);
	padding-left: 1.5rem;
	margin: 1.5rem 0;
	font-style: italic;
	color: var(--ink3);
}

/* ═══════════════════════════════════════════════════════════════════════
   TABLES INSIDE PROSE (post content)
   ═══════════════════════════════════════════════════════════════════════ */

.dt-article-prose table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	background: var(--p);
	border-radius: var(--r2);
	overflow: hidden;
	/* clips border-radius on child cells */
}

.dt-article-prose thead tr {
	border-bottom: 2px solid var(--p2);
}

.dt-article-prose th {
	padding: 0.75rem 1.1rem;
	font-family: var(--sans);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--ink);
	text-align: left;
	letter-spacing: 0.01em;
	background: var(--p);
}

.dt-article-prose td {
	padding: 0.7rem 1.1rem;
	color: var(--ink3);
	vertical-align: top;
	border-bottom: 1px solid var(--p2);
}

/* First column — label / key */
.dt-article-prose td:first-child,
.dt-article-prose th:first-child {
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
	width: 1%;
	/* shrink to content */
	padding-right: 2rem;
}

/* Last row — no bottom border */
.dt-article-prose tr:last-child td {
	border-bottom: none;
}

/* Links inside table cells */
.dt-article-prose td a {
	color: var(--r);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	word-break: break-all;
}

.dt-article-prose td a:hover {
	color: var(--rd);
}

/* Responsive — allow horizontal scroll on very small screens */
@media (max-width: 480px) {
	.dt-article-prose table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTION TITLES
   ═══════════════════════════════════════════════════════════════════════ */

.dt-section-title {
	font-family: var(--serif);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 1.5rem;
	scroll-margin-top: 88px;
}

/* ═══════════════════════════════════════════════════════════════════════
   ITINERARY TIMELINE
   ═══════════════════════════════════════════════════════════════════════ */

.dt-itinerary-section {
	margin: 3rem 0;
}

.dt-timeline {
	position: relative;
	padding-left: 2.5rem;
	margin-top: 2rem;
}

.dt-timeline::before {
	content: '';
	position: absolute;
	left: 9px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--p2);
}

.dt-timeline-item {
	position: relative;
	padding-bottom: 2.5rem;
	list-style: none;
}

.dt-timeline-item:last-child {
	padding-bottom: 0;
}

.dt-timeline-summary {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	cursor: pointer;
	list-style: none;
	background: #fff;
	border: 1px solid var(--p2);
	border-radius: var(--r2);
	padding: 1.25rem 1.5rem;
	box-shadow: var(--sh-sm);
	transition: all 0.2s;
	position: relative;
}

.dt-timeline-summary::-webkit-details-marker {
	display: none;
}

.dt-timeline-summary::marker {
	display: none;
}

.dt-timeline-summary:hover {
	background: var(--rt);
	box-shadow: var(--sh-md);
}

.dt-timeline-marker {
	position: absolute;
	left: -2.5rem;
	top: 1.25rem;
	width: 20px;
	height: 20px;
	background: var(--r);
	border: 3px solid var(--p);
	border-radius: 50%;
	z-index: 1;
	flex-shrink: 0;
}

.dt-timeline-header {
	flex: 1;
}

.dt-timeline-toggle {
	flex-shrink: 0;
	color: var(--p3);
	transition: transform 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dt-timeline-item[open] .dt-timeline-toggle {
	transform: rotate(180deg);
}

.dt-timeline-item[open] .dt-timeline-summary {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom-color: transparent;
}

.dt-timeline-content {
	background: #fff;
	border: 1px solid var(--p2);
	border-top: none;
	border-bottom-left-radius: var(--r2);
	border-bottom-right-radius: var(--r2);
	padding: 1rem 1.5rem 1.5rem;
	box-shadow: var(--sh-sm);
}

.dt-itin-time {
	font-family: var(--cond);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--p3);
	margin-bottom: 0.5rem;
}

.dt-itin-name {
	font-family: var(--serif);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ink);
	margin: 0;
}

.dt-itin-detail {
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink);
	margin-bottom: 1rem;
}

.dt-itin-detail p {
	margin: 0.5rem 0;
}

.dt-itin-detail p:first-child {
	margin-top: 0;
}

.dt-itin-tip {
	background: rgba(240, 192, 64, 0.1);
	border-left: 3px solid var(--g);
	padding: 1rem;
	border-radius: 4px;
	margin-top: 1rem;
}

.dt-itin-tip-label {
	font-family: var(--cond);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--gd);
	margin-bottom: 0.5rem;
}

.dt-itin-tip-text {
	font-family: var(--sans);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════════════
   AFFILIATE BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */

.dt-aff-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.dt-aff-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: var(--r);
	color: #fff;
	font-family: var(--cond);
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	border-radius: var(--r2);
	transition: all 0.2s;
	box-shadow: var(--sh-sm);
}

.dt-aff-btn:hover {
	background: var(--rd);
	box-shadow: var(--sh-md);
	transform: translateY(-1px);
}

.dt-aff-btn--sm {
	padding: 0.5rem 1rem;
	font-size: 0.8125rem;
}

/* Branded Affiliate Buttons */
.dt-aff-btn--branded {
	background: var(--brand-color);
	gap: 0.625rem;
	padding: 0.75rem 1.25rem;
}

.dt-aff-btn--branded:hover {
	background: var(--brand-color-hover);
}

.dt-aff-btn--branded.dt-aff-btn--sm {
	padding: 0.5rem 0.875rem;
	gap: 0.5rem;
}

.dt-aff-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 4px;
	flex-shrink: 0;
	padding: 2px;
}

.dt-aff-btn--sm .dt-aff-btn-icon {
	width: 20px;
	height: 20px;
}

.dt-aff-btn-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dt-aff-btn-text {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

.dt-aff-btn-text strong {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dt-aff-btn--sm .dt-aff-btn-text {
	font-size: 0.8125rem;
}

.dt-aff-btn-arrow {
	margin-left: auto;
	font-size: 1.125rem;
	font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════════════
   TRANSPORT ROUTES TABLE
   ═══════════════════════════════════════════════════════════════════════ */

.dt-routes-section {
	margin: 3rem 0;
}

.dt-routes-table-wrapper {
	overflow-x: auto;
	margin-top: 1.5rem;
	border-radius: var(--r2);
	border: 1px solid var(--p2);
}

.dt-routes-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--sans);
	font-size: 0.9375rem;
	background: #fff;
}

.dt-routes-table thead {
	background: var(--p);
}

.dt-routes-table th {
	padding: 1rem;
	text-align: left;
	font-family: var(--cond);
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--ink);
	border-bottom: 2px solid var(--p2);
}

.dt-routes-table td {
	padding: 1rem;
	border-bottom: 1px solid var(--p2);
	color: var(--ink);
}

.dt-routes-table tbody tr:last-child td {
	border-bottom: none;
}

.dt-routes-table tbody tr:hover {
	background: var(--rt);
}

.dt-route-aff-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Mobile Cards (hidden on desktop) */
.dt-routes-cards {
	display: none;
}

@media (max-width: 767px) {
	.dt-routes-table-wrapper {
		display: none;
	}

	.dt-routes-cards {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		margin-top: 1.5rem;
	}
}

.dt-route-card {
	background: #fff;
	border: 1px solid var(--p2);
	border-radius: var(--r2);
	overflow: hidden;
	box-shadow: var(--sh-sm);
}

.dt-route-card-header {
	padding: 1rem;
	background: var(--p);
	border-bottom: 1px solid var(--p2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.dt-route-card-header strong {
	font-family: var(--serif);
	font-size: 1.125rem;
	color: var(--ink);
}

.dt-route-card-body {
	padding: 1rem;
}

.dt-route-card-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--p2);
}

.dt-route-card-row:last-child {
	border-bottom: none;
}

.dt-route-card-label {
	font-family: var(--cond);
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--p3);
}

.dt-route-card-value {
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ink);
}

.dt-route-card-footer {
	padding: 1rem;
	background: var(--p);
	border-top: 1px solid var(--p2);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   MAP SECTION
   ═══════════════════════════════════════════════════════════════════════ */

.dt-map-section {
	margin: 3rem 0;
}

.dt-map-header {
	margin-bottom: 1.5rem;
}

.dt-map-description {
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ink3);
	margin: 0.5rem 0 0;
}

.dt-map-embed {
	position: relative;
	width: 100%;
	height: 480px;
	border-radius: var(--r2);
	overflow: hidden;
	border: 1px solid var(--p2);
	margin-bottom: 1rem;
}

.dt-map-embed iframe {
	width: 100%;
	height: 100%;
}

@media (max-width: 767px) {
	.dt-map-embed {
		height: 320px;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.dt-map-embed {
		height: 400px;
	}
}

.dt-map-cta {
	text-align: center;
}

.dt-map-open-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	background: var(--r);
	color: #fff;
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--r2);
	transition: all 0.2s;
	box-shadow: var(--sh-sm);
}

.dt-map-open-link:hover {
	background: var(--rd);
	box-shadow: var(--sh-md);
	transform: translateY(-1px);
}

.dt-map-open-link svg {
	flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════════════ */

.dt-faq-section {
	margin: 3rem 0;
}

.dt-faq-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1.5rem;
}

.dt-faq-item {
	background: #fff;
	border: 1px solid var(--p2);
	border-radius: var(--r2);
	overflow: hidden;
}

.dt-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.25rem 1.5rem;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	transition: background-color 0.2s;
	list-style: none;
}

.dt-faq-question::-webkit-details-marker {
	display: none;
}

.dt-faq-question::marker {
	display: none;
}

.dt-faq-item:hover .dt-faq-question {
	background: var(--rt);
}

.dt-faq-q-text {
	font-family: var(--serif);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--ink);
	margin: 0;
	padding-right: 1rem;
	flex: 1;
}

.dt-faq-q-icon {
	flex-shrink: 0;
	font-family: var(--sans);
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--r);
	transition: transform 0.3s;
}

.dt-faq-item[open] .dt-faq-q-icon {
	transform: rotate(45deg);
}

.dt-faq-answer {
	padding: 0 1.5rem 1.5rem;
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink);
}

.dt-faq-answer p {
	margin: 0.75rem 0;
}

.dt-faq-answer p:first-child {
	margin-top: 0;
}

.dt-faq-answer p:last-child {
	margin-bottom: 0;
}

.dt-faq-answer ul,
.dt-faq-answer ol {
	margin: 0.75rem 0;
	padding-left: 1.5rem;
}

.dt-faq-answer li {
	margin: 0.5rem 0;
}

.dt-faq-answer a {
	color: var(--r);
	text-decoration: underline;
}

.dt-faq-answer a:hover {
	color: var(--rd);
}

/* ═══════════════════════════════════════════════════════════════════════
   AUTHOR BIO
   ═══════════════════════════════════════════════════════════════════════ */

.dt-author-bio-card {
	display: flex !important;
	gap: 1.5rem !important;
	padding: 2rem !important;
	background: var(--p) !important;
	border: 1px solid var(--p2) !important;
	border-radius: var(--r2) !important;
	margin: 3rem 0 !important;
}

.dt-author-bio-avatar {
	width: 80px !important;
	height: 80px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	flex-shrink: 0 !important;
}

.dt-author-bio-content {
	flex: 1 !important;
}

.dt-author-bio-label {
	font-family: var(--cond) !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	color: var(--p3) !important;
	margin-bottom: 0.375rem !important;
}

.dt-author-bio-name {
	font-family: var(--serif) !important;
	font-size: 1.25rem !important;
	font-weight: 600 !important;
	color: var(--ink) !important;
	text-decoration: none !important;
	display: inline-block !important;
	margin-bottom: 0.5rem !important;
	transition: color 0.2s !important;
}

.dt-author-bio-name:hover {
	color: var(--r) !important;
}

.dt-author-bio-text {
	font-family: var(--sans) !important;
	font-size: 0.9375rem !important;
	line-height: 1.6 !important;
	color: var(--ink3) !important;
	margin: 0 !important;
}

.dt-author-social {
	display: flex !important;
	gap: 0.75rem !important;
	margin-top: 1rem !important;
}

.dt-author-social-link {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	background: var(--p2) !important;
	color: var(--ink3) !important;
	text-decoration: none !important;
	transition: all 0.2s !important;
}

.dt-author-social-link:hover {
	background: var(--r) !important;
	color: white !important;
	transform: translateY(-2px) !important;
}

.dt-author-social-link svg {
	flex-shrink: 0 !important;
}

@media (max-width: 639px) {
	.dt-author-bio-card {
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
	}

	.dt-author-social {
		justify-content: center !important;
	}
}

/* ═══════════════════════════════════════════════════════════════════════
   RELATED POSTS
   ═══════════════════════════════════════════════════════════════════════ */

.dt-related-section {
	background: var(--p);
	padding: 3rem 0;
}

.dt-related-header {
	margin-bottom: 2rem;
}

.dt-related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 640px) {
	.dt-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.dt-related-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.dt-related-card {
	background: #fff;
	border: 1px solid var(--p2);
	border-radius: var(--r2);
	overflow: hidden;
	transition: all 0.2s;
	box-shadow: var(--sh-sm);
	display: flex;
	flex-direction: column;
}

.dt-related-card:hover {
	box-shadow: var(--sh-md);
	transform: translateY(-2px);
}

.dt-related-card-img {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.dt-related-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.dt-related-card:hover .dt-related-card-img img {
	transform: scale(1.05);
}

.dt-related-card-body {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.dt-related-card-eyebrow {
	font-family: var(--cond);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--r);
	margin-bottom: 0.5rem;
}

.dt-related-card-title {
	font-family: var(--serif);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.dt-related-card-title a {
	color: var(--ink);
	text-decoration: none;
	transition: color 0.2s;
}

.dt-related-card-title a:hover {
	color: var(--r);
}

.dt-related-card-excerpt {
	font-family: var(--sans);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--ink3);
	margin: 0 0 1rem;
	flex: 1;
}

.dt-related-card-link {
	font-family: var(--sans);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--r);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	transition: gap 0.2s;
}

.dt-related-card-link:hover {
	gap: 0.625rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   REUSED COMPONENTS FROM SINGLE.PHP
   ═══════════════════════════════════════════════════════════════════════ */

/* Post Navigation (prev/next) - inherits from single.css */
.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	padding: 2rem 0;
}

@media (max-width: 639px) {
	.post-navigation {
		grid-template-columns: 1fr;
	}
}

.post-nav-link {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--p2);
	border-radius: var(--r2);
	text-decoration: none;
	transition: all 0.2s;
	box-shadow: var(--sh-sm);
}

.post-nav-link:hover {
	box-shadow: var(--sh-md);
	transform: translateY(-1px);
}

.post-nav-link--prev {
	text-align: left;
}

.post-nav-link--next {
	text-align: right;
}

.post-nav-label {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-family: var(--cond);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--p3);
}

.post-nav-link--next .post-nav-label {
	justify-content: flex-end;
}

.post-nav-title {
	font-family: var(--serif);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.3;
}

/* Section labels and titles (reused pattern) */
.sec-label {
	font-family: var(--cond);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--r);
	margin-bottom: 0.5rem;
}

.sec-title {
	font-family: var(--serif);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 1rem;
}

/* Tag styles (reused from theme) */
.tag {
	display: inline-flex;
	align-items: stretch;
	border-radius: 4px;
	overflow: hidden;
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 0;
	text-decoration: none;
	transition: opacity var(--t);
}

.tag-gold {
	background: rgba(240, 192, 64, 0.15);
	color: var(--gd);
	border: 1px solid rgba(240, 192, 64, 0.3);
}

.tag-gold:hover {
	background: rgba(240, 192, 64, 0.25);
	border-color: var(--gd);
}

.tag-label {
	display: block;
}

/* Section background utilities */
.section {
	padding: 3rem 0;
}

.section-bg-p {
	background: var(--p);
}

/* Wrap container */
.wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 1280px) {
	.wrap {
		padding: 0 2rem;
	}
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 639px) {
	.dt-post-header {
		padding: 1.5rem 0;
	}

	.dt-hero-logistics {
		padding: 1.5rem 0;
	}

	.dt-hero-grid {
		gap: 1.5rem;
	}

	.dt-timeline {
		padding-left: 2rem;
	}

	.dt-timeline-marker {
		left: -2rem;
		width: 16px;
		height: 16px;
	}

	.dt-timeline-content {
		padding: 1rem;
	}

	.dt-section-title {
		margin-bottom: 1rem;
	}

	.dt-itinerary-section,
	.dt-routes-section,
	.dt-map-section,
	.dt-faq-section {
		margin: 2rem 0;
	}
}

/* Print styles */
@media print {

	.dt-post-cats,
	.dt-post-meta-row,
	.dt-hero-badges,
	.dt-aff-btns,
	.dt-route-aff-btns,
	.dt-map-cta,
	.dt-sidebar,
	.post-navigation,
	.dt-related-section {
		display: none;
	}

	.dt-layout {
		grid-template-columns: 1fr;
	}

	.dt-timeline::before {
		background: #000;
	}

	.dt-timeline-marker {
		background: #000;
		border-color: #fff;
	}
}

/* ═══════════════════════════════════════════════════════════════════════
   SOCIAL SHARE
   ═══════════════════════════════════════════════════════════════════════ */
.post-share {
	padding-block: 1.5rem;
	border-top: 1px solid var(--p2);
	border-bottom: 1px solid var(--p2);
}

.post-share-inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.post-share-label {
	font-family: var(--sans);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--p3);
	flex-shrink: 0;
}

.post-share-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.post-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 5px 12px;
	border-radius: var(--rp);
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s, transform 0.15s;
	border: none;
	cursor: pointer;
}

.post-share-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

.post-share-btn svg {
	flex-shrink: 0;
}

.post-share-btn--facebook {
	background: #1877f2;
	color: #fff;
}

.post-share-btn--twitter {
	background: var(--ink);
	color: #fff;
}

.post-share-btn--pinterest {
	background: #e60023;
	color: #fff;
}

.post-share-btn--whatsapp {
	background: #25d366;
	color: #fff;
}

.post-share-btn--copy {
	background: var(--p);
	color: var(--ink3);
	border: 1px solid var(--p2);
}

.post-share-btn--copy.copied {
	background: var(--rt);
	color: var(--r);
	border-color: var(--r);
}

/* ═══════════════════════════════════════════════════════════════════════
   FULL-WIDTH IMAGES (with bleed effect)
   ═══════════════════════════════════════════════════════════════════════ */

/* === Uncaptioned full-width images (direct img, no figure wrapper) === */
.dt-template .dt-main-content img.aligncenter.size-full,
.dt-template .dt-article-prose img.aligncenter.size-full {
	--_bleed: 30%;

	display: block !important;
	width: calc(100% + var(--_bleed)) !important;
	max-width: none !important;
	margin-left: calc(-1 * (var(--_bleed) / 2)) !important;
	margin-right: calc(-1 * (var(--_bleed) / 2)) !important;
	margin-top: 2.5rem !important;
	margin-bottom: 2.5rem !important;
	height: auto !important;

	border-radius: var(--r2, 1rem) !important;
	border: 1px solid var(--p2, #d9d0c0) !important;
	box-shadow:
		0 4px 16px oklch(0.15 0.02 40 / 0.10),
		0 1px 3px oklch(0.15 0.02 40 / 0.08) !important;
}

/* === Captioned images (figure.wp-caption wrapper) === */
.dt-template .dt-main-content figure.wp-caption.aligncenter,
.dt-template .dt-article-prose figure.wp-caption.aligncenter {
	--_bleed: 30%;

	display: block !important;
	width: calc(100% + var(--_bleed)) !important;
	max-width: none !important;
	margin-left: calc(-1 * (var(--_bleed) / 2)) !important;
	margin-right: calc(-1 * (var(--_bleed) / 2)) !important;
	margin-top: 2.5rem !important;
	margin-bottom: 2.5rem !important;

	border-radius: var(--r2, 1rem) !important;
	border: 1px solid var(--p2, #d9d0c0) !important;
	box-shadow:
		0 4px 16px oklch(0.15 0.02 40 / 0.10),
		0 1px 3px oklch(0.15 0.02 40 / 0.08) !important;

	overflow: hidden !important;
}

/* Inner img inside figure — no independent styling */
.dt-template .dt-main-content figure.wp-caption.aligncenter img,
.dt-template .dt-article-prose figure.wp-caption.aligncenter img {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	border-radius: 0 !important;
	border: none !important;
	box-shadow: none !important;
}

/* Caption text */
.dt-template .dt-main-content figure.wp-caption.aligncenter .wp-caption-text,
.dt-template .dt-article-prose figure.wp-caption.aligncenter .wp-caption-text {
	margin: 0 !important;
	padding: 0.6rem 1rem 0.7rem !important;
	font-size: 0.8125rem !important;
	color: var(--p3, #6b6559) !important;
	background: var(--p, #faf8f4) !important;
	border-top: 1px solid var(--p2, #d9d0c0) !important;
	text-align: left !important;
	line-height: 1.5 !important;
}

/* === Mobile: collapse bleed on both === */
@media (max-width: 768px) {

	.dt-template .dt-main-content img.aligncenter.size-full,
	.dt-template .dt-article-prose img.aligncenter.size-full,
	.dt-template .dt-main-content figure.wp-caption.aligncenter,
	.dt-template .dt-article-prose figure.wp-caption.aligncenter {
		--_bleed: 0%;

		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		border-radius: var(--r1, 0.75rem) !important;
	}
}

/* === Horizontal Rule === */
.dt-template .dt-main-content hr,
.dt-template .dt-article-prose hr {
	display: block !important;
	width: 100% !important;
	height: 1px !important;
	border: none !important;
	background: var(--p2, #d9d0c0) !important;
	margin-top: 3rem !important;
	margin-bottom: 3rem !important;
	position: relative !important;
}

/* Center ornament — Japanese diamond mark */
.dt-template .dt-main-content hr::before,
.dt-template .dt-article-prose hr::before {
	content: '◆' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	font-size: 0.5rem !important;
	color: var(--r, #e41c1c) !important;
	background: var(--p, #ede7da) !important;
	padding: 0 0.75rem !important;
	line-height: 1 !important;
}

/* =============================================================
   Itinerary Map  –  itinerary-map.php styles
   Paste this into your theme's CSS file (e.g. style.css or
   a dedicated partials/_itinerary-map.css).
   All classes are prefixed with  itin-  to avoid conflicts.
   ============================================================= */
/* ── Wrapper ─────────────────────────────────────────────── */
.itin-map-wrap {
	display: flex;
	flex-direction: column;
	height: 600px;
	/* adjust to taste */
	border-radius: var(--r2);
	overflow: hidden;
	border: 1px solid var(--p2);
	box-shadow: var(--sh-md);
	background: var(--w);
	font-family: var(--sans);
	color: var(--ink);
	--_bleed: 30%;
	width: calc(100% + var(--_bleed)) !important;
	max-width: none !important;
	margin-left: calc(-1 * (var(--_bleed) / 2)) !important;
	margin-right: calc(-1 * (var(--_bleed) / 2)) !important;
}

/* ── Header bar ──────────────────────────────────────────── */
.itin-header {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 18px;
	background: var(--w);
	border-bottom: 1px solid var(--p2);
	flex-shrink: 0;
	z-index: 10;
}

.itin-title {
	font-family: var(--jp);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: .01em;
	margin: 0;
}

.itin-meta {
	font-size: 11px;
	color: var(--p3);
	margin: 2px 0 0;
}

/* Day filter pills */
.itin-pills {
	display: flex;
	gap: 5px;
	margin-left: auto;
	flex-wrap: wrap;
}

.itin-pill {
	padding: 4px 12px;
	border-radius: var(--rp);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	border: 1.5px solid var(--p2);
	color: var(--p3);
	background: transparent;
	transition: all var(--t) var(--ease);
	user-select: none;
}

.itin-pill:hover {
	border-color: var(--p3);
	color: var(--ink2);
}

/* "All" pill active */
.itin-pill-all.active {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--w);
}

/* Numbered day pills — colour comes from inline --day-color set by PHP */
.itin-pill-day {
	border-color: var(--day-color, var(--p2));
	color: var(--day-color, var(--p3));
}

.itin-pill-day.active {
	background: var(--day-color, var(--ink));
	border-color: var(--day-color, var(--ink));
	color: #fff;
}

/* ── Main flex row (map + sidebar) ──────────────────────── */
.itin-main {
	flex: 1;
	display: flex;
	overflow: hidden;
	position: relative;
}

/* ── Map canvas ──────────────────────────────────────────── */
.itin-map {
	flex: 1;
	height: 100%;
	z-index: 1;
}

/* Slightly desaturate tiles so content pops */
.itin-map .leaflet-tile {
	filter: brightness(1) saturate(0.85);
	/* lighter touch — HOT tiles are already pale */
}

/* Leaflet control chrome */
.itin-map-wrap .leaflet-control-zoom {
	border: 1px solid var(--p2) !important;
	border-radius: var(--r1) !important;
	overflow: hidden;
	box-shadow: var(--sh-sm) !important;
}

.itin-map-wrap .leaflet-control-zoom a {
	background: var(--w) !important;
	color: var(--ink2) !important;
	border-bottom: 1px solid var(--p2) !important;
}

.itin-map-wrap .leaflet-control-zoom a:hover {
	background: var(--p) !important;
	color: var(--ink) !important;
}

.itin-map-wrap .leaflet-control-attribution {
	background: rgba(250, 247, 242, .82) !important;
	color: var(--p3) !important;
	font-size: 9px !important;
	backdrop-filter: blur(4px);
}

.itin-map-wrap .leaflet-control-attribution a {
	color: var(--p3) !important;
}

/* ── Popup ───────────────────────────────────────────────── */
.itin-map-wrap .leaflet-popup-content-wrapper {
	background: var(--w);
	border: 1px solid var(--p2);
	border-radius: var(--r2);
	box-shadow: var(--sh-lg);
	padding: 0;
	overflow: hidden;
	min-width: 240px;
	max-width: 280px;
}

.itin-map-wrap .leaflet-popup-tip {
	background: var(--w);
}

.itin-map-wrap .leaflet-popup-content {
	margin: 0 !important;
	width: auto !important;
}

.itin-pu-head {
	padding: 11px 14px 9px;
}

.itin-pu-badge {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: var(--rp);
	display: inline-block;
	margin-bottom: 5px;
	/* bg & color set inline by JS */
}

.itin-pu-name {
	font-family: var(--jp);
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.3;
}

.itin-pu-body {
	padding: 9px 14px 12px;
	border-top: 1px solid var(--p2);
}

.itin-pu-time {
	font-size: 10px;
	color: var(--p3);
	margin-bottom: 5px;
}

.itin-pu-desc,
.itin-sb-tip {
	font-size: 11.5px;
	color: var(--ink3);
	line-height: 1.5;
	margin-bottom: 7px;
}

.itin-sb-tip {
	margin-top: 7px
}

.itin-pu-cost {
	font-size: 11px;
	font-weight: 600;
	background: var(--p);
	padding: 3px 9px;
	border-radius: var(--r0);
	display: inline-block;
	color: var(--ink2);
}

.itin-pu-note {
	font-size: 10px;
	color: var(--rd);
	margin-top: 5px;
	font-style: italic;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.itin-sidebar {
	width: 300px;
	height: 100%;
	background: var(--w);
	border-left: 1px solid var(--p2);
	display: flex;
	flex-direction: column;
	z-index: 5;
	flex-shrink: 0;
	overflow: hidden;
	transition: width .32s var(--ease), opacity .28s ease;
}

.itin-sidebar.collapsed {
	width: 0;
	opacity: 0;
	border-left: none;
	pointer-events: none;
}

/* Sidebar header */
.itin-sb-head {
	padding: 16px 16px 13px;
	border-bottom: 1px solid var(--p2);
	flex-shrink: 0;
}

.itin-sb-day-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--p3);
	margin-bottom: 5px;
}

.itin-sb-title {
	font-family: var(--jp);
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.25;
	margin-bottom: 5px;
}

.itin-sb-summary {
	font-size: 11.5px;
	color: var(--ink3);
	line-height: 1.55;
	margin-bottom: 10px;
}

.itin-sb-actions {
	display: flex;
	gap: 7px;
}

/* "Open route" button */
.itin-btn-route {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 13px;
	border-radius: var(--r1);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	color: #fff;
	/* background set inline by JS (day colour) */
	transition: opacity var(--t) var(--ease);
}

.itin-btn-route:hover {
	opacity: .82;
}

/* "Copy" button */
.itin-btn-copy {
	padding: 6px 12px;
	border-radius: var(--r1);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	background: var(--p);
	border: 1px solid var(--p2);
	color: var(--ink2);
	transition: background var(--t) var(--ease);
}

.itin-btn-copy:hover {
	background: var(--p2);
}

/* Sidebar scrollable list */
.itin-sb-list {
	flex: 1;
	overflow-y: auto;
	padding: 8px 0 16px;
	scrollbar-width: thin;
	scrollbar-color: var(--p2) transparent;
}

.itin-sb-list::-webkit-scrollbar {
	width: 4px;
}

.itin-sb-list::-webkit-scrollbar-thumb {
	background: var(--p2);
	border-radius: var(--rp);
}

/* Section label (Morning / Afternoon / Evening) */
.itin-sb-section {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--p3);
	padding: 10px 16px 4px;
}

/* Activity row */
.itin-sb-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 14px 8px 13px;
	cursor: pointer;
	transition: background var(--t) var(--ease);
	border-left: 3px solid transparent;
}

.itin-sb-item:hover {
	background: var(--p);
}

.itin-sb-item.active {
	background: var(--rt);
}

.itin-sb-icon {
	width: 36px;
	height: 36px;
	border-radius: var(--r1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	flex-shrink: 0;
	margin-top: 2px;
	/* bg set inline by JS (day colour @ 13% opacity) */
}

.itin-sb-body {
	flex: 1;
	min-width: 0;
}

.itin-sb-time {
	font-size: 10px;
	color: var(--p3);
	margin-bottom: 2px;
}

.itin-sb-name {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ink2);
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.itin-sb-sub {
	font-size: 11.5px;
	color: var(--r);
	margin-top: 1px;
	/* white-space: nowrap; */
	overflow: hidden;
	text-overflow: ellipsis;
}

.itin-sb-cost {
	display: inline-block;
	/* shrinks to content width */
	max-width: 100%;
	white-space: normal;
	/* allows wrapping if truly very long */
	word-break: break-word;
	font-size: 10px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: var(--r0);
	background: var(--p);
	color: var(--ink3);
	border: 1px solid var(--p2);
	margin-top: 5px;
	line-height: 1.4;
}

/* ── Sidebar toggle tab ──────────────────────────────────── */
.itin-sb-toggle {
	position: absolute;
	right: 300px;
	/* matches .itin-sidebar width */
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	width: 26px;
	height: 60px;
	background: var(--w);
	border: 1px solid var(--p2);
	border-right: none;
	border-radius: var(--r1) 0 0 var(--r1);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	box-shadow: var(--sh-sm);
	transition: right .32s var(--ease), background var(--t) var(--ease);
}

.itin-sb-toggle:hover {
	background: var(--p);
}

/* Three-bar icon that morphs into a chevron */
.itin-bar {
	width: 11px;
	height: 2px;
	border-radius: 2px;
	background: var(--p3);
	transition: transform .28s ease, opacity .2s ease, background var(--t);
}

.itin-sb-toggle:hover .itin-bar {
	background: var(--ink2);
}

/* Sidebar open  → left-pointing chevron ‹ */
.itin-bar:nth-child(1) {
	transform: translateY(3px) rotate(-35deg);
}

.itin-bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.itin-bar:nth-child(3) {
	transform: translateY(-3px) rotate(35deg);
}

/* Sidebar collapsed → right-pointing chevron › */
.itin-sidebar.collapsed~.itin-sb-toggle {
	right: 0;
	border-radius: var(--r1) 0 0 var(--r1);
	border-right: 1px solid var(--p2);
	border-left: none;
}

.itin-sidebar.collapsed~.itin-sb-toggle .itin-bar:nth-child(1) {
	transform: translateY(3px) rotate(35deg);
}

.itin-sidebar.collapsed~.itin-sb-toggle .itin-bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.itin-sidebar.collapsed~.itin-sb-toggle .itin-bar:nth-child(3) {
	transform: translateY(-3px) rotate(-35deg);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
	.itin-map-wrap {
		height: 520px;
		--_bleed: 0%;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.itin-sidebar {
		width: 260px;
	}

	.itin-sb-toggle {
		right: 260px;
	}

	.itin-sidebar.collapsed~.itin-sb-toggle {
		right: 0;
	}

	.itin-title {
		font-size: 12px;
	}

	.itin-pills {
		display: none;
	}

	/* too cramped on mobile — pills hidden */
	/* Post Headings */
	.dt-article-prose h2,
	.dt-article-prose h3,
	.dt-article-prose h4,
	.dt-article-prose h5,
	.dt-article-prose h6 {
		line-height: normal !important
	}

	/* Other Post Stylings */
	.dt-article-prose ul,
	.dt-article-prose ol {
		padding-left: 1.5rem !important;
	}
}

.post-template-single-post-day-trip-php p,
.dt-article-prose p {
	max-width: 100% !important;
}

/* ══════════════════════════════════════════════════
   SUMMARIZE WITH AI
   ══════════════════════════════════════════════════ */
.dt-main-content .share-with-ai {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin: 1rem 0 2.5rem 0;
	padding-bottom: 1.5rem;
	border-bottom: 3px solid var(--r);
	background: transparent !important;
	border-left: none !important;
	border-right: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	font-family: var(--sans);
}

.dt-main-content .share-with-ai .share-ai-text {
	font-family: var(--sans);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--p3);
	flex-shrink: 0;
	margin-right: 0 !important;
}

.dt-main-content .share-with-ai .share-ai-text span {
	color: var(--p3) !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
}

.dt-main-content .share-with-ai .share-ai {
	display: inline-flex !important;
	background: transparent !important;
	border-radius: var(--rp) !important;
	overflow: hidden;
}

.dt-main-content .share-with-ai .share-ai a,
.dt-main-content .share-with-ai .summarize-with-ai-icon {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.4rem !important;
	padding: 5px 12px !important;
	border-radius: var(--rp) !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: opacity 0.2s, transform 0.15s !important;
	border: none !important;
	box-shadow: none !important;
	color: #fff !important;
}

.dt-main-content .share-with-ai .share-ai a:hover,
.dt-main-content .share-with-ai .summarize-with-ai-icon:hover {
	opacity: 0.85 !important;
	transform: translateY(-1px) !important;
	box-shadow: none !important;
}

.dt-main-content .share-with-ai .share-ai img {
	width: 16px !important;
	height: 16px !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	display: inline-block !important;
}

.dt-main-content .share-with-ai .share-ai span {
	color: #fff !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
}

/* ChatGPT - Override plugin black background */
.dt-main-content .share-with-ai .share-ai.chatgpt,
.dt-main-content .share-with-ai .share-ai.chatgpt a,
.dt-main-content .share-with-ai .share-ai.chatgpt .summarize-with-ai-icon,
.dt-main-content .share-with-ai .share-ai.chatgpt a:link,
.dt-main-content .share-with-ai .share-ai.chatgpt a:visited,
.dt-main-content .share-with-ai .share-ai.chatgpt a:hover,
.dt-main-content .share-with-ai .summarize-with-chatgpt,
.dt-main-content .share-with-ai .summarize-with-chatgpt:hover {
	background: #10a37f !important;
	background-color: #10a37f !important;
	color: #fff !important;
	border-color: #10a37f !important;
}

/* Grok - Override plugin black background */
.dt-main-content .share-with-ai .share-ai.grok,
.dt-main-content .share-with-ai .share-ai.grok a,
.dt-main-content .share-with-ai .share-ai.grok .summarize-with-ai-icon,
.dt-main-content .share-with-ai .share-ai.grok a:link,
.dt-main-content .share-with-ai .share-ai.grok a:visited,
.dt-main-content .share-with-ai .share-ai.grok a:hover,
.dt-main-content .share-with-ai .summarize-with-grok,
.dt-main-content .share-with-ai .summarize-with-grok:hover {
	background: var(--ink) !important;
	background-color: var(--ink) !important;
	color: #fff !important;
	border-color: var(--ink) !important;
}

/* Perplexity - Override plugin background */
.dt-main-content .share-with-ai .share-ai.perplexity,
.dt-main-content .share-with-ai .share-ai.perplexity a,
.dt-main-content .share-with-ai .share-ai.perplexity .summarize-with-ai-icon,
.dt-main-content .share-with-ai .share-ai.perplexity a:link,
.dt-main-content .share-with-ai .share-ai.perplexity a:visited,
.dt-main-content .share-with-ai .share-ai.perplexity a:hover,
.dt-main-content .share-with-ai .summarize-with-perplexity,
.dt-main-content .share-with-ai .summarize-with-perplexity:hover {
	background: #1fb8cd !important;
	background-color: #1fb8cd !important;
	color: #fff !important;
	border-color: #1fb8cd !important;
}

/* Claude - Override plugin background */
.dt-main-content .share-with-ai .share-ai.claude,
.dt-main-content .share-with-ai .share-ai.claude a,
.dt-main-content .share-with-ai .share-ai.claude .summarize-with-ai-icon,
.dt-main-content .share-with-ai .share-ai.claude a:link,
.dt-main-content .share-with-ai .share-ai.claude a:visited,
.dt-main-content .share-with-ai .share-ai.claude a:hover,
.dt-main-content .share-with-ai .summarize-with-claude,
.dt-main-content .share-with-ai .summarize-with-claude:hover {
	background: #cc785c !important;
	background-color: #cc785c !important;
	color: #fff !important;
	border-color: #cc785c !important;
}