/* 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;
  }
}
.text-box {
  padding: var(--x-pad);
}

.text-theme-light {
  background: #fff;
  color: #494747;
}

.text-box-btn {
  margin-top: var(--x-pad);
}

.text-box-btn .page-call2action-btn {
  margin-top: 0;
}

@media screen and (max-width: 559px) {
  .text-box {
    width: calc(100% + 2 * var(--x-pad));
    margin-left: calc(-1 * var(--x-pad));
  }
  .text-box-data {
    margin-top: 1.5rem;
  }
}
@media screen and (min-width: 560px) and (max-width: 1023px) {
  .text-box-data {
    margin-top: 1.5rem;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1559px) {
  .text-box-data {
    margin-top: 2rem;
  }
}
@media screen and (min-width: 1560px) {
  .text-box-data {
    margin-top: 2.5rem;
  }
}
@media screen and (min-width: 768px) {
  .text-box-container {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
  }
}
.text-box-head {
  font-weight: 600;
  line-height: 1.3;
}

.text-box-info {
  font-size: 1em;
  margin-top: 1em;
  margin-bottom: 2em;
  color: #989898;
}

@media screen and (max-width: 559px) {
  .text-box-head {
    font-size: 24px;
  }
}
@media screen and (min-width: 560px) and (max-width: 1023px) {
  .text-box-head {
    font-size: 26px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .text-box-head {
    font-size: 32px;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1559px) {
  .text-box-head {
    font-size: 40px;
  }
}
@media screen and (min-width: 1560px) {
  .text-box-head {
    font-size: 58px;
  }
}
@media screen and (min-width: 1280px) {
  .text-box-centered {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}
.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;
}

.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;
  }
}
.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 */
.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;
  }
}
.action-container {
  margin-top: 1rem;
  text-align: center;
  line-height: 1.3;
}

.page-call2action,
.page-call2action-body {
  position: relative;
}

.page-call2action-picture {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.page-call2action-title {
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.page-call2action-text,
.page-call2action-btn {
  margin-top: 1rem;
}

.page-call2action-btn {
  display: inline-block;
  padding: 0 1rem;
  height: 52px;
  line-height: 52px;
  text-transform: uppercase;
  color: #161616;
  font-weight: 600;
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  transition: color 0.25s, background-color 0.25s;
}

.page-call2action-btn:hover {
  background-color: transparent;
  color: var(--color-accent);
}

@media screen and (max-width: 559px) {
  .action-container {
    padding: 0;
  }
  .page-call2action-body {
    padding: 2rem var(--x-pad);
  }
}
@media screen and (min-width: 560px) {
  .page-call2action-body {
    padding: 5rem var(--x-pad);
  }
}
@media screen and (min-width: 768px) {
  .page-call2action-title {
    font-size: 28px;
  }
}
@media screen and (min-width: 1024px) {
  .page-call2action-title {
    font-size: 32px;
  }
  .page-call2action-text {
    font-size: 20px;
  }
  .page-call2action-btn {
    padding: 0 2rem;
  }
}
@media screen and (min-width: 1560px) {
  .page-call2action-title {
    font-size: 40px;
  }
  .page-call2action-text {
    font-size: 24px;
  }
  .page-call2action-btn {
    font-size: 20px;
    height: 77px;
    line-height: 77px;
    padding: 0 3rem;
  }
}
.big-varaint {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto;
  align-items: center;
}

.big-varaint::before,
.big-varaint .page-call2action-body {
  grid-row: 1/2;
  grid-column: 1/2;
}

.big-varaint::before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-top: 35%;
}

.big-varaint .page-call2action-title {
  color: var(--color-accent);
  font-size: 32px;
  letter-spacing: 0;
  font-weight: 800;
}

.big-varaint .page-call2action-text,
.big-varaint .page-call2action-btn {
  margin-top: 1.5em;
}

@media screen and (min-width: 768px) {
  .big-varaint .page-call2action-title {
    font-size: 64px;
  }
}
@media screen and (min-width: 1280px) {
  .big-varaint .page-call2action-title {
    font-size: 72px;
  }
}
@media screen and (min-width: 1560px) {
  .big-varaint .page-call2action-title {
    font-size: 124px;
  }
}
.tag-list-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
  --line-gap: 0.75rem;
  --row-gap: 0.5rem;
}

.tag-list {
  margin-top: calc(-1 * var(--line-gap));
  width: calc(100% + var(--row-gap));
}

.tag-item {
  display: inline-block;
  margin-top: var(--line-gap);
  margin-right: var(--row-gap);
}

.tag-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 96px;
  max-width: 186px;
  min-height: 26px;
  padding: 2px 8px;
  text-transform: uppercase;
  font-size: 11px;
  border: 1px solid #D9D9D9;
  border-radius: 13px;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}

.tag-btn:hover {
  color: var(--color-text-base);
  background-color: #0E0E0E;
  border-color: #0E0E0E;
}

.tag-btn:hover {
  color: #000;
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.tag-btn_light {
  color: #6F6F6F;
  border-color: #D9D9D9;
}

@media screen and (min-width: 1280px) {
  .tag-list-wrap {
    --line-gap: 0.75rem;
    --row-gap: 0.75rem;
  }
  .tag-btn {
    font-size: 14px;
    min-width: 116px;
    max-width: 308px;
    min-height: 32px;
    padding: 4px 16px;
    border-radius: 16px;
  }
}
@media screen and (min-width: 1560px) {
  .tag-list-wrap {
    --line-gap: 0.75rem;
    --row-gap: 0.75rem;
  }
  .tag-btn {
    font-size: 16px;
    min-width: 148px;
    max-width: 394px;
    min-height: 42px;
    padding: 4px 16px;
    border-radius: 21px;
  }
}
.tag-box {
  border-top: 1px solid #3B3B3B;
  padding-top: var(--x-pad);
}

@media screen and (max-width: 739px) {
  .other-articles {
    display: flex;
    flex-flow: row nowrap;
    width: calc(100% + 2 * var(--x-pad));
    margin-left: calc(-1 * var(--x-pad));
    overflow: auto;
  }
  .other-articles > * {
    min-width: 70vw;
    margin-right: var(--x-pad);
  }
  .other-articles > *:first-child {
    margin-left: var(--x-pad);
  }
}
@media screen and (min-width: 560px) and (max-width: 739px) {
  .other-articles > * {
    min-width: 40vw;
  }
}
@media screen and (min-width: 740px) {
  .other-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .other-articles {
    gap: 1.5rem;
  }
}
@media screen and (min-width: 1280px) {
  .other-articles {
    gap: 2rem;
  }
}
