section.news-slider {
  background-color: white;
}

/*.header-news-slider {
  margin-top: 2rem;
}*/

.header-news-slider .title-news-slider {
  color: black;
}

/*  section.news-slider .slick-initialized .slick-slide{
    width: calc(100vw - 55px) !important;
  }*/

section.news-slider img.image-style-news-slider-desktop {
  object-fit: cover;
  height: 100%;
}

.news-see-more a.main-action:before {
  position: relative;
  content: url(../images/arrow-right.svg);
  left: -15px;
}

section.news-slider .news-discover-more.responsive {
  /* display: inline-flex; */
  margin-bottom: 40px;
}

section.news-slider .slick-prev {
  left: -4rem;
}
section.news-slider .slick-next {
  right: -4rem;
}
section.news-slider .slick-disabled svg path {
  fill: #bebebe;
}
section.news-slider .slick-next:before,
section.news-slider .slick-prev:before {
  display: none;
}

section.news-slider .slick-track {
  display: flex !important;
  padding-bottom: 30px;
}

section.news-slider .slick-slide {
  height: inherit !important;
}
.news-category ul li {
  display: inline-flex;
  padding: 0;
  margin: 0;
  font-family: var(--text-font);
}

.news-see-more.responsive {
  display: block;
  width: fit-content;
  margin: auto;
}

.news-see-more a.main-action {
  font-size: 14px;
  line-height: 24px;
  font-family: var(--text-font);
}

.news-header span {
  content: url(../images/dot.svg);
  padding: 0px 10px;
}

#main-content .news-footer .news-element-link.secondary-button {
  display: none;
}
#main-content .news-footer .secondary-button {
  font-family: var(--title-font);
}
section.news-slider .news-element-inner {
  /* display: inline-flex !important; */
  flex-direction: row;
  flex: 2;
  padding-left: 1px;
  margin-top: 15px;
}

.news-header {
  /* display: inline-flex; */
  flex-direction: column;
  font-size: 10px;
  line-height: 16px;
  font-family: var(--text-font);
  color: var(--grey);
  /*text-transform: uppercase;*/
  margin-top: 20px;
}

.news-category {
  height: 36px;
  color: var(--grey);
  padding-bottom: 20px;
}

.news-category ul,
.news-category li {
  color: var(--grey);
}

.news-title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-family: var(--text-font);
  color: black;
  padding-bottom: 20px;
}

#main-content .news-category ul:not(.slick-dots) {
  padding: 0;
  margin: 0;
}
/*.news-category ul li{
        display: none;
        padding: 0;
        margin: 0;
}*/

.news-category ul li:after {
  top: 2px;
  position: relative;
  content: "";
  display: block;
  width: 0px;
  height: 0px;
  border: 1px solid var(--grey);
  border-radius: 50px;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  margin: 0 5px;
}

section.news-slider .news-category ul li:last-child:after {
  display: none;
}
/*
.news-category ul li:nth-of-type(1) {
  display: block;
}*/

.news-element-image {
  /* display: inline-flex; */
  height: 264px;
  width: 264px;
  margin: auto;
}

.news-element-info {
  flex: 1;
  position: relative;
  width: 264px;
  margin: auto;
}

.news-element-text.main-content-text {
  width: 198px;
  height: 71px;
  overflow: hidden;
  font-size: 12px;
  line-height: 18px;
  font-family: var(--text-font);
  display: inline;
}

.news-footer {
  padding-top: 20px;
}

.news-element-text.main-content-text p {
  font-weight: 400;
}

section.news-slider .slick-dots li button:before {
  font-size: 1rem;
}

section.news-slider
  .news-element
  .news-element-inner:hover
  .news-element-image {
  transition-property: transform;
  transform: scale(1.05);
  -moz-transform: scale(1.05) rotate(0.01deg);
  -webkit-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
}

