/* ==========================================================================
   Book Club Chat — Theme Styles
   Single CSS file for the entire site. Structure:
   1.  @font-face
   2.  CSS custom properties
   3.  Reset / base
   4.  Layout
   5.  Header + navigation
   6.  Content typography
   7.  Post components
   8.  Archive / excerpt cards
   9.  Homepage sections
   10. Sidebar widgets
   11. Related posts
   12. Comments
   13. Footer
   14. Utility classes
   15. Search form + no results
   16. Media queries
   ========================================================================== */

/* ==========================================================================
   1. @font-face
   ========================================================================== */

@font-face {
	font-family: "DM Sans";
	src: url(../fonts/dm-sans-500.woff2) format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url(../fonts/dm-sans-600.woff2) format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "DM Sans";
	src: url(../fonts/dm-sans-700.woff2) format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Source Serif 4";
	src: url(../fonts/source-serif-4-400.woff2) format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Source Serif 4";
	src: url(../fonts/source-serif-4-400-italic.woff2) format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Source Serif 4";
	src: url(../fonts/source-serif-4-700.woff2) format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   2. CSS Custom Properties
   ========================================================================== */

:root {

	/* Page */
	--bcc-color-bg: #fff;
	--bcc-color-ad-bg: #f5f5f0;
	--bcc-color-newsletter-bg: #dce4ed;
	--bcc-color-comment-bg: #f9f9f9;

	/* Text */
	--bcc-color-text-body: #303030;
	--bcc-color-text-heading: #212429;
	--bcc-color-text-muted: #767676;
	--bcc-color-text-light: #767676;
	--bcc-color-text-aside: #656565;

	/* Brand */
	--bcc-color-primary: #3a6186;
	--bcc-color-link: #1e3fb3;
	--bcc-color-link-hover: #152d82;

	/* Borders */
	--bcc-color-border: #ececec;
	--bcc-color-border-input: #c1c1c1;
	--bcc-color-border-accent: rgba(134, 179, 209, 0.35);
	--bcc-color-border-accent-strong: rgba(80, 130, 200, 0.65);
	--bcc-color-border-accent-line: rgba(80, 130, 200, 0.1);
	--bcc-color-reviews-bg: rgba(77, 109, 154, 0.06);
	--bcc-color-reviews-border: rgba(100, 140, 170, 0.15);

	/* Footer */
	--bcc-color-footer-bg: #313131;
	--bcc-color-footer-text: #b8b8b8;
	--bcc-color-footer-border: #4a4a4a;

	/* UI elements */
	--bcc-color-icon: #454545;
	--bcc-color-btn-cta: #5f7fad;
	--bcc-color-primary-dark: #2d4f6b;

	/* Spacing */
	--bcc-content-width: 728px;
	--bcc-sidebar-width: 300px;
	--bcc-sidebar-width-lg: 330px;
	--bcc-wrapper-width: 1140px;
	--bcc-content-padding: 30px;
	--bcc-radius: 2px;

	/* Typography */
	--bcc-font-heading: "DM Sans", sans-serif;
	--bcc-font-body: "Source Serif 4", georgia, serif;

	/* Typography Scale */
	--bcc-font-size-body: 18px;
	--bcc-line-height-body: 1.7;
	--bcc-font-size-h1: 30px;
	--bcc-font-size-h2: 22px;
	--bcc-font-size-h3: 20px;
	--bcc-font-size-h4: 19px;
	--bcc-font-size-small: 16px;
	--bcc-font-size-xs: 14px;
	--bcc-font-size-xxs: 12px;
}

/* ==========================================================================
   3. Reset / Base Styles
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-y: scroll;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
	margin: 0;
}

body {
	font-family: var(--bcc-font-body);
	font-size: var(--bcc-font-size-body);
	line-height: var(--bcc-line-height-body);
	color: var(--bcc-color-text-body);
	background: var(--bcc-color-bg);
	text-rendering: optimizelegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	image-rendering: -webkit-optimize-contrast;
}

a {
	color: var(--bcc-color-link);
	text-decoration: none;
}

a:hover {
	color: var(--bcc-color-link-hover);
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--bcc-font-heading);
	font-weight: 700;
	color: var(--bcc-color-text-heading);
	line-height: 1.35;
	letter-spacing: -0.3px;
}

h1 {
	font-size: var(--bcc-font-size-h1);
}

h2 {
	font-size: var(--bcc-font-size-h2);
}

h3 {
	font-size: var(--bcc-font-size-h3);
}

h4 {
	font-size: var(--bcc-font-size-h4);
}

strong,
b {
	color: var(--bcc-color-text-heading);
}

input,
textarea {
	font-family: var(--bcc-font-body);
	border: 1px solid var(--bcc-color-border-input);
	border-radius: var(--bcc-radius);
	padding: 10px 16px;
	transition: border-color 0.2s ease;
}

input:focus,
textarea:focus {
	border-color: var(--bcc-color-primary);
	outline: none;
}

textarea {
	padding: 20px;
}

button {
	cursor: pointer;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
select:focus-visible {
	outline: 2px solid var(--bcc-color-primary);
	outline-offset: 2px;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.site-content {
	max-width: var(--bcc-wrapper-width);
	margin: 0 auto;
	padding: 0 20px;
}

.primary-content {
	max-width: var(--bcc-content-width);
	margin: 0 auto;
}

.sidebar {
	display: none;
}

/* Content column */
.home-content,
.entry-content {
	max-width: var(--bcc-content-width);
	margin: 0 auto;
}

/* Mediavine ad zones — gray background + breathing room.
   !important overrides Mediavine's injected inline styles and stylesheet. */
.mv-ad-box,
div[data-ad-wrapper] {

	/* background: var(--bcc-color-ad-bg) !important; */
	padding: 16px 0 !important;
	margin: 50px 0 !important;
	border-radius: 0 !important;
}

/* Ad injected inside OL/UL list items — break out of indentation.
   !important overrides Mediavine's injected inline styles. */
.entry-content li[data-slot-rendered-content="true"] {
	list-style: none !important;
	margin-left: -40px !important;
	padding-left: 0 !important;
	width: calc(100% + 40px) !important;
}

/* In-feed ad units for homepage/archive */
.mv-feed-unit {
	display: contents;
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal;
}

.skip-link:focus {
	clip: auto;
	display: block;
	height: auto;
	width: auto;
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 100000;
	background: var(--bcc-color-bg);
	color: var(--bcc-color-text-heading);
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 600;
	padding: 8px 16px;
	border: 2px solid var(--bcc-color-text-heading);
	border-radius: var(--bcc-radius);
	text-decoration: none;
}

/* ==========================================================================
   5. Header + Navigation
   ========================================================================== */

.site-header {
	min-height: 60px;
	border-bottom: 1px solid var(--bcc-color-border);
	margin-bottom: 25px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	max-width: var(--bcc-wrapper-width);
	justify-content: space-between;
	margin: 0 auto;
	padding: 8px 10px;
}

/* Search toggle — order 3 on mobile (right side), order 3 on desktop */
.search-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	order: 3;
	padding: 10px;
	background: none;
	border: none;
	color: var(--bcc-color-icon);
	box-shadow: none;
}

