.lbs-enabled {
  overflow: hidden;
}

#lbs {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 997;
}

#lbs .slide {
  width: 100vw;
  height: 100vh;
}

.slide figcaption {
  position: absolute;
  width: 100%;
  margin: auto;
  bottom: 0.5rem;
  border: none;
  left: 0;
  text-align: center;
  font-size: 0.85em;
}

.slide figcaption div {
  margin: auto;
  display: inline-block;
  padding: 0.5rem 1rem;
  max-width: 80ch;
  color: #fff;
  background-color: #33333380;
}

.slide figcaption p {
  margin: 0;
}

#lbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50%;
}

#lbs-close {
  position: absolute;
  top: var(--frame-padding);
  right: var(--frame-padding);
  width: 2rem;
  height: 2rem;
  z-index: 999;
  background: none;
  border: none;
  padding: 0;
}

.embed-container {
  position: relative;
  padding-bottom: 50%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.embed-container {
  margin-top: 2rem;
}

.alignleft,
.alignright,
.alignnone,
.aligncenter {
  max-width: 100%;
  display: block;
  margin-bottom: 2rem;
}

.alignnone {
  margin: var(--frame-padding) calc(-1 * var(--frame-padding));
  max-width: 100vw;
}

.alignnone img {
  width: 100%;
  display: block;
}

.alignnone figcaption {
  padding: 1rem 2rem;
  text-align: center;
}

.section-small {
  max-width: 640px;
}

.section-full-width {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.section-content li {
  display: list-item;
  margin-left: 1rem;
}

.section-content p {
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
}

.paging-title a:hover {
  opacity: 0.5;
  transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
}

.section-title {
  text-align: center;
}

.section-title .entry-title {
  padding-bottom: 0.5em;
  border-bottom: 1px dotted currentColor;
}

.section-related,
.section-text {
  text-align: left;
}

.section-share {
  margin: auto;
  display: table;
  table-layout: fixed;
  border-collapse: collapse;
  background-color: var(--color-background-alpha);

  position: fixed;
  bottom: 0;
  width: 100%;
  transform: translateZ(0);
  z-index: 993;
  height: 64px;
}

.section-share a {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 38px;
  height: 38px;
  margin: 2px;
}

.section-share .icon {
  width: 2rem;
  height: 2rem;
}

.share-link,
.share-whatsapp,
.jump-top {
  display: none;
}

.contributors {
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 1rem auto;
}

.contributor-link {
  font-weight: bold;
  padding-left: 0.5rem;
}

.section-tags {
  margin: 1rem auto;
}

.section-tags a {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  font-size: 0.75em;
  display: inline-block;
  border: 1px solid var(--color-on-background-alpha);
  margin: 2px;
}

.section-tags a:hover {
  border-bottom-color: currentColor;
}

.section-related {
  font-size: 0.75em;
  padding: 0 var(--frame-padding);
}

.section-related .entry {
  margin-bottom: 1rem;
}

.section.section-advert {
  max-width: 100%;
}

.section-image {
  padding: 0;
  margin-bottom: 2rem;
}

.section-image figcaption {
  padding: 0 1rem;
}

.bl figcaption {
  text-align: left;
}

.br figcaption {
  text-align: right;
}

.section-image-text {
  text-align: left;
}

.section-image-text .text {
  padding-top: 2rem;
}

.section-image-gallery,
.section-carousel {
  padding: var(--frame-padding) 0;
}

.carousel .slide>span {
  position: relative;
  display: inline-block;
}

.zoom {
  font-weight: bolder;
  font-size: 2rem;
  display: block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  border-radius: 1rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #fff;
  background-color: #66666630;
  cursor: zoom-in;
}

@media screen and (min-width: 768px) {
  .contributors>div {
    display: inline-block;
  }

  .contributors>div::after {
    content: '❖';
    margin: 0 1rem;
  }

  .contributors>div:last-child::after {
    display: none;
  }

  .alignleft,
  .alignright {
    max-width: 40%;
    display: inline-block;
    margin: 0;
  }

  .alignright {
    margin: 0 -2rem 2rem 2rem;
    float: right;
  }

  .alignleft {
    margin: 0 2rem 2rem -2rem;
    float: left;
  }

  .section-related .entry {
    display: table;
    table-layout: fixed;
    border-collapse: collapse;
  }

  .section-related .entry>div {
    display: table-cell;
  }

  .section-related .entry-detail {
    padding: 1rem 2rem;
    vertical-align: top;
  }

  .section-image-row {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    overflow: hidden;
  }

  .section-image-row figure {
    display: table-cell;
    /* height: 40vw; */
  }

  .section-image-row img {
    object-fit: cover;
    height: 100%;
  }

  .lt,
  .lb,
  .rt,
  .rb {
    width: 100%;
    display: flex;
    align-items: flex-start;
  }

  .lb,
  .rb {
    align-items: flex-end;
  }

  .lt a,
  .lb a,
  .rt a,
  .rb a {
    order: 1;
    display: block;
    flex: 2;
  }

  .rt figcaption,
  .rb figcaption {
    flex: 1;
    text-align: left;
    order: 2;
  }

  .lt figcaption,
  .lb figcaption {
    flex: 1;
    text-align: right;
    order: 0;
  }

  .section-image-text {
    display: flex;
    width: 100%;
  }

  .section-image-text>* {
    flex: 1;
  }

  .section-image-text .text {
    padding: 0 0 0 2rem;
  }

  .gallery {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }

  .gallery .image {
    flex: 1 1 40ch;
  }

  .gallery img {
    width: 100%;
  }

  .section-image-gallery figcaption {
    display: none;
  }
}

@media screen and (min-width: 1025px) {
  .section-share {
    top: 50%;
    bottom: unset;
    display: block;
    width: auto;
    height: auto;
    padding: 0.5rem;
    border-collapse: unset;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
  }

  .section-share a {
    display: block;
  }
}
