@use '../../css/_config/_mixins';

.title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

.body {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--color-opacity-07);

  &:first-child {
    margin-top: 0;
  }

  // a {
  //   border-radius: 20px;
  // }
  // a:hover {
  //   @media (hover: hover) {
  //     color: var(--color-text);
  //   }
  // }

  p {
    margin-top: 8px;

    &:first-child {
      margin-top: 0;
    }
  }
}

.buttons {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  margin: 30px 0 0;

  > * {
    margin-left: 10px;
    margin-right: 0;
  }

  &Left {
    flex-direction: row;

    > * {
      margin-left: 0;
      margin-right: 10px;
    }
  }
}

//
// RELEASE NOTES
//

.releaseLeft {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  padding: 55px 35px 25px 25px;

  @media (min-width: 768px) {
    padding: 65px 40px 30px 30px;
  }
  @media (min-width: 960px) {
    padding: 75px 50px 40px 40px;
  }

  .date {
    font-size: 15px;
    color: var(--color-opacity-04);

    @media (min-width: 880px) {
      font-size: 16px;
    }
  }

  .title {
    margin-top: 11px;
    font-size: 17px;
    font-weight: 700;

    @media (min-width: 880px) {
      font-size: 18px;
    }
  }

  .body {
    margin-top: 13px;
    font-size: 13px;
    line-height: 18px;

    @media (min-width: 880px) {
      font-size: 14px;
      line-height: 19px;
    }
  }
}

.releaseRight {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  width: 62.5%;
  max-width: 561px;
  background: var(--color-secondary-border);
  border-left: 1px solid var(--color-secondary-border);

  img {
    width: 100%;
    height: auto;

    filter: grayscale(0.9) contrast(1.1) brightness(1.2);
    mix-blend-mode: screen;
  }

  &Light {
    img {
      filter: grayscale(0.9);
      mix-blend-mode: multiply;
    }
  }
}

.dots {
  display: flex;
  margin-top: 20px;
  margin-left: -4px;
}

.dot {
  display: block;
  padding: 5px;
  // border-radius: 50%;
  cursor: pointer;

  // @include mixins.focus-self-outline;
}

.dotInner {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--color-opacity-03);
  border-radius: 50%;

  .dotActive & {
    background: var(--color-text);
  }
}

.closeButton {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  background: var(--color-button-secondary);
  border: 1px solid var(--color-text);
  border-radius: 50%;
  z-index: 2;
  color: var(--color-primary-background);

  @include mixins.focus-self-outline;

  &:before,
  &:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1.6px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  &:after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}
