/* ===== 音屿 Blog — Global Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=EB+Garamond:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #0D0A08;
  --bg-secondary: #14100C;
  --bg-card: #1A1511;
  --text-primary: #E8E0D0;
  --text-secondary: #B0A890;
  --text-muted: #7A6B55;
  --accent-gold: #C9A96E;
  --accent-gold-light: #D4A538;
  --accent-burgundy: #6B1A2A;
  --border-subtle: rgba(200, 169, 110, 0.10);
  --border-medium: rgba(200, 169, 110, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif SC', 'EB Garamond', Georgia, serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  min-height: 100vh;
}

/* ===== Navigation ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 10, 8, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
  margin-left: -49px;
}

.nav-logo-img {
  height: 108px;
  width: auto;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== Period Nav Links ===== */
.period-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: color 0.3s;
  position: relative;
}

.period-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s;
}

.period-nav-link:hover,
.period-nav-link.active {
  color: var(--accent-gold);
}

.period-nav-link.active::after {
  width: 100%;
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
  }
}

/* ===== Search Box ===== */
.search-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.search-input {
  flex: 1;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-family: 'Noto Serif SC', 'EB Garamond', Georgia, serif;
  background: rgba(200, 169, 110, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s ease;
  letter-spacing: 0.04em;
}

.search-input::placeholder {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.search-input:focus {
  border-color: rgba(200, 169, 110, 0.35);
  background: rgba(200, 169, 110, 0.10);
  box-shadow: 0 0 12px rgba(200, 169, 110, 0.06);
}

/* 搜索按钮 */
.search-btn {
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-family: 'Noto Serif SC', 'EB Garamond', Georgia, serif;
  background: rgba(200, 169, 110, 0.10);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.search-btn:hover {
  background: rgba(200, 169, 110, 0.20);
  border-color: rgba(200, 169, 110, 0.3);
  color: var(--accent-gold);
}

/* 搜索结果下拉 */
.search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 380px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 200;
  max-height: 420px;
  overflow-y: auto;
}

.search-results.active {
  display: block;
}

.search-result-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 169, 110, 0.06);
  align-items: center;
  transition: background 0.2s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover,
.search-result-item.selected {
  background: rgba(200, 169, 110, 0.08);
}

.search-result-img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 3px;
  overflow: hidden;
}

.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #F0E6D0;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.search-result-excerpt {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.15rem;
}

.search-result-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'EB Garamond', serif;
}

.search-result-meta .dot {
  color: var(--accent-gold);
  margin: 0 0.3rem;
}

.search-hl {
  color: var(--accent-gold);
  font-weight: 600;
}

.search-result-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* 搜索结果滚动条 */
.search-results::-webkit-scrollbar {
  width: 4px;
}
.search-results::-webkit-scrollbar-track {
  background: transparent;
}
.search-results::-webkit-scrollbar-thumb {
  background: rgba(200, 169, 110, 0.15);
  border-radius: 2px;
}

/* ===== Container ===== */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Album Cover Carousel ===== */
.album-carousel {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12rem 2rem 3rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

.album-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(120, 60, 30, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(180, 140, 60, 0.06) 0%, transparent 50%);
  z-index: 0;
}

.carousel-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 960px;
}

.carousel-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 340px;
}

