/* ============================================================
   Soliguy — Steward's Log  |  Single Post CSS
   ============================================================ */

/* ── Breadcrumb ── */
.sl-breadcrumb-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px 0;
}
.sl-breadcrumb {
  font-size: 12px;
  color: var(--sl-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sl-breadcrumb a {
  color: var(--sl-text-muted);
  text-decoration: none;
}
.sl-breadcrumb a:hover {
  color: var(--sl-green-dark);
}
.sl-breadcrumb span {
  color: var(--sl-border);
}

/* ── Page wrap ── */
.sl-single-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 32px 96px;
}
.sl-single-grid {
  display: grid;
  grid-template-columns: 1fr 288px;
  gap: 52px;
  align-items: start;
}

/* ── Entry hero ── */
.sl-entry-hero {
  background: var(--sl-green-dark);
  color: #fff;
  padding: 36px 40px 36px;
  border-radius: 6px;
  margin-bottom: 24px;
}
.sl-entry-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sl-badge {
  font-family: var(--sl-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
}
.sl-badge-primary {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.sl-badge-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
}
.sl-entry-date {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-left: 4px;
}
.sl-entry-title {
  font-family: var(--sl-font-heading);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 16px;
}
.sl-entry-opening {
  font-size: 15px;
  line-height: 1.72;
  color: rgba(255,255,255,0.82);
  margin: 0;
}

/* ── Signal snapshot ── */
.sl-snapshot-card {
  background: var(--sl-cream);
  border: 1px solid var(--sl-border);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 32px;
}
.sl-snapshot-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sl-text-muted);
  margin-bottom: 16px;
}
.sl-signals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.sl-signal-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--sl-text);
  line-height: 1.5;
}
.sl-signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  background: var(--sl-green-dark);
}
.sl-signal-dot.amber   { background: #c49a0a; }
.sl-signal-dot.caution { background: #b84040; }

/* ── Elementor content wrapper ── */
.sl-article-body {
  margin-bottom: 40px;
}

/* Reset Elementor container constraints inside our grid column */
.sl-article-body .e-con-boxed > .e-con-inner {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.sl-article-body .e-con-boxed {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Section headings (Elementor h5) */
.sl-article-body h5.elementor-heading-title {
  font-family: var(--sl-font-body) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--sl-green-dark) !important;
  border-top: 2px solid var(--sl-green-dark);
  padding-top: 18px;
  margin: 40px 0 14px !important;
  scroll-margin-top: 100px;
}
.sl-article-body .elementor-element:first-child h5.elementor-heading-title {
  margin-top: 0 !important;
  border-top: none;
  padding-top: 0;
}

/* Body text */
.sl-article-body .elementor-widget-text-editor p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--sl-text);
  margin-bottom: 1.2em;
}
.sl-article-body .elementor-widget-text-editor ul,
.sl-article-body .elementor-widget-text-editor ol {
  font-size: 15px;
  line-height: 1.78;
  color: var(--sl-text);
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}
.sl-article-body .elementor-widget-text-editor li {
  margin-bottom: 0.5em;
}
.sl-article-body .elementor-widget-text-editor strong {
  font-weight: 600;
  color: var(--sl-text);
}

/* h5 bold inside text-editor (like SIGNAL OF THE WEEK) */
.sl-article-body .elementor-widget-text-editor h5 {
  font-family: var(--sl-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sl-text-muted);
  margin: 32px 0 8px;
}
.sl-article-body .elementor-widget-text-editor h4 {
  font-family: var(--sl-font-heading);
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.sl-article-body .elementor-widget-text-editor em {
  font-style: italic;
  color: var(--sl-text-muted);
}

/* ── Song of the Week (single post) ── */
.sl-song-of-week {
  background: #fff;
  border: 1px solid var(--sl-border);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 32px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}
.sl-sow-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.sl-sow-icon {
  width: 80px;
  height: 80px;
  background: var(--sl-green-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  line-height: 1;
}
.sl-sow-meta {
  flex: 1;
  min-width: 0;
}
.sl-sow-title {
  font-family: var(--sl-font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--sl-text);
  line-height: 1.3;
}
.sl-sow-genre {
  font-size: 12px;
  color: var(--sl-green-dark);
  opacity: 0.72;
  margin-top: 3px;
}
.sl-sow-note {
  font-size: 14px;
  line-height: 1.75;
  font-style: italic;
  color: var(--sl-text);
  margin-bottom: 14px;
}
.sl-sow-link a {
  font-size: 13px;
  font-weight: 600;
  color: var(--sl-green-dark);
  text-decoration: none;
}
.sl-sow-link a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Tags ── */
.sl-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 32px 0;
  border-top: 1px solid var(--sl-border);
}
.sl-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--sl-text-muted);
  background: rgba(0,0,0,0.05);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.sl-tag:hover {
  background: var(--sl-green-dark);
  color: #fff;
}

/* ── Post navigation ── */
.sl-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 32px 0 0;
  border-top: 1px solid var(--sl-border);
}
.sl-post-nav-item {
  display: block;
  text-decoration: none;
  color: var(--sl-text);
  padding: 16px;
  border: 1px solid var(--sl-border);
  border-radius: 5px;
  transition: border-color 0.18s, background 0.18s;
}
.sl-post-nav-item:hover {
  border-color: var(--sl-green-dark);
  background: rgba(61,74,42,0.03);
}
.sl-next {
  text-align: right;
}
.sl-post-nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sl-text-muted);
  margin-bottom: 6px;
}
.sl-post-nav-title {
  font-family: var(--sl-font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--sl-text);
}

/* ── Single sidebar ── */
.sl-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 24px;
}

/* TOC card */
.sl-toc-card {
  /* shown/hidden by JS */
}
.sl-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sl-toc-list li {
  border-bottom: 1px solid var(--sl-border);
}
.sl-toc-list li:last-child {
  border-bottom: none;
}
.sl-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--sl-text);
  text-decoration: none;
  transition: color 0.15s;
}
.sl-toc-list a:hover {
  color: var(--sl-green-dark);
}
.toc-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--sl-text-muted);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.sl-toc-list a.toc-active {
  color: var(--sl-green-dark);
  font-weight: 600;
}

/* About card on single (label variant) */
.about-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

/* Recent entries */
.sl-recent-entry {
  display: block;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--sl-border);
}
.sl-recent-entry:last-child {
  border-bottom: none;
}
.sl-recent-entry:hover .sl-recent-entry-title {
  color: var(--sl-green-dark);
}
.sl-recent-entry-date {
  font-size: 11px;
  color: var(--sl-text-muted);
  margin-bottom: 4px;
}
.sl-recent-entry-title {
  font-family: var(--sl-font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--sl-text);
  line-height: 1.4;
  transition: color 0.15s;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .sl-single-grid {
    grid-template-columns: 1fr;
  }
  .sl-single-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .sl-toc-card {
    grid-column: 1 / -1;
  }
  .sl-signals-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .sl-single-wrap {
    padding: 20px 20px 60px;
  }
  .sl-breadcrumb-wrap {
    padding: 12px 20px 0;
  }
  .sl-entry-hero {
    padding: 24px 20px;
  }
  .sl-post-nav {
    grid-template-columns: 1fr;
  }
  .sl-single-sidebar {
    grid-template-columns: 1fr;
  }
}
