/* ================================================================
   style.css — Biblia ŭ Bielarusi  |  Exhibition Audio Guide SPA
   ================================================================

   Palette: dark parchment (#0f0e0c) + warm cream text (#ede5d0)
            + gold leaf accents (#c8a028)
   Display: Cormorant Garamond (historical, editorial)
   Body:    Inter (clean, legible at small sizes)

   Changes from previous version
   ──────────────────────────────
   • BUG FIX: .object-card__title had "--webkit-line-clamp" (double-
     dash = a CSS custom property that does nothing). Fixed to the
     actual vendor prefix "-webkit-line-clamp: 2".
   • BUG FIX: .object-detail__media > picture was declared twice with
     conflicting properties. Merged into a single canonical declaration.
   • DEAD CODE REMOVED: .section-nav, .section-nav__btn, and all
     related rules (~50 lines) were never referenced by any view.
     Views use .obj-nav exclusively. Removed entirely.
   • NEW CLASS: .site-header__controls replaces the inline style
     "display:flex;align-items:center;gap:10px;flex-shrink:0" that
     was previously hardcoded in both HTML files.

   Table of contents
   -----------------
   1.  Custom properties
   2.  Reset
   3.  Base
   4.  Skip link
   5.  Site header + language switcher
   6.  Main / #app viewport
   7.  View wrapper + fade-in
   8.  Loading & error states
   9.  Shared button
   10. Breadcrumb
   11. Home — hero + section list
   12. Section view — intro + collapsible + object cards
   13. Object detail — title, media, audio trigger, text, prev/next
   14. Multiple images — media-stack
   15. Prose (exhibit description HTML)
   16. Persistent audio player footer
   17. Responsive
   ================================================================ */

/* ── 1. Custom properties ─────────────────────────────────────────── */
:root {
  /* ── Shared / structural ── */
  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-body: "Inter", system-ui, sans-serif;

  --header-h: 70px;
  --player-h: 68px;
  --max-w: 740px;
  --max-w-wide: 960px;
  --px: 20px;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --t-fast: 0.14s ease;
  --t-med: 0.26s ease;
  --t-slow: 0.42s ease;

  /* ── Light theme (default) ── */
  --bg: #f7f4ee;
  --bg-2: #eee9de;
  --bg-3: #e5dfd3;
  --surface: #ede7d9;
  --surface-2: #e2dace;

  --border: rgba(140, 100, 20, 0.18);
  --border-2: rgba(140, 100, 20, 0.35);

  --gold: #8c6414;
  --gold-lt: #a87820;
  --gold-dim: rgba(140, 100, 20, 0.1);

  --text: #1a1610;
  --text-2: #4a3e2a;
  --text-3: #8a7a60;

  --error: #c0392b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.14);
}

/* ── Dark theme ── */
[data-theme="dark"] {
  --bg: #0f0e0c;
  --bg-2: #181612;
  --bg-3: #201e18;
  --surface: #252118;
  --surface-2: #2e2b21;

  --border: rgba(200, 160, 40, 0.14);
  --border-2: rgba(200, 160, 40, 0.3);

  --gold: #c8a028;
  --gold-lt: #ddb94a;
  --gold-dim: rgba(200, 160, 40, 0.1);

  --text: #ede5d0;
  --text-2: #b0a080;
  --text-3: #6e6450;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.5);
}

/* ── 2. Reset ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
[hidden] {
  display: none !important;
}

/* ── 3. Base ──────────────────────────────────────────────────────── */
body {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  transition: background-color 0.35s ease, color 0.35s ease;
}

/* Theme-switch colour transitions on structural elements */
.site-header,
.audio-player,
.object-card,
.object-card__img-wrap,
.lang-switcher,
.theme-btn,
.ap-btn,
.obj-nav__btn,
.btn--primary {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: 0.35s;
  transition-timing-function: ease;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── 4. Skip link ─────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -80px;
  left: 14px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 0;
}

