:root {
  --fq-accent: #920e5d;
  --fq-ink: #222;
  --fq-muted: #8f8f8f;
  --fq-line: #e6e6e6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  background: #fff !important;
  color: var(--fq-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

a:hover {
  color: var(--fq-accent) !important;
}

.content {
  width: calc(100% - 40px) !important;
  max-width: 990px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.logo-wrapper {
  height: 54px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}

.t-logo {
  width: 32px;
  height: 38px;
  color: #222 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
  text-decoration: none;
}

.search-wrapper {
  position: static !important;
  display: block !important;
  margin: 0;
}

.search-wrapper input {
  width: 215px;
  max-width: 42vw;
  height: 32px;
  border: 0;
  border-radius: 2px;
  background: #f4f4f4;
  color: #777;
  padding: 0 12px;
  font-size: 13px;
  outline: 0;
}

.search-wrapper input:focus {
  background: #eee;
}

.top-blog-header {
  margin: 0 auto 32px !important;
  text-align: center;
}

.header-image-wrapper {
  width: calc(100% - 40px);
  max-width: 650px;
  height: auto !important;
  margin: 0 auto !important;
  overflow: visible;
  background: #fff;
  position: relative !important;
}

.header-image {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  background: #fff !important;
  opacity: 1 !important;
  transform: none !important;
}

.header-image img {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  object-fit: initial;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.blog-title-wrapper {
  position: relative;
  margin-top: 12px !important;
  padding: 0 0 10px !important;
  text-align: center;
}

.blog-title {
  margin: 0 0 14px !important;
  color: #111 !important;
  font-size: 32px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

.blog-title a {
  color: #111 !important;
  text-decoration: none !important;
}

.inline-nav {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 16px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.inline-nav li {
  margin: 0 !important;
  padding: 0 !important;
}

.inline-nav a,
.inline-nav span {
  color: #4e4e4e !important;
  font-size: 13px !important;
  line-height: 1.4;
  text-decoration: none !important;
}

.description {
  max-width: 700px;
  margin: 22px auto 0;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}

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

.description a {
  color: var(--fq-accent) !important;
  text-decoration: underline;
}

.tag-nav {
  max-width: 700px;
  margin: 18px auto 0;
}

.tag-nav .inline-nav {
  justify-content: flex-start;
}

#posts {
  display: block !important;
  padding: 0 0 42px !important;
}

.post-list {
  display: block;
  column-count: 3;
  column-gap: 30px;
}

.index-page.grid #posts article,
#posts article.visible {
  position: static !important;
  float: none !important;
  display: inline-block !important;
  width: 100% !important;
  margin: 0 0 30px !important;
  break-inside: avoid;
  page-break-inside: avoid;
  vertical-align: top;
  opacity: 1 !important;
}

.post-wrapper {
  overflow: hidden;
  border: 1px solid var(--fq-line);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.post {
  background: #fff !important;
}

.post-content,
.caption,
.body-copy {
  color: #333 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.photo-wrapper,
.photo-wrapper-inner {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f6f6f6;
}

.photo-wrapper img,
.single-photo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.caption,
.text-content,
.body-copy {
  padding: 20px 22px !important;
}

#posts .caption .title,
#posts .text-content .title,
#posts .post-content h1.title,
#posts .post-content h2.title {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  margin: 0 0 10px !important;
  color: #111 !important;
  font-size: 22px !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

#posts .caption .title a,
#posts .text-content .title a {
  display: inline !important;
  color: #111 !important;
  text-decoration: none !important;
}

.caption p,
.text-content p,
.body-copy p {
  margin: 0 0 15px !important;
}

.body-copy p:last-child,
.caption p:last-child,
.text-content p:last-child {
  margin-bottom: 0 !important;
}

.body-copy a {
  color: var(--fq-accent) !important;
  text-decoration: underline;
}

.body-copy a.fq-target-link,
.caption p a.fq-target-link,
.text-content p a.fq-target-link {
  color: var(--fq-accent) !important;
  text-decoration: none !important;
}

.body-copy a.fq-target-link:hover,
.caption p a.fq-target-link:hover,
.text-content p a.fq-target-link:hover {
  text-decoration: underline !important;
}

.body-copy h2 {
  margin: 24px 0 10px !important;
  color: #111 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.body-copy ul {
  margin: 0 0 16px 20px !important;
  padding: 0 0 0 18px !important;
}

.body-copy li {
  margin: 0 0 7px !important;
}

.inline-meta.post-extra {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 0 22px 18px !important;
  color: #aaa;
  font-size: 13px !important;
  line-height: 1.35;
}

.inline-meta.post-extra .meta-item {
  color: #aaa !important;
  font-size: 13px !important;
  line-height: 1.35;
  text-decoration: none !important;
}

.tag-link::before {
  content: "#";
}

.panel {
  border-top: 1px solid var(--fq-line);
  background: #fff;
}

.post-footer {
  min-height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px !important;
}

.date,
.date-notes a {
  color: var(--fq-muted) !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

.index-page .post-footer {
  justify-content: flex-end;
}

.index-page .date-notes {
  display: none !important;
}

.post-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 90px;
}

.post-controls .controls-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  height: 24px;
}

.post-controls .control {
  width: 24px;
  height: 24px;
  display: block;
  color: #b8b8b8;
  line-height: 24px;
  text-align: center;
}

.share-control .pop,
.share-control .selector,
.reblog_button,
.like_button {
  width: 24px;
  height: 24px;
  display: block !important;
  color: #b8b8b8 !important;
  font-size: 20px;
  line-height: 24px !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: color .12s ease;
}

.share-control .selector:hover,
.reblog_button:hover,
.like_button:hover {
  color: #777 !important;
}

.post-controls .control .share::before,
.post-controls .control .reblog_button::before,
.post-controls .control .like_button::before {
  display: block !important;
  line-height: 24px !important;
}

.post-controls .like_button iframe {
  display: none !important;
}

.page-shell {
  max-width: 700px !important;
}

.permalink #posts article,
.page-shell article {
  max-width: 700px !important;
  margin: 0 auto !important;
}

.single-post .text-content {
  padding-bottom: 10px !important;
}

.single-post .title {
  font-size: 28px !important;
}

.single-post .date {
  display: block;
  margin: 0 !important;
}

.single-photo {
  margin: 0 !important;
}

.single-photo .photo-wrapper {
  background: #fff;
}

.site-footer {
  max-width: 700px !important;
  margin: 0 auto;
  padding: 22px 20px 40px;
  color: #999;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.not-found {
  min-height: 45vh;
  padding-top: 35px;
}

@media (max-width: 940px) {
  .post-list {
    column-count: 2;
  }
}

@media (max-width: 680px) {
  html,
  body,
  #page,
  .top-blog-header,
  .blog-title-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .content {
    width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .logo-wrapper {
    height: 48px;
    padding-top: 6px;
  }

  .search-wrapper {
    display: none !important;
  }

  .header-image-wrapper {
    width: calc(100vw - 56px);
    max-width: 520px;
    height: auto !important;
  }

  .blog-title-wrapper {
    margin-top: 10px !important;
  }

  .blog-title {
    font-size: 26px !important;
  }

  .inline-nav {
    max-width: 100%;
    overflow: hidden;
    justify-content: center;
    gap: 7px 14px;
  }

  .tag-nav .inline-nav {
    justify-content: flex-start;
  }

  .description,
  .tag-nav,
  #posts,
  #posts.content,
  .post-list,
  #posts article,
  .post-wrapper,
  .post,
  .post-content,
  .caption,
  .body-copy,
  .panel {
    width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
    min-width: 0 !important;
  }

  .post-list {
    column-count: 1;
  }

  #posts.content {
    width: calc(100vw - 56px) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #posts article,
  .post-wrapper,
  .photo-wrapper,
  .photo-wrapper-inner {
    max-width: 100% !important;
  }

  .caption .title,
  .text-content .title,
  #posts .caption .title,
  #posts .text-content .title,
  .caption p,
  .text-content p,
  .body-copy p,
  .description p,
  .inline-nav,
  .inline-nav li,
  .inline-nav a,
  .inline-nav span {
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  #posts .caption .title,
  #posts .text-content .title {
    position: static !important;
    clip: auto !important;
    overflow: visible !important;
    text-indent: 0 !important;
    max-height: none !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  #posts .caption .title a,
  #posts .text-content .title a {
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .caption,
  .text-content,
  .body-copy {
    padding: 18px !important;
  }

  .inline-meta.post-extra {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}
