body.custom-background.page-template-press {
  background-color: #f6f6f6 !important;
  background-image: none !important;
}

.single-post .press-date,
.single-post .press-img-logo,
.single-post h2 {
  display: none;
}

/* LEFT COLUMN (DESKTOP) */

.press-left-side-wrapper {
  width: 50%;
  float: left;
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(to top, #b3b3b3 57.24%, rgba(179, 179, 179, 0))
    1 93.44%;
  border-left: none;
  height: 89vh;
}

.press-left-side {
  text-align: end;
  padding-right: 75px;
  margin-top: 50px;
}

.press-left-title {
  font-weight: 200;
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 22px;
}

.press-left-block a {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  text-align: right;
  letter-spacing: 1.23px;
  text-transform: uppercase;
  color: #222;
  text-decoration: none;
}

.press-left-block h2 {
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  margin-bottom: 8px;
}

.press-left-block .press-date {
  margin-bottom: 33px;
}

.press-left-block-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 1px;
  color: #222;
  display: inline-block;
  width: 260px;
}

.press-left-block-link {
  color: #222;
}

/* RIGHT COLUMN (DESKTOP) */

.press-right-side-wrapper {
  width: 50%;
  float: right;
  max-width: 50%;
  max-height: 83vh;
  overflow: auto;
  padding: 1rem 0 0 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-top: 60px;
  scroll-behavior: smooth;
  transition: all 0.5s ease;
  position: relative;
}

.press-right-side {
  height: 83vh;
  position: relative;
}

.card-press {
  width: 100%;
  max-width: 359px;
}

.card-press img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin-bottom: 20px;
}

.press-right-block {
  font-weight: 300;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 1.23px;
  color: #222;
  width: 359px;
  padding-bottom: 90px;
  position: relative;
}

.press-right-block .card-thumb,
.press-right-block .card-thumb img,
.press-right-block .wp-block-image {
  height: max-content !important;
}

.press-right-block .card-thumb img:hover {
  opacity: 1;
}

.press-right-block:last-child {
  padding-bottom: 30px;
}

.press-img-logo {
  position: relative;
}

.press-img-logo img {
  width: 70px;
  margin-top: 16px;
}

/* DESKTOP VERTICAL DATE */

.press-right-block .press-date {
  display: block;
  position: absolute;
  top: 0;
  right: -20px;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: top right;
}

/* SHADOW */

.shadow-top {
  width: 100%;
  min-height: 7vh;
  position: fixed;
  top: 17vh;
  z-index: 2;
}

.shadow {
  background: linear-gradient(
    180.42deg,
    #f7f7f7 39.7%,
    rgba(247, 247, 247, 0) 99.63%
  );
}

@media (max-width: 1440px) {
  .shadow-top {
    top: 15vh;
  }
}

/* TABLET */

@media (max-width: 992px) {
  .press-left-side-wrapper {
    display: none;
  }

  .press-right-side-wrapper {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    overflow: visible;
    padding: 0 18px;
    margin-top: 0;
  }

  .press-right-side {
    width: 100%;
    height: auto;
  }

  .shadow-top {
    top: 8vh;
  }

  .press-right-block {
    width: 100%;
    max-width: 359px;
  }

  .card-press {
    width: 100%;
    max-width: 359px;
  }

  .card-press img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .press-page {
    margin: 0 12px;
  }

  .shadow-top {
    top: 7vh;
  }

  .press-right-side {
    width: 100%;
    height: auto;
    overflow-x: hidden;
  }

  .press-right-block {
    width: 100%;
    padding: 0 0 40px 0;
    position: relative;
  }

  .card-press {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: none;
  }

  .card-press img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin-bottom: 12px;
  }

  .press-right-block .press-date {
    display: block;
    position: static;
    top: auto;
    right: auto;
    font-size: 12px;
    line-height: 1.4;
    transform: none;
    transform-origin: initial;
    white-space: normal;
    margin-top: 4px;
  }
}

@media (max-width: 576px) {
  .press-right-block {
    padding-bottom: 32px;
  }

  .shadow-top {
    top: 7.5vh;
  }
}

/* Title + date under image, left aligned on press page */

body.page-template-press .press-right-block {
  width: 100% !important;
  max-width: 359px;
  text-align: left;
}

body.page-template-press .press-right-block h2,
body.page-template-press .press-right-block p,
body.page-template-press .press-right-block a {
  display: block;
  margin: 6px 0 0 0;
  text-align: left;
}

body.page-template-press .press-right-block .press-date {
  font-size: 14px;
  line-height: 20px;
  color: #555;
}

body.page-template-press .card-press,
body.page-template-press .press-right-block {
  overflow: visible;
}

body.page-template-press .card-press img,
body.page-template-press .press-right-block img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}
