.category-page.is-theory-gallery {
  width: min(1320px, 100% - 40px);
  padding: 24px 0 56px;
}

.category-page.is-theory-gallery .category-page__inner {
  gap: 22px;
}

.category-page.is-theory-gallery .category-page__hero {
  padding: 24px 28px;
  border-color: rgba(145, 63, 45, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(214, 167, 116, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(245, 239, 228, 0.92));
  box-shadow: 0 16px 36px rgba(34, 49, 70, 0.07);
}

.category-page.is-theory-gallery .category-page__eyebrow {
  margin-bottom: 6px;
  color: rgba(139, 53, 35, 0.76);
  letter-spacing: 0.12em;
}

.category-page.is-theory-gallery .category-page__hero h1 {
  color: #15304f;
  line-height: 1.2;
}

.category-page.is-theory-gallery .category-page__hero p:last-child {
  margin-top: 10px;
  max-width: 68ch;
  color: #536274;
}

.category-page.is-theory-gallery .category-page__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.category-page.is-theory-gallery .category-page__item {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 12px;
  border-color: rgba(26, 48, 77, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(251, 247, 240, 0.9));
  box-shadow: 0 18px 36px rgba(30, 44, 63, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-page.is-theory-gallery .category-page__item:hover,
.category-page.is-theory-gallery .category-page__item:focus-within {
  transform: translateY(-2px);
  border-color: rgba(145, 63, 45, 0.14);
  box-shadow: 0 22px 42px rgba(30, 44, 63, 0.1);
}

.category-page.is-theory-gallery .category-page__cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: none;
  margin-bottom: 0;
  border-radius: 18px;
  object-fit: cover;
  background:
    radial-gradient(circle at top left, rgba(214, 167, 116, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(16, 42, 73, 0.08), rgba(145, 63, 45, 0.08));
}

.category-page.is-theory-gallery .category-page__date {
  display: none;
}

.category-page.is-theory-gallery .category-page__item a {
  display: -webkit-box;
  overflow: hidden;
  color: #152944;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-page.is-theory-gallery .category-page__item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #5f6d7d;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.category-page.is-theory-gallery .category-page__item a:hover,
.category-page.is-theory-gallery .category-page__item a:focus-visible {
  color: #8b3523;
  outline: none;
}

@media (max-width: 900px) {
  .category-page.is-theory-gallery {
    width: min(100% - 28px, 900px);
  }

  .category-page.is-theory-gallery .category-page__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .category-page.is-theory-gallery {
    width: min(100% - 24px, 720px);
    padding-top: 20px;
  }

  .category-page.is-theory-gallery .category-page__hero {
    padding: 20px 18px;
  }

  .category-page.is-theory-gallery .category-page__item {
    padding: 10px;
  }
}
