.blog-container {
  max-width: 1200px;
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin: 0 auto;
}

.hero-blog-style-one .card-large .card-large__content .title,
.hero-blog-style-one .card-small .card-small__content .title,
.hero-blog-style-one .title,
.archive-main .list-blog__card .card-body .title {
  font-size: 1.2rem;

  a {
    text-decoration: none !important;
    color: #323231 !important;
  }
}

.hero-blog-style-one .title {
  font-size: 1.5rem;
}

.hero-blog-style-one .card-large .card-large__content .excerpt {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--c-black-text);
}

.header-blog {
  position: initial;
  background-color: var(--c-green);
}

.blog-btn-view-all {
  background-color: var(--c-green);
  color: var(--c-light-text);
  padding: 15px 30px;
  border-radius: 6px;
  transition: var(--t-md);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.list-blog-view-all-container {
  display: flex;
  justify-content: end;
  align-items: center;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.featured-grid__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-large img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.card-small {
  display: grid;
  grid-template-columns: 100px 1fr;
  margin: 15px 0;
  gap: 15px;
  align-items: center;
}

.card-small img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.category-pills li a {
  padding: 8px 16px;
  background: #f4f4f4;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

/* STYLE TWO - Overlay */
.blog-hero-two {
  height: 70vh;
  min-height: 500px;
  margin-bottom: 40px;
}

.hero-two__container {
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-two__title {
  font-size: 3rem;
  font-family: "Montserrat", sans-serif;
  margin: 20px 0;
}

/* STYLE THREE - Grid */
.hero-three__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.card-vertical__image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

.list-blog__card {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;

  .card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

.list-blog__card .card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.component-list-blog .list-blog__card .title {
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;

  a {
    text-decoration: none !important;
    color: #323231 !important;
  }
}

.component-list-blog .list-blog__card .excerpt {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--c-black-text);
}

.featured-grid__main {
  display: block;
}

.card-large__content {
  margin-top: 15px;
}

.featured-grid__sidebar h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.list-blog__card .card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.list-blog__card .card-image {
  overflow: hidden;
  border-radius: 8px;
}

.list-blog__card:hover .card-image img {
  transform: scale(1.05);
}

.list-blog__card .title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 54px;
}

.category-link {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-green);
  text-decoration: none;
  margin-right: 10px;
  letter-spacing: 1px;
}

.category-link:hover {
  color: #000;
}

.category-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 5px;
}

.section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.post-meta {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-author a {
  color: var(--c-green);
  text-decoration: none;
  font-weight: 600;
}

.post-author a:hover {
  text-decoration: underline;
}

.meta-divider {
  color: #ddd;
}

.post-date {
  font-weight: 400;
}

.archive-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 800px;
  line-height: 1.6;
  border-left: 3px solid var(--c-green);
  padding-left: 20px;
}

.content-typography {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #333;
  font-family: "Georgia", serif;
}

.content-typography p {
  margin-bottom: 1.8rem;
}

.content-typography h2,
.content-typography h3 {
  color: #000;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.post-hero-image img {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: cover;
  border-radius: 20px;
}

.post-breadcrumb {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--c-green);
}

.post-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.author-avatar img {
  border: 2px solid var(--c-green);
  padding: 2px;
}

.post-next-prev a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s;
}

.post-next-prev a:hover {
  color: var(--c-green);
}

:root {
  --t-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-light-section {
  background-color: #f8f9fa;
}

.transition-up {
  transition: var(--t-smooth);
}
.transition-up:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.subtitle-uppercase {
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-green);
  text-transform: uppercase;
}

.header-accent-line {
  width: 60px;
  height: 3px;
  background-color: var(--c-green);
}

.blog-card-modern .hover-green:hover {
  color: var(--c-green) !important;
}

.read-more-link {
  font-size: 0.9rem;
  position: relative;
  transition: var(--t-smooth);
}

.read-more-link:hover {
  color: var(--c-green) !important;
  padding-left: 5px;
}

.pagination-wrapper .pagination {
  gap: 10px;
}

.pagination-wrapper .page-numbers {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: var(--t-smooth);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
  background: var(--c-green);
  color: #fff;
}

.subtitle-uppercase {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--c-green);
  font-weight: 700;
  margin-bottom: 5px;
}

.btn-link-modern {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--c-green);
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.btn-link-modern:hover {
  color: var(--c-green);
  padding-right: 10px;
}

