section.headline {
  max-width: 1200px;
  margin: 25px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;

  .headline-image {
    img {
      max-width: 100%;
    }
  }

  .caption {
    max-width: 450px;
    padding: 10px;
    box-sizing: border-box;

    h1 {
      position: relative;
      margin-top: max(-12vw, -80px);
      font-family: "Alfa Slab One", serif;
      font-weight: 100;
      font-size: min(8vw, 40px);
      text-align: left;
    }

    h3 {
      margin: 0;
      font-family: "Antonio", sans-serif;
      font-weight: bold;
      font-size: min(22vw, 150px);
      text-align: left;
      text-transform: uppercase;
      background: linear-gradient(to bottom, var(--accent-red-color) 40%, transparent 70%);
      background-clip: text;
      color: transparent;
      opacity: 60%;
    }

    .credits {
      margin-block: 30px;
      font-family: "Patua One", serif;
      font-size: min(3.9vw, 20px);
      display: flex;
      align-items: center;

      time {
        color: #b70000;
      }

      .divider {
        width: 20px;
        height: 20px;
        margin-inline: 25px;
        background: linear-gradient(to bottom, var(--accent-red-color), black);
      }

      div[rel="author"] {
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
          height: 100%;
          margin: 0 5px 0 10px;
        }
      }
    }

    ul.social-links-section {
      max-width: 450px;
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      justify-content: space-evenly;

      li {
        a {
          display: block;

          img {
            width: 40px;
          }
        }
      }
    }
  }
}

article {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
  /*TODO remove after articles refactoring*/
  overflow: hidden;

  h2 {
    margin-top: 0;
    font-family: "Antonio", sans-serif;
    font-weight: bold;
    font-size: min(9vw, 48px);
  }

  h3 {
    margin-left: 40px;
    font-family: "Antonio", sans-serif;
    font-weight: bold;
    font-size: min(8vw, 26px);

    &:before {
      content: "";
      position: absolute;
      width: 20px;
      height: 20px;
      transform: translate(-35px, 10px);
      background: linear-gradient(to bottom, var(--accent-red-color), black);
    }
  }

  p {
    margin: 25px 0;
    font-family: "Baskervville", serif;
    font-weight: normal;
    font-size: min(6vw, 26px);
  }

  strong {
    font-family: "Patua One", sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: min(7vw, 24px);
  }

  a {
    font-family: "Patua One", sans-serif;
    font-weight: bold;
    font-size: min(7vw, 24px);
    color: var(--accent-red-color);
    text-decoration: underline;
  }

  ul, ol {
    font-family: "Baskervville", serif;
    font-weight: normal;
    font-size: min(8vw, 26px);

    li {
      margin: 20px 0;
    }
  }

  small {
    position: relative;
    margin: 50px 20px;
    font-family: "Patua One", serif;
    font-weight: 100;
    font-size: min(7vw, 23px);
    text-align: justify;
    color: #00000080;
    display: block;

    @media (max-width: 430px) {
      margin: 25px 20px;
    }

    &:before {
      content: "【";
      position: absolute;
      font-size: 40px;
      left: -50px;
      color: var(--accent-red-color);
    }

    &:after {
      content: "】";
      position: absolute;
      font-size: 40px;
      top: 0;
      right: -50px;
      color: var(--accent-red-color);
    }
  }

  .highlight {
    display: none;
  }

  .row {
    margin: 25px auto;
    display: inline-block;

    &:nth-of-type(even) {
      .img-container {
        float: inline-start;

        @media (min-width: 430px) {
          margin-right: calc(100% / 20);
        }
      }
    }

    &:nth-of-type(odd) {
      .img-container {
        float: inline-end;

        @media (min-width: 430px) {
          margin-left: calc(100% / 20);
        }
      }
    }

    .img-container {
      max-width: 400px;
      padding: 10px;
      border: solid 1px var(--accent-red-color);
      box-sizing: border-box;

      img {
        width: 100%;
        height: 100%;
        max-height: 600px;
        object-fit: cover;
      }
    }

    div {
      /*max-width: 600px;*/
    }
  }

  .instagram-embed-container {
    display: flex;
    justify-content: center;

    iframe {
      width: 100%;
      max-width: 500px;
    }
  }

  .img-container, .img_container {
    text-align: center;

    img {
      width: 100%;
      max-width: 500px;
    }
  }
}

section.comments {
}
