.new-blog {
   width: 100%;
   margin-top: calc(52px - 16px);
   margin-bottom: calc(99px - 16px);
}

.new-blog__container {
   width: 100%;
   max-width: calc(1424px + 32px);
   margin: 0 auto;
   padding: 0 16px;
}

.new-blog__inner h2 {
   font-weight: 700;
   font-size: 30px;
   line-height: 40px;
   color: #454545;
   margin-bottom: 13px;
}

.new-blog__header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: calc(41px - 8px);
}

.new-blog__tags {
   display: flex;
   flex-wrap: wrap;
   margin-right: 80px;
}

.new-blog__tags a {
   font-weight: 500;
   font-size: 18px;
   line-height: 22px;
   color: #06C8D2;
   margin-right: 28px;
   margin-bottom: 8px;
   padding-right: 2px;
   transition: .2s;
}

.new-blog__tags a:hover {
   opacity: .6;
}

.new-blog__tags--active {
   position: relative;
}

.new-blog__tags--active::after {
   content: '';
   position: absolute;
   bottom: -3px;
   left: 0;
   width: 100%;
   height: 2px;
   border-radius: 8px;
   background: #06C8D2;
}

.new-blog__link {
   display: flex;
   justify-content: center;
   align-items: center;
   font-weight: 600;
   font-size: 18px;
   line-height: 22px;
   color: #06C8D2;
   background: rgba(6, 200, 210, 0.2);
   border-radius: 8px;
   width: 300px;
   min-width: 300px;
   height: 52px;
   transition: .2s;
}

.new-blog__link:hover {
   color: #06C8D2;
   opacity: .6;
}

.new-blog__content {
   display: flex;
   flex-wrap: wrap;
   position: relative;
}

.new-blog__item:first-child {
   width: calc(66.6666% - 8px);
   margin-right: 8px;
   max-height: 548px;
}

.new-blog__item:nth-child(2) {
   max-height: 548px;
   margin-left: 8px;
}

.new-blog__item:first-child img {
   max-height: 548px;
}

.new-blog__item {
   display: flex;
   flex-direction: column;
   width: calc(33.3333% - 12px);
   box-shadow: 0px 2px 22px rgba(88, 88, 88, 0.07);
   border-radius: 20px;
   margin-bottom: 16px;
   position: relative;
   /* max-height: 458px; */
   cursor: pointer;
   transition: .2s;
}

.new-blog__item:nth-child(3n) {
   margin-right: 8px;
}

.new-blog__item:nth-child(3n + 4) {
   margin-left: 8px;
   margin-right: 8px;
}

.new-blog__item:nth-child(3n + 5) {
   margin-left: 8px;
}

.new-blog__item:first-child::after {
   content: '';
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(maria-lupan-RjCw1GOxq38-unsplash.jpg);
   border-radius: 20px;
}

.new-blog__item:not(:first-child) .new-blog__photo::after {
   content: '';
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(maria-lupan-RjCw1GOxq38-unsplash.jpg);
   border-top-left-radius: 20px;
   border-top-right-radius: 20px;
}

.new-blog__item:not(:first-child) .new-blog__photo {
   position: relative;
}

.new-blog__photo img {
   width: 100%;
   object-fit: cover;
   border-top-left-radius: 20px;
   border-top-right-radius: 20px;
}

.new-blog__item:not(:first-child) .new-blog__photo img {
   height: 245px;
}

.new-blog__item:nth-child(2) .new-blog__photo img {
   height: 100%;
}

.new-blog__item:first-child img {
   border-bottom-left-radius: 20px;
   border-bottom-right-radius: 20px;
}

.new-blog__item:hover {
   opacity: .8;
}

.new-blog__tag {
   position: absolute;
   left: 24px;
   top: 22px;
   z-index: 2;
   font-weight: 500;
   font-size: 18px;
   line-height: 22px;
   color: rgba(255, 255, 255, 0.8);
}

