/* ===== MWS Single Post Template Styles ===== */
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}
body.admin-bar { /* handled by WP */ }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Hide theme content wrapper only — header/footer are kept */
#theme-content { display: none !important; }

/* ===== READING PROGRESS BAR ===== */
.mws-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #f0f0f0;
  z-index: 10001;
}
body.admin-bar .mws-reading-progress { top: 32px; }
.mws-reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2D974D, #5edb7f);
  transition: width 0.1s linear;
}

/* ===== ARTICLE HERO ===== */
.mws-article-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 0;
}
.mws-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.mws-breadcrumbs a { color: #666; transition: color 0.15s; }
.mws-breadcrumbs a:hover { color: #2D974D; }
.mws-breadcrumbs .sep { color: #ccc; }
.mws-article-cat {
  display: inline-block;
  background: #e8f5ec;
  color: #2D974D;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  transition: background 0.15s;
}
.mws-article-cat:hover { background: #d0edda; }
.mws-article-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  color: #1a1a1a;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.mws-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.mws-meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mws-meta-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D974D, #1a5a30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
}
.mws-meta-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mws-meta-author-name { font-weight: 600; font-size: 14px; color: #333; }
.mws-meta-author-name a:hover { color: #2D974D; }
.mws-meta-detail { font-size: 13px; color: #999; display: flex; align-items: center; gap: 5px; }
.mws-meta-detail i { font-size: 12px; }
.mws-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #ccc; }

/* ===== FEATURED IMAGE ===== */
.mws-featured-img {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.mws-featured-img img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.mws-featured-caption {
  text-align: center;
  font-size: 13px;
  color: #999;
  font-style: italic;
  margin-top: 10px;
}

/* ===== TWO-COLUMN LAYOUT ===== */
.mws-article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.mws-article-main {
  flex: 1;
  min-width: 0;
  max-width: 780px;
}
.mws-article-sidebar {
  flex: 0 0 300px;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: none;
}
.mws-article-sidebar::-webkit-scrollbar { display: none; }
body.admin-bar .mws-article-sidebar { top: 112px; }

/* ===== ARTICLE CONTENT ===== */
.mws-article-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.mws-article-content p {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 24px;
}
.mws-article-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 48px 0 20px;
  padding: 0 0 12px;
  border-bottom: 2px solid #e8f5ec;
  line-height: 1.3;
}
.mws-article-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 36px 0 16px;
  padding: 0;
  line-height: 1.3;
}
.mws-article-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 28px 0 12px;
  padding: 0;
  line-height: 1.4;
}
.mws-article-content a {
  color: #2D974D;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mws-article-content a:hover { color: #1a5a30; }
.mws-article-content strong { font-weight: 700; color: #1a1a1a; }
.mws-article-content ul, .mws-article-content ol {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 24px;
  padding-left: 24px;
}
.mws-article-content li {
  margin-bottom: 10px;
  padding-left: 8px;
}
.mws-article-content li::marker { color: #2D974D; }
.mws-article-content blockquote {
  border-left: 4px solid #2D974D;
  background: #f8faf8;
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}
.mws-article-content blockquote p { margin-bottom: 0; }
.mws-article-content figure { margin: 32px 0; }
.mws-article-content figure img,
.mws-article-content .wp-block-image img {
  border-radius: 10px;
  margin: 0 auto;
  height: auto;
}
.mws-article-content figcaption,
.mws-article-content .wp-element-caption {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 10px;
  font-style: italic;
  font-family: 'Inter', sans-serif;
}
.mws-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.mws-article-content table th,
.mws-article-content table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.mws-article-content table th,
.mws-article-content thead td {
  background: #2D974D;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mws-article-content table tr:nth-child(even) { background: #f8faf8; }
.mws-article-content table tr:hover { background: #e8f5ec; }
.mws-article-content table td strong { color: #2D974D; }
.mws-article-content .wp-block-image { margin: 32px 0; }
.mws-article-content .wp-block-image.aligncenter { text-align: center; }

/* ez-toc override */
#ez-toc-container,
.ez-toc-container {
  background: #f8faf8 !important;
  border: 1px solid #e8f0e8 !important;
  border-radius: 12px !important;
  padding: 24px 28px !important;
  margin: 0 0 40px !important;
  box-shadow: none !important;
}
#ez-toc-container .ez-toc-title,
.ez-toc-container .ez-toc-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  font-family: 'Inter', sans-serif !important;
}
#ez-toc-container nav ul li a,
.ez-toc-container nav ul li a {
  font-size: 14px !important;
  color: #555 !important;
  font-family: 'Inter', sans-serif !important;
  transition: color 0.15s, padding-left 0.15s !important;
}
#ez-toc-container nav ul li a:hover,
.ez-toc-container nav ul li a:hover {
  color: #2D974D !important;
  padding-left: 4px !important;
}

/* ===== FLOATING SHARE BAR (left edge) ===== */
.mws-float-share {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mws-float-share.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.mws-float-share-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer; border: none;
}
.mws-float-share-btn:hover { transform: scale(1.12); color: #fff; }
.mws-float-share .mws-share-linkedin { background: #0077B5; }
.mws-float-share .mws-share-twitter { background: #1DA1F2; }
.mws-float-share .mws-share-facebook { background: #1877F2; }
.mws-float-share .mws-share-whatsapp { background: #25D366; }
.mws-float-share .mws-share-copy { background: #555; }
.mws-float-share .mws-share-copy.copied { background: #2D974D; }
.mws-copy-tooltip {
  position: absolute;
  left: 54px;
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.mws-copy-tooltip.show { opacity: 1; }
.mws-share-copy { background: #555; position: relative; }
.mws-share-copy.copied { background: #2D974D; }
.mws-share-bar .mws-copy-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.mws-share-bar .mws-copy-tooltip.show { opacity: 1; }
@media (max-width: 1100px) {
  .mws-float-share { display: none; }
}

/* ===== TAGS ===== */
.mws-tags {
  margin: 40px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mws-tags-label { font-size: 13px; font-weight: 600; color: #999; display: flex; align-items: center; gap: 5px; }
.mws-tag {
  font-size: 12px;
  color: #666;
  padding: 4px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  transition: all 0.15s;
}
.mws-tag:hover { border-color: #2D974D; color: #2D974D; background: #f0faf3; }

/* ===== SOCIAL SHARE BAR ===== */
.mws-share-bar {
  margin: 40px 0 0;
  padding: 28px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mws-share-label { font-size: 14px; font-weight: 600; color: #333; }
.mws-share-icons { display: flex; gap: 8px; }
.mws-share-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; transition: all 0.2s;
}
.mws-share-btn:hover { transform: translateY(-2px); color: #fff; }
.mws-share-linkedin { background: #0077B5; }
.mws-share-twitter { background: #1DA1F2; }
.mws-share-facebook { background: #1877F2; }
.mws-share-whatsapp { background: #25D366; }
.mws-share-email { background: #666; }

/* ===== AUTHOR BOX ===== */
.mws-author-box { margin: 40px 0 0; }
.mws-author-box-inner {
  display: flex; gap: 24px; padding: 32px;
  background: #f8faf8; border: 1px solid #e8f0e8; border-radius: 16px;
}
.mws-author-avatar { flex-shrink: 0; }
.mws-author-avatar-img {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #2D974D, #1a5a30);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 28px; overflow: hidden;
}
.mws-author-avatar-img img { width: 100%; height: 100%; object-fit: cover; }
.mws-author-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: #2D974D; margin-bottom: 4px;
}
.mws-author-name { font-size: 20px; font-weight: 800; color: #1a1a1a; margin: 0 0 8px; }
.mws-author-name a:hover { color: #2D974D; }
.mws-author-bio { font-size: 14px; line-height: 1.7; color: #666; margin: 0 0 12px; }
.mws-author-posts-link {
  font-size: 13px; font-weight: 600; color: #2D974D;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.15s;
}
.mws-author-posts-link:hover { gap: 10px; }

/* ===== CTA BANNER ===== */
.mws-post-cta { margin: 48px 0 0; }
.mws-post-cta-inner {
  background: linear-gradient(135deg, #0f1923 0%, #1a2a3a 50%, #0f1923 100%);
  border-radius: 16px; padding: 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; position: relative; overflow: hidden;
}
.mws-post-cta-inner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(45, 151, 77, 0.08);
}
.mws-post-cta-text { flex: 1; position: relative; z-index: 1; }
.mws-post-cta-text h3 { font-size: 22px; font-weight: 800; color: #fff; margin: 0 0 8px; padding: 0; border: none; }
.mws-post-cta-text p { font-size: 14px; color: #a8b2c1; line-height: 1.7; margin: 0; font-family: 'Inter', sans-serif; }
.mws-post-cta-actions {
  display: flex; flex-direction: column; gap: 10px;
  flex-shrink: 0; position: relative; z-index: 1;
}
.mws-post-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; padding: 12px 28px;
  border-radius: 50px; transition: all 0.2s; white-space: nowrap;
  background: #2D974D; color: #fff; text-decoration: none;
}
.mws-post-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(45,151,77,0.4); color: #fff; }
.mws-post-cta-btn-outline {
  background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #ccc;
}
.mws-post-cta-btn-outline:hover { border-color: #2D974D; color: #fff; background: rgba(45,151,77,0.15); box-shadow: none; }

/* ===== POST NAVIGATION ===== */
.mws-post-nav { margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mws-post-nav-item {
  padding: 24px; border: 1px solid #eee; border-radius: 12px;
  transition: all 0.2s; text-decoration: none;
}
.mws-post-nav-item:hover { border-color: #2D974D; box-shadow: 0 4px 16px rgba(45,151,77,0.08); }
.mws-post-nav-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: #999; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.mws-post-nav-title {
  font-size: 15px; font-weight: 700; color: #1a1a1a; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mws-post-nav-item:hover .mws-post-nav-title { color: #2D974D; }
.mws-post-nav-next { text-align: right; }
.mws-post-nav-next .mws-post-nav-label { justify-content: flex-end; }
.mws-post-nav-single { grid-template-columns: 1fr; }

/* ===== COMMENTS ===== */
.mws-comments-section { margin: 48px 0 0; padding-bottom: 48px; }
.mws-comments-section .comments-title,
.mws-comments-section h2 {
  font-size: 20px; font-weight: 800; margin-bottom: 28px; color: #1a1a1a;
  font-family: 'Inter', sans-serif; padding: 0; border: none;
}
.mws-comments-section .comment-list { list-style: none; padding: 0; margin: 0; }
.mws-comments-section .comment { padding: 24px 0; border-bottom: 1px solid #f0f0f0; }
.mws-comments-section .comment-body { display: flex; gap: 16px; }
.mws-comments-section .comment-author img { border-radius: 50%; width: 44px; height: 44px; }
.mws-comments-section .comment-author .fn { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.mws-comments-section .comment-metadata { font-size: 12px; color: #999; }
.mws-comments-section .comment-metadata a { color: #999; }
.mws-comments-section .comment-content p {
  font-size: 14px; color: #555; line-height: 1.7; margin: 6px 0 0;
  font-family: 'Inter', sans-serif;
}
.mws-comments-section .reply a { font-size: 12px; color: #2D974D; font-weight: 600; }
.mws-comments-section #respond h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.mws-comments-section .comment-form textarea,
.mws-comments-section .comment-form input[type="text"],
.mws-comments-section .comment-form input[type="email"],
.mws-comments-section .comment-form input[type="url"] {
  width: 100%; border: 1px solid #e0e0e0; border-radius: 10px;
  padding: 12px 16px; font-size: 14px; font-family: inherit;
  transition: border-color 0.2s; margin-bottom: 12px;
}
.mws-comments-section .comment-form textarea:focus,
.mws-comments-section .comment-form input:focus { outline: none; border-color: #2D974D; }
.mws-comments-section .comment-form .form-submit input[type="submit"] {
  background: #2D974D; color: #fff; border: none;
  padding: 12px 32px; font-size: 14px; font-weight: 600;
  border-radius: 50px; cursor: pointer; transition: all 0.2s;
}
.mws-comments-section .comment-form .form-submit input[type="submit"]:hover {
  background: #248a3f; transform: translateY(-1px);
}

/* ===== SIDEBAR ===== */
.mws-sidebar-av {
  background: linear-gradient(160deg, #0a1628 0%, #122035 40%, #0f1923 100%);
  border-radius: 16px; padding: 28px 24px; color: #fff;
  position: relative; overflow: hidden; margin-bottom: 20px;
}
.mws-sidebar-av::before {
  content: ''; position: absolute; top: -40%; right: -30%;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(45, 151, 77, 0.1);
}
.mws-sidebar-av-logo {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.mws-sidebar-av-logo-icon {
  width: 36px; height: 36px; border-radius: 10px; background: #2D974D;
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff;
}
.mws-sidebar-av-logo-text { font-size: 15px; font-weight: 800; letter-spacing: -0.3px; }
.mws-sidebar-av-badge {
  display: inline-block; background: rgba(45, 151, 77, 0.2); color: #5edb7f;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 12px; margin-bottom: 14px; position: relative; z-index: 1;
}
.mws-sidebar-av-title {
  font-size: 18px; font-weight: 800; line-height: 1.3; margin: 0 0 12px; padding: 0; border: none;
  position: relative; z-index: 1; color: #fff;
}
.mws-sidebar-av p {
  font-size: 13px; color: #a8b2c1; line-height: 1.65; margin: 0 0 20px;
  position: relative; z-index: 1; font-family: 'Inter', sans-serif;
}
.mws-sidebar-av-features {
  list-style: none; margin: 0 0 24px; padding: 0; position: relative; z-index: 1;
}
.mws-sidebar-av-features li {
  font-size: 12px; color: #c0c8d4; padding: 6px 0;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mws-sidebar-av-features li:last-child { border-bottom: none; }
.mws-sidebar-av-features li i { color: #5edb7f; font-size: 11px; width: 16px; text-align: center; }
.mws-sidebar-av-cta {
  display: block; text-align: center; background: #2D974D; color: #fff;
  font-size: 14px; font-weight: 700; padding: 12px 24px; border-radius: 50px;
  transition: all 0.2s; position: relative; z-index: 1;
  box-shadow: 0 4px 15px rgba(45, 151, 77, 0.35); text-decoration: none;
}
.mws-sidebar-av-cta:hover {
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(45, 151, 77, 0.5); color: #fff;
}
.mws-sidebar-av-tagline {
  text-align: center; font-size: 11px; color: #6b7a90;
  margin-top: 10px; position: relative; z-index: 1;
}
.mws-sidebar-mws {
  background: #fff; border: 1px solid #eee; border-radius: 16px;
  padding: 24px; margin-bottom: 20px;
}
.mws-sidebar-mws-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mws-sidebar-mws-icon {
  width: 40px; height: 40px; border-radius: 10px; background: #e8f5ec;
  display: flex; align-items: center; justify-content: center; color: #2D974D; font-size: 16px;
}
.mws-sidebar-mws-title { font-size: 15px; font-weight: 700; color: #1a1a1a; margin: 0; padding: 0; border: none; }
.mws-sidebar-mws p { font-size: 13px; color: #666; line-height: 1.65; margin: 0 0 16px; font-family: 'Inter', sans-serif; }
.mws-sidebar-mws-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.mws-sidebar-mws-stat { background: #f8faf8; border-radius: 10px; padding: 12px; text-align: center; }
.mws-sidebar-mws-stat-num { font-size: 20px; font-weight: 800; color: #2D974D; }
.mws-sidebar-mws-stat-label { font-size: 11px; color: #999; margin-top: 2px; }
.mws-sidebar-mws-cta {
  display: block; text-align: center; background: #fff; color: #2D974D;
  border: 2px solid #2D974D; font-size: 13px; font-weight: 700;
  padding: 10px 20px; border-radius: 50px; transition: all 0.2s; text-decoration: none;
}
.mws-sidebar-mws-cta:hover { background: #2D974D; color: #fff; }
.mws-sidebar-trending {
  background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 24px;
}
.mws-sidebar-trending-title {
  font-size: 15px; font-weight: 700; color: #1a1a1a; margin: 0 0 16px; padding: 0; border: none;
  display: flex; align-items: center; gap: 8px;
}
.mws-sidebar-trending-title i { color: #2D974D; font-size: 14px; }
.mws-sidebar-trending-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid #f5f5f5; transition: all 0.15s;
  text-decoration: none; color: inherit;
}
.mws-sidebar-trending-item:last-child { border-bottom: none; }
.mws-sidebar-trending-item:hover { padding-left: 4px; }
.mws-sidebar-trending-num {
  font-size: 22px; font-weight: 900; color: #e0e0e0; line-height: 1;
  flex-shrink: 0; width: 28px;
}
.mws-sidebar-trending-item:hover .mws-sidebar-trending-num { color: #2D974D; }
.mws-sidebar-trending-item-title {
  font-size: 13px; font-weight: 600; color: #333; line-height: 1.4; margin: 0 0 3px; padding: 0; border: none;
}
.mws-sidebar-trending-item:hover .mws-sidebar-trending-item-title { color: #2D974D; }
.mws-sidebar-trending-meta { font-size: 11px; color: #bbb; }

/* ===== RELATED POSTS ===== */
.mws-related {
  max-width: 1200px; margin: 64px auto 0; padding: 48px 24px;
  background: #f8faf8; border-top: 1px solid #eee;
}
.mws-related-title {
  font-size: 24px; font-weight: 800; color: #1a1a1a;
  margin: 0 0 28px; padding: 0; border: none; text-align: center;
}
.mws-related-title span { color: #2D974D; }
.mws-related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; max-width: 1160px; margin: 0 auto;
}
.mws-related-card {
  background: #fff; border-radius: 12px; border: 1px solid #eee;
  overflow: hidden; transition: all 0.2s; display: flex;
  flex-direction: column; text-decoration: none; color: inherit;
}
.mws-related-card:hover {
  border-color: #2D974D; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.mws-related-img { height: 160px; overflow: hidden; background: #f0f0f0; }
.mws-related-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.mws-related-card:hover .mws-related-img img { transform: scale(1.05); }
.mws-related-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a3a25, #2D974D);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.25); font-size: 36px;
}
.mws-related-body { padding: 18px; flex: 1; }
.mws-related-cat {
  font-size: 10px; font-weight: 700; color: #2D974D;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; display: block;
}
.mws-related-card-title {
  font-size: 15px; font-weight: 700; line-height: 1.4; color: #1a1a1a;
  margin: 0 0 8px; padding: 0; border: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mws-related-date { font-size: 12px; color: #999; }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .mws-article-sidebar { display: none; }
  .mws-article-layout { max-width: 780px; }
}
@media (max-width: 768px) {
  .mws-article-hero { padding-top: 32px; }
  .mws-article-title { font-size: 26px; }
  .mws-article-content p,
  .mws-article-content ul,
  .mws-article-content ol { font-size: 16px; line-height: 1.75; }
  .mws-article-content h2 { font-size: 22px; margin-top: 36px; }
  .mws-article-content h3 { font-size: 18px; }
  .mws-article-content h4 { font-size: 16px; }
  .mws-share-bar { flex-direction: column; gap: 12px; text-align: center; }
  .mws-author-box-inner { flex-direction: column; text-align: center; align-items: center; }
  .mws-post-cta-inner { flex-direction: column; text-align: center; padding: 28px 24px; }
  .mws-post-cta-actions { flex-direction: row; justify-content: center; }
  .mws-post-nav { grid-template-columns: 1fr; }
  .mws-post-nav-next { text-align: left; }
  .mws-post-nav-next .mws-post-nav-label { justify-content: flex-start; }
  .mws-related-grid { grid-template-columns: 1fr 1fr; }
  .mws-featured-img img { border-radius: 8px; aspect-ratio: auto; }
  .mws-article-content table { font-size: 12px; }
  .mws-article-content table th,
  .mws-article-content table td { padding: 10px 12px; }
}
@media (max-width: 480px) {
  .mws-related-grid { grid-template-columns: 1fr; }
  .mws-post-cta-actions { flex-direction: column; align-items: center; }
  .mws-article-meta { gap: 10px; }
}
