/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
.page .entry-title {
	text-align: center;
}

.featured-page .entry-title::before, .featured-page .entry-title::after {
	content: "";
}

.page .entry-header {
	display: none;
}

@media screen and (min-width: 1000px) {
	.content-wrapper.without-featured-image {
		padding-left: 55px;
	}
}

.menu-item-8389 a svg {
	visibility: hidden;
}

.menu-item-8389 a {
	background: url('https://kjfarnham.com/wp-content/uploads/2017/04/goodreads-48x48.png') no-repeat scroll center center / contain;
}

.menu-item-8396 a svg {
	visibility: hidden;
}

.menu-item-8396 a {
	background: url('https://kjfarnham.com/wp-content/uploads/2017/04/amazon-white-icon-48x48.png') no-repeat scroll center center / contain;
}

.menu-item-8397 a svg {
	visibility: hidden;
}

.menu-item-8397 a {
	background: url('https://kjfarnham.com/wp-content/uploads/2017/04/bb-48x48.png') no-repeat scroll center center / contain;
}

/* Center Blog Subscription Button */
.widget_blog_subscription {
	text-align: center;
}

/* Center Newsletter Link in Widget */
#text-10 p {
	text-align: center;
}

/* add this to change the background color and add a little padding */
.jetpack-simple-payments-image {
	border: 0;
}

/* add this for a golden texture to appear behind the message */
.jetpack-simple-payments-purchase-message {
	background-image: url('https://en-support.files.wordpress.com/2017/08/golden-background-strip.jpg');
}

/* set the main text to display in black */
.jetpack-simple-payments-purchase-message > p {
	color: black;
}

/* Hide site title and adjust white space | 10926902-hc */
p.site-title {
	display: none;
}

@media (min-width: 1025px) {
	p.site-description {
		margin-top: -30px;
	}
	
	.site-header .jetpack-social-navigation,
		.site-header .social-navigation {
		display: none !important;
	}
	
	.site-branding {
		margin-bottom: -18px !important;
	/* removes extra space below the whole branding block */
	}
	
	.site-description {
		margin-bottom: -10px !important;
	/* pulls the tagline closer to the menu bar */
	}
	
	@media (max-width: 768px) {
	/* Hide ANY social menu in the header */
	.site-header [class*="social"],
	    .site-header [class*="Social"],
	    .site-header [class*="jetpack"],
	    .site-header [class*="menu-social"],
	    .site-header [class*="social-links"],
	    .site-header [class*="social-navigation"] {
		display: none !important;
	}
	
	/* Restore footer icons */
	.site-info [class*="social"],
	    .site-info [class*="Social"],
	    .site-info [class*="jetpack"],
	    .site-info [class*="menu-social"],
	    .site-info [class*="social-links"],
	    .site-info [class*="social-navigation"] {
		display: block !important;
	}
}

.home .featured-page .entry-summary p {
	text-align: center !important;
}	
}

@media (max-width: 600px) {
	.home .featured-page img {
		max-width: 60%;
	}
	
	.home .featured-page article {
		text-align: center;
	}
}

#tertiary {
	display: none;
}

@media screen and (min-width: 1000px) {
	.content-wrapper.full-width.without-featured-image {
		margin: 0;
	}
}

.wp-block-button__link {
	background-color: #262626;
}

.hero .entry-thumbnail {
	display: none;
}

@media only screen and (max-width: 768px) {
	.featured-content .grid {
		display: block;
	}
	
	.featured-content .grid .grid-item {
		width: 100% !important;
		margin-bottom: 30px;
	}
	
	.featured-content .grid .grid-item img {
		width: 100%;
		height: auto;
	}
}

@media only screen and (max-width: 768px) {
	.wp-block-column {
		border-bottom: 1px solid #ccc;
		padding-bottom: 25px;
		margin-bottom: 25px;
	}
	
	/* Remove the line after the last book */
	.wp-block-column:last-child {
		border-bottom: none;
	}
}

.wp-block-columns {
	margin-bottom: 60px;
}

@media only screen and (max-width: 768px) {
	.wp-block-columns {
		margin-bottom: 40px;
	}
}

.site-info:before {
	content: "© 2014–2026 KJ Farnham. All rights reserved.";
	display: block;
	text-align: center;
	margin-bottom: 5px;
/* reduces space between copyright and WordPress line */
	font-size: 15px;
/* matches WordPress.com footer credit size */
	font-weight: 400;
/* matches the weight */
	letter-spacing: .5px;
/* optional: improves visual balance */
}

.widget_media_image {
	margin-bottom: 5px;
/* reduces the large gap below the image block */
}

.site-branding img {
	max-width: 220px;
/* slightly larger for desktop */
}

.site-description {
	margin-top: -10px;
/* pulls tagline upward */
}

@media (max-width: 768px) {
	.site-header .social-navigation {
		margin-bottom: 5px;
	/* pulls icons closer to the MENU bar */
	}
	
	.main-navigation {
		margin-top: 0;
	/* removes extra space above the MENU bar */
	}
}

.site-description:before,
.site-description:after {
	content: none !important;
/* removes the decorative dashes */
}

@media (max-width: 768px) {
	.site-header .social-navigation,
	    .site-header .jetpack-social-navigation {
		display: none !important;
	}
}

