/* color */
/* font */
/* transition */
.newsItem {
  align-items: center;
  display: flex;
  position: relative;
  padding: 25px 0;
  margin-bottom: 70px; }
  @media (max-width: 640px) {
    .newsItem {
      flex-direction: column; } }
  .newsItem:nth-child(even) {
    flex-direction: row-reverse; }
    @media (max-width: 640px) {
      .newsItem:nth-child(even) {
        flex-direction: column; } }
    .newsItem:nth-child(even):before {
      content: "";
      position: absolute;
      left: auto;
      right: 0; }
    .newsItem:nth-child(even):after {
      content: "";
      position: absolute;
      right: auto;
      left: 0; }
    .newsItem:nth-child(even) .newsInfo {
      padding: 20px 30px; }
      @media (max-width: 640px) {
        .newsItem:nth-child(even) .newsInfo {
          padding: 0; } }
  @media (min-width: 1281px) {
    .newsItem:hover:after {
      content: "";
      position: absolute;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); }
    .newsItem:hover .newsImg img {
      transform: scale(1.05); } }
  .newsItem:before {
    content: "";
    position: absolute;
    width: 45%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url("../assets/images/newsGrid.png");
    z-index: 1; }
  .newsItem:after {
    content: "";
    position: absolute;
    width: 90%;
    right: 0;
    height: 90%;
    bottom: 0;
    background-color: #f5f5f5;
    z-index: -1;
    transition: all 0.5s ease-in-out; }
  .newsItem .date {
    color: #2a7ca4;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px; }
  .newsItem .cardTitle {
    height: 78px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden; }

.newsImg, .newsInfo {
  width: 50%;
  position: relative;
  z-index: 2; }
  @media (max-width: 640px) {
    .newsImg, .newsInfo {
      width: 100%; } }

.newsImg {
  margin-top: -20px;
  overflow: hidden; }
  .newsImg img {
    transition: all 0.5s ease-in-out; }

.newsInfo {
  padding: 20px 0; }

.newsContent .topBox {
  padding: 30px 40px;
  width: 90%;
  margin-left: auto;
  background-color: #f5f5f5;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: relative; }
  @media (max-width: 640px) {
    .newsContent .topBox {
      padding: 15px 20px;
      width: 95%; } }
  .newsContent .topBox:before {
    content: "";
    position: absolute;
    width: 45%;
    height: 150%;
    left: -15%;
    top: -20%;
    background-image: url("../assets/images/newsGrid.png");
    z-index: 1; }
  .newsContent .topBox:after {
    content: "";
    position: absolute;
    background-image: url(../assets/images/menuLogo.png);
    height: 40px;
    width: 40px;
    top: -20px;
    left: 35px; }
  .newsContent .topBox .contentTitle {
    margin-top: 25px; }
    @media (max-width: 640px) {
      .newsContent .topBox .contentTitle {
        font-size: 18px; } }
