/* SML Blog Content — brand colors: blue #2877ff / navy #0f172a / green #5aae18 */

/* ── Meta bar ─────────────────────────────── */
.sml-meta-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 4px 0 20px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #0f172a !important;
  list-style: none !important;
}

.sml-meta-bar *::before,
.sml-meta-bar *::after {
  content: none !important;
}

.sml-meta-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  color: #0f172a !important;
  cursor: default;
  position: relative;
}

.sml-meta-item + .sml-meta-item:not(.sml-meta-like)::before {
  content: '' !important;
  display: inline-block !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: #5aae18 !important;
  margin-right: 8px !important;
}

.sml-meta-item svg {
  color: #64748b !important;
  flex-shrink: 0;
}

.sml-meta-comments a {
  color: #0f172a !important;
  text-decoration: none !important;
}

.sml-meta-comments a:hover {
  color: #2877ff !important;
  text-decoration: underline !important;
}

button.sml-meta-item.sml-meta-like {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  cursor: pointer !important;
  background: #2877ff !important;
  color: #fff !important;
  padding: 5px 12px !important;
  border: none !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  transition: background 0.2s ease, transform 0.15s ease;
}

button.sml-meta-item.sml-meta-like:focus {
  outline: 2px solid #2877ff !important;
  outline-offset: 2px !important;
}

button.sml-meta-item.sml-meta-like svg { color: #fff !important; }
button.sml-meta-item.sml-meta-like .sml-like-count { color: #fff !important; }
button.sml-meta-item.sml-meta-like:hover { background: #1c5fd6 !important; }
button.sml-meta-item.sml-meta-like:active { transform: scale(0.96); }
button.sml-meta-item.sml-meta-like.sml-liked { background: #5aae18 !important; cursor: default !important; }
button.sml-meta-item.sml-meta-like.sml-liked:hover { background: #5aae18 !important; }

/* ── Blog content typography (scoped to our own wrapper) ── */
.sml-post-content h1,
.sml-post-content h2,
.sml-post-content h3,
.sml-post-content h4 {
  font-family: 'Sora', sans-serif !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.sml-post-content h1 { font-size: clamp(22px, 3.2vw, 30px) !important; margin: 0 0 16px !important; }
.sml-post-content h3 { font-size: clamp(16px, 2vw, 19px) !important; margin: 26px 0 10px !important; }
.sml-post-content h4 { font-size: clamp(14px, 1.6vw, 16px) !important; margin: 20px 0 8px !important; }

.sml-post-content h2 {
  font-size: clamp(18px, 2.4vw, 24px) !important;
  margin: 30px 0 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 3px solid #2877ff !important;
}

.sml-post-content p,
.sml-post-content li {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 500 !important;
  color: #334155 !important;
  line-height: 1.75 !important;
  font-size: clamp(15px, 1.6vw, 16.5px) !important;
}

.sml-post-content ul,
.sml-post-content ol {
  padding-left: 22px !important;
  margin: 0 0 20px !important;
}

.sml-post-content strong { color: #0f172a !important; }

.sml-post-content a {
  color: #2877ff !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(40, 119, 255, 0.35) !important;
  text-underline-offset: 2px !important;
}
.sml-post-content a:hover { text-decoration-color: #2877ff !important; }

/* ── Rank Math FAQ block (uses its own classes, not plain h2/h3) ── */
.sml-post-content .rank-math-question,
.sml-post-content h3.rank-math-question {
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  font-size: clamp(15.5px, 1.8vw, 17px) !important;
  border-bottom: none !important;
}

.sml-post-content .rank-math-answer,
.sml-post-content .rank-math-answer p {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 500 !important;
  color: #334155 !important;
}

/* ── Right sidebar (Latest Post, Categories, Search) ──
   Widget markup varies by widget type, so multiple common
   selector patterns are covered. Scoped to .single-post only. */
.single-post .widget-title,
.single-post .widget h2,
.single-post .widget h3,
.single-post .widget h4,
.single-post .elementor-widget-heading .elementor-heading-title,
.single-post .elementor-post__title,
.single-post .elementor-post__title a {
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.single-post .widget,
.single-post .widget p,
.single-post .widget li,
.single-post .widget a,
.single-post .elementor-post__excerpt,
.single-post .elementor-post-date,
.single-post .elementor-post__meta-data {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 500 !important;
  color: #334155 !important;
}

.single-post .widget a:hover,
.single-post .elementor-post__title a:hover {
  color: #2877ff !important;
}

/* ── Tablet ───────────────────────────────── */
@media (max-width: 1024px) {
  .sml-meta-bar { gap: 12px !important; font-size: 12.5px !important; }
}

/* ── Mobile ───────────────────────────────── */
@media (max-width: 600px) {
  .sml-meta-bar {
    gap: 8px 12px !important;
    font-size: 12px !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
  }
  .sml-meta-item svg { width: 13px !important; height: 13px !important; }
  button.sml-meta-item.sml-meta-like {
    order: 10;
    width: 100% !important;
    justify-content: center !important;
    margin-top: 6px !important;
  }
  .sml-post-content h2 { margin: 24px 0 10px !important; padding-bottom: 6px !important; }
  .sml-post-content h3 { margin: 18px 0 8px !important; }
  .sml-post-content ul,
  .sml-post-content ol { padding-left: 18px !important; }
}
