/**
 * Step 7: Travel Guides, Blog, Editorial & SEO System Stylesheet
 *
 * @package Unseen_Place
 * @since 7.0.0
 */

/* 1. Reading Progress Bar */
.up-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 4px;
	background: linear-gradient(90deg, #10b981 0%, #059669 100%);
	z-index: 9999;
	transition: width 0.1s ease-out;
}

/* 2. Editorial Single Layout */
.up-editorial-single-main {
	padding: 2rem 0 4rem;
}

.up-editorial-hero {
	margin-bottom: 2.5rem;
}

.up-editorial-hero-meta-top {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.up-editorial-categories {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.up-editorial-reading-time {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #64748b;
}

.up-editorial-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.2;
	color: #0f172a;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.up-editorial-subtitle {
	font-size: 1.1875rem;
	line-height: 1.6;
	color: #475569;
	margin: 0 0 1.5rem;
}

.up-editorial-byline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.25rem;
	padding: 1.25rem 0;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 2rem;
}

.up-editorial-author-avatar .up-avatar-img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.up-editorial-author-info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
}

.up-author-name {
	font-weight: 700;
	font-size: 0.9375rem;
	color: #0f172a;
}

.up-author-name a {
	color: inherit;
	text-decoration: none;
}

.up-author-name a:hover {
	color: #059669;
}

