/**
 * Single blog post — the Aurem dark skin.
 *
 * aurem-single.css (reading layout) and aurem-blog.css (related cards) are
 * written against --gs-* / --gb-* variables with light defaults; this file
 * points them at the Aurem brand tokens. The banner above the post is styled
 * site-wide in aurem-banner.css.
 * Loaded after both, on single posts only (inc/enqueue-scripts.php).
 */

.gx-single,
.gx-blog,
.gp-breadcrumb-wrap {
	--gs-accent: var(--ah-ember);
	--gs-ink: var(--ah-text);
	--gs-body: var(--ah-muted);
	--gs-line: var(--ah-line);
	--gs-tint: rgba(255, 255, 255, .04);
	--gs-font: var(--ah-display);
	--gs-ease: var(--ah-ease);
	--gb-accent: var(--ah-ember);
	--gb-ink: var(--ah-text);
	--gb-body: var(--ah-muted);
	--gb-line: var(--ah-line);
	--gb-tint: rgba(255, 255, 255, .04);
	--gb-font: var(--ah-display);
	--gb-ease: var(--ah-ease);
	--gb-radius: var(--ah-radius-lg);
	--color-primary: var(--ah-ember);
	--color-accent: var(--ah-gold);
	--color-black: var(--ah-text);
	--color-body: var(--ah-muted);
	--color-border: var(--ah-line);
	--color-tint: rgba(255, 255, 255, .04);
	--font-title: var(--ah-display);
}

.gx-single { color: var(--ah-muted); }
/* the legacy grid CSS that padded .container is not loaded: give it the Aurem gutter */
.gx-single .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--ah-gutter); }
.gx-single__hero img { box-shadow: 0 40px 90px -40px rgba(255, 90, 42, .35); }
.gx-single a { text-decoration-color: rgba(255, 90, 42, .5); }
.gx-single blockquote em,
.gx-single h2 em { font-family: var(--ah-serif); font-style: italic; font-weight: 400; color: var(--ah-blush); }

/* -------------------------------------------- white surfaces made dark */
/* aurem-single.css hard-codes #fff behind text that now uses the light ink. */

/* share buttons (side rail + end of article) */
.gx-single .gx-share { background-color: rgba(255, 255, 255, .04); border-color: var(--ah-line); color: var(--ah-text); }
.gx-single .gx-share:hover,
.gx-single .gx-share:focus-visible { color: #fff; }
.gx-single .gx-share--x:hover,
.gx-single .gx-share--x:focus-visible { background-color: #000; border-color: rgba(255, 255, 255, .35); }
.gx-single .gx-share--copy:hover,
.gx-single .gx-share--copy:focus-visible { color: var(--ah-ink); }
.gx-single .gx-share--copy.is-copied::after { background-color: var(--ah-text); color: var(--ah-ink); }

/* "In this story" contents */
.gx-single .gx-toc__list a:hover,
.gx-single .gx-toc__list a:focus-visible,
.gx-single .gx-toc__list a.is-active { background-color: rgba(255, 90, 42, .12); color: var(--ah-text); }

/* tags, author card, previous / next */
.gx-single .gx-single__tags a:hover,
.gx-single .gx-single__tags a:focus-visible { color: var(--ah-ink); }
.gx-single .gx-author__avatar { border-color: var(--ah-ink); }
.gx-single .gx-adjacent__item { background-color: rgba(255, 255, 255, .03); }
.gx-single .gx-adjacent__item:hover { border-color: rgba(255, 90, 42, .45); }

/* comments */
.gx-single .gx-single__comments { background-color: rgba(255, 255, 255, .03); }
.gx-single .gx-single__comments a { color: var(--ah-gold); }
.gx-single .gx-single__comments a:hover { color: var(--ah-text); }
.gx-single .gx-single__comments .comment-form input:focus,
.gx-single .gx-single__comments .comment-form textarea:focus { background-color: rgba(255, 255, 255, .06); }
.gx-single .gx-single__comments .comment-form input::placeholder,
.gx-single .gx-single__comments .comment-form textarea::placeholder { color: var(--ah-muted); }

/* ---------------------------------------------- related stories (cards) */

.gx-single .gx-related { background: linear-gradient(180deg, transparent, rgba(200, 16, 46, .06)); border-top: 1px solid var(--ah-line); }
.gx-related__all { background: transparent; color: var(--ah-text); }
.gx-related__all:hover,
.gx-related__all:focus-visible { background: var(--ah-ember); border-color: var(--ah-ember); color: var(--ah-ink); }
.gx-blog .gx-post { background: linear-gradient(180deg, #150b0f, var(--ah-ink)); }
.gx-blog .gx-post:hover,
.gx-blog .gx-post:focus-within { border-color: rgba(255, 90, 42, .45); box-shadow: 0 30px 60px -32px rgba(255, 90, 42, .35); }
.gx-blog .gx-post__cat { background: rgba(7, 6, 10, .72); color: var(--ah-gold); }
.gx-blog .gx-post__cat:hover,
.gx-blog .gx-post__cat:focus-visible { background: var(--ah-ember); color: var(--ah-ink); }
.gx-blog .gx-post__title a { color: var(--ah-text); text-decoration: none; }
.gx-blog .gx-post__title a:hover { color: var(--ah-blush); }
.gx-blog .gx-post__author { color: var(--ah-muted); text-decoration: none; }

}