.blog-card-v2 {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.card-image-container {
  aspect-ratio: 16 / 10;
  position: relative;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.blog-card-v2:hover .transition-img {
  transform: scale(1.08);
}

.post-meta-v2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

.post-meta-v2 .dot {
  width: 4px;
  height: 4px;
  background: var(--c-green);
  border-radius: 50%;
}

.post-title-v2 a {
  line-height: 1.3;
  transition: color 0.3s ease;
}

.post-title-v2 a:hover {
  color: var(--c-green) !important;
}

.btn-read-more {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  position: relative;
}

.btn-read-more::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--c-green);
  transition: width 0.3s ease;
}

.btn-read-more:hover::after {
  width: 100%;
}

.read-time {
  color: #bbb;
  letter-spacing: 1px;
}

/* Hero Card Main */
.hero-card-main {
  transition: var(--t-smooth);
}

.hero-card-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.hero-card-main .card-large__image {
  max-height: 450px;
  overflow: hidden;
}

.hero-card-main .transition-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.hero-card-main:hover .transition-img {
  transform: scale(1.05);
}

/* Side Posts */
.card-small-hero .card-small__image {
  width: 100px;
  height: 80px;
}

.card-small-hero .card-small__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-label-small {
  font-size: 0.65rem;
  color: var(--c-green);
  letter-spacing: 1.5px;
}

.date-small {
  font-size: 0.75rem;
}

.section-subtitle {
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.hover-green:hover {
  color: var(--c-green) !important;
}

.post-category-badge .badge {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-back-modern,
.breadcrumb-link {
  text-decoration: none;
  color: #888;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-back-modern {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50px;
}

.btn-back-modern:hover,
.breadcrumb-link:hover {
  color: var(--c-green);
  transform: translateX(-5px);
}

.post-breadcrumb .sep {
  color: #ccc;
}

.post-breadcrumb .current-cat a {
  color: var(--c-green);
  font-weight: 700;
  text-decoration: none;
}

.content-typography {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #2c2c2c;
}

.pagination-wrapper .navigation.pagination {
  display: flex;
  justify-content: center;
}

.pagination-wrapper .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pagination-wrapper .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
  background-color: var(--c-green);
  color: #fff;
  border-color: #1a1a1a;
}

.pagination-wrapper .page-numbers.dots {
  border: none;
  background: transparent;
  cursor: default;
}

.pagination-wrapper .page-numbers i {
  font-size: 1rem;
}

.pagination-wrapper .prev.page-numbers,
.pagination-wrapper .prev.page-numbers:hover,
.pagination-wrapper .next.page-numbers,
.pagination-wrapper .next.page-numbers:hover {
  background-color: transparent;
  color: #000;
  border: none;
  font-weight: 600;
  width: auto;
  height: auto;
  box-shadow: none;
}

.component-list-blog .title-section {
  text-align: start;
}

.border-bottom-thick {
  border-bottom: 3px solid #1a1a1a;
}

.post-item-divider {
  border: 0;
  border-top: 2px solid #eee;
  opacity: 0.8;
}

.card-small-hero {
  margin-bottom: 0 !important;
}

.post-item-divider.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.all-category-cta{
  text-align: end;
}

/* Responsive */
@media (max-width: 1024px) {
  .list-blog__card .card-image img {
    height: 250px;
  }
}

@media (max-width: 992px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  #menu-blog-menu-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
  }
}

.menu-post-count {
  font-size: 0.75rem;
  background-color: #f0f0f0;
  color: #666;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: normal;
}

.header-mobile-navigation-list li:hover .menu-post-count {
  background-color: #1a1a1a;
  color: #fff;
}

.menu-item-back-main {
    list-style: none;
}

.back-to-site-link {
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888 !important;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.back-to-site-link:hover {
    color: #1a1a1a !important;
}

.back-to-site-link img {
    filter: grayscale(1);
}

@media (min-width: 991px) {
  .menu-post-count {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-three__grid {
    grid-template-columns: 1fr;
  }

  .list-blog__card .card-image img {
    height: 200px;
  }

  .list-blog-view-all-container {
    justify-content: start;
  }

  .all-category-cta {
    text-align: start;
  }
}

@media (max-width: 576px) {
  .pagination-wrapper .page-numbers {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }
}