.up-author-dates {
	font-size: 0.8125rem;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.up-editorial-featured-media {
	margin: 0 0 2.5rem;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.up-editorial-cover-img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	display: block;
}

.up-editorial-cover-caption {
	padding: 0.75rem 1rem;
	font-size: 0.8125rem;
	color: #64748b;
	background: #f8fafc;
	border-bottom-left-radius: 1rem;
	border-bottom-right-radius: 1rem;
	font-style: italic;
}

/* 3. Editorial Two-Column Grid */
.up-editorial-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

@media (min-width: 1024px) {
	.up-editorial-layout {
		grid-template-columns: 280px 1fr;
		align-items: start;
	}
}

.up-sticky-sidebar-inner {
	position: sticky;
	top: 5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* 4. Table of Contents Widget */
.up-toc-widget {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	padding: 1.25rem;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.up-toc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.875rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #f1f5f9;
}

.up-toc-title {
	font-weight: 700;
	font-size: 0.875rem;
	color: #0f172a;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.up-toc-toggle {
	background: none;
	border: none;
	font-size: 0.75rem;
	font-weight: 600;
	color: #059669;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
}

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

.up-toc-item a {
	display: block;
	font-size: 0.8125rem;
	color: #475569;
	text-decoration: none;
	line-height: 1.4;
	padding: 0.25rem 0.5rem;
	border-radius: 0.375rem;
	border-left: 2px solid transparent;
	transition: all 0.15s ease;
}

.up-toc-item a:hover {
	color: #059669;
	background: #f0fdf4;
}

.up-toc-item.is-active a {
	color: #059669;
	font-weight: 600;
	border-left-color: #059669;
	background: #ecfdf5;
}

/* 5. Practical Info Box */
.up-practical-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	padding: 1.25rem;
}

.up-practical-box-header {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.up-practical-box-icon {
	color: #059669;
	flex-shrink: 0;
	margin-top: 0.125rem;
}

.up-practical-title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.up-practical-sub {
	font-size: 0.75rem;
	color: #64748b;
	margin: 0.125rem 0 0;
}

.up-practical-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.up-practical-item {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.up-practical-label {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
}

.up-practical-val {
	font-size: 0.875rem;
	font-weight: 700;
	color: #0f172a;
}

/* 6. Sticky Sidebar Share */
.up-sidebar-share-sticky {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.up-sidebar-share-title {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
}

/* 7. Article Typography & Prose */
.up-editorial-body {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: #334155;
	margin-bottom: 3rem;
}

.up-editorial-body p {
	margin-bottom: 1.5rem;
}

.up-editorial-body h2 {
	font-size: 1.625rem;
	font-weight: 700;
	color: #0f172a;
	margin: 2.5rem 0 1rem;
	scroll-margin-top: 6rem;
}

.up-editorial-body h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1e293b;
	margin: 2rem 0 0.75rem;
	scroll-margin-top: 6rem;
}

.up-editorial-body blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.75rem;
	border-left: 4px solid #10b981;
	background: #f0fdf4;
	border-radius: 0 0.75rem 0.75rem 0;
	font-style: italic;
	color: #065f46;
}

/* Callout Boxes */
.up-callout {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-radius: 0.75rem;
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.up-callout-tip {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.up-callout-warning {
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #92400e;
}

.up-callout-insight {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	color: #0369a1;
}

/* 8. Itinerary Timeline Module */
.up-itinerary-module {
	margin: 3.5rem 0;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	padding: 2rem;
}

.up-itinerary-header {
	margin-bottom: 2rem;
}

.up-itinerary-title {
	font-size: 1.625rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0.5rem 0;
}

.up-itinerary-desc {
	font-size: 0.9375rem;
	color: #64748b;
	margin: 0;
}

.up-timeline {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	position: relative;
}

.up-timeline::before {
	content: '';
	position: absolute;
	top: 1rem;
	bottom: 1rem;
	left: 20px;
	width: 2px;
	background: #cbd5e1;
}

.up-timeline-item {
	display: flex;
	gap: 1.25rem;
	position: relative;
	z-index: 1;
}

.up-timeline-marker {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #059669;
	color: #ffffff;
	font-weight: 800;
	font-size: 0.9375rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.3);
}

.up-timeline-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
	padding: 1.5rem;
	flex: 1;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.up-timeline-card-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

.up-timeline-day-badge {
	background: #f1f5f9;
	color: #0f172a;
	font-weight: 700;
	font-size: 0.75rem;
	padding: 0.25rem 0.625rem;
	border-radius: 0.375rem;
}

.up-timeline-card-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	flex: 1;
}

.up-timeline-distance {
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748b;
}

.up-timeline-highlights {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}

.up-highlight-pill {
	font-size: 0.75rem;
	font-weight: 600;
	background: #f0fdf4;
	color: #065f46;
	border: 1px solid #bbf7d0;
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
}

.up-timeline-segments {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.up-timeline-segment {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.up-segment-time {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #059669;
}

.up-segment-text {
	font-size: 0.875rem;
	color: #334155;
	line-height: 1.5;
	margin: 0;
}

.up-timeline-meta-footer {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #f1f5f9;
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
	font-size: 0.8125rem;
	color: #64748b;
}

/* 9. Linked Tourist Places Widget */
.up-linked-places-widget {
	margin: 3.5rem 0;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 1rem;
	padding: 2rem;
}

.up-linked-places-header {
	margin-bottom: 1.5rem;
}

.up-linked-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #065f46;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.up-linked-title {
	font-size: 1.5rem;
	font-weight: 800;
	color: #064e3b;
	margin: 0 0 0.375rem;
}

.up-linked-sub {
	font-size: 0.875rem;
	color: #047857;
	margin: 0;
}

.up-linked-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

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

.up-linked-card {
	background: #ffffff;
	border: 1px solid #dcfce7;
	border-radius: 0.75rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.up-linked-thumb-wrap {
	position: relative;
	height: 140px;
	background: #e2e8f0;
}

.up-linked-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.up-linked-cat-badge {
	position: absolute;
	top: 0.625rem;
	left: 0.625rem;
}

.up-linked-content {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
}

.up-linked-loc {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	color: #64748b;
}

.up-linked-place-title {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.up-linked-place-title a {
	color: inherit;
	text-decoration: none;
}

.up-linked-quickfacts {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.75rem;
	color: #475569;
}

.up-stat-star {
	color: #eab308;
}

.up-linked-actions {
	display: flex;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.75rem;
}

.up-btn-xs {
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem;
	border-radius: 0.375rem;
}

/* 10. Author Box */
.up-author-box {
	margin: 3rem 0;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	padding: 1.75rem;
	display: flex;
	gap: 1.5rem;
	flex-direction: column;
}

@media (min-width: 640px) {
	.up-author-box {
		flex-direction: row;
		align-items: flex-start;
	}
}

.up-author-avatar-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.up-author-avatar-img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #ffffff;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.up-author-badge {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: #e0f2fe;
	color: #0369a1;
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
}

.up-author-details {
	flex: 1;
}

.up-author-header-line {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 0.5rem;
}

.up-author-subtitle {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #64748b;
}

.up-author-name {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
	color: #0f172a;
}

.up-author-count-badge {
	font-size: 0.75rem;
	font-weight: 600;
	color: #059669;
	background: #ecfdf5;
	padding: 0.25rem 0.625rem;
	border-radius: 9999px;
	text-decoration: none;
}

.up-author-bio {
	font-size: 0.875rem;
	line-height: 1.6;
	color: #475569;
	margin: 0 0 1rem;
}

.up-author-more-link {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #059669;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

/* 11. Related Guides Section */
.up-related-section {
	margin: 3.5rem 0;
	padding-top: 2rem;
	border-top: 1px solid #e2e8f0;
}

.up-related-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 1.5rem;
}

.up-related-title {
	font-size: 1.5rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0.375rem 0 0;
}

.up-related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

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

.up-related-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.up-related-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.up-related-thumb-link {
	position: relative;
	height: 160px;
	display: block;
	background: #f1f5f9;
}

.up-related-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.up-related-duration-badge {
	position: absolute;
	bottom: 0.5rem;
	right: 0.5rem;
	background: rgba(15, 23, 42, 0.85);
	color: #ffffff;
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
	backdrop-filter: blur(4px);
}

.up-related-body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
}

.up-related-meta {
	font-size: 0.75rem;
	color: #64748b;
}

.up-related-card-title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.4;
}

.up-related-card-title a {
	color: inherit;
	text-decoration: none;
}

.up-related-excerpt {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0;
}

.up-related-read {
	font-size: 0.75rem;
	font-weight: 700;
	color: #059669;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin-top: auto;
	padding-top: 0.5rem;
}

/* 12. Editorial Newsletter Widget */
.up-editorial-newsletter {
	margin: 3.5rem 0;
	background: linear-gradient(135deg, #093322 0%, #064e3b 100%);
	border-radius: 1.25rem;
	padding: 2.5rem;
	color: #ffffff;
	box-shadow: 0 10px 25px -5px rgba(9, 51, 34, 0.25);
}

.up-newsletter-inner {
	max-width: 680px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}

.up-newsletter-icon {
	color: #34d399;
}

.up-newsletter-title {
	font-size: 1.75rem;
	font-weight: 800;
	margin: 0;
	color: #ffffff;
}

.up-newsletter-desc {
	font-size: 0.9375rem;
	color: #a7f3d0;
	margin: 0;
	line-height: 1.6;
}

.up-newsletter-inputs {
	display: flex;
	gap: 0.75rem;
	width: 100%;
	max-width: 460px;
	flex-direction: column;
}

@media (min-width: 640px) {
	.up-newsletter-inputs {
		flex-direction: row;
	}
}

.up-newsletter-input {
	flex: 1;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-size: 0.875rem;
}

.up-newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.up-newsletter-submit {
	white-space: nowrap;
}

.up-newsletter-privacy {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

/* 13. Blog Homepage Hero & Cards */
.up-editorial-home-hero {
	margin-bottom: 2.5rem;
}

.up-editorial-hero-banner {
	position: relative;
	border-radius: 1.25rem;
	overflow: hidden;
	min-height: 440px;
	display: flex;
	align-items: flex-end;
}

.up-editorial-hero-media {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.up-hero-lead-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.up-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.9) 85%);
}

.up-editorial-hero-content {
	position: relative;
	z-index: 2;
	padding: 2.5rem;
	color: #ffffff;
	max-width: 820px;
}

.up-hero-main-title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 800;
	color: #ffffff;
	line-height: 1.25;
	margin: 0.75rem 0 1rem;
}

.up-hero-main-title a {
	color: inherit;
	text-decoration: none;
}

.up-hero-main-excerpt {
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #e2e8f0;
	margin-bottom: 1.25rem;
}

.up-hero-meta-bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.8125rem;
	color: #cbd5e1;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
}

