/* ================================================
   586.css - Help / Article system styles
   ================================================ */

/* ===========================
   AUTH BUTTONS
   =========================== */
.auth-submit-button {
	width: 100%;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-align: center;
	border: none;
	cursor: pointer;
	padding: 16px;
}

/* ===========================
   ARTICLE HERO
   — overrides now live in article.php inline <style>
     so they beat .hero / .subhero from style.css
   =========================== */

/* ===========================
   STICKY SIDEBAR LAYOUT
   =========================== */
#article-content .row {
	display: flex !important;
	align-items: flex-start !important;
	flex-wrap: wrap !important;
}

#article-content .col-lg-8 {
	flex: 0 0 66.666667% !important;
	max-width: 66.666667% !important;
}

#article-content .col-lg-4 {
	flex: 0 0 33.333333% !important;
	max-width: 33.333333% !important;
}

#article-content .sidebar {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 20px !important;
	align-self: flex-start !important;
	max-height: calc(100vh - 40px) !important;
	overflow-y: auto !important;
}

#article-content,
#article-content .container,
#article-content .row {
	overflow: visible !important;
}

/* ===========================
   SIDEBAR CARDS
   =========================== */
.sidebar-card {
	background: rgba(49, 49, 49, 0.33);
	border: 1px solid rgba(255,255,255,0.04);
	padding: 20px;
	margin-bottom: 2px;
}

.sidebar-card-title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #FFD500;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-card p {
	font-size: 13px;
	color: #B7B7B7;
	margin-bottom: 14px;
	line-height: 1.6;
}

/* Sidebar related articles list */
.sidebar .articles-list {
	padding-left: 0;
}

/* ===========================
   ARTICLE FOOTER (feedback)
   =========================== */
.article-footer {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid rgba(255,255,255,0.07);
}

.article-footer p {
	font-size: 13px;
	color: #B7B7B7;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
}

/* ===========================
   ARTICLE BODY — FULL RESTYLE
   =========================== */

/* Base container */
.article-body {
	font-size: 15px !important;
	line-height: 1.75 !important;
	color: #d0d0d0;
}

/* ── Headings ── */
.article-body h2,
.article-body h2.wp-block-heading {
	font-size: 20px;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #ffffff;
	margin: 48px 0 16px;
	padding: 0;
	border: none;
	border-radius: 0;
	line-height: 1.2;
}

.article-body h2:first-child { margin-top: 0; }

/* ── WP Separator block ── */
.wp-block-separator.has-alpha-channel-opacity {
	color: #FFD500;
	opacity: 0.5;
}

.article-body h3,
.article-body h3.wp-block-heading {
	font-size: 14px;
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #FFD500;
	margin: 28px 0 0;
	padding-bottom: 8px;
}

.article-body h3 + * { margin-top: 12px; }

.article-body h4,
.article-body h4.wp-block-heading {
	font-size: 13px;
	font-weight: 700;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #ffffff;
	margin: 20px 0 8px;
	padding: 0;
	border: none;
}

/* ── Paragraphs ── */
.article-body p {
	font-size: 15px;
	color: #d0d0d0;
	margin-bottom: 18px;
	line-height: 1.75;
}

/* ── Links ── */
.article-body a {
	color: #FFD500;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 213, 0, 0.35);
	transition: border-color 200ms, color 200ms;
}

.article-body a:hover {
	color: #ffe033;
	border-color: #ffe033;
}

/* ── Images ── */
.article-body img {
	max-width: 100%;
	width: auto;
	height: auto;
	border-radius: 0;
	margin: 28px 0;
	display: block;
}

.article-body figure,
.article-body figure.wp-block-image,
.article-body .wp-block-image {
	max-width: 100%;
	width: auto;
	overflow: hidden;
	margin: 28px 0;
}

.article-body figure img,
.article-body .wp-block-image img {
	max-width: 100%;
	width: 100%;
	height: auto;
}

.article-body figcaption,
.article-body .wp-element-caption {
	font-size: 12px;
	color: #B7B7B7;
	text-align: center;
	margin-top: 8px;
	font-style: italic;
}

/* ── Horizontal rule ── */
.article-body hr,
.article-body .wp-block-separator {
	border: none;
	border-top: 1px solid rgba(255, 213, 0, 0.2);
	margin: 40px 0;
}

/* ── Text emphasis ── */
.article-body strong,
.article-body b {
	color: #ffffff;
	font-weight: 700;
}

/* ── Inline code ── */
.article-body code {
	background: rgba(20, 185, 255, 0.08);
	color: #14B9FF;
	padding: 2px 7px;
	border-radius: 0;
	font-family: 'Courier New', 'Consolas', monospace;
	font-size: 13px;
	border: 1px solid rgba(20, 185, 255, 0.15);
}

