.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: .86rem;
  font-weight: 700;
}

.article-back:hover {
  border-color: var(--ink);
}

.article-hero::after,
.featured-image::after,
.post-cover::after {
  content: '';
  position: absolute;
  z-index: 3;
  width: 92px;
  height: 34px;
  inset-inline-start: 18px;
  bottom: 18px;
  background: url('/assets/img/logo-ar.png') center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: .7;
  pointer-events: none;
}

.article-hero::after {
  width: 130px;
  height: 48px;
  inset-inline-start: 28px;
  bottom: 28px;
  opacity: .62;
}

@media (max-width: 900px) {
  .site-header .header-inner {
    padding: 10px 0;
  }

  .site-header .brand img {
    width: auto;
    height: 46px;
    max-width: 170px;
    object-fit: contain;
  }

  .site-header .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 16px;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0,0,0,.14);
  }

  body.nav-open .site-header .nav {
    display: flex;
  }

  .site-header .nav a {
    display: block;
    padding: 13px 15px;
    border-radius: 11px;
  }

  .site-header .nav a:hover {
    background: var(--bg-soft);
  }

  .site-header .nav a::after {
    display: none;
  }

  .site-header .header-actions .btn {
    display: none;
  }

  .site-header .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
  }

  .site-header .nav {
    display: none !important;
  }

  body.nav-open .site-header .nav {
    display: flex !important;
  }

  .article-hero {
    aspect-ratio: 4 / 3;
    min-height: 300px;
  }

  .hero-content {
    padding: 24px 18px;
  }

  .article-layout {
    display: block;
    padding: 28px 0 54px;
  }

  .article-sidebar {
    position: static;
    margin-top: 30px;
  }

  .article-body {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .site-header .brand {
    display: block;
    width: 156px;
    height: 48px;
    overflow: hidden;
  }

  .site-header .brand img {
    width: 184px;
    max-width: none;
    height: 184px;
    object-fit: contain;
    transform: translate(0, -68px);
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .breadcrumb {
    padding: 12px 0;
    font-size: .78rem;
  }

  .article-hero {
    min-height: 340px;
  }

  .hero-content h1 {
    font-size: 1.65rem;
  }

  .hero-meta {
    gap: 8px 14px;
    font-size: .76rem;
  }

  .article-body p,
  .article-body li {
    font-size: .98rem;
  }
}
