/* ============================================
   News blog — archive card grid + single-post prose
   Used by: home.php, archive.php, search.php, single.php
            (template-parts/news/*)
   Hero reuses the global #bhs-common-header styles in style.css.
   ============================================ */

/* ---- Archive card grid (mirrors .bhs-resource-card) ---- */
.bhs-news-card {
	border: 1px solid rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bhs-news-card:hover {
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

.bhs-news-card-media {
	overflow: hidden;
}

.bhs-news-card-media img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.bhs-news-card:hover .bhs-news-card-media img {
	transform: scale(1.05);
}

.bhs-news-meta {
	letter-spacing: 0.08em;
	font-weight: 600;
}

.bhs-news-meta-sep {
	margin: 0 0.25rem;
}

.bhs-news-card-body h3 a {
	color: var(--bhs-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}

.bhs-news-card-body h3 a:hover {
	color: var(--bhs-cyan);
}

/* ---- Pagination (mirrors .bhs-resource-pill) ---- */
.bhs-news-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
}

.bhs-news-pagination .page-numbers {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--bhs-dark);
	color: var(--bhs-dark);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.bhs-news-pagination .page-numbers.current,
.bhs-news-pagination .page-numbers:hover {
	background: var(--bhs-dark);
	color: #fff;
}

.bhs-news-pagination .page-numbers.dots {
	border-color: transparent;
}

/* ---- Single-post hero eyebrow ----
   Gold pill keeps the date/author legible over bright featured images. */
.bhs-news-hero-meta {
	display: inline-block;
	background: var(--bhs-gold);
	color: #fff;
	padding: 5px 14px;
	letter-spacing: 0.1em;
	font-weight: 600;
}

/* ---- Single-post 2-column heading (ACF bhs_column_heading) ----
   Light heading. There's no dark hero behind the fixed navbar here, so the
   `.bhs-static-nav` body class (added in functions.php) forces the navbar's
   solid/dark "scrolled" look from the top — see rules below. */
#bhs-post-heading {
	padding-top: 130px;
	padding-bottom: 1rem;
}

/* Tighten the gap into the article body when the 2-column heading is used
   (only when #bhs-news-single directly follows it — full-bleed hero is unaffected). */
#bhs-post-heading + #bhs-news-single {
	padding-top: 1.5rem !important;
}

/* Legal pages have no hero, so the content section must clear the fixed navbar. */
#bhs-legal {
	padding-top: 130px;
}

@media (min-width: 992px) {
	#bhs-legal {
		padding-top: 170px;
	}
}

/* Solid navbar at the top for light-headed single posts (mirrors `.scrolled`). */
.bhs-static-nav #bcb-main-navbar {
	background: rgba(255, 255, 255, 0.8);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.bhs-static-nav #navbar-main-menu .nav-link {
	color: var(--bhs-grey);
}

.bhs-static-nav .bhs-switcher .text-white {
	color: var(--bhs-grey) !important;
}

.bhs-static-nav #bcb-main-navbar .bhs-btn-light-outline {
	border: 1px solid var(--bhs-grey) !important;
	color: var(--bhs-grey) !important;
}

.bhs-static-nav .sub-menu {
	background: #fff !important;
}

@media (min-width: 992px) {
	#bhs-post-heading {
		padding-top: 170px;
		padding-bottom: 1.5rem;
	}
}

.bhs-post-heading-img {
	display: block;
	width: 100%;
	height: auto;
}

.bhs-post-heading-meta {
	letter-spacing: 0.1em;
	font-weight: 600;
}

/* ---- Social share buttons ---- */
.bhs-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.bhs-share-label {
	letter-spacing: 0.08em;
	font-weight: 600;
	margin-right: 0.25rem;
}

.bhs-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bhs-cyan);
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.bhs-share-btn:hover {
	opacity: 0.85;
	transform: translateY(-2px);
	color: #fff;
}

/* ---- Single-post prose ---- */
.bhs-news-content {
	font-family: var(--bhs-font);
	font-size: 1.0625rem;
	line-height: 1.9;
	color: var(--bhs-grey);
}

.bhs-news-content h2,
.bhs-news-content h3,
.bhs-news-content h4 {
	font-family: var(--bhs-font-header);
	color: var(--bhs-dark);
	text-transform: uppercase;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.bhs-news-content h2 { font-size: 1.75rem; }
.bhs-news-content h3 { font-size: 1.375rem; }
.bhs-news-content h4 { font-size: 1.125rem; }

.bhs-news-content p {
	margin-bottom: 1.5rem;
}

.bhs-news-content a {
	color: var(--bhs-cyan);
	text-decoration: underline;
}

.bhs-news-content img {
	max-width: 100%;
	height: auto;
	margin: 2rem 0;
	display: block;
}

.bhs-news-content ul,
.bhs-news-content ol {
	margin: 0 0 1.5rem 1.25rem;
}

.bhs-news-content li {
	margin-bottom: 0.5rem;
}

.bhs-news-content figure {
	margin: 2rem 0;
}

.bhs-news-content figcaption {
	font-size: 0.875rem;
	color: var(--bhs-gold);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 0.5rem;
}

/* Pull / CEO quotes */
.bhs-news-content blockquote {
	border-left: 3px solid var(--bhs-gold);
	margin: 2.5rem 0;
	padding: 0.5rem 0 0.5rem 1.75rem;
	font-family: var(--bhs-font-header);
	font-size: 1.375rem;
	line-height: 1.6;
	color: var(--bhs-dark);
	font-style: normal;
}

.bhs-news-content blockquote p:last-child {
	margin-bottom: 0;
}

.bhs-news-content blockquote cite {
	display: block;
	margin-top: 1rem;
	font-family: var(--bhs-font);
	font-size: 0.9rem;
	color: var(--bhs-gold);
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* ---- Back-to-News link ---- */
.bhs-news-back {
	color: var(--bhs-dark);
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	transition: gap 0.2s ease, color 0.2s ease;
}

.bhs-news-back:hover {
	color: var(--bhs-cyan);
	gap: 0.75rem !important;
}
