/*
  Тема Jahred — архив travel/festival отчётов
*/
:root {
  --bg: #eef2ef;
  --bg-elev: #ffffff;
  --ink: #1a2420;
  --muted: #5c6b63;
  --accent: #9a7b2f;
  --accent-2: #2f6b52;
  --line: rgba(26, 36, 32, 0.12);
  --max: 42rem;
  --wide: 68rem;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Literata", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(47, 107, 82, 0.12), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(154, 123, 47, 0.1), transparent 50%),
    linear-gradient(180deg, #f5f8f6 0%, var(--bg) 45%, #e6ebe7 100%);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #7a6120;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(245, 248, 246, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.35rem 0.55rem;
  background: var(--bg-elev);
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ai-disclaimer {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding: 0.35rem 0 0.35rem 0.9rem;
  margin: 0 0 1.5rem;
}

.bands-index {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  columns: 2;
  gap: 1.5rem;
}

.bands-index li {
  break-inside: avoid;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
}

.bands-index a {
  text-decoration: none;
  color: var(--ink);
}

.bands-index a:hover {
  color: var(--accent);
}

.bands-index__count {
  color: var(--muted);
  font-size: 0.85rem;
}

.bands-index__meta {
  color: var(--muted);
  margin: 0 0 1rem;
  font-family: var(--font-display);
}

.bands-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.bands-alpha a {
  color: var(--accent-2);
  text-decoration: none;
}

.bands-alpha a:hover {
  color: var(--accent);
}

.bands-letter {
  margin: 0 0 2rem;
}

.bands-letter__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--accent-2);
  letter-spacing: 0.04em;
}

.entry--wide {
  width: min(100% - 2rem, var(--wide));
}

.site-footer__ai {
  margin-top: 0.75rem;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .bands-index {
    columns: 1;
  }
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav .current-menu-item a {
  color: var(--ink);
}

.hero {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.hero--compact {
  padding: 3rem 0 2rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero__brand span {
  color: var(--accent);
}

.hero__lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 0 1.75rem;
}

.hero__cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.35rem;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--bg-elev);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--ink);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent-2), #245a44);
  border-color: transparent;
  color: #f5f8f6;
}

.btn--accent:hover {
  color: #f5f8f6;
}

.section {
  padding: 3rem 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.report-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.report-card:hover {
  color: var(--accent);
}

.report-card__meta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Лента отчётов на главной и в архивах */
.section--feed {
  padding-top: 2rem;
}

.section--series {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feed-item {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.feed-item:first-child {
  padding-top: 0;
}

.feed-item__media {
  display: block;
  border-radius: 0.45rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feed-item__media:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 123, 47, 0.5);
  box-shadow: 0 10px 28px rgba(26, 36, 32, 0.12);
}

.feed-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-item__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(47, 107, 82, 0.18), rgba(154, 123, 47, 0.12)),
    var(--bg-elev);
}

.feed-item__body {
  min-width: 0;
}

.feed-item__meta {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.feed-item__dot {
  margin-inline: 0.35rem;
}

.feed-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.25;
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.feed-item__title a {
  color: var(--ink);
  text-decoration: none;
}

.feed-item__title a:hover {
  color: var(--accent);
}

.feed-item__excerpt {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-item__more {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.feed-pagination {
  margin-top: 2rem;
}

.feed-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--font-display);
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.85rem;
}

.series-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--bg-elev);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.series-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(26, 36, 32, 0.08);
}

.series-card__count {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.series-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.breadcrumbs {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.5rem 0 1rem;
}

.entry {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 4rem;
}

.entry__header {
  margin-bottom: 2rem;
}

.entry__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.entry__meta {
  font-family: var(--font-display);
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.entry__meta a {
  color: var(--muted);
  text-decoration: none;
}

.entry__meta a:hover {
  color: var(--accent);
}

.entry__content > p:first-of-type {
  font-size: 1.2rem;
  color: var(--ink);
}

.entry--about {
  width: min(100% - 2rem, var(--wide));
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.about__photo {
  margin: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  aspect-ratio: 1 / 1;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__body > p:first-of-type {
  font-size: 1.2rem;
}

.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.about__links a {
  text-decoration: none;
}

@media (max-width: 640px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about__photo {
    max-width: 16rem;
  }
}

.entry__content figure {
  margin: 1.5rem 0;
}

.entry__content figcaption,
.entry__content em.caption {
  font-size: 0.9rem;
  color: var(--muted);
}

.engage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.engage__like {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.engage__views {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--muted);
  cursor: default;
}

.engage__views-count {
  font-weight: 700;
  min-width: 1ch;
}

.engage__like:hover:not(:disabled) {
  color: var(--accent);
  border-color: rgba(154, 123, 47, 0.35);
}

.engage__like.is-liked,
.engage__like:disabled {
  color: #b44;
  border-color: rgba(180, 68, 68, 0.25);
  cursor: default;
}

.engage__like.is-liked .engage__icon--heart path,
.engage__like:disabled .engage__icon--heart path {
  fill: currentColor;
}

.engage__like-count {
  font-weight: 700;
  min-width: 1ch;
}

.engage__divider {
  width: 1px;
  height: 1.4rem;
  background: var(--line);
}

.engage__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.engage__share-label {
  color: var(--muted);
}

.engage__share-btns {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.engage__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--bg-elev);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.engage__share-btn:hover {
  color: var(--accent-2);
  border-color: rgba(47, 107, 82, 0.35);
}

.engage__share-btn.is-copied {
  color: var(--accent-2);
  border-color: rgba(47, 107, 82, 0.35);
}

.engage__icon {
  display: block;
}

@media (max-width: 480px) {
  .engage__divider {
    display: none;
  }

  .engage {
    gap: 0.75rem;
  }
}

.entry__tax {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--muted);
}

.entry__tax a {
  color: var(--muted);
  text-decoration: none;
}

.entry__tax a:hover {
  color: var(--accent);
}

/* Комментарии */
.comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
}

.comments__title {
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
}

.comments__closed {
  color: var(--muted);
}

.comment-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comment-body {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1rem 1.1rem;
}

.comment-author {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.comment-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.comment-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 36rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.35rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

.comment-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.comment-form .form-submit {
  margin-top: 0.75rem;
}

.comment-form input[type="submit"] {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.35rem;
  border: none;
  cursor: pointer;
  color: #f5f8f6;
  background: linear-gradient(135deg, var(--accent-2), #245a44);
}

.comment-form input[type="submit"]:hover {
  filter: brightness(1.08);
}

.archive-header {
  width: min(100% - 2rem, var(--wide));
  margin: 2rem auto 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  margin-top: 2rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .feed-item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .feed-item__media {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover {
    transform: none;
  }
}
