.page-show-layout {
  padding: var(--x-pad);
  background-color: #fff;
  color: var(--color-bb-black);
  margin-top: -25vh;
  position: relative;
  z-index: 2;
  margin-bottom: var(--section-m-top);
}

.page-show-layout.article-layout {
  margin-top: var(--header-height);
}

.page-show-layout_form {
  margin-top: -50vh;
}

@media screen and (max-width: 559px) {
  .page-show-layout {
    width: calc(100% + 2 * var(--x-pad));
    margin-left: calc(-1 * var(--x-pad));
  }
}
.page-show {
  border: 1px solid var(--color-bb-black);
}

.page-show-title {
  padding: var(--x-pad);
  border-bottom: 1px solid var(--color-bb-black);
}

.page-show-breadcrumbs,
.page-show-content,
.page-show-share {
  padding: var(--x-pad);
}

.page-show-content,
.page-show-share {
  border-top: 1px solid var(--color-bb-black);
}

.page-show-breadcrumbs {
  min-width: 0;
}

.page-show-share .post-sharing-list {
  justify-content: flex-start;
}

.page-show-content-add {
  margin-top: calc(2 * var(--x-pad));
}

@media screen and (min-width: 768px) {
  .page-show {
    display: grid;
    grid-template-areas: "title title" "breadcrumbs sharing" "content content";
  }
  .page-show-title {
    grid-area: title;
  }
  .page-show-title {
    grid-area: title;
  }
  .page-show-breadcrumbs {
    grid-area: breadcrumbs;
  }
  .page-show-content {
    grid-area: content;
  }
  .page-show-share {
    grid-area: sharing;
  }
  .page-show-breadcrumbs,
  .page-show-share {
    padding: calc(var(--x-pad) / 2) var(--x-pad);
    align-self: center;
    border: 0 none;
  }
  .page-show-share .post-sharing {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
  }
  .page-show-share .post-sharing-title {
    margin-bottom: 0;
    margin-right: 16px;
  }
  .page-show-share .post-sharing-list {
    width: auto;
  }
}
.page-show-layout .text-box-content p.video {
  max-width: 100%;
}

.profile-head {
  font-size: 2em;
  line-height: 1.2;
}

.profile-nav {
  margin-top: 2.3em;
  border-bottom: 1px solid #989898;
  display: flex;
  width: 100%;
}

.profile-nav-item {
  white-space: nowrap;
}

.profile-nav-link {
  padding: 0 0.1em 0.35em;
  line-height: 1;
  font-weight: 600;
  display: block;
  color: #868686;
  transition: color 0.25s;
}

.profile-nav-link_current {
  color: var(--color-bb-black);
  position: relative;
}

.profile-nav-item:not(:first-child) {
  margin-left: 1em;
}

@media screen and (max-width: 767px) {
  .profile-nav {
    overflow: auto;
  }
  .profile-nav-link {
    font-size: 14px;
  }
}
@media screen and (min-width: 768px) {
  .profile-nav-link_current {
    color: var(--color-bb-black);
    position: relative;
  }
  .profile-nav-link_current::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: currentColor;
    transform: translate(0, 2px);
  }
}
@media screen and (min-width: 1280px) {
  .profile-nav-link {
    font-size: 1.3em;
  }
  .profile-nav-item:not(:first-child) {
    margin-left: 2.5em;
  }
}
/*
.profile-nav {
  margin-top: 2.3em;
  display: flex;
  border-bottom: 1px solid #989898;
}

.profile-nav-item:not(:first-child) {
  margin-left: 3em;
}

.profile-nav-link {
  // font-size: 1.3em;
  line-height: 1;
  padding: 0 0.1em 0.35em;
  font-weight: 600;
  display: block;
  color: #868686;
  transition: color 0.25s;
}

.profile-nav-link:hover {
  color: var(--color-bb-black);
}

.profile-nav-link_current {
  color: var(--color-bb-black);
  position: relative;
}

.profile-nav-link_current::after {
  content: '';

  display: block;
  width: 100%;
  height: 3px;

  position: absolute;
  left: 0;
  bottom: 0;
  background-color: currentColor;
  transform: translate(0, 2px);
}
*/
.profile-head + .text-box-container,
.profile-body {
  margin-top: 2em;
}

.account_edit .form-section:not(:first-child),
.account_edit .form-action-box {
  margin-top: 2em;
}