.up-hero-author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: #ffffff;
}

.up-avatar-circle {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

/* 14. Topic Navigation Pills */
.up-topic-nav {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
	padding: 1rem 1.25rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0.875rem;
}

.up-topic-label {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #64748b;
}

.up-topic-pills {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.up-topic-pill {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #475569;
	background: #f1f5f9;
	padding: 0.375rem 0.875rem;
	border-radius: 9999px;
	text-decoration: none;
	transition: all 0.15s ease;
}

.up-topic-pill:hover,
.up-topic-pill.is-active {
	background: #059669;
	color: #ffffff;
}

/* 15. Editorial Cards Grid */
.up-editorial-cards-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
}

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

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

.up-editorial-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.up-editorial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.up-card-media-wrap {
	position: relative;
	height: 200px;
	background: #e2e8f0;
	display: block;
}

.up-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.up-card-badges {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	right: 0.75rem;
	display: flex;
	justify-content: space-between;
}

.up-card-body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	flex: 1;
}

.up-card-logistics {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.up-logistic-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #059669;
}

.up-card-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.35;
	margin: 0;
}

.up-card-title a {
	color: inherit;
	text-decoration: none;
}

.up-card-excerpt {
	font-size: 0.875rem;
	color: #64748b;
	line-height: 1.55;
	margin: 0;
}

