/* Blog index hero */
.blog-hero {
  padding-top: 180px;
  padding-bottom: 3rem;
  background: #f8f9fa;
}

/* Blog listing page */
.blog-listing {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: #ffffff;
}

.blog-share-section {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
}

.blog-share-header {
  margin-bottom: 1rem;
}

.blog-share-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f436c;
}

.blog-share-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: #6b7280;
}

.blog-share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-share-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.blog-share-link i {
  font-size: 1rem;
}

.blog-share-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.blog-share-facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.blog-share-linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}

.blog-share-x:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.blog-share-whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.blog-copy-link:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

@media (max-width: 576px) {
  .blog-share-link {
    flex: 1 1 100%;
    justify-content: center;
  }
}
/* Blog card */
.blog-card {
  overflow: hidden;
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08) !important;
}

.blog-card-image-link {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.blog-card-image {
  width: 100%;
  height: 260px;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  color: #6c757d;
  font-weight: 700;
}

/* Blog card text */
.blog-section-badge {
  background: #e9ecef;
  color: #111827;
  padding: 0.4rem 0.65rem;
  border-radius: 0.4rem;
}

.blog-card-title a {
  color: #07152a;
}
.blog-card-title a:hover {
  color: #8cc63f;
}

/* Blog detail hero */
.blog-detail-hero {
  padding-top: 210px;
  padding-bottom: 3rem;
  background: #f8f9fa;
}

/* Blog detail content */
.blog-detail-content {
  background: #ffffff;
}

.blog-detail-image {
  width: 100%;
  max-height: 620px;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Blog content from TinyMCE */
.blog-content {
  font-size: 1.05rem;
  line-height: 1.8;
}
.blog-content p {
  margin-bottom: 1.25rem;
}
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.blog-content ul,
.blog-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}
.blog-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}
.blog-content table th,
.blog-content table td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
}
.blog-content blockquote {
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
  color: #6c757d;
  margin: 1.5rem 0;
}

.top-nav-spacing {
  padding-top: 5rem !important;
}

/* Blog detail page */
.blog-detail-page {
  background: #ffffff;
  padding-bottom: 5rem;
}

.blog-detail-header {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.blog-detail-title {
  max-width: 980px;
  margin: 0 auto 1.25rem;
  color: #07152a;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.blog-detail-subtitle {
  max-width: 760px;
  color: #6c757d;
  font-size: 1.25rem;
  line-height: 1.6;
}

.blog-detail-meta {
  flex-wrap: wrap;
  color: #6c757d;
  font-size: 0.95rem;
}

.blog-detail-featured-image-wrapper {
  margin-bottom: 4rem;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(7, 21, 42, 0.12);
}

.blog-detail-featured-image {
  display: block;
  width: 100%;
  max-height: 620px;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-detail-article {
  background: #ffffff;
}

/* TinyMCE article content */
.blog-content {
  color: #212529;
  font-size: 1.08rem;
  line-height: 1.85;
}
.blog-content p {
  margin-bottom: 1.35rem;
}
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #07152a;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.25;
}
.blog-content h2 {
  font-size: 2rem;
}
.blog-content h3 {
  font-size: 1.55rem;
}
.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.blog-content li {
  margin-bottom: 0.5rem;
}
.blog-content a {
  color: #8cc63f;
  font-weight: 600;
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.75rem 0;
}
.blog-content table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: collapse;
}
.blog-content table th,
.blog-content table td {
  border: 1px solid #dee2e6;
  padding: 0.85rem;
}
.blog-content blockquote {
  border-left: 5px solid #8cc63f;
  padding: 1rem 1.25rem;
  background: #f8faf5;
  color: #374151;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 7rem;
}

.blog-sidebar-card {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(7, 21, 42, 0.05);
}

.blog-sidebar-title {
  color: #07152a;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.blog-topic-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-topic-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #374151;
  text-decoration: none;
  background: #f8f9fa;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  font-weight: 600;
}
.blog-topic-link:hover, .blog-topic-link.active {
  color: #07152a;
  background: #eef7df;
}

.most-viewed-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.most-viewed-item {
  display: flex;
  gap: 0.85rem;
  text-decoration: none;
}
.most-viewed-item h3 {
  color: #07152a;
  font-size: 0.98rem;
  line-height: 1.35;
  margin: 0 0 0.25rem;
  font-weight: 700;
}
.most-viewed-item p {
  color: #6c757d;
  margin: 0;
  font-size: 0.85rem;
}
.most-viewed-item:hover h3 {
  color: #8cc63f;
}

.most-viewed-number {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 50%;
  background: #eef7df;
  color: #07152a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.blog-cta-card {
  background: #07152a;
  color: #ffffff;
}
.blog-cta-card .blog-sidebar-title {
  color: #ffffff;
}
.blog-cta-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* Similar posts */
.similar-post-card {
  overflow: hidden;
  border-radius: 1rem;
}
.similar-post-card h3 a {
  color: #07152a;
}
.similar-post-card h3 a:hover {
  color: #8cc63f;
}

