#masthead-container {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.masthead {
    padding-top: 4rem;
}

.masthead h1 {
    font-size: 3.5rem;
}

.card-title {
    font-size: 3rem;
}

.card-subtitle {
    font-style: italic;
    font-size: 1.5rem;
}

.card .btn, .btn-group .btn {
    color: white;
}

.btn-group a {
    font-size: 1.5rem;
}

@media (max-width: 992px) {
    #masthead-container {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.carousel-inner {
  height: 0;
  padding-bottom: 75%; /* this sets carousel aspect ratio (4:1 here) */
}

.carousel-item {
  position: absolute !important; /* Bootstrap is insistent */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.carousel-item img {
  height: 100%; /* Bootstrap handles width already */
  object-fit: cover; /* or 'contain' if you want stretch instead of crop */
}