/* ── 5. Site header + language switcher ───────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 var(--px);
}

.site-header__logo {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.site-header__logo:hover {
  color: var(--gold);
}

/* NEW: replaces the inline style="display:flex…" in both HTML files */
.site-header__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--text-3);
  transition:
    background var(--t-fast),
    color var(--t-fast);
}
.lang-btn:hover {
  color: var(--text-2);
}
.lang-btn.is-active {
  background: var(--gold);
  color: var(--bg);
}

/* ── Theme toggle button ──────────────────────────────────────────── */
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-2);
  font-size: 16px;
  flex-shrink: 0;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast);
}
.theme-btn:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

/* ── 6. Main / #app viewport ──────────────────────────────────────── */
#app {
  padding-top: var(--header-h);
  padding-bottom: var(--player-h);
  min-height: calc(100dvh - var(--header-h));
  /* outline: none prevents the visible focus ring when #app is focused
     programmatically by the router — keyboard users still see focus
     on interactive elements within the view via :focus-visible */
  outline: none;
}

/* ── 7. View wrapper + fade-in ────────────────────────────────────── */
.view {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px var(--px) 48px;
  animation: fadeUp 0.28s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  will-change: transform, opacity;
}
.view--home    { max-width: var(--max-w); }
.view--section { max-width: var(--max-w-wide); }
.view--object  { max-width: var(--max-w); }
.view--welcome { max-width: var(--max-w); }

.hero--welcome {
  min-height: calc(100vh - var(--header-h) - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-bottom: none;
  padding: 60px 0;
}
.welcome__btn {
  margin-top: 36px;
  padding: 14px 48px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .view {
    animation: none;
  }
}

/* ── 8. Loading & error states ────────────────────────────────────── */
.state-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 40vh;
  color: var(--text-2);
  font-size: 15px;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 2px solid var(--border-2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.state-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-2);
}

.notice {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
}
.notice--error {
  color: var(--error);
}

/* ── 9. Shared button ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition:
    background var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
}
.btn--primary {
  background: var(--gold);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--gold-lt);
  box-shadow: 0 4px 16px rgba(200, 160, 40, 0.3);
  transform: translate3d(0, -2px, 0);
}
.btn--primary:active {
  transform: translateY(0);
}

/* ── 10. Breadcrumb ───────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breadcrumb__link {
  color: var(--text-3);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition:
    color var(--t-fast),
    border-color var(--t-fast);
}
.breadcrumb__link:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.breadcrumb__sep {
  color: var(--text-3);
}

/* ── 11. Home — hero + section list ───────────────────────────────── */
.hero {
  text-align: center;
  padding: 52px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 6vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.015em;
  color: var(--text);
  margin-bottom: 12px;
}
.hero__subtitle {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── 12. Section view — intro + collapsible + object cards ────────── */
.section-intro {
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.section-intro__title {
  font-family: var(--ff-display);
  font-size: clamp(20px, 5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 20px;
}
.section-intro__text {
  max-width: 680px;
}

.collapsible .collapsible__body {
  max-height: 11em;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  transition:
    max-height var(--t-slow),
    mask-image var(--t-slow),
    -webkit-mask-image var(--t-slow);
}
.collapsible.is-expanded .collapsible__body {
  max-height: 600em;
  -webkit-mask-image: none;
  mask-image: none;
}

.collapsible__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--t-fast);
}
.collapsible__toggle:hover {
  color: var(--gold-lt);
}

.object-grid {
  display: grid;
  gap: 10px;
}

.object-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
  min-width: 0;
  min-height: 80px;
}
.object-card:hover {
  background: var(--surface);
}

