﻿/*Crema - Creative Management // crema.com.*/
.date {
  font-size: 18px;
  color: #707070;
  margin-bottom: 50px;
}

.page-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.news-title {
  margin-bottom: 20px !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #333 !important;
}

section {
  padding-bottom: 40px !important;
}
@media only screen and (max-width: 991px) {
  section {
    padding-top: 40px !important;
  }
}

.page-title {
  padding-left: 20px;
}
.page-title h1 {
  font-size: 3.5rem !important;
}

@media screen and (max-width: 1400px) {
  .page-title {
    padding-left: 0;
  }
  .page-title h1 {
    font-size: 3rem !important;
  }
}
@media screen and (max-width: 991px) {
  .page-title {
    text-align: center;
    margin-bottom: 30px;
  }
}
.wrapper {
  grid-template-areas: "header  header" "content sidebar" "footer  footer";
  grid-template-columns: 3fr 1fr;
}

.side-menu a {
  border-left: 2px solid #d9d9d9;
  border-right: none;
  text-align: left;
  padding: 10px 0 10px 30px;
  font-size: 16px;
}

.side-menu a:hover {
  text-decoration: underline;
  color: #05f;
}

.side-menu-wrapper {
  height: max-content;
  overflow-y: auto;
}

.side-menu-wrapper.active {
  height: 360px;
}

.side-menu a:before {
  content: "";
  background-image: url(/website/img/caret-blue.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  width: 5px;
  height: 8px;
  position: relative;
  display: block;
  top: 17px;
  left: -15px;
}

/* width */
.side-menu-wrapper::-webkit-scrollbar {
  width: 7px;
}

/* Track */
.side-menu-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 20px;
}

/* Handle */
.side-menu-wrapper::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 20px;
}

/* Handle on hover */
.side-menu-wrapper::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.see-all {
  display: block;
  font-size: 20px;
  color: #333;
  font-weight: 700;
  cursor: pointer;
  margin-top: 30px;
  padding-left: 31px;
  font-size: 16px;
}

.see-all:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .wrapper {
    grid-template-areas: initial;
    grid-template-columns: initial;
  }
  aside {
    display: block !important;
    height: auto;
    grid-area: initial;
    position: initial;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  article {
    grid-area: initial;
  }
  .side-menu-wrapper.active {
    height: 220px;
  }
  aside.scroll, article.scroll {
    padding-top: 0 !important;
  }
  .all-news {
    display: block !important;
    margin-bottom: 30px;
  }
}
.service-list {
  list-style-type: none;
  float: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  margin-bottom: 30px;
}

.service-list-item {
  font-weight: 500;
  font-size: 1.25rem;
  color: #686868;
  line-height: 1.6;
  transition: all 0.4s ease-in-out;
}
.service-list-item:hover.service-list-item::before {
  animation: dangle 3s ease-in-out infinite;
  cursor: pointer;
}
.service-list-item .list-item-label {
  border-radius: 500px;
  font-weight: 900;
  margin-right: 10px;
  padding: 4px 10px;
  font-weight: 700;
  display: block;
  width: fit-content;
  margin-top: 8px;
  font-size: 1.125rem;
}
.service-list-item .list-item-label::before {
  content: "";
  background-image: url("/website/img/arrow-solid-right.svg");
  width: 23px;
  display: inline-block;
  height: 23px;
  margin-right: 15px;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  bottom: -5px;
  right: -13px;
  animation: none;
  transition: all 0.5s ease-in-out;
}

.service-list-item::before {
  content: "";
  display: inline-block;
  background-image: url("/website/img/circle-arrow.svg");
  width: 20px;
  display: inline-block;
  height: 20px;
  margin-right: 10px;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  bottom: -5px;
  animation: none;
  transition: all 0.5s ease-in-out;
}

@keyframes dangle {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(10px);
  }
  75% {
    transform: translateX(0px);
  }
}
.presentation-img {
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 2/1;
}

