/*
Theme Name: Aff
Theme URI: https://yourdomain.com
Description: Child theme of Astra
Author: Your Name
Author URI: https://yourdomain.com
Template: astra
Version: 1.0.0
Text Domain: aff
*/

body:not(.enable-search-modal) .header-titles-wrapper {
	justify-content: center;
}
.header-inner {
	padding:1.8rem 0;
}
@media (min-width: 1000px) {
    .header-inner {
		justify-content: center;
		padding:1.8rem 0;
	}
}
.site-logo img {
	max-width:150px;
}
header#site-header {
    background: #F9502F;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.single-post .product-post-wrapper {
	display: flex;
    flex-direction: column;
    margin: 0.5em;
    justify-content: center;
    align-items: center;
	gap:1.25em;
}
.single-post .product-post {
	display:flex;
    gap: 1.5em;
	width:100%;
}
.single-post .product-post > * {
    flex: 0 0 50%;
}
.single-post .product-post .product-image {
	display: flex;
    justify-content: center;
    align-items: start;
}
.single-post header.entry-header {
	margin: 1.5em 0;
	text-align:center;
}
.ast-single-post .entry-content a {
	text-decoration:none;
}
.rating {
    --star-size: 30px;
    --star-color: #ddd;
    --star-background: #f59e0b;

    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
    position: relative;
}
.rating::before {
    content: "★★★★★";
    color: var(--star-color);
}
.rating::after {
    content: "★★★★★";
    color: var(--star-background);
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--rating) / 5 * 100%);
    overflow: hidden;
    white-space: nowrap;
}
.single-post nav.navigation.post-navigation {
	display:none !important;
}
.single-post #primary {
	padding:0;
}
.single-post .product-button-wrapper {
	display:flex;
	gap:10px;
}
.product_button.top {
	width: 100%;
	min-width: 200px;
}
.product_button a.buy, .product_button a.rec {
	text-align:center;
	display:block;
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.product_button a.buy {
	background: #D41830;
    color: #fff;
    border: 1px solid #fff;
}
.buy .btn-icon {
	fill:#fff;
}
.buy .rec-icon {
	fill:#D41830;
}
.product_button a.rec {
	background: #d0011b14;
    color: #D41830;
    border: 1px solid #D41830;
}
.product_button a {
    transition: transform .2s ease;
}

.product_button a:hover {
    transform: scale(1.04);
}
.single-post .site-header {
	display:none;
}
.rate-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 30px;
}
.rate-number {
	background: #1e293b;
	color:#fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}
.ast-blog-layout-4-grid .ast-article-inner .wp-post-image {
	object-fit:contain;
}
.post-item {
    background: #fff;
}
.home h2.card-title {
	line-height: 0.75;
}
.home h2.card-title a {
	font-size:15px;
	color:#1e293b;
}
.load-more-wrapper {
	text-align: center;
    margin-top: 3em;
}
.post-item.card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
	padding: 1em;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.post-item.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,.15);
}
.post-item .card-body {
	margin-bottom:1em;
}
.card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
}
.home header.entry-header {
    text-align: center;
}
.home header.entry-header h2 {
    font-size: 1rem;
}
.post-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.video-wrapper {
	margin-bottom:3em;
	display: flex;
    flex-direction: column;
    gap: 0;
}
/*.single-post.ast-separate-container {
    background-color:#F9502F;
}*/ 
.ast-footer-copyright {
    text-align: right;
    font-size: 14px;
}
.footer-widget-area[data-section="section-footer-menu"] .astra-footer-horizontal-menu {
    justify-content: start;
}
#astra-footer-menu a {
    color:#fff;
    font-size:14px;
}
.single-post hr {
    width: 100%;
    margin-bottom:0;
}
.ast-header-break-point .site-below-footer-wrap[data-section="section-below-footer-builder"] {
    padding-left: 20px;
    padding-right: 20px;
}
.ast-separate-container #primary {
    padding:0;
}
@media (max-width: 1200px) {
    .post-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product_button.top {
        min-width: 175px;
    }
}
@media (max-width: 544px) {
    .ast-separate-container #content .ast-container {
        padding-left: 0;
        padding-right: 0;
    }

    .single-post header.entry-header .entry-title {
        font-size: 1.5rem;
    }

    .home header.entry-header {
        padding: 0 2em;
    }

    .home header.entry-header h1 {
        font-size: 1.5rem;
    }

    .home header.entry-header h2 {
        font-size: 1rem;
    }
    .ast-header-break-point .site-below-footer-wrap[data-section="section-below-footer-builder"] {
        justify-content: center;
    }
    .home .product_button a.buy {
        font-size:14px;
    }
}
@media (max-width: 768px) {
    .single-post .product-post {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .product-button-wrapper a {
        font-size: 14px;
    }
}
.single-post video {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}
.home video {
    max-height: 200px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    display: block;
}