@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

p, h1, h2, h3, h4, h5, a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
}
a {
    color: black !important;
}
 .container {
        max-width: 1280px !important;
}
main#primary {
    max-width: 1200px;
}

/* single page font css */

#primary h1 {
  font-size: 2.5rem;       /* ~40px */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

#primary h2 {
  font-size: 2rem;         /* ~32px */
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.9rem;
}

#primary h3 {
  font-size: 1.5rem;       /* ~24px */
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

#primary h4 {
  font-size: 1.25rem;      /* ~20px */
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

#primary p {
  font-size: 1rem;         /* ~16px */
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 0.1rem;
}

@media (max-width: 768px) {
  #primary h1 { font-size: 2rem; }
  #primary h2 { font-size: 1.75rem; }
  #primary h3 { font-size: 1.25rem; }
  #primary h4 { font-size: 1.125rem; }
  #primary p   { font-size: 0.95rem; }
}




/* single page font css end */
.entry-title,
.post-thumbnail,
.entry-header {
    position: static !important;
    top: auto !important;
}
#primary blockquote {
 	margin:0 0 1rem;
	border-left:10px solid #a2a0a0;
	background-color:#f7f7f7;
	padding:15px;
	width:auto;
	margin:10px 0px;
}
.tag-container{
	padding-top:6em !important;
}
/* this is sticky header */

/* .my-custom-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: transparent;
  transition: all 0.3s ease;
}


.my-custom-header.scrolled {
  background-color: black !important;
}

.my-custom-header.scrolled .elementor-button {
  background-color: white !important;
  color: black !important;
}

.my-custom-header.scrolled .elementor-menu-toggle {
  color: white !important;
}

.my-custom-header.scrolled img.logo-dark {
  display: none;
}
.my-custom-header.scrolled img.logo-light {
  display: block;
}


img.logo-dark {
  display: block;
}
img.logo-light {
  display: none;
}


.logo-dark {
  display: block;
}
.logo-light {
  display: none;
}


.my-custom-header.scrolled .logo-dark {
  display: none !important;
}
.my-custom-header.scrolled .logo-light {
  display: block !important;
}


 */



/* header css */
header {
  position: sticky !important;
  top: 0;
  z-index: 9999;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* No shadow by default */
header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

main#content {
    max-width: 1200px !important;
}

img.navbar-brand {
    width: 100%;
    max-width: 250px;
}
  .header-btn {
	   background-color: #000000 !important;
       
            padding: 10px 30px !important;
            border: 2px solid #000000 !important;
            border-radius: 30px !important;
            text-decoration: none;
            font-weight: 600 !important;
	  color: #ffffff !important;
}

 .header-btn:hover {
	      text-decoration: none;
            color: black !important;
             background-color: transparent !important;
            
}
/* header css end */

