
/* Custom books/shop page tweaks */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
	min-height: 2.8em;
}

.odrin-books-ordering {
	display: flex;
	gap: 16px;
	align-items: center;
}

.odrin-books-ordering .orderby {
	min-width: 220px;
	width: 220px;
}

.custom-author-footer {
	margin-top: 0;
}

.custom-author-footer__row {
	display: flex;
	min-height: 540px;
}

.custom-author-footer__col {
	width: 50%;
	padding: 36px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 32px;
}

.custom-author-footer__col--book {
	background: #456f40;
}

.custom-author-footer__col--subscribe {
	background: #c9d4c4;
}

.custom-author-footer__book-link {
	display: inline-block;
	max-width: 280px;
}

.custom-author-footer__book-image {
	width: 100%;
	height: auto;
	display: block;
}

.custom-author-footer__button {
	display: inline-block;
	padding: 18px 30px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	border-radius: 10px;
	text-decoration: none;
	text-align: center;
}

.custom-author-footer__button--amazon {
	background: #1b2423;
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.custom-author-footer__button--substack {
	background: #d78346;
	color: #ffffff;
	border: 2px solid #4c8fd9;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.custom-author-footer__button:hover,
.custom-author-footer__button:focus {
	color: #ffffff;
	text-decoration: none;
}

.custom-author-footer__bookmark {
	position: relative;
	width: 100px;
	height: 86px;
	background: #ef742d;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}

.custom-author-footer__bookmark:before,
.custom-author-footer__bookmark:after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 12px;
	background: #ef742d;
}

.custom-author-footer__bookmark:before {
	top: -28px;
}

.custom-author-footer__bookmark:after {
	top: -48px;
}

.custom-author-footer__copyright {
	background: #6a6e70;
	color: #ffffff;
	text-align: center;
	padding: 18px 12px;
	font-size: 13px;
}

@media (max-width: 991px) {
	.custom-author-footer__row {
		flex-direction: column;
	}

	.custom-author-footer__col {
		width: 100%;
		padding: 28px;
	}

	.custom-author-footer__copyright {
		font-size: 10px;
	}
}

.PoemsPage {
	max-width: 1200px;
}

.PoemsGrid {
	display: flex;
	flex-wrap: wrap;
}

.PoemCard {
	height: 100%;
	background: #ffffff;
	border: 1px solid #e6e6e6;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.PoemCard-image img {
	width: 100%;
	height: auto;
	display: block;
}

.PoemCard-content {
	padding: 22px;
}

.PoemCard-date {
	font-size: 13px;
	margin-bottom: 10px;
	color: #555555;
}

.PoemCard-title {
	font-size: 26px;
	line-height: 1.3;
	margin: 0 0 12px;
}

.PoemCard-title a {
	color: inherit;
	text-decoration: none;
}

.PoemCard-excerpt {
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 14px;
}

.PoemsPagination ul {
	display: inline-flex;
	gap: 10px;
	padding-left: 0;
	list-style: none;
}

.PoemsPagination a,
.PoemsPagination span {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid #d5d5d5;
	text-decoration: none;
}

.PoemsPagination .current {
	background: #222222;
	color: #ffffff;
}

.woocommerce .ProductsHeader,
.woocommerce-page .ProductsHeader {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
}

.woocommerce .ProductsHeader .SpecialHeading,
.woocommerce-page .ProductsHeader .SpecialHeading {
	text-align: center;
	margin-bottom: 0;
}

.woocommerce .ProductsHeader .woocommerce-products-header__title,
.woocommerce-page .ProductsHeader .woocommerce-products-header__title {
	margin: 0;
  	color: #ffffff;
}