.image-card-wrapper {
  position: relative;
  min-height: 300px;
}
.image-card-wrapper .image-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.image-card-wrapper .image-overlay img {
  width: 100%;
  height: 100%;
  position: relative;
  object-fit: cover;
  object-position: center;
  filter: hue-rotate(70deg) brightness(120%);
  mix-blend-mode: luminosity;
  z-index: 2;
}
.image-card-wrapper .image-overlay::before {
  content: "";
  position: absolute;
  border-radius: 16px;
  width: 100%;
  background: rgb(3, 79, 227);
  background: linear-gradient(176deg, rgb(0, 79, 236) 0%, rgba(0, 17, 255, 0.511) 100%);
  filter: hue-rotate(0deg) opacity(0.9) saturate(100%);
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
  z-index: 3;
}

/*NEWS Page Styling Start*/
.news-header {
  margin-bottom: 50px;
  text-align: center;
  font-size: 3.3rem;
}
@media (max-width: 1200px) {
  .news-header {
    font-size: 2.7rem;
  }
}

.news-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
@media (max-width: 768px) {
  .news-wrapper {
    width: 100%;
  }
}
.news-wrapper .text-decoration-none {
  filter: brightness(100%);
  transition: filter 0.4s ease;
}
.news-wrapper .text-decoration-none:hover {
  filter: brightness(70%);
}
@media only screen and (max-width: 767px) {
  .news-wrapper .text-decoration-none {
    width: 100%;
    display: block;
  }
}
.news-wrapper .card {
  height: 760px;
}
@media (min-width: 1400px) {
  .news-wrapper .card {
    width: 30rem;
  }
}
@media only screen and (max-width: 1399px) {
  .news-wrapper .card {
    width: 26rem;
  }
}
@media only screen and (max-width: 767px) {
  .news-wrapper .card {
    width: 100% !important;
    height: 500px;
  }
}
.news-wrapper .card,
.news-wrapper .card .card-img-top {
  border-radius: 20px;
}
.news-wrapper .card .card-img-top {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  width: 100%;
}
.news-wrapper .card .image-card-wrapper {
  position: relative;
  min-height: 350px;
  border-radius: 20px;
}
@media only screen and (max-width: 767px) {
  .news-wrapper .card .image-card-wrapper {
    min-height: 250px;
  }
}
.news-wrapper .card .image-card-wrapper .image-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.news-wrapper .card .image-card-wrapper .image-overlay img {
  width: 100%;
  height: 100%;
  position: relative;
  object-fit: cover;
  object-position: center;
  filter: hue-rotate(70deg) brightness(120%);
  aspect-ratio: 5/1;
  mix-blend-mode: luminosity;
  z-index: 2;
}
.news-wrapper .card .image-card-wrapper .image-overlay::before {
  content: "";
  position: absolute;
  border-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  width: 100%;
  background: rgb(3, 79, 227);
  background: linear-gradient(176deg, rgb(0, 79, 236) 0%, rgba(0, 17, 255, 0.511) 100%);
  filter: hue-rotate(0deg) opacity(0.9) saturate(100%);
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
  z-index: 3;
}
.news-wrapper .card .card-title {
  font-weight: 700;
  margin-bottom: 10px;
}
@media (min-width: 1700px) {
  .news-wrapper .card .card-title {
    font-size: 2rem;
  }
}
.news-wrapper .card .card-body {
  padding: 15px;
}
.news-wrapper .card .card-body .date {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #9c9c9c;
}
.news-wrapper .card .card-body .date i {
  margin-right: 10px;
}
.news-wrapper .card .card-body .card-text {
  font-weight: 500;
  font-size: 1.2rem;
  color: #9c9c9c;
}

.btn-container {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.btn-container .newsBtn {
  padding: 10px 15px;
  font-weight: 600;
  font-size: 1.4rem;
  background-color: #ffaa00 !important;
  border: none;
}

/*NEWS Page Styling End*/
