.page-article {
  padding: 18px 0 0;
  background: var(--bg);
}

.article-wrap {
  display: grid;
  gap: 16px;
}

.article-main {
  background: var(--card);
  border: 0;
  padding: 20px 22px;
  position: relative;
  z-index: 0;
}

.article-main::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--card);
  z-index: -1;
}

.back-link {
  margin: 0 0 14px;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.86;
}

.back-link a {
  color: var(--text);
}

.crumb {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.1rem 0.42rem;
}

.article-main h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.2;
  color: #2f6f5f;
}

.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  color: #3a816e;
}

.article-content a {
  color: #a06a00;
  font-weight: 600;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.article-content a:hover {
  color: #845600;
}

.lead {
  margin: 0 0 12px;
  color: var(--text);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.article-main > p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
}

.article-tags-block {
  margin-top: 18px;
  background: var(--focus-bg);
  border: 1px solid var(--line);
  padding: 14px 16px;
}

.article-tags-block h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.article-tags-block .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags-block .tags a {
  background: var(--btn);
  color: #fff;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-size: 0.82rem;
  transition: background 0.2s ease;
}

.article-tags-block .tags a:hover {
  background: var(--btn-hover);
}

.article-more {
  background: transparent;
  border: 0;
  padding: 18px 16px 16px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08));
}

.article-more__head {
  margin-bottom: 16px;
}

.article-more__head h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.article-more__panel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-height: 360px;
  height: auto;
  background: var(--card);
}

.article-more__panel img {
  width: 520px;
  height: 360px;
  min-height: 360px;
  flex-shrink: 0;
  display: block;
  align-self: start;
  object-fit: cover;
  object-position: center;
  background: var(--nav-bg);
}

.more-list {
  background: var(--card);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  height: 100%;
  overflow: auto;
}

.more-list details {
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
}

.more-list details:last-child {
  border-bottom: 0;
}

.more-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 24px;
  font-size: 1.1rem;
  color: var(--text);
}

.more-list summary::-webkit-details-marker {
  display: none;
}

.more-list summary::after {
  content: "⌄";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1;
  transition: transform 0.2s ease;
}

.more-list details[open] summary::after {
  transform: rotate(180deg);
}

.more-list p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .page-article {
    padding-top: 12px;
  }

  .article-main,
  .article-more {
    padding: 14px;
  }

  .article-main h1 {
    font-size: 2rem;
  }

  .article-main > p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .article-more__panel {
    grid-template-columns: 1fr;
    height: auto;
  }

  .article-more__panel img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 520 / 360;
  }

  .more-list {
    min-height: 0;
  }

  .more-list summary {
    font-size: 1.05rem;
  }

  .more-list summary::after {
    font-size: 1rem;
  }

  .more-list p {
    font-size: 0.95rem;
  }
}