.object-card__img-wrap {
  flex-shrink: 0;
  width: 85px;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.object-card__thumb {
  height: 100%;
  object-fit: contain;
  display: block;
}
.object-card__thumb--empty {
  width: 100%;
  height: 100%;
  background: var(--surface);
}

.object-card__body {
  flex: 1;
  min-width: 0;
}
.object-card__num {
  display: none;
}

.object-card__title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text);
  display: -webkit-box;
  /* BUG FIX: was "--webkit-line-clamp" (double-dash = CSS custom property,
     does nothing). Corrected to the actual vendor prefix. */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.object-card__info {
  display: block;
  font-size: 14px;
  color: var(--text-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.object-card__arrow {
  font-size: 18px;
  color: var(--text-3);
  flex-shrink: 0;
  transition:
    color var(--t-fast),
    transform var(--t-fast);
}
.object-card:hover .object-card__arrow {
  color: var(--gold);
  transform: translateX(3px);
}

/* ── 13. Object detail ────────────────────────────────────────────── */
.object-detail__title {
  font-family: var(--ff-display);
  font-size: clamp(20px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}

.object-detail__info {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.object-detail__media {
  margin: 0 auto 24px;
  width: 100%;
}

/*
 * BUG FIX: this selector was declared TWICE in the original file with
 * conflicting properties. The first declaration set display + margin,
 * the second set border-radius + overflow + box-shadow. The second
 * silently overwrote the first, losing display:block and margin:0 auto.
 * Now merged into a single canonical rule.
 */
.object-detail__media > picture {
  display: block;
  width: fit-content;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.object-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--r-lg);
}

.object-detail__text {
  margin-top: 28px;
}

/* ── Prev / Next navigation (shared by objectView and sectionView) ── */
.obj-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.obj-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 40%;
  min-width: 0;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition:
    color var(--t-fast),
    border-color var(--t-fast),
    background var(--t-fast);
}
.obj-nav__btn:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}
.obj-nav__arrow {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.obj-nav__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.obj-nav__back {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 6px;
  transition: color var(--t-fast);
}
.obj-nav__back:hover {
  color: var(--gold);
}

/*
 * NOTE: The .section-nav block that existed in the original file has been
 * REMOVED. It was ~50 lines of CSS (selectors: .section-nav, .section-nav__btn,
 * .section-nav__btn:hover, .section-nav__arrow, .section-nav__label,
 * .section-nav__home, .section-nav__home:hover) that were never referenced
 * by any view — sectionView.js uses .obj-nav exclusively. Dead code eliminated.
 */

/* ── Audio trigger button ─────────────────────────────────────────── */
.audio-trigger {
  display: flex;
  justify-content: center;
  margin: 20px 0 28px;
}

.audio-trigger__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background var(--t-fast),
    box-shadow var(--t-fast);
}
.audio-trigger__btn:hover,
.audio-trigger__btn.is-playing {
  background: var(--gold-dim);
  box-shadow: 0 0 18px rgba(200, 160, 40, 0.18);
}

.audio-trigger__icon {
  width: 15px;
  height: 15px;
  fill: var(--gold);
  stroke: none;
  flex-shrink: 0;
}
.audio-trigger__btn .audio-trigger__icon--pause {
  display: none;
}
.audio-trigger__btn.is-playing .audio-trigger__icon--play {
  display: none;
}
.audio-trigger__btn.is-playing .audio-trigger__icon--pause {
  display: block;
}

/* ── 14. Multiple images — media-stack ───────────────────────────── */
/*
 * Multiple images sit side-by-side in a row.
 * Each picture gets an equal share of the container width.
 * Images scale down proportionally; height is capped at 500px.
 */
.media-stack {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.media-stack picture {
  flex: 1 1 0;          /* equal width shares */
  min-width: 0;         /* allow shrinking below natural width */
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

/* ── 15. Prose ────────────────────────────────────────────────────── */
.prose {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
}
.prose p {
  margin-bottom: 16px;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose em {
  font-style: italic;
}
.prose p:empty {
  display: none;
}

/* ── 16. Persistent audio player footer ───────────────────────────── */
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-h);
  z-index: 300;
  background: var(--bg);
  border-top: 1px solid var(--border-2);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}

@supports (backdrop-filter: blur(1px)) {
  .audio-player {
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

.audio-player__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 var(--px);
}

.audio-player__meta {
  flex-shrink: 0;
  max-width: 180px;
  min-width: 0;
  overflow: hidden;
}
.audio-player__title {
  display: block;
  font-family: var(--ff-display);
  font-size: 14px;
  font-style: italic;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-player__controls {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ap-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition:
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast);
}
.ap-btn:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}
.ap-btn.is-muted {
  color: var(--text-3);
}

.ap-icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

.ap-btn--play .ap-icon--pause {
  display: none;
}
.ap-btn--play.is-playing .ap-icon--play {
  display: none;
}
.ap-btn--play.is-playing .ap-icon--pause {
  display: block;
}

.ap-btn.is-muted .ap-vol-on {
  opacity: 0;
}

.ap-time {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 3px;
}
.ap-time__sep {
  color: var(--text-3);
}

.ap-seek,
.ap-volume {
  appearance: none;
  -webkit-appearance: none;
  height: 3px;
  border-radius: 2px;
  background: var(--surface-2);
  outline: none;
  cursor: pointer;
  accent-color: var(--gold);
}
.ap-seek {
  flex: 1;
  min-width: 60px;
}
.ap-volume {
  width: 68px;
  flex-shrink: 0;
}

.ap-seek::-webkit-slider-thumb,
.ap-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}
.ap-seek::-moz-range-thumb,
.ap-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
}