.carousel-slide {
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.carousel-slide.active {
  z-index: 10;
}

/* 封面框 */
.carousel-frame {
  width: 280px;
  height: 280px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(200, 169, 110, 0.20);
  box-shadow:
    0 0 40px rgba(200, 169, 110, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.carousel-slide.active .carousel-frame {
  border-color: rgba(200, 169, 110, 0.35);
  box-shadow:
    0 0 50px rgba(200, 169, 110, 0.15),
    0 24px 64px rgba(0, 0, 0, 0.5);
}

.carousel-link-wrap {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.carousel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 左右箭头 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(200, 169, 110, 0.06);
  border: 1px solid rgba(200, 169, 110, 0.15);
  color: var(--text-muted);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
}

.carousel-btn:hover {
  background: rgba(200, 169, 110, 0.15);
  border-color: rgba(200, 169, 110, 0.3);
  color: var(--accent-gold);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* 指示点 */
.carousel-dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.15);
  border: 1px solid rgba(200, 169, 110, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 0 8px rgba(200, 169, 110, 0.3);
}

.carousel-dots .dot:hover {
  background: rgba(200, 169, 110, 0.3);
}

/* ===== Period Filter ===== */
.period-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border-medium);
}

.period-btn {
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-family: 'Noto Serif SC', 'EB Garamond', Georgia, serif;
  letter-spacing: 0.06em;
  background: rgba(200, 169, 110, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.period-btn:hover {
  background: rgba(200, 169, 110, 0.14);
  border-color: rgba(200, 169, 110, 0.25);
  color: var(--text-secondary);
}

.period-btn.active {
  background: rgba(200, 169, 110, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.period-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-family: 'EB Garamond', Georgia, serif;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  background: rgba(200, 169, 110, 0.08);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.post-card.hidden {
  display: none;
}

.section-heading {
  font-size: 1.6rem;
  font-weight: 600;
  color: #F0E6D0;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-heading .ornament {
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-weight: 400;
}

@media (max-width: 640px) {
  .period-filter {
    gap: 0.4rem;
  }
  .period-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
  }
  .period-tag {
    font-size: 0.65rem;
    margin-left: 0.3rem;
  }
}

/* ===== Post Cards ===== */
.post-list {
  padding: 4rem 0;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  cursor: default;
}

.post-card-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.post-card-img {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 4px;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.post-card:hover {
  border-color: var(--border-medium);
  background: #1E1914;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.post-card .post-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'EB Garamond', serif;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.post-card .post-meta span {
  color: var(--accent-gold);
  margin: 0 0.4rem;
}

.post-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F0E6D0;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.post-card h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.post-card h2 a:hover {
  color: var(--accent-gold);
}

.post-card .excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.post-card .read-more {
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.post-card .read-more:hover {
  color: var(--accent-gold-light);
}

/* ===== About Section ===== */
.about-section {
  padding: 3rem 0 4rem;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.about-section p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ===== Article Page ===== */
.article-hero {
  padding: 12rem 0 3rem;
  text-align: center;
}

.article-hero .back-link {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.article-hero .back-link:hover {
  color: var(--accent-gold);
}

.article-hero .article-category {
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.article-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #F0E6D0;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.article-hero .article-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'EB Garamond', serif;
}

.article-hero .article-meta span {
  color: var(--accent-gold);
  margin: 0 0.6rem;
}

.article-body {
  padding-bottom: 4rem;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F0E6D0;
  letter-spacing: 0.06em;
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border-medium);
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin: 2rem 0 1rem;
  letter-spacing: 0.04em;
}

.article-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #D4C5A9;
  margin: 1.5rem 0 0.8rem;
}

.article-body p {
  margin-bottom: 1.2rem;
  text-align: justify;
  color: var(--text-secondary);
}

.article-body blockquote {
  color: #B8A880;
  font-style: italic;
  padding: 1.2rem 1.8rem;
  margin: 1.5rem 0;
  border-left: 3px solid var(--accent-gold);
  background: linear-gradient(to right, rgba(200, 169, 110, 0.05), transparent);
  line-height: 1.8;
  font-size: 0.95rem;
}

.article-body blockquote .source {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-style: italic;
}

.article-body blockquote .source strong {
  color: var(--accent-gold);
  font-style: normal;
}

.article-body .info-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 2rem;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.article-body .info-grid .label {
  color: var(--accent-gold);
  white-space: nowrap;
  font-weight: 500;
}

.article-body .info-grid .value {
  color: var(--text-secondary);
}

.article-body .info-grid a {
  color: var(--accent-gold-light);
  text-decoration: none;
  transition: color 0.3s;
}

.article-body .info-grid a:hover {
  color: #E8C060;
  text-decoration: underline;
}

.article-body .track-section {
  margin: 2rem 0;
}

.article-body .track-section .composer-label {
  font-family: 'EB Garamond', 'Noto Serif SC', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.article-body .track-section .work-label {
  font-size: 1rem;
  font-weight: 500;
  color: #D4C5A9;
  font-style: italic;
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 2px solid var(--border-medium);
}

.article-body .track-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.4rem 0;
}

.article-body .track-num {
  color: var(--text-muted);
  font-size: 0.82rem;
  min-width: 1.8rem;
  text-align: right;
  font-family: 'EB Garamond', serif;
  font-weight: 500;
}

.article-body .track-name {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.article-body .track-dur {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: 'EB Garamond', serif;
  min-width: 3.2rem;
  text-align: right;
}

.article-body .track-analysis {
  padding: 0.5rem 0 0.8rem 2.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.7;
}

.article-body .composer-card {
  background: rgba(200, 169, 110, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin: 1.2rem 0;
}

.article-body .composer-card h4 {
  margin-top: 0;
}

.article-body .composer-card .dates {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 400;
}

.article-body .performer-card {
  background: rgba(200, 169, 110, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin: 1.2rem 0;
}

.article-body .performer-card h4 {
  margin-top: 0;
}

.article-body .review-card {
  background: rgba(200, 169, 110, 0.03);
  border-left: 3px solid var(--accent-gold);
  padding: 1.2rem 1.8rem;
  margin: 1.2rem 0;
  border-radius: 0 4px 4px 0;
}

.article-body .review-card .source {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-style: italic;
}

.article-body .review-card .source strong {
  color: var(--accent-gold);
  font-style: normal;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

footer a {
  color: var(--accent-gold-light);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #E8C060;
}

/* Footer about link */
.footer-about a {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-about a:hover {
  color: var(--accent-gold);
}
.footer-about .dot {
  color: var(--accent-gold);
  margin: 0 0.3rem;
  font-size: 0.7rem;
}

/* ===== Responsive ===== */

/* Tablet / small desktop */
@media (max-width: 900px) {
  nav { padding: 0 1.2rem; }
}

/* Mobile */
@media (max-width: 640px) {
  /* --- Navigation --- */
  nav {
    padding: 0;
  }
  .nav-inner {
    flex-wrap: nowrap;
    height: auto;
    min-height: 48px;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    justify-content: flex-start;
  }
  .nav-logo {
    margin-left: 0;
    flex-shrink: 0;
  }
  .nav-logo-img {
    height: 34px;
  }
  .search-container {
    position: relative;
    left: auto;
    transform: none;
    flex: 1;
    min-width: 0;
    margin: 0;
  }
  .search-input {
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
  }
  .search-btn {
    font-size: 0.74rem;
    padding: 0.3rem 0.6rem;
  }
  .search-results {
    min-width: unset;
    left: 0;
    right: 0;
    max-height: 300px;
  }
  .nav-links {
    gap: 0.8rem;
    order: 2;
    margin-left: auto;
  }
  .nav-links a {
    font-size: 0.78rem;
  }

  /* --- Album Carousel --- */
  .album-carousel {
    min-height: 50vh;
    padding: 7rem 1rem 2rem;
  }
  .carousel-track {
    height: 200px;
  }
  .carousel-frame {
    width: 150px;
    height: 150px;
  }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }
  .carousel-dots { gap: 8px; margin-top: 1rem; }
  .carousel-dots .dot { width: 8px; height: 8px; }

  /* --- Post Cards --- */
  .container-wide { padding: 0 1rem; }
  .post-list { padding: 2rem 0; }
  .post-card {
    padding: 1.2rem;
  }
  .post-card-content {
    display: block;
    overflow: hidden;
  }
  .post-card-img {
    float: left;
    width: 110px;
    height: 110px;
    margin: 0.6rem 1rem 0.6rem 0;
    shape-outside: inset(0);
  }
  .post-card h2 {
    font-size: 1.1rem;
  }
  .post-card .excerpt {
    font-size: 0.88rem;
  }
  .section-heading {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
  }

  /* --- Containers --- */
  .container { padding: 0 1rem; }
  .container-wide { padding: 0 1rem; }

  /* --- Article Hero --- */
  .article-hero { padding: 7rem 1rem 2rem; }
  .article-hero h1 { font-size: 1.4rem; }

  /* --- Article Body --- */
  .article-body h2 { font-size: 1.25rem; }
  .article-body h3 { font-size: 1.05rem; }
  .article-body p { font-size: 0.92rem; }
  .article-body blockquote {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
  }
  .info-grid { grid-template-columns: 1fr; gap: 0.3rem; }
  .article-body .info-grid { grid-template-columns: 1fr; }
  .article-body .track-analysis { padding-left: 0; }
  .article-body .track-name { font-size: 0.88rem; }
  .article-body .composer-card,
  .article-body .performer-card {
    padding: 1rem 1.2rem;
  }
  .article-body .review-card {
    padding: 1rem 1.2rem;
  }
  .article-body .composer-card .dates {
    display: block;
    font-size: 0.8rem;
  }

  /* --- About Section --- */
  .about-section { padding: 2rem 0 3rem; }
  .about-section p { font-size: 0.88rem; }

  /* --- Footer --- */
  footer { padding: 2rem 0; }
}

/* Small phones */
@media (max-width: 400px) {
  .nav-logo-img { height: 28px; }
  .nav-inner { gap: 0.3rem; padding: 0.3rem 0.5rem; min-height: 42px; }
  .search-input { font-size: 0.7rem; padding: 0.25rem 0.5rem; }
  .search-btn { font-size: 0.68rem; padding: 0.25rem 0.5rem; }
  .carousel-track { height: 170px; }
  .carousel-frame {
    width: 130px;
    height: 130px;
  }
  .album-carousel { padding: 6rem 0.5rem 1.5rem; }
  .post-card { padding: 1rem; }
  .post-card-img {
    float: left;
    width: 90px;
    height: 90px;
    margin: 0.5rem 0.8rem 0.5rem 0;
  }
  .article-hero h1 { font-size: 1.2rem; }
  .nav-logo-img { height: 34px; }
  .nav-links a { font-size: 0.72rem; }
  .nav-links { gap: 0.6rem; }
}

/* ===== Lightbox ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
  justify-content: center;
  align-items: center;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: lightbox-fadein 0.25s ease;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: rgba(255,255,255,0.5);
  font-size: 2.2rem;
  font-family: 'EB Garamond', serif;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
}
.lightbox-close:hover {
  color: #fff;
}
@keyframes lightbox-fadein {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.cover-thumb {
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.cover-thumb:hover {
  opacity: 0.85;
}
