.artical-home-banner {
margin-top: 54px;
padding: 18px 0 0;
background-image: url(//acharyamanish.com/wp-content/themes/custom-theme/assets/article-images/article-banner-bg.webp);
width: 100%;
background-size: cover;
background-repeat: no-repeat;
}
.artical-home-banner h1 {
font-size: 55px;
line-height: 65px;
color: #000;
font-weight: bold;
padding: 12px 0 18px 25px;
border-left: 5px solid #254a28;
background: linear-gradient(to right, #cfe0d0 0%, #f3f0e945 40%);
width: 100%;
max-width: 700px;
} .article-main-sec-wrapper {
padding: 50px 0;
}
.article-top-head {
padding: 11px;
border: 2px dashed #254a28;
margin-bottom: 30px;
}
.article-top-head h3 {
font-size: 36px;
text-align: center;
font-weight: bold;
color: #000;
}
.article-main-sec-wrapper .swiper-button-prev,
.article-main-sec-wrapper .swiper-button-next {
background: #fff;
border-radius: 50%;
}
.article-main-sec-wrapper .swiper-button-prev svg,
.article-main-sec-wrapper .swiper-button-next svg {
width: 14px !important;
}
.article-main-sec-wrapper .swiper-button-prev path,
.article-main-sec-wrapper .swiper-button-next path {
fill: #254a28;
}
.news-slide {
background-image: url(//acharyamanish.com/wp-content/themes/custom-theme/assets/article-images/green-article-bg.webp);
width: 100%;
background-repeat: no-repeat;
background-size: cover;
padding-top: 19px;
height: 100%;
border-radius: 10px 10px 0 0;
position: relative;
}
.news-paper-img img {
width: 100%;
}
.news-slide-main {
height: auto !important;
border-radius: 10px;
}
.article-read a {
font-size: 18px;
color: #fff;
text-transform: capitalize;
width: 100%;
display: block;
padding: 10px;
border-radius: 0 0 10px 10px;
transition: 0.5s ease;
}
.article-read a:hover {
background: #fad451;
color: #000;
}
.article-read {
position: absolute;
bottom: 0;
background: #254a28;
width: 100%;
border-radius: 0 0 10px 10px;
text-align: center;
}
.article-details {
margin-bottom: 70px;
min-height: 100px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px 20px 0px;
}
.article-details span {
font-size: 18px;
font-weight: 500;
color: #522713;
text-align:center;
}
.article-details h4 {
font-size: 30px;
font-weight: 700;
color: #522713;
padding: 5px 0 7px;
}
.article-details p {
font-size: 18px;
font-weight: 500;
color: #522713;
}
.news-logo img {
width: 100%;
height: 100%;
object-fit: contain;
}
.news-logo {
width: 100%;
height: 50px;
}
.jeena-sikho-hiims-news-sec .news-slide {
background-image: url(//acharyamanish.com/wp-content/themes/custom-theme/assets/article-images/orange-article-bg.webp);
}
.the-truth-news-sec .news-slide {
background-image: url(//acharyamanish.com/wp-content/themes/custom-theme/assets/article-images/nylon-bg-img.webp);
} .custom-tab-content {
opacity: 0;
transform: translateY(20px);
transition: all 0.4s ease;
position: absolute;
width: 100%;
pointer-events: none;
margin-top:20px;
}
.custom-tab-wrapper {
position: relative;
min-height: 150px; }
.custom-tab-content.active {
opacity: 1;
transform: translateY(0);
position: relative;
pointer-events: auto;
}
.mySwiperFour .swiper-slide.active-tab .cat-disease {
border: 2px solid #254a28;
overflow: hidden;
}
.cat-disease {
background: #fff;
padding: 10px;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
border-radius: 10px;
border: 2px solid transparent;
margin-bottom: 20px;
}
.cat-diseaseImg img {
width: 100%;
border-radius: 10px;
margin-bottom: 14px;
}
.cat-disease h5 {
font-size: 24px;
font-weight: 600;
color: #000;
padding-bottom: 5px;
}
.mySwiperFour .swiper-slide.active-tab {
opacity: 1;
}
.mySwiperFour .swiper-slide {
opacity: 0.5;
}
.mySwiperFour .swiper-button-prev,
.mySwiperFour .swiper-button-next {
background: #254a28;
border-radius: 50%;
}
.mySwiperFour .swiper-button-prev path,
.mySwiperFour .swiper-button-next path {
fill: #fff;
}
.mySwiperFour .news-slide {
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.cat-tabInner {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 30px;
}
.article-main-sec-wrapper .custom-tab-content .news-slide {
background-image: url(//acharyamanish.com/wp-content/themes/custom-theme/assets/article-images/cat-article-card-bg.webp);
}  .image-popup {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.75);
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
visibility: hidden;
transition: 0.3s ease;
z-index: 9999;
}
.image-popup.active {
opacity: 1;
visibility: visible;
}
.popup-outer {
position: relative;
width: 100%;
max-width: 900px;
margin:0 20px;
}
.popup-inner {
position: relative;
max-height: 90vh;
overflow-y: auto;
padding: 10px;
background: #fff;
}
.popup-img {
width: 100%;
height: auto;
display: block;
border-radius: 6px;
background: #fff;
}
.close-popup {
position: absolute;
top: -15px !important;
right: -5px !important;
font-size: 40px !important;
cursor: pointer;
font-weight: 300;
z-index: 1;
border: 1px solid #000;
background: #fff;
width: 40px;
height: 40px;
text-align: center;
line-height: 43px;
border-radius: 50%;
} @media (max-width: 1199px) {
.artical-home-banner h1 {
font-size: 40px;
line-height: 50px;
}
.article-top-head h3 {
font-size: 30px;
}
.article-details {
padding: 10px 10px 0px;
margin-bottom: 60px;
}
.article-details h4 {
font-size: 23px;
}
.article-details span,
.article-details p,
.article-read a {
font-size: 14px;
}
}
@media (max-width: 1099px) {
.cat-disease h5 {
font-size: 20px;
}
}
@media (max-width: 991px) {
.article-main-sec-wrapper {
padding: 30px 0;
}
}
@media (max-width: 767px) {
.cat-tabInner {
display: flex;
gap: 15px;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding-left: 15px;
}
.cat-tabInner::-webkit-scrollbar {
display: none;
}
.news-slide {
flex: 0 0 60%;   
scroll-snap-align: start;
}  
}
@media (max-width: 576px) {
.artical-home-banner h1 {
font-size: 35px;
line-height: 40px;
}
.article-top-head {
padding: 8px 10px;
margin-bottom: 30px;
}
.article-main-sec-wrapper .container.swiper {
padding: 0 15px;
}
.article-top-head h3 {
font-size: 22px;
}
.acharyaji-banner-column {
text-align: center;
}
.acharyaji-banner-column img {
width: 75%;
}
.mySwiperFour .swiper-slide {
opacity: 1;
margin-right: 10px !important;
}
.cat-disease h5 {
font-size: 14px;
padding: 3px;
}
.cat-disease {
padding: 6px;
border-radius: 5px;
}
.cat-diseaseImg img {
border-radius: 6px;
margin-bottom: 8px;
}
.custom-tab-content {
margin-top:10px;
}
.news-slide {
flex: 0 0 80%;   
}  
.article-main-sec-wrapper .swiper-button-next, .article-main-sec-wrapper .swiper-button-prev {
height: 25px;
width: 25px;
}
.article-main-sec-wrapper .swiper-button-prev svg, .article-main-sec-wrapper .swiper-button-next svg {
width: 8px !important;
}
}