.new-blog__item:first-child .new-blog__tag {
   left: 34px;
}

.new-blog__item:first-child .new-blog__text {
   position: absolute;
   left: 34px;
   bottom: 38px;
   z-index: 2;
   max-width: 657px;
   padding: 0;
   background: none;
}

.new-blog__item:first-child h3 {
   font-weight: 700;
   font-size: 28px;
   line-height: 38px;
   color: #FFFFFF;
   overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
   margin-bottom: 12px;
}

.new-blog__item:first-child h4 {
   font-weight: 400;
   font-size: 16px;
   line-height: 26px;
   color: #FFFFFF;
   overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
}

.new-blog__item:nth-child(2) .new-blog__text {
   background: #fff;
   padding: 34px 32px;
   padding-top: 22px;
}

.new-blog__item h3 {
   font-weight: 700;
   font-size: 18px;
   line-height: 24px;
   color: #454545;
   overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
   margin-bottom: 12px;
}

.new-blog__item:nth-child(2) h3 {
   font-weight: 700;
   font-size: 22px;
   line-height: 32px;
   color: #454545;
   margin-bottom: 0;
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
}

.new-blog__item:not(:first-child) h4 {
   font-weight: 400;
   font-size: 16px;
   line-height: 26px;
   color: #454545;
   overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
}

.new-blog__text {
   background: #fff;
   padding-top: 20px;
   padding-left: 24px;
   padding-right: 66px;
   padding-bottom: 32px;
   border-bottom-left-radius: 20px;
   border-bottom-right-radius: 20px;
}

.new-blog__item:not(:first-child) .new-blog__text {
   height: 100%;
}

.new-blog__item:nth-child(2) .new-blog__text {
   height: auto;
   max-height: 152px;
}

.new-blog__item:nth-child(2) h4 {
   display: none;
}

.new-blog__item:nth-child(2) .new-blog__photo {
   height: 100%;
}

.new-blog__item:nth-child(2) img {
   height: 100%;
}

.new-blog__admin-nav {
   display: flex;
   align-items: center;
   position: absolute;
   right: 16px;
   top: 16px;
   z-index: 3;
}

.new-blog__admin-nav a {
   width: 42px;
   height: 42px;
   display: flex;
   justify-content: center;
   align-items: center;
   background: #fff;
   border-radius: 50%;
   box-shadow: 0px 2px 10px 0px rgb(0 0 0 / 5%);
   border: none;
   margin-right: 8px;
   transition: .2s;
}

.new-blog__admin-nav a:hover {
   opacity: .6;
}

.new-blog__admin-nav i {
   color: #454545;
   font-size: 18px;
}

.new-blog__admin-nav input {
   position: absolute;
   opacity: 0;
   z-index: -2;
   visibility: hidden;
}

.new-blog__admin-nav input + .fa-eye + .fa-eye-slash {
   display: none;
}

.new-blog__admin-nav input + .fa-eye {
   display: block;
}

.new-blog__admin-nav input:checked + .fa-eye + .fa-eye-slash {
   display: block;
}

.new-blog__admin-nav input:checked + .fa-eye {
   display: none;
}

.new-blog__admin-nav label {
   width: 42px;
   height: 42px;
   display: flex;
   justify-content: center;
   align-items: center;
   background: #fff;
   border-radius: 50%;
   box-shadow: 0px 2px 10px 0px rgb(0 0 0 / 5%);
   border: none;
   margin-right: 8px;
   cursor: pointer;
   transition: .2s;
}

.new-blog__admin-nav label:hover {
   opacity: .6;
}