.up-card-footer {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid #f1f5f9;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.up-card-author {
	font-size: 0.75rem;
	color: #64748b;
}

.up-card-read-link {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #059669;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

/* ==========================================================================
   16. Guides hub update: featured route, topic bar + search, saved list,
       guide cards, "pair with the map" banner, newsletter status
   ========================================================================== */
.up-ex-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.up-ex-hero-top .up-hero-tags { margin: 0; }
.up-ex-hero-time { font-size: 0.8125rem; color: #cbd5e1; }
.up-ex-hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.up-ex-hero-foot .up-hero-author { gap: 0.75rem; }
.up-ex-hero-foot .up-hero-author span { display: flex; flex-direction: column; font-size: 0.875rem; line-height: 1.3; }
.up-ex-hero-foot .up-hero-author .up-avatar-circle { width: 40px; height: 40px; }
.up-ex-hero-foot time { font-size: 0.75rem; font-weight: 500; color: #94a3b8; }
.up-ex-hero-foot .up-hero-actions { display: flex; align-items: center; gap: 0.5rem; }

.up-ex-save {
	appearance: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 12px; padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(15, 23, 42, 0.45); color: #ffffff;
}
.up-ex-save:hover { background: rgba(15, 23, 42, 0.7); }
.up-ex-save:focus-visible { outline: 3px solid #34d399; outline-offset: 2px; }
.up-ex-save.is-bookmarked { background: #059669; border-color: #059669; }
.up-ex-save.is-bookmarked svg { fill: currentColor; }
.up-ex-save-card { position: absolute; top: 0.625rem; right: 0.625rem; width: 34px; height: 34px; border-radius: 10px; z-index: 2; }
.up-card-media-wrap > a { display: block; height: 100%; }
.up-card-media-wrap .up-card-badges { right: 3.25rem; justify-content: flex-start; gap: 0.5rem; z-index: 2; }
.up-ex-readtime {
	position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2;
	font-size: 0.6875rem; font-weight: 700; color: #ffffff; background: rgba(15, 23, 42, 0.6);
	padding: 0.2rem 0.5rem; border-radius: 9999px;
}

.up-ex-topics .up-topic-pills { flex: 1 1 auto; }
button.up-topic-pill { border: 0; cursor: pointer; font-family: inherit; }
.up-ex-search { margin-left: auto; flex: 0 1 260px; }
.up-ex-search input {
	width: 100%; padding: 0.5rem 0.875rem; border: 1px solid #e2e8f0; border-radius: 9999px;
	font-size: 0.8125rem; background: #f8fafc;
}
@media (max-width: 640px) { .up-ex-search { flex-basis: 100%; margin-left: 0; } }

.up-ex-grid-head { margin-bottom: 1.25rem; }
.up-ex-count {
	display: inline-block; vertical-align: middle; margin-left: 0.5rem; font-size: 0.75rem; font-weight: 700;
	color: #475569; background: #e2e8f0; padding: 0.125rem 0.5rem; border-radius: 9999px;
}
.up-ex-sub { margin: 0.25rem 0 0; font-size: 0.875rem; color: #64748b; }

.up-ex-cta {
	display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center;
	margin: 3rem 0; padding: 2rem; border-radius: 1.5rem; color: #ffffff;
	background: linear-gradient(135deg, #0f766e 0%, #134e4a 45%, #0f172a 100%);
}
@media (min-width: 900px) { .up-ex-cta { grid-template-columns: 1.4fr 1fr; padding: 2.5rem; } }
.up-ex-cta-kicker { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #5eead4; }
.up-ex-cta h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.25; margin: 0.5rem 0 0.75rem; color: #ffffff; }
.up-ex-cta p { margin: 0 0 1.25rem; font-size: 0.9375rem; line-height: 1.6; color: #ccfbf1; }
.up-ex-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.up-ex-cta-ghost {
	display: inline-flex; align-items: center; padding: 0.625rem 1.125rem; border-radius: 0.75rem; font-size: 0.875rem;
	font-weight: 700; color: #ffffff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.4);
}
.up-ex-cta-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.up-ex-cta-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.up-ex-cta-chips a {
	display: flex; flex-direction: column; gap: 0.2rem; height: 100%; padding: 0.875rem; border-radius: 0.875rem;
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: #ffffff; text-decoration: none;
}
.up-ex-cta-chips a:hover { background: rgba(255, 255, 255, 0.16); }
.up-ex-chip-cat { font-size: 0.625rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #5eead4; }
.up-ex-chip-loc { font-size: 0.75rem; color: #99f6e4; }

.up-newsletter-status { min-height: 1.25rem; margin: 0.5rem 0 0; font-size: 0.8125rem; font-weight: 600; }
.up-newsletter-status.is-ok { color: #86efac; }
.up-newsletter-status.is-err { color: #fecaca; }

/* Single guide: light-background variants of the save button + fact chips */
.up-ex-save-inline {
	background: #f1f5f2; color: #0f172a; border-color: #e2e8f0; margin-right: 0.5rem; flex-shrink: 0;
}
.up-ex-save-inline:hover { background: #e2e8f0; }
.up-ex-save-inline.is-bookmarked { background: #059669; color: #ffffff; border-color: #059669; }
.up-editorial-facts { margin: 0.5rem 0 1rem; }
.up-editorial-share-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem; }

/* ==========================================================================
   17. Single guide: top bar, badges, drop cap, callouts, GPS box, comments
   ========================================================================== */
.up-ex-topbar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.25rem; padding-bottom: 0.875rem; border-bottom: 1px solid #e2e8f0; }
.up-ex-back { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem; border: 1px solid #e2e8f0; border-radius: 0.625rem; font-size: 0.75rem; font-weight: 600; color: #334155; text-decoration: none; background: #ffffff; }
.up-ex-back:hover { background: #f1f5f9; }
.up-ex-topbar-actions { display: flex; align-items: center; gap: 0.5rem; }
.up-ex-pillbtn {
	appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; font: inherit;
	font-size: 0.75rem; font-weight: 600; padding: 0.4rem 0.75rem; border-radius: 0.625rem;
	border: 1px solid #e2e8f0; background: #ffffff; color: #334155;
}
.up-ex-pillbtn:hover { background: #f1f5f9; }
.up-ex-pillbtn:focus-visible { outline: 3px solid #34d399; outline-offset: 2px; }
.up-ex-savebtn .t-saved { display: none; }
.up-ex-savebtn.is-bookmarked { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.up-ex-savebtn.is-bookmarked .t-save { display: none; }
.up-ex-savebtn.is-bookmarked .t-saved { display: inline; }
.up-ex-savebtn.is-bookmarked svg { fill: currentColor; }

.up-editorial-hero-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem; }
.up-badge-soft { background: #e2e8f0; color: #475569; font-weight: 600; }

.up-author-verified { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.45rem; border-radius: 9999px; font-size: 0.625rem; font-weight: 700; color: #065f46; background: #d1fae5; vertical-align: middle; }
.up-author-role { display: block; font-size: 0.8125rem; color: #64748b; }

/* Drop cap on the first paragraph of the article */
.up-editorial-body > p:first-of-type::first-letter {
	float: left; margin: 0.15em 0.12em 0 0; font-size: 3.4em; line-height: 0.85; font-weight: 800; color: #047857;
}

/* Callout boxes (block editor: Group > Styles, or [up_callout]) */
.up-callout, .wp-block-group.is-style-up-tip, .wp-block-group.is-style-up-note {
	margin: 1.75rem 0; padding: 1rem 1.25rem; border-radius: 0.75rem; border-left: 4px solid; font-size: 0.9375rem; line-height: 1.6;
}
.up-callout-tip, .wp-block-group.is-style-up-tip { background: #fffbeb; border-color: #f59e0b; color: #78350f; }
.up-callout-note, .wp-block-group.is-style-up-note { background: #ecfdf5; border-color: #10b981; color: #065f46; }
.up-callout-title { display: block; margin-bottom: 0.25rem; font-weight: 800; }
.up-callout-body > :last-child, .wp-block-group.is-style-up-tip > :last-child, .wp-block-group.is-style-up-note > :last-child { margin-bottom: 0; }

/* Sidebar: GPS box */
.up-gps-box { margin-top: 1rem; padding: 1rem; border-radius: 1rem; background: #ecfdf5; border: 1px solid #a7f3d0; }
.up-gps-title { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: #065f46; }
.up-gps-box p { margin: 0.4rem 0 0.75rem; font-size: 0.8125rem; line-height: 1.5; color: #047857; }
.up-gps-link { display: block; text-align: center; padding: 0.625rem; border-radius: 0.75rem; background: #059669; color: #ffffff; font-size: 0.8125rem; font-weight: 700; text-decoration: none; }
.up-gps-link:hover { background: #047857; }

/* On phones the sidebar (contents, facts, map link) follows the article */
@media (max-width: 1023px) {
	.up-editorial-layout .up-editorial-sidebar { order: 2; }
	.up-editorial-layout .up-editorial-content-column { order: 1; }
}

/* Comments */
.up-comments-section { margin: 2.5rem 0; padding: 1.5rem; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 1.25rem; }
.up-comments-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.875rem; margin-bottom: 1.25rem; border-bottom: 1px solid #e2e8f0; }
.up-comments-title { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 1.0625rem; font-weight: 800; color: #0f172a; }
.up-comments-title svg { color: #059669; }
.up-comments-mod { font-size: 0.75rem; color: #94a3b8; }
.up-comment-form { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.up-comment-form .up-cf-field { margin: 0; }
.up-comment-form input[type="text"], .up-comment-form input[type="email"], .up-comment-form textarea {
	width: 100%; padding: 0.625rem 0.875rem; border: 1px solid #e2e8f0; border-radius: 0.625rem; font: inherit; font-size: 0.875rem; background: #f8fafc;
}
.up-comment-form .form-submit { margin: 0; }
.up-comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.up-comment-list .children { list-style: none; margin: 0.875rem 0 0 1.25rem; padding: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.up-comment-card { padding: 0.875rem 1rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0.875rem; }
.up-comment-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.up-comment-author { font-size: 0.8125rem; color: #0f172a; }
.up-comment-time { font-size: 0.6875rem; color: #94a3b8; }
.up-comment-text { margin: 0.4rem 0 0.6rem; font-size: 0.8125rem; line-height: 1.6; color: #334155; }
.up-comment-text p { margin: 0 0 0.5rem; }
.up-comment-pending { margin: 0.4rem 0 0; font-size: 0.75rem; font-weight: 600; color: #b45309; }
.up-comment-foot { display: flex; align-items: center; gap: 1rem; }
.up-helpful { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0; border: 0; background: none; font: inherit; font-size: 0.6875rem; font-weight: 700; color: #64748b; }
.up-helpful:hover:not(:disabled) { color: #047857; }
.up-helpful.is-voted { color: #047857; cursor: default; }
.up-comment-reply a { font-size: 0.6875rem; font-weight: 700; color: #64748b; text-decoration: none; }
.up-comments-closed { margin: 1rem 0 0; font-size: 0.8125rem; color: #64748b; }
