.blog-details-wrapper {
    padding: 30px 0;
}

.inner-pagination-area {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  
  .pagination-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
  }
  
  .pagination-list li {
    display: inline-block;
  }
  
  .pagination-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-family);
    color: var(--black-color);
    background: var(--white-color);
    border: 1px solid var(--main-grey);
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
  }
  
  /* Active page */
  .pagination-list a.active {
    background: var(--main-color);
    color: var(--white-color);
    border-color: var(--main-color);
  }
  
  /* Hover state */
  .pagination-list a:hover:not(.active) {
    background: var(--second-color);
    border-color: var(--second-color);
    color: var(--black-color);
  }
  
  /* Disabled buttons */
  .page-item.disabled a {
    background: var(--main-grey);
    color: #999;
    pointer-events: none;
    box-shadow: none;
  }
  
  /* Next / Prev buttons */
  .shop-pagi-btn {
    font-size: 14px;
    color: var(--main-color);
  }
  
  .shop-pagi-btn:hover {
    background: var(--third-color);
    border-color: var(--third-color);
    color: var(--white-color);
  }
  /* blog-details */
  .blog-details {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.blog-image:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2.5rem;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--main-grey);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--para-color);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--main-color);
}

h1.blog-title {
    font-size: clamp(1rem, 4vw, 2rem );
    font-weight: 600;
    color: var(--black-color);
    margin: 0.7rem auto;
    line-height: 1.5;
    letter-spacing: 1px;
}

.blog-intro {
    font-size: 1.1rem;
    color: var(--para-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.blog-section {
    margin-bottom: 1rem;
    scroll-margin-top: 100px;
}

.blog-section h2 {
    font-size: clamp(1.1rem, 3vw, 1.5rem );
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    position: relative;
    width: fit-content;
    /* border-bottom: 3px solid var(--third-color); */
}
.blog-section h2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% + 1rem);
    height: 2px;
    background: var(--third-color);
}

.section-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: var(--box-shadow);
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-image:hover img {
    transform: scale(1.05);
}

.blog-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black-color);
    margin: 1.5rem 0 1rem;
}

.blog-content p {
    color: var(--para-color);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.blog-section li {
    color: var(--para-color);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}


/* Table of Contents */

 .sidebar-wrapper {
    height: 100%;
}

.toc-sidebar{
    position: sticky;
    top: 85px; 
}

.toc-box {
    margin: auto;
    background: var(--white-color);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--box-shadow);
    background: linear-gradient(white, white) padding-box,
        linear-gradient(to right, var(--third-color), #3a4ed5) border-box;
    border: 2px solid transparent;
}

.toc-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--main-grey);
}
.toc-list {
    list-style: decimal;
    padding-left: 1rem;
    display: block;
  }
  
  .toc-list::marker {
    font-size: 1rem;
    color: var(--main-color);
  }

  .toc-list li {
    display: list-item;
    list-style: decimal;
    width: 100%;
  }
.toc-list a {
    display: block;
    color: var(--main-color);
    text-decoration: none;
    padding-bottom: 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
    padding-left: 5px;
    font-size: 1rem;
}

.toc-list a:hover {
    background: var(--light-color);
    color: var(--main-color);
    border-left-color: var(--main-color);
    transform: translateX(5px);
}

.toc-list a.active {
    background: var(--light-color);
    color: var(--main-color);
    border-left-color: var(--main-color);
}

/* Related Blogs */
.related-blogs-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
     gap: 1rem;
     flex-wrap: wrap;
    background: var(--white-color);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--box-shadow);
}

.related-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--main-grey);
}

.related-blog-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--main-grey);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.related-blog-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-blog-item:hover {
    transform: translateX(5px);
}

.related-blog-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.related-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-blog-item:hover .related-blog-image img {
    transform: scale(1.1);
}

.related-blog-content {
    flex: 1;
}

.related-blog-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-blog-item:hover .related-blog-content h4 {
    color: var(--main-color);
}

.related-blog-content .meta {
    font-size: 0.85rem;
    color: var(--para-color);
    display: flex;
    gap: 1rem;
}

.related-blog-content .meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}



.tour-get-started {
    padding: 1rem 2rem;
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 11px 1px -0.5px, rgba(42, 51, 70, 0.04) 1px 8px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    border-radius: 10px;
    margin: 2rem auto;
    background: var(--beige-color);
}

.trip-brochure-banner .content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--main-color);
}

.trip-brochure-banner .text h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: bold;
    color: var(--black-color);
}

.trip-brochure-banner .text p {
    margin: 0;
    font-size: 14px;
    color: var(--main-color);
}

.trip-brochure-banner .btn-effect-2 {
    background: var(--main-color);
    color: var(--white-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.trip-brochure-banner .btn-effect-2:hover {
    background: var(--white-color);
    color: var(--main-color);
}

.blogSwiper:hover .swiper-button-next,
.blogSwiper:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 992px) {

    .sidebar-wrapper {
        position: static;
        margin-top: 2rem;
    }

    h1.blog-title {
        font-size: 1.8rem;
    }
    .toc-sidebar{
        position: static;
    }
    .blog-section h2 {
        font-size: 1.5rem;
    }
    .swiper-wrapper{
        flex-wrap: wrap;
    }
    .swiper-slide{
        width: 47% !important;
    }
    .trip-brochure-banner .content {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (max-width: 640px) {

    .blog-section {
        margin-bottom: 0.5rem; 
    }

    .blog-content {
        padding: 1rem  0.5rem 0.5rem 0.5rem ;
    }

    .blog-image {
        height: 300px;
    }

    .section-image {
        height: 200px;
    }

    .blog-meta {
        gap: .75rem;
        flex-wrap: wrap;
    }
    .tour-get-started {
        margin: 1rem auto 2rem;
    }

    h1.blog-title {
        font-size: 1.5rem;
    }

    .related-blog-image {
        width: 80px;
        height: 80px;
    }

    .toc-box,
    .related-blogs-box {
        padding: 1.5rem;
    }
    .swiper-wrapper{
        flex-wrap: wrap;
    }
    .swiper-slide{
        width: 100% !important;
    }
    .trip-brochure-banner .content {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }
}