section.news-slider .news-element .news-element-inner:hover {
  overflow: visible;
  /* box-shadow: 0px 0px 11px rgb(0 0 0 / 0.1); */
  border: rgb(0 0 0 / 0.1) 1px solid;
}

.slick-active .news-footer {
  bottom: 0px;
}

.news-footer {
  bottom: 34px;
}

@media all and (min-width: 1120px) {
  section.news-slider .center {
    width: 930px;
    padding: 0;
  }
  .news-element-text.main-content-text {
    width: auto;
    height: 71px;
  }

  .news-element-image a {
    pointer-events: none;
  }

  .news-element-text.main-content-text a {
    pointer-events: none;
  }

  /* #main-content .news-footer .news-element-link.secondary-button {
     display: inline-flex; 
  } */
  /*  section.news-slider .slick-dots {
    display:none !important;
  }*/
  section.news-slider .slick-dots li button:before {
    font-size: 1.5rem;
  }

  /*  section.news-slider .slick-initialized .slick-slide{
    width: initial !important;
  }*/
  section.news-slider
    /* .slick-current.slick-active */
    .news-element
    .news-element-inner {
    /* padding-right: 0.5rem; */
    height: 100%;
    border: transparent 1px solid;
  }
  section.news-slider {
    position: relative;
    margin-bottom: 70px;
  }
  section.news-slider .section-container .news-element {
    width: auto;
    height: calc(100% - 4px);
  }
  section.news-slider .section-container .slick-active .news-element {
    position: relative;
    z-index: 5;
    display: flex;
    height: calc(100% - 4px);
  }

  section.news-slider .news-element {
    padding: 5px;
  }

  section.news-slider .news-discover-more.responsive {
    display: none;
  }
  .news-see-more .news-see-more-button:before {
    content: "";
    display: block;
    background-image: url(../images/icons/right_arrow.svg);
    background-repeat: no-repeat;
    background-size: 10px;
    width: 10px;
    height: 10px;
    margin-right: 13px;
    margin-top: 3px;
  }
  .news-see-more .news-see-more-button {
    font-family: var(--title-font) !important;
    font-size: 0.875rem;
    line-height: 1.5rem;
    font-weight: 500;
    letter-spacing: 2%;
    color: #000;
    display: flex;
    align-items: center;
  }
  .news-see-more {
    display: none;
    font-size: var(--font-body-medium);
    line-height: var(--font-body-medium);
  }
  .header-news-slider {
    /* display: inline-flex; */
    width: 100%;
    justify-content: space-between;
    margin-bottom: 25px;
    margin-top: 64px;
  }
  .header-news-slider .title-news-slider {
    font-family: var(--text-font);
    font-weight: bold;
    text-align: center;
  }
  /* section.news-slider .news-element-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
  } */
  .news-element-date {
    /* display: inline-flex; */
    font-size: var(--font-body-small);
    line-height: var(--line-height-small);
    font-family: var(--text-font);
    color: var(--grey);
    text-transform: uppercase;
  }
  .news-header {
    /* display: inline-flex; */
    font-size: var(--font-body-small);
    line-height: var(--line-height-small);
    font-family: var(--text-font);
    color: var(--grey);
  }
  #main-content .news-category ul:not(.slick-dots) {
    padding: 0;
    margin: 0;
  }
  .news-category ul:not(.slick-dots) li {
    display: inline-flex;
    padding: 0;
    margin: 0;
  }
  .news-category ul li:nth-of-type(1) {
    margin: 0;
  }
  .news-element-image {
    padding-top: 15px;
    /* display: inline-flex; */
    height: 264px;
    width: 264px;
  }
  .news-element-info {
    height: auto;
    width: 264px;
    display: grid;
    grid-template-rows: auto auto auto auto;
    padding-bottom: 4rem;
    position: static;
  }
  .news-element-text.main-content-text {
    width: auto;
    height: 100%;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.5;
    font-family: var(--text-font);
    text-overflow: ellipsis;
    /* display: -webkit-box; */
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }

  body #main-content .news-element-text.main-content-text p {
    padding: 0;
    display: inherit;
  }
  /*  .news-element-text.main-content-text {
    width: auto;
    height: 63px;
    overflow: hidden;
    font-size: var(--font-body-medium);
    line-height: var(--line-height-medium);
    font-family: var(--text-font);
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 18px;
  }
  */
  .news-footer {
    padding-top: 0;
    position: absolute;
    bottom: 28px;
  }
  .slick-active .news-footer {
    bottom: 4px;
  }
}