.search-toggle:hover,
.search-toggle:focus {
	color: var(--bcc-color-icon);
	box-shadow: none;
}

.search-toggle .magnifying-glass {
	display: block;
	stroke: currentcolor;
}

/* Branding — order 2 (center on mobile) */
.site-branding {
	text-align: center;
	order: 2;
	padding: 4px 2px;
}

/* Mobile: hide branding, nav, and search toggle when search is open */
.search-open .site-branding {
	display: none;
}

.search-open .site-nav {
	display: none;
}

.search-open .search-toggle {
	display: none;
}

.site-header__inner.search-open {
	justify-content: center;
}

/* Search container — replaces branding + nav inline */
.header-search {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	order: 2;
	padding: 0 10px;
}

.header-search[hidden] {
	display: none;
}

.header-search .search-form {
	flex: 1 1 auto;
	margin: 0;
}

.header-search .search-form__wrapper {
	display: flex;
	gap: 10px;
}

.header-search .search-form__input {
	flex: 1 1 auto;
	font-size: var(--bcc-font-size-small);
	padding: 8px 12px;
}

.header-search .search-form__submit {
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 600;
	padding: 8px 16px;
	background: var(--bcc-color-primary);
	color: var(--bcc-color-bg);
	border: none;
	border-radius: var(--bcc-radius);
}

.search-close {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 4px;
	background: none;
	border: none;
	color: var(--bcc-color-text-heading);
}

.site-title {
	font-family: var(--bcc-font-heading);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1.2;
}

.site-title a {
	color: var(--bcc-color-text-heading);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--bcc-color-primary);
}

.header-logo-img {
	max-width: 200px;
	height: auto;
	display: block;
}

/* Navigation — order 1 on mobile (hamburger left), order 2 on desktop */
.site-nav {
	position: relative;
	order: 1;
}

.nav-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	background: none;
	border: none;
	color: var(--bcc-color-icon);
	box-shadow: none;
}

.nav-toggle:hover,
.nav-toggle:focus {
	color: var(--bcc-color-icon);
	box-shadow: none;
}

.nav-toggle svg {
	display: block;
}

/* Full-screen mobile menu overlay */
.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	flex-direction: column;
	align-items: center;
	background: var(--bcc-color-bg);
	padding-bottom: 60px;
	overflow: hidden;
}

.nav-overlay.nav-open {
	display: flex;
}

.nav-overlay__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 16px 20px;
	border-bottom: 1px solid var(--bcc-color-border);
}

.nav-overlay__logo img {
	display: block;
	max-width: 180px;
	height: auto;
}

.nav-close {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	background: none;
	border: none;
	color: var(--bcc-color-icon);
	box-shadow: none;
}

.nav-close:hover,
.nav-close:focus {
	color: var(--bcc-color-primary);
	box-shadow: none;
}

#primary-menu {
	display: none;
	list-style: none;
	padding: 20px 0;
	margin: auto 0;
	text-align: center;
}

.nav-overlay.nav-open #primary-menu {
	display: block;
}

#primary-menu .menu-item a {
	display: block;
	padding: 14px 30px;
	font-family: var(--bcc-font-heading);
	font-size: 20px;
	font-weight: 600;
	color: var(--bcc-color-text-heading);
	text-decoration: none;
	letter-spacing: 0.5px;
	text-transform: capitalize;
}

#primary-menu .menu-item a:hover {
	color: var(--bcc-color-primary);
}

#primary-menu .current-menu-item a {
	border-bottom: 2px solid var(--bcc-color-primary);
	color: var(--bcc-color-primary);
}

/* ==========================================================================
   6. Content Typography (.entry-content)
   ========================================================================== */

.entry-content {
	margin-top: 0;
	font-family: var(--bcc-font-body);
	line-height: 30px;
	color: var(--bcc-color-text-body);
}

.entry-content p {
	margin: 35px 0;
}

.page .entry-content p {
	margin: 30px 0;
}

.entry-content a {
	color: var(--bcc-color-link);
	font-weight: 700;
	text-decoration: underline;
}

.entry-content a:hover {
	color: var(--bcc-color-link-hover);
	text-decoration: underline;
	border-bottom: none;
}

/* Headings inside content — dashed accent borders (signature BCC style) */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	padding: 10px 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 45px 0 35px;
	color: var(--bcc-color-text-heading);
	padding: 15px 0;
	border-top: 2px dashed var(--bcc-color-border-accent-strong);
	border-bottom: 2px dashed var(--bcc-color-border-accent-strong);
}

.entry-content h2 {
	font-size: var(--bcc-font-size-h2);
}

.entry-content h3 {
	font-size: var(--bcc-font-size-h3);
}

.entry-content h4 {
	font-size: var(--bcc-font-size-h4);
}

.entry-content h5 {
	font-size: var(--bcc-font-size-body);
}

.entry-content hr {
	display: none;
}

/* Lists */
.entry-content ul,
.entry-content ol {
	padding-left: 0;
}

.entry-content ul > li {
	margin: 0 0 30px 20px;
	padding-left: 20px;
}

.entry-content ol > li,
.entry-content ul > li,
.page .entry-content ol > li {
	margin: 0 0 30px 25px;
	padding-left: 10px;
}

.page .entry-content ul > li {
	margin: 0 0 0.5em 20px;
}

.page .entry-content ol > li {
	margin: 0 0 0.5em 25px;
}

/* Blockquotes */
.entry-content blockquote {
	margin: 36px 0;
	padding: 24px 28px;
	border-left: 3px solid var(--bcc-color-border-accent);
	background: rgba(77, 109, 154, 0.04);
	font-style: italic;
}

.entry-content blockquote p {
	margin: 12px 0;
}

