.about-list-page,
.about-article-page {
  display: grid;
  gap: 24px;
}

.about-list-page {
  width: min(1180px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.about-list-page__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: end;
  padding: 36px 0 30px;
  border-bottom: 1px solid var(--line-soft);
}

.about-list-page__header > div {
  max-width: 790px;
}

.about-list-page__header > div > span {
  color: #8f542d;
  font-size: 11px;
  font-weight: 900;
}

.about-list-page__header h1 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: 0;
}

.about-list-page__header p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.about-list-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(15, 118, 110, .2);
  border-radius: 6px;
  background: rgba(255, 255, 255, .65);
  color: var(--muted);
}

.about-list-search:focus-within {
  border-color: rgba(15, 118, 110, .5);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .08);
}

.about-list-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.about-list-page__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 12px;
  border-bottom: 1px solid var(--line-soft);
}

.about-list-page__bar strong {
  color: var(--text);
  font-size: 18px;
}

.about-list-page__bar span {
  color: var(--muted);
  font-size: 12px;
}

.about-article-list {
  display: grid;
}

.about-article-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: center;
  min-height: 204px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.about-article-row[hidden] {
  display: none;
}

.about-article-row__media {
  display: grid;
  place-items: center;
  width: 300px;
  height: 164px;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, #dce9e5, #edf2ef);
}

.about-article-row__media img:not(.about-article-row__logo) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-article-row__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: .6;
}

.about-article-row__content {
  min-width: 0;
}

.about-article-row__meta {
  align-self: start;
  display: grid;
  gap: 7px;
  padding-top: 5px;
}

.about-article-row__meta time {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.about-article-row__meta span {
  color: var(--muted);
  font-size: 11px;
}

.about-article-row__content h2 {
  margin: 7px 0 0;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 0;
}

.about-article-row__content h2 a {
  color: var(--text);
  text-decoration: none;
}

.about-article-row__content h2 a:hover {
  color: var(--primary);
}

.about-article-row__content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.about-article-row__read {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 13px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.about-article-row__read:hover {
  color: #9a4f20;
}

.about-list-empty {
  margin: 0;
  padding: 42px 0;
  color: var(--muted);
  text-align: center;
}

.about-pagination {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  gap: 18px;
  align-items: center;
  padding: 28px 0 8px;
}

.about-pagination__direction {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.about-pagination__direction:last-child {
  justify-self: end;
}

.about-pagination__direction.is-disabled {
  color: var(--muted);
  opacity: .48;
}

.about-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: center;
}

.about-pagination__pages a,
.about-pagination__pages span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}

.about-pagination__pages a:hover {
  background: rgba(15, 118, 110, .08);
  color: var(--primary);
}

.about-pagination__pages .is-current {
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.about-article-page__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.about-article-page__breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.about-article-page__breadcrumb a:hover {
  color: var(--primary);
}

.about-article-page__breadcrumb i {
  font-size: 8px;
}

.about-article-page__article {
  width: min(100%, 900px);
  margin: 8px auto 0;
}

.about-article-page__header {
  padding: 18px 0 28px;
  border-bottom: 1px solid var(--line-soft);
}

.about-article-page__header > span {
  color: #8f542d;
  font-size: 12px;
  font-weight: 900;
}

.about-article-page__header h1 {
  max-width: 850px;
  margin: 10px 0 0;
  color: var(--text);
  font-size: 40px;
  line-height: 1.32;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.about-article-page__header > p {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.about-article-page__header > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.about-article-page__header time,
.about-article-page__header > div > span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.about-article-page__cover {
  width: 100%;
  max-height: 430px;
  overflow: hidden;
  margin: 28px 0 0;
  border-radius: 8px;
  background: #dce7e3;
}

.about-article-page__cover img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.about-article-page__toc {
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 255, 255, .35);
}

.about-article-page__toc[hidden] {
  display: none;
}

.about-article-page__toc strong {
  color: var(--text);
  font-size: 14px;
}

.about-article-page__toc nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin-top: 11px;
}

.about-article-page__toc a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}

.about-article-page__toc a:hover {
  color: var(--primary);
}

.about-article-page__content.content {
  width: min(100%, 760px);
  margin: 34px auto 0;
  color: var(--text);
  font-size: 16px;
  line-height: 2;
}

.about-article-page__content.content > :first-child {
  margin-top: 0;
}

.about-article-page__content.content h2 {
  scroll-margin-top: 24px;
  margin: 43px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: 0;
}

.about-article-page__content.content h3 {
  margin: 30px 0 13px;
  color: var(--text);
  font-size: 19px;
  letter-spacing: 0;
}

.about-article-page__content.content p,
.about-article-page__content.content ul,
.about-article-page__content.content ol,
.about-article-page__content.content blockquote {
  margin: 0 0 20px;
}

.about-article-page__content.content img {
  max-width: 100%;
  margin: 26px auto;
  border-radius: 6px;
}

.about-article-page__content.content a {
  color: var(--primary);
  text-underline-offset: 3px;
}

.about-article-page__content.content blockquote {
  padding: 16px 19px;
  border-left: 3px solid #b86b35;
  background: rgba(184, 107, 53, .08);
}

.about-article-page__footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  width: min(100%, 760px);
  margin: 42px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.about-article-page__footer a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

:root[data-theme="dark"] .about-list-search,
:root[data-theme="dark"] .about-article-page__toc {
  border-color: rgba(125, 211, 199, .16);
  background: rgba(255, 255, 255, .04);
}

:root[data-theme="dark"] .about-article-row__media,
:root[data-theme="dark"] .about-article-page__cover {
  background: #17251f;
}

:root[data-theme="dark"] .about-list-page__header > div > span,
:root[data-theme="dark"] .about-article-page__header > span {
  color: #f4bd84;
}

@media (max-width: 900px) {
  .about-list-page__header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-list-search {
    width: 100%;
  }

  .about-article-row {
    grid-template-columns: 82px minmax(0, 1fr) 210px;
    gap: 20px;
  }

  .about-article-row__media {
    width: 210px;
    height: 126px;
  }
}

@media (max-width: 640px) {
  .about-article-row {
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 14px;
    min-height: 0;
  }

  .about-article-row__media {
    width: 110px;
    height: 88px;
  }

  .about-article-row__content h2 {
    font-size: 16px;
  }

  .about-article-row__meta {
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .about-article-row__content {
    grid-column: 1;
    grid-row: 2;
  }

  .about-article-row__media {
    grid-column: 2;
    grid-row: 2;
  }

  .about-article-row__content p,
  .about-article-row__read {
    display: none;
  }

  .about-article-page__header h1 {
    font-size: 30px;
  }

  .about-article-page__cover,
  .about-article-page__cover img {
    height: 270px;
  }

  .about-article-page__toc nav {
    grid-template-columns: 1fr;
  }

  .about-pagination {
    grid-template-columns: 1fr 1fr;
  }

  .about-pagination__pages {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}
