main .hline {
  opacity: 1;
}

.case-studies-return {
  align-items: center;
  aspect-ratio: 1/1;
  background: rgba(36, 36, 36, .936);
  border: 2px solid rgba(236, 236, 236, .136);
  border-radius: 50%;
  display: flex;
  inset: 15px auto auto 15px;
  justify-content: center;
  position: absolute;
  transition: filter .25s, border .25s;
  width: clamp(48px, 5vw, 50px);
}

.case-studies-return:hover {
  filter: invert(1);
}

.case-studies-return img {
  border-color: transparent;
  transition: transform .736s;
  width: 65%;
}

.case-studies-return:hover img {
  transform: translateX(-3.76px) scale(.85);
}

.sub .hero {
  aspect-ratio: 1920/calc(1080);
  overflow: clip;
  position: relative;
  margin: 0 0 5% 0;
}

.sub .hero .hero-bkdrop {
  display: flex;
  inset: -5%;
  margin: 0;
  padding: 0;
  position: absolute;
  width: unset;
  z-index: -1;
}

.hero-bkdrop img {
  height: 176%;
  filter: brightness(.376) blur(9.736px) saturate(.736);
  width: 100%;
}

.hero section {
  align-items: center;
  flex-flow: row;
  padding: 0;
  justify-content: center;
  height: 100%;
}

.hero-image {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: auto 0;
  width: 50%;
}

.hero-image img {
  border-radius: 8px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .276);
  width: 80%;
}

.sub .hero .hero-text {
  font-size: clamp(18px, 23px, 10vw);
  font-weight: 400;
  padding: 5vw;
  margin: 0 auto;
  width: 50%;
}

.sub .content .hero-text h1 {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  font-size: clamp(23px, 32px, 10vw);
  font-family: sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: none;
  text-align: left;
  padding: 0;
  margin: 0 auto 0 0;
}

.sub .content .hero-text h1 sub {
  align-items: center;
  border: 1px solid rgba(236, 236, 236, .796);
  background: rgba(18, 18, 18, .736);
  border-radius: 4px;
  display: inline-flex;
  justify-content: center;
  letter-spacing: 1px;
  margin: 0 3.736%;
  padding: 2% 5%;
  height: 40px;
  width: unset;
}

.sub .hero-text p {
  padding: 0 3px;
  text-align: left;
}

.hero-buttons {
  display: flex;
  gap: .75vw;
  padding: 2.736vh 0;
}

.case-studies-button {
  align-items: center;
  backdrop-filter: blur(5px);
  background: linear-gradient(rgb(35, 145, 185), rgb(85, 135, 135));
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  display: flex;
  font-size: clamp(14px, 14px, 10vw);
  font-weight: 500;
  justify-content: center;
  letter-spacing: clamp(3px, .235vw, .315vw);
  height: 48px;
  margin: 5% auto;
  min-width: 13.736rem;
  padding: 6px 15px 5px 18px;
  text-decoration: none;
  text-transform: uppercase;
  transition: .736s;
}

.case-studies-button:hover {
  color: white;
  filter: saturate(1.236) hue-rotate(-185deg);
}

.case-studies-button:focus {
  color: white;
  border: none;
}

.case-study.first-block {
  flex-flow: column;
}

.sub .content .case-study article {
  margin: 0;
  padding: 0 2.365%;
}

.sub .content .case-study.first-block h1 {
  align-items: center;
  background: white;
  border-radius: 8px;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .0136);
  color: var(--rx-media-dark-grey);
  display: flex;
  font-family: 'Lato', sans-serif;
  font-size: clamp(18px, 23px, 10vw);
  font-weight: 600;
  justify-content: flex-start;
  letter-spacing: clamp(3px, 5px, .5vw);
  margin: 0;
  padding: 5px 15px 8px 45px;
  text-align: left;
  text-transform: uppercase;
  width: 90%;
}

.sub .content .case-study.first-block h1 span {
  margin: auto auto auto 1.736%;
  position: relative;
}

.sub .content .case-study.first-block h1 span::before {
  aspect-ratio: 1/1;
  background: #86ccdd;
  border-radius: 50%;
  content: '';
  inset: calc(53.5% - 5px) 0 auto -9.236%;
  margin: auto auto auto 2.376%;
  position: absolute;
  width: 10px;
}

.case-study h1 .case-study-decor {
  background: #60bbd2;
  border-radius: 18px;
  display: block;
  height: 60%;
  inset: 20% 2.5% auto auto;
  position: absolute;
  width: 10px;
}

.case-study h1 .case-study-decor::before,
.case-study h1 .case-study-decor::after {
  content: '';
}

.case-study h1 .case-study-decor::after {
  background: #86ccdd;
  border-radius: 18px;
  display: block;
  height: 100%;
  inset: 0 176.5% auto auto;
  position: absolute;
  width: 10px;
}

.case-study h1 .case-study-decor::before {
  background: #aedce8;
  border-radius: 18px;
  display: block;
  height: 100%;
  inset: 0 368.5% auto auto;
  position: absolute;
  width: 10px;
}

