/* Single post/obituary — share bar + single-post layout. Loaded on
   is_singular('post') || is_singular('obituaries'). Slice 4. */

/* Single post: mobile CTAs shown below content when sidebar hidden (<1024px),
   hidden on desktop where sidebar provides them instead. */
@media (min-width: 1024px) {

	.single-post__mobile-ctas { display: none; }
}

/* Sponsor banner inserted inline in post content */
.single-post__sponsor-insert {
	margin: var(--wp--preset--spacing--30) 0;
}

/* Share bar — top + bottom borders per Figma */
.ghn-share-bar--post {
	border-top: 1px solid var(--wp--preset--color--border-light);
	border-bottom: 1px solid var(--wp--preset--color--border-light);
	margin-bottom: var(--wp--preset--spacing--30);
}

/* Single post content area — 60px spacing below, 40px column gap.
   FU-10/QA-7: no padding-top here — both call sites already supply the top
   60px themselves (single.html: .site-main's own padding-top, no
   page-title-bar to zero it; single-no-hero.html: the article's
   margin-top via the .page-title-bar + .wp-block-group sibling rule in
   theme.css). Adding it here doubled the gap to 120px in both templates. */
.single-post__layout {
	padding-bottom: 60px;
	gap: 0 40px;
}

.share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: var(--wp--preset--spacing--20) 0;
}

.share-bar-label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	margin: 0;
	white-space: nowrap;
}

.share-bar-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.share-bar-link,
.ghn-share-bar__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	border-radius: 50%;
	color: var(--wp--preset--color--primary);
	border: 1px solid var(--wp--preset--color--border-light);
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
	padding: 0;
	font: inherit;
}

.share-bar-link:hover,
.ghn-share-bar__link:hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--surface);
	border-color: var(--wp--preset--color--primary);
}

.share-bar-link svg,
.ghn-share-bar__link svg {
	width: 18px;
	height: 18px;
	pointer-events: none;
}

/* QA-36: Letters to the Editor disclaimer — prepended to post content via
   ghn_insert_letters_to_editor_disclaimer() (functions.php), only for posts
   in the letters-to-the-editor category. Same "single post" load condition
   as the rest of this file (is_singular('post')). */
.letters-to-editor-disclaimer {
	background-color: var(--wp--preset--color--surface-alt);
	border-left: 4px solid var(--wp--preset--color--accent-2);
	padding: 16px 20px;
	margin-bottom: var(--wp--preset--spacing--25);
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	font-style: italic;
	color: var(--wp--preset--color--primary-dark);
}

.letters-to-editor-disclaimer p {
	margin: 0;
}

/* QA-39: date/author meta row for the no-hero single-post layout
   (templates/single-no-hero.html) — same is_singular('post') load
   condition as the rest of this file. */
.single-post-meta-row {
	color: var(--wp--preset--color--primary);
}

.single-post-meta-row__author,
.single-post-meta-row__date,
.single-post-meta-row__sep {
	margin: 0;
}