/* ── Code blocks ── */
.article-body pre,
.article-body pre.wp-block-code {
	background: #0f0f0f;
	border: 1px solid rgba(255,255,255,0.07);
	border-left: 3px solid #FFD500;
	border-radius: 0;
	padding: 18px 20px;
	margin: 24px 0;
	overflow-x: auto;
}

.article-body pre code,
.article-body pre.wp-block-code code {
	background: none;
	padding: 0;
	border: none;
	border-radius: 0;
	font-family: 'Courier New', 'Consolas', monospace;
	font-size: 13px;
	color: #8ADB3F;
	line-height: 1.6;
	white-space: pre;
}

/* ── Bullet lists ── */
.article-body ul,
.article-body ul.wp-block-list,
ul.wp-block-list {
	list-style: none;
	margin: 16px 0;
	padding-left: 20px;
	display: block;
}

.article-body ul li,
.article-body ul.wp-block-list li,
ul.wp-block-list li {
	display: block;
	position: relative;
	padding: 4px 0 4px 16px;
	background: none;
	border: none;
	font-size: 15px;
	color: #B7B7B7;
	margin-bottom: 6px;
	line-height: 1.65;
	list-style: none;
}

.article-body ul li::before,
.article-body ul.wp-block-list li::before,
ul.wp-block-list li::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 11px;
	width: 5px;
	height: 5px;
	background: #FFD500;
	border-radius: 50%;
}

/* ── Numbered lists — plain style (steps use the LagLess Steps plugin) ── */
.article-body ol,
.article-body ol.wp-block-list {
	list-style: decimal;
	margin: 16px 0;
	padding-left: 24px;
	display: block;
}

.article-body ol li {
	font-size: 15px;
	color: #B7B7B7;
	line-height: 1.65;
	margin-bottom: 6px;
	padding: 0;
	background: none;
	border: none;
}

.article-body ol li::before { display: none; }

/* Nested lists — revert to plain */
.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul {
	margin: 8px 0 0;
	gap: 2px;
}

.article-body ul ul li,
.article-body ol ol li,
.article-body ul ol li,
.article-body ol ul li {
	background: none;
	border: none;
	padding: 3px 0 3px 4px;
	font-size: 13px;
}

.article-body ul ul li:hover,
.article-body ol ol li:hover {
	background: none;
}

/* ── Blockquotes / callouts ── */
.article-body blockquote,
.article-body .wp-block-quote {
	border-left: 3px solid #FFD500;
	background: rgba(255, 213, 0, 0.05);
	padding: 16px 20px;
	margin: 28px 0;
	font-style: normal;
	color: #B7B7B7;
	border-radius: 0;
}

.article-body blockquote p,
.article-body .wp-block-quote p {
	font-size: 14px;
	color: #B7B7B7;
	margin-bottom: 0;
}

.article-body blockquote cite,
.article-body .wp-block-quote cite,
.article-body .wp-block-quote footer {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #FFD500;
	margin-top: 8px;
	font-style: normal;
}

/* Notice/callout block variants */
.article-body .wp-block-notice,
.article-body .notice {
	border-left: 3px solid #FFD500;
	background: rgba(255, 213, 0, 0.05);
	padding: 16px 20px;
	margin: 28px 0;
}

.article-body .wp-block-notice p,
.article-body .notice p {
	font-size: 14px;
	color: #B7B7B7;
	margin-bottom: 0;
}

.article-body .wp-block-notice.is-style-info,
.article-body .notice-info {
	border-left-color: #14B9FF;
	background: rgba(20, 185, 255, 0.05);
}

.article-body .wp-block-notice.is-style-warning,
.article-body .notice-warning {
	border-left-color: #F5A623;
	background: rgba(245, 166, 35, 0.05);
}

.article-body .wp-block-notice.is-style-success,
.article-body .notice-success {
	border-left-color: #8ADB3F;
	background: rgba(138, 219, 63, 0.05);
}

/* ── Tables ── */
.article-body figure.wp-block-table {
	margin: 28px 0;
	overflow-x: auto;
}

.article-body table,
.article-body .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.article-body table thead tr {
	border-bottom: 2px solid #FFD500;
}

.article-body table th {
	text-align: left;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #FFD500;
	padding: 10px 16px;
	background: transparent;
}

.article-body table td {
	padding: 12px 16px;
	color: #B7B7B7;
	border-bottom: 1px solid rgba(255,255,255,0.04);
	vertical-align: top;
	line-height: 1.5;
}

.article-body table tr:hover td {
	background: rgba(255,255,255,0.02);
}

.article-body table td:first-child {
	color: #ffffff;
	font-weight: 600;
}

.article-body table td code {
	font-size: 12px;
}

/* Table caption */
.article-body table caption,
.article-body .wp-block-table figcaption {
	font-size: 12px;
	color: #B7B7B7;
	text-align: center;
	margin-top: 8px;
	font-style: italic;
	caption-side: bottom;
}

