@charset "UTF-8";

.document-list {
  position: relative;
  display: block;
  margin: calc(1vw + 20px) 0 calc(1.5vw + 40px);
}

.document-list-item {
  position: relative;
  display: block;
  text-decoration: none;
  font-size: 16px;
  border: 1px solid $color-primary-light-03;
  border: 1px solid var(--theme-color-primary-dimmed-04, $color-primary-light-03);
  padding: 15px;
  border-radius: 4px;
  @include focusvisible;
  transition: 0.3s ease;

  &:hover {
    text-decoration: none;
    color: $color-secondary-dark;
    color: var(--theme-color-secondary-intensed, $color-secondary-dark);
  }

  + .document-list-item {
    margin-top: 10px;
  }

  @media(min-width: 568px) {
    align-items: flex-start;
    display: flex;

    + .document-list-item {
      margin-top: 15px;
    }
  }

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

  &:before {
    position: absolute;
    top: 0;
    right: 0;
    margin: 8px;
    font-size: 20px;
    font-family: "Icons";
  }

  .image-box {
    position: relative;
    max-width: 25%;
    flex: 1 1 100%;

    @media(max-width: 567px) {
      max-width: 70%;
    }

    &:before {
      content: "";
      position: relative;
      display: block;
      padding-top: 66.66667%;
    }

    &.chart:before {
      background: linear-gradient(130deg, $color-gradient-01 10%, $color-gradient-02 90%, $color-gradient-03 160%);
      background: linear-gradient(130deg, var(--theme-color-gradient-01, $color-gradient-01) 10%, var(--theme-color-gradient-02, $color-gradient-02) 90%, var(--theme-color-gradient-03, $color-gradient-03) 160%);
    }

    img {
      position: absolute;
      display: block;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .chart-title {
      font-family: "Korb", sans-serif;
      font-weight: 700;
      font-size: 32px;
      color: $color-white;
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      transform: translate(0, -50%);
      text-align: center;
    }

    .copyright{
      position: absolute;
      left: 100%;
      bottom: 0;
      transform-origin: 0 100%;
      color: $color-white;
      color: var(--theme-color-background, $color-white);
      font-size: 12px;
      line-height: 1.2;
      text-shadow: 0px 0px 3px rgba($color-black, 0.6), 0px 0px 8px rgba($color-black, 0.6);
      z-index: 2;
      width: 66%;
      padding: 8px 10px;
      transform: rotate(-90deg);

      @media(max-width: 767px) {
        font-size: 10px;
        padding: 6px 18px;
      }
    }
  }

  .text-box:not(:first-child) {
    padding-top: 20px;
  }

  @media(min-width: 568px) {
    .text-box {
      padding: 2px 4px 0;
    }

    .text-box:not(:first-child) {
      max-width: 75%;
      padding: 0 0 0 20px;
    }
  }

  h6 {
    font-size: 18px;
    margin-top: 4px;
    text-decoration: underline;

    @media(min-width: 768px) {
      font-size: 22px;
    }
  }

  h5, .details {
    font-weight: 600;
  }

  p {
    margin-bottom: 12px;
  }

  .details {
    margin: 0;
  }

  .kicker {
    margin-top: -4px;
  }
}
