/*============
	Help article
============ */
.help-article {
	margin: 2rem auto 4rem;
}

.help-article__hero {
	position: relative;
	background: var(--primary-black);
	border-radius: 20px;
	overflow: hidden;
	padding: 2.5rem 2rem 3.5rem;
	box-shadow: var(--shadow-body);
}

.help-article__hero::before {
	content: "";
	position: absolute;
	top: -240px;
	left: 50%;
	transform: translateX(-50%);
	width: 900px;
	height: 520px;
	background: rgba(var(--primary-accent-rgb), 0.08);
	filter: blur(120px);
	border-radius: 999px;
}

.help-article__hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	font-family: "Inter", var(--font-ui);
}



.help-article__breadcrumb {
	margin-bottom: 2rem;
	font-size: 0.9rem;
	color: var(--text-muted);
}

/* Reset list + force center alignment */
.help-article__breadcrumb ol {
	list-style: none;
	display: flex;
	align-items: center;
	row-gap: 0.4rem;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
}

/* Every breadcrumb item sits on the same center line */
.help-article__breadcrumb li {
	display: flex;
	align-items: center;
	line-height: 1;
	white-space: nowrap;
}

/* Links */
.help-article__breadcrumb a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--text-muted);
	line-height: 1;
	text-decoration: none;
}

/* Hover */
.help-article__breadcrumb a:hover {
	color: var(--primary-accent);
}

/* Icons / SVGs / icon fonts */
.help-article__breadcrumb svg,
.help-article__breadcrumb i,
.help-article__breadcrumb .material-symbols-outlined {
	display: block;
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
	flex-shrink: 0;
}

/* Breadcrumb separators (› / > / / etc) */
.help-article__breadcrumb .breadcrumb-separator {
	display: flex;
	align-items: center;
	line-height: 1;
	color: var(--text-muted);
	user-select: none;
}

/* Optical baseline correction (tiny but important) */
.help-article__breadcrumb a,
.help-article__breadcrumb .breadcrumb-separator {
	transform: translateY(-0.5px);
}


.help-article__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 2.5rem;
}

.help-article__header h1 {
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 800;
	margin-bottom: 1rem;
}

.help-article__meta {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	color: var(--text-muted);
	font-size: 0.9rem;
}

.help-article__meta span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.help-article__video {
	margin-top: 1.5rem;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--secondary-teal);
	box-shadow: var(--shadow-soft);
	background: var(--deep-green);
}

.help-article__video-frame {
	position: relative;
	padding-top: 56.25%;
}

.help-article__video-frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.help-article__content {
	margin-top: 2rem;
	background: var(--deep-green);
	border: 1px solid var(--secondary-teal);
	border-radius: 16px;
	padding: 2rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.7;
	box-shadow: var(--shadow-soft);
}

.help-article__content h2,
.help-article__content h3 {
	color: var(--text-light);
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.help-article__content a {
	color: var(--primary-accent);
}

.help-article__content a:hover {
	color: var(--primary-accent-hover);
}

.help-article__content ul,
.help-article__content ol {
	padding-left: 1.5rem;
}

.help-article__content iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	margin: 1.5rem 0;
}

.help-article__feedback {
	margin-top: 2rem;
	background: var(--deep-green);
	border: 1px solid var(--secondary-teal);
	border-radius: 16px;
	padding: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.help-article__feedback-actions {
	display: flex;
	gap: 0.75rem;
}

.help-article__feedback-actions button {
	background: var(--primary-black);
	border: 1px solid var(--secondary-teal);
	color: var(--text-muted);
	padding: 0.5rem 1rem;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	transition: var(--transition);
	cursor: pointer;
}

.help-article__feedback-actions button.is-active {
	border-color: var(--primary-accent);
	color: var(--primary-accent);
}

.help-article__feedback-actions button:hover {
	border-color: var(--primary-accent);
	color: var(--primary-accent);
}

.help-article__feedback-status {
	margin-top: 0.75rem;
	color: var(--text-muted);
	font-size: 0.85rem;
}

.help-article__feedback-locked a {
	color: var(--primary-accent);
	font-weight: 600;
}

.help-article__related {
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--secondary-teal);
}

.help-article__related h2 {
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
}

.help-article__related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.25rem;
}

.help-article__related-card {
	display: block;
	background: var(--deep-green);
	border: 1px solid var(--secondary-teal);
	border-radius: 14px;
	padding: 1.5rem;
	transition: transform 0.2s ease, border 0.2s ease;
}

.help-article__related-card:hover {
	transform: translateY(-3px);
	border-color: rgba(var(--primary-accent-rgb), 0.5);
}

.help-article__related-card-header {
	display: flex;
	justify-content: flex-end;
	color: var(--text-muted);
}

.help-article__related-card h3 {
	margin: 0.75rem 0 0.5rem;
	color: var(--text-light);
}

.help-article__related-card p {
	color: var(--text-muted);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.help-article__aside {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.help-article__search,
.help-article__toc {
	background: var(--deep-green);
	border: 1px solid var(--secondary-teal);
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
}

.help-article__search h3,
.help-article__toc h3 {
	margin-bottom: 1rem;
	font-size: 1rem;
}

.help-article__search form {
	position: relative;
}

.help-article__search span {
	position: absolute;
	left: 0.8rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-muted);
}

.help-article__search input {
	width: 100%;
	background: var(--primary-black);
	border: 1px solid var(--secondary-teal);
	border-radius: 10px;
	padding: 0.55rem 0.75rem 0.55rem 2.5rem;
	color: var(--text-light);
}

.help-article__search input:focus {
	outline: none;
	border-color: var(--primary-accent);
	box-shadow: 0 0 0 1px rgba(var(--primary-accent-rgb), 0.35);
}

.help-article__toc ul {
	list-style: none;
	margin: 0;
	padding: 0 0 0 0.75rem;
	border-left: 1px solid var(--secondary-teal);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.help-article__toc a {
	color: var(--text-muted);
	font-size: 0.9rem;
}

.help-article__toc a:hover {
	color: var(--primary-accent);
}

.help-article__support {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--secondary-teal);
}

.help-article__support a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	background: var(--primary-accent);
	color: var(--text-light);
	padding: 0.7rem 1rem;
	border-radius: 10px;
	font-weight: 700;
}

.help-article__support a:hover {
	background: var(--primary-accent-hover);
}

@media (max-width: 1024px) {
	.help-article__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.help-article__hero {
		padding: 2rem 1.25rem 3rem;
	}
}

@media (max-width: 640px) {
	.help-article__breadcrumb {
		font-size: 0.85rem;
	}
}
