.header_freemium{
  background-color: var(--color-peach);
}
.header_premium{
  background-color: var(--color-blue);
}
.header_business{
  background-color: var(--color-dark-blue);
}
.post__link--readmore{
  text-align: center;
  margin-bottom: 35px;
  a{
    font-size: 15px;
    text-decoration: underline;
    color: var(--color-dark);
    font-weight: bold;
    width: 100%;
    display: inline-grid;
  }
  a:hover{
    color: var(--color-dark);
  }
}
.page--newspaper, .page--onboarding{
  .message__container{
    background-color: var(--color-hover-yellow);
    padding: 22px;
    border-radius: 5px;
    text-align: center;
    p, a{
      font-size: 16px;
    }
    a{
      color: var(--color-amber-dark);
      &:hover{
        color: var(--color-yellow);
      }
    }
    span{
      color: var(--color-amber-dark);
    }
  }
}
.page--onboarding{
  .message__container{
    margin-bottom: 30px;
    width: 61%;
    span{
      font-size: 18px;
      font-family: var(--font-family-text);
    }
    .message__image img{
      border-radius: 5px;
    }
  }
}
.close-element{
  display: none;
}

.active-message{
  display: block;
}

.page--newspaper{
  .cross{
    position: relative;
    right: -17px;
    top: -7px;
    cursor: pointer;
    float: right;
  }
  .message__container{
    margin-bottom: 40px;
    span{
      font-size: 15px;
    }
    .message__content{
      text-align: left;
      display: flex;
    }
    img.cross-icon{
      filter: invert(79%) sepia(29%) saturate(7435%) hue-rotate(2deg) brightness(98%) contrast(92%);
    }
    img{
      margin-right: 20px;
      height: initial;
      margin-top: auto;
      margin-bottom: auto;
    }
    p{
      font-size: 15px;
      line-height: 26px;
    }
  }


  .newspaper_header{
    margin-bottom: 50px;
    hr.thin-line{
      width: 300px;
      border-top: 2px solid #eeeeee;
    }
    p{
      color: var(--color-dark-blue);
      font-size: 18px;
    }
  }

  .newspaper-content-2{
    .newspaper-messages{
      margin-top: 120px;
    }
  }
  .newspaper-content {
    .newspaper-messages{
      a{
        font-size: 18px;
        color: var(--color-turquoise);
        font-weight: bold;
      }
    }
  }
  .newspaper-content, .newspaper-content-2{
    /* max-width: 970px; */
    /* width: 100%; */
    margin-right: auto;
    margin-left: auto;
    .newspaper-messages{
      text-align: center;
      p{
        font-size: 18px;
        line-height: 36px;
        color: var(--color-dark);
        margin-top: 40px;
      }
    }
    .newspaper-bots{
      .newspaper-bots-title{
        border-radius: 0 0 3px 3px;
        border-bottom: 1px solid var(--color-dark);
        margin-bottom: 25px;
        img{
          width: 158px;
        }
        p{
          top: 76px;
          left: 38px;
          color: var(--color-white);
          font-size: 14px;
          position: relative;
          font-weight: bold;
          text-decoration: none;
          width: fit-content;
        }
        a{
          width: fit-content;
        }
         a:hover{
          text-decoration: none;
        }
      }
    }


    .newspaper-explorer{
      /* a{ */
      /*   display: flex; */
      /* } */
      a:hover{
        text-decoration: none;
      }
      .article-author{
        p{
          color: var(--color-red);
          margin: 0;
          font-weight: bold;
        }
        .explorer__name{
          color: var(--color-red);
          font-weight: bold;
        }
        .dot{
          background-color: var(--color-red);
        }
      }
    }
    .newspaper-bots{
      .article-author{
        p{
          color: var(--color-blue);
          margin: 0;
          font-weight: bold;
        }
        .explorer__name{
          color: var(--color-blue);
          font-weight: bold;
        }
        .dot{
          background-color: var(--color-blue);
        }
      }
    }
    .newspaper-explorer, .newspaper-bots{
      .article-author{
        display: inline-flex;
        p{
          margin: 0;
        }
        .explorer__name{
          display: inline-flex;
          font-size: 16px;
          line-height: 21px;
        }
        .dot{
          height: 5px;
          width: 5px;
          border-radius: 50%;
          position: relative;
          bottom: -14px;
          margin: 0 5px 0 5px;
        }
      }
      .explorer__avatar {
        img{
        width: 30px;
        margin-right: 10px;
        }
      }
      .bot-articles{
        display: flex;
        flex-direction: row-reverse;
        border-bottom: 0.5px solid var(--color-light-gray);
        margin-bottom: 25px;
        padding-bottom: 25px;
        .bot-article__image {
          width: 20%;
          margin-left: 30px;
          img{
            width: 100%;
            border-radius:5px;
            max-height: 100px;
            object-fit: cover;
          }
        }
        .bot-article__content{
          width: 80%;
          .bot-article__title {
            a{
              color: var(--color-dark);
              font-size: 18px;
              line-height: 30px;
              text-decoration:none;
              font-family: var(--font-family-header);
            }
          }
          .bot-article__summary p{
            color: var(--color-black);
            font-size: 16px;
            line-height: 26px;
            margin-top: 10px;
          }

          /* like, dont like */

          .bot__choice{
            margin-top: 25px;
            p, a {
              color: #727272;
              font-size: 12px;
              margin-right: 0;
              text-align: center;
              display: inline-grid;
              &:hover{
                text-decoration: none;
                font-weight: bold;
              }
            }

          .like.clicked {
            margin-left: 20px;
            margin-left: 0;
          }
          .dontlike.clicked, .dontlike.not-clicked {
            display: grid;
            margin-left: 20px;
            margin-right: 20px;
            img{
              margin: auto;
              /* width: 17px; */
            }
          }
          .like.not-clicked, .like.clicked {
            display: grid;
            img{
              margin: auto;
              width: 25px;
            }
          }
        }
        .checkbox-like-dont-like{
          display: flex;

          .hidden {
            display: none;
          }
          .visible {
            display: flex;
          }
        }
          .bot-article__date-source{
            display: inline-flex;
            span, p{
              color: var(--color-blue);
              font-size: 16px;
              line-height: 21px;
              font-weight: normal;
            }
            .separator{
              margin-right: 5px;
              margin-left: 5px;
            }
          }
        }
      }
    }
  }
}