@media (max-width: 768px) {
	/* Hide ALL social menus in the mobile menu area */
	.site-header-menu .social-navigation,
	    .site-header-menu .jetpack-social-navigation,
	    .site-header-menu [class*="social"],
	    .site-header-menu [class*="Social"],
	    .site-header-menu [class*="jetpack"],
	    .site-header-menu [class*="menu-social"],
	    .site-header-menu [class*="social-links"] {
		display: none !important;
	}
	
	/* Restore footer icons */
	.site-info .social-navigation,
	    .site-info .jetpack-social-navigation,
	    .site-info [class*="social"],
	    .site-info [class*="Social"],
	    .site-info [class*="jetpack"],
	    .site-info [class*="menu-social"],
	    .site-info [class*="social-links"] {
		display: block !important;
	}
}

@media (max-width: 768px) {
	/* Logo size + spacing */
	.site-branding img {
		max-width: 240px;
		margin-bottom: 2px;
	/* small gap under logo */
	}
	
	/* Tagline position + style */
	.site-branding .site-description {
		font-size: 12px !important;
		line-height: 1.2em !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-align: center !important;
		margin-top: -18px;
	/* pulls tagline closer to logo */
	}
	
	/* Space between tagline and menu */
	.site-branding {
		padding-bottom: 0 !important;
		margin-bottom: 20px !important;
	/* gap above menu – you said this looks good */
	}
}

@media (max-width: 768px) {
	.home .featured-page img {
		max-width: 40% !important;
		height: auto !important;
		margin: 0 auto !important;
		display: block !important;
	}
}

@media (max-width: 768px) {
	/* 1) Logo bigger + tighter header spacing */
	.site-branding img {
		max-width: 280px !important;
	/* bigger logo on mobile */
		margin-bottom: 0 !important;
	/* remove extra gap under logo */
	}
	
	.site-branding .site-description {
		font-size: 12px !important;
		line-height: 1.2em !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-align: center !important;
		margin-top: -35px !important;
	/* pulls tagline closer to logo */
	}
	
	.site-branding {
		padding-bottom: 0 !important;
		margin-bottom: 10px !important;
	/* reduces space between tagline and menu */
	}
	
	/* 2) Featured Books heading smaller + closer to menu */
	.home .featured-page .entry-title {
		font-size: 20px !important;
	/* smaller "Featured Books" */
		margin-top: -10px !important;
	/* reduces space above heading */
		margin-bottom: 10px !important;
	/* reduces space below heading */
	}
	
	/* Keep book covers smaller on mobile */
	.home .featured-page img {
		max-width: 40% !important;
		height: auto !important;
		margin: 0 auto !important;
		display: block !important;
	}
}

@media (max-width: 768px) {
	h2.wp-block-heading.has-text-align-center {
		font-size: 24px !important;
	/* smaller Featured Books */
		line-height: 1.1em !important;
		margin-top: px !important;
	/* pulls it closer to the menu */
		margin-bottom: 20px !important;
	/* tightens space below */
		text-align: center !important;
	}
}

@media (max-width: 768px) {
	h2.wp-block-heading.has-text-align-center {
		font-size: 24px !important;
		font-weight: 600 !important;
	/* adjust thickness */
		line-height: 1.1em !important;
		margin-top: 0 !important;
		margin-bottom: 20px !important;
		text-align: center !important;
	}
}

@media (min-width: 769px) {
	h2.wp-block-heading.has-text-align-center {
		margin-top: -20px !important;
	/* reduces space above Featured Books */
		margin-bottom: 20px !important;
	/* keeps space below consistent */
	}
}

.home .featured-page {
	margin-top: -50px !important;
	padding-top: 0 !important;
}

@media (max-width: 768px) {
	/* Add space between featured blocks */
	.home .featured-page {
		margin-bottom: 85px !important;
	/* space between each block */
	}
	
	/* Make featured images larger on mobile */
	.home .featured-page img {
		max-width: 70% !important;
	/* increase image size */
		height: auto !important;
		display: block !important;
		margin: 0 auto !important;
	/* keep centered */
	}
	
	/* Optional: tighten text spacing below each image */
	.home .featured-page .entry-title,
	  .home .featured-page .entry-summary {
		margin-top: 10px !important;
	}
}

@media (max-width: 768px) {
	/* Divider line above carousel */
	.home .swiper {
		border-top: 1px solid #e6e6e6;
		padding-top: 20px;
	}
	
	/* Divider line below carousel */
	.home .swiper {
		border-bottom: 1px solid #e6e6e6;
		padding-bottom: 20px;
	}
}

@media (max-width: 768px) {
	/* Reduce space between last featured block and footer */
	.home .featured-page:last-of-type {
		margin-bottom: 40px !important;
	/* adjust spacing as needed */
		padding-bottom: 0 !important;
	}
}

@media (max-width: 768px) {
	.custom-header {
		width: 100% !important;
		overflow: visible !important;
	/* allow logo to extend symmetrically */
		text-align: center !important;
	}
	
	.custom-header a {
		display: inline-block !important;
	/* keeps centering correct */
	}
	
	.custom-header img {
		width: 110vw !important;
	/* oversized logo */
		max-width: none !important;
	/* remove theme cap */
		height: auto !important;
		display: block !important;
		margin-left: calc(-5vw) !important;
	/* PERFECT centering trick */
		margin-right: auto !important;
	}
}