.join-page{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
  padding-bottom:28px;
  background:#fff;
}

.join-content{
  width:calc(100% - 40px);
  max-width:var(--content-max);
  margin-left:auto;
  margin-right:auto;
}

.join-hero{
  padding:52px 0 34px;
  background:#fff;
}

.join-hero-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items:center;
  gap:48px;
}

.join-hero h1{
  margin:0 0 18px;
  color:#0a5771;
  font-size:2.7rem;
  font-weight:700;
  line-height:1.15;
}

.join-team-carousel{
  position:relative;
  width:100%;
  height:520px;
  overflow:hidden;
  border-radius:6px;
}

.join-sweeties-carousel{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:8px;
  box-shadow:0 6px 16px rgba(0,0,0,.15);
}

.join-sweeties-carousel{
  height:420px;
  flex:1 1 58%;
  min-width:0;
}

.join-carousel-track{
  position:relative;
  width:100%;
  height:100%;
}

.join-carousel-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  opacity:0;
  transition:opacity .45s ease;
}

.join-team-carousel .join-carousel-slide{
  object-fit:cover;
  background:#fff;
}

.join-carousel-slide.active{
  opacity:1;
}

.join-carousel-dots{
  position:absolute;
  left:50%;
  bottom:14px;
  display:flex;
  gap:8px;
  transform:translateX(-50%);
  z-index:2;
}

.join-carousel-dots button{
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.72);
  cursor:pointer;
  box-shadow:0 1px 4px rgba(0,0,0,.18);
}

.join-carousel-dots button.active{
  background:#0a5771;
}

.join-copy p{
  margin:0 0 18px;
  color:#333;
  font-size:1rem;
  line-height:1.72;
}

.join-lead{
  font-size:1.08rem !important;
}

.join-copy ul{
  margin:0 0 20px 1.25rem;
  padding:0;
  color:#333;
  line-height:1.68;
}

.join-copy li{
  margin:6px 0;
}

.join-sweeties-band{
  padding:44px 0 52px;
  background:#fff;
}

.join-title-row{
  display:flex;
  justify-content:flex-start;
  margin-bottom:24px;
}

.join-title-row h2{
  display:inline-block;
  width:auto;
  max-width:100%;
  margin:0;
  padding:14px 48px 14px 18px;
  background:#0a5771;
  color:#fff;
  font-size:2rem;
  font-weight:700;
  line-height:1.2;
  clip-path:polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%);
}

.join-sweeties{
  display:grid;
  grid-template-columns:minmax(260px, .72fr) minmax(0, 1fr);
  align-items:center;
  gap:40px;
}

.join-sweeties-copy p{
  margin:0 0 14px;
  color:#333;
  font-size:1.05rem;
  line-height:1.7;
}

.join-sweeties-copy p:first-child{
  color:#0a5771;
  font-size:1.25rem;
  font-weight:700;
  line-height:1.35;
}

.join-sweeties-copy p:last-child{
  margin-bottom:0;
}

@media (max-width: 900px){
  .join-hero{
    padding-top:38px;
  }

  .join-hero-layout{
    grid-template-columns:1fr;
    gap:28px;
  }

  .join-team-carousel{
    height:420px;
  }

  .join-sweeties{
    grid-template-columns:1fr;
    gap:22px;
  }

  .join-sweeties-carousel{
    height:380px;
  }
}

@media (max-width: 600px){
  .join-hero h1{
    font-size:2.2rem;
  }

  .join-team-carousel,
  .join-sweeties-carousel{
    height:auto;
    aspect-ratio:4 / 3;
  }

  .join-title-row h2{
    font-size:1.65rem;
  }
}

/* ========== JHU blue join treatment ========== */

.join-hero {
  background: linear-gradient(120deg, var(--jhu-pale) 0%, var(--jhu-sky) 100%);
  border-top: 0;
}

.join-hero h1,
.join-sweeties-copy p:first-child {
  color: var(--jhu-blue);
}

.join-team-carousel,
.join-sweeties-carousel {
  box-shadow: 0 9px 24px rgba(0, 45, 114, .18);
}

.join-carousel-dots button.active,
.join-title-row h2 {
  background: var(--jhu-spirit-blue);
  color: var(--jhu-blue-dark);
}

.join-sweeties-band {
  background: linear-gradient(180deg, #fff 0%, var(--jhu-pale) 100%);
}