@media screen and (min-width: 560px) {
  .account_edit .form-button {
    display: inline-block;
    width: auto;
    padding-left: 2em;
    padding-right: 2em;
  }
}
@media screen and (min-width: 1024px) {
  .account_edit {
    display: block;
    max-width: 50%;
  }
}
.profile-back-box {
  border-bottom: 1px solid #989898;
  padding-bottom: 1.5em;
}

.profile-back-link {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.11em;
}

.profile-back-link svg {
  display: block;
  width: 1.62em;
  height: auto;
  margin-right: 0.75em;
}

.tell-body {
  margin-top: calc(var(--x-pad) * 0.75);
}

/* Favorite */
.btn-favorite-container {
  position: relative;
}

.btn-favorite {
  --base-color: var(--favorite-base-color, #454444);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--base-color);
  outline: 0 none;
  background-color: transparent;
  color: var(--base-color);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
  position: relative;
  z-index: 2;
}

.btn-favorite svg {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.btn-favorite:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-base);
}

.tooltip-message {
  position: absolute;
  top: 0;
  height: calc(100% + 16px);
  background: rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  font-size: 12px;
  display: flex;
  align-items: center;
  color: #fff;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0s 0.25s;
}

.variant-page {
  left: 0;
  padding-left: 56px;
  padding-right: 16px;
  transform: translate(-8px, -8px);
}

.variant-card {
  right: 0;
  padding-right: 56px;
  padding-left: 16px;
  transform: translate(8px, -8px);
}

@media screen and (min-width: 1560px) {
  .tooltip-message {
    height: calc(100% + 32px);
    font-size: 16px;
  }
  .variant-page {
    padding-left: 80px;
    padding-right: 24px;
    transform: translate(-16px, -16px);
  }
  .variant-card {
    right: 0;
    padding-right: 80px;
    padding-left: 24px;
    transform: translate(16px, -16px);
  }
}
.btn-favorite-container:hover .tooltip-message {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s;
}

/*
.tooltip-message {
  position: absolute;
  left: 50%;
  bottom: 100%;
  background-color: var(--tooltip-bg-color, #282828);
  color: var(--tooltip-text-color, #fff);
  font-size: 12px;
  white-space: nowrap;
  padding: 4px 8px;
  // transform: translate(-50%, -16px);
  transform: translate(-50%, -8px);
  opacity: 0;
  // visibility: hidden;

  transition: transform 0.25s,
              opacity 0.25s,
              visibility 0s 0.25s;

  box-shadow: 0 0 2px 0 rgba(255, 255, 255, 0.5);
}

.btn-favorite:hover .tooltip-message {
  transform: translate(-50%, -12px);
  opacity: 1;
  // visibility: visible;

  transition: transform 0.25s,
              opacity 0.25s;
}

.tooltip-message::before {
  content: '';
  display: block;

  position: absolute;
  top: 100%;
  left: 50%;


  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: var(--tooltip-bg-color, #282828) transparent transparent transparent;
  transform: rotate(0deg) translateX(-50%);
}
*/
@media screen and (min-width: 1024px) {
  .btn-favorite {
    width: 40px;
    height: 40px;
  }
  .btn-favorite svg {
    width: 18px;
    height: 18px;
  }
}
@media screen and (min-width: 1560px) {
  .btn-favorite {
    width: 52px;
    height: 52px;
  }
  .btn-favorite svg {
    width: 24px;
    height: 24px;
  }
}
.btn-transparent {
  --font-size: 12px;
  --btn-height: 40px;
  --padding-x: 2rem;
  display: inline-block;
  height: var(--btn-height);
  line-height: calc(var(--btn-height) - 2px);
  margin: 0;
  padding: 0 var(--padding-x);
  background: transparent none;
  outline: 0 none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: var(--font-size);
  border: 1px solid transparent;
}

@media screen and (min-width: 768px) and (max-width: 1559px) {
  .btn-transparent {
    --padding-x: 3rem;
  }
}
@media screen and (min-width: 1560px) {
  .btn-transparent {
    --padding-x: 6rem;
    --btn-height: 78px;
    --font-size: 20px;
  }
}
.btn-transparent {
  border-color: #fff;
  color: #fff;
  background-color: transparent;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}

