.blog-categories-page {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── Blog Categories ── */
.blog-categories {
   background: #fff;
   padding: 3.5rem 0 4.5rem 0;
   margin: 0 auto;
   margin-top: 3rem;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   gap: 2rem;
 }
 
 .blog-categories__head {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 1.5rem;
   margin-bottom: 2rem;
 }
 
 .blog-categories__title {
   font-size: clamp(2rem, 1.5rem + 3vw, 2.5rem) !important;
   font-weight: 700 !important;
   color: #000;
   text-align: center;
   text-transform: uppercase;
 }
 
 .blog-categories__sub,  .blog-categories__head p {
   margin-top: 0.5rem;
   font-size: 1rem;
   color: rgba(0, 0, 0, 0.55);
   line-height: 1.55 !important;
   max-width: 62ch;
   font-family: "Roboto", sans-serif !important;
   text-align: center;
 }
 
 .blog-categories__cta {
   display: inline-flex;
   align-items: center;
   gap: 0.4rem;
   flex-shrink: 0;
   padding: 0.65rem 1.15rem;
   border: 1px solid rgba(0, 0, 0, 0.15);
   border-radius: 8px;
   font-size: 0.9rem;
   font-weight: 600;
   color: #000;
   background: #fff;
   font-family: "Roboto", sans-serif !important;
   transition: border-color 0.15s ease, background 0.15s ease;
 }
 
 .blog-categories__cta:hover {
   border-color: var(--primary-color, #58669f);
   background: rgba(88, 102, 159, 0.04);
 }
 
 .blog-categories__grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1.5rem;
 }

 .blog-categories__container.container {
   width: 95%;
   max-width: 1200px;
 }

 .blog-categories__pagination {
   margin-top: 2.5rem;
   display: flex;
   justify-content: center;
   font-family: "Roboto", sans-serif !important;
 }

 .blog-categories__pagination .page-numbers {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-width: 2.25rem;
   height: 2.25rem;
   margin: 0 0.2rem;
   padding: 0 0.5rem;
   border-radius: 8px;
   color: #000;
   border: 1px solid rgba(0, 0, 0, 0.1);
 }

 .blog-categories__pagination .page-numbers.current {
   background: var(--primary-color, #58669f);
   border-color: var(--primary-color, #58669f);
   color: #fff;
 }

 .blog-categories__empty {
   text-align: center;
   color: rgba(0, 0, 0, 0.55);
   font-family: "Roboto", sans-serif !important;
 }
 
 .bp-post-card {
   background: transparent;
 }
 
 .bp-post-card__link {
   display: block;
   color: inherit;
 }
 
 .bp-post-card__image {
   width: 100%;
   height: auto;
   aspect-ratio: 16/9;
   border-radius: 12px;
   object-fit: cover;
   display: block;
   background: #e7e9ee;
 }
 
 .bp-post-card__meta {
   margin-top: 0.85rem;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.75rem;
   font-size: 0.82rem;
   font-weight: 600;
   color: rgba(0, 0, 0, 0.5);
   font-family: "Roboto", sans-serif !important;
 }
 
 .bp-post-card__title-row {
   margin-top: 0.5rem;
   display: flex;
   align-items: flex-start;
   justify-content: space-between;
   gap: 0.75rem;
 }
 
 .bp-post-card__title {
   font-size: 1.1rem !important;
   font-weight: 700 !important;
   color: #000;
   line-height: 1.25 !important;
 }
 
 .bp-post-card__icon {
   width: 30px;
   height: 30px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   border-radius: 8px;
   color: #000;
   background: rgba(0, 0, 0, 0.05);
   flex-shrink: 0;
 
   display: none !important;
 }
 
 .bp-post-card__excerpt {
   margin-top: 0.5rem;
   font-size: 0.9rem;
   color: rgba(0, 0, 0, 0.58);
   line-height: 1.5 !important;
   display: -webkit-box;
   line-clamp: 2;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   font-family: "Roboto", sans-serif !important;
 }
 
 .bp-post-card__date {
   font-size: 0.8rem;
   color: rgba(0, 0, 0, 0.45);
   font-weight: 500;
   flex-shrink: 0;
 }
 
 /* ── Responsive ── */
 
 @media only screen and (max-width: 1024px) {
   .bp-layout {
     grid-template-columns: 1fr;
   }
 
   .bp-sidebar {
     position: static;
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 1rem;
   }
 
   .bp-card--author {
     grid-column: 1 / -1;
   }
 
   .blog-categories__grid {
     grid-template-columns: repeat(2, 1fr);
   }
 }
 
 @media only screen and (max-width: 768px) {
  .blog-categories {
    margin-top: 0rem;
    padding-top: 2rem;
  }
   .bp-article {
     padding: 2rem 0 1.5rem;
   }
 
   .bp-sidebar {
     grid-template-columns: 1fr;
   }
 
   .blog-categories__head {
     flex-direction: column;
     align-items: center;
     justify-content: center;
   }
 
   .blog-categories__grid {
     grid-template-columns: 1fr;
   }
 
   .bp-featured__image {
     padding: 1.5rem;
     max-height: 280px;
   }
 }

 .screen-reader-text {
  display: none !important;
 }

 .blog-categories__pagination .nav-links {
  gap: 0rem !important;
 }
 
