/*
Theme Name: Little Robert
Theme URI: https://rlfleming.com
Template: baskerville
Author: Rob Fleming
Author URI: https://rlfleming.com
Text Domain: little-robert
Description: Little Robert's Roadhouse — a custom theme built on the Baskerville framework, redesigned feature by feature for a nomadic touring musician's blog covering Road Code, Music, Gear Toys & Tech, and Online Sales.
Version: 1.2.4

*/

/* -------------------------------------------------------------------------------- */
/*  Jetpack Likes + Related Posts — manually repositioned blocks
/* -------------------------------------------------------------------------------- */

.post-likes {
	margin: 20px 0;
}

.post-related {
	margin: 30px 0 0;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
}

/* -------------------------------------------------------------------------------- */
/*  Footer Credits — "with rlfmusic" subtext next to the copyright year
/* -------------------------------------------------------------------------------- */

.credits-subtext {
	font-size: 0.7em;
	opacity: 0.75;
}

/* -------------------------------------------------------------------------------- */
/*  Post Likes (sits between the author bio and comments)
/* -------------------------------------------------------------------------------- */

.post-likes {
	margin: 20px 0;
	text-align: center;
}

/* -------------------------------------------------------------------------------- */
/*  Related Posts (sits below comments)
/* -------------------------------------------------------------------------------- */

.related-posts-container {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e5e5e5;
}

.related-posts-title {
	margin-bottom: 20px;
}

.related-posts .related-post {
	margin-bottom: 20px;
}

.related-post-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.related-post-thumb img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 10px;
}

.related-post-title {
	font-size: 1em;
	line-height: 1.4;
	margin: 0;
}

@media only screen and ( max-width: 600px ) {

	.related-posts .related-post {
		width: 100%;
		margin-left: 0;
	}

}

/* -------------------------------------------------------------------------------- */
/*  Credits Bar — copyright, footer nav menu, and "Up" link in one row.
/*  Replaces the theme's stock "Powered by WordPress" / "Theme by Anders Noren"
/*  text with the site's own footer menu.
/* -------------------------------------------------------------------------------- */

.credits-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.credits-left,
.credits-right {
	margin: 0;
	white-space: nowrap;
}

.credits-menu {
	flex: 1 1 auto;
	text-align: center;
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	display: inline-block;
	margin: 0 10px;
}

.footer-menu a {
	color: #ffffff;
	text-decoration: none;
	font-size: 0.7em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.footer-menu a:hover,
.footer-menu a:focus {
	color: #cccccc;
	text-decoration: underline;
}

@media only screen and ( max-width: 600px ) {

	.credits-inner {
		flex-direction: column;
		text-align: center;
	}

	.footer-menu li {
		display: block;
		margin: 6px 0;
	}

}

/* -------------------------------------------------------------------------------- */
/*  For Sale By Owner (FSBO) — 2-up grid page
/* -------------------------------------------------------------------------------- */

.fsbo-grid {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 30px;
	margin-top: 20px;
}

.fsbo-card {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.fsbo-card-image {
	display: block;
	width: 300px;
	height: 300px;
	margin: 0 auto;
	overflow: hidden;
}

.fsbo-card-image img {
	width: 300px;
	height: 300px;
	object-fit: cover;
	display: block;
}

.fsbo-card-noimage {
	width: 300px;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
	color: #999;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.fsbo-card-body {
	padding: 16px 18px;
}

.fsbo-card-title {
	font-size: 1.1em;
	margin: 0 0 8px 0;
}

.fsbo-card-title a {
	text-decoration: none;
}

.fsbo-card-price {
	font-weight: 700;
	font-size: 1.15em;
	color: #1a7f37;
	margin-bottom: 10px;
}

.fsbo-card-excerpt {
	font-size: 0.9em;
	line-height: 1.5;
	color: #444;
	margin: 0;
}

@media only screen and ( max-width: 600px ) {

	.fsbo-grid {
		grid-template-columns: 1fr;
	}

	.fsbo-card-image,
	.fsbo-card-image img,
	.fsbo-card-noimage {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
	}

}

/* -------------------------------------------------------------------------------- */
/*  For Sale nav item
/*  No special CSS needed — just add a "For Sale By Owner" (or similar) menu item
/*  in Appearance > Menus like any other nav link. It inherits the same font,
/*  size, and styling as the rest of the menu automatically.
/* -------------------------------------------------------------------------------- */
