/* HERO BANNER SECTION */
.hero-banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-banner-swiper {
  width: 100%;
  height: 600px;
}

.hero-banner-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

/* Pagination Wrapper */
.hero-banner-pagination-wrapper {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

/* Swiper Pagination - Bottom Right */
.hero-banner-swiper .swiper-pagination {
  position: static !important;
  text-align: right;
  pointer-events: auto;
}

.hero-banner-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--white);
  opacity: 0.5;
  transition: all 0.3s ease;
  margin: 0 6px !important;
}

.hero-banner-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-color);
  width: 30px;
  border-radius: 6px;
}

/* Banner Elements */
.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: var(--section-padding) 0;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.4) 100%
  );
  z-index: 1;
}

.banner-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-inner {
  width: 100%;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px var(--gap-20);
  border-radius: 50px;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--gap-20);
  background: rgba(0, 200, 154, 0.15);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.banner-title {
  font-family: var(--title-font);
  font-size: var(--heading-lg);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--white);
  max-width: 600px;
}

.banner-title-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.banner-title-underline {
  position: relative;
  display: inline;
  background-image: linear-gradient(
    to right,
    var(--secondary-color),
    var(--primary-color)
  );
  background-size: 0 3px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.4s ease;
  padding-bottom: 3px;
}

.banner-title-link:hover .banner-title-underline {
  background-size: 100% 3px;
}

.banner-description {
  display: none;
}

.banner-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.banner-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-meta-item i {
  color: var(--primary-color);
  font-size: 13px;
}

.banner-cta i {
  transition: transform 0.3s ease;
}

.banner-cta:hover i {
  transform: translateX(4px);
}

/* TRENDING NOW SECTION */
.trending-swiper {
  width: 100%;
}

.trending-overlay-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
  transition: all 0.3s ease;
}

.trending-overlay-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.trending-overlay-card .card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.trending-overlay-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.trending-overlay-card:hover .card-image img {
  transform: scale(1.05);
}

.trending-overlay-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.3) 60%,
    transparent 100%
  );
}

.trending-overlay-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.trending-overlay-card .card-meta {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.trending-overlay-card .card-meta i {
  color: var(--primary-color);
  margin-right: 5px;
}

.trending-overlay-card .card-title {
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin: 0;
}

.trending-overlay-card .card-title a {
  color: inherit;
  text-decoration: none;
  position: relative;
  display: inline;
}

.trending-overlay-card .card-title .animated-underline {
  background-image: linear-gradient(
    to right,
    var(--secondary-color),
    var(--primary-color)
  );
}

/* NEWS SECTION */
.news-main-section {
  padding: 0;
  background: var(--white);
}

.news-section-header {
  padding: 60px 0 60px;
  background: var(--secondary-color);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.news-section-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-color) 50%,
    transparent 100%
  );
}

.news-section-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 2px;
}

.news-subtitle {
  font-family: var(--body-font);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-20);
}

.news-subtitle::before,
.news-subtitle::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.news-main-heading {
  font-family: var(--title-font);
  font-size: 50px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -1px;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.news-description-text {
  font-family: var(--body-font);
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 15px auto 0;
  line-height: 1.8;
}

/* Split Card */
.news-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--secondary-extra-light);
  transition: background 0.3s ease;
}

.news-split-card:hover {
  background: var(--primary-light);
}

.news-split-card:nth-child(even) {
  direction: rtl;
}

.news-split-card:nth-child(even) > * {
  direction: ltr;
}

.news-split-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 400px; /* Default desktop height */
}

.news-split-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-split-card:hover .news-split-image-wrapper img {
  transform: scale(1.08);
}

.news-image-number {
  position: absolute;
  top: 40px;
  left: 40px;
  font-family: var(--title-font);
  font-size: 90px;
  font-weight: 700;
  color: var(--white);
  opacity: 0.5;
  line-height: 1;
  z-index: 2;
}