.entry-content blockquote p:first-child {
	margin-top: 0;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

/* Images */
.entry-content img {
	border-radius: var(--bcc-radius);
}

/* Iframes (Bookshop embeds, etc.) */
.entry-content iframe {
	max-width: 100%;
	display: block;
	margin: 0 auto;
}

/* WordPress blocks */
.entry-content .wp-block-image {
	margin: 30px 0;
}

.entry-content .wp-block-image img {
	border-radius: var(--bcc-radius);
}

/* ==========================================================================
   7. Post Components
   ========================================================================== */

/* --- Title Card (book title + cover) --- */
.bcc-title-card {
	position: relative;
	margin: 40px auto;
	padding: 20px 0;
	border-top: 1px solid var(--bcc-color-border-accent);
	border-bottom: 1px solid var(--bcc-color-border-accent);
}

.bcc-title-card.no-link {
	padding: 20px 0 10px;
}

/* Override: title card H4 should NOT get the
   standard dashed border treatment */
.bcc-title-card h4 {
	margin: 0 auto 25px;
	padding: 0;
	border: none;
	text-align: center;
	letter-spacing: -0.5px;
	font-weight: 500;
	font-size: var(--bcc-font-size-h4);
	line-height: 1.65;
}

.bcc-title-card.no-link h4 > em {
	font-weight: 700;
	font-size: var(--bcc-font-size-h2);
}

.bcc-title-card h4 a {
	font-weight: 700;
	margin: 0 2px;
	letter-spacing: 0;
	text-decoration: underline;
	font-size: var(--bcc-font-size-h2);
	border: none;
}

.bcc-title-card h4 a:hover {
	text-decoration: none;
}

.bcc-title-card .container-center {
	margin: 25px 0 15px;
	text-align: center;
}

.bcc-title-card .container-center img {
	margin: 0 auto;
	box-shadow:
		rgba(50, 50, 93, 0.3) 0 6px 12px -2px,
		rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
}

.bcc-title-card .container-center a {
	text-decoration: none;
}

.bcc-title-card .container-center a:hover {
	text-decoration: none;
}

.bcc-title-card .wp-block-image {
	margin: 25px 0 15px;
	text-align: center;
}

.bcc-title-card .wp-block-image img {
	margin: 0 auto;
	box-shadow:
		rgba(50, 50, 93, 0.3) 0 6px 12px -2px,
		rgba(0, 0, 0, 0.3) 0 3px 7px -3px;
}

.bcc-title-card iframe {
	max-width: 100%;
	border: none;
}

/* Title card immediately following a heading —
   tighten margin */
h2 + div > .bcc-title-card,
h3 + div > .bcc-title-card {
	margin-top: -30px;
}

/* --- Book-lists numbered title cards --- */
body.tag-book-lists .entry-content {
	counter-reset: book-counter;
}

body.tag-book-lists .bcc-title-card {
	counter-increment: book-counter;
}

body.tag-book-lists .bcc-title-card::before {
	content: counter(book-counter);
	position: absolute;
	top: -20px;
	left: 0;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 700;
	line-height: 1;
	color: var(--bcc-color-bg);
	background: var(--bcc-color-text-body);
	border-radius: 50%;
	letter-spacing: -1px;
}

/* --- Disclosure Box and Editorial Note --- */
.single-disclosure,
.bcc-editorial-note {
	margin: -5px 0 var(--bcc-content-padding);
	padding: 0;
	background: var(--bcc-color-ad-bg);
	border-radius: var(--bcc-radius);
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xs);
	font-style: italic;
	line-height: var(--bcc-line-height-body);
	color: var(--bcc-color-text-aside);
}

.single-disclosure,
.bcc-editorial-note p {
	margin: 0;
	padding: 15px 20px;
}

.single-disclosure a {
	color: var(--bcc-color-link);
}

/* --- End-of-Content CTA (Mediavine ad stop point) --- */
.bcc-end-content-cta {
	margin: 40px 0;
	text-align: center;
}

.bcc-end-content-cta .bcc-newsletter-box {
	margin: 0 0 30px;
	padding: 40px 0 0;
	background: none;
	border-top: 1px solid var(--bcc-color-border);
}

.bcc-end-content-cta .bcc-newsletter-lead {
	margin: 0 0 10px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-body);
	font-weight: 500;
	color: var(--bcc-color-text-heading);
}

/* --- Newsletter Box --- */
.bcc-newsletter-box {
	margin: 40px 0;
	padding: 8px;
	background: var(--bcc-color-newsletter-bg);
}

.bcc-newsletter-box iframe {
	display: block;
	width: 100%;
	border: none;
}

/* --- Buy Me a Coffee (BMAC) --- */
.entry-content .bcc-bmac-link {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xs);
	font-weight: 400;
	color: var(--bcc-color-text-body);
	text-decoration: none;
}

.bcc-bmac-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.entry-content .bcc-bmac-link:hover {
	color: var(--bcc-color-text-heading);
	text-decoration: underline;
}

/* --- Entry Meta (author/date) --- */
.entry-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	color: var(--bcc-color-text-muted);
	text-align: left;
}

.entry-meta__avatar img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.entry-meta__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.entry-meta a {
	color: var(--bcc-color-text-heading);
	font-weight: 700;
	text-decoration: none;
}

.entry-meta a:hover {
	color: var(--bcc-color-primary);
	text-decoration: none;
}

/* --- Entry Category --- */
.entry-cat {
	display: block;
	margin-bottom: 10px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
}

.entry-cat a {
	color: var(--bcc-color-primary);
	text-decoration: none;
}

.entry-cat a:hover {
	text-decoration: underline;
}

/* --- Entry Header --- */
.entry-header {
	margin-bottom: 20px;
}

.entry-header--page {
	text-align: center;
	margin-bottom: 30px;
}

.page .entry-content h1 {
	text-align: center;
	margin-bottom: 30px;
}

.page .entry-content iframe[src*="substack.com"] {
	display: block;
	width: 100%;
	border: none;
}

.entry-title {
	margin-bottom: 15px;
	padding: 0;
	font-size: var(--bcc-font-size-h1);
	line-height: 1.25;
	text-align: left;
}

/* --- Featured Image --- */
.entry-featured-img {
	margin-bottom: 25px;
	width: 100%;
}

.entry-featured-img img {
	width: 100%;
	height: auto;
	border-radius: var(--bcc-radius);
	max-width: var(--bcc-content-width);
}

/* --- Entry Footer (tags) --- */
.entry-footer {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--bcc-color-border);
}

.entry-footer .tag-title {
	border: none;
	flex-basis: 100%;
	margin: 0;
	padding-bottom: 10px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 700;
}

.entry-footer .tags-links {
	display: flex;
	flex-wrap: wrap;
}

.entry-footer .tags-links a {
	display: inline-block;
	border: 1px solid var(--bcc-color-border);
	flex: 0 0 auto;
	text-transform: lowercase;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	font-weight: 500;
	letter-spacing: 0.3px;
	margin: 4px 8px 4px 0;
	padding: 6px 14px;
	border-radius: var(--bcc-radius);
	color: var(--bcc-color-text-muted);
	text-decoration: none;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.entry-footer .tags-links a:hover {
	color: var(--bcc-color-bg);
	background: var(--bcc-color-primary);
	border-color: var(--bcc-color-primary);
}

/* --- Author bio (below single post content) --- */

.post-author-bio {
	display: block;
	margin: 40px 0;
	padding: 30px 0;
	border-top: 1px solid var(--bcc-color-border-accent);
	border-bottom: 1px solid var(--bcc-color-border-accent);
	text-align: center;
}

.post-author-bio img {
	margin-right: 0;
	margin-bottom: 0;
	max-width: 100px;
	max-height: 100px;
	border-radius: 50%;
	display: inline-block;
}

.post-author-bio .post-meta-author {
	text-align: center;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 700;
	color: var(--bcc-color-text-heading);
}

.post-author-bio .post-meta-author a {
	color: var(--bcc-color-text-heading);
	text-decoration: none;
}

.post-author-bio .post-meta-author a:hover {
	color: var(--bcc-color-primary);
}

.post-author-bio .author-bio p {
	margin-top: 10px;
	font-family: var(--bcc-font-body);
	font-size: var(--bcc-font-size-small);
	font-weight: 400;
	color: var(--bcc-color-text-aside);
	text-align: center;
}

/* --- Archive Header --- */
.archive-header {
	margin-bottom: 35px;
}

.archive-title {
	margin: 0;
	padding: 12px;
	font-size: 24px;
	text-align: center;
	border-radius: var(--bcc-radius);
	border: 2px dashed var(--bcc-color-border-accent);
}

/* --- Pagination --- */
.pagination {
	margin: 30px 0;
	padding: 0;
	text-align: center;
}

.page-numbers {
	display: none;
	margin: 0 3px;
	padding: 8px 14px;
	background: var(--bcc-color-border);
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xs);
	font-weight: 700;
	color: var(--bcc-color-text-heading);
	border: none;
	border-radius: var(--bcc-radius);
	text-decoration: none;
}