@media (max-width: 991px) {
   .new-blog {
      margin-top: 24px;
      margin-bottom: 32px;
   }

   .new-blog__header {
      flex-direction: column;
      align-items: flex-start;
   }

   .new-blog__tags {
      margin-right: 0;
   }

   .new-blog__link {
      width: 100%;
      margin-top: 24px;
   }

   .new-blog__inner h2 {
      margin-bottom: 16px;
   }

   .new-blog__item:first-child {
      width: 100%;
   }

   .new-blog__item:nth-child(2) {
      width: calc(50% - 8px);
   }

   .new-blog__item {
      width: calc(50% - 8px);
      margin-left: 0 !important;
      margin-right: 0 !important;
   }

   .new-blog__item:nth-child(2) h3 {
      font-weight: 700;
      font-size: 18px;
      line-height: 24px;
      color: #454545;
      margin-bottom: 12px;
   }

   .new-blog__item:nth-child(2) h4 {
      display: -webkit-box;
   }

   .new-blog__item:nth-child(2) img {
      height: auto;
   }

   .new-blog__item:nth-child(2) .new-blog__photo {
      height: auto;
   }

   .new-blog__text {
      padding-right: 22px;
   }

   .new-blog__content {
      justify-content: space-between;
   }

   .new-blog__item:nth-child(2) .new-blog__photo img {
      height: 245px;
   }
}

@media (max-width: 768px) {
   .new-blog__item:first-child .new-blog__text {
      position: relative;
      left: 0;
      bottom: 0;
      background: #fff;
      padding-top: 13px;
      padding-left: 14px;
      padding-right: 9px;
      padding-bottom: 43px;
      max-width: 100%;
   }

   .new-blog__item:nth-child(2) .new-blog__text {
      padding-top: 13px;
      padding-left: 14px;
      padding-right: 9px;
      padding-bottom: 43px;
   }

   .new-blog__text {
      padding-top: 13px;
      padding-left: 14px;
      padding-right: 9px;
      padding-bottom: 43px;
   }

   .new-blog__item:first-child h3 {
      font-size: 16px;
      line-height: 22px;
      color: #454545;
      margin-bottom: 10px;
   }

   .new-blog__item:first-child h4 {
      font-size: 12px;
      line-height: 22px;
      color: #454545;
   }

   .new-blog__item:nth-child(2) h3 {
      font-size: 16px;
      line-height: 22px;
      margin-bottom: 10px;
   }

   .new-blog__item:nth-child(2) h4 {
      font-size: 12px;
      line-height: 22px;
   }

   .new-blog__item:not(:first-child) h3 {
      font-size: 16px;
      line-height: 22px;
      margin-bottom: 10px;
   }

   .new-blog__item:not(:first-child) h4 {
      font-size: 12px;
      line-height: 22px;
   }

   .new-blog__item:nth-child(2) {
      width: 100%;
      max-height: 100%;
   }

   .new-blog__item {
      width: 100%;
      max-height: 100%;
   }

   .new-blog__item:first-child {
      max-height: 100%;
   }

   .new-blog__item:first-child img {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
  }

  .new-blog__item:first-child .new-blog__tag {
   left: 17px;
  }

  .new-blog__tag {
   font-size: 14px;
   line-height: 22px;
   left: 17px;
  }
}

@media (max-width: 576px) {
   .new-blog {
      margin-top: 12px;
      margin-bottom: 76px;
   }

   .new-blog__admin-nav a {
      min-width: 32px;
      width: 32px;
      height: 32px;
   }

   .new-blog__admin-nav label {
      min-width: 32px;
      width: 32px;
      height: 32px;
   }

   .new-blog__admin-nav i {
      font-size: 14px;
   }

   .new-blog__item:not(:first-child) .new-blog__photo img {
      height: auto;
   }

   .new-blog__item:nth-child(2) .new-blog__photo img {
      height: auto;
   }
}
.new-blog__loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.35);z-index:2}
.new-blog__spinner{width:44px;height:44px;border:4px solid rgba(255,255,255,0.35);border-top-color:#fff;border-radius:50%;animation:nb-spin 0.9s linear infinite}
@keyframes nb-spin{to{transform:rotate(360deg)}}