@media (max-width: 1119px) {
  section.news-slider .section-container .slick-active .news-element {
    position: relative;
    z-index: 5;
    display: flex;
    height: calc(100% - 4px);
  }
  section.news-slider .news-element .news-element-inner {
    height: 100%;
  }

  .news-element-info {
    height: auto;
    width: 264px;
    display: grid;
    grid-template-rows: auto auto auto auto;
    padding-bottom: 5rem;
    position: static;
  }

  .news-footer {
    padding-top: 0;
    position: absolute;
    bottom: 49px;
  }

  .slick-active .news-footer {
    bottom: 15px;
  }

  /* .news-element-link {
    display: none;
  } */
  .news-see-more:before {
    content: "";
    display: inline-flex;
    background-image: url(../images/icons/right_arrow.svg);
    background-repeat: no-repeat;
    background-size: 10px;
    width: 10px;
    height: 10px;
    margin-right: 3px;
    position: relative;
    top: 2px;
  }
  .news-see-more a {
    font-size: var(--font-body-small);
    line-height: var(--line-height-small);
  }

  .news-see-more {
    position: relative;
    top: -4px;
  }

  .news-see-more.responsive {
    display: none;
  }

  .header-news-slider {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 24px;
    align-items: center;
  }
  /*  #main-content .news-category ul:not(.slick-dots) {
    display: flex;
  }*/

  .news-header {
    padding-bottom: 10px;
    height: 38px;
  }

  .news-element-date {
    font-size: var(--font-body-small);
    line-height: var(--line-height-small);
    font-family: var(--text-font);
    color: var(--grey);
    text-transform: uppercase;
  }

  .news-element-text.main-content-text {
    font-size: var(--font-body-small);
    line-height: var(--line-height-small);
    overflow: hidden;
    text-overflow: ellipsis;
    display: initial;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 9.4375rem;
  }

  .news-element-text.main-content-text p {
    max-height: 110px;
    display: inline;
  }

  /*#news-slider .slick-dots{
      display: none !important;
    }*/
  /*   .news-see-more.responsive {
    display: flex;
    align-items: center;
    margin-bottom: 2.03125rem;
    position: relative;
  } */
  section.news-slider .news-element-inner {
    margin-top: 0px;
  }
  .news-footer {
    padding-top: 14px;
  }
  section.news-slider .title-news-slider,
  section.news-slider .title-news-slider .h2-size{
    padding-bottom: 0;
  }
  #main-content .news-category ul li:nth-child(n + 4),
  #main-content .news-category ul li:nth-child(n + 3)::after {
    display: none;
  }
  section.news-slider .slick-arrow {
    top: calc(100% - 1.5rem);
  }
  section.news-slider .slick-prev {
    left: -0.5rem;
    z-index: 2;
  }
  section.news-slider .slick-next {
    right: -0.5rem;
    z-index: 2;
  }

  section.news-slider .slick-dotted.slick-slider {
    margin-bottom: 0.5rem;
    padding-bottom: 2rem;
  }

  section.news-slider .slick-dots {
    bottom: 0.875rem;
  }

  section.news-slider .slick-dots li button:before {
    font-size: 1rem;
  }
}

#news-slider .image-style-news-slider-4k {
  display: none;
}