.page-numbers:hover {
	background: var(--bcc-color-primary);
	color: var(--bcc-color-bg);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--bcc-color-primary);
	color: var(--bcc-color-bg);
}

.prev.page-numbers,
.next.page-numbers {
	display: inline-block;
	background: var(--bcc-color-primary);
	color: var(--bcc-color-bg);
}

.prev.page-numbers:hover,
.next.page-numbers:hover {
	background: var(--bcc-color-primary-dark);
	color: var(--bcc-color-bg);
}

.prev.page-numbers::before {
	content: "\00ab";
	margin-right: 5px;
	font-size: var(--bcc-font-size-body);
}

.next.page-numbers::after {
	content: "\00bb";
	margin-left: 5px;
	font-size: var(--bcc-font-size-body);
}

/* ==========================================================================
   8. Archive / Excerpt Cards
   ========================================================================== */

.excerpt-card {
	display: block;
	margin: 0 0 35px;
	padding: 0 0 35px;
	border-bottom: 1px solid var(--bcc-color-border);
}

.excerpt-card:last-child {
	border-bottom: none;
}

.excerpt-card__image {
	margin-bottom: 12px;
	width: 100%;
	overflow: hidden;
	border-radius: var(--bcc-radius);
}

.excerpt-card__image img {
	width: 100%;
	height: auto;
	border-radius: var(--bcc-radius);
	object-fit: cover;
	display: block;
}

.excerpt-card__content {
	margin-top: 15px;
	width: 100%;
}

.excerpt-card__title {
	margin: 0 0 6px;
	font-family: var(--bcc-font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}

.excerpt-card__title a {
	color: var(--bcc-color-text-heading);
	text-decoration: none;
}

.excerpt-card__title a:hover {
	color: var(--bcc-color-primary);
	text-decoration: underline;
}

.excerpt-card__meta {
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 15px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	color: var(--bcc-color-text-muted);
}

.excerpt-card__meta a {
	font-weight: 700;
	color: var(--bcc-color-text-heading);
	text-decoration: none;
}

.excerpt-card__meta a:hover {
	color: var(--bcc-color-primary);
	text-decoration: underline;
}

.excerpt-card__meta::after {
	content: "";
	position: absolute;
	width: 60px;
	height: 1px;
	background: var(--bcc-color-border-accent-line);
	display: block;
	bottom: 0;
	left: 50%;
	margin-left: -30px;
}

.excerpt-card__excerpt {
	font-family: var(--bcc-font-body);
	font-size: 16px;
	line-height: 1.6;
}

.excerpt-card__excerpt p {
	margin: 0;
}

/* ==========================================================================
   9. Homepage Sections
   ========================================================================== */

/* --- Featured Hero --- */
.featured-hero {
	margin: 0 0 25px;
	text-align: center;
}

.featured-hero__image {
	margin: 0 0 18px;
}

.featured-hero__image img {
	width: 100%;
	height: auto;
	border-radius: var(--bcc-radius);
	max-width: var(--bcc-content-width);
}

.featured-hero__title {
	margin: 0 0 10px;
	font-size: 26px;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.featured-hero__title a {
	color: var(--bcc-color-text-heading);
	text-decoration: none;
}

.featured-hero__title a:hover {
	color: var(--bcc-color-primary);
	text-decoration: underline;
}

.featured-hero__meta {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding-bottom: 18px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	color: var(--bcc-color-text-muted);
}

.featured-hero__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.featured-hero__meta a {
	font-weight: 700;
	color: var(--bcc-color-text-body);
	text-decoration: none;
}

.featured-hero__meta::after {
	content: "";
	position: absolute;
	width: 60px;
	height: 1px;
	background: var(--bcc-color-border-accent-line);
	display: block;
	bottom: 0;
	left: 50%;
	margin-left: -30px;
}

.featured-hero__excerpt {
	max-width: 600px;
	margin: 0 auto 20px;
	font-family: var(--bcc-font-body);
	font-size: var(--bcc-font-size-small);
	line-height: 1.6;
}

.featured-hero__read-more {
	position: relative;
	display: inline-block;
	margin-top: 10px;
	margin-bottom: 15px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	font-weight: 700;
	color: var(--bcc-color-primary);
	text-decoration: none;
}

.featured-hero__read-more::before,
.featured-hero__read-more::after {
	position: absolute;
	content: "";
	width: 60px;
	height: 0;
	top: 50%;
	margin: 0 10px;
	margin-top: -1px;
	border-top: 1px solid var(--bcc-color-border-accent-line);
	transition: all 0.3s;
}

.featured-hero__read-more::before {
	right: 100%;
}

.featured-hero__read-more::after {
	left: 100%;
}

/* --- Section Titles (with ::after flex line) --- */
.home-section {
	margin: 0 0 45px;
}

.home-reviews-questions {
	margin: 0 0 35px;
}

.home-section__title {
	display: flex;
	align-items: center;
	margin: 0 0 25px;
	padding: 0;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-body);
	font-weight: 700;
	color: var(--bcc-color-text-heading);
}

.home-section__title::after {
	content: "";
	flex: 1;
	margin-left: 15px;
	border-bottom: 1px solid var(--bcc-color-border-accent-line);
}

/* --- Current Picks (3-column book lists) --- */


.home-picks__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.home-pick-card {
	display: flex;
	align-items: flex-start;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--bcc-color-border);
}

.home-pick-card:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.home-pick-card__image {
	display: block;
	flex-shrink: 0;
	margin-right: 20px;
	width: 120px;
	border-radius: var(--bcc-radius);
	overflow: hidden;
}

.home-pick-card__image img {
	display: block;
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: var(--bcc-radius);
}

.home-pick-card__data {
	min-width: 0;
}

.home-pick-card__title {
	margin: 0 0 4px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 700;
	line-height: 1.35;
}

.home-pick-card__title a {
	color: var(--bcc-color-text-heading);
	text-decoration: none;
}

.home-pick-card__title a:hover {
	color: var(--bcc-color-primary);
	text-decoration: underline;
}

.home-pick-card__date {
	margin-top: 4px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	color: var(--bcc-color-text-muted);
}

