/* Black and #00ff00 only. Layout follows a sidebar + feed pattern. */
.arg-guide {
	--arg-green: #00ff00;
	--arg-dim: #00c800;
	--arg-black: #000;
	--arg-line: rgba(0, 255, 0, 0.4);
	display: grid;
	grid-template-columns: 17rem minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	background: var(--arg-black);
	padding: 1.5rem 0;
	margin: 2em 0;
}

.arg-guide.arg-nofilters {
	grid-template-columns: minmax(0, 1fr);
}

.arg-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.arg-guide [hidden] {
	display: none !important;
}

/* Sidebar */
.arg-side {
	position: sticky;
	top: 1.5rem;
}

.arg-filters {
	border: 1px solid var(--arg-line);
	border-radius: 10px;
	padding: 1.1rem;
}

.arg-guide .arg-filters-title {
	margin: 0 0 1rem;
	font-size: 1rem;
	line-height: 1.2;
}

.arg-guide .arg-label {
	display: block;
	margin: 0 0 0.4rem;
	padding: 0;
	font-size: 0.75rem;
	font-weight: 700;
}

.arg-guide .arg-input {
	width: 100%;
	padding: 0.6em 0.75em;
	margin: 0 0 1.1rem;
	border: 1px solid var(--arg-line);
	border-radius: 8px;
	background: var(--arg-black);
	font: inherit;
	font-size: 0.8125rem;
	box-sizing: border-box;
	box-shadow: none;
}

.arg-guide .arg-input:focus {
	outline: 2px solid var(--arg-green);
	outline-offset: 1px;
}

.arg-cats {
	border: 0;
	margin: 0 0 1rem;
	padding: 0;
	min-width: 0;
}

.arg-check {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.45rem;
	font-size: 0.8125rem;
	cursor: pointer;
}

.arg-check input {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	margin: 0;
	border: 1px solid #00ff00;
	border-radius: 3px;
	background: #000;
	cursor: pointer;
}

.arg-check input:checked {
	background: #00ff00;
	box-shadow: inset 0 0 0 3px #000;
}

.arg-check input:focus-visible {
	outline: 2px solid #00ff00;
	outline-offset: 2px;
}

.arg-guide .arg-clear {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 0.75rem;
	text-decoration: underline;
	cursor: pointer;
}

/* Feed */
.arg-main {
	min-width: 0;
}

.arg-guide .arg-count-heading {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1rem;
	font-size: 1.0625rem;
	line-height: 1.2;
}

.arg-count {
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 0.2em 0.6em;
	border-radius: 999px;
	background: var(--arg-green);
	color: var(--arg-black);
}

.arg-disclosure {
	font-size: 0.8125rem;
	margin: 0 0 1rem;
}

/* Call to action */
.arg-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border: 2px dashed var(--arg-green);
	border-radius: 10px;
	padding: 1.1rem 1.25rem;
	margin: 0 0 1rem;
}

.arg-cta-text {
	flex: 1 1 18rem;
	min-width: 0;
}

.arg-guide .arg-cta-eyebrow {
	margin: 0 0 0.25rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.arg-guide .arg-cta-title {
	margin: 0 0 0.35rem;
	font-size: 1.125rem;
	line-height: 1.2;
}

.arg-guide .arg-cta-copy {
	margin: 0;
	max-width: 32rem;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--arg-dim);
}

.arg-guide .arg-cta-button {
	display: inline-block;
	padding: 0.7em 1.3em;
	border-radius: 8px;
	background: var(--arg-green);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

/* Cards */
.arg-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.arg-card {
	position: relative;
	background: var(--arg-black);
	border: 1px solid var(--arg-line);
	border-radius: 10px;
	padding: 1rem 1.1rem;
}

.arg-card:hover,
.arg-card:focus-within {
	background: var(--arg-green);
}

.arg-guide .arg-title {
	margin: 0 0 0.2rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.arg-guide .arg-link {
	text-decoration: none;
}

.arg-link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 10px;
}

.arg-link:focus-visible {
	outline: none;
}

.arg-card:focus-within {
	outline: 2px solid var(--arg-green);
	outline-offset: 2px;
}

.arg-source {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
}

.arg-guide .arg-desc {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.arg-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.arg-cat,
.arg-badge {
	display: inline-block;
	padding: 0.1em 0.65em;
	border: 1px solid var(--arg-line);
	border-radius: 999px;
	font-size: 0.6875rem;
}

.arg-empty {
	padding: 1rem 0;
}

.arg-guide .arg-more {
	display: block;
	margin: 1.5rem auto 0;
	padding: 0.7em 1.5em;
	border: 1px solid var(--arg-green);
	border-radius: 8px;
	background: var(--arg-black);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 800px) {
	.arg-guide {
		grid-template-columns: minmax(0, 1fr);
	}
	.arg-side {
		position: static;
	}
}

/* Guide page: black page */
body.arg-page {
	background: #000 !important;
}

body.arg-page :where(#page, #content, .site, .site-content, .content-area, main, article, .entry-content, .wp-site-blocks, .wp-block-post-content) {
	background: transparent;
}

/* Lock colors so a theme cannot change them. White text, green accents. */
.arg-guide,
.arg-guide h2,
.arg-guide h3,
.arg-guide p,
.arg-guide label,
.arg-guide legend,
.arg-guide a,
.arg-guide span,
.arg-guide div,
.arg-guide button,
.arg-guide input,
.arg-guide select {
	color: #fff !important;
}

.arg-guide .arg-source,
.arg-guide .arg-cta-copy,
.arg-guide .arg-input::placeholder {
	color: #b3b3b3 !important;
}

.arg-guide .arg-desc {
	color: #e6e6e6 !important;
}

.arg-guide .arg-cta-eyebrow,
.arg-guide .arg-cat,
.arg-guide .arg-badge,
.arg-guide .arg-clear {
	color: #00ff00 !important;
}

.arg-guide .arg-count,
.arg-guide .arg-cta-button {
	color: #000 !important;
	background-color: #00ff00 !important;
}

.arg-guide .arg-more {
	color: #00ff00 !important;
}

.arg-guide .arg-card:hover *,
.arg-guide .arg-card:focus-within *,
.arg-guide .arg-more:hover,
.arg-guide .arg-more:focus-visible {
	color: #000 !important;
}

.arg-guide .arg-card:hover .arg-cat,
.arg-guide .arg-card:focus-within .arg-cat {
	border-color: #000;
}

.arg-guide .arg-card,
.arg-guide .arg-input,
.arg-guide .arg-more {
	background-color: #000;
}

.arg-guide .arg-card:hover,
.arg-guide .arg-card:focus-within,
.arg-guide .arg-more:hover,
.arg-guide .arg-more:focus-visible {
	background-color: #00ff00;
}

body.arg-page .entry-title,
body.arg-page .page-title,
body.arg-page .wp-block-post-title,
body.arg-page .entry-content > p {
	color: #fff;
}
