/* Custom archive svg shape */

:root{
    --archive-shape-fill-color: #fff;
}

/* Blog */

.blog-list-post{
  height: 100%;
}

.blog-container{
    padding-left: 45px;
    padding-right: 45px;
}

.archive-post{
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.archive-post .image img{
    border-radius: 20px;
}

.blog_text{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin-top: 30px;
  text-align: center;
}


.blog_text .btn-wrapper{
  margin-top: auto;
  text-align: center;
}

.blog_text h2{
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

.blog_text h2 a{
  color: var(--theme-black);
  text-decoration: none;
  background-repeat: no-repeat;
  background-image: linear-gradient(90deg,currentColor 0,currentColor 100%);
  background-position: 100% calc(100% - 1px);
  background-size: 0 3px;
  transition: background-size .5s cubic-bezier(.25,.46,.35,.94),color .2s ease-out;
}

.blog_text h2:hover a {
  background-size: 100% 3px;
  background-position: 0 calc(100% - 1px);
}

.tags-links{
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
  align-items: center;
  font-weight: 500;
  color: var(--theme-accent);
}

.tags-links a{
  font-size: 15px;
  color: #FFF;
  border: none;
  padding: 6px 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: var(--theme-primary);
  border-radius: 10px;
}

.tags-links a:hover{
  background-color: var(--theme-secondary);
  border-color: var(--theme-secondary);
  color: #fff;
  text-decoration: none;
}

.blog-padding{
    padding: 50px 0;
}

.archive-shape{
    direction: ltr;
    left: 0;
    line-height: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
    bottom: -1px;
}

.archive-shape svg{
    display: block;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: calc(100% + 1.3px);
  height: 45px;
  overflow: hidden;
}

.archive-shape .elementor-shape-fill {
  fill: var(--archive-shape-fill-color);
  transform: rotateY(0deg);
  transform-origin: center;
}

/* Archive header */

.archive-header{
    position: relative;
    padding: 60px 0 0 0;
}

.archive-header .container{
    position: relative;
    z-index: 2;
}

/* .archive-header::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
  background-image: linear-gradient(180deg, #FFFFFF00 0%, #FFFFFF 100%);
    z-index: 1;
} */

.archive-title{
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--theme-black);
}

.mb-40{
    margin-top: 40px;
}

@media (max-width: 767px){
    .archive-title{
        font-size: 32px;
    }
}

/* Pagination */

.site-pagination{
    margin-top: 60px;
    text-align: center;
    width: 100%;
}

.site-pagination .page-numbers{
    display: inline-block;
    margin: 0 2px;
    border: 1px solid var(--theme-secondary);
    color: var(--theme-secondary);
    font-weight: 500;
    border-radius: 0;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;

    transition: all 0.3s ease;
}

.site-pagination .page-numbers.current,
.site-pagination .page-numbers:hover{
    background-color: var(--theme-secondary);
    color: #fff;
    text-decoration: none;
}


.site-pagination .page-numbers.prev,
.site-pagination .page-numbers.next{
    font-weight: 600;
}

@media (max-width: 575px){
    .blog-padding .col-md-4{
        margin-top: 20px;
    }
}

/* Single post */

.single-post-content{
    margin-top: 60px;
    margin-bottom: 80px;
    width: 1024px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

span.reading-time{
    color: var(--theme-primary);
    font-weight: 600;
}

.single-image{
    margin-bottom: 40px;
    margin-top: 40px;
}

.single-post-title{
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--theme-black);
}

.single-image .image-wrap{
    overflow: hidden;
    height: 500px;
    border-radius: 30px;
}

.single-image .image-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-meta{
    margin-bottom: 30px;
}

.post-meta .posted-on{
    font-weight: 500;
    color: var(--theme-black);
}

.single-post__wrapper .entry-content img{
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 30px;
    margin-top: 30px;
     border-radius: 20px;
}

.single-post__wrapper .entry-content h1,
.single-post__wrapper .entry-content h2,
.single-post__wrapper .entry-content h3,
.single-post__wrapper .entry-content h4{
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--theme-black);
}

.single-post__wrapper .entry-content p{
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--theme-dark);
}

.single-post__wrapper .entry-content a{
    color: var(--theme-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post__wrapper .entry-content a:hover{
    color: var(--theme-accent);
    text-decoration: none;
}

.single-post__wrapper .entry-content blockquote{
    border-left: 4px solid var(--theme-secondary);
    padding-left: 20px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
    font-style: italic;
    color: var(--theme-dark);
}

.single-post__wrapper .entry-content blockquote p{
    margin-bottom: 0;
}

.single-post__wrapper .entry-content ul,
.single-post__wrapper .entry-content ol{
    margin-bottom: 20px;
    padding-left: 40px;
    color: var(--theme-dark);
}

.single-post__wrapper .entry-content ul li,
.single-post__wrapper .entry-content ol li{
    margin-bottom: 10px;
    line-height: 1.6;
}

.single-post__wrapper .entry-content pre{
    background-color: #f5f5f5;
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 30px;
}

.single-post__wrapper .entry-content code{
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Posts navigation */

.post-nav-links{
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    padding-bottom: 80px;
    margin-bottom: 30px;
    border-bottom: 1px solid #EEE;
}

.post-nav-links a{
    color: var(--theme-secondary);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.post-nav-links a:hover{
    color: var(--theme-accent);
    text-decoration: none;
}

.post-nav-links > div > span{
    display: block;
    text-transform: uppercase;
    color: var(--theme-primary);
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 600;
}

.post-nav-links .next{
    text-align: right;
}






@media (max-width: 1500px){
    .single-post-title{
        font-size: 50px;
    }

    .blog-container{
        padding-left: 30px;
        padding-right: 30px;
    }
}


@media (max-width: 1200px){
    .single-post-content{
        width: 90%;
    }

    .single-post-title{
        font-size: 36px;
    }

    .single-image {
        padding: 0 15px;
    }

    .blog-container{
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 575px){
    .post-nav-links{
        flex-direction: column;
        gap: 30px;
        margin-top: 55px;
        padding-bottom: 55px;
    }

    .single-image{
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .single-image .image-wrap {
        height: 300px;
    }

    .single-post-content {
  margin-top: 30px;
  margin-bottom: 50px;}

     .single-post-title{
        font-size: 32px;
    }


    .post-nav-links .next{
        text-align: left;
    }

    .single-post-content{
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}


