/* Focused reading layout for long-form song meaning guides. */
.song-guide {
  background: #10111f;
  color: #e7e9f2;
}

.song-guide .container {
  display: block;
  width: min(100% - 2.5rem, 980px);
  max-width: 980px;
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.song-guide .content {
  display: block;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.song-guide .song-hero {
  max-width: 780px;
  margin: 0 auto 2rem;
  text-align: center;
}

.song-guide .content > .song-hero > h1 {
  margin: 0;
  color: #f8fafc;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-shadow: none;
}

.song-guide .page-subtitle {
  max-width: 720px;
  margin: 1.25rem auto 1.5rem;
  color: #b9c0d0;
  font-size: 1.1rem;
  line-height: 1.65;
  text-align: center;
}

.song-guide .song-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  color: #cdd3e1;
  font-size: 0.94rem;
}

.song-guide .meta-item {
  padding: 0.45rem 0.7rem;
  border: 1px solid #2b2f46;
  border-radius: 999px;
  background: #171a2b;
}

.song-guide .song-meta a,
.song-guide .content a {
  color: #9cb4ff;
}

.song-guide .content > .toc {
  position: static;
  margin: 0 0 2.5rem;
  padding: 1.25rem;
  border: 1px solid #2b2f46;
  border-radius: 0.9rem;
  background: #171a2b;
  text-align: left;
  animation: none;
  box-shadow: none;
}

.song-guide .toc h3,
.song-guide .content section > h3 {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  color: #f8fafc;
  font-size: 1.05rem;
  font-weight: 750;
}

.song-guide .toc h3::before,
.song-guide .content section > h3::before {
  display: none;
}

.song-guide .toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.song-guide .toc a {
  display: block;
  min-height: 2.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #303652;
  border-radius: 0.55rem;
  background: #20243a;
  color: #e8ebf6;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: none;
}

.song-guide .toc a:hover,
.song-guide .toc a:focus-visible {
  transform: none;
  border-color: #7c9aff;
  background: #2a3150;
  color: #fff;
  box-shadow: none;
}

.song-guide .toc a::before {
  display: none;
}

.song-guide .content section {
  margin: 0 0 1.5rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid #292d43;
  border-radius: 0.9rem;
  background: #171a2b;
  box-shadow: none;
  transform: none;
  animation: none;
}

.song-guide .content section:hover {
  transform: none;
  box-shadow: none;
}

.song-guide .content section.answer-card {
  border-color: #286a58;
  background: linear-gradient(135deg, #10271f, #171a2b 68%);
}

.song-guide .content section > h2 {
  margin: 0 0 1rem;
  color: #f8fafc;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-align: left;
}

.song-guide .section-kicker {
  margin: 0 0 0.65rem;
  color: #80e2b2;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.song-guide .content p {
  margin: 0 0 1.15rem;
  color: #d7dbe6;
  font-size: 1.04rem;
  line-height: 1.75;
  text-align: left;
}

.song-guide .content p:last-child {
  margin-bottom: 0;
}

.song-guide .fact-grid {
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.song-guide .fact-card,
.song-guide .analysis-card,
.song-guide .flow-step {
  border-color: #30354b;
  background: #111421;
  box-shadow: none;
}

.song-guide .fact-card {
  padding: 1rem;
}

.song-guide .fact-card strong,
.song-guide .flow-step b {
  color: #91e5bb;
}

.song-guide .misconception-box {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: 0.65rem;
}

.song-guide .analysis-list {
  gap: 0.75rem;
}

.song-guide .analysis-card {
  padding: 1.1rem 1.2rem;
}

.song-guide .meaning-flow {
  background: #171a2b;
}

.song-guide .flow-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.song-guide .sidebar-widgets {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem;
  min-width: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.song-guide .sidebar-widgets .widget {
  padding: 1.1rem 1.2rem;
  border: 1px solid #292d43;
  border-radius: 0.8rem;
  background: #171a2b;
}

.song-guide .sidebar-widgets h4 {
  margin: 0 0 0.8rem;
  color: #f8fafc;
}

.song-guide .sidebar-widgets li {
  margin: 0.5rem 0;
}

.song-guide .share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.song-guide .share-btn {
  flex: 1 1 7rem;
  min-height: 2.5rem;
  border-radius: 0.5rem;
}

.song-guide .related-songs-grid {
  gap: 0.75rem;
}

.song-guide .site-footer {
  margin-top: 0;
}

@media (max-width: 720px) {
  .song-guide .container {
    width: min(100% - 1.25rem, 980px);
    margin: 0 auto;
    padding: 2rem 0 3rem;
  }

  .song-guide .song-hero {
    margin-bottom: 1.5rem;
  }

  .song-guide .content > .toc,
  .song-guide .content section {
    padding: 1.2rem;
    border-radius: 0.75rem;
  }

  .song-guide .toc ul,
  .song-guide .fact-grid,
  .song-guide .sidebar-widgets {
    grid-template-columns: 1fr;
  }

  .song-guide .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .song-guide .flow-step:last-child {
    grid-column: 1 / -1;
  }

  .song-guide .song-meta {
    justify-content: flex-start;
  }

  .song-guide .meta-item {
    width: 100%;
    border-radius: 0.55rem;
  }
}