.news-split-text-wrapper {
  padding: 20px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.news-content-label {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 10px;
  border-bottom: 3px solid var(--primary-color);
}

.news-content-heading {
  font-family: var(--title-font);
  font-size: var(--heading-md);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.news-content-excerpt {
  font-family: var(--body-font);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.news-meta-wrapper {
  padding-top: 10px;
  border-top: 1px solid var(--secondary-extra-light);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.news-publish-date {
  font-family: var(--body-font);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 600;
}

.news-read-time {
  font-family: var(--body-font);
  font-size: var(--text-sm);
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .hero-banner-swiper {
    height: 550px;
  }

  .banner-title {
    font-size: var(--heading-md);
  }

  .news-split-text-wrapper {
    padding: 30px 25px;
  }

  .news-content-heading {
    font-size: var(--heading-md);
  }

  .news-main-heading {
    font-size: var(--heading-md);
  }

  .news-split-image-wrapper {
    height: 460px;
  }
}

@media (max-width: 992px) {
  .hero-banner-swiper {
    height: 500px;
  }

  .banner-content {
    padding: 50px 0;
  }

  .banner-title {
    font-size: var(--heading-sm);
    max-width: 500px;
  }

  .news-split-image-wrapper {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .trending-overlay-card {
    height: 280px;
  }

  .trending-overlay-card .card-content {
    padding: var(--gap-20);
  }

  .trending-overlay-card .card-title {
    font-size: 16px;
  }

  .hero-banner-swiper {
    height: 550px;
  }

  .banner-content {
    padding: 40px 0;
  }

  .banner-title {
    font-size: 28px;
    max-width: 100%;
  }

  .banner-meta {
    gap: 10px;
    margin-bottom: 25px;
  }

  .banner-meta-item {
    font-size: 11px;
    padding: 5px 12px;
  }

  .banner-meta-item i {
    font-size: 12px;
  }

  .hero-banner-pagination-wrapper {
    bottom: 30px;
  }

  .news-section-header {
    padding: 50px 0 50px;
  }

  .news-main-heading {
    font-size: var(--heading-md);
  }

  .news-description-text {
    font-size: var(--text-md);
    padding: 0 var(--gap-20);
  }

  .news-subtitle::before,
  .news-subtitle::after {
    width: var(--gap-20);
  }

  .news-split-card {
    grid-template-columns: 1fr;
  }

  .news-split-card:nth-child(even) {
    direction: ltr;
  }

  .news-split-image-wrapper {
    height: 300px;
  }

  .news-split-text-wrapper {
    padding: 25px var(--gap-20);
  }

  .news-content-heading {
    font-size: var(--heading-sm);
  }

  .news-content-excerpt {
    font-size: var(--text-md);
  }

  .news-image-number {
    font-size: 80px;
    top: 30px;
    left: 30px;
  }
}

@media (max-width: 576px) {
  .trending-overlay-card {
    height: 260px;
  }

  .trending-overlay-card .card-content {
    padding: 18px;
  }

  .trending-overlay-card .card-title {
    font-size: 15px;
  }

  .hero-banner-swiper {
    height: 500px;
  }

  .banner-content {
    padding: 30px 0;
  }

  .banner-badge {
    font-size: 11px;
    padding: 6px 16px;
    margin-bottom: 15px;
  }

  .banner-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .banner-meta {
    gap: 6px;
    margin-bottom: var(--gap-20);
  }

  .banner-meta-item {
    font-size: 10px;
    padding: 4px 10px;
  }

  .banner-meta-item i {
    font-size: 11px;
  }

  .hero-banner-pagination-wrapper {
    bottom: 25px;
  }

  .hero-banner-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px !important;
  }

  .hero-banner-swiper .swiper-pagination-bullet-active {
    width: 24px;
  }

  .news-section-header {
    padding: 40px 0 40px;
  }

  .news-main-heading {
    font-size: var(--heading-sm);
  }

  .news-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    gap: 12px;
  }

  .news-subtitle::before,
  .news-subtitle::after {
    width: 15px;
  }

  .news-description-text {
    font-size: var(--text-sm);
  }

  .news-split-image-wrapper {
    height: 250px;
  }

  .news-split-text-wrapper {
    padding: var(--gap-20) 15px;
  }

  .news-content-heading {
    font-size: var(--heading-sm);
  }

  .news-content-excerpt {
    font-size: var(--text-md);
  }

  .news-meta-wrapper {
    align-items: flex-start;
  }
}

@media (max-width: 400px) {
  .hero-banner-swiper {
    height: 480px;
  }

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

  .news-split-image-wrapper {
    height: 200px;
  }

  .news-image-number {
    font-size: 60px;
    top: 20px;
    left: 20px;
  }
}

.blog-featured-wrapper {
  margin-bottom: 30px;
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-20);
  align-items: stretch;
}

.blog-featured-article {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
}

.blog-featured-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-featured-article:hover .blog-featured-image img {
  transform: scale(1.08);
}

.blog-featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.3) 50%,
    transparent 100%
  );
}

