/* ===== INNER BANNER ===== */
.inner-banner {
  display: block;
  padding: 60px 0;
  min-height: 290px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/bg-blog.png) no-repeat center top/cover;
  position: relative;
}
.inner-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.inner-banner .container {
  position: relative;
  z-index: 1;
}
.inner-banner h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}
.inner-banner p {
  color: #fff;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}
hr {
  width: 40%;
  height: 3px;
  border: none;
  background-color: #fff;
  margin: 20px auto;
  border-radius: 2px;
}

/* ===== BLOG SECTION ===== */
.blog-section {
  padding: 40px 0 60px;
  background: #fff;
}
.blog-section .container {
  max-width: 1200px;
}
.blog-section .row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.blog-section .row > [class*="col-"] {
  padding: 0 15px;
  float: none !important;
}
.blog-section .row::after {
  content: "";
  display: table;
  clear: both;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  background: rgba(255, 204, 0, 0.2);
  color: #f7ca17;
  border: 1px solid #f7ca17;
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}
.section-header p {
  color: #666;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px #848383 !important;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}
.blog-card.featured {
  position: relative;
  border-radius: 16px;
  color: #fff;
  min-height: 400px;
  max-height: 450px;
  justify-content: flex-end;
  align-items: flex-end;
  background: #000;
}
.blog-main-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.blog-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  z-index: 1;
  transition: background 0.3s ease;
}
.blog-card.featured:hover .blog-main-image img {
  transform: scale(1.05);
}
.blog-card.featured:hover .blog-main-image::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    transparent 100%
  );
}
.blog-main-content {
  position: relative;
  z-index: 2;
  padding: 35px;
  width: 100%;
  color: #fff;
}
.blog-main-category-badge {
  background: rgba(255, 204, 0, 0.3);
  color: #f7ca17;
  border: 1px solid #f7ca17;
  font-weight: 600;
  font-size: 12px;
  padding: 3px 50px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: inline-block;
}
.blog-main-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 12px;
  line-height: 1.3;
}
.blog-main-excerpt {
  color: #eee !important;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.blog-main-excerpt .read-more {
  color: #fdd835 !important;
  font-weight: 600;
  display: inline;
  margin-left: 3px;
}
.blog-main-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: #ddd !important;
  margin-top: auto;
  flex-wrap: wrap;
}
.blog-main-meta .blog-main-author span,
.blog-main-meta .blog-main-date span {
  color: #ffffff !important;
}
.blog-main-meta .blog-author span,
.blog-main-meta .blog-date span {
  color: #212121 !important;
}
.blog-main-meta .blog-main-author span {
  font-weight: bold;
}
.blog-main-meta .blog-author span {
  font-weight: bold;
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #ddd;
}
.blog-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-card:hover .blog-image img {
  transform: scale(1.05);
}
.blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.blog-category-badge {
  background: rgba(255, 204, 0, 0.2);
  color: #f7ca17;
  border: 1px solid #f7ca17;
  font-size: 15px;
  padding: 3px 50px;
  border-radius: 12px;
  display: inline-block;
  width: max-content;
  margin-bottom: 10px;
}
.blog-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.blog-excerpt {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
  flex-grow: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #212121;
  margin-top: auto;
  padding-top: 10px;
}
.blog-main-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.author-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f7ca17;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(247, 202, 23, 0.4);
  z-index: 10;
}
.scroll-btn:hover:not(:disabled) {
  background: #fbc02d;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(247, 202, 23, 0.6);
}
.scroll-btn:disabled {
  cursor: not-allowed;
  opacity: 0.3;
  background: #ccc;
}
.scroll-btn.scroll-left {
  left: 10px;
}
.scroll-btn.scroll-right {
  right: 10px;
}
.scroll-btn i {
  font-size: 18px;
}