.btn-transparent:hover {
  color: var(--color-bb-black);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.presentation-preview-list {
  display: grid;
  width: 100%;
}

@media screen and (max-width: 480px) {
  .presentation-preview-list {
    grid-template-columns: 100%;
    gap: 1.5rem;
  }
  .presentation-preview-item:not(:first-child) {
    border-top: 1px solid #3B3B3B;
    padding-top: 1.5rem;
  }
}
@media screen and (min-width: 479px) and (max-width: 767px) {
  .presentation-preview-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .presentation-preview-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .presentation-preview-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1559px) {
  .presentation-preview-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
@media screen and (min-width: 1560px) {
  .presentation-preview-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}
.simple-list-item {
  padding-top: 1.2em;
}

.simple-list-item:not(:first-child) {
  margin-top: 1.2em;
  border-top: 1px solid #989898;
}

.story-preview-card {
  display: flex;
  flex-flow: column wrap;
  width: 100%;
  height: 100%;
  position: relative;
  --color-bg-desc: #363636;
  --color-bg-desc-hover: var(--color-accent);
  --color-text-info: #BABABA;
  --color-text-info-hover: #000;
  --color-text-title: #fff;
  --color-text-title-hover: #000;
}

.story-preview-card_white {
  --color-bg-desc: transparent;
  --color-bg-desc-hover: #363636;
  --color-text-info: #838383;
  --color-text-info-hover: #BABABA;
  --color-text-title: #111111;
  --color-text-title-hover: #FFFFFF;
}

.story-add-to-favorite {
  display: block;
  position: absolute;
  top: 1rem;
  right: 1rem;
  --favorite-base-color: var(--color-accent);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  transition: opacity 0.25s, visibility 0 0.25s, transform 0.25s;
}

.story-preview-card.is-favorite .btn-favorite {
  border-color: transparent;
}

.story-preview-card.is-favorite .story-add-to-favorite,
.story-preview-card:hover .story-add-to-favorite {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.25s, transform 0.25s;
}

.story-preview-card.is-favorite:hover .btn-favorite {
  border-color: var(--color-accent);
}

.story-preview-picture {
  display: block;
  width: 100%;
  overflow: hidden;
}

.story-preview-image {
  display: block;
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}

@supports (aspect-ratio: 560/314) {
  .story-preview-image {
    aspect-ratio: 560/314;
    height: auto;
  }
}
@supports not (aspect-ratio: 560/314) {
  .story-preview-picture::before {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    padding-top: 56.07%;
  }
  .story-preview-image {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
}
.story-preview-desc {
  padding: 1rem;
  background-color: var(--color-bg-desc);
  flex: 1 auto;
  transition: background-color 0.25s;
}

.story-preview-card:hover .story-preview-desc {
  background-color: var(--color-bg-desc-hover);
}

.story-desc-full {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: space-between;
}

.story-preview-author {
  margin-top: 0.4em;
}

.story-preview-title {
  margin-top: 0.85em;
  margin-top: clamp(0.5rem, 0.85em, 1rem);
  font-weight: 600;
  line-height: 1.2;
}

.story-preview-title span {
  cursor: pointer;
}

.story-desc-info {
  color: var(--color-text-info);
}

.story-preview-card:hover .story-desc-info {
  color: var(--color-text-info-hover);
}

.story-preview-title {
  color: var(--color-text-title);
}

.story-preview-card:hover .story-preview-title {
  color: var(--color-text-title-hover);
}

.story-preview-icon svg {
  display: block;
  width: 100%;
}

@media screen and (max-width: 559px) {
  .story-desc-info {
    font-size: 12px;
  }
  .story-preview-title {
    font-size: 14px;
  }
  .story-preview-icon {
    width: 22px;
  }
}
@media screen and (min-width: 560px) and (max-width: 767px) {
  .story-desc-info {
    font-size: 12px;
  }
  .story-preview-title {
    font-size: 14px;
  }
  .story-preview-icon {
    width: 20px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .story-preview-desc {
    padding: 1.25rem;
  }
  .story-desc-info {
    font-size: 14px;
  }
  .story-preview-title {
    font-size: 16px;
  }
  .story-preview-icon {
    width: 26px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .story-preview-desc {
    padding: 1rem 1.25rem 1.5rem;
  }
  .story-desc-info {
    font-size: 14px;
  }
  .story-preview-title {
    font-size: 16px;
  }
  .story-preview-icon {
    width: 24px;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1559px) {
  .story-preview-desc {
    padding: 1rem 1.5rem 2rem;
  }
  .story-desc-info {
    font-size: 14px;
  }
  .story-preview-title {
    font-size: 21px;
  }
  .story-preview-icon {
    width: 24px;
  }
}
@media screen and (min-width: 1560px) {
  .story-preview-desc {
    padding: 1.5rem 2rem 3.5rem;
  }
  .story-desc-info {
    font-size: 18px;
  }
  .story-preview-title {
    font-size: 28px;
  }
  .story-preview-icon {
    width: 40px;
  }
}
.request-card-info {
  width: 100%;
  padding-top: 0.5em;
  font-size: 14px;
  font-weight: 300;
  color: #879E95;
}

@media screen and (max-width: 1279px) {
  .request-card-status {
    margin-top: 0.5em;
  }
}
.request-card-status::before {
  content: "";
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  border-radius: 50%;
  margin-right: 0.25em;
}

.request-card-status.moderate::before {
  background-color: var(--color-accent);
}

.request-card-status.accept::before {
  background-color: #5EBC00;
}

.request-card-status.refuse::before {
  background-color: #EE2742;
}

.request-item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1280px) {
  .request-card-info {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
  }
}
.collection-pic,
.publication-pic {
  display: block;
}

.collection-pic img {
  display: block;
  width: 100%;
  height: auto;
}

.publication-pic img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.locked-pic {
  position: relative;
  cursor: pointer;
}

.locked-pic::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
}

.locked-pic svg {
  display: block;
  width: 42px;
  height: 42px;
  height: auto;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
}

@supports (aspect-ratio: 16/9) {
  .publication-pic img {
    height: auto;
    aspect-ratio: 16/9;
  }
}
@supports not (aspect-ratio: 16/9) {
  .publication-pic {
    position: relative;
  }
  .publication-pic::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 56.25%;
  }
  .publication-pic img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
}
.collection-desc,
.collection-title,
.collection-author {
  margin-top: 0.25em;
}

.collection-desc {
  line-height: 1.3;
}

.collection-date,
.collection-author {
  font-size: 12px;
  font-weight: 300;
}

.collection-title {
  font-weight: 600;
  transition: color 0.25s;
}

.collection-title span {
  cursor: pointer;
}

.collection-title:hover {
  color: var(--color-accent);
}

@media screen and (min-width: 1024px) {
  .locked-pic svg {
    left: 16px;
    top: 16px;
  }
}
@media screen and (min-width: 1280px) {
  .locked-pic svg {
    width: 52px;
    height: 52px;
  }
}
@media screen and (min-width: 560px) and (max-width: 1559px) {
  .collection-desc {
    margin-top: 1rem;
  }
  .collection-date,
  .collection-author {
    font-size: 14px;
  }
  .collection-title {
    font-size: 21px;
  }
}
@media screen and (min-width: 1560px) {
  .collection-desc {
    margin-top: 1.25rem;
  }
  .collection-date,
  .collection-author {
    font-size: 18px;
  }
  .collection-title {
    font-size: 32px;
  }
}
@supports selector(:has(a:hover)) {
  .collection-card:has(a:hover) .collection-title,
  .collection-card:has(.locked-pic:hover) .collection-title {
    color: var(--color-accent);
  }
}
@supports not selector(:has(a:hover)) {
  .collection-card:hover .collection-title {
    color: var(--color-accent);
  }
}
/* MODS */
.inactive-item .publication-pic {
  position: relative;
}

.inactive-item .publication-pic::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* MODS */
.tell-choice {
  padding-top: var(--x-pad);
  padding-bottom: var(--x-pad);
}

.tell-choice-box {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.tell-choice-list {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5em;
}

@media screen and (min-width: 1560px) {
  .tell-choice-box {
    max-width: 768px;
  }
  .tell-choice-list {
    max-width: unset;
  }
}
.tell-choice-item:not(:first-child) {
  margin-top: 1.3em;
}

.tell-choice-link {
  font-size: 0.88em;
  height: auto;
  line-height: 1.2;
  padding: 1em;
  display: block;
  width: 100%;
}

.text-box-content {
  line-height: 1.6;
}

.text-box-content > *:not(:first-child) {
  /* margin-top: 1.78em; last comments */
  margin-top: 1.5em;
}

.text-box-content blockquote {
  display: block;
  width: 100%;
  position: relative;
  padding-left: 3rem;
  font-weight: 600;
}

.text-box-content blockquote::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(/assets/icon-blockquote-991d07cd45e5ef90949cb77bc08338225b17d450447f0e407df362b8e95ff918.svg) 0 0/contain no-repeat;
}

.text-box-content ul,
.text-box-content ol {
  padding-left: 2em;
}

.text-box-content li {
  display: list-item;
}

.text-box-content li:not(:first-child) {
  margin-top: 1em;
}

.text-box-content ul li {
  list-style-type: disc;
}

.text-box-content ol li {
  list-style-type: decimal;
}

.text-box-content a {
  text-decoration: underline;
}

.text-box-content a:hover {
  text-decoration: none;
}

.text-box-content img {
  display: block;
  width: 100%;
  height: auto;
}
