/* JHBG site-specific overrides */

.slider::before {
  background: rgba(0, 0, 0, 0.4);
}

.slider .slider-content {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  padding: 40px 50px;
  display: inline-block;
}

/* CTA section uses Town Hall Meetings photo instead of default banner */
.cta-block {
  background-image: url('../images/bg/volunteer-bg.jpg');
}

/* JHO social media bubbles */
.jho-socials {
  gap: 10px;
}

.jho-socials a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--heading);
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
}

.jho-socials a i {
  margin-right: 6px;
  font-size: 16px;
}

.jho-socials a:hover {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}

/* YouTube embed responsive wrapper */
.youtube-embed {
  margin-bottom: 30px;
}

.youtube-embed h4 {
  margin-bottom: 10px;
}

.youtube-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Make links within program/cause page content stand out */
.cause-single .single-details a:not(.btn):not(.gallery-popup) {
  color: #1a73e8;
  text-decoration: underline;
  font-weight: 600;
}

.cause-single .single-details a:not(.btn):not(.gallery-popup):hover {
  color: #0d47a1;
}

/* Remove the purple vertical bar and tighten volunteer section */
.volunteer::before {
  display: none;
}

.volunteer {
  padding-top: 20px;
  padding-bottom: 30px;
}

/* Reduce bottom padding on latest news section before volunteer */
.latest-blog {
  padding-bottom: 40px;
}

/* Constrain the volunteer section image */
.volunteer-content img {
  max-width: 600px;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
}

/* Make mailing list subscribe button match email input height */
#mc-embedded-subscribe-form .form-control {
  height: 48px;
}

#mc-embedded-subscribe-form .btn {
  height: 48px;
  line-height: 1;
  padding: 10px 30px;
}