/* ── 17. Responsive ───────────────────────────────────────────────── */

@media (max-width: 768px) {
  :root {
    --header-h: 52px;
    --px: 16px;
  }

  .site-header__logo {
    font-size: 18px;
  }
  .object-card__img-wrap {
    width: 70px;
  }
  .object-card__title {
    font-size: 19px;
  }
  .object-card__info {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 48px;
    --player-h: 56px;
    --px: 14px;
  }

  .site-header__logo {
    font-size: 16px;
  }
  .lang-btn {
    padding: 4px 9px;
    font-size: 11px;
  }

  .view {
    padding: 20px var(--px) 36px;
  }
  .hero {
    padding: 28px 0 32px;
    margin-bottom: 24px;
  }

  .object-card {
    gap: 12px;
    padding: 9px 8px;
  }
  .object-card__img-wrap {
    width: 56px;
  }
  .object-card__title {
    font-size: 17px;
  }
  .object-card__info {
    font-size: 12px;
  }
  .object-card__arrow {
    font-size: 16px;
  }

  .section-intro__title {
    font-size: 20px;
  }
  .section-intro {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .object-detail__title {
    font-size: 22px;
  }
  .object-detail__info {
    font-size: 12px;
  }
  .object-detail__text {
    margin-top: 20px;
  }

  .prose {
    font-size: 15px;
  }

  .breadcrumb {
    font-size: 11px;
    margin-bottom: 20px;
  }

  .obj-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .obj-nav__btn {
    max-width: none;
    font-size: 12px;
    padding: 7px 12px;
  }
  .obj-nav__back {
    order: -1;
    width: 100%;
    text-align: center;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
  }

  .audio-trigger__btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .audio-player__meta {
    display: none;
  }
  .ap-volume {
    display: none;
  }
  .audio-player__controls {
    gap: 8px;
  }
}

@media (max-width: 360px) {
  :root {
    --px: 10px;
  }

  .site-header__logo {
    font-size: 14px;
  }
  .lang-btn {
    padding: 3px 7px;
    font-size: 10px;
  }
  .object-card__img-wrap {
    width: 48px;
  }
  .object-card__title {
    font-size: 15px;
  }
  .object-card {
    gap: 10px;
    padding: 8px 6px;
  }
  .hero__title {
    font-size: 22px;
  }
}
