/* Home Sweet Home logo (replaces the original image logo). */
.logo,
.marquee-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  font-family: "Parkinsans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #272824;
  white-space: nowrap;
}
.logo .logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.logo .logo-text {
  font-size: 20px;
  line-height: 1;
}

/* Big repeating logo strip at the bottom of the footer. */
.footer-marquee {
  overflow: hidden;
  align-items: center;
}
.marquee-logo {
  flex-shrink: 0;
  gap: 24px;
  animation: hsh-marquee 30s linear infinite;
}
.marquee-logo .logo-mark {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.marquee-logo .logo-text {
  font-size: 120px;
  line-height: 1;
}
@keyframes hsh-marquee {
  to {
    transform: translateX(calc(-100% - 45px));
  }
}

@media (max-width: 700px) {
  .header {
    gap: 10px;
  }
  .logo {
    gap: 6px;
  }
  .logo .logo-mark {
    width: 24px;
    height: 24px;
  }
  .logo .logo-text {
    font-size: 15px;
  }
  .header .nav-contact {
    padding: 10px 16px;
    font-size: 13px;
  }
  .menu-toggle {
    flex-shrink: 0;
  }
  .marquee-logo .logo-mark {
    width: 64px;
    height: 64px;
  }
  .marquee-logo .logo-text {
    font-size: 64px;
  }
  @keyframes hsh-marquee {
    to {
      transform: translateX(calc(-100% - 25px));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-logo {
    animation: none;
  }
}

/* Keep the page usable when the WordPress admin bar is showing. */
.admin-bar .header {
  margin-top: 22px;
}

/* Plain pages and posts (anything that is not the homepage). */
.page-content {
  padding-block: 80px;
  max-width: 760px;
}
.page-content h1 {
  margin-bottom: 24px;
}
.page-content p,
.page-content li {
  color: #3a3e45;
  margin-bottom: 16px;
  font-size: 18px;
}
.page-content article + article {
  margin-top: 56px;
}

/* Program details list and contact buttons inside the pop-up. */
.modal-list {
  margin: 4px 0 24px;
  display: grid;
  gap: 8px;
}
.modal-list li {
  position: relative;
  padding-left: 22px;
  color: #3a3e45;
}
.modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ed1c24;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.footer-about p {
  line-height: 1.6;
}

/* Campus section uses a photo of the building instead of a video. */
.care {
  overflow: hidden;
}
.care > .care-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Real photos sit on light backgrounds; keep the cut-out shapes filled. */
.benefit-photo > img:first-child {
  object-position: center top;
}
