/* Small progressive enhancements; do not rebuild the shared theme/icon bundle. */
.home-page .owl-carousel:not(.owl-loaded) {
  display: block;
}
.home-page .owl-carousel:not(.owl-loaded) > .slide {
  display: none;
}
.home-page .owl-carousel:not(.owl-loaded) > .slide:first-child {
  display: block;
}

/* Keep the intrinsic proportions at every logo size and in hidden menus. */
img.logo-normal,
img.logo-white {
  height: auto;
  object-fit: contain;
}

/* Make compact footer links individually reachable without changing colours. */
footer .no-texture .d-md-block div > a:not(.title) {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

/* Verified against the actual light-background contrast failures. */
.btn-success, .btn-success:active, .btn-success.active,
.badge.bottom-unlocked, .badge.bg-success {
  --bs-btn-bg: #157347;
  --bs-btn-border-color: #157347;
  --bs-btn-active-bg: #105c38;
  --bs-btn-active-border-color: #105c38;
  background-color: #157347 !important;
  border-color: #157347 !important;
  color: #fff !important;
}
.btn-success:hover, .btn-success:focus-visible {
  background-color: #105c38 !important;
  border-color: #105c38 !important;
}
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
#daily-liturgy-of-the-day .title,
#daily-liturgy-of-the-day .text-primary,
#daily-liturgy-of-the-day .btn-calendar {
  color: #995b00 !important;
}
#cookieConsentContainer .cookie-consent-btn {
  background-color: #006a91 !important;
  color: #fff !important;
}
#cookieConsentContainer .cookie-consent-btn:hover,
#cookieConsentContainer .cookie-consent-btn:focus-visible {
  background-color: #005676 !important;
}
.mobile-post-header-liturgy .nav-symbol {
  display: inline-block;
  width: 36px;
  height: 36px;
  min-width: 36px;
  flex-shrink: 0;
  color: #5a5c64;
  vertical-align: middle;
}
.theme-blue .mobile-post-header-liturgy .nav-symbol { color: #995b00; }

/* Gold filled buttons require a darker surface with their white text. */
.btn-primary, .btn-primary:active, .btn-primary.active {
  --bs-btn-bg: #995b00;
  --bs-btn-border-color: #995b00;
  --bs-btn-active-bg: #794800;
  --bs-btn-active-border-color: #794800;
  background-color: #995b00 !important;
  border-color: #995b00 !important;
  color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background-color: #794800 !important;
  border-color: #794800 !important;
}
.site-directory, .site-directory nav { background: #fff !important; color: #212529; }
.site-directory a { color: #825000; text-decoration: underline; }
