/*
Theme Name:     Katy Regnery
Theme URI:      https://www.katyregnery.com
Template:       kadence
Author:         Carrie Loves Design Studio
Author URI:     https://www.carrieloves.com
Description:    Kadence child theme by Carrie Loves for Katy Regnery.
Version:        1_0_0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* General
---------------------------------------- */

body {
	-webkit-font-smoothing: subpixel-antialiased;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	-webkit-font-smoothing: antialiased;
}

a {
	transition: color .2s ease-in-out, opacity .2s ease-in-out, background-color .2s ease-in-out;
	text-underline-position: under;
}

::-moz-selection,
::selection {
    background: var(--global-palette3);
    color: var(--global-palette9);
}

input,
select,
textarea {
	border-radius: 4px !important;
}

select,
textarea,
.comment-form input:placeholder-shown+label,
.comment-form textarea:placeholder-shown+label,
.comment-form .comment-input-wrap p label,
.comment-form p.comment-form-float-label label,
.comment-form input:placeholder-shown+label,
.comment-form textarea:placeholder-shown+label,
textarea::-webkit-input-placeholder,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
input[type="text"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="url"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
input[type="search"]::-webkit-input-placeholder,
input[type="number"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
input[type="range"]::-webkit-input-placeholder,
input[type="date"]::-webkit-input-placeholder,
input[type="month"]::-webkit-input-placeholder,
input[type="week"]::-webkit-input-placeholder,
input[type="time"]::-webkit-input-placeholder,
input[type="datetime"]::-webkit-input-placeholder,
input[type="datetime-local"]::-webkit-input-placeholder,
input[type="color"]::-webkit-input-placeholder,
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	color: var(--global-palette3) !important;
	border-color: var(--global-palette6) !important;
	font-size: 92%;
	border-radius: 4px !important;
}

.wp-block-search .wp-block-search__button {
	border: 0 !important;
}

input[type="text"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="url"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
input[type="search"]::-webkit-input-placeholder,
input[type="number"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
input[type="range"]::-webkit-input-placeholder,
input[type="date"]::-webkit-input-placeholder,
input[type="month"]::-webkit-input-placeholder,
input[type="week"]::-webkit-input-placeholder,
input[type="time"]::-webkit-input-placeholder,
input[type="datetime"]::-webkit-input-placeholder,
input[type="datetime-local"]::-webkit-input-placeholder,
input[type="color"]::-webkit-input-placeholder {
	letter-spacing: 2px;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: inherit;
}

.drawer-content input[type="search"]::-webkit-input-placeholder {
	font-size: inherit;
}

textarea,
tr,
td,
th,
.woocommerce div.product .woocommerce-tabs {
	border-color: var(--global-palette6) !important;
}

blockquote,
.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p,
.wp-block-quote.is-style-default {
	font-family: var(--global-heading-font-family) !important;
	font-style: normal;
	padding: 20px 10px;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-size: 1.8em;
}

button[type="submit"] {
	border-color: var(--global-palette4);
	color: var(--global-palette-btn);
	background-color: var(--global-palette-btn-bg);
	font-family: inherit;
}

button[type="submit"]:hover {
	border-color: var(--global-palette-btn-border-hover);
	color: var(--global-palette-btn-hover);
	background-color: var(--global-palette-btn-bg-hover);
}

/* Kadence Form
---------------------------------------- */

.kb-form .kadence-blocks-form-field .kb-forms-submit {
	font-weight: inherit !important;
}

/* Search Results
---------------------------------------- */

.search-archive-title h1 {
    padding-bottom: .35em !important;
}

/* Search
---------------------------------------- */

#search-drawer .drawer-inner .drawer-content form input.search-field,
#search-drawer .drawer-inner .drawer-content form input.search-field:focus {
    box-shadow: none !important;
}

#search-drawer .drawer-inner input.search-field {
    padding: 1.5em 80px 1.5em 1.5em !important;
}

.search-results .content-container .entry-content-wrap {
    margin-top: 15px;
}

.search-form .kadence-search-icon-wrap {
	color: var(--global-palette3) !important;
}

/* Header
---------------------------------------- */

.site-top-header-wrap {
	background: transparent;
}

/* Entries
---------------------------------------- */

.entry-tags a.tag-link {
	border: 0 !important;
	color: solid var(--global-palette3) !important;
}

.entry-tags a.tag-link:hover {
	color: var(--global-palette-btn) !important;
	border-radius: 0;
}

.content-style-unboxed .kadence-thumbnail-position-behind:after {
	background: none !important;
}

.content-style-unboxed .kadence-thumbnail-position-behind {
    margin-bottom: 3em;
}

.post-navigation {
    margin: var(--global-xl-spacing) auto !important;
}

/* Kadence Posts Block
---------------------------------------- */

.wp-block-kadence-posts.item-image-style-beside article.loop-entry.has-post-thumbnail {
    grid-gap: 2rem;
}

.transparent-bg .content-bg,
.kb-posts-style-unboxed .content-bg {
    background: transparent !important;
}

/* Related Posts
---------------------------------------- */

.tns-outer .tns-controls button[data-controls="prev"]:before,
.tns-outer .tns-controls button[data-controls="next"]:before {
	height: 15px !important;
	width: 15px !important;
}

/* Entry Nav
---------------------------------------- */

.pagination .page-numbers {
	border-radius: 0 !important;
	font-size: .85em;
}

.pagination .kadence-svg-iconset svg {
    height: .9em;
    width: .9em;
}

/* Comments
---------------------------------------- */

.comments-area {
	background: #fff;
	padding: 30px;
	margin-bottom: 2em;
}

p.form-submit {
	margin-bottom: 0 !important;
}

.comment-reply-link {
	color: var(--global-palette3) !important;
	border-color: var(--global-palette3) !important;
	opacity: .75;
}

.comment-reply-link:hover {
	opacity: 1;
}

.comment-respond a#cancel-comment-reply-link {
    margin-left: 20px;
    font-size: .75em;
    text-decoration: underline;
}

