* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f1ebd5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: #222;
}

.media-embed {
  border: 1px solid currentColor;
  margin: 1.5rem 0;
  max-width: 100%;
}

.media-embed iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  width: 100%;
}

.media-embed-spotify iframe,
.media-embed-soundcloud iframe {
  aspect-ratio: 4 / 1;
}

.media-embed a {
  display: block;
  padding: 1rem;
}

nav {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.25rem 0.5rem;
}

nav .breadcrumb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav .breadcrumb-item a {
  white-space: nowrap;
}

nav .breadcrumb-item:not(:last-child) a::after {
  content: "|";
  margin-left: 0.5rem;
  color: #666;
}

nav .breadcrumb-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 600px) {
  nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.25rem;
    padding-bottom: 0.25rem;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav .breadcrumb-item {
    flex-shrink: 0;
  }

  nav .breadcrumb-item:not(:last-child) a::after {
    margin-left: 0.25rem;
  }
}

nav .breadcrumb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav .breadcrumb-item a {
  white-space: nowrap;
}

nav .breadcrumb-item:not(:last-child) a::after {
  content: "|";
  margin-left: 0.5rem;
  color: #666;
}

nav .breadcrumb-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
}

nav a {
  color: #0066cc;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.lang-switcher {
  text-align: right;
  margin-bottom: 1rem;
}

.lang-switcher a {
  color: #0066cc;
  text-decoration: none;
  margin-left: 0.5rem;
  font-weight: bold;
}

.lang-switcher a:hover {
  text-decoration: underline;
}

.lang-switcher .lang-current {
  margin-left: 0.5rem;
  font-weight: bold;
  color: #222;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #444;
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.post-tags {
  margin-bottom: 1.5rem;
}

.tag {
  display: inline-block;
  background: #f0f0f0;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
  margin-right: 0.5rem;
}

.tag:hover {
  background: #e0e0e0;
}

.post-content {
  margin-top: 1.5rem;
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin-bottom: 0.5rem;
}

.post-list li.post-hidden {
  display: none;
}

.post-list.expanded li.post-hidden {
  display: block;
}

.show-more {
  display: block;
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 0.5rem 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.show-more:hover {
  background: #e0e0e0;
  border-color: #999;
}

.post-list a {
  color: #0066cc;
  text-decoration: none;
}

.post-list a:hover {
  text-decoration: underline;
}

.post-list time {
  color: #666;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li a {
  display: inline-block;
  background: #f0f0f0;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
}

.tag-list li a:hover {
  background: #e0e0e0;
}

footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #666;
  color: #666;
  font-size: 0.85rem;
}

ul {
  padding: revert;
}

.site-logo {
  margin-bottom: 1rem;
}
