/*
 Theme Name: IAMC
 Theme URI: https://wpastra.com/
 Description: Child theme for Astra
 Author: Aman Khan
 Author URI: https://iamc.com/
 Template: astra
 Version: 4.12.0
*/

.iamc-hero-slider .iamc-hero-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    position: relative;
	animation: bgZoomIn 10s ease-in-out forwards;
}

.iamc-hero-slider .owl-item.active .iamc-hero-slide {
	animation: bgZoomIn 30s ease-in-out infinite;
}

@keyframes bgZoomIn {
    0% {
        background-size: 100%;
    }
	50% {
        background-size: 120%;
    }
    100% {
        background-size: 100%;
    }
}

.iamc-hero-slider .slide-categories {
    position: absolute;
    top: 50px;
    text-align: center;
    width: max-content;
    left: 0;
    right: 0;
    margin: auto;
    padding: 10px 30px;
    border-radius: 3px;
    background: #fff;
}

.iamc-hero-slider .slide-categories span {
    margin: 0;
    font-family: 'Hahmlet';
    color: #2851A1;
    font-size: 20px;
    line-height: 30px;
    text-transform: capitalize;
    opacity: 1;
    font-weight: 600;
}

.iamc-hero-slider .iamc-hero-overlay {
    color: #fff;
    max-width: 100%;
    width: 100%;
    text-align: center;
    background: none;
    padding: 0px 15px;
    min-height: 786px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.iamc-hero-slider .iamc-hero-overlay h2.slide-title {
    margin: 0;
    font-family: 'Hahmlet';
    font-size: 50px;
    line-height: 60px;
    color: #fff;
    font-weight: 600;
}

.iamc-hero-slider .iamc-hero-overlay .slide-content {
    font-family: 'Poppins';
    font-size: 18px;
    line-height: 28px;
    margin: 30px auto 35px auto;
    max-width: 1000px;
}

.iamc-hero-slider .iamc-hero-overlay a.slide-button {
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 10px 50px;
    border-radius: 1000px;
    background: none;
    color: #fff;
    border: 2px solid #fff;
	transition: 0.3s ease;
}

.iamc-hero-slider .iamc-hero-overlay a.slide-button:hover {
    background: #fff;
    color: #2851A1;
    border: 2px solid #fff;
}

.iamc-hero-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px !important;
    color: #fff !important;
}

.iamc-hero-slider .owl-nav .owl-prev { left: 20px; }
.iamc-hero-slider .owl-nav .owl-next { right: 20px; }

.iamc-hero-slider .owl-dots {
    position: absolute;
    bottom: 25px;
    right: 0;
    left: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.iamc-hero-slider .owl-dots button.owl-dot.active {
    background: #2851A1;
}

.iamc-hero-slider .owl-dots button.owl-dot {
    width: 10px;
    height: 10px;
    background: #fff;
}

/***********************Vertical Post Css************************/

.vertical-posts-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vertical-posts-wrap .vertical-post-item {
    display: flex;
    gap: 30px;
    flex-direction: row-reverse;
}

.vertical-posts-wrap .vertical-post-item a.vp-thumb {
    width: 40%;
}

.vertical-posts-wrap .vertical-post-item a.vp-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    box-shadow: 0px 0px 1px 0px #000;
}

.vertical-posts-wrap .vertical-post-item .vp-content-wrap {
    width: 60%;
}

.vertical-posts-wrap .vertical-post-item .vp-content-wrap h3.vp-title a {
    font-family: 'Poppins';
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.vertical-posts-wrap .vertical-post-item .vp-content-wrap p.vp-date {
    font-family: 'Hahmlet';
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin: 8px 0px 10px 0px;
}

.vertical-posts-wrap .vertical-post-item .vp-content-wrap a.vp-readmore {
    font-family: 'Poppins';
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
    color: #2851A1;
	margin-top: 10px;
	display: block;
}

/***********************News Press Mention Css************************/

.st-pressmention-grid section.wpr-magazine-grid.wpr-mgzn-grid-2-h {
    grid-template-columns: repeat(1, 1fr);
}