/* wide HD */
@media (min-width: 1921px) {
  section.news-slider .center {
    width: var(--grid-wide);
  }

  .header-news-slider {
    margin-top: 4.5rem;
    align-items: center;
  }

  .header-news-slider .title-news-slider {
    font-size: 3rem;
    line-height: 3.75rem;
  }

  .news-see-more .news-see-more-button {
    font-size: 1rem;
    line-height: 1.2rem;
  }

  .news-see-more .news-see-more-button:before {
    background-size: 15px;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    position: relative;
    top: 6px;
  }

  .news-header {
    margin-top: 27px;
    padding-bottom: 27px;
  }

  .news-category {
    height: 48px;
  }

  .news-element-image {
    width: 400px;
    height: 400px;
  }

  .news-title {
    font-size: 1.5rem;
    line-height: 2.4rem;
    max-height: 100px;
    overflow: hidden;
  }

  .news-element-info {
    width: 400px;
  }

  .news-element-text.main-content-text {
    font-size: var(--font-body-medium);
    line-height: var(--line-height-medium);
    height: auto;
    display: inline;
    -webkit-line-clamp: 7;
    padding-bottom: 0;
  }

  /* section.news-slider .news-element-inner {
    gap: 1.5rem;
  }
 */
  section.news-slider .slick-arrow svg {
    width: 1rem;
    height: 0.5rem;
  }

  section.news-slider .slick-next {
    right: -2rem;
  }

  section.news-slider .slick-prev {
    left: -2rem;
  }

  .news-footer {
    position: absolute;
  }

  .news-element-image {
    padding-top: 35px;
  }
  section.news-slider .section-container .slick-active .news-element {
    height: calc(100% - 30px);
  }
  section.news-slider .news-element {
    padding: 15px;
  }

  .slick-active .news-footer {
    bottom: 23px;
  }

  .news-footer {
    bottom: 53px;
  }

  .news-element-info {
    padding-bottom: 5rem;
  }
}

/* 4k */
@media (min-width: 3441px) {
  .news-element-info {
    padding-bottom: 10rem;
  }

  .news-element-image {
    padding-top: 80px;
  }
  section.news-slider .section-container .slick-active .news-element {
    height: calc(100% - 40px);
  }
  section.news-slider .news-element {
    padding: 20px;
  }

  .slick-active .news-footer {
    bottom: 65px;
  }

  .news-footer {
    bottom: 95px;
  }

  #news-slider .slick-dots {
    bottom: -50px;
  }

  section.news-slider {
    margin-bottom: 100px;
  }

  section.news-slider .center {
    width: var(--grid-4k);
  }

  .header-news-slider {
    margin-top: 6.75rem;
    margin-bottom: 50px;
  }

  .header-news-slider .title-news-slider {
    font-size: 4.5rem;
    line-height: 1.3em;
  }

  .news-see-more .news-see-more-button {
    font-size: 1.5rem;
    line-height: 1.3em;
  }

  .news-see-more .news-see-more-button:before {
    background-size: 22px;
    width: 35px;
    height: 35px;
    margin-right: 13px;
    position: relative;
    top: 9px;
  }

  .news-header {
    margin-top: 36px;
    padding-bottom: 36px;
  }

  .news-category {
    height: 65px;
  }

  .news-element-image {
    width: 550px;
    height: 550px;
  }

  .news-element-text.main-content-text {
    height: auto;
    -webkit-line-clamp: 5;
    padding-bottom: 0;
    margin-bottom: 5rem;
  }

  .news-element-info {
    padding-left: 0;
    width: 550px;
  }

  .news-title {
    font-size: 2rem;
    line-height: 3.2rem;
    overflow: hidden;
    max-height: 135px;
  }

  section.news-slider .slick-arrow svg {
    width: 2rem;
    height: 1.125rem;
  }

  section.news-slider .slick-next {
    right: -4rem;
  }

  section.news-slider .slick-prev {
    left: -4rem;
  }

  section.news-slider .slick-dots li button:before {
    font-size: 2.5rem;
  }

  #news-slider .slick-dots li {
    margin-right: 10px;
  }
}
