/* =====================================================
   BLOG & BLOG DETAILS PAGE STYLES
   For blogs.html and blog-details.html pages
===================================================== */

/* =====================================================
   FEATURED SECTION
===================================================== */
.blog-featured-wrapper {
  margin-bottom: 70px;
}

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

/* Featured Article */
.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: 70px;
}

.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);
}

/* =====================================================
   BLOG CARD STYLE 7 - UNDERLINE ACCENT
===================================================== */
.blog-card-style-7 {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  border-bottom: 4px solid;
  border-image: linear-gradient(to right, var(--secondary-color), var(--primary-color)) 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-style-7:hover {
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.blog-card-style-7 .card-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.blog-card-style-7:hover .card-image {
  transform: scale(1.1);
}

.blog-card-style-7 .card-category-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
}

.blog-card-style-7 .card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-style-7 .card-title {
  font-family: var(--title-font);
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 14px;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.blog-card-style-7 .card-title .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;
}

.blog-card-style-7:hover .card-title {
  color: var(--primary-color);
}

.blog-card-style-7:hover .card-title .animated-underline {
  background-size: 100% 2px;
}

.blog-card-style-7 .card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-style-7 .card-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: auto;
}

.blog-card-style-7 .card-read-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
}

/* =====================================================
   PAGE BANNER SECTION
===================================================== */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, #00c89a 0%, #0f172a 100%);
  padding: 45px 0;
  overflow: hidden;
}

.banner-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.banner-shapes .shape {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.banner-shapes .shape-1 {
  top: -50px;
  left: 50px;
  animation: float 6s ease-in-out infinite;
}

.banner-shapes .shape-2 {
  bottom: -50px;
  right: 100px;
  width: 150px;
  height: 150px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(-20px);
  }
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.breadcrumb-nav {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.breadcrumb {
  margin: 0;
  justify-content: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: fit-content;
  border-radius: 33px;
  padding: 5px 10px;
}

.breadcrumb-item {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.breadcrumb-item a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
}

.breadcrumb-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--white);
}

.breadcrumb-item a:hover::after {
  width: 100%;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "›";
  color: rgba(255, 255, 255, 0.7);
  padding: 0 -1px;
}

.banner-title {
  font-family: var(--title-font);
  font-size: 45px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease;
  letter-spacing: -1px;
}

/* =====================================================
   PAGINATION STYLES
===================================================== */
.pagination-wrapper {
  margin-top: 50px;
  margin-bottom: 30px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-item {
  margin: 0;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--white);
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-link:hover {
  color: var(--white);
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 200, 154, 0.3);
}

.page-item.active .page-link {
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 200, 154, 0.4);
}

.page-item.disabled .page-link {
  color: var(--text-light);
  background: transparent;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}

