/**
 * Interactive guide styles.
 *
 * @package Explore864
 */

.explore864-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: rgba(27, 77, 62, 0.12);
	z-index: 100;
	pointer-events: none;
}

.explore864-reading-progress__bar {
	height: 100%;
	width: 0;
	background: var(--explore864-color-secondary, #c45c26);
	transition: width 0.1s linear;
}

.explore864-guide-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem 2rem;
	align-items: start;
}

.explore864-guide-toc {
	position: sticky;
	top: 5rem;
	background: #fff;
	border: 1px solid var(--explore864-color-border, #d9d4cb);
	border-radius: var(--explore864-radius, 6px);
	padding: 1rem;
}

.explore864-guide-toc__title {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--explore864-color-muted, #5c5c5c);
}

.explore864-guide-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.explore864-guide-toc__item a {
	display: block;
	padding: 0.35rem 0;
	text-decoration: none;
	color: var(--explore864-color-primary, #0f3d4e);
	font-weight: 600;
	font-size: 0.9rem;
}

.explore864-guide-toc__item--child a {
	padding-left: 0.75rem;
	font-weight: 500;
	font-size: 0.85rem;
}

.explore864-guide-toc__select {
	width: 100%;
	margin: 0.75rem 0;
	padding: 0.5rem;
	border: 1px solid var(--explore864-color-border, #d9d4cb);
	border-radius: var(--explore864-radius, 6px);
}

.explore864-guide-section-nav {
	background: var(--explore864-color-surface, #f7f5f0);
	border-bottom: 1px solid var(--explore864-color-border, #d9d4cb);
	overflow-x: auto;
}

.explore864-guide-section-nav__list {
	display: flex;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0.5rem 1rem;
	max-width: 1200px;
	margin-inline: auto;
}

.explore864-guide-section-nav__list a {
	white-space: nowrap;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
	color: var(--explore864-color-muted, #5c5c5c);
	padding: 0.25rem 0.5rem;
	border-radius: 999px;
}

.explore864-guide-section-nav__list a.is-active {
	background: #fff;
	color: var(--explore864-color-primary, #0f3d4e);
}

.explore864-guide-verified {
	display: inline-block;
	background: var(--explore864-color-surface, #f7f5f0);
	border-radius: var(--explore864-radius, 6px);
	padding: 0.35rem 0.65rem;
	font-size: 0.85rem;
}

.explore864-guide-checklist__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.explore864-guide-checklist__item {
	display: flex;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--explore864-color-border, #d9d4cb);
}

.explore864-guide-listings__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

.explore864-guide-listing-card {
	background: #fff;
	border: 1px solid var(--explore864-color-border, #d9d4cb);
	border-radius: var(--explore864-radius, 6px);
	padding: 0.75rem;
}

.explore864-guide-listing-card__title {
	font-weight: 600;
	color: var(--explore864-color-primary, #0f3d4e);
	text-decoration: none;
}

.explore864-guide-map__canvas iframe {
	width: 100%;
	height: 280px;
	border: 0;
	border-radius: var(--explore864-radius, 6px);
}

.explore864-guide-map__pins {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
}

.explore864-guide-map__pins a {
	font-weight: 600;
}

.explore864-guide-completion {
	background: var(--explore864-color-surface, #f7f5f0);
	border-radius: var(--explore864-radius, 6px);
	padding: 1.25rem;
	margin: 2rem 0;
	text-align: center;
}

.explore864-guide-series-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.explore864-guide-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.explore864-guide-filters select {
	padding: 0.45rem 0.65rem;
	border: 1px solid var(--explore864-color-border, #d9d4cb);
	border-radius: var(--explore864-radius, 6px);
}

@media (max-width: 900px) {
	.explore864-guide-layout {
		grid-template-columns: 1fr;
	}

	.explore864-guide-toc--desktop {
		display: none;
	}
}

@media (min-width: 901px) {
	.explore864-guide-toc__select {
		display: none;
	}
}