.similar-post-image-link {
  display: block;
  text-decoration: none;
}

.similar-post-image {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
}

.similar-post-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  color: #6c757d;
  font-weight: 800;
}

.blog-section-badge {
  background: #eef7df;
  color: #07152a;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .blog-sidebar {
    position: static;
    margin-top: 2rem;
  }
  .blog-detail-header {
    padding-top: 3rem;
  }
  .blog-detail-featured-image-wrapper {
    margin-bottom: 2.5rem;
  }
}
.blog-detail-featured-image-wrapper {
  margin-bottom: 2.5rem;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0.75rem 1.75rem rgba(7, 21, 42, 0.1);
}

.blog-detail-featured-image {
  display: block;
  width: 100%;
  max-height: 380px;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.blog-share-label {
  color: #6c757d;
  font-weight: 700;
}

.blog-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dee2e6;
  background: #ffffff;
  color: #07152a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.blog-share-link:hover {
  background: #07152a;
  border-color: #07152a;
  color: #ffffff;
}

.blog-copy-link {
  cursor: pointer;
}

.blog-sidebar {
  position: sticky;
  top: 8rem;
}

.blog-sidebar-card {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(7, 21, 42, 0.05);
}

.blog-sidebar-title {
  color: #07152a;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.sidebar-post-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-post-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  text-decoration: none;
}
.sidebar-post-item img {
  width: 72px;
  height: 58px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
  flex: 0 0 72px;
}
.sidebar-post-item h3 {
  color: #07152a;
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0 0 0.25rem;
  font-weight: 700;
}
.sidebar-post-item p {
  color: #6c757d;
  margin: 0;
  font-size: 0.85rem;
}
.sidebar-post-item:hover h3 {
  color: #8cc63f;
}

.sidebar-post-placeholder {
  width: 72px;
  height: 58px;
  flex: 0 0 72px;
  border-radius: 0.5rem;
  background: #eef2f7;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.sidebar-post-number {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 50%;
  background: #eef7df;
  color: #07152a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.blog-cta-card {
  background: #07152a;
  color: #ffffff;
}
.blog-cta-card .blog-sidebar-title {
  color: #ffffff;
}
.blog-cta-card p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 991.98px) {
  .blog-sidebar {
    position: static;
    margin-top: 2rem;
  }
}
.top-nav-spacing {
  padding-top: 7rem !important;
}

.blog-landing-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
  background: radial-gradient(circle at top left, rgba(140, 198, 63, 0.16), transparent 34rem), linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #eef0f3;
}

.blog-landing-content {
  max-width: 760px;
}

.blog-landing-badge {
  display: inline-flex;
  align-items: center;
  background: #eef7df;
  color: #07152a;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.blog-landing-title {
  color: #07152a;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.045em;
  margin-bottom: 1.25rem;
}

.blog-landing-text {
  max-width: 660px;
  color: #5f6875;
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.blog-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.blog-feature-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(7, 21, 42, 0.1);
}

.blog-feature-image-link {
  display: block;
  text-decoration: none;
}

.blog-feature-image {
  display: block;
  width: 100%;
  height: 260px;
  -o-object-fit: cover;
     object-fit: cover;
}

.blog-feature-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  color: #6c757d;
  font-weight: 800;
}

.blog-feature-body {
  padding: 1.5rem;
}

.blog-feature-label {
  display: inline-block;
  color: #8cc63f;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.blog-feature-title a {
  color: #07152a;
  text-decoration: none;
}
.blog-feature-title a:hover {
  color: #8cc63f;
}

.blog-feature-date {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.blog-feature-empty .blog-feature-placeholder {
  height: 260px;
}

@media (max-width: 991.98px) {
  .blog-landing-hero {
    padding-bottom: 3rem;
  }
  .blog-landing-title {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }
  .blog-landing-text {
    font-size: 1.08rem;
  }
  .blog-feature-image {
    height: 220px;
  }
}
.blog-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.blog-pagination-left {
  text-align: left;
}

.blog-pagination-right {
  text-align: right;
}

.blog-share-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.blog-share-link i {
  font-size: 1rem;
  transition: color 0.2s ease;
}

.blog-share-facebook i {
  color: #1877f2;
}

.blog-share-linkedin i {
  color: #0a66c2;
}

.blog-share-x i {
  color: #000000;
}

.blog-share-whatsapp i {
  color: #25d366;
}

.blog-share-email i {
  color: #ea4335;
}

.blog-copy-link i {
  color: #374151;
}

.blog-share-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.blog-share-facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.blog-share-linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}

.blog-share-x:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.blog-share-whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.blog-share-email:hover {
  background: #ea4335;
  color: #ffffff;
  border-color: #ea4335;
}

.blog-copy-link:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.blog-share-facebook:hover i,
.blog-share-linkedin:hover i,
.blog-share-x:hover i,
.blog-share-whatsapp:hover i,
.blog-share-email:hover i,
.blog-copy-link:hover i {
  color: #ffffff;
}