.author-section {
background:transparent !important;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.custom-tags span:hover {
 
    background-color: black !important;
 
	color:white !important;
  
}

.author-section .col-lg-6 {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.author-img{
	margin-right:10px;
}


.author-section img.img-thumbnail {
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.author-section h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.author-section p {
  margin-bottom: 0;
  color:#727272;
  font-size: 16px;
  line-height: 1.6;
}

.author-section .row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 30px;
}
.post .wp-post-image {

    max-height: 100% !important;
 
}

.author-section .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex: 1; 
} 


/* 	BLOG PAGE CSS START */
	.post-cat a {
    border: 2px solid #000000;
    border-radius: 30px;
}
footer.entry-footer a {
    border: 1px solid black;
    padding: 3px 10px;
    border-radius: 30px;
    text-decoration: none;
    margin: 0 5px;
}
footer.entry-footer a :hover {
   background-color:black !important;
	color:white !important !important;
}
.custom-pagination {
    width: 100% !important;
}
section.tabs-wrap {
    margin-bottom: 2em;
    padding-top: 3em !important;
}
.post-cat a {
    border: 2px solid #5d5a5a;
    border-radius: 30px;
    padding: 3px 12px;
}
.post-meta-list {
    display: grid;
    grid-template-columns: fit-content(200px) 1fr;
    grid-template-rows: auto auto;
    column-gap: 4px;
    row-gap: 8px;
}
.post-meta-list a,.post-meta-list span{
	font-size: 14px;
    color: #5d5a5a !important;
    font-weight: 500;
}
.meta-author {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.meta-date {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.post-cat {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}
span.meta-date::before {
    content: "•";
    font-size: 30px;
}
.blog-css h2.entry-title:hover a::after,
.custom-blog-card:hover h5.custom-blog-title::after,.custom-main-post:hover h5.custom-blog-title::after {
    transform: rotate(0deg);
}
/* .blog-css h2.entry-title a::after, h5.custom-blog-title::after {
    content: "↗" !important;
    font-size: 30px !important;
	font-weight: 400 !important;
    position: absolute;
    top: 0;
	font-family: 'Inter' !important;
    right: 0;
    cursor: pointer;
    transition: .3s ease-in-out all;
}
 */

.blog-css h2.entry-title a::after,
h5.custom-blog-title::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 30px; /* Controls size of the icon */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    transform: rotate(-45deg);
}



h6.custom-blog-title a {
    color: black;
    font-size: 18px;
    text-decoration: none;
	font-weight:600;
}
h5.custom-blog-title a {
	font-weight:600;
}
h5.custom-blog-title {
    position: relative;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 18px;
    padding-right: 45px;
    color: #000;
}
h5.custom-blog-title a {
    color: #000;
    text-decoration: none;
}
.ekit-wid-con .elementskit-post-image-card:hover .elementskit-entry-thumb>img,.custom-blog-card:hover .blog-img-wrapper img,.side-bar-card:hover .blog-img-wrapper img,.custom-main-post:hover .blog-img-wrapper img {
    transform: scale(1.05);
    opacity: 1;
}
.blog-img-wrapper a {
    overflow: hidden;
    margin-bottom: 10px;
}
.blog-img-wrapper a:has(.side-blog-img) {
    width: 280px;
    height: 200px;
    display: block;
}
.blog-img-wrapper img,.side-bar-card .blog-img-wrapper img{transition: all .4s ease;}

/* BLOG PAGE CSS END */

.padding-md {
      padding-top: 1rem;
      padding-bottom: 5rem;
    }
    img {max-width: 100%;}
    p {font-size: 18px;}
    h1.blog-title {
      font-size: 40px;
      font-weight: 600;
      color: #000;
    }
    img.hero {
      max-height: 580px !important;
      object-fit: cover !important;
      width: 100% !important;
    }
    .tabs {
      flex: 1;
      border-radius: 10px;
      position: sticky;
      top: 20px;
      height: fit-content;
    }
    .tabs a {
      display: block;
      padding: 15px 0;
      color: #000;
      text-decoration: none;
      border-left: 3px solid transparent;
      transition: all 0.2s ease-in-out;
      font-size: 22px;
      border-bottom: 1px solid #000;
      font-weight: 600;
    }
    .tabs a:last-child {
      border: none;
    }
    .tab-content {
      flex: 3;
      background: #fff;
      border-radius: 10px;
    }
    .tab-content section {
      margin-bottom: 60px;
    }
    .tab-content h2 {
      margin-bottom: 10px;
      color: #222;
      font-size: 24px;
      font-weight: 650;
    }
    .tab-content p {
      font-size: 18px;
      color: #6b6868;
    }
    .tabs a.active {
      padding-left: 20px;
    }
    .tabs a.active::before {
      content: "•";
      position: absolute;
      left: 0;
      font-size: 34px;
      color: #5e9d5e;
    }
    .tab-item h5 {
      font-size: 20px;
    }
   
    .fadeInUp {
	
    font-size: 16px;
    color: #727272;

      animation-name: fadeInUp;
      animation-duration: 1.2s;
      animation-delay: 0.8s;
      animation-fill-mode: both;
      animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
// this is top 4 post css



.custom-blog-wrapper {
  padding: 2rem 0;
}

.custom-blog-heading {
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.custom-post-meta {
    font-size: 15px;
    color: #000000;
    margin-bottom: 0.5rem;
    font-weight: 500;
	margin-top:10px !important;
}
.custom-blog-card .blog-img-wrapper {
    overflow: hidden;
}
 
.custom-tags span {
    font-size: 20px;
    background-color: transparent !important;
    border-radius: 15px;
    padding: 2px 15px !important;
    border: 2px solid !important;
    margin-right: 8px;
    display: inline-block;
    color: black !important;
    font-weight: 500 !important;
}
.side-blog-img {
  height: 200px !important;
  width: 280px !important;
  object-fit: cover;
}

.main-blog-img {
  object-fit: cover;
  width: 100%;
  height: 500px !important;
}

.category-tag {
  background-color: #ffe5b4;
  color: #333;
  font-weight: 600;
}

.custom-blog-card {
  border: none;
}

.custom-blog-body {
  padding: 0;
}

.custom-blog-title {
  font-weight: bold;
}

.custom-blog-text {
  margin-bottom: 0.5rem;
	font-size: 0.90rem;
    color: #707070;
}


.custom-blog-snippet {
      font-size: 0.90rem;
    color: #707070;
  margin-bottom: 12px;
}

.side-bar-content{
margin-left:15px !important;
}
/* Custom CSS for Blog Post Layout */
.custom-main-title {
  font-weight: bold;
  font-size: 1.75rem;
  margin-bottom: 30px;
}

.card {
  overflow: hidden;
}

.card-body {
  padding: 15px;
}

.card-img-top {
  object-fit: cover;
  max-height: 215px;
  width: 100%;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-text {
     font-size: 0.90rem;
    color: #707070;
}

.text-muted {
  font-size: 0.9rem;
  color: #666;
}

.custom-tags {
  margin-top: 10px;
}

.custom-tags span {
  font-size: 0.85rem;
  background-color: #f1f1f1;
  border-radius: 15px;
  padding: 5px 12px;
  margin-right: 8px;
  display: inline-block;
}

.pagination {
  margin-top: 30px;
  justify-content: space-between !important;
  display: flex;
  flex-wrap: wrap;
}

.pagination .page-item {
  margin: 0 5px;
}

.pagination .page-item .page-link {
  padding: 8px 14px;
  border-radius: 12px;
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 500;
}

.pagination .page-item.active .page-link {
  background-color: #000000;
  color: white !important;
  border-color: #000000;
}

.pagination .page-item.disabled .page-link {
  background-color: #f8f9fa;
/*   color: #ccc; */
  pointer-events: none;
}

.pagination .page-item .page-link:hover {
  background-color: #ffffff;
  color: black;
}
.tab-content p{

    font-size: 16px;
    color: #727272;

}

a.btn.btn-outline{
padding: 8px 14px;
  border-radius: 12px;
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 500;
	margin:10px;
}


    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }
    .fadeInLeft{
      animation-name: fadeInLeft;
      animation-delay: 2.5s;
      animation-duration: 1.2s;
      animation-fill-mode: both;
      animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    @keyframes fadeInLeft {
      from {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
      }

      to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
      }
    }
    .fadeInRight{
      animation-name: fadeInRight;
      animation-delay: 2.5s;
      animation-duration: 1.2s;
      animation-fill-mode: both;
      animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    @keyframes fadeInRight {
      from {
        opacity: 0;
        -webkit-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
      }

     to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
     }
    }
@media screen and (max-width: 990px) {
	.custom-blog-card {
		margin-bottom: 30px;
	}
	main#content {
    padding: 0 20px !important;
}
	.custom-blog-wrapper{
	 	padding: 10px;
	}
	
	.author-img {
    position: absolute;
}
	.author-details-part{
	padding-top:100px !important;
	}
}
@media screen and (max-width: 768px) {
	h1.blog-title {
        font-size: 32px;
	}
	.padding-md {
        padding-top: 1rem;
        padding-bottom: 2rem;
	}
	.tabs a,
	.tab-item h5 {
		font-size: 18px;
		padding: 12px 0;
	}
	.tab-content p,
	p {
		font-size: 16px !important;
		color: #727272;
	}
}
@media screen and (max-width: 480px) {
	img.navbar-brand {
 
    max-width: 180px;
}
	    #primary h1 {
        font-size: 1.7rem;
    }
	    #primary h2 {
        font-size: 1.5rem;
    }
	
.card-img-top {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
	.entry-title, .post-thumbnail, .entry-header {

    font-size: 25px;
  
}
	
.header-btn {padding: 8px 25px !important;}
.custom-main-title {font-size: 1.40rem;}
	.side-blog-img {
		height: 250px !important;
		width: 100% !important;
		object-fit: cover;
	}
	.all-blog {
		padding-top:0px;
	}
	.side-bar-card {
		margin-bottom: 30px;
	}
	.custom-blog-wrapper{
		padding: 0px;
	}
	.side-bar-card.d-flex.aos-init.aos-animate {
    	flex-wrap: wrap;
	}
	.blog-img-wrapper a:has(.side-blog-img) {
		width: initial;
		height: initial;
	}
	.side-bar-content {
    	margin-left: 0px !important;
	}
	.author-section .row {
		flex-direction: column;
	}
	.main-blog-img {
    	height: 220px !important;
	}
}