#respond + .comments-title {
    margin-top: 2em !important;
}

.comment-navigation .nav-previous:after,
.post-navigation .nav-previous:after {
	background: var(--global-palette3) !important;
}

.comment-body {
	border-bottom: 1px solid var(--global-palette4) !important;
}

.comment-author .fn a {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: .8em;
}

/* Sidebars
---------------------------------------- */

.widget select {
	width: 100%;
}

.primary-sidebar {
	text-align: center;
}

/* Blocks
---------------------------------------- */

blockquote,
q {
    quotes: '“' '”';
}

blockquote {
    padding-left: 0;
    border-left: 0px;
}

.entry-content blockquote {
    margin: var(--global-md-spacing) 0 0;
}

.entry-content {
    word-break: initial !important;
}

blockquote cite,
blockquote .wp-block-pullquote__citation {
    color: var(--global-palette3);
    font-size: 13px;
    margin-top: 1em;
    position: relative;
    font-style: normal;
    display: block;
}

blockquote cite::before {
	content:"";
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	width: 35px;
	height: 1px;
	background: var(--global-palette3);
}

.wp-block-kadence-spacer.aligncenter { 
	width: 100%;
}

.blocks-gallery-caption figcaption, .wp-block-embed figcaption,
.wp-block-image figcaption,
.wp-block-table figcaption,
.wp-block-audio figcaption,
.wp-block-video figcaption {
	color: var(--global-palette3) !important;
}

.kt-svg-icons + p {
    margin-top: 10px !important;
}

.kt-blocks-carousel .slick-dots li button:before {
	width: 6px !important;
	height: 6px !important;
}

.kt-blocks-carousel .kt-carousel-arrowstyle-outlinewhite .slick-prev,
.kt-blocks-carousel .kt-carousel-arrowstyle-outlinewhite .slick-next,
.kt-blocks-carousel .kt-carousel-arrowstyle-outlineblack .slick-prev,
.kt-blocks-carousel .kt-carousel-arrowstyle-outlineblack .slick-next {
	border: 1px solid !important;
}

