/*
Theme Name:         G5Plus Auteur Child Theme
Theme URI:          https://auteur.g5plus.net/
Description:        G5Plus Auteur Child Theme
Version:            1.0
Author:             g5plus
Author URI:         http://g5plus.net/
Template:     		g5plus-auteur

License:            GNU General Public License v2 or later
License URI:        http://www.gnu.org/licenses/gpl-2.0.html

Tags: 				two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
Text Domain: 		g5plus-auteur
*/
/************************************************************************************
Put your custom CSS below this block :)
*************************************************************************************/

/* Footer logo: the logo widget prints the image at its natural size (720 px wide). */
.main-footer-wrapper .widget-logo img {
	width: 240px;
	max-width: 60%;
	height: auto;
}

/* Authors without a portrait: a quiet silhouette instead of an empty box.
   The theme puts .placeholder-image on every portrait; one that has a picture also has a
   style attribute, so :not([style]) is exactly "no portrait". Source: theme/assets/author-placeholder.svg */
.gsf-product-author-item .entry-thumbnail-overlay.placeholder-image:not([style]),
.author-avatar-wrap .entry-thumbnail-overlay.placeholder-image:not([style]),
.single-author-thumbnail .entry-thumbnail-overlay.placeholder-image:not([style]) {
	background: #ebe8e0 url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 300 400%22%3E%3Crect width=%22300%22 height=%22400%22 fill=%22%23ebe8e0%22/%3E%3Ccircle cx=%22150%22 cy=%22160%22 r=%2254%22 fill=%22%23d8d3c8%22/%3E%3Cpath d=%22M22 400c0-80 56-134 128-134s128 54 128 134z%22 fill=%22%23d8d3c8%22/%3E%3C/svg%3E") center / cover no-repeat;
	--g5-image-ratio: 133.3333%; /* 300 × 400, like the portraits; the theme's :before turns it into height */
}
/* "Ismerd meg a szerzőt": the note for an author with no other book is a sentence, not an alert
   box, and it sits in the middle of the column instead of inside one narrow carousel slide. */
.product-author-wrap .author-products:has(.woocommerce-no-products-found) {
	display: flex;
	align-items: center;
	justify-content: center;
}
.product-author-wrap .author-products:has(.woocommerce-no-products-found) .products,
.product-author-wrap .author-products .owl-stage:has(.woocommerce-no-products-found),
.product-author-wrap .author-products .owl-item:has(.woocommerce-no-products-found) {
	width: 100% !important;
	transform: none !important;
}
.product-author-wrap .author-products .woocommerce-no-products-found .woocommerce-info {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font-size: 17px;
	font-style: italic;
	color: #7e7e7e;
	text-align: center;
}
.product-author-wrap .author-products .woocommerce-no-products-found .woocommerce-info:before {
	display: none;
}
