/* =================================
   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;
  background-color: #FFF9F0;
  border-radius:20px;
  padding-top:30px;
  height: fit-content;
}

.search-widget, .category-widget, .recent-posts-widget {
    padding: 0 30px;
}


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


/* Search Widget */

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid #D9D9D9;
  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: #BABABA;
  outline: none;
}

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

/* Category Widget */

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

.category-list li {
  margin-bottom: 0;
  position: relative;
  padding-left:15px;
}

.category-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  background-image: url("http://lvsmile.devbuildpro.com/wp-content/uploads/2026/03/Vector-1-1.png");
  background-size: contain;
  background-repeat: no-repeat;
}

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

.category-list a {
    display: block;
    padding: 0;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s;
    border-radius: 10px;
}

.category-list a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* 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: #f5f7fb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Top image section */
.cta-image img {
  display: none;
  width: 100%;
  height: 270px;
  object-fit: cover;
}

/* Bottom dark panel */
.cta-bottom {
  background: #14386b; /* dark blue like screenshot */
  padding: 28px 22px 30px;
  text-align: center;
  color: #fff;
}

.cta-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 22px;
  text-transform: uppercase;
}

/* Buttons wrapper */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Base button style */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

/* Left (filled) button */
.cta-btn-primary {
  background: #6b391e; /* orange/brown */
  color: #fff;
}

/* Right (outline) button */
.cta-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* Hover states */
.cta-btn-primary:hover {
  background: #6b391e;
}

.cta-btn-secondary:hover {
  background: #fff;
  color: #fff;
}

/* Mobile tweaks */
@media (max-width: 575px) {
  .cta-title {
    font-size: 20px;
  }

  .cta-btn {
    width: 100%;
  }
}


/* =================================
   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;
  }

}


@media (max-width: 1280px) {
    .hero-right-image img {
        width: 750px !important;
        margin-left: 0px;
    }
}
@media (max-width: 1024px) {
    .hero-right-image img {
        width: 790px !important;
        margin-left: 150px !important;
    }
}
@media (max-width: 991px) {
    .search-widget, .category-widget, .recent-posts-widget{
        padding:20px 30px;
    }
    .recent-post-item{
        flex-direction: column;
        gap: 20px;
    }
}