.related-posts-grid {
  display: flex;
  gap: 25px;
  padding: 20px 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #f7ca17 #e0e0e0;
  position: relative;
}
.related-posts-grid::-webkit-scrollbar {
  height: 8px;
}
.related-posts-grid::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 4px;
}
.related-posts-grid::-webkit-scrollbar-thumb {
  background: #f7ca17;
  border-radius: 4px;
}
.related-posts-grid::-webkit-scrollbar-thumb:hover {
  background: #e8b91a;
}

/* HAPUS pagination yang di bawah */
.related-pagination-container {
  display: none !important;
}
.related-pagination {
  display: none !important;
}

.related-post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(132, 131, 131, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}
.related-post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(247, 202, 23, 0.1) 0%,
    rgba(251, 192, 45, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
  border-radius: 12px;
}
.related-post-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.related-post-card:hover::before {
  opacity: 1;
}
.related-post-card:active {
  transform: translateY(-15px);
}
.related-post-image {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background: #e0e0e0;
}
.related-post-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-post-card:hover .related-post-image img {
  transform: scale(1.08);
}
.related-post-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}
.related-category-badge {
  background: rgba(255, 204, 0, 0.2);
  color: #f7ca17;
  border: 1px solid #f7ca17;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  width: max-content;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}
.related-post-card:hover .related-category-badge {
  background: #f7ca17;
  color: #fff;
}
.related-post-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
  transition: color 0.3s ease;
}
.related-post-card:hover .related-post-title {
  color: #f7ca17;
}
.related-post-excerpt {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.related-read-more {
  color: #f7ca17;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
  display: inline-block;
  text-decoration: underline;
}
.related-post-card:hover .related-read-more {
  color: #e8b91a;
}
.related-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #999;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}
.related-author {
  display: flex;
  align-items: center;
  gap: 6px;
}
.related-author-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f7ca17;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.related-author span {
  font-weight: 500;
  color: #555;
  font-size: 12px;
}
.related-date {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #999;
  font-size: 11px;
}
.related-date i {
  font-size: 11px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 992px) {
  .blog-section .col-lg-8,
  .blog-section .col-xl-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    width: 66.666667%;
    float: left;
  }
  .blog-section .col-lg-4,
  .blog-section .col-xl-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    width: 33.333333%;
    float: left;
  }
}
@media (max-width: 991px) {
  .blog-section .col-lg-8,
  .blog-section .col-lg-4,
  .blog-section .col-xl-8,
  .blog-section .col-xl-4,
  .blog-section .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    float: none;
  }
  .sidebar {
    position: static;
    margin-top: 50px;
  }
}
@media (max-width: 1200px) {
  .related-post-card {
    min-width: 280px;
    max-width: 280px;
  }
}
@media (max-width: 768px) {
  .inner-banner h1 {
    font-size: 36px;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .blog-section {
    padding: 50px 0;
  }
  .blog-card.featured {
    min-height: 350px;
  }
  .blog-single-post {
    padding: 20px;
  }
  .blog-single-post h1 {
    font-size: 24px;
  }
  .social-share-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .share-label,
  .social-share-buttons {
    width: 100%;
  }
  .social-share-buttons {
    justify-content: flex-start;
  }
  .btn-back {
    width: 100%;
    justify-content: center;
  }
  .sidebar-widget.join-us-widget {
    padding: 25px 20px !important;
  }
  .join-title {
    font-size: 20px !important;
  }
  .join-description {
    font-size: 13px !important;
  }
  .related-posts-wrapper {
    margin-top: 40px;
  }
  .related-posts-section {
    padding: 40px 0;
  }
  .related-title {
    font-size: 26px;
  }
  .related-subtitle {
    font-size: 14px;
  }
  .related-posts-container {
    padding: 0 60px;
  }
  .related-posts-grid {
    gap: 20px;
    padding: 10px;
  }
  .related-post-card {
    min-width: 260px;
    max-width: 260px;
  }
  .related-header {
    margin-bottom: 50px;
    padding: 40px 20px;
  }
  .scroll-btn {
    width: 45px;
    height: 45px;
  }
  .scroll-btn.scroll-left {
    left: 5px;
  }
  .scroll-btn.scroll-right {
    right: 5px;
  }
  .scroll-btn i {
    font-size: 16px;
  }
}
@media (max-width: 576px) {
  .inner-banner h1 {
    font-size: 28px;
  }
  .inner-banner p {
    font-size: 14px;
  }
  .section-header h2 {
    font-size: 22px;
  }
  .blog-card.featured {
    min-height: 300px;
  }
  .blog-main-content {
    padding: 20px;
  }
  .blog-main-title {
    font-size: 18px;
  }
  .btn-join {
    width: 100%;
    padding: 14px 24px;
  }
  .related-posts-wrapper {
    margin-top: 30px;
  }
  .related-posts-section {
    padding: 30px 0;
  }
  .related-title {
    font-size: 22px;
  }
  .related-posts-container {
    padding: 0 50px;
  }
  .related-posts-grid {
    gap: 15px;
    padding: 10px 5px;
  }
  .related-post-card {
    min-width: 240px;
    max-width: 240px;
  }
  .related-post-image {
    padding-top: 55%;
  }
  .related-header {
    padding: 30px 15px;
  }
  .blog-category-badge-single {
    font-size: 11px;
    padding: 5px 15px;
  }
  .post-bottom-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .scroll-btn {
    width: 40px;
    height: 40px;
  }
  .scroll-btn.scroll-left {
    left: 3px;
  }
  .scroll-btn.scroll-right {
    right: 3px;
  }
  .scroll-btn i {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .social-share-container {
    padding: 15px 20px;
  }
  .share-btn {
    width: 40px;
    height: 40px;
  }
  .share-btn i {
    font-size: 18px;
  }
  .share-btn::after {
    display: none;
  }
  .related-posts-container {
    padding: 0 45px;
  }
  .related-post-card {
    min-width: 220px;
    max-width: 220px;
  }
  .scroll-btn {
    width: 35px;
    height: 35px;
  }
  .scroll-btn.scroll-left {
    left: 2px;
  }
  .scroll-btn.scroll-right {
    right: 2px;
  }
  .scroll-btn i {
    font-size: 12px;
  }
  .page-link {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* ===== SMOOTH ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .related-post-card,
  .blog-card,
  .share-btn,
  .btn-back,
  .scroll-btn,
  .page-link {
    will-change: transform;
  }
}

/* ===== LOADING STATE ===== */
.related-posts-grid.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles for accessibility */
.share-btn:focus,
.btn-back:focus,
.scroll-btn:focus,
.page-link:focus {
  outline: 2px solid #f7ca17;
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .social-share-container,
  .related-posts-section,
  .sidebar,
  .btn-back,
  .scroll-btn,
  .related-pagination-container {
    display: none !important;
  }

  .blog-single-post {
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  .post-content {
    color: #000;
  }
}

.author-name {
  font-weight: 500;
  color: #333;
}
.blog-date {
  display: flex;
  align-items: center;
  gap: 5px;
}
.read-more {
  display: inline-block;
  color: #f7ca17;
  font-weight: 600;
  font-size: 13px;
  text-decoration: underline;
  transition: color 0.3s ease;
  cursor: pointer;
  margin-left: 3px;
}
.read-more:hover {
  color: rgba(255, 204, 0, 0.3);
}

/* ===== SINGLE POST ===== */
.blog-single-post {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px #848383 !important;
}
.blog-category-badge-single {
  background: rgba(255, 204, 0, 0.2);
  color: #f7ca17;
  border: 1px solid #f7ca17;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 20px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-single-post h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-single-post h4.text-muted {
  font-size: 18px;
  color: #999;
  font-weight: 400;
  margin-bottom: 20px;
}
.blog-single-post hr {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  margin: 20px 0;
}
.blog-single-post .blog-main-meta {
  margin-bottom: 20px;
}
.blog-single-post .author-icon {
  width: 40px;
  height: 40px;
  font-size: 18px;
}
.post-content {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
  margin: 30px 0;
}
.post-content p {
  margin-bottom: 20px;
}
.post-content img,
.blog-single-post .img-fluid {
  max-width: 100%;
  height: auto;
  width: 100%;
  object-fit: contain;
  display: block;
}
.post-content img {
  margin: 20px 0;
  border-radius: 8px;
}
.post-content a {
  color: #f7ca17;
  text-decoration: underline;
}
.post-content a:hover {
  color: #e8b91a;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: relative;
  top: 0;
}
.sidebar-widget {
  background: #fff !important;
  border-radius: 12px !important;
  padding: 25px !important;
  box-shadow: 0 2px 12px #848383 !important;
  margin-bottom: 25px !important;
}
.sidebar-widget * {
  box-sizing: border-box;
}
.sidebar .widget-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin: 0 0 20px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-widget .category-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  color: #555 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}
.sidebar-widget .category-item:first-child {
  padding-top: 0 !important;
}
.sidebar-widget .category-item:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.sidebar-widget .category-item:hover {
  color: #f7ca17 !important;
  padding-left: 5px !important;
}
.sidebar-widget .category-item.active {
  color: #f7ca17 !important;
  font-weight: 600;
}
.sidebar-widget .category-item span:first-child {
  flex: 1;
}
.sidebar-widget .category-count {
  background: #f5f5f0;
  color: #888 !important;
  font-size: 12px !important;
  padding: 4px 12px !important;
  border-radius: 12px !important;
  font-weight: 500 !important;
  text-align: center !important;
  display: inline-block !important;
  min-width: 35px !important;
}

/* Promo & other widgets within sidebar */
.sidebar .sidebar-widget.promo-card {
  padding: 0 !important;
  padding-bottom: 5px !important;
}
.promo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 12px 12px 0 0;
}
.promo-logo {
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-logo i {
  color: #fff;
  font-size: 20px;
}
.promo-site {
  font-size: 20px;
  font-weight: 500;
  color: #333;
}
.promo-gallery {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px;
  justify-content: center;
  padding: 15px 0;
}

.promo-gallery-item {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  padding: 0 15px 15px;
  text-align: center;
  margin-top: 10px;
}
.promo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  background-color: #f7ca17;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 16px auto 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.promo-button:hover {
  background: #fbc02d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 216, 53, 0.4);
  color: #333;
}
.promo-button img {
  margin-left: 6px;
}

.sidebar-widget.news-widget {
  padding: 25px !important;
}
.news-item {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s ease;
  cursor: pointer;
}
.news-item:first-child {
  padding-top: 0;
}
.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.news-item:hover {
  opacity: 0.8;
  transform: translateX(5px);
}
.news-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-content {
  flex: 1;
  min-width: 0;
}
.news-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-date {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-meta-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}
.news-meta-info .news-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666;
}
.author-icon-small {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f7ca17;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ===== PAGINATION ===== */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.page-item {
  list-style: none;
}
.page-link {
  color: #333;
  border: 1px solid #ddd;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}
.page-link:hover {
  background-color: #f7ca17;
  border-color: #f7ca17;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px #f7ca17;
}
.page-item.active .page-link {
  background-color: #f7ca17;
  border-color: #f7ca17;
  color: #fff;
  box-shadow: 0 2px 8px #f7ca17;
}
.page-item.disabled .page-link {
  color: #ccc;
  cursor: not-allowed;
  background: #f5f5f5;
  border-color: #e0e0e0;
}
.page-item.disabled .page-link:hover {
  transform: none;
  box-shadow: none;
  background: #f5f5f5;
  color: #ccc;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-back,
.btn-join {
  transition: all 0.3s ease;
  border-radius: 8px;
  cursor: pointer;
}
.btn-primary {
  background-color: #f7ca17;
  border-color: #f7ca17;
  color: #333;
  font-weight: 600;
  padding: 10px 20px;
}
.btn-primary:hover {
  background-color: #fbc02d;
  border-color: #fbc02d;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 202, 23, 0.4);
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f7ca17;
  color: #000;
  font-weight: 500;
  padding: 10px 18px;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  font-size: 14px;
}
.btn-back:hover {
  background: #fbc02d;
  border-color: #fbc02d;
  transform: translateX(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  color: #000;
}
.btn-back i {
  font-size: 17px;
  transition: transform 0.25s ease;
  margin-bottom: 2.5px;
}
.btn-back:hover i {
  transform: translateX(-2px);
}
.btn-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f7ca17;
  color: #212121;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px;
  text-decoration: none;
}
.btn-join:hover {
  background: #fdd835;
  gap: 12px;
}
.btn-join i {
  color: #212121;
  font-size: 18px;
  transition: transform 0.3s ease;
  margin-top: 7px;
}

/* ===== SOCIAL SHARE ===== */
.post-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
}
.social-share-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.share-label,
.social-share-buttons {
  font-size: 13px;
}
.share-label {
  font-weight: 500;
  color: #666;
  margin-right: 4px;
}
.social-share-buttons {
  display: flex;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  opacity: 0.92;
}
.share-btn:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}
.share-btn:active {
  transform: translateY(-1px) scale(1.02);
}
.share-btn i {
  font-size: 17px;
}
.share-btn.facebook {
  background: #1877f2;
}
.share-btn.twitter {
  background: #000;
}
.share-btn.whatsapp {
  background: #25d366;
}
.share-btn.telegram {
  background: #0088cc;
}
.share-btn.instagram {
  background: #e1306c;
}
.share-btn.copy-link {
  background: #64748b;
}
.share-btn.copied {
  background: #10b981 !important;
  animation: success-pulse 0.4s ease;
}

@keyframes success-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.share-btn::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  min-width: 80px;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  font-weight: 500;
  z-index: 10;
  box-shadow: 0 4px 12px #848383 !important;
}
.share-btn::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 10;
}
.share-btn:hover::after,
.share-btn:hover::before {
  opacity: 1;
}
.share-btn.copied::after {
  content: 'Tersalin!' !important;
  opacity: 1 !important;
  background: #10b981 !important;
  bottom: calc(100% + 8px) !important;
}
.share-btn.copied::before {
  opacity: 1 !important;
  border-top-color: #10b981 !important;
}
.share-btn.copied:hover::after {
  content: 'Tersalin!' !important;
  background: #10b981 !important;
}
.share-btn.copied:hover::before {
  border-top-color: #10b981 !important;
}
.share-btn.copied[title]::after {
  content: 'Tersalin!' !important;
}

/* ===== JOIN US WIDGET ===== */
.sidebar-widget.join-us-widget {
  background: #fff !important;
  border-radius: 12px !important;
  padding: 35px 30px !important;
  box-shadow: 0 2px 12px #848383 !important;
  margin-bottom: 25px !important;
  text-align: center;
  border-left: 12px solid #f7ca17 !important;
}
.join-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #2d3748 !important;
  margin: 0 0 15px !important;
  line-height: 1.3;
}
.join-divider {
  width: 190px;
  height: 3px;
  background: #f7ca17;
  margin: 0 auto 20px;
  border-radius: 2px;
}
.join-description {
  color: #718096 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 0 25px !important;
  text-align: center;
}

/* ===== RELATED POSTS WRAPPER & SECTION ===== */
.related-posts-wrapper {
  width: 100%;
  margin: 60px 0 0;
  padding: 0;
  background: transparent;
}
.related-posts-section {
  padding: 0 0 60px;
  background: transparent;
  margin: 0;
}
.related-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 20px;
  background: #f2f2f2;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.related-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.related-underline {
  width: 100px;
  height: 3px;
  background: #f7ca17;
  margin: 0 auto 20px;
  border-radius: 2px;
}
.related-subtitle {
  color: #666;
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Scroll Buttons - Positioned on SIDES */
.related-posts-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f7ca17;
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.scroll-btn.left {
  left: 20px;
}

.scroll-btn.right {
  right: 20px;
}