.card-form { 
  background:#fff; 
  border:1px solid #e5e7eb; 
  border-radius:16px; 
  box-shadow:0 10px 30px rgba(0,0,0,.06); 
}

.card-form .card-header { 
  padding:20px 24px; 
  border-bottom:1px solid #e5e7eb; 
  background:#f8fafc; 
  border-radius:16px 16px 0 0; 
}

.card-form .card-body { 
  padding:24px; 
}

.card-form .card-footer { 
  padding:16px 24px; 
  background:#f8fafc; 
  border-top:1px solid #e5e7eb; 
  border-radius:0 0 16px 16px; 
}

.form-label { 
  font-weight:600; 
  color:#374151; 
}

.btn-primary { 
  background:linear-gradient(135deg,#3b82f6 0%, #1d4ed8 100%); 
  border:none; 
}

.btn-primary:hover { 
  background:linear-gradient(135deg,#2563eb 0%, #1e40af 100%); 
}

/* Blog Detail Styling */
.blog-post-single-outer {
  background: #fff;
  overflow: hidden;
}

.blog-post-single {
  padding: 0;
}

.wt-post-media {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
}

.wt-post-media img,
.wt-post-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Khusus untuk blog detail, bukan untuk sidebar */
.blog-post-single .wt-post-info {
  padding: 30px;
}

/* Recent Article post-title: 1 baris dengan ellipsis */
.widget-post .wt-post-info .wt-post-header .post-title a {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.4 !important;
  max-width: 100% !important;
}

.wt-post-meta-list {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #6b7280;
}

.wt-list-content.post-date {
  font-size: 18px !important;
  font-weight: 600;
  color: #374151;
}

.wt-list-content.post-category {
  font-size: 16px !important;
  font-weight: 500;
  color: #3b82f6;
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 16px;
}

.wt-list-content.post-category a {
  color: #3b82f6;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wt-list-content.post-category a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

.wt-post-title .post-title {
  font-size: 24px !important;
  font-weight: 700;
  color: #1f2937;
  margin-top: 50px !important;
  margin-bottom: 75px !important;
  line-height: 1.3;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 20px;
}

.wt-post-discription {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
}

.wt-post-discription p {
  margin-bottom: 20px;
}

/* Styling untuk gambar yang diupload via TinyMCE */
.wt-post-discription img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.wt-post-discription img:hover {
  transform: scale(1.02);
}

/* Responsive images */
.wt-post-discription img[style*="width"] {
  max-width: 100% !important;
  height: auto !important;
}

.wt-post-tags {
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
}

.wt-post-tags h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 15px;
}

.wt-post-tags .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wt-post-tags .tagcloud a {
  display: inline-block;
  padding: 6px 12px;
  background: #f3f4f6;
  color: #374151;
  text-decoration: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.wt-post-tags .tagcloud a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-1px);
}

/* Tags in individual post - clickable */
.wt-post-tags .tagcloud a {
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.wt-post-tags .tagcloud a:hover {
  background: #3b82f6 !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.twm-blog-s-title {
  font-size: 22px;
  font-weight: 600;
  color: #1f2937;
  margin: 30px 0 20px 0;
}

.wt-post-discription blockquote {
  background: #f8fafc;
  border-left: 4px solid #3b82f6;
  padding: 20px;
  margin: 30px 0;
  border-radius: 8px;
}

.wt-post-discription blockquote p {
  font-style: italic;
  margin-bottom: 10px;
}

.wt-post-discription blockquote strong {
  color: #3b82f6;
}

.post-single-list ul {
  list-style: none;
  padding: 0;
}

.post-single-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
}

.post-single-list li i {
  color: #10b981;
  margin-top: 4px;
  flex-shrink: 0;
}

.twm-posts-author {
  display: none;
  gap: 20px;
  background: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  margin: 40px 0;
}

.twm-post-author-pic img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.twm-post-author-content span {
  font-size: 14px;
  color: #6b7280;
}

.twm-post-author-content p {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.6;
}

.twm-post-author-content strong {
  color: #1f2937;
  font-weight: 600;
}

.post-navigation {
  padding: 20px 30px;
  border-top: 1px solid #e5e7eb;
}

.post-nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Ketika hanya ada next, posisikan di kanan */
.post-nav-links.nav-next-only {
  justify-content: flex-end;
}

/* Ketika hanya ada prev, posisikan di kiri */
.post-nav-links.nav-prev-only {
  justify-content: flex-start;
}

.post-nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 45%;
}

.nav-post-arrow a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-post-arrow a:hover {
  background: #3b82f6;
  color: white;
}

.nav-post-meta a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
}

.nav-post-meta a:hover {
  color: #3b82f6;
}

/* Comments Section */
.comments-area {
  padding: 30px;
  border-top: 1px solid #e5e7eb;
}

.section-head-small {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 25px;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment {
  margin-bottom: 30px;
}

.comment-body {
  display: flex;
  gap: 20px;
}

.comment-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-meta a {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
}

.comment-info cite {
  font-style: normal;
  font-weight: 600;
  color: #1f2937;
  display: block;
  margin-bottom: 5px;
}

.comment-info p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.reply a {
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.comment-respond {
  padding: 30px;
  border-top: 1px solid #e5e7eb;
}

.comment-form .form-control {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
}

.comment-form .form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.site-button {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.site-button:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-1px);
}

/* Clickable categories and tags styling */
.widget.all_services_list ul li a {
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.widget.all_services_list ul li a:hover {
  color: #3b82f6;
  text-decoration: none;
  transform: translateX(2px);
}

.widget.tw-sidebar-tags-wrap .tagcloud a {
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.widget.tw-sidebar-tags-wrap .tagcloud a:hover {
  background: #3b82f6 !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Search results info styling */
.search-results-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
}

.search-results-info .badge {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.search-results-info .bg-primary {
  background-color: #3b82f6 !important;
}

.search-results-info .bg-success {
  background-color: #10b981 !important;
}

.search-results-info .bg-info {
  background-color: #06b6d4 !important;
}

/* Blog post actions styling */
.blog-post-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.blog-post-back-action {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.btn-update-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #3b82f6;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-update-news:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  text-decoration: none;
}

.btn-update-news:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-back-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #6b7280;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-back-news:hover {
  background: #6b7280;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
  text-decoration: none;
}

.btn-back-news:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.2);
}

/* Ensure blog post container has relative positioning */
.blog-post-single-outer {
  position: relative;
}