.kt-blocks-carousel .slick-prev:before,
.kt-blocks-carousel .slick-next:before {
	border-width: 1px 1px 0 0 !important;
	width: 15px !important;
	height: 15px !important;
}

/* Footer
---------------------------------------- */

.footer-widgets .collapse-sub-navigation ul.menu li a {
	border-bottom: 0 !important;
}

/* WooCommerce
---------------------------------------- */

.quantity.spinners-added input.minus, .quantity.spinners-added input.plus {
    border: 0 !important;
}

.woocommerce .return-to-shop a.button,
a.button {
    background: var(--global-palette-btn-bg);
	color: var(--global-palette-btn);
}

.woocommerce-account .account-navigation-wrap .kadence-account-avatar .kadence-customer-name {
	font-size: 22px;
}

.quantity,
.quantity.spinners-added,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-color: var(--global-palette3) !important;
	color: var(--global-palette3) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	border-color: var(--global-palette3) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--global-palette3) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: var(--global-palette4) !important;
}

.woocommerce div.product .button.single_add_to_cart_button {
	line-height: 1 !important;
}

.kadence-product-toggle-container .kadence-toggle-shop-layout {
	border: 0 !important;
}

.quantity.spinners-added input.minus,
.quantity.spinners-added input.plus,
.woocommerce-cart table.cart .product-name a,
.woocommerce-checkout table.cart .product-name a,
#add_payment_method table.cart .product-name a,
.woocommerce form label {
	color: var(--global-palette3) !important;
	text-decoration: none;
}

#wrapper .wc-block-grid .wc-block-grid__products .product-loop-boxed .entry-content-wrap, #wrapper .wc-block-grid .wc-block-grid__products .woo-archive-action-on-hover .entry-content-wrap,
.woocommerce ul.products li.product .entry-content-wrap, .quantity {
	border-radius: 0 !important;
}

.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-onsale,
.woocommerce span.onsale {
	border-radius: 0 !important;
	letter-spacing: 1px;
	padding: .7em 1em !important;
	font-weight: normal !important;
	background: var(--global-palette-btn-bg) !important;
    color: var(--global-palette-btn) !important;
}

.woocommerce-cart table.cart .coupon .button:not(:hover),
.woocommerce-checkout table.cart .coupon .button:not(:hover),
#add_payment_method table.cart .coupon .button:not(:hover),
.woocommerce-cart table.cart td.actions .button:disabled,
.woocommerce-checkout table.cart td.actions .button:disabled,
#add_payment_method table.cart td.actions .button:disabled {
    background: var(--global-palette-btn-bg) !important;
	color: var(--global-palette-btn) !important;
}

.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt {
    -webkit-font-smoothing: subpixel-antialiased !important;
}

/* Media Queries
---------------------------------------- */

@media (max-width: 1024px) and (min-width: 768px) {
	.kt-tab-layout-first-row.kt-gutter-none>.wp-block-kadence-column.inner-column-2 {
		margin-right: 1px;
	}
	
	.kt-tab-layout-first-row.kt-gutter-none>.wp-block-kadence-column.inner-column-3 {
		margin-left: -1px;
	}
}

@media all and (max-width: 640px) {
	#sb_instagram.sbi_col_3 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_4 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_5 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_6 #sbi_images .sbi_item {
    	width: 50% !important;
	}

	#sb_instagram.sbi_col_7 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_8 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_9 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_10 #sbi_images .sbi_item {
		width: 25% !important;
	}
}

@media all and (max-width: 480px) {
	#sb_instagram.sbi_col_3 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_4 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_5 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_6 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_7 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_8 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_9 #sbi_images .sbi_item,
	#sb_instagram.sbi_col_10 #sbi_images .sbi_item {
		width: 50% !important;
	}
}

/* Books Page
---------------------------------------------------------------------------- */

h1#pagetitle {
    text-align: center;
}

