.wt-tour-container {
	max-width: 900px;
	margin: 0 auto 2em;
}

/* Print-only header (site logo + name); shown only when printing. */
.wt-print-header {
	display: none;
}

.wt-tour-header {
	margin-bottom: 1em;
}

.wt-tour-title {
	margin-bottom: 0.25em;
}

.wt-tour-description {
	margin-bottom: 0.75em;
}

.wt-print-btn {
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 8px 16px;
	font-size: 14px;
	cursor: pointer;
}

.wt-print-btn:hover {
	background: #135e96;
}

.wt-map {
	width: 100%;
	height: 420px;
	border-radius: 6px;
	margin-bottom: 1.5em;
	background: #eee;
}

/* Custom divIcon markers */
.wt-marker span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #2271b1;
	color: #fff;
	font-weight: bold;
	font-size: 13px;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.wt-marker-start span {
	background: #2e8b3d;
}

.wt-marker-end span {
	background: #b32d2e;
}

.wt-stops-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wt-stop {
	display: flex;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid #e2e4e7;
}

.wt-stop:last-child {
	border-bottom: none;
}

.wt-stop-marker {
	flex: 0 0 36px;
	height: 36px;
	width: 36px;
	border-radius: 50%;
	background: #2271b1;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 13px;
}

.wt-stop-start .wt-stop-marker {
	background: #2e8b3d;
}

.wt-stop-end .wt-stop-marker {
	background: #b32d2e;
}

.wt-stop-body {
	flex: 1;
}

.wt-stop-body::after {
	content: "";
	display: table;
	clear: both;
}

.wt-stop-title {
	margin: 0 0 4px;
}

.wt-stop-address {
	margin: 0 0 8px;
	color: #646970;
	font-size: 0.9em;
}

.wt-stop-image {
	float: left;
	width: 150px;
	height: auto;
	max-width: 40%;
	border-radius: 6px;
	margin: 0 16px 8px 0;
	display: block;
}

.wt-stop-narrative p:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------------
   Tours grid ([walking_tours_grid])
   ------------------------------------------------------------------ */
.wt-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	margin: 0 auto 2em;
	max-width: 1100px;
}

/* Cap the column count per the shortcode's "columns" attribute while
   still collapsing gracefully on narrow screens. */
.wt-grid-cols-1 { grid-template-columns: minmax(280px, 640px); justify-content: center; }
.wt-grid-cols-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); max-width: 760px; }
.wt-grid-cols-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); max-width: 1100px; }
.wt-grid-cols-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); max-width: 1400px; }

.wt-grid-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 6px 16px rgba(0,0,0,0.06);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	border: 1px solid #eceef0;
}

.wt-grid-card:hover,
.wt-grid-card:focus {
	transform: translateY(-4px);
	box-shadow: 0 4px 10px rgba(0,0,0,0.12), 0 12px 28px rgba(0,0,0,0.12);
}

.wt-grid-card-image {
	position: relative;
	aspect-ratio: 3 / 2;
	background: linear-gradient(135deg, #dfe7ef 0%, #c4d2e0 100%);
	overflow: hidden;
}

.wt-grid-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wt-grid-card-noimage {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	opacity: 0.55;
}

.wt-grid-card-badge {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: rgba(0,0,0,0.72);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.wt-grid-card-body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.wt-grid-card-title {
	margin: 0 0 8px;
	font-size: 1.2em;
	line-height: 1.25;
}

.wt-grid-card-excerpt {
	margin: 0 0 16px;
	color: #58606a;
	font-size: 0.94em;
	line-height: 1.5;
}

.wt-grid-card-link {
	margin-top: auto;
	font-weight: 600;
	color: #2271b1;
	font-size: 0.95em;
}

.wt-grid-empty {
	text-align: center;
	color: #58606a;
	font-style: italic;
}
