.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--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;
  }

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

  .newspaper-content-2{
    .newspaper-messages{
      margin-top: 120px;
    }
  }
  .newspaper-content {
    max-width: 960px;
    .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: 0;
    .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-bots{
      .article-author{
        p{
          color: var(--color-blue);
          margin: 0;
          font-weight: bold;
        }
        .explorer__name{
          color: var(--color-blue);
          font-weight: bold;
        }
      }
    }
    .newspaper-bots{
      .article-author{
        display: inline-flex;
        p{
          margin: 0;
        }
        .explorer__name{
          display: inline-flex;
          font-size: 16px;
          line-height: 21px;
        }
      }
      .explorer__avatar {
        img{
        width: 30px;
        margin-right: 10px;
        }
      }
    }
  }
}

@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-bots{
        .article-author{
          .explorer__name{
            font-size: 16px;
            line-height: 21px;
          }
        }
        .explorer__avatar {
          img{
          width: 30px;
          margin-right: 10px;
          }
        }

      }
    }
  }
  .page--newspaper .cross {
    position: relative;
    right: 0;
    top: -7px;
    float: right;
  }
}

/* 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;
  }
}