#allbookscontainer { 
	display: block; 
	position: relative; 
	width: 100%; 
}

.bookgrid {
    display: block;
    position: relative;
    margin-bottom: 5px;
    width: 100%;
	text-align: center;
}

h2.seriestitle {
	margin-bottom: 44px;
}

.bookentry {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 20%;
    margin-right: 2%;
	margin-left: 2%;
    margin-bottom: 40px;
}

.bookentry img { 
	width: 100%; 
	height: auto; 
	margin-bottom: 10px;
}

@media only screen and (max-width: 1230px) {
	.bookgrid {
	    margin-bottom: 10px;
	}
	
	.bookentry {
	    margin-bottom: 35px;
	}
}

@media only screen and (max-width: 1040px) {
	.bookgrid {
	    margin-bottom: 20px;
	}
	
	.bookentry {
	    margin-bottom: 26px;
	}
}

@media only screen and (max-width: 800px) {
	.bookentry { 
	    width: 45%;
	    margin-right: 3.25%;
		margin-left: 3.25%;
		margin-bottom: 16px;
	}
	
	.bookgrid {
	    margin-bottom: 19px;
    }
    
    h2.seriestitle {
	    margin-bottom: 28px;
	}
	
	.bookgrid.upcomingreleases .bookentry {
	    margin-bottom: 35px;
	}
	
	#mobilebookscontent.entry-content-wrap .bookgrid.upcomingreleases .bookentry {
	    margin-bottom: 27px;
	}
}
 
@media only screen and (max-width: 680px) {
	.bookentry { 
		margin-bottom: 14px;
	}
	
	.bookgrid {
	    margin-bottom: 19px;
    }
}

@media only screen and (max-width: 590px) {
	.bookentry { 
	    width: 95%;
	    margin-right: 2%;
		margin-left: 2%;
		margin-bottom: 16px;
	}
	
	.bookgrid {
        width: 100%;
	}
	
	h2.seriestitle {
    font-size: 1.5em;
}
}


/* Book Detail Pages
---------------------------------------------------------------------------- */

h1#singlebooktitle {
	text-align: center;
}

#bookpageleft, 
#bookpageright {
	display: inline-block; 
	position: relative;
	vertical-align: top;
}

#bookpageleft {	
	width: 35%;
	padding-right: 5%;
	margin-right: 0px;
}

#bookpageright {	
	width: calc(65% - 5%);
}

img#bookcover {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	margin-bottom: -3px;
}

h3.booksheader,
h3.linksheader {
	margin-top: 20px;
	margin-bottom: 0px;
}

#ebooklinks h4,
#printlinks h4,
#audiosection h4,
#bookotherbooks h4,
#bonus-content h4 {
	margin-bottom: 10px;
	text-transform: none;
	letter-spacing: 0;
}

#ebooklinks,
#audiolinks,
#printlinks,
#purchaselinks {
	margin-top: 20px;
	margin-bottom: 20px;
	text-align: center;
}

#ebooklinks a.button,
#audiolinks a.button,
#printlinks a.button,
#purchaselinks a.button {
    text-align: center;
    margin-bottom: 0px;
    padding: 12px 24px;
}

.flexbox-container {
	display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
	flex-direction: row;
	gap: 7px;
}

.flexbox-container .button {
	flex: 1 1 auto;
}

.flexbox-container > .button:first-child {
  flex: 1 0 97%;
}

@media only screen and (max-width: 800px) {
.flexbox-container > .button:first-child {
  flex: 1 0 97% !important;
}
}

@media screen and (max-width: 500px) {
.flexbox-container > .button:first-child {
		flex: 0 1 calc(100%);
}
	
.flexbox-container .button {
    flex: 0 1 calc(100%);
  }
}

#ebooksection{
	display: block;
	position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
	text-align: center;
}

.bookmatterinfo {
	text-transform: uppercase;
	font-size: 1rem;
}

.bookseries {
	display: block;
}

.bookseries ul {
	display: inline;
	list-style-type: none;
	margin: 0px;	
}

