.silent-link {
  text-decoration: none;
  color: black;
}

body {
  background-color: #fafffc;
}

.cont-container{
  width: 50%;
  float:  left;
  margin-bottom:  15px;
}

@media screen and (max-width: 768px){
  .cont-container{
    width:  100%;
  }
}

.package-box {
  background-color: white;
  box-shadow: 2.5px 2.5px 5px grey;
  padding-top: 1vmin;
  padding-bottom: 1vmin;
  border-radius: 0px;
  border: solid 1px grey;
}

.usc-button {
  background-color: white;
  border: solid 1px #e3f3dd;
}

.usc-button-green {
  background-color: #789666;
  color: white;
}

.obit-container {
  background-color: white;
  box-shadow: 2px 2px 10px grey;
  border-radius: 0px;
  width: 25rem;
}

.obit-container:hover {
  box-shadow: 2px 2px 10px black;
}

.obit-container-image {
  /* test other */
  max-height: 300px;
  max-width: 100%;
  box-shadow: 3px 3px 5px grey;
  border-radius: 0px;
  /* border: solid 2px grey; */
}

.manage-obituary-box {
  background-color: white;
  box-shadow: 2px 2px 10px grey;
  border-radius: 0px;
}

.manage-row:hover {
  background-color: lightgrey;
}

.facilities-image {
  max-width: 60vmin;
  border: solid 2px black;
  box-shadow: 2px 2px 10px grey;
  margin-top: 3vmin;
}

.mobileNavShowBox {
  background-color: white;
  position: absolute;
  width: 100vw;
  box-shadow: 2px 2px 10px black;
  top: 0px;
  left: 0px;
}

.mobileMenuRow {
  padding-left: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #fafffa;
}

.mobileMenuRow:hover {
  background-color: #789666;
  color: white;
}

.mainLink:hover{
  cursor: pointer;
  color: white;
}


.calculator-frame {
  background-color: #fafafa;
  border: solid 1px black;
  box-shadow: 2px 2px 10px grey;
  border-radius: 0px;
  margin-top: 1vh;
  margin-bottom: 1vh;
}


.urn-card {
  background-color: white;
  box-shadow: 2px 2px 10px black;
  margin-top: 1vh;
  margin-bottom: 1vh;
  padding-bottom: 1vh;
}

/* update */
/* temporary update */

/* ============================================================
   Accessibility (WCAG 2.1 AA) — site-wide utilities
   ============================================================ */

/* Visually-hidden text that remains available to screen readers */
.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Skip-to-main-content link: hidden until focused */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 10000;
  background: #2d4a14;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: top 0.2s ease-in-out;
}
.skip-to-main:focus,
.skip-to-main:focus-visible {
  top: 0;
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
  color: #ffffff;
}

/* Restore visible focus indicators everywhere (WCAG 2.4.7).
   Bootstrap's defaults can be removed by custom styles; keep a
   consistent keyboard-only ring via :focus-visible. */
*:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.navbar-toggler:focus-visible,
.btn:focus-visible,
.dropdown-toggle:focus-visible,
.dropdown-item:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.4);
}

/* Ensure focus is visible inside dark/photo hero sections too */
.hero-section a:focus-visible,
.hero-section button:focus-visible,
.contact-info-card a:focus-visible,
.urgent-notice a:focus-visible {
  outline: 3px solid #ffffff;
  box-shadow: 0 0 0 5px #2d4a14;
}

/* Contrast tightening — Bootstrap's text-muted (#6c757d on white)
   is ~4.48:1 which fails AA for normal text. Override to a darker
   shade that passes 4.5:1. */
.text-muted,
.footer .text-muted,
.footer a.text-muted {
  color: #555f6a !important; /* 7.04:1 on #ffffff */
}

/* Footer links must be distinguishable from surrounding text (WCAG 1.4.1).
   Bootstrap's default + text-muted made them indistinguishable from
   non-link gray text, so underline on hover/focus and on the phone link. */
.footer a:not(.btn) {
  text-decoration: none;
}
.footer a:not(.btn):hover,
.footer a:not(.btn):focus {
  text-decoration: underline;
  color: #2d4a14 !important;
}

/* Bootstrap's btn-outline-light on light hero overlays can be hard
   to read; ensure sufficient contrast against the dark gradient. */
.hero-section .btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
}
.hero-section .btn-outline-light:hover,
.hero-section .btn-outline-light:focus {
  background-color: #ffffff;
  color: #2d4a14;
}

/* Honor reduced-motion preferences (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Touch target sizing — ensure interactive controls meet 44x44px
   recommendation where practical. */
.navbar-toggler,
.btn-close,
.phone-button {
  min-width: 44px;
  min-height: 44px;
}
