/* ── Immi Guide v1.5 — ImmiBox brand style ───────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Fixed header for help/guide pages ─────────────────────────────────────
   Matches: body.help-page header { position:fixed; background:gradient }
   ────────────────────────────────────────────────────────────────────────── */
body.help-page header {
	background: transparent linear-gradient(346deg, #e9e9f5 0%, #ffffff 100%) 0% 0% no-repeat padding-box !important;
	position: fixed !important;
	top: 0 !important;
	width: 100% !important;
	z-index: 99 !important;
}

/* ── Top-level layout ────────────────────────────────────────────────────── */
.help-guid {
	padding: 75px 0 0;
}
body.help-page .help-guid .container {
	max-width: 1320px;
}
.wrapper .container {
	max-width: 95%;
}
.help-guid .container .row {
	margin-left: 0;
	margin-right: 0;
}
.help-guid .help-guid-section {
	display: flex !important;
	gap: 6px !important;
	align-items: flex-start;
}

/* ══════════════════════════════════════════════════════════════════════════
   COL 1 — Left sidebar: all guides
   ══════════════════════════════════════════════════════════════════════════ */

.help-guid .help-guid-section .left-listitem {
	max-width: 25%;
	flex-shrink: 0;
	padding-right: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	position: sticky;
	top: 75px;
	height: calc(100vh - 75px);
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin;
	scrollbar-color: rgba(14,29,72,0.15) transparent;
}
.help-guid .help-guid-section .left-listitem::-webkit-scrollbar { width: 4px; }
.help-guid .help-guid-section .left-listitem::-webkit-scrollbar-thumb {
	background: rgba(14,29,72,0.15);
	border-radius: 2px;
}

/* Accordian container */
.help-guid .help-guid-section .left-listitem .accordian-container {
	padding-left: 12px;
	padding-right: 12px;
	padding-bottom: 40px;
	list-style: none;
	margin: 0;
}

/* Individual guide item */
.help-guid .help-guid-section .left-listitem .accordian-container .accordian {
	padding-bottom: 0;
	margin-bottom: 6px;
	padding-left: 24px;
	position: relative;
}
/* Bullet dot */
.help-guid .help-guid-section .left-listitem .accordian-container .accordian::before {
	content: '';
	width: 6px;
	height: 6px;
	display: block;
	background: rgba(14,29,72,0.4);
	position: absolute;
	left: 10px;
	top: 7px;
	border-radius: 50%;
	min-width: 6px;
}

/* Category title row */
.help-guid .help-guid-section .left-listitem .accordian-container .accordian.category-title {
	padding-left: 0;
	padding-top: 16px;
	margin-bottom: 4px;
}
.help-guid .help-guid-section .left-listitem .accordian-container .accordian.category-title::before {
	display: none;
}
.accordian.category-title h4,
.help-guid .help-guid-section .left-listitem .accordian-container .accordian.category-title .accordian-head h4 {
	font-size: 14px;
	font-weight: 700;
	color: #0e1d48;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	margin: 0;
}

/* Guide link */
.help-guid .help-guid-section .left-listitem .accordian-head h4 {
	margin: 0;
}
.help-guid .help-guid-section .left-listitem .accordian-head h4 a {
	font-size: 13px;
	color: #374151;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	text-decoration: none !important;
	line-height: 1.5;
	display: block;
	transition: color 0.15s;
}
.help-guid .help-guid-section .left-listitem .accordian-head h4 a:hover {
	color: #0e1d48;
}
/* Active (current) guide */
.help-guid .help-guid-section .left-listitem .accordian-head.active h4 a {
	color: #e50019;
	font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════════
   COL 2+3 — Right content wrapper
   ══════════════════════════════════════════════════════════════════════════ */

.help-guid .help-guid-section .right-content {
	flex: 1;
	min-width: 0;
	max-width: 75%;
	padding-left: 0;
}

/* Updated date label */
.help-guid .help-guid-section .right-content .updated-date,
.right-content .updated-date {
	display: block;
	padding: 16px 24px 0;
	margin-bottom: 10px;
	font-size: 12px;
	color: #9CA3AF;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Content padding */
.help-guid .help-guid-section .right-content .content {
	padding-left: 24px;
	padding-right: 24px;
}

/* Guide title */
.content > h2 {
	margin-top: 0;
	margin-bottom: 12px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: 22px;
	color: #0e1d48;
	line-height: 1.3;
}

/* Inner flex: TOC sidebar + main */
.right-content-inner {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

/* ══════════════════════════════════════════════════════════════════════════
   COL 2 — TOC sidebar ("In this guide")
   ══════════════════════════════════════════════════════════════════════════ */

.right-content-sidebar {
	flex-shrink: 0;
	width: 200px;
	position: sticky;
	top: 90px;
	background: #fafafa;
	border-radius: 10px;
	padding: 18px 14px;
	max-height: calc(100vh - 110px);
	overflow-y: auto;
	border: 1px solid rgba(14,29,72,0.06);
	scrollbar-width: thin;
	scrollbar-color: rgba(14,29,72,0.15) transparent;
}
.right-content-sidebar::-webkit-scrollbar { width: 4px; }
.right-content-sidebar::-webkit-scrollbar-thumb {
	background: rgba(14,29,72,0.15);
	border-radius: 2px;
}

/* "In this guide" heading */
.right-content-sidebar h4 {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(14,29,72,0.6);
	margin: 0 0 14px 0;
	padding: 0 0 10px 0;
	border-bottom: 1px solid rgba(14,29,72,0.08);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* TOC list */
.right-content-sidebar ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.right-content-sidebar li {
	margin-bottom: 2px;
	list-style: none !important;
}
.right-content-sidebar a,
.right-content-sidebar a.ig-toc-link {
	display: block;
	padding: 7px 10px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: #4a4d5a;
	text-decoration: none !important;
	border-radius: 6px;
	transition: background 0.18s ease, color 0.18s ease;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.right-content-sidebar a:hover {
	background: rgba(14,29,72,0.04);
	color: #0e1d48;
}
.right-content-sidebar a.active {
	background: rgba(229,0,25,0.06) !important;
	color: #e50019 !important;
	font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════════
   COL 3 — Main content (video + sections)
   ══════════════════════════════════════════════════════════════════════════ */

.right-content-main {
	flex: 1;
	min-width: 0;
}

/* ── Video ─────────────────────────────────────────────────────────────────── */
.guidde-video-wrap {
	margin: 0 0 28px 0;
	border-radius: 12px;
	overflow: hidden;
	background: #0a0a0a;
	max-width: 100%;
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.guidde-video-wrap video {
	display: block;
	width: 100%;
	max-height: 450px;
}

/* ── Overview intro ───────────────────────────────────────────────────────── */
.guidde-intro {
	margin-top: 0;
	margin-bottom: 24px;
}
.guidde-intro-title {
	margin: 0 0 8px 0 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #0e1d48 !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	cursor: default;
}
.guidde-intro-body,
.guidde-intro p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #4a4d5a;
}

/* ── Sections ─────────────────────────────────────────────────────────────── */
.guidde-section {
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-bottom: 1px solid rgba(14,29,72,0.06);
}
.guidde-section:last-child {
	border-bottom: none;
}

/* Clickable heading */
.guidde-section h3 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	letter-spacing: -0.01em;
	color: #0e1d48;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	transition: color 0.18s ease;
	display: inline-block;
}
.guidde-section h3:hover {
	color: #e50019;
}

/* Section body text */
.guidde-section p {
	margin: 0 0 12px 0;
	font-size: 15px;
	line-height: 1.6;
	color: #4a4d5a;
	font-weight: 400;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Screenshots */
.guidde-section .ig-screenshot,
.help-guid .help-guid-section .right-content .content .guidde-section img {
	width: 100%;
	max-width: 100% !important;
	border-radius: 10px;
	border: 1px solid rgba(14,29,72,0.08);
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	margin: 18px 0 0 0;
	cursor: pointer;
	display: block;
}
.ig-screenshot-hint {
	display: block;
	font-size: 10px;
	color: #9CA3AF;
	margin-top: 4px;
	font-style: italic;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Misc */
.ig-no-content {
	padding: 40px;
	text-align: center;
	color: #9CA3AF;
	font-size: 14px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
/* Reset any inherited list bullets in content */
.help-guid .help-guid-section .right-content .content li {
	list-style-type: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════════════════════════ */

.ig-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0,0,0,0.88);
	align-items: center;
	justify-content: center;
	cursor: zoom-out;
}
/* JS adds .open class to show */
.ig-lightbox.open {
	display: flex !important;
}
.ig-lightbox img {
	max-width: 82vw;
	max-height: 82vh;
	border-radius: 8px;
	box-shadow: 0 8px 40px rgba(0,0,0,0.5);
	display: block;
	cursor: default;
	transition: opacity 0.18s ease;
}
.ig-lightbox-close {
	position: fixed;
	top: 20px;
	right: 24px;
	font-size: 30px;
	line-height: 1;
	color: #fff;
	background: none;
	border: none;
	cursor: pointer;
	opacity: 0.85;
	z-index: 1000000;
	padding: 4px 8px;
}
.ig-lightbox-close:hover {
	opacity: 1;
}

/* Slideshow prev/next buttons */
.ig-lb-nav {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	font-size: 52px;
	line-height: 1;
	color: #fff;
	background: rgba(0,0,0,0.28);
	border: none;
	cursor: pointer;
	padding: 8px 18px;
	border-radius: 8px;
	z-index: 1000000;
	opacity: 0.85;
	transition: opacity 0.18s, background 0.18s;
	user-select: none;
}
.ig-lb-nav:hover {
	opacity: 1;
	background: rgba(0,0,0,0.5);
}
.ig-lb-nav:disabled {
	opacity: 0.2;
	cursor: default;
}
.ig-lb-prev { left: 18px; }
.ig-lb-next { right: 18px; }

/* Counter: "3 / 10" */
.ig-lb-counter {
	position: fixed;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,0.65);
	font-size: 13px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	letter-spacing: 0.04em;
	pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
	.right-content-inner {
		flex-direction: column;
	}
	.right-content-sidebar {
		width: 100%;
		position: static;
		max-height: none;
		overflow-y: visible;
	}
}

@media (max-width: 768px) {
	.help-guid .help-guid-section {
		flex-direction: column !important;
	}
	.help-guid .help-guid-section .left-listitem {
		max-width: 100%;
		width: 100%;
		position: static;
		height: auto;
		overflow-y: visible;
		border-bottom: 1px solid rgba(14,29,72,0.08);
		padding-bottom: 12px;
	}
	.help-guid .help-guid-section .right-content {
		max-width: 100%;
	}
	.help-guid {
		padding-top: 65px;
	}
	.guidde-video-wrap video {
		max-height: 240px;
	}
	.help-guid .help-guid-section .right-content .content {
		padding-left: 14px;
		padding-right: 14px;
	}
}