/* --- Two-Column: Discussions + Reviews --- */
.home-two-col {
	display: flex;
	flex-direction: column;
}

.home-discussions {
	order: 2;
	margin-bottom: 40px;
}

/* Discussion Questions list items */
.home-discussions__list {
	list-style: none;
	padding: 0;
}

.home-discussions__item {
	display: flex;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--bcc-color-border);
}

.home-discussions__item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.home-discussions__thumb {
	margin-right: 20px;
	border-radius: var(--bcc-radius);
	min-width: 120px;
	max-width: 120px;
	min-height: 80px;
	max-height: 80px;
	object-fit: cover;
	overflow: hidden;
}

.home-discussions__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bcc-radius);
}

.home-discussions__data {
	line-height: 1.3;
}

.home-discussions__title {
	font-family: var(--bcc-font-heading);
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 3px;
}

.home-discussions__title a {
	color: var(--bcc-color-text-heading);
	text-decoration: none;
}

.home-discussions__title a:hover {
	color: var(--bcc-color-primary);
	text-decoration: underline;
}

.home-discussions__date {
	margin-top: 4px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	color: var(--bcc-color-text-muted);
}

/* Reviews (featured box) */
.home-reviews {
	order: 1;
	margin-bottom: 40px;
	background: var(--bcc-color-reviews-bg);
	padding: 15px 20px 0;
	border-radius: var(--bcc-radius);
}

.home-reviews .home-section__title {
	justify-content: center;
	margin-bottom: 20px;
}

.home-reviews .home-section__title::after {
	display: none;
}

.home-reviews__list {
	list-style: none;
	padding: 0;
}

.home-reviews__item {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--bcc-color-reviews-border);
}

.home-reviews__item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 20px;
}

.home-reviews__item--featured {
	margin-bottom: 15px;
	padding-bottom: 15px;
}

.home-reviews__item--featured .home-reviews__image {
	margin-bottom: 15px;
}

.home-reviews__item--featured .home-reviews__image img {
	width: 100%;
	height: auto;
	border-radius: var(--bcc-radius);
}

.home-reviews__item--featured .home-reviews__title {
	padding-bottom: 5px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.3px;
}

.home-reviews__title {
	font-family: var(--bcc-font-heading);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.home-reviews__title a {
	color: var(--bcc-color-text-heading);
	text-decoration: none;
}

.home-reviews__title a:hover {
	color: var(--bcc-color-primary);
	text-decoration: underline;
}

/* --- Article Feed --- */
.home-feed {
	margin: 0 0 45px;
}

.home-feed__title {
	display: flex;
	align-items: center;
	margin: 0 0 20px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-body);
	font-weight: 700;
	color: var(--bcc-color-text-heading);
}

.home-feed__title::after {
	content: "";
	flex: 1;
	margin-left: 15px;
	border-bottom: 1px solid var(--bcc-color-border-accent-line);
}

/* Home list title with accent line */
.home-list-title {
	display: flex;
	align-items: center;
	margin: 0 0 15px;
	padding-top: 0;
	font-size: 18px;
	font-family: var(--bcc-font-heading);
	font-weight: 700;
	color: var(--bcc-color-text-heading);
}

.home-list-title::after {
	content: "";
	flex: 1;
	margin-left: 15px;
	border-bottom: 1px solid var(--bcc-color-border-accent-line);
}

/* Mobile list (book lists / current picks) */
.mobile-list,
.recent-reviews {
	margin: 0 auto 40px;
	padding-bottom: 10px;
	min-width: 100%;
	border-bottom: 1px solid var(--bcc-color-border);
}

.mobile-list.home-page,
.recent-reviews {
	padding-bottom: 0;
	border: none;
}

.recent-reviews ul {
	list-style-type: none;
	padding: 0;
}

.mobile-list li,
.recent-reviews li {
	margin-left: 0;
}

.recent-reviews li {
	display: flex;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--bcc-color-border);
}

.recent-reviews li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.mobile-list ul {
	list-style: none;
	padding: 0;
}

.recent-cats {
	height: 100%;
	margin-bottom: 20px;
}

/* BCQ items */
.recent-cat-item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--bcc-color-border);
}

.recent-cat-item:last-child {
	border-bottom: none;
}

.recent-cat-item.first img {
	margin-bottom: 5px;
	width: 100%;
	height: auto;
	border-radius: 1px;
}

.recent-cat-item.first .recent-cat-item-title {
	padding-bottom: 5px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.3px;
}

.recent-cat-item-title {
	font-size: 15px;
	line-height: 1.35;
	font-family: var(--bcc-font-heading);
	font-weight: 500;
}

.recent-cat-item-title a {
	color: var(--bcc-color-text-heading);
	text-decoration: none;
}

.recent-cat-item-title a:hover {
	color: var(--bcc-color-primary);
}

/* ==========================================================================
   10. Sidebar Widgets
   ========================================================================== */

.widget-container {
	margin-bottom: 40px;
}

.widget-title {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding: 0 0 5px;
	font-size: 18px;
	background: var(--bcc-color-bg);
}

.widget-title::after {
	content: "";
	flex: 1;
	margin-left: 15px;
	border-bottom: 1px solid var(--bcc-color-border-accent-line);
}

.post-item-img {
	margin-right: 20px;
	border-radius: var(--bcc-radius);
	min-width: 120px;
	max-width: 120px;
	min-height: 80px;
	max-height: 80px;
	object-fit: cover;
	overflow: hidden;
}

.post-item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bcc-radius);
}

.post-item-data {
	line-height: 1.1;
}

.post-item-title a {
	color: var(--bcc-color-text-heading);
	font-family: var(--bcc-font-heading);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.post-item-title a:hover {
	color: var(--bcc-color-primary);
}

.post-item-date {
	margin-top: 4px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	color: var(--bcc-color-text-muted);
}

/* --- Custom HTML Widget (textwidget) --- */

/*
 * Custom HTML widgets use .textwidget as a container. These rules normalize
 * list and title styling inside that wrapper for any widget that uses it.
 */

/* Reset <ul> elements inside .textwidget */
.textwidget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Collapse empty <p> tags injected around widget titles */
.textwidget > p:empty {
	display: none;
}

.textwidget li {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--bcc-color-border);
}

/* Last <ul> in the textwidget — remove its <li> border */
.textwidget ul:last-of-type li {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

/* Widget title inside textwidget — matches .widget-title style */
.textwidget .widget-title {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	padding: 0 0 5px;
	font-size: 18px;
	background: var(--bcc-color-bg);
}

.textwidget .widget-title::after {
	content: "";
	flex: 1;
	margin-left: 15px;
	border-bottom: 1px solid var(--bcc-color-border-accent-line);
}

/* --- Sidebar Post List with Images (shared: popular + latest) --- */

.sidebar-post-list-with-images {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-post-item-with-images,
.latest-post-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--bcc-color-border);
}

.sidebar-post-item-with-images:last-child,
.latest-post-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