.page-item.disabled .page-link:hover {
  transform: none;
  box-shadow: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* =====================================================
   BLOG DETAILS PAGE STYLES
===================================================== */

/* Blog Details Main Content */
.blog-details-content {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Featured Image */
.blog-details-image {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  cursor: pointer;
}

.blog-details-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-details-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.blog-details-image:hover::after {
  opacity: 1;
}

.blog-details-category {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 30px;
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
}

/* Post Header */
.blog-details-header {
  padding: 40px 30px 30px;
  border-bottom: 1px solid var(--secondary-extra-light);
}

.blog-details-title {
  font-family: var(--title-font);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.blog-details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

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

/* Social Share */
.blog-social-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--primary-light);
  border-radius: 8px;
}

.share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-right: 8px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook:hover {
  background: #1877f2;
  color: var(--white);
}

.share-btn.twitter:hover {
  background: #1da1f2;
  color: var(--white);
}

.share-btn.linkedin:hover {
  background: #0a66c2;
  color: var(--white);
}

.share-btn.pinterest:hover {
  background: #e60023;
  color: var(--white);
}

.share-btn.whatsapp:hover {
  background: #25d366;
  color: var(--white);
}

/* Table of Contents */
.blog-table-of-contents {
     margin: 30px 30px 0px 30px;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
}

.toc-title {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.toc-list {
  padding-left: 20px;
  margin: 0;
  list-style: none;
  counter-reset: toc-counter;
}

.toc-list li {
  counter-increment: toc-counter;
  margin-bottom: 12px;
  position: relative;
  padding-left: 10px;
}

.toc-list li::before {
  content: counter(toc-counter) ".";
  position: absolute;
  left: -20px;
  font-weight: 700;
  color: var(--primary-color);
}

.toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

.toc-list a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.toc-list a:hover {
  color: var(--primary-color);
}

.toc-list a:hover::after {
  width: 100%;
}

/* Blog Content Body */
.blog-details-body {
  padding: 30px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.blog-details-body h2 {
  font-family: var(--title-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 30px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--secondary-extra-light);
  position: relative;
}

.blog-details-body h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.blog-details-body h2:first-child {
  margin-top: 0;
}

.blog-details-body h3 {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 30px;
  margin-bottom: 16px;
}

.blog-details-body h4 {
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.blog-details-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.blog-details-body p:last-child {
  margin-bottom: 0;
}

.blog-details-body a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.blog-details-body a:hover {
  color: var(--primary-dark);
}

/* Content Lists */
.content-list {
  margin: 24px 0;
  padding-left: 30px;
}

.content-list li {
  margin-bottom: 12px;
  line-height: 1.8;
  position: relative;
}

.content-list li::marker {
  color: var(--primary-color);
  font-weight: 700;
}

/* Blockquote */
.blog-quote {
  margin: 30px 0;
  padding: 24px 30px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e6f7f3 100%);
  border-left: 4px solid var(--primary-color);
  font-size: 18px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  position: relative;
}

.blog-quote::before {
  content: "\201C";
  font-size: 60px;
  font-family: Georgia, serif;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 1;
}

/* Callout Boxes */
.blog-callout {
  margin: 30px 0;
  padding: 24px;
  background: var(--primary-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.blog-callout i {
  font-size: 24px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 4px;
}

.blog-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.blog-callout strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Info Box */
.blog-info-box {
  margin: 30px 0;
  padding: 24px;
  background: linear-gradient(135deg, #e8f4f8 0%, #d6eaf8 100%);
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.blog-info-box h4 {
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 700;
  color: #2980b9;
  margin-top: 0;
  margin-bottom: 16px;
}

.blog-info-box p {
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.blog-info-box ul {
  margin: 16px 0 0 0;
  padding-left: 24px;
}

.blog-info-box ul li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

/* Warning Box */
.blog-warning-box {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, #fff3cd 0%, #ffe5a0 100%);
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

.blog-warning-box i {
  font-size: 24px;
  color: #ff9800;
  margin-bottom: 12px;
}

.blog-warning-box h4 {
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 700;
  color: #f57c00;
  margin-top: 0;
  margin-bottom: 16px;
}

.blog-warning-box p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* Numbered Sections */
.blog-numbered-section {
  margin: 32px 0;
}

.numbered-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--secondary-extra-light);
  transition: all 0.3s ease;
}

.numbered-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.numbered-item .number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
}

.numbered-content h4 {
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 8px;
}

.numbered-content p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Conclusion Section */
.blog-conclusion {
  margin-top: 40px;
  padding: 30px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e6f7f3 100%);
  border-radius: 12px;
  border: 2px solid var(--primary-color);
}

.blog-conclusion h2 {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.blog-conclusion h2::after {
  display: none;
}

.blog-conclusion p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.blog-conclusion p:last-child {
  margin-bottom: 0;
}

/* Tags */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 25px 30px;
  background: transparent;
  border-radius: 0;
  border: none;
}

.tag-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-label::before {
  content: "#";
  color: var(--primary-color);
  font-size: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #1e3a4a;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-icon {
  font-size: 12px;
  color: var(--primary-color);
}

.tag:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 200, 154, 0.15);
}

.tag:hover .tag-icon {
  color: var(--primary-color);
}

/* Author Bio */
.blog-author-bio {
  padding: 0;
      margin: 0px 30px 30px 30px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.author-bio-header {
  padding: 40px 40px 30px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.author-bio-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 200, 154, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.author-bio-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.author-header-content {
  display: flex;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.author-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-author-bio:hover .author-avatar {
  transform: scale(1.05) rotate(2deg);
  border-color: var(--primary-color);
}

.author-verified-badge {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 4px 12px rgba(0, 200, 154, 0.4);
}

.author-verified-badge i {
  color: var(--white);
  font-size: 14px;
}

.author-header-info {
  flex: 1;
  color: var(--white);
}

.author-name-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.author-name {
  font-family: var(--title-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(0, 200, 154, 0.2);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
}

.author-title {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  font-weight: 500;
}

.author-stats {
  display: flex;
  gap: 30px;
}

.author-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-stat-number {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
}

.author-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.author-bio-body {
  padding: 30px 40px;
}

.author-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.author-bio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--secondary-extra-light);
}

.author-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary-color), #00a67f);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 200, 154, 0.3);
}

.author-follow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 154, 0.4);
}

.author-follow-btn i {
  font-size: 12px;
}

.author-social {
  display: flex;
  gap: 12px;
}

.author-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.author-social-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px) rotate(5deg);
  box-shadow: 0 6px 16px rgba(0, 200, 154, 0.3);
}

