/* /themes/apt/post.css - vertical simple + recent text list */

.post { padding: 24px 16px; }

.post__inner {
  max-width: 720px;
  margin: 0 auto;
  background-color: #fff;
  padding: 10px;
}

/* header */
.post__header {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.post__title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

.post__title-link {
  color: inherit;
  text-decoration: none;
}

.post__title-link:hover {
  text-decoration: underline;
}

.post__meta {
  font-size: 13px;
  color: #888;
}

/* image */
.post__figure { margin: 16px 0; }
.post__image { width: 100%; height: auto; display: block; background: #f3f3f3; }

/* content */
.post__content {
  font-size: 16px;
  line-height: 1.8;
  word-break: break-word;
}

.post__content p { margin: 0 0 14px; }

.post__content a {
  color: #03c75a;
  text-decoration: underline;
}

/* recent posts (text list) */
.post-recent {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}

.post-recent__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.post-recent__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-recent__item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.post-recent__link {
  display: block;
  color: #111;
  text-decoration: none;
  line-height: 1.4;
}

.post-recent__link:hover {
  text-decoration: underline;
}

.post-recent__date {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #888;
}

/* focus */
.post__title-link:focus-visible,
.post__content a:focus-visible,
.post-recent__link:focus-visible {
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

/* mobile */
@media (max-width: 520px) {
  .post { padding: 18px 14px; }
  .post__title { font-size: 22px; }
  .post__content { font-size: 15.5px; }
}