/* Legacy latest-posts widget UL reset */
.latest-posts-widget ul {
	list-style: none;
	padding: 0;
}

/* --- Single Post Widget (sidebar random post) --- */
.single_post_widget a {
	display: block;
	text-decoration: none;
}

.single_post_widget h3 {
	padding-top: 20px;
	border-top: 1px solid var(--bcc-color-border-accent-line);
	margin: 0 0 15px;
	font-size: var(--bcc-font-size-h2);
	line-height: 1.4;
	color: var(--bcc-color-text-heading);
}

.single_post_widget a:hover h3 {
	color: var(--bcc-color-primary);
}

.single_post_widget img {
	border-radius: var(--bcc-radius);
	width: 100%;
	height: auto;
}

/* --- About widget --- */

.about-widget .about-image img {
	width: 100%;
	height: 415px;
	object-fit: cover;
	border-radius: var(--bcc-radius);
}

.about-widget .about-text .about-title {
	position: relative;
	margin: 15px 0;
	padding-bottom: 15px;
	font-size: 18px;
	font-family: var(--bcc-font-heading);
	font-weight: 700;
	letter-spacing: -0.5px;
	color: var(--bcc-color-text-heading);
	text-align: center;
}

.about-widget .about-text .about-title::after {
	content: "";
	position: absolute;
	width: 60px;
	height: 1px;
	background: var(--bcc-color-border-accent-line);
	display: block;
	margin-top: 10px;
	bottom: 0;
	left: 50%;
	margin-left: -30px;
}

.about-widget .about-text .about-body {
	margin: 10px 0;
	font-size: 16px;
	font-family: var(--bcc-font-body);
}

.about-widget .about-text .about-body a {
	color: var(--bcc-color-link);
	font-weight: 700;
	border-bottom: none;
}

.about-widget .about-text .about-body a:hover {
	text-decoration: none;
	color: var(--bcc-color-link);
	border-bottom: none;
}

/* --- Popular Posts Text-Only Widget --- */
.sidebar-posts-text-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-post-text-item {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--bcc-color-border-accent-line);
	line-height: 1.4;
}

.sidebar-post-text-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.sidebar-post-text-item a {
	font-family: var(--bcc-font-body);
	font-size: 16px;
	font-weight: 400;
	color: var(--bcc-color-text-body);
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

.sidebar-post-text-item a:visited {
	color: var(--bcc-color-text-body);
}

.sidebar-post-text-item a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   11. Related Posts
   ========================================================================== */

.related-posts-widget {
	width: 100%;
	margin-top: 30px;
	padding: 20px 0 0;
}

.related-posts-widget-title {
	margin: 0 auto 25px;
	text-align: center;
}

.related-posts-widget-title h2 {
	display: inline-block;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.3px;
}

.related-posts-content {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.related-post {
	display: block;
	margin: 0;
	padding: 0;
	border: none;
}

.related-post-img {
	border-radius: var(--bcc-radius);
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.related-post-img a {
	display: block;
	height: 100%;
}

.related-post-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bcc-radius);
}

.related-post-title {
	margin-top: 8px;
	line-height: 1.2;
}

.related-post-title a {
	color: var(--bcc-color-text-heading);
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	font-weight: 600;
	letter-spacing: -0.3px;
	text-decoration: none;
}

.related-post-title a:hover {
	color: var(--bcc-color-primary);
}

/* ==========================================================================
   12. Comments
   ========================================================================== */

.comments-area {
	margin-top: 60px;
	margin-bottom: 40px;
	padding-top: 20px;
	border-top: 2px dashed var(--bcc-color-border-accent);
}

.comments-title {
	margin-bottom: 30px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-h3);
	font-weight: 700;
	letter-spacing: -0.3px;
	color: var(--bcc-color-text-heading);
}

/* --- Comment list --- */
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.comment-list > .comment {
	margin-bottom: 0;
	padding: 24px 20px;
	background: var(--bcc-color-comment-bg);
	border: 1px solid var(--bcc-color-border);
	border-radius: var(--bcc-radius);
}

/* --- Comment header: avatar + name + date --- */
.comment-body .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin-bottom: 10px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 0;
}

.comment-author img {
	border-radius: 50%;
	flex-shrink: 0;
}

.comment-author .fn {
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 700;
	color: var(--bcc-color-text-heading);
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	width: 100%;
	padding-left: 60px;
	margin-top: 0;
	margin-bottom: 0;
}

.comment-metadata a {
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	color: var(--bcc-color-text-muted);
	text-decoration: none;
}

.comment-metadata a:hover {
	color: var(--bcc-color-text-aside);
}

/* --- Comment content --- */
.comment-content {
	padding-left: 60px;
}

.comment-content p {
	margin-bottom: 8px;
	font-size: var(--bcc-font-size-small);
	line-height: 1.6;
	color: var(--bcc-color-text-body);
}

.comment-content p:last-child {
	margin-bottom: 0;
}

/* --- Reply link --- */
.comment-body .reply {
	padding-left: 60px;
	margin-top: 10px;
}

.comment-reply-link {
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-xxs);
	font-weight: 600;
	color: var(--bcc-color-primary);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.comment-reply-link:hover {
	color: var(--bcc-color-link-hover);
}

/* --- Child / nested comments --- */
.comment-list .children {
	list-style: none;
	padding: 16px 0 0 28px;
	margin: 16px 0 0;
	border-left: 2px solid var(--bcc-color-border-accent-strong);
}

.children .comment {
	margin-bottom: 0;
	padding: 16px;
	border: 1px solid var(--bcc-color-border);
	background: rgba(0, 0, 0, 0.05);
	border-radius: var(--bcc-radius);
}

/* --- Comment navigation --- */
.comment-navigation {
	display: flex;
	justify-content: space-between;
	padding: 16px 0;
	margin-top: 16px;
	border-top: 1px solid var(--bcc-color-border);
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
}

.comment-navigation a {
	color: var(--bcc-color-primary);
	text-decoration: none;
}

.comment-navigation a:hover {
	color: var(--bcc-color-link-hover);
}

/* --- Comment form --- */
.comment-respond {
	margin-top: 40px;
	padding: 30px 24px;
	background: var(--bcc-color-comment-bg);
	border: 1px solid var(--bcc-color-border);
	border-radius: var(--bcc-radius);
}

.comment-reply-title {
	margin-bottom: 24px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-h3);
	font-weight: 700;
	letter-spacing: -0.3px;
	color: var(--bcc-color-text-heading);
}

.comment-reply-title small {
	margin-left: 8px;
	font-size: var(--bcc-font-size-xxs);
	font-weight: 500;
}

.comment-reply-title small a {
	color: var(--bcc-color-text-muted);
	text-decoration: none;
}

.comment-reply-title small a:hover {
	color: var(--bcc-color-primary);
}

.comment-form label {
	display: block;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 600;
	color: var(--bcc-color-text-heading);
	margin-bottom: 6px;
}

.comment-form label .required {
	color: var(--bcc-color-text-muted);
	font-weight: 400;
}

