.content-section-layout {
  padding-top: 0 !important;
  background: #f5f7fb;
}

.blog-modern {
  min-height: 100vh;
  padding: 0 0 5.5rem;
  background: #f5f7fb;
  color: #1f2937;
}

.blog-modern .container {
  max-width: 1140px;
}

.blog-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 315px;
  padding: 5.5rem 0 4.8rem;
  background: linear-gradient(135deg, #3475ee 0%, #5a94f3 100%);
}

.blog-hero .hero-title {
  color: #fff;
  font-size: 37px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.blog-hero .hero-copy {
  max-width: 620px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.blog-content {
  padding-top: 2.6rem;
}

.blog-section-heading {
  margin-bottom: 1.8rem;
}

.blog-section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.blog-section-heading p {
  margin: 0.55rem 0 0;
  color: #7b8aa0;
  font-size: 15px;
  font-weight: 500;
}

#posts-content {
  row-gap: 2.75rem;
}

.blog-post-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dde5ef;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-post-card:hover {
  transform: translateY(-3px);
  border-color: #cbd8ea;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.blog-post-card .media-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #e8eef7;
}

.blog-post-card .card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem 1.35rem;
}

.blog-post-topline,
.blog-card-meta,
.author-wrap,
.blog-category-link,
.blog-sidebar-title,
.follow-us-title {
  display: flex;
  align-items: center;
}

.blog-post-topline {
  gap: 0.75rem;
  color: #8190a4;
  font-size: 12px;
  font-weight: 700;
}

.blog-category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.25rem 0.7rem;
  color: #fb4e9b;
  background: #ffe5f1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.blog-category-seo {
  color: #21a563;
  background: #dff8eb;
}

.blog-category-youtube {
  color: #ef4444;
  background: #ffe4e4;
}

.blog-category-tiktok {
  color: #fff;
  background: #050505;
}

.blog-category-marketing {
  color: #2563eb;
  background: #e2edff;
}

.blog-category-facebook {
  color: #2563eb;
  background: #e7efff;
}

.blog-post-card .card-title {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
}

.blog-post-card .card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-post-card .card-title a:hover,
.blog-read-more:hover,
.blog-category-link:hover {
  color: #2563eb;
}