.blog-featured-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
}

.blog-featured-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
  background: rgba(0, 200, 154, 0.15);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-featured-heading {
  font-family: var(--title-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
}

.blog-featured-heading a {
  color: inherit;
  text-decoration: none;
  position: relative;
  display: inline;
  background-image: linear-gradient(
    to right,
    var(--secondary-color),
    var(--primary-color)
  );
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.blog-featured-heading a:hover {
  background-size: 100% 2px;
}

.blog-featured-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Featured Cards */
.blog-featured-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-20);
  height: 100%;
}

.blog-featured-small-card {
  display: flex;
  gap: 14px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  padding: 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.blog-featured-small-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
}

.blog-featured-card-thumb {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
}

.blog-featured-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-featured-small-card:hover .blog-featured-card-thumb img {
  transform: scale(1.12);
}

.blog-featured-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-card-label {
  display: inline-block;
  font-size: 10px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  width: fit-content;
}

.blog-featured-card-heading {
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 8px;
}

.blog-featured-card-heading a {
  color: inherit;
  text-decoration: none;
  position: relative;
  display: inline;
  background-image: linear-gradient(
    to right,
    var(--secondary-color),
    var(--primary-color)
  );
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.blog-featured-small-card:hover .blog-featured-card-heading a {
  background-size: 100% 2px;
}

.blog-featured-card-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: fit-content;
}

/* LATEST NEWS SECTION */
.blog-latest-section {
  background: transparent;
  margin-top: 30px;
}

.blog-latest-header {
  text-align: left;
  margin-bottom: 35px;
  padding-bottom: 18px;
  border-bottom: 3px solid #e5e7eb;
  position: relative;
}

.blog-latest-header .blog-latest-heading {
  font-family: var(--title-font);
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
  letter-spacing: -0.5px;
}

.blog-latest-header::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.blog-latest-heading {
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.blog-latest-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-20);
}

.blog-latest-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid transparent;
}

.blog-latest-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--primary-dark)
  );
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-latest-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--secondary-extra-light);
}

.blog-latest-card:hover::before {
  transform: scaleY(1);
}

.blog-latest-card:hover .blog-latest-heading {
  color: var(--primary-color);
}

.blog-latest-thumb-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 110px;
}

.blog-latest-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-latest-card:hover .blog-latest-thumb {
  transform: scale(1.08);
}

.blog-latest-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 200, 154, 0.25),
    rgba(15, 23, 42, 0.01)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-latest-card:hover .blog-latest-thumb-overlay {
  opacity: 1;
}

.blog-latest-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.blog-latest-label {
  font-family: var(--body-font);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-light);
  background: var(--secondary-extra-light);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}

.blog-latest-info {
  font-family: var(--body-font);
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-latest-readmore {
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
  width: fit-content;
}

.blog-latest-readmore:hover {
  gap: 12px;
}

.blog-loadmore-wrapper {
  text-align: center;
  margin-top: var(--gap-20);
}

.blog-loadmore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 50px;
  font-family: var(--body-font);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  background: var(--primary-color);
  color: var(--white);
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 200, 154, 0.3);
  cursor: pointer;
}

.blog-loadmore-btn:hover {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 154, 0.4);
}

/* =====================================================
   ANIMATED LINK
===================================================== */
.animated-link {
  text-decoration: none;
}

.animated-underline {
  position: relative;
  display: inline;
  background-image: linear-gradient(
    to right,
    var(--secondary-color),
    var(--primary-color)
  );
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease;
  padding-bottom: 2px;
}

.animated-link:hover .animated-underline {
  background-size: 100% 2px;
}

/* =====================================================
   SIDEBAR
===================================================== */
.sidebar {
  position: sticky;
  top: 20px;
}

.blog-sidebar-box {
  background: var(--white);
  border-radius: 12px;
  padding: var(--gap-20);
  margin-bottom: var(--gap-20);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.blog-sidebar-box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.blog-sidebar-heading {
  font-family: var(--title-font);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--gap-20);
  padding-bottom: 15px;
  border-bottom: 3px solid #e5e7eb;
  position: relative;
}

.blog-sidebar-heading::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

/* Ad Widget */
.blog-sidebar-ad-wrapper {
  margin-bottom: var(--gap-20);
  text-align: center;
}