.bookseries li::marker {
	display: none;
}

span.releasedate {
	margin-bottom: 20px;
}

#synopsissection {
	margin: 0px auto 30px;
	border: 0px solid #c6ac8f;
}

#bookotherbooks {
	margin-top: 25px;
    width: 100%;
    margin-bottom: 5px; 
	text-align: center;
}

#bookotherbooks img {
	display: inline-block;
	position: relative;
	vertical-align: top;
	width: 18%;
	height: auto;
	margin-right: .75%;
	margin-left: .75%;
	margin-bottom: 11px;	 
}

span.bookseries li {
	display: inline;	
}

span.bookseries li:after {
	content: ', ';
}

span.bookseries li:last-child:after {
	content: '';
}

#bookotherbooks.standalones,
#bookpageright span#standalones.bookseries {
	display: none;
}

#allbookscontainer .bookgrid.extras,
#allbookscontainer .bookgrid.free-short-stories,
#allbookscontainer .bookgrid.little-lies-bonus-content {
	display: none;
}

@media only screen and (max-width: 1040px) {
	#bookotherbooks img {
	    margin-bottom: 9px;
	}
	
	#bookotherbooks {
    	margin-bottom: 15px; 
	}
}

@media only screen and (max-width: 991px) {
	#bookotherbooks img {
	    width: 30%;
	    margin-right: 1%;
		margin-left: 1%;
	}

	#bookotherbooks {
	    width: 100%;
	}
}

@media only screen and (max-width: 780px) {
	#bookotherbooks img {
	    margin-bottom: 7px;
	}
}

@media only screen and (max-width: 767px) {
	#bookpageleft, 
	#bookpageright {
		display: block;
		width: 100%;
		padding-right: 0px;
	    margin-right: 0px;	
	}

	#bookpageleft {
		margin-bottom: 20px;
	}

	#bookotherbooks {
	    margin-bottom: 35px;
		width: 100%;
	}

	body.single-books .entry-content-wrap{
	    padding: 8px;
	}
	
	#allbookscontainer {
	    width: 100%;
	    margin-left: 0%;
	}
	
	#bookotherbooks img {
	    width: 31.3%;
	    margin-right: 1.7%;
	    margin-bottom: 11px;
	}
}

@media only screen and (max-width: 500px) {
	#bookotherbooks {
   	 	width: 100%;
	}
	
	#bookotherbooks img {
	    width: 45%;
	    margin-right: 2%;
		margin-left: 2%;
	    margin-bottom: 16px;
	}
	
	h4.booksheader,
	h4.linksheader {
		font-size: 30px;
	}
}	

@media only screen and (max-width: 420px) {
	#bookotherbooks img {
	    margin-bottom: 13px;
	}
}	

@media only screen and (max-width: 380px) {
	#bookotherbooks img {
	    margin-bottom: 12px;
	}
}		


/* Upcoming Releases Page
---------------------------------------------------------------------------- */

.bookgrid.upcomingreleases { 
	margin-bottom: 0px; 
	margin-top: 2em;
	text-align: center;
}

.bookgrid.upcomingreleases .bookentry {
	text-align: center;
}

.bookgrid.upcomingreleases .bookentry img {
	margin-bottom: 10px;
}


/* Translations Books Page
---------------------------------------------------------------------------- */

#countriesgrid {
	display: block; 
	position: relative;	
	margin-bottom: 0px;
	margin-top: 30px;
	width: inherit;
	max-width: 100%;
	text-align: center;
}

#country {
	display: inline-block; 
	position: relative;
	vertical-align: top;
	width: 22%;
	margin-left: 1.5%;
	margin-right: 1.5%;
}

#country img {
	width: 100%;
	height: auto;
	border: 0px solid #eaeaea;
	box-shadow: none;
}

@media only screen and (max-width: 800px) {
	#country {
		width: 44%;
	}
}
@media only screen and (max-width: 500px) {
	#country {
		width: 100%;
		margin: 0 auto;
		padding: 20px 10px;
	}
}

