/*
Theme Name: Astra Child
Theme URI: http://filmbitmagazine.com/astra-child/
Description: astra Child Theme
Author: Ali
Author URI: http://filmbitmagazine.com
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Vazirmatn:wght@100..900&display=swap');
:root {
  --bs-primary: #e80000;
  --bs-primary-rgb: 232, 0, 0; /* RGB values for the primary color */
  --bs-link-color: #e80000;
  --bs-link-hover-color: #b30000; /* A darker shade for hover effects */

  --bs-btn-primary-bg: #e80000;
  --bs-btn-primary-border-color: #e80000;
  --bs-btn-primary-hover-bg: #b30000;
  --bs-btn-primary-hover-border-color: #b30000;
}
body, h1, h2,h3,h4,h5,h6,span,div,p,a {
	font-family: "Poppins", sans-serif!important;
}
.btn-primary {
    color: #fff;
    background-color: #e80000;
    border-color: #e80000;
}
.btn-primary:hover{
	    background-color: #6b0202;
	border-color: #6b0202;
}
a{
	text-decoration:none!important;
}
li.menu-item a{
	padding:0!important;
	margin: 0 10px;
}
li.menu-item.current-menu-item a{
	position:relative;
}
li.menu-item.current-menu-item a:after {
    content: '';
    background: #e80000;
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 20px;
    left: 0;
}
.text-red{
	color:var(--bs-primary)!important;
}
/*featured slider*/
#featuredPostsCarousel .carousel-item {
 height: calc(55vh - 50px);

    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.news-sidebar-item li{
	    margin-bottom: 20px!important;
}
.news-sidebar-item h4{
	    color: var(--bs-primary) !important;
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0;
}
.news-sidebar-item figure{
	margin-bottom:10px;
}
.news-sidebar-item time{
	font-size:13px;
}
#featuredPostsCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.75); /* Semi-transparent background for text */
    padding: 20px;
    border-radius: 5px;
	position: absolute;
    right: 45%;
    bottom: 1.25rem;
    left: 0;
}

#featuredPostsCarousel .carousel-caption h2 {
    font-size: 2rem;
	text-align:start;
	font-weight:bold;
    color: #fff;
	margin-bottom:0.5rem;
}

#featuredPostsCarousel .carousel-caption p {
    font-size: 16px;
    color: #ddd;
	text-align:start;
	margin-bottom:0.3rem;
}
#featuredPostsCarousel .carousel-caption span {
    font-size: x-small;
	margin-bottom:0.2rem;
}
#featuredPostsCarousel .carousel-caption span:hover {
    background-color:var(--bs-primary)!important;
	color:white;
	
}
.carousel-caption:before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    background: red;
    width: 12px;
    left: 0px;
}
#featuredPostsCarousel .carousel-caption .btn {
    margin-top: 10px;
}
#featuredPostsCarousel .button-wrapper{
	position:absolute;
	    top: 10px;
    right: 10px;;
	display:flex;
	
}
#featuredPostsCarousel .carousel-control-prev,
#featuredPostsCarousel .carousel-control-next{

	    position: relative;
    background-color: var(--bs-primary);
    color: white;
    height: 30px;
    width: 20px;
    margin: 4px;
	
}
.category-posts-section {
    margin-bottom: 30px;
}

.category-posts-section .single-post h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.category-posts-section .post-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.single-post{
	position:relative;
}
.single-post-overlay{
	position:absolute;
	width:100%;
	height:100%;
	display:flex;
	align-items:end;
	color:white;
    background: linear-gradient(0deg, rgb(0 0 0 / 81%) 30%, rgba(255, 255, 255, 0) 75%);
}
.add-marker{
	position:relative;

}
.add-marker:before{
position: absolute;
    content: '';
    width: 50px;
    left: 0;
    height: 15px;
    bottom: -8px;
	background-color:var(--bs-primary);
	clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 0 48%, 0% 0%);
}

.taxonomy-post_tag a{
	background-color: grey;
    color: white;
    font-size: 11px;
    padding: 5px;
    border-radius: 7px;
    margin-right: 4px;
}
.featured-news{
background-size: cover;
    height: 100%;
    display: flex;
    align-items: end;
    color: white;
	
}
.featured-news h2{
    color: #ffffff;
    background: rgb(40 38 38 / 79%);
    padding: 0 20px;
	position:relative;
}
.featured-news h2:before{
    content: '';
    background: red;
    width: 10px;
    height:100%;
    position: absolute;
    left: 0;

}
.featured-post{
background-size: cover;
    height: 100%;
    display: flex;
    align-items: end;
    color: white;
	
}
.featured-post h2{
    color: #ffffff;
    background: rgb(40 38 38 / 79%);
    padding: 0 20px;
	position:relative;
}
.featured-post h2:before{
    content: '';
    background: red;
    width: 10px;
    height:100%;
    position: absolute;
    left: 0;

}
.play-button {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}
.archive-item-img{
	max-height:210px!important;
	object-fit:cover;
	object-position:center;
}