@media (max-width: 767px) {
  .page--newspaper {
    margin-right: 0;
    margin-left: 0;

    .newspaper-content, .newspaper-content-2{
      .newspaper-messages{
        margin-top: 50px;
        p{
          font-size: 16px;
          line-height: 28px;
        }
        a{
          font-size: 16px;
        }
      }
    }

    .newspaper-content-2{
      width: 90%;
      .newspaper-posts{
        .seemore__button{
          width: 100%;
        }
      }
    }
    .newspaper-content-2, .newspaper-content {
      margin-top: 20px;
      .newspaper-posts{
        .post__title h2 {
          margin-top: 10px;
        }
        .post__image img{
          max-width: 100%;
        }
        .seemore__button{
          width: 100%;
        }
        .post__details{
          .post__author{
            display: -webkit-inline-box;
            .article-author{
              display: -webkit-inline-box;
            }
            p{
              font-size: 16px;
              line-height: 21px;
            }
          }
        }
      }
      .newspaper-explorer, .newspaper-bots{
        .article-author{
          .explorer__name{
            font-size: 16px;
            line-height: 21px;
          }
          .dot{
            bottom: -10px;
          }
        }
        .explorer__avatar {
          img{
          width: 30px;
          margin-right: 10px;
          }
        }

        .bot-articles{
          display: revert;
          .bot-article__title h1{
            font-size: 17px;
            line-height: 25px;
          }
          .bot-article__content{
            margin-top: 20px;
            width: 100%;
            .bot-article__summary{
              font-size: 16px;
              line-height: 24px;
            }
            .bot-article__date-source{
              font-size: 16px;
              line-height: 21px;
            }
          }
          .bot-article__image {
            width: 100%;
            margin-left: 0;
            img{
              max-height: 208px;
              object-fit: cover;
            }
          }
          .bot__choice {
            display: flex;
            margin-top: 8px;
          }
        }
      }
    }
  }
  .page--newspaper .cross {
    position: relative;
    right: 0;
    top: -7px;
    float: right;
  }
  .page--newspaper .message__container .message__content{
    display: revert;
  }
  .page--newspaper .message__container img {
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ipad */

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait)  {
  .page--newspaper {
    .newspaper-content {
      width: 80%;
    }
  }
  .page--newspaper .cross {
    position: relative;
    right: 0;
    top: -7px;
    float: right;
  }
}




