/* Archive: preview photo only when a featured image is set */
.category-protokoly .posts-wrapper {
  display: flex !important;
  flex-direction: column;
  gap: 0.5rem;
}

.category-protokoly article.layout-grid.gamayun-protokol-has-thumb {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gamayun-border);
}

.category-protokoly article.layout-grid.gamayun-protokol-has-thumb:last-child {
  border-bottom: 0;
}

.category-protokoly article.layout-grid.gamayun-protokol-has-thumb .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.category-protokoly article.gamayun-protokol-has-thumb .nv-post-thumbnail-wrap {
  flex: 0 0 160px;
  max-width: 160px;
  margin: 0;
}

.category-protokoly article.gamayun-protokol-has-thumb .nv-post-thumbnail-wrap a {
  display: block;
  line-height: 0;
}

.category-protokoly article.gamayun-protokol-has-thumb .nv-post-thumbnail-wrap img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  border-radius: 4px;
}

.category-protokoly article.gamayun-protokol-has-thumb .blog-entry-title {
  flex: 1 1 calc(100% - 180px);
  min-width: 12rem;
  margin: 0;
}

.category-protokoly .excerpt-wrap {
  display: none;
}

.category-protokoly .nv-meta-list:empty {
  display: none;
}

/* Single: shorthand only */
.gamayun-protokol-shorthand {
  text-align: center;
  margin: 0 0 1.75rem;
  padding: 0.25rem 0;
}

.gamayun-protokol-shorthand__line {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gamayun-gold), transparent);
  width: min(60%, 24rem);
  margin: 0.65rem auto;
}

.gamayun-protokol-shorthand__motto {
  font-family: var(--gamayun-font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--gamayun-purple-primary);
  font-weight: 600;
  margin: 0.5rem 0;
}

@media (max-width: 767px) {
  .category-protokoly article.gamayun-protokol-has-thumb .content {
    flex-direction: column;
    align-items: stretch;
  }

  .category-protokoly article.gamayun-protokol-has-thumb .nv-post-thumbnail-wrap {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .category-protokoly article.gamayun-protokol-has-thumb .nv-post-thumbnail-wrap img {
    height: 120px;
  }

  .category-protokoly article.gamayun-protokol-has-thumb .blog-entry-title {
    flex: 1 1 100%;
    min-width: 0;
    font-size: 0.9375rem;
  }

  .gamayun-protokol-shorthand {
    margin: 0 0 0.65rem !important;
    padding: 0 !important;
  }

  .gamayun-protokol-shorthand__line {
    margin: 0.35rem auto !important;
    width: min(70%, 16rem);
  }

  .gamayun-protokol-shorthand__motto {
    font-size: 0.8rem !important;
    letter-spacing: 0.06em;
    margin: 0.25rem 0 !important;
  }
}
