.program-tile  {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 250px;
  container-type: inline-size;
  color: black;
}

.overlay-box {
  position: absolute;
  top: 58px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  width: auto;
  transform: none;
  background-color: rgba(0, 84, 37, 0.9);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.program-tile:hover .overlay-box {
  opacity: 1;
}

.overlay-text {
  color: white;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  width: 100%;
  font-size: 4.5cqw;
}

.v-dialog__content .v-dialog {
  transform-origin: var(--dialog-origin-x, 50%) var(--dialog-origin-y, 50%) !important;
}

.modal-title {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 84, 37);
  color: white;
  font-size: 1.75rem;
  font-weight: 600;
  font-family: 'Serpentine', sans-serif;
  text-transform: uppercase;
  text-align: center;
  word-break: break-word;
  padding: 4px 36px 4px 8px;
}

.v-dialog__content .v-dialog .program-tile {
  aspect-ratio: unset !important;
  overflow: hidden !important;
  flex-direction: column;
  align-items: stretch;
  max-height: 85vh;
  margin-bottom: 0 !important;
}

.v-dialog__content .v-dialog .program-tile .v-carousel,
.v-dialog__content .v-dialog .program-tile .v-carousel .v-carousel__item,
.v-dialog__content .v-dialog .program-tile .v-carousel .v-image,
.v-dialog__content .v-dialog .program-tile > .v-image {
  height: 250px !important;
  flex-shrink: 0;
  background-color: #005425;
}

.v-dialog__content .v-dialog .overlay-box {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  transform: none;
  width: 100%;
  padding: 10px 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background-color: #005425;
  border-radius: 0;
  opacity: 1;
  display: block;
}

.v-dialog__content .v-dialog .overlay-text {
  font-size: 1rem;
}

.v-dialog__content .v-dialog .overlay-text a,
.v-dialog__content .v-dialog .overlay-text a:visited {
  color: #e4b32c;
}

.program-tile .v-carousel,
.program-tile .v-carousel .v-carousel__item,
.program-tile .v-carousel .v-image,
.program-tile > .v-image {
  width: 100% !important;
  height: 100% !important;
}

/* .show-all-programs {
  background-color: #e4b32c !important;
  color: white !important;
  font-family: 'Serpentine', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 1.1rem !important;
} */

/* @media (max-width: 960px) {
  .show-all-programs {
    max-width: 180px !important;
    height: auto !important;
    min-height: 36px !important;
    padding: 8px 16px !important;
  }
  .show-all-programs .v-btn__content {
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
  }
} */

.show-all-programs {
  background-color: #e4b32c !important;
  color: white !important;
  font-family: 'Serpentine', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 1.1rem !important;
  white-space: normal;
  line-height: 1.2;
  min-height: 48px;
  height: auto !important;
  padding-top: 8px;
  padding-bottom: 8px;
  max-width: 100% !important;
}

/* Vuetify button content wrapper */
.show-all-programs .v-btn__content {
  white-space: normal;
  text-align: center;
  flex-wrap: wrap !important;
  max-width: 100% !important;
}

/* Small screens */
/* @media (max-width: 600px) {
  .show-all-programs {
    min-height: 72px;
    font-size: 0.8rem;
    padding-left: 8px;
    padding-right: 8px;
  }
} */

.page-title {
  font-size: clamp(1.5rem, 5vw, 4rem);
  font-weight: 600;
  font-family: 'Serpentine', sans-serif;
  color: #005425;
  text-transform: uppercase;
  text-align: center;
  word-break: break-word;
}

.program-tile .v-card__title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    font-size: 1.75rem !important;
    font-weight: 600;
    font-family: 'Serpentine', sans-serif;
    color: white;
    text-transform: uppercase;
    text-align: center;
    justify-content: center;
    word-break: break-word !important;
    background-color: rgba(0, 84, 37, 0.8);
    padding: 4px 8px;
}