/* =================================
   Blog Archive Page Styles
================================= */

.hero-section{
    height:680px;
}

.hero-right-image img {
  width: auto;
}

.hero-right-image {
    align-items: flex-start;
}

.blog-archive-section {
  padding: 80px 0;
  background: #fff;
}

.blog-archive-section .container{
    padding:0 20px;
}

/* Section Header */
.blog-section-header {
  text-align: center;
  margin-bottom: 60px;
}



/* Blog Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Main Blog Content */
.blog-main {
  min-width: 0;
}

.blog-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 0px;
}

/* Blog Card - Image on Top */
.blog-box {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  overflow: hidden;
}

.blog-thumbnail {
  flex-shrink: 0;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s;
}

.blog-box:hover .blog-thumbnail img {
  transform: scale(1.05);
}

.blog-content {
  flex: 1;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 500;
}

.blog-meta img {
  margin-right:10px;
}

.blog-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 15px;
}

.blog-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.blog-title a:hover {
  color: var(--secondary-color);
}

.blog-excerpt {
  color: #666;
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
}

.blog-read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
}

.blog-read-more:hover {
  gap: 10px;
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

/* Load More Button */
.blog-load-more {
  margin-top: 20px;
}

.load-more-btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: var(--secondary-color);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(177, 80, 146, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* sliding layer */
.load-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color); /* blue */
  transition: left 0.35s ease;
  z-index: -1;
}

/* hover state */
.load-more-btn:hover::before {
  left: 0;
}

/* keep existing hover lift */
.load-more-btn:hover {
  transform: translateY(-2px);
}


/* =================================
   Sidebar Styles
================================= */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 50px;
}




.widget-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 30px;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--primary-color);
}


/* Search Widget */
.search-widget {
  padding: 40px 0 0;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  padding: 5px 5px 5px 20px;
}

.search-field {
  flex: 1;
  padding: 15px 10px;
  border: none;
  background: transparent;
  font-size: 22px;
  font-weight: 600;
  color: #000;
  outline: none;
}

.search-field::placeholder {
  color: #000;
}

/* Category Widget */
.category-widget {
  padding: 40px 0 40px;
  border-top: 1px solid #D9D8D8;
  border-bottom: 1px solid #D9D8D8;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-list li {
  margin-bottom: 0;
}

.category-list li:last-child {
  margin-bottom: 0;
}

.category-list a {
  display: block;
  padding: 25px 25px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 22px;
  transition: all 0.3s;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
}

.category-list a:hover {
  color: var(--primary-color);
  background: rgba(0, 102, 204, 0.05);
  padding-left: 30px;
}

/* Recent Posts Widget */

.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-post-item {
  display: flex;
  gap: 35px;
  margin-bottom: 25px;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-item:last-child {
  margin-bottom: 0;
}

.recent-post-thumb {
  flex-shrink: 0;
  width: 111px;
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recent-post-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
}

.recent-post-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.recent-post-title a:hover {
  color: var(--primary-color);
}

.recent-post-date {
  font-size: 12px;
  font-weight:500;
  color: var(--secondary-color);
}

/* CTA Widget */
.cta-widget {
  background: url('/wp-content/uploads/2026/01/image-37.webp') center/cover;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  height:680px;
  display: flex;
  align-items: flex-end;
  padding: 40px 10px;
}

.cta-widget .cta-btn{
    background:#1E41FF;
    font-size:22px;
    font-weight:600;
}

.cta-widget .cta-btn::before{
    background: var(--secondary-color);
}

.cta-content {
  position: relative;
  z-index: 1;
  width: 100%;
  justify-content: center;
  gap:0;
}

.cta-label {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.cta-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 25px;
}

/* =================================
   Responsive Styles
================================= */

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }

  .blog-thumbnail {
    height: 250px;
  }

  .blog-content {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .blog-sidebar {
    order: 2;
  }

  .sidebar-widget {
    padding: 25px 20px;
  }

  .widget-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .search-widget,
  .category-widget,
  .recent-posts-widget {
    padding: 25px 20px;
  }

  .blog-thumbnail {
    height: 220px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 22px;
  }

  .blog-meta {
    font-size: 16px;
  }

  .category-list {
    gap: 15px;
  }

  .category-list a {
    padding: 15px 20px;
    font-size: 16px;
  }

  .recent-post-thumb {
    width: 80px;
    height: 80px;
  }

  .recent-post-title {
    font-size: 16px;
  }

  .cta-widget {
    height: 500px;
    padding: 30px 20px;
  }
}



@media (max-width: 1024px) {
    .hero-right-image img {
        width: 790px !important;
        margin-left: 0px;
    }
}