/* Individual Country Pages
---------------------------------------------------------------------------- */

body.tax-country .archive-description::before {
	background-color: transparent;
}

body.tax-country .archive-description h1 {
	text-align: center;
    -webkit-font-smoothing: antialiased;
    text-transform: none;
}

.bookgrid.countryarchive { 
	padding-top: 20px; 
	margin-bottom: 0px; 
}

.bookgrid.countryarchive .bookentry {
	margin-bottom: 20px;
}

.bookgrid.countryarchive .bookentry img {
	margin-bottom: 0px;
}


/* Books by Trope
---------------------------------------------------------------------------- */

.single-content ul#filters {
	padding-left: 0px;
}

#filters {
    list-style: none;
    text-align: center; 
    margin-top: 30px;
    margin-bottom: 30px;
}

#filters li {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
	font-family: "Inconsolata", monospace;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px
}

.bookbytrope { 
	display:inline-block; 
	vertical-align: top;  
	width: 21%;
    margin-left: 2%;
    margin-right: 2%;  
	margin-bottom: 49px; 
	padding: 0px;   
}

.bookbytrope img { 
	width: 100%;
	background-size:100% 100%!important; 
}

@media only screen and (max-width: 590px) {
	.bookbytrope { 
	display:inline-block; 
	vertical-align: top;  
	width: 46%;
    margin-left: 2%;
    margin-right: 2%;  
	margin-bottom: 49px; 
	padding: 0px;   
}
}

span.booktrope ul,
span.bookgenre ul {
	display: inline;
	list-style-type: none;
	margin: 0px;	
}

span.booktrope li,
span.bookgenre li {
	display: inline;	
}

span.booktrope li:last-child:after,
span.bookgenre li:last-child:after {
	content: '';
}

p.audiolink {
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
}

/* Book Purchase Section
---------------------------------------------------------------------------- */

/* Two-column layout */
.purchase-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.purchase-info {
    flex: 1;
}

.purchase-carousel {
    flex: 0 0 300px; /* adjust to taste */
}

/* Format blocks in left column */
.purchase-format {
    margin-bottom: 1.5rem;
}

.purchase-format h4 {
    margin-bottom: 0.5rem;
}

.purchase-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Carousel */
.carousel {
    position: relative;
}

.carousel-track {
    position: relative;
}

.carousel-slide {
    display: none;
    text-align: center;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide .book-cover {
    width: 100%;
    height: auto;
}

.carousel-label {
    margin-top: 0.5rem;
    font-weight: bold;
    text-align: center;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
}

.carousel-dot.active {
    background: #333;
}

/* Stack on mobile */
@media ( max-width: 768px ) {
    .purchase-layout {
        flex-direction: column-reverse; /* carousel on top for mobile */
    }
    .purchase-carousel {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 800px) {
	.bookentry { 
	    width: 26%;
	    margin-right: 3%;
		margin-left: 3%;
		margin-bottom: 16px;
	}}

@media only screen and (max-width: 590px) {
	.bookentry { 
	    width: 43%;
	    margin-right: 3%;
		margin-left: 3%;
		margin-bottom: 16px;
	}}

#bookotherbooks.standalones,
#bookpageright span#standalones.bookseries,
#bookotherbooks.short-stories,
#bookpageright span#short-stories.bookseries,
#bookotherbooks.forever-romance-standalones,
#bookpageright span#forever-romance-
#bookotherbooks.extras,
#bookpageright span#extras.bookseries,
#bookotherbooks.free-short-stories,
#bookpageright span#free-short-stories.bookseries,
#bookotherbooks.little-lies-bonus-content,
#bookpageright span#little-lies-bonus-content.bookseries {
	display: none;
}

#allbookscontainer .bookgrid.extras,
#allbookscontainer .bookgrid.free-short-stories,
#allbookscontainer .bookgrid.little-lies-bonus-content,
#allbookscontainer .bookgrid.forever-romance-standalones,
#allaudiobookscontainer .bookgrid.forever-romance-standalones,
#allaudiobookscontainer .bookgrid.free-short-stories{
	display: none;
}