/* ===========================
   HIGH-SPECIFICITY OVERRIDES
   Needed to beat Bootstrap + style.css
   =========================== */

/* ── Sidebar cards ── */
#article-content .sidebar .sidebar-card {
	background: rgba(49, 49, 49, 0.45) !important;
	border: 1px solid rgba(255,255,255,0.07) !important;
	border-radius: 0 !important;
	padding: 20px !important;
	margin-bottom: 2px !important;
}

#article-content .sidebar .sidebar-card-title {
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.12em !important;
	color: #FFD500 !important;
	margin-bottom: 14px !important;
	padding-bottom: 10px !important;
	border-bottom: 1px solid rgba(255,255,255,0.08) !important;
	display: block !important;
}

#article-content .sidebar .sidebar-card p {
	font-size: 13px !important;
	color: #B7B7B7 !important;
	margin-bottom: 14px !important;
	line-height: 1.6 !important;
}

/* ── Tables ── */
#article-content .article-body table {
	width: 100% !important;
	border-collapse: collapse !important;
	font-size: 14px !important;
	margin: 24px 0 !important;
}

#article-content .article-body table thead tr {
	border-bottom: 2px solid #FFD500 !important;
}

#article-content .article-body table th {
	text-align: left !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	color: #FFD500 !important;
	padding: 10px 16px !important;
	background: transparent !important;
	border: none !important;
}

#article-content .article-body table td {
	padding: 12px 16px !important;
	color: #B7B7B7 !important;
	border: none !important;
	border-bottom: 1px solid rgba(255,255,255,0.05) !important;
	vertical-align: top !important;
	background: transparent !important;
}

#article-content .article-body table tr:hover td {
	background: rgba(255,255,255,0.02) !important;
}

#article-content .article-body table td:first-child {
	color: #ffffff !important;
	font-weight: 600 !important;
}

/* ── Suppress terminal dots from WP custom blocks / pre::before ── */
#article-content .article-body pre::before,
#article-content .article-body pre::after,
#article-content .article-body .wp-block-code::before,
#article-content .article-body .wp-block-code::after,
#article-content .article-body .wp-block-preformatted::before,
#article-content .article-body .wp-block-preformatted::after,
#article-content .article-body blockquote::before,
#article-content .article-body blockquote::after {
	content: none !important;
	display: none !important;
}

/* ── Pre / code — force override ── */
#article-content .article-body pre,
#article-content .article-body .wp-block-code,
#article-content .article-body .wp-block-preformatted {
	background: #0f0f0f !important;
	border: 1px solid rgba(255,255,255,0.07) !important;
	border-left: 3px solid #FFD500 !important;
	border-radius: 0 !important;
	padding: 18px 20px !important;
	margin: 24px 0 !important;
	overflow-x: auto !important;
	box-shadow: none !important;
}

#article-content .article-body pre code,
#article-content .article-body .wp-block-code code {
	background: none !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	color: #8ADB3F !important;
	font-size: 13px !important;
	font-family: 'Courier New', 'Consolas', monospace !important;
	line-height: 1.6 !important;
	white-space: pre !important;
}

/* ── Blockquotes — force override ── */
#article-content .article-body blockquote,
#article-content .article-body .wp-block-quote {
	border-left: 3px solid #FFD500 !important;
	background: rgba(255, 213, 0, 0.05) !important;
	padding: 16px 20px !important;
	margin: 28px 0 !important;
	font-style: normal !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

#article-content .article-body blockquote p,
#article-content .article-body .wp-block-quote p {
	color: #B7B7B7 !important;
	font-size: 14px !important;
	margin-bottom: 0 !important;
}

/* ── Headings — force override ── */
#article-content .article-body h2 {
	font-size: 20px !important;
	font-weight: 800 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
	color: #ffffff !important;
	margin: 48px 0 16px !important;
	padding-bottom: 12px !important;
	border-bottom: 2px solid #FFD500 !important;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
	border-radius: 0 !important;
	line-height: 1.2 !important;
}

#article-content .article-body h3 {
	font-size: 14px !important;
	font-weight: 700 !important;
	font-style: italic !important;
	text-transform: uppercase !important;
	color: #FFD500 !important;
	margin: 28px 0 10px !important;
	border: none !important;
	padding: 0 !important;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 991px) {
	#article-content .sidebar {
		position: static !important;
		max-height: none !important;
	}

	#article-content .col-lg-8,
	#article-content .col-lg-4 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

@media (max-width: 768px) {
	#hero-article {
		padding: 40px 0 36px !important;
	}

	#hero-article h1 {
		font-size: 22px;
	}

	#article-content .article-body h2 {
		font-size: 18px !important;
	}

	#article-content .article-body ol li,
	#article-content .article-body ul li {
		padding: 12px 14px;
	}

	#article-content .article-body table th,
	#article-content .article-body table td {
		padding: 10px 12px !important;
	}
}

