/* Grampsaid Guides Index , adapted from the blog.html design language
   (Cormorant Garamond + DM Sans, deep navy/blue, grain texture).
   Scoped under #ga-root-gsq7f3k, isolated from theme CSS the same way
   the single-guide template is: all:revert reset, unique suffixed
   classes, no CSS custom properties relied upon for inheritance. */

#ga-root-gsq7f3k,
#ga-root-gsq7f3k * {
	all: revert;
	box-sizing: border-box;
}

#ga-root-gsq7f3k {
	position: relative;
	display: block;
	background: #060D1F;
	color: #EFF6FF;
	font-family: 'DM Sans', -apple-system, sans-serif;
	overflow-x: hidden;
}

#ga-root-gsq7f3k::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 1;
}

/* Hero */
#ga-root-gsq7f3k .ga-hero {
	position: relative;
	padding: clamp(80px, 12vw, 160px) clamp(20px, 6vw, 64px) clamp(50px, 8vw, 80px);
	text-align: center;
	overflow: hidden;
}
#ga-root-gsq7f3k .ga-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 70% at 50% 40%, rgba(188,223,255,0.06), transparent 70%),
		radial-gradient(ellipse 30% 40% at 20% 80%, rgba(188,223,255,0.03), transparent 60%);
	pointer-events: none;
}
#ga-root-gsq7f3k .ga-hero-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(188,223,255,0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(188,223,255,0.025) 1px, transparent 1px);
	background-size: 80px 80px;
	mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 20%, transparent 100%);
}
#ga-root-gsq7f3k .ga-breadcrumbs {
	display: block;
	font-size: 12px;
	color: #4A6280;
	margin-bottom: 24px;
	position: relative;
}
#ga-root-gsq7f3k .ga-breadcrumbs a {
	color: #8AAEC8;
	text-decoration: none;
}
#ga-root-gsq7f3k .ga-breadcrumbs a:hover {
	color: #BCDFFF;
	text-decoration: underline;
}
#ga-root-gsq7f3k .ga-breadcrumbs span {
	color: #4A6280;
}

#ga-root-gsq7f3k .ga-tag {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: #7BB8E8;
	margin-bottom: 20px;
	position: relative;
}
#ga-root-gsq7f3k .ga-tag::before,
#ga-root-gsq7f3k .ga-tag::after {
	content: '';
	display: block;
	width: 40px;
	height: 1px;
	background: #2A4A6B;
}
#ga-root-gsq7f3k .ga-h1 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(38px, 5.5vw, 72px);
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -1.5px;
	color: #EFF6FF;
	margin-bottom: 20px;
	position: relative;
}
#ga-root-gsq7f3k .ga-h1 em {
	font-style: italic;
	color: #BCDFFF;
}
#ga-root-gsq7f3k .ga-sub {
	font-size: 15px;
	font-weight: 300;
	color: #4A6280;
	max-width: 520px;
	margin: 0 auto 40px;
	line-height: 1.8;
	position: relative;
}

/* Search */
#ga-root-gsq7f3k .ga-search-wrap {
	position: relative;
	max-width: 480px;
	margin: 0 auto;
}
#ga-root-gsq7f3k .ga-search-input {
	width: 100%;
	background: rgba(188,223,255,0.04);
	border: 1px solid rgba(188,223,255,0.15);
	color: #EFF6FF;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	padding: 14px 20px;
	outline: none;
}
#ga-root-gsq7f3k .ga-search-input::placeholder {
	color: #4A6280;
}
#ga-root-gsq7f3k .ga-search-input:focus {
	border-color: rgba(188,223,255,0.4);
}
#ga-root-gsq7f3k .ga-search-suggestions {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 4px;
	background: #0A1428;
	border: 1px solid rgba(188,223,255,0.15);
	z-index: 20;
	text-align: left;
}
#ga-root-gsq7f3k .ga-search-suggestions.active {
	display: block;
}
#ga-root-gsq7f3k .ga-suggestion {
	display: block;
	padding: 12px 18px;
	color: #8AAEC8;
	text-decoration: none;
	font-size: 13px;
	border-bottom: 1px solid rgba(188,223,255,0.06);
}
#ga-root-gsq7f3k .ga-suggestion:last-child {
	border-bottom: none;
}
#ga-root-gsq7f3k .ga-suggestion:hover {
	background: rgba(188,223,255,0.04);
	color: #BCDFFF;
}