.blog-sidebar-ad-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.blog-ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  background: var(--primary-color);
  color: var(--white);
  transition: all 0.3s ease;
  font-size: var(--text-sm);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 200, 154, 0.3);
}

.blog-ad-btn:hover {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 154, 0.4);
}

/* Featured Post Widget */
.blog-sidebar-featured-thumb {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.blog-sidebar-featured-thumb img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.blog-sidebar-featured-thumb:hover img {
  transform: scale(1.05);
}

/* Post Meta */
.blog-post-info {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0;
}

.blog-post-info li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--text-light);
}

.blog-post-info svg {
  flex-shrink: 0;
}

/* Post Title */
.blog-post-heading {
  margin-bottom: 12px;
}

.blog-post-heading a {
  font-family: var(--title-font);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  line-height: 1.4;
}

.blog-post-heading a:hover {
  color: var(--primary-color);
}

/* Author */
.blog-post-author-text {
  font-size: var(--text-sm);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 12px;
}

.blog-post-author-text em {
  font-style: normal;
  color: var(--text-secondary);
}

/* Read More Button */
.blog-post-readmore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-post-readmore-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.blog-post-readmore-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.blog-post-readmore-link:hover::after {
  transform: translateX(4px);
}

/* Post List */
.blog-post-items {
  display: flex;
  flex-direction: column;
  gap: var(--gap-20);
}

.blog-post-single-item {
  display: flex;
  gap: 16px;
  padding-bottom: var(--gap-20);
  border-bottom: 1px solid var(--secondary-extra-light);
}

.blog-post-single-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.blog-post-item-thumb {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
}

.blog-post-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-item-thumb:hover img {
  transform: scale(1.1);
}

.blog-post-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-post-single-item .blog-post-heading {
  margin-bottom: 8px;
}

.blog-post-single-item .blog-post-heading a {
  font-size: var(--text-md);
  line-height: 1.4;
}

.blog-post-single-item .blog-post-info {
  margin-bottom: 0;
  gap: 12px;
}

/* Category Widget */
.blog-category-items {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.blog-category-items li {
  flex: 0 0 100%;
}

.blog-category-single {
  margin: 0;
  padding: 10px 16px;
  background: var(--primary-light);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: var(--text-sm);
  text-align: center;
}

.blog-category-single:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.blog-category-single a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
}

.blog-category-single:hover a {
  color: var(--white);
}

/*  RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .blog-featured-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-article {
    min-height: 400px;
  }

  .blog-latest-card {
    grid-template-columns: 130px 1fr;
  }

  .blog-latest-thumb-wrapper {
    height: 100px;
  }
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .section-title::after {
    width: 70px;
    height: 2px;
    bottom: -2px;
  }

  .blog-latest-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
  }

  .blog-latest-header .blog-latest-heading {
    font-size: 26px;
  }

  .blog-latest-header::after {
    width: 70px;
    height: 2px;
    bottom: -2px;
  }

  .blog-featured-wrapper {
    margin-bottom: 50px;
  }

  .blog-latest-section {
    margin-top: 50px;
  }

  .blog-latest-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .blog-latest-thumb-wrapper {
    height: 200px;
    border-radius: 16px 16px 0 0;
  }

  .blog-latest-text {
    padding: var(--gap-20);
  }

  .blog-latest-heading {
    font-size: 18px;
  }

  .blog-latest-card:hover {
    transform: translateX(0) translateY(-4px);
  }

  .blog-featured-article {
    min-height: 350px;
  }

  .blog-featured-text {
    padding: 24px;
  }

  .blog-featured-heading {
    font-size: 22px;
  }

  .blog-featured-small-card {
    flex-direction: column;
  }

  .blog-featured-card-thumb {
    width: 100%;
    height: 200px;
  }

  .blog-post-single-item {
    gap: 12px;
  }

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

  .blog-category-items {
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 24px;
  }

  .section-title::after {
    width: 60px;
  }

  .blog-latest-header .blog-latest-heading {
    font-size: 24px;
  }

  .blog-latest-header::after {
    width: 60px;
  }

  .blog-featured-heading {
    font-size: 20px;
  }

  .blog-featured-card-heading {
    font-size: 14px;
  }

  .blog-featured-info {
    font-size: 10px;
    padding: 4px 10px;
  }

  .blog-featured-card-info {
    font-size: 9px;
    padding: 3px 8px;
  }
}