/* ── UTTARAKHAND EKTA 2.0 - TOURIST PLACE DETAIL STYLESHEET ────────── */

.uke-place-detail-wrapper {
	background-color: #F8FAFC;
	color: #1E293B;
	font-family: 'Noto Serif Devanagari', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	padding-bottom: 3.5rem;
}

/* ── 1. BREADCRUMBS ─────────────────────────────────────────────────── */
.uke-place-breadcrumb-nav {
	display: none !important;
}

.uke-place-breadcrumb-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.uke-breadcrumb-item a {
	color: #64748B;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.uke-breadcrumb-item a:hover {
	color: var(--uke-primary, #D32F2F);
}

.uke-breadcrumb-sep {
	color: #94A3B8;
	font-size: 0.85rem;
}

.uke-breadcrumb-item.active {
	color: var(--uke-primary, #D32F2F);
	font-weight: 700;
}

/* ── 2. HERO SECTION ────────────────────────────────────────────────── */
/* ── 2. HERO SECTION ────────────────────────────────────────────────── */
.uke-place-hero-sec {
	position: relative;
	width: 100%;
	min-height: 480px;
	background-size: cover;
	background-position: right center;
	background-repeat: no-repeat;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	padding: 4.5rem 0 5rem 0;
	overflow: hidden;
}

.uke-place-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.72) 40%, rgba(15, 23, 42, 0.2) 65%, rgba(15, 23, 42, 0) 100%);
	z-index: 1;
	pointer-events: none;
}

.uke-place-hero-container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.uke-place-hero-content {
	max-width: 620px;
}

.uke-place-cat-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #FFD700;
	font-size: 0.85rem;
	font-weight: 700;
	padding: 0.35rem 0.85rem;
	border-radius: 50px;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.uke-place-title-hi {
	font-size: 2.85rem;
	font-weight: 900;
	margin: 0 0 0.5rem 0;
	line-height: 1.2;
	color: #FFFFFF;
	text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.uke-place-title-en {
	font-family: 'Inter', sans-serif;
	font-size: 1.25rem;
	color: #CBD5E1;
	font-weight: 500;
	margin-bottom: 1.2rem;
}

.uke-place-intro {
	font-size: 1.1rem;
	line-height: 1.65;
	color: #E2E8F0;
	margin-bottom: 1.8rem;
	text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.uke-place-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.uke-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.4rem;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.25s ease;
	cursor: pointer;
}

.uke-btn-reach {
	background: var(--uke-primary, #D32F2F);
	color: #FFFFFF;
	box-shadow: 0 4px 12px rgba(211, 47, 47, 0.35);
}

.uke-btn-reach:hover {
	background: #B71C1C;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(211, 47, 47, 0.45);
	color: #FFFFFF;
}

.uke-btn-gallery {
	background: rgba(255, 255, 255, 0.12);
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(6px);
}

.uke-btn-gallery:hover {
	background: rgba(255, 255, 255, 0.25);
	color: #FFFFFF;
	transform: translateY(-2px);
}

/* ── 3. FOUR STICKY TABS BAR (MATCHING UTTARAKHAND PAGE FILTER DESIGN SYSTEM) ──────────────────── */
.uke-place-tabs-sticky-bar {
	position: sticky;
	top: 0;
	z-index: 95;
	background: #0f172a;
	background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
	padding: 0.65rem 0;
}

/* WordPress Admin Bar Compatibility */
.admin-bar .uke-place-tabs-sticky-bar {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .uke-place-tabs-sticky-bar {
		top: 46px;
	}
}

.uke-place-tabs-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	padding: 0.25rem 0;
	scroll-behavior: smooth;
}
.uke-place-tabs-nav::-webkit-scrollbar {
	display: none;
}

/* Individual Filter Button Matching Uttarakhand Page .uke-uk-nav-btn */
.uke-place-tab-btn {
	background: rgba(255, 255, 255, 0.06);
	color: #e2e8f0;
	border: 1px solid rgba(148, 163, 184, 0.3);
	padding: 0.45rem 1.05rem;
	border-radius: 9999px;
	font-size: 0.86rem;
	font-weight: 600;
	font-family: var(--uke-font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.42rem;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	outline: none;
	user-select: none;
	box-shadow: none;
}

.uke-place-tab-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border-color: rgba(20, 184, 166, 0.6);
	transform: translateY(-1px);
}

.uke-place-tab-btn:focus-visible {
	outline: 2px solid #0D9488;
	outline-offset: 2px;
}

/* Active State: Matching Uttarakhand Page Teal/Turquoise (#0D9488) */
.uke-place-tab-btn.active,
.uke-place-tab-btn.is-active {
	background: #0D9488 !important;
	color: #ffffff !important;
	border-color: #0D9488 !important;
	font-weight: 700;
	box-shadow: 0 2px 10px rgba(13, 148, 136, 0.45);
	transform: translateY(-1px);
}

/* ── 4. TAB PANELS CONTENT CONTAINER ────────────────────────────────── */
.uke-place-content-container {
	padding-top: 2rem;
}

.uke-place-tab-panel {
	display: none;
	animation: ukeFadeIn 0.35s ease forwards;
}

.uke-place-tab-panel.active {
	display: block;
}

@keyframes ukeFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ── TAB 1: OVERVIEW STYLES ─────────────────────────────────────────── */
.uke-place-overview-grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 2rem;
	align-items: start;
}

