/*
 Theme Name:   AZH - GeneratePress Child theme
 Theme URI:    https://generatepress.com
 Description:  Customized GeneratePress child theme
 Author:       EnterTalkPro Limited
 Author URI:   https://entertalkpro.com
 Template:     generatepress
 Version:      0.1
*/

/* Archive overview equal height featured images without distorting */
.inside-article .post-image a img.attachment-full.size-full.wp-post-image {
	aspect-ratio: 3/2;
	object-fit: cover;
}

/* YARPP Related posts styling */
.yarpp-related {
	margin-left: auto !important;
	margin-right: auto !important;
}
.yarpp-thumbnails-horizontal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.yarpp-thumbnail {
	flex-grow: 1;
	border: none !important;
//	padding: 5px 20px !important;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail {
	height: 380px !important;
}
.yarpp-thumbnail>img {
	object-fit: cover;
	width: 100% !important;
}
.yarpp-thumbnail-title {
	font-size: 1.2em !important;
    line-height: 1.6em !important;
	max-height: 5em !important;
	margin-top: 10px !important;
}

/* Rank Math FAQ block accordeon styling */
#rank-math-faq .rank-math-list-item {
    margin-bottom: 1em;
    margin-top: 1em;
    border-bottom: 1px solid var(--contrast-3);
}
.rank-math-question {
    cursor: pointer;
    position: relative;
    display: block;
    padding-right: 1em;
    margin-right: 1em;
    font-weight: 300;
    margin-top: 30px;
}
.rank-math-question:after {
    position: absolute;
    right: 5px;
    top: 0;
    content: "\2715";
    transform: rotate(-45deg);
    transition: all 150ms ease-in-out;
}
.rank-math-question.collapse:after {
    transform: rotate(0deg);
}
.rank-math-question:hover {
    opacity: 0.8;
}