.comment-form input[type="text"],
.comment-form input[type="email"] {
	width: 100%;
	max-width: 400px;
	padding: 12px 16px;
	font-size: var(--bcc-font-size-small);
	color: var(--bcc-color-text-body);
	background: var(--bcc-color-bg);
}

.comment-form textarea {
	width: 100%;
	padding: 16px;
	font-size: var(--bcc-font-size-small);
	line-height: 1.6;
	color: var(--bcc-color-text-body);
	background: var(--bcc-color-bg);
	resize: vertical;
}

.comment-form p {
	margin-bottom: 20px;
}

.comment-form .form-submit {
	margin-bottom: 0;
	padding-top: 4px;
}

.comment-form .submit {
	display: inline-block;
	background: var(--bcc-color-primary);
	color: var(--bcc-color-bg);
	border: 2px solid var(--bcc-color-primary);
	border-radius: var(--bcc-radius);
	padding: 12px 32px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 600;
	letter-spacing: -0.2px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.comment-form .submit:hover {
	background: transparent;
	color: var(--bcc-color-primary);
}

/* --- Comment form intro (author avatar + prompt) --- */
.comment-form-intro {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 28px;
}

.comment-form-intro img {
	border-radius: 50%;
	flex-shrink: 0;
}

.comment-form-intro span {
	font-family: var(--bcc-font-body);
	font-size: var(--bcc-font-size-small);
	font-style: italic;
	color: var(--bcc-color-text-aside);
	line-height: 1.5;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.site-footer {
	background: var(--bcc-color-footer-bg);
	color: var(--bcc-color-footer-text);
	padding: 30px 16px;
	margin-top: 40px;
}

.site-footer__inner {
	max-width: var(--bcc-wrapper-width);
	margin: 0 auto;
	text-align: center;
}

/* Footer branding */
.footer-branding {
	margin-bottom: 20px;
}

.footer-logo {
	padding-top: 20px;
	display: inline-block;
}

.footer-logo svg {
	fill: var(--bcc-color-footer-text);
}

/* Footer navigation */
.footer-nav {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--bcc-color-footer-border);
}

.footer-menu {
	display: inline-block;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 600;
	list-style-type: none;
	text-align: center;
	width: auto;
	margin: 0 auto;
	padding: 0;
}

.footer-menu-item {
	margin: 5px 10px;
	display: inline-block;
	color: var(--bcc-color-footer-text);
}

.footer-menu-item a,
.footer-menu-item a:visited {
	color: var(--bcc-color-footer-text);
	text-decoration: none;
}

.footer-menu-item a:hover {
	color: var(--bcc-color-bg);
}

/* Footer bottom */
.footer-bottom {
	margin-top: 10px;
}

.footer-copyright {
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	color: var(--bcc-color-footer-text);
	margin: 0;
}

/* ==========================================================================
   14. Utility Classes
   ========================================================================== */

/* Visually hidden but accessible to screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal;
}

.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	display: block;
	height: auto;
	width: auto;
	left: 5px;
	top: 5px;
	z-index: 100000;
	padding: 12px;
	background: var(--bcc-color-bg);
	color: var(--bcc-color-text-heading);
	font-size: var(--bcc-font-size-small);
}

/* WordPress alignment classes */
.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* Content hint — invisible, just for Mediavine placement */
.content_hint {
	display: block;
	height: 0;
	overflow: hidden;
}

/* Centered content — replaces deprecated <center> tags */
.container-center {
	text-align: center;
}

/* ==========================================================================
   Search Form + No Results
   ========================================================================== */

.search-form {
	margin: 24px 0;
}

.search-form__wrapper {
	display: flex;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	padding: 10px 16px;
	font-family: var(--bcc-font-body);
	font-size: var(--bcc-font-size-small);
	color: var(--bcc-color-text-body);
	background: var(--bcc-color-bg);
	border: 1px solid var(--bcc-color-border-input);
	border-radius: var(--bcc-radius) 0 0 var(--bcc-radius);
}

.search-form__input::placeholder {
	color: var(--bcc-color-text-light);
}

.search-form__input:focus {
	border-color: var(--bcc-color-primary);
	outline: 2px solid var(--bcc-color-primary);
	outline-offset: -2px;
}

.search-form__submit {
	flex-shrink: 0;
	padding: 10px 20px;
	font-family: var(--bcc-font-heading);
	font-size: var(--bcc-font-size-small);
	font-weight: 600;
	color: var(--bcc-color-bg);
	background: var(--bcc-color-primary);
	border: 1px solid var(--bcc-color-primary);
	border-radius: 0 var(--bcc-radius) var(--bcc-radius) 0;
	cursor: pointer;
}

.search-form__submit:hover {
	opacity: 0.9;
}

.search-form__submit:focus {
	outline: 2px solid var(--bcc-color-primary);
	outline-offset: -2px;
}

/* No results / 404 fallback */
.no-results {
	margin: 24px 0;
	padding: 24px 0;
}

.no-results p {
	margin: 0 0 16px;
}

/* ==========================================================================
   16. Media Queries (mobile-first, consolidated)
   ========================================================================== */

/* --- Small: 480px --- */
@media (min-width: 480px) {

	.mv-ad-box,
	div[data-ad-wrapper] {
		margin: 65px 0 !important;
	}

	.bcc-title-card {
		padding: 25px 24px;
		background: rgba(240, 240, 240, 0.25);
	}

	.bcc-title-card.no-link {
		padding: 25px 24px 10px;
	}

	body.tag-book-lists .bcc-title-card::before {
		width: 48px;
		height: 48px;
		font-size: var(--bcc-font-size-h2);
		top: -22px;
	}

	.entry-content ol > li,
	.entry-content ul > li {
		padding-left: 15px;
	}

	.entry-title {
		font-size: 2rem;
	}

	.featured-hero__title {
		padding: 0 8px;
		font-size: 28px;
	}

	.excerpt-card__title {
		font-size: 22px;
	}

	.entry-cat {
		font-size: 16px;
		margin-bottom: 20px;
	}

	.bcc-newsletter-box {
		padding: 12px;
	}
}

/* --- Bookshop iframe: 505px --- */
@media (min-width: 505px) {

	.bcc-title-card iframe {
		height: 284px;
	}
}

/* --- Small-medium: 600px --- */
@media (min-width: 600px) {

	.excerpt-card__meta::after {
		left: 0;
		margin-left: 0;
	}

	.post-author-bio {
		display: flex;
		align-items: center;
		padding: 30px 24px;
		background: rgba(240, 240, 240, 0.25);
		text-align: left;
	}

	.post-author-bio img {
		margin-right: 20px;
	}

	.post-author-bio .post-meta-author {
		text-align: left;
	}

	.post-author-bio .author-bio p {
		text-align: left;
	}

	.related-posts-widget {
		display: block;
		width: 100%;
	}

	.related-posts-content {
		grid-template-columns: repeat(3, 1fr);
	}

	.related-post-title a {
		font-size: var(--bcc-font-size-small);
	}
}

/* --- Medium: 768px --- */
@media (min-width: 768px) {

	.site-header {
		margin-bottom: 30px;
	}

	.site-branding {
		padding-top: 5px;
		padding-bottom: 5px;
	}

	.header-logo-img {
		max-width: 240px;
	}


	.header-search {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		gap: 10px;
		order: 2;
		max-width: 600px;
		padding: 4px 0;
	}

	/* Content width steps up to 728px */
	.primary-content,
	.home-content,
	.entry-content {
		max-width: var(--bcc-content-width);
	}

	.entry-title {
		font-size: 2.25rem;
	}

	.entry-header--page .entry-title {
		font-size: 2rem;
	}

	.featured-hero__title {
		font-size: 30px;
	}

	.home-picks {
		padding-bottom: 30px;
		border-bottom: 1px solid var(--bcc-color-border-accent-line);
	}

	.home-reviews__item--featured .home-reviews__image {
		margin-bottom: 12px;
	}

	.home-reviews__item {
		margin-bottom: 12px;
		padding-bottom: 12px;
	}

	.home-reviews__item--featured {
		margin-bottom: 12px;
		padding-bottom: 6px;
	}


	/* Excerpt cards: horizontal on medium+ */
	.excerpt-card {
		display: flex;
		margin: 0 0 40px;
		padding: 0 0 40px;
	}

	.excerpt-card__image {
		flex: 0 0 300px;
		max-width: 300px;
		margin-right: 28px;
		margin-bottom: 0;
	}

	.excerpt-card__content {
		margin-top: 0;
		flex: 1;
		min-width: 0;
	}

	.excerpt-card__meta::after {
		left: 0;
		margin-left: 0;
	}

	.featured-hero {
		margin-bottom: 30px;
	}

	.home-section {
		margin: 0 0 60px;
	}

	.home-reviews-questions {
		margin: 0 0 65px;
	}

	/* Home picks: 3-column grid */
	.home-picks__grid {
		display: flex;
		justify-content: space-between;
	}

	.home-pick-card {
		display: block;
		max-width: 220px;
		padding-bottom: 0;
		margin-bottom: 0;
		border-bottom: none;
	}

	.home-pick-card__image {
		margin-right: 0;
		margin-bottom: 12px;
		width: 100%;
	}

	.home-pick-card__image img {
		width: 100%;
		height: auto;
		aspect-ratio: auto;
		object-fit: cover;
	}

	.home-pick-card__date {
		display: none;
	}

	.home-pick-card__title {
		font-size: var(--bcc-font-size-small);
	}

	/* Two-column: discussions + reviews */
	.home-two-col {
		display: flex;
		flex-direction: row;
		gap: 60px;
	}

	.home-discussions {
		order: 1;
		flex: 52;
		margin-bottom: 0;
		min-width: 0;
	}

	.home-reviews {
		order: 2;
		flex: 48;
		margin-top: -15px;
		margin-bottom: 0;
		min-width: 0;
	}

	/* Pagination — show all numbers on tablet+ */
	.page-numbers {
		display: inline-block;
	}

	/* Archive title */
	.archive-title {
		font-size: 26px;
	}

	.archive-header {
		margin-bottom: 45px;
	}

	.mobile-list {
		margin-bottom: 45px;
		padding-bottom: 15px;
	}

	.mobile-list ul {
		display: flex;
		margin-bottom: 25px;
		justify-content: space-between;
	}

	.mobile-list .latest-post-item {
		margin: 0;
		padding: 0;
		display: block;
		max-width: 220px;
		border: none;
	}

	.mobile-list .post-item-img {
		margin-right: 0;
		margin-bottom: 12px;
		max-height: 140px;
		max-width: 100%;
		min-height: auto;
		min-width: auto;
	}

	.mobile-list .post-item-date {
		display: none;
	}

	.recent-cats {
		max-width: 50%;
	}

	.recent-reviews {
		margin-right: 40px;
		min-width: inherit;
	}
}

/* --- Tablet-landscape: 960px --- */
@media (min-width: 960px) {

	.site-header__inner {
		padding: 12px 20px;
	}

	.site-branding {
		padding: 4px 0;
	}
}

/* --- Large: 1024px --- */
@media (min-width: 1024px) {

	/* Desktop: branding left, nav fills right */
	.site-header__inner.search-open {
		justify-content: space-between;
	}

	.search-toggle {
		order: 3;
		flex: 0 0 auto;
	}

	.site-branding {
		text-align: left;
		order: 1;
	}

	/* Desktop: keep branding visible when search is open */
	.search-open .site-branding {
		display: block;
	}

	.site-nav {
		flex: 1 1 auto;
		order: 2;
		text-align: right;
	}

	.featured-hero__title {
		font-size: 32px;
	}

	/* Nav: horizontal on desktop — dismantle overlay */
	.nav-toggle {
		display: none;
	}

	.nav-overlay {
		display: block;
		position: static;
		background: none;
		padding-bottom: 0;
		overflow: visible;
	}

	.nav-overlay__header {
		display: none;
	}

	.nav-close {
		display: none;
	}

	#primary-menu {
		display: flex;
		justify-content: flex-end;
		position: static;
		background: none;
		border: none;
		box-shadow: none;
		padding: 0;
		margin: 0;
		min-width: auto;
		gap: 0;
	}

	#primary-menu .menu-item a {
		padding: 5px 12px;
		font-size: var(--bcc-font-size-small);
		color: var(--bcc-color-text-heading);
	}

	#primary-menu .menu-item a:hover {
		color: var(--bcc-color-primary);
	}

	#primary-menu .current-menu-item a {
		border-bottom: 2px solid var(--bcc-color-primary);
		color: var(--bcc-color-primary);
	}

	.site-content {
		padding: 0 20px;
	}

	.site-footer {
		padding: 30px 20px;
	}
}

/* --- Desktop with sidebar: 1135px --- */
@media (min-width: 1135px) {

	.site-content {
		display: grid;
		grid-template-columns: minmax(0, var(--bcc-content-width)) var(--bcc-sidebar-width);
		justify-content: space-between;
		max-width: var(--bcc-wrapper-width);
		padding: 0 20px;
	}

	.sidebar {
		display: block;
		max-width: var(--bcc-sidebar-width-lg);
		min-width: var(--bcc-sidebar-width);
		width: auto;
	}

	.sidebar .widget-container {
		margin-top: 40px;
		padding: 0;
	}

	.sidebar .widget-container:first-child {
		margin-top: 0;
	}

	.sidebar .widget-container:first-of-type {
		margin-top: -5px;
		border: none;
	}
}

/* --- Large desktop: 1250px --- */
@media (min-width: 1250px) {

	.site-header__inner {
		padding: 16px 0;
	}

	.site-branding {
		padding: 0;
	}

	.site-content {
		grid-template-columns: minmax(0, var(--bcc-content-width)) var(--bcc-sidebar-width-lg);
		max-width: var(--bcc-wrapper-width);
		padding: 0;
	}

	.site-footer {
		padding: 15px 0 30px;
	}
}