.case-study-decor-alt {
  filter: hue-rotate(136deg);
}

.sub .content .case-study.first-block h2 {
  background: linear-gradient(90deg, rgb(218, 218, 218) 60%, var(--rx-media-light-grey));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 3.736% auto;
  padding: 0;
}

.sub .content .case-study.first-block h2::before {
  background: rgb(24, 24, 24);
  border-radius: 8px;
}

.sub .content .case-study.first-block article {
  justify-content: center;
  margin: 0 auto;
  max-width: 1080px;
  padding: 0;
  text-align: center;
}

.case-study:nth-of-type(2n) article h2 {
  padding: 0 3.765% 0 0;
}

.sub .content .case-study {
  padding: 0 5%;
}

.case-study article h2 {
  padding: 0 0 0 3.765%;
}

.case-study h2::after {
  display: none;
}

.case-study figure {
  aspect-ratio: unset;
  border-radius: unset;
  height: fit-content;
  padding: 0;
  width: 100%;
}

.case-study figure img {
  border-radius: 18px;
  box-shadow: 0 5px 8px rgba(0, 0, 0, .0736);
  width: 100%;
}

.menu-closer.active {
  background: rgba(36, 36, 36, .136);
  backdrop-filter: blur(3px);
  border: none;
  inset: 0;
  position: fixed;
}

@media only screen and (max-width: 1280px) {
  .sub .hero {
    aspect-ratio: unset;
    overflow: clip;
    position: relative;
  }

  .sub .hero-bkdrop {
    display: flex;
    inset: -5%;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: -1;
  }

  .sub .hero-bkdrop img {
    filter: brightness(.5);
    width: 100%;
  }

  .sub .hero section {
    align-items: center;
    flex-flow: column;
    padding: 0;
    justify-content: center;
    height: 100%;
  }

  .sub .hero-image {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 50%;
    margin: 7.365% 0 .5% 0;
  }

  .sub .hero-image img {
    border-radius: 8px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, .276);
    width: 80%;
  }

  .sub .hero .hero-text {
    font-size: clamp(18px, 23px, 10vw);
    font-weight: 400;
    padding: 5vw;
    width: 80%;
  }

  .sub .content .hero-text h1 {
    display: flex;
    font-size: clamp(23px, 32px, 10vw);
    font-family: sans-serif;
    font-weight: 400;
    justify-content: center;
    letter-spacing: 1px;
    margin: 0 auto;
    text-align: center;
  }

  .sub .content .hero-text p {
    padding: 0;
    text-align: center;
  }

  .sub .content .hero-buttons {
    display: flex;
    gap: .75vw;
    padding: 2.736vh 0;
  }
}

@media only screen and (max-width: 1200px) {
  .case-study article p,
  .case-study:nth-of-type(2n) article p {
    padding: 0 5vw;
    text-align: center;
  }
}

@media only screen and (max-width: 800px) {
  .content h1 .case-study-decor {
    display: none;
  }

  .sub .hero {
    background: rgb(36, 36, 36);
    margin: 0 0 10% 0;
  }

  .sub .hero-bkdrop {
    display: none;
  }

  .sub .hero section {
    align-items: center;
    flex-flow: column;
    height: 100%;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .sub .hero-image {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
  }

  .sub .hero-image img {
    border-radius: 0 0 8px 8px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, .276);
    width: 100%;
  }

  .sub .hero .hero-text {
    font-size: clamp(14px, 16px, 8vw);
    font-weight: 400;
    padding: 5vw;
    width: 80%;
  }

  .sub .content .hero-text h1 {
    display: flex;
    font-size: clamp(14px, 18px, 8vw);
    font-family: sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 7.36% auto;
    text-align: center;
  }

  .hero-buttons {
    display: flex;
    gap: .75vw;
    padding: 2.736vh 0;
  }
}

@media only screen and (max-width: 600px) {
  .case-study.first-block article {
    justify-content: center;
    margin: .376% .365%;
    text-align: center;
  }

  .sub .content .case-study.first-block h1 {
    font-size: clamp(16px, 18px, 8vw);
    padding: 2.365% 2.736vw;
    margin: 0;
  }

  .sub .content .case-study.first-block h1 span {
    margin: 0;
    text-align: center;
  }

  .sub .content .case-study.first-block h1 span::before {
    display: none;
  }

  .case-study article h2,
  .case-study:nth-of-type(2n) article h2 {
    padding: 5%;
  }

  .hero-buttons {
    flex-flow: column;
    width: 100%;
  }

  .sub .content .case-studies-button {
    margin: 2% 0;
    width: 100%;
  }
}

@media only screen and (max-width: 360px) {
  .hero .hero-text {
    padding: 10% 7.365%;
    width: 100%;
  }

  .hero-text h1 {
    margin: 0 0 5% 0;
  }

  .hero-buttons {
    align-items: center;
    display: flex;
    flex-flow: column;
    gap: 3.736vw;
    margin: 5% 0 0 0;
    width: 100%;
  }

  .case-studies-button {
    height: 40px;
    width: 100%;
  }
}