/* Comments Section */
.blog-comments-section {
  padding: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--secondary-extra-light);
}

.comments-title {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.comment-form h4 {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.login-message {
  font-size: 15px;
  color: var(--text-secondary);
}

.login-message a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-message a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

  .blog-card-style-7 .card-image-wrapper {
    height: 180px;
  }

  .blog-card-style-7 .card-title {
    font-size: 18px;
  }

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

  .banner-title {
    font-size: 36px;
    letter-spacing: -0.5px;
  }

  .breadcrumb {
    padding: 10px 20px;
    font-size: 13px;
  }

  .breadcrumb-item+.breadcrumb-item::before {
    padding: 0 10px;
    font-size: 14px;
  }

  .banner-shapes .shape {
    width: 150px;
    height: 150px;
  }

  .banner-shapes .shape-2 {
    width: 100px;
    height: 100px;
  }

  /* Blog Details Responsive */
  .blog-details-image {
    height: 300px;
  }

  .blog-details-header {
    padding: 30px 20px 20px;
  }

  .blog-details-title {
    font-size: 28px;
  }

  .blog-details-meta {
    gap: 16px;
  }

  .meta-item {
    font-size: 13px;
  }

  .blog-social-share {
    flex-wrap: wrap;
    gap: 8px;
  }

  .share-btn {
    width: 36px;
    height: 36px;
  }

  .blog-table-of-contents {
       margin: 20px 20px 0px 20px;
    padding: 20px;
  }

  .toc-title {
    font-size: 18px;
  }

  .toc-list a {
    font-size: 14px;
  }

  .blog-details-body {
    padding: 30px;
    font-size: 15px;
  }

  .blog-details-body h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 16px;
  }

  .blog-details-body h3 {
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  .blog-details-body h4 {
    font-size: 17px;
  }

  .blog-quote {
    padding: 20px;
    font-size: 16px;
  }

  .blog-callout {
    padding: 20px;
  }

  .blog-info-box,
  .blog-warning-box {
    padding: 20px;
  }

  .numbered-item {
    flex-direction: column;
    gap: 12px;
  }

  .numbered-item .number {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .blog-conclusion {
    padding: 24px 20px;
  }

  .blog-author-bio {
    margin: 40px 20px;
  }

  .author-bio-header {
    padding: 30px 20px 24px;
  }

  .author-header-content {
    flex-direction: column;
    text-align: center;
  }

  .author-avatar {
    width: 90px;
    height: 90px;
  }

  .author-name-wrapper {
    justify-content: center;
    flex-wrap: wrap;
  }

  .author-name {
    font-size: 24px;
  }

  .author-title {
    text-align: center;
  }

  .author-stats {
    justify-content: center;
    gap: 20px;
  }

  .author-bio-body {
    padding: 24px 20px;
  }

  .author-bio-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .author-follow-btn {
    width: 100%;
    justify-content: center;
  }

  .author-social {
    justify-content: center;
  }

  .blog-comments-section {
    padding: 20px;
  }

  .comments-title {
    font-size: 20px;
  }
}

@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;
  }

  .banner-title {
    font-size: 28px;
    letter-spacing: -0.3px;
  }

  .breadcrumb {
    font-size: 12px;
    padding: 8px 16px;
  }

  .breadcrumb-item+.breadcrumb-item::before {
    padding: 0 8px;
    font-size: 13px;
  }

  .pagination {
    gap: 6px;
  }

  .page-link {
    min-width: 36px;
    height: 36px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .pagination-wrapper {
    margin-top: 40px;
  }

  /* Blog Details Responsive */
  .blog-details-image {
    height: 250px;
  }

  .blog-details-title {
    font-size: 24px;
  }

  .blog-details-body h2 {
    font-size: 22px;
  }

  .blog-details-body h3 {
    font-size: 18px;
  }

  .blog-quote {
    font-size: 15px;
    padding: 16px;
  }

  .toc-title {
    font-size: 16px;
  }

  .share-label {
    width: 100%;
    margin-bottom: 8px;
  }
}