.rd-hero{min-height:790px;background:linear-gradient(to bottom,transparent 78%,white),url('assets/rd-hero.png') center/cover no-repeat}
.rd-heading{padding-top:82px}
.rd-heading h1{font-size:60px;line-height:1.2;margin:20px 0 36px}
.rd-heading>p:last-child{max-width:640px;font-size:19px;line-height:1.25}
.rd-gallery{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch;margin-top:-25px;position:relative;margin-bottom:45px}
.rd-gallery>img{width:100%;height:auto;aspect-ratio:1.41;object-fit:cover;border-radius:30px}
.rd-gallery>.rd-medica{object-position:center 65%}
.rd-copy{align-self:center;padding:25px 0}
.rd-copy>p{font-size:25px;line-height:1.2;max-width:620px;margin-bottom:50px}
.rd-social{display:grid;grid-template-columns:minmax(0,1fr) 64px;align-items:center;gap:24px;padding:16px 24px 16px 0;background:linear-gradient(90deg,white,#edf4fd);border-radius:30px;font-size:24px;font-weight:700;line-height:1.2}
.rd-social .linkedin{position:static;width:64px;line-height:64px;font-size:55px}
.rd-social:hover{box-shadow:0 6px 20px #06316d18}
@media(max-width:1100px){
.rd-hero{min-height:680px}.rd-heading{padding-top:65px}.rd-heading h1{font-size:46px}.rd-heading>p:last-child{font-size:17px;max-width:520px}.rd-copy>p{font-size:21px;margin-bottom:35px}.rd-social{font-size:20px;gap:18px}
}
@media(max-width:700px){
.rd-hero{min-height:610px;background-image:linear-gradient(to bottom,transparent 75%,white),linear-gradient(90deg,#edf4fde8,#edf4fd55),url('assets/rd-hero.png');background-position:center,center,60% center}
.rd-heading{padding-top:55px}.rd-heading h1{font-size:36px}.rd-heading>p:last-child{font-size:16px;line-height:1.4}
.rd-gallery{grid-template-columns:1fr;margin-top:-10px;gap:20px;margin-bottom:40px}.rd-gallery>img{border-radius:22px}.rd-copy{padding:0 0 10px}.rd-copy>p{font-size:18px;line-height:1.4;margin-bottom:28px}.rd-social{font-size:17px;padding:16px;grid-template-columns:minmax(0,1fr) 42px;border-radius:22px}.rd-social .linkedin{width:42px;line-height:42px;font-size:35px}
}

.rd-social{
  margin-left:-24px;
  padding-left:24px;
  width:calc(100% + 24px);
}
@media(max-width:700px){
  .rd-social{
    margin-left:0;
    width:100%;
    padding-left:0;
  }
}

/* Match the mobile contact card on the cooperation page. */
@media(max-width:700px){
  .supplements-contact{
    background-color:#eaf3fc;
    background-image:linear-gradient(to bottom,transparent 160px,#eaf3fc 250px),url('assets/supplements-contact.png');
    background-size:100% 250px,auto 250px;
    background-position:left top;
    background-repeat:no-repeat;
    min-height:0;
    padding:265px 25px 30px;
  }
}

/* Lift the mobile introduction without moving the hero background. */
@media(max-width:700px){
  .rd-heading > p:not(.eyebrow){display:none;}
  .rd-gallery{margin-top:-110px;}
}

.rd-copy > p,
.rd-social > span:first-child{
  text-align:justify;
  text-align-last:left;
  -webkit-hyphens:auto;
  hyphens:auto;
  hyphenate-limit-chars:7 3 3;
  overflow-wrap:break-word;
}

@media(min-width:701px){
  .rd-copy > p,
  .rd-social > span:first-child{
    text-align:left;
    -webkit-hyphens:none;
    hyphens:none;
  }
}
