body {
  margin: 0;
  font-family: Georgia, serif;
  background: #0f1113;
  color: #e6e0d4;
}

.site-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #2a2f33;
  background: #171a1d;
  min-height: 84px;
  padding: 0 16px;
}

.header-left,
.header-right {
  width: 160px; /* justera vid behov */
  display: flex;
  align-items: center;
}

.header-left {
  justify-content: flex-start;
}

.header-right {
  justify-content: flex-end;
}

.header-inner {
  flex: 1;
  text-align: center;
}


.back-home img {
  display: block;
  height: 30px;
  width: auto;
  opacity: 0.85;
  /* transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer; */
  text-decoration: none;
}

.back-home img:hover {
  opacity: 1;
  transform: translateX(-2px);
  text-decoration: none;
}

.back-home {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.back-home,
.back-home:hover,
.back-home:focus,
.back-home:active,
.back-home:visited {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: none;
  border-bottom: none;
  box-shadow: none;
  outline: none;
  background: transparent;
}


h1 {
  margin: 0;
}

a {
  color: #c8a75a;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 167, 90, 0.4);
}

a:hover {
  color: #e0c878;
  border-bottom-color: #e0c878;
}

.tagline {
  margin: 0;
  font-size: 0.9em;
  color: #888;
}

.lang-switch button {
  margin-left: 5px;
  background: #2a2f33;
  color: #e6e0d4;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.top-menu {
  display: flex;
  background: #171a1d;
  border-bottom: 1px solid #2a2f33;
}

.top-menu div {
  padding: 10px 15px;
  cursor: pointer;
}

.top-menu div.active {
  color: #a88b52;
}

.layout {
  display: flex;
}

.image-gallery {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.image-gallery img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border: 1px solid #2a2f33;
}

.image-block {
  margin: 28px 0;
}

.image-block img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #2a2f33;
}

.image-full {
  max-width: 900px;
}

.image-medium {
  max-width: 600px;
}

.image-small {
  max-width: 360px;
}

.image-tiny {
  max-width: 200px;
}


.image-block figcaption {
  margin-top: 8px;
  color: #a7a094;
  font-size: 0.95rem;
  font-style: italic;
}

.content-area p {
  margin-top: 0;
  max-width: 900px;
  color: #d8d2c7;
  white-space: pre-line;
}

.text-block {
  max-width: 900px;
  margin-bottom: 24px;
  color: #d8d2c7;
  line-height: 1.6;
  white-space: pre-line;
}


.meta-text {
  display: block;
  color: #8a8478;
  font-size: 0.8rem;
  margin-top: 4px;
}

aside {
  width: 220px;
  background: #171a1d;
  min-height: 100vh;
  border-right: 1px solid #2a2f33;
}

aside div {
  padding: 10px;
  cursor: pointer;
}

aside div.active {
  background: #2a2f33;
}

main {
  flex: 1;
  padding: 20px;
}

.song-page h2 {
  margin-bottom: 1rem;
}

.lyrics-block {
  white-space: normal;
  line-height: 1.7;
}

.track-list {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.track-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.track-title {
  font-weight: 500;
  line-height: 1.2;
}

.track-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.track-actions a {
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.track-actions a:hover {
  opacity: 1;
  text-decoration: underline;
}

.back-link {
  margin: 1.5rem 0;
}

.back-link a {
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
}

.back-link a:hover {
  opacity: 1;
  text-decoration: underline;
}

/*  Timeline */

.timeline-event {
  margin-bottom: 44px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2f33;
}

.timeline-event-header {
  margin-bottom: 18px;
}

.timeline-event-header h3 {
  margin: 0 0 6px 0;
  font-size: 1.35rem;
  color: #e6e0d4;
}

.timeline-event-meta {
  color: #8f887c;
  font-size: 0.92rem;
}

.timeline-tracks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.timeline-track-card {
  flex: 1 1 260px;
  max-width: 320px;
  background: #171a1d;
  border: 1px solid #2a2f33;
  padding: 14px;
}

/*
.timeline-track-card img {
  display: block;
  width: 50%;
  height: auto;
  max-height: 140px;
  margin-bottom: 12px;
  border: 1px solid #2a2f33;
}*/

.timeline-track-card img {
  width: 50%;
  max-height: 140px;
  object-fit: cover;
  display: block;
  margin: 0 0 10px 0;
}

.timeline-track-card h4 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  color: #e6e0d4;
}

.track-date {
  color: #8a8478;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.track-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.track-links a {
  color: #a88b52;
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 139, 82, 0.45);
}

.track-links a:hover {
  color: #d2b57a;
  border-bottom-color: #d2b57a;
}

.track-notes {
  margin-top: 8px;
}

.track-notes summary {
  cursor: pointer;
  color: #a88b52;
}

.track-note-text {
  margin-top: 8px;
  color: #d8d2c7;
  white-space: pre-line;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .timeline-track-card {
    max-width: none;
    width: 100%;
  }
}

.track-date {
  color: #888;
  font-style: italic;
}