.blog-post-card .card-text {
  margin: 0;
  color: #76869d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.blog-card-meta {
  justify-content: space-between;
  gap: 1rem;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.author-wrap {
  min-width: 0;
  gap: 0.6rem;
}

.author-wrap a {
  text-decoration: none;
}

.blog-post-card .avatar-img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.blog-read-more {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.facebook-btn {
  background: #2563eb;
}

.twitter-btn {
  background: #0ea5e9;
}

.whatsapp-btn {
  background: #16a34a;
}

.linkedin-btn {
  background: #1d4ed8;
}

.instagram-btn {
  background: #ec4899;
}

.youtube-btn {
  background: #ef4444;
}

.tiktok-btn {
  background: #050505;
}

.pinterest-btn {
  background: #dc2626;
}

.sidebar-stack {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 1.7rem;
}

.blog-sidebar-card,
.follow-us-card {
  padding: 1.45rem 1.35rem;
  background: #fff;
  border: 1px solid #dde5ef;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.blog-sidebar-title,
.follow-us-title {
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  color: #1f2937;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.blog-sidebar-title .bi,
.follow-us-title .bi {
  color: #2563eb;
}

.blog-modern .bi-folder-fill::before {
  content: "\25A0";
}

.blog-modern .bi-person-fill::before {
  content: "\25CF";
}

.blog-modern .bi-share-fill::before {
  content: "\2197";
}

.blog-modern .bi-instagram::before {
  content: "@";
  font-weight: 800;
}

.blog-modern .bi-search::before {
  content: "\2315";
  font-weight: 800;
}

.blog-modern .bi-tiktok::before {
  content: "T";
  font-weight: 800;
}

.blog-modern .bi-youtube::before {
  content: "\25B6";
}

.blog-modern .bi-linkedin::before {
  content: "in";
  font-weight: 800;
}

.blog-modern .bi-envelope-fill::before {
  content: "\2709";
}

.blog-modern .bi-telephone-fill::before {
  content: "\260E";
}

.blog-modern .bi-geo-alt-fill::before {
  content: "\25CF";
}

.blog-modern .bi-check-lg::before {
  content: "\2713";
}

.blog-modern .bi-trophy-fill::before {
  content: "\2605";
}

.blog-modern .bi-people-fill::before {
  content: "\25CF\25CF";
  letter-spacing: -0.15em;
}

.blog-modern .bi-mic-fill::before {
  content: "\25CF";
}

.blog-modern .bi-megaphone-fill::before {
  content: "M";
  font-weight: 800;
}

.blog-modern .bi-tag-fill::before {
  content: "#";
  font-weight: 800;
}

.blog-modern .bi-twitter::before {
  content: "t";
  font-weight: 800;
}

.blog-category-link {
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.blog-category-link span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-category-icon {
  font-size: 15px;
}

.blog-category-icon-instagram {
  color: #ec4899;
}

.blog-category-icon-seo {
  color: #16a34a;
}

.blog-category-icon-tiktok {
  color: #050505;
}

.blog-category-icon-youtube {
  color: #ef4444;
}

.blog-category-icon-marketing,
.blog-category-icon-facebook {
  color: #2563eb;
}

.blog-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 0.45rem;
  color: #8a94a6;
  background: #f1f4f8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.blog-author-card {
  text-align: center;
}

.blog-author-card .blog-sidebar-title {
  justify-content: flex-start;
}

.blog-author-avatar {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 0.9rem;
  object-fit: cover;
  border-radius: 50%;
}

.blog-author-card strong {
  display: block;
  color: #1f2937;
  font-size: 15px;
  font-weight: 800;
}

.blog-author-card p {
  margin: 0.55rem 0 0;
  color: #7b8aa0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.follow-us-card {
  margin-top: 0 !important;
}

.follow-us-card .row {
  --bs-gutter-x: 0.55rem;
}

.btn-social {
  min-height: 39px;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
}

.btn-social:hover {
  filter: brightness(0.96);
}

.blog-modern .btnLoadMore {
  min-height: 42px;
  padding-inline: 1rem;
  border-radius: 8px;
  font-weight: 800;
}

.blog-modern .empty-state {
  padding: 2rem;
  background: #fff;
  border: 1px solid #dde5ef;
  border-radius: 8px;
  text-align: center;
}

.author-page {
  background: #f5f7fb;
}

.author-topbar {
  padding: 1rem 0;
  background: #fff;
  border-bottom: 1px solid #e1e8f2;
}

.author-hero {
  padding: 4rem 0 3.5rem;
  background: #fff;
}

.author-avatar-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 1.15rem;
}

.author-avatar-large {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}

.author-verified {
  position: absolute;
  right: -2px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: #fff;
  background: #22c55e;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 12px;
}

.author-hero h1 {
  margin: 0;
  color: #111827;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.12;
}

.author-hero p {
  max-width: 620px;
  margin: 0.85rem auto 0;
  color: #7788a2;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.author-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 1.45rem;
}

.author-stats span {
  min-width: 104px;
  padding: 0 1.15rem;
  border-right: 1px solid #e3e9f2;
}

.author-stats span:last-child {
  border-right: 0;
}

.author-stats strong,
.author-stats small {
  display: block;
}

.author-stats strong {
  color: #2563eb;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.author-stats small {
  margin-top: 0.35rem;
  color: #8090a6;
  font-size: 12px;
  font-weight: 700;
}

.author-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.author-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding-inline: 1.2rem;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.btn-author-follow {
  color: #fff;
  background: #db2777;
}

.author-content {
  padding-top: 2.7rem;
}

.author-about-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid #dde5ef;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.author-about-card h2 {
  margin: 0 0 1.45rem;
  color: #111827;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.author-about-card p {
  margin: 0 0 1.1rem;
  color: #72829a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.author-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.8rem;
}

.author-highlight {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 96px;
  padding: 1.15rem;
  border-radius: 8px;
}

.author-highlight i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
}

.author-highlight strong,
.author-highlight small {
  display: block;
}

.author-highlight strong {
  color: #1f2937;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}

.author-highlight small {
  margin-top: 0.2rem;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.author-highlight-blue {
  background: #ecf4ff;
}

.author-highlight-blue i {
  background: #2563eb;
}

.author-highlight-blue small {
  color: #2563eb;
}

.author-highlight-green {
  background: #eaf8ef;
}

.author-highlight-green i {
  background: #16a34a;
}

.author-highlight-green small {
  color: #16803d;
}

.author-highlight-purple {
  background: #f6edff;
}

.author-highlight-purple i {
  background: #9333ea;
}

.author-highlight-purple small {
  color: #9333ea;
}

.author-post-heading {
  margin-top: 2rem;
}

.author-contact-card a,
.author-contact-card span,
.author-social-row {
  display: flex;
  align-items: center;
  min-height: 34px;
  gap: 0.65rem;
  color: #69788f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.author-contact-card i {
  width: 18px;
  color: #2563eb;
  text-align: center;
}

.author-social-row {
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 48px;
}

.author-social-row i {
  width: 18px;
  flex: 0 0 18px;
}

.author-social-row strong {
  flex: 1 1 auto;
  color: #374151;
  font-size: 13px;
  line-height: 1.2;
}

.author-social-row small {
  flex: 0 0 auto;
  padding: 0.25rem 0.5rem;
  color: #8a94a6;
  background: #f1f4f8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.author-social-instagram i {
  color: #ec4899;
}

.author-social-linkedin i {
  color: #2563eb;
}

.author-social-youtube i {
  color: #ef4444;
}

@media (max-width: 991.98px) {
  .sidebar-stack {
    position: static;
    margin-top: 1rem;
  }

  .author-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .blog-hero {
    min-height: 250px;
    padding: 4.5rem 0 3.5rem;
  }

  .blog-hero .hero-title {
    font-size: 34px;
  }

  .blog-hero .hero-copy {
    font-size: 17px;
  }

  .blog-content {
    padding-top: 2rem;
  }

  .blog-post-card .media-wrap {
    aspect-ratio: 16 / 9;
  }

  .author-hero {
    padding: 3.2rem 0 2.7rem;
  }

  .author-hero h1 {
    font-size: 34px;
  }

  .author-stats {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .author-stats span {
    min-width: 0;
    flex: 1 1 0;
    padding: 0 0.6rem;
  }

  .author-actions {
    flex-wrap: wrap;
  }

  .author-about-card {
    padding: 1.35rem;
  }
}