.uke-place-overview-main {
	position: sticky;
	top: 80px;
	align-self: start;
}

.uke-card-box {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 1.8rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.uke-card-box.style-history {
	border-left: 4px solid var(--uke-secondary, #1A365D);
}

.uke-card-sec-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--uke-secondary, #1A365D);
	margin: 0 0 1rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #F1F5F9;
	line-height: 1.4;
	word-break: break-word;
	overflow-wrap: break-word;
}

.uke-overview-paragraph {
	font-size: 1rem;
	line-height: 1.7;
	color: #334155;
	margin: 0;
}

/* Facts Card - Scrollable Right Panel */
.uke-facts-card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 4px 15px rgba(0,0,0,0.04);
	max-height: calc(100vh - 100px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #CBD5E1 #F1F5F9;
}

.uke-facts-card::-webkit-scrollbar {
	width: 6px;
}

.uke-facts-card::-webkit-scrollbar-track {
	background: #F1F5F9;
	border-radius: 10px;
}

.uke-facts-card::-webkit-scrollbar-thumb {
	background: #CBD5E1;
	border-radius: 10px;
}

.uke-facts-card::-webkit-scrollbar-thumb:hover {
	background: #94A3B8;
}

.uke-facts-title {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--uke-primary, #D32F2F);
	margin: 0 0 1rem 0;
	padding-bottom: 0.6rem;
	border-bottom: 2px solid #FEE2E2;
}

.uke-facts-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.uke-facts-list li {
	padding: 0.65rem 0;
	border-bottom: 1px dashed #E2E8F0;
	font-size: 0.92rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.uke-facts-list li:last-child {
	border-bottom: none;
}

.uke-facts-list li strong {
	color: #1E293B;
	font-weight: 700;
}

.uke-facts-list li span {
	color: #475569;
}

/* ── TAB 2: DIRECTIONS STYLES (ALL DIRECTIONS ON SAME PAGE) ─────────── */
.uke-directions-header {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 1.8rem;
	margin-bottom: 2rem;
	border-left: 5px solid var(--uke-primary, #D32F2F);
}

.uke-directions-title {
	font-size: 1.6rem;
	font-weight: 900;
	color: var(--uke-secondary, #1A365D);
	margin: 0 0 0.2rem 0;
}

.uke-directions-sub {
	font-family: 'Inter', sans-serif;
	font-size: 1.05rem;
	color: var(--uke-primary, #D32F2F);
	font-weight: 600;
	margin-bottom: 0.8rem;
}

.uke-directions-intro {
	font-size: 0.95rem;
	color: #475569;
	margin: 0;
}

/* Starting Points Stack */
.uke-starting-points-stack {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.uke-starting-point-card {
	background: #FFFFFF;
	border: 1px solid #CBD5E1;
	border-radius: 12px;
	display: grid;
	grid-template-columns: 240px 1fr 300px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uke-starting-point-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.08);
	border-color: #94A3B8;
}

.uke-sp-media {
	position: relative;
	height: 100%;
	min-height: 200px;
}

.uke-sp-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.uke-sp-map-preview {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 220px;
	background: #E2E8F0;
	border-left: 1px solid #CBD5E1;
}

.uke-sp-map-preview iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.uke-sp-map-badge {
	position: absolute;
	bottom: 8px;
	left: 8px;
	right: 8px;
	background: rgba(15, 23, 42, 0.88);
	backdrop-filter: blur(8px);
	color: #FFFFFF;
	border-radius: 6px;
	padding: 0.4rem 0.65rem;
	font-size: 0.76rem;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
}

.uke-sp-map-link {
	background: var(--uke-primary, #D32F2F);
	color: #FFFFFF;
	text-decoration: none;
	padding: 0.25rem 0.55rem;
	border-radius: 4px;
	font-size: 0.74rem;
	font-weight: 700;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.uke-sp-map-link:hover {
	background: #B71C1C;
	color: #FFFFFF;
}

.uke-sp-num-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--uke-primary, #D32F2F);
	color: #FFFFFF;
	font-weight: 800;
	font-size: 0.85rem;
	padding: 0.25rem 0.65rem;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.uke-sp-details {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.uke-sp-title {
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--uke-secondary, #1A365D);
	margin: 0 0 0.75rem 0;
}

.uke-sp-meta-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.uke-pill-dist, .uke-pill-time {
	background: #F1F5F9;
	color: #1E293B;
	border: 1px solid #E2E8F0;
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	font-size: 0.88rem;
	font-weight: 700;
}

.uke-sp-desc {
	font-size: 0.95rem;
	color: #334155;
	line-height: 1.6;
	margin: 0 0 1.2rem 0;
}

.uke-sp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.uke-btn-directions {
	background: #0284C7;
	color: #FFFFFF;
	font-weight: 700;
	font-size: 0.9rem;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.uke-btn-directions:hover {
	background: #0369A1;
	color: #FFFFFF;
}

.uke-btn-routemap {
	background: #F8FAFC;
	color: #334155;
	border: 1px solid #CBD5E1;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.uke-btn-routemap:hover {
	background: #E2E8F0;
	color: #0F172A;
}

/* Route Map Section */
.uke-route-map-block {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 1.8rem;
	box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.uke-map-sec-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--uke-secondary, #1A365D);
	margin: 0 0 0.3rem 0;
}

.uke-map-sec-sub {
	font-size: 0.95rem;
	color: #64748B;
	margin-bottom: 1.2rem;
}

.uke-map-embed-wrapper {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #CBD5E1;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	margin-bottom: 1.2rem;
}

.uke-map-footer {
	text-align: right;
}

.uke-btn-gmaps-link {
	display: inline-block;
	background: var(--uke-primary, #D32F2F);
	color: #FFFFFF;
	font-weight: 700;
	font-size: 0.92rem;
	padding: 0.65rem 1.3rem;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s ease;
}

.uke-btn-gmaps-link:hover {
	background: #B71C1C;
	color: #FFFFFF;
}

/* ── TAB 3 & 4: NEARBY & GALLERY STYLES ─────────────────────────────── */
.uke-section-header {
	margin-bottom: 1.8rem;
}

.uke-sec-title-hi {
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--uke-secondary, #1A365D);
	margin: 0 0 0.3rem 0;
}

.uke-sec-intro {
	font-size: 0.98rem;
	color: #64748B;
	margin: 0;
}

.uke-nearby-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
}

.uke-route-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.25rem;
}

.uke-gallery-item {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.uke-gallery-item img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.uke-gallery-item:hover img {
	transform: scale(1.04);
}

.uke-gallery-caption {
	padding: 0.75rem 1rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: #334155;
	background: #FFFFFF;
	text-align: center;
}

/* ── RESPONSIVE DESIGN ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
	.uke-starting-point-card {
		grid-template-columns: 200px 1fr 240px;
	}
}

@media (max-width: 991px) {
	.uke-place-hero-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.uke-place-main-img {
		height: 250px;
	}

	.uke-place-overview-grid {
		grid-template-columns: 1fr;
	}

	.uke-facts-card {
		position: static;
		max-height: none;
	}

	.uke-starting-point-card {
		grid-template-columns: 1fr;
	}

	.uke-sp-media {
		height: 180px;
	}

	.uke-sp-map-preview {
		height: 200px;
		border-left: none;
		border-top: 1px solid #CBD5E1;
	}
}

@media (max-width: 768px) {
	.uke-place-tabs-nav {
		justify-content: flex-start;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
	.uke-place-tab-btn {
		padding: 0.4rem 0.95rem;
		font-size: 0.82rem;
	}
}

@media (max-width: 576px) {
	.uke-place-title-hi {
		font-size: 1.8rem;
	}

	.uke-place-tabs-nav {
		justify-content: flex-start;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}

	.uke-place-tab-btn {
		padding: 0.38rem 0.9rem;
		font-size: 0.82rem;
	}
}

@media (max-width: 480px) {
	.uke-place-tab-btn {
		padding: 0.35rem 0.85rem;
		font-size: 0.8rem;
	}
}

	.uke-sp-details {
		padding: 1rem;
	}

	.uke-sp-actions {
		flex-direction: column;
	}

	.uke-btn-directions, .uke-btn-routemap {
		text-align: center;
		width: 100%;
	}
}


/* Fares Box Styling inside Starting Point Cards */
.uke-sp-fares-box {
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	padding: 0.85rem 1rem;
	margin-top: 0.85rem;
	margin-bottom: 0.85rem;
}

.uke-fares-header {
	margin-bottom: 0.5rem;
}

.uke-fares-title {
	font-size: 0.82rem;
	font-weight: 700;
	color: #334155;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.uke-fares-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.65rem;
}

.uke-fare-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	padding: 0.5rem 0.7rem;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.uke-fare-item:hover {
	border-color: #CBD5E1;
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.uke-fare-item.fare-private {
	border-left: 3.5px solid #EAB308;
}

.uke-fare-item.fare-shared {
	border-left: 3.5px solid #2563EB;
}

.uke-fare-item.fare-bus {
	border-left: 3.5px solid #16A34A;
}

.uke-fare-icon {
	font-size: 1.2rem;
	line-height: 1;
}

.uke-fare-info {
	display: flex;
	flex-direction: column;
}

.uke-fare-type {
	font-size: 0.72rem;
	color: #64748B;
	font-weight: 500;
	line-height: 1.2;
}

.uke-fare-val {
	font-size: 0.85rem;
	color: #0F172A;
	font-weight: 700;
	margin-top: 2px;
}

@media (max-width: 992px) {
	.uke-fares-grid {
		grid-template-columns: 1fr;
	}
}
