/**
Theme Name: Astra Child
Author: Rakib
Author URI: https://www.coder-rakib.me
Description: A child theme for Astra.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* @font-face {
	font-family: "Shurjo";
	font-display: swap;
	font-style: normal;
	font-weight: 400;
	src: url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_400_v5_1.woff2) format('woff2'),
		url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_400_v5_1.woff) format("woff");
}
@font-face {
	font-family: "Shurjo";
	font-display: swap;
	font-style: normal;
	font-weight: 700;
	src: url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_700_v5_1.woff2) format('woff2'),
		url(https://assets.prothomalo.com/prothomalo/assets/ShurjoWeb_400_v5_1.woff) format("woff");
} */


/* New design css start */

/* predefine css class */
.d-flex{
    display: flex;
}
.align-center{
    align-items: center;
}
.justify-between{
    justify-content: space-between;
}
.justify-center{
    justify-content: center;
}
.flex-wrap{
    flex-wrap: wrap;
}
.flex-column{
    flex-direction: column;
}
.d-block{
    display: block;
}
.d-inline-block{
    display: inline-block;
}
.w-100{
    width: 100%;
}

/* Font size css */
.font-size-20{
    font-size: 20px !important;
    line-height: 1.4em !important;
}
.font-size-18{
    font-size: 18px !important;
    line-height: 1.4em !important;
}
.font-size-16{
    font-size: 16px !important;
    line-height: 1.4em !important;
}
.mb-10{
    margin-bottom: 10px !important;
}
.mb-20{
    margin-bottom: 20px;
}
.mb-0{
    margin-bottom: 0 !important;
}
.mt-10{
    margin-top: 10px !important;
}
.line-2{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-height: 3em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.line-3{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-height: 4em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.border{
    border: 1px solid #F3F4F6;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
h1,
h2,
h3,
h4,
h5,
h6{
    font-family: "Noto Serif Bengali", Sans-serif !important;
    font-weight: 700 !important;
}
.swiper-wrapper a,
ul li span.elementor-icon-list-text,
p{
/*	font-family: "Shurjo", "Siyam Rupali","Noto Sans","Arial","Helvetica", "Monospace" !important;*/
    font-family: "Kalpurush", Sans-serif !important;
}
p{
    font-size: 17px !important;
    line-height: 1.6em;
}
a{
	text-decoration: none !important;
}

.category-title h2{
    text-align: center;
    background-color: var(--e-global-color-secondary);
    padding: 10px;
}
.category-title h2 a{
    color: #fff;
    display: block;
}

/* Responsive css */
@media only screen and (max-width: 1024px){
    .font-size-20 {
        font-size: 18px !important;
    }
    p {
        font-size: 16px !important;
    }
}


/* New design css end */

/*gallery css*/
.single_gallery h3 {
    margin: 15px 0 0;
}
.single_gallery h3 a {
    display: inline-block;
    font-size: 25px;
}
.gallery-slider-img {
    position: relative;
}
.gallery-slider-img p {
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: 0px;
    margin-bottom: 0;
    width: 100%;
    font-size: 16px;
    color: #fff;
}
.gallery-slider-img img {
    width: 100%;
	object-fit: cover;
    max-height: 450px;
    min-height: 450px;
}
.single_gallery .slick-next:before,
.single_gallery .slick-prev:before {
    font-size: 0;
}
.single_gallery .slick-prev {
    left: 10px;
    z-index: 9;
}
.single_gallery .slick-next{
	right: 10px;
}
.single_gallery .slick-next,
.single_gallery .slick-prev{
	width: unset;
	height: unset;
}
.s-gallery-slider-item .caption{
	font-size: 20px;
	margin-top: 10px;
	margin-bottom: 0;
}
.s-gallery-slider-item {
    padding-bottom: 20px;
    border-bottom: 1px solid #666666;
    margin-bottom: 20px;
}
.s-gallery-slider-item:last-child{
	border: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}
p.gallery-count {
    border: 1px solid #000;
    display: inline-block;
    padding: 5px 25px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
}
@media only screen and (max-width: 767px){
.gallery-slider-img img {
    max-height: 200px;
    min-height: 200px;
}
.single_gallery h3 a {
    font-size: 18px !important;
    line-height: 25px;
}
}

/*add video icon*/
.video-cat .elementor-widget-theme-post-featured-image a {
    position: relative;
}
.video-cat .elementor-widget-theme-post-featured-image a:after {
    position: absolute;
    content: url(/wp-content/uploads/2024/04/video-icon.png);
    top: 10px;
    right: 10px;
}

/* Most read post css */
.am-most-read-news-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.am-most-read-news-img {
    flex-basis: calc(25% - 10px);
}
.am-most-read-news-title {
    flex-basis: calc(75% - 10px);
}
.am-most-read-news-wrapper:last-child {
    margin-bottom: 0;
}
.am-most-read-news-img a img {
    height: 80px;
    object-fit: cover;
    width: 100%;
	border-radius: 5px;
}
.am-most-read-news-title h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}
@media only screen and (max-width: 1024px){
.am-most-read-news-img a img {
    height: 50px;
}
.am-most-read-news-title h2 {
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
}
.am-most-read-news-img {
    flex-basis: calc(25% - 5px);
}
.am-most-read-news-title {
    flex-basis: calc(75% - 5px);
}
}