/* Divider */
#ga-root-gsq7f3k .ga-div {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(20px, 6vw, 64px);
	position: relative;
}
#ga-root-gsq7f3k .ga-div-line {
	flex: 1;
	height: 1px;
	background: linear-gradient(to right, transparent, rgba(188,223,255,0.12), transparent);
}
#ga-root-gsq7f3k .ga-div-gem {
	width: 6px;
	height: 6px;
	background: #7BB8E8;
	transform: rotate(45deg);
}

/* Layout: sidebar tree + main content, single column on mobile */
#ga-root-gsq7f3k .ga-layout {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 64px) 120px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	position: relative;
}
@media (min-width: 900px) {
	#ga-root-gsq7f3k .ga-layout {
		grid-template-columns: 280px 1fr;
	}
	#ga-root-gsq7f3k .ga-sidebar {
		order: -1;
	}
}

#ga-root-gsq7f3k .ga-section {
	margin-bottom: clamp(40px, 6vw, 64px);
}
#ga-root-gsq7f3k .ga-section-label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #7BB8E8;
	margin-bottom: 28px;
}

#ga-root-gsq7f3k .ga-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}
#ga-root-gsq7f3k .ga-card {
	display: block;
	background: rgba(188,223,255,0.02);
	border: 1px solid rgba(188,223,255,0.08);
	padding: 20px;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}
#ga-root-gsq7f3k .ga-card:hover {
	border-color: rgba(188,223,255,0.25);
	background: rgba(188,223,255,0.04);
}
#ga-root-gsq7f3k .ga-card-thumb img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 14px;
}
#ga-root-gsq7f3k .ga-card-pillar {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #4A6280;
	margin-bottom: 8px;
}
#ga-root-gsq7f3k .ga-card-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 19px;
	font-weight: 400;
	color: #EFF6FF;
	line-height: 1.3;
}

#ga-root-gsq7f3k .ga-empty {
	color: #4A6280;
	font-size: 14px;
	padding: 20px 0;
}

/* Sidebar tree */
#ga-root-gsq7f3k .ga-sidebar-label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #7BB8E8;
	margin-bottom: 20px;
}
#ga-root-gsq7f3k .ga-tree-branch {
	border-bottom: 1px solid rgba(188,223,255,0.08);
	padding: 14px 0;
}
#ga-root-gsq7f3k .ga-tree-branch summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
	color: #BCDFFF;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
#ga-root-gsq7f3k .ga-tree-branch summary::-webkit-details-marker {
	display: none;
}
#ga-root-gsq7f3k .ga-tree-branch summary::after {
	content: '+';
	color: #4A6280;
}
#ga-root-gsq7f3k .ga-tree-branch[open] summary::after {
	content: '\2212';
}
#ga-root-gsq7f3k .ga-tree-count {
	color: #4A6280;
	font-size: 11px;
	font-weight: 400;
}
#ga-root-gsq7f3k .ga-tree-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
#ga-root-gsq7f3k .ga-tree-list li {
	margin-bottom: 8px;
}
#ga-root-gsq7f3k .ga-tree-list a {
	color: #8AAEC8;
	text-decoration: none;
	font-size: 13px;
	line-height: 1.5;
}
#ga-root-gsq7f3k .ga-tree-list a:hover {
	color: #BCDFFF;
	text-decoration: underline;
}

@media (max-width: 640px) {
	#ga-root-gsq7f3k .ga-card-grid {
		grid-template-columns: 1fr;
	}
}