img#bookquirk {
	margin: 0 auto;
	text-align: center;
	width: 300px;
}

#bookexcerpt {
	padding: 0px;
	background: none;
	margin-top: 0px;
}

p.excerptreveal {
	font-weight: 600;
}

/* Two-column layout */
.purchase-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
	margin: 40px 20px;
}

.translation-purchase-layout {
	display: inline;
	margin: 40px 20px;
}

@media only screen and (max-width: 500px) {	
.purchase-layout {
	margin: 40px 0px;
}

.translation-purchase-layout {
	margin: 40px 0px;
}
}

.purchase-info {
    flex: 1;
}

.purchase-carousel {
    flex: 0 0 280px;
}

/* Format blocks */
.purchase-format {
    margin-bottom: 1.25rem;
	font-size: inherit;
}

.purchase-format span#purchasetitle {
	font-weight: 600;
}

.purchase-links-inline {
    margin: 0;
    line-height: 1.6;
}

.purchase-links-inline a {
    text-decoration: underline;
}

span.purchasetitle {
	font-weight: 600;
}

/* Carousel */
.cover-carousel {
    position: relative;
}

.cover-carousel__track {
    position: relative;
    overflow: hidden;
}

.cover-carousel__slide {
    display: none !important;
    text-align: center;
}

.cover-carousel__slide.is-active {
    display: block !important;
}

.cover-carousel__slide .book-cover {
    width: 100%;
    height: auto;    
	display: block;
    margin: 0 auto;
}

.cover-carousel__label {
    margin-top: 0.5rem;
    font-weight: bold;
    text-align: center;
}

.cover-carousel__prev,
.cover-carousel__next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 0.4rem 0.7rem;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
}

.cover-carousel__prev { left: 0; }
.cover-carousel__next { right: 0; }

.cover-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.cover-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}

.cover-carousel__dot.is-active {
    background: #333;
}

/* Mobile */
@media ( max-width: 768px ) {
    .purchase-layout {
        flex-direction: column-reverse;
    }
    .purchase-carousel {
        flex: 0 0 auto;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
}

#grtitle {
	font-style: italic;
}

.loop-entry header.entry-header,
.loop-entry footer.entry-footer{
    margin: 0 auto;
	text-align: center;
}

.entry-meta {
	margin: 1em auto;
	justify-content: center;
}

.archive.content-style-unboxed .entry-content-wrap, 
.blog.content-style-unboxed .entry-content-wrap, 
.post-type-archive.content-style-unboxed .entry-content-wrap, 
.search-results.content-style-unboxed .entry-content-wrap {
	margin: 30px auto;
}

/* Custom Styles
---------------------------------------- */
@media only screen and (max-width: 991px) {
	#bookotherbooks img {
	    width: 30%;
	    margin-right: 1%;
		margin-left: 1%;
	}

	#bookotherbooks {
	    width: 100%;
	}
}
@media only screen and (max-width: 500px) {
	#bookotherbooks img {
	    width: 47%;
	    margin-right: 1%;
		margin-left: 1%;
	    margin-bottom: 16px;
	}
	
	.purchase-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
	margin: 40px 0px;
}

.translation-purchase-layout {
	display: inline;
	margin: 40px 0px;
}
}

.home-testimonial .kt-blocks-carousel .kt-carousel-arrowstyle-outlinewhite .slick-prev, .home-testimonial .kt-blocks-carousel .kt-carousel-arrowstyle-outlinewhite .slick-next, .home-testimonial .kt-blocks-carousel .kt-carousel-arrowstyle-outlineblack .slick-prev, .home-testimonial .kt-blocks-carousel .kt-carousel-arrowstyle-outlineblack .slick-next {
	border: none !important;
}

.home-seriescarousel .kb-splide .splide__arrow {
	border-radius: 100%;
	height: 2em;
	width: 2em;
}