/* ==========================================================
   MKD Bootstrap 5 Migration Baseline
   ========================================================== */

html {
  scroll-behavior: auto;
  overflow-y: auto;
}

body {
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
  padding-bottom: unset;
}

.container-fluid {
  max-width: 100%;
  overflow-x: clip;
  padding-left: 0;
  padding-right: 0;
}

[id] {
  scroll-margin-top: 24px;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* Reset legacy Bootstrap 3 full-width behavior */
.full-width {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Make sure modern full-width sections stay inside viewport */
.mkd-page-intro,
.locations.full-width {
  overflow-x: hidden;
}


/* ==========================================================
   MKD Bootstrap 5 Header
   ========================================================== */

.mkd-navbar {
  position: relative;
  z-index: 10;
  background: #fff;
  padding: 38px 0 28px;
}

.mkd-navbar .container {
  position: relative;
}

.mkd-header-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  column-gap: 54px;
}

/* Logo */

.mkd-brand-wrap {
  display: flex;
  align-items: center;
}

.mkd-navbar .navbar-brand {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.mkd-navbar .navbar-brand img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
}

/* Right side header area */

.mkd-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
}

/* Featured links above nav */

.mkd-featured-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  margin-bottom: 20px;
}

/* Override older MKD positioning on these links */
.mkd-navbar .send-flowers,
.mkd-navbar .live-stream {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #542675;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.mkd-navbar .send-flowers:hover,
.mkd-navbar .live-stream:hover,
.mkd-navbar .send-flowers:focus,
.mkd-navbar .live-stream:focus {
  color: #542675;
  text-decoration: underline;
}

/* Main nav */

.mkd-main-nav {
  width: 100%;
}

.mkd-main-nav .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.mkd-main-nav .nav-link {
  display: block;
  color: #4d4d4d;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.15;
  padding: 0;
  text-align: center;
  white-space: nowrap;
}

.mkd-main-nav .nav-item.active .nav-link,
.mkd-main-nav .nav-link:hover,
.mkd-main-nav .nav-link:focus {
  color: #542675;
  font-weight: 700;
}

/* Mobile trigger */

#nav-mobile {
  justify-self: end;
  margin-left: auto;
}

#nav-mobile .nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #542675;
  text-decoration: none;
}

#nav-mobile .bi-list {
  font-size: 2.4rem;
  line-height: 1;
}

/* Mobile utility links */

.mkd-mobile-utility-links {
  width: 100%;
  justify-content: center;
  gap: 24px;
  padding: 14px 16px 0;
}

.mkd-mobile-utility-links a,
.send-flowers.mobile,
.live-stream.mobile {
  color: #542675;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.send-flowers.mobile,
.live-stream.mobile {
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}


/* Tablet / mobile header */

@media (max-width: 991.98px) {
  .mkd-navbar {
    padding: 20px 0;
  }

  .mkd-header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 20px;
  }

  .mkd-navbar .navbar-brand img {
    max-width: 220px;
  }
}

@media (max-width: 575.98px) {
  .mkd-navbar .navbar-brand img {
    max-width: 190px;
  }

  .mkd-mobile-utility-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}


/* ==========================================================
   MKD Bootstrap 5 Footer
   ========================================================== */

.footer {
  background: #8f8f92;
  color: #fff;
}

.footer.fixed-bottom {
  z-index: 20;
}

.footer-bottom {
  padding: 14px 0;
}

.footer p {
  margin-bottom: 2px;
}

.footer a {
  color: #fff;
  font-weight: 600;
}

.footer .nav-pills {
  margin-bottom: 0;
}

.footer .nav-link {
  color: #fff;
  padding: 0;
}

.footer .icon-facebook2 {
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 575.98px) {
  .footer {
    position: static !important;
  }

  .footer .justify-content-end {
    justify-content: flex-start !important;
    margin-top: 10px;
  }
}


/* ==========================================================
   Reusable MKD Page Intro Card
   ========================================================== */

.mkd-page-intro {
  background: #fff;
  padding: 34px 0 42px;
}

.mkd-page-intro-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  border: 1px solid rgba(84, 38, 117, 0.08);
}

.mkd-page-intro-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 5px;
  height: calc(100% - 48px);
  background: #542675;
  border-radius: 0 8px 8px 0;
}

.mkd-page-intro-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #e7e7e9;
}

.mkd-page-intro-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mkd-page-intro-content {
  padding: 4px 4px 4px 0;
}

.mkd-page-intro-eyebrow {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.mkd-page-intro h1 {
  margin: 0 0 12px;
  color: #3c245f;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 750;
  line-height: 1.12;
}

.mkd-page-intro-copy {
  color: #707073;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.48;
}

.mkd-page-intro-copy p:last-child {
  margin-bottom: 0;
}


/* Reusable compact variant */

.mkd-page-intro--compact {
  padding: 30px 0 38px;
}

.mkd-page-intro--compact .mkd-page-intro-card {
  padding: 22px;
}

.mkd-page-intro--compact h1 {
  font-size: clamp(28px, 2.75vw, 38px);
}

.mkd-page-intro--compact .mkd-page-intro-copy {
  font-size: 17px;
}


/* Responsive page intro */

@media (max-width: 991.98px) {
  .mkd-page-intro {
    padding: 28px 0 36px;
  }

  .mkd-page-intro-card {
    padding: 22px;
    border-radius: 18px;
  }

  .mkd-page-intro-content {
    padding: 0;
  }

  .mkd-page-intro h1 {
    font-size: clamp(28px, 5vw, 38px);
  }

  .mkd-page-intro-copy {
    font-size: 17px;
  }
}

@media (max-width: 575.98px) {
  .mkd-page-intro {
    padding: 22px 0 32px;
  }

  .mkd-page-intro .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mkd-page-intro-card {
    width: 100%;
    max-width: 100%;
    padding: 16px;
    border-radius: 18px;
  }

  .mkd-page-intro-card::before {
    display: none;
  }

  .mkd-page-intro-image {
    border-radius: 16px;
  }

  .mkd-page-intro h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .mkd-page-intro-copy {
    font-size: 16.5px;
    line-height: 1.5;
  }

  .mkd-page-intro--compact h1 {
    font-size: 30px;
  }
}


/* ==========================================================
   Locations List Section
   ========================================================== */

.locations.full-width {
  background: #f4f4f5;
  padding-top: 56px;
}

@media (max-width: 575.98px) {
  .locations.full-width {
    padding-top: 44px;
  }
}

/* ==========================================================
   MKD Bootstrap 5 Footer
   ========================================================== */

.mkd-footer {
  position: static;
  background: #3c245f;
  color: #fff;
  padding: 56px 0 24px;
}

.mkd-footer h2,
.mkd-footer h3,
.mkd-footer p {
  margin-top: 0;
}

.mkd-footer h3 {
    padding: 0 0 10px;
}

.mkd-footer__brand h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.mkd-footer__tagline {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 500;
}

.mkd-footer__copy {
  max-width: 320px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.55;
}

.mkd-footer__phone {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 800;
}

.mkd-footer a {
  color: #fff;
  text-decoration: none;
}

.mkd-footer a:hover,
.mkd-footer a:focus {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mkd-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.mkd-footer__social:hover,
.mkd-footer__social:focus {
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.mkd-footer__social .icon-facebook2 {
  font-size: 24px;
  line-height: 1;
}

.mkd-footer__nav h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mkd-footer__nav ul,
.mkd-footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mkd-footer__nav li {
  margin-bottom: 10px;
}

.mkd-footer__nav a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.mkd-footer__nav a:hover,
.mkd-footer__nav a:focus {
  color: #fff;
}

.mkd-footer__bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mkd-footer__bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.mkd-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.mkd-footer__legal a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
}

.mkd-footer__legal a:hover,
.mkd-footer__legal a:focus {
  color: #fff;
}

@media (max-width: 767.98px) {
  .mkd-footer {
    padding: 42px 0 24px;
  }

  .mkd-footer__brand {
    max-width: 420px;
  }

  .mkd-footer__bottom {
    margin-top: 32px;
  }

  .mkd-footer__legal {
    justify-content: flex-start;
  }
}

/* ==========================================================
   MKD Bootstrap 5 Header
   ========================================================== */

.mkd-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  padding: 32px 0 26px;
  box-shadow: 0 1px 0 rgba(45, 35, 55, 0.06);
  transition: padding 0.22s ease, box-shadow 0.22s ease;
}

.mkd-navbar .container {
  position: relative;
}

.mkd-header-inner {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  column-gap: 56px;
}

/* Logo */

.mkd-brand-wrap {
  display: flex;
  align-items: center;
}

.mkd-navbar .navbar-brand {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.mkd-navbar .navbar-brand img {
  display: block;
  width: 100%;
  max-width: 175px;
  height: auto;
  transition: max-width 0.22s ease;
}

/* Right side */

.mkd-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
}

/* Featured action buttons */

.mkd-featured-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 28px;
  transition: opacity 0.18s ease, transform 0.18s ease, margin 0.18s ease;
}

.mkd-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mkd-action-btn i {
  font-size: 15px;
  line-height: 1;
}

.mkd-action-btn--primary {
  background: #542675;
  border: 1px solid #542675;
  color: #fff;
  box-shadow: 0 8px 20px rgba(84, 38, 117, 0.18);
}

.mkd-action-btn--primary:hover,
.mkd-action-btn--primary:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
  text-decoration: none;
}

.mkd-action-btn--outline {
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.32);
  color: #542675;
}

.mkd-action-btn--outline:hover,
.mkd-action-btn--outline:focus {
  background: #f3eef7;
  border-color: #542675;
  color: #542675;
  text-decoration: none;
}

/* Main nav */

.mkd-main-nav {
  width: 100%;
}

.mkd-main-nav .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.mkd-main-nav .nav-link {
  display: block;
  color: #4d4d4d;
  font-size: 15.5px;
  font-weight: 550;
  line-height: 1.15;
  padding: 0;
  text-align: center;
  white-space: nowrap;
}

.mkd-main-nav .nav-item.active .nav-link {
  color: #542675;
  font-weight: 750;
}

.mkd-main-nav .nav-link:hover,
.mkd-main-nav .nav-link:focus {
  color: #542675;
  font-weight: 550;
}

/* Scrolled / condensed header */

body.mkd-header-scrolled .mkd-navbar {
  padding: 14px 0;
  box-shadow: 0 8px 28px rgba(45, 35, 55, 0.11);
}

body.mkd-header-scrolled .mkd-navbar .navbar-brand img {
  max-width: 132px;
}

body.mkd-header-scrolled .mkd-featured-actions {
  opacity: 0;
  transform: translateY(-6px);
  height: 0;
  margin-bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

body.mkd-header-scrolled .mkd-main-nav .nav-link {
  font-size: 14.5px;
}

/* Mobile trigger */

#nav-mobile {
  justify-self: end;
  margin-left: auto;
}

#nav-mobile .nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #542675;
  text-decoration: none;
}

#nav-mobile .bi-list {
  font-size: 2.4rem;
  line-height: 1;
}

/* Mobile utility links */

.mkd-mobile-utility-links {
  width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px 0;
}

.mkd-mobile-utility-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #542675;
  border: 1px solid rgba(84, 38, 117, 0.28);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

/* Tablet / mobile */

@media (max-width: 991.98px) {
  .mkd-navbar {
    position: relative;
    top: auto;
    padding: 20px 0;
  }

  .mkd-header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 20px;
  }

  .mkd-navbar .navbar-brand img {
    max-width: 220px;
  }

  body.mkd-header-scrolled .mkd-navbar {
    padding: 20px 0;
    box-shadow: 0 1px 0 rgba(45, 35, 55, 0.06);
  }

  body.mkd-header-scrolled .mkd-navbar .navbar-brand img {
    max-width: 220px;
  }
}

@media (max-width: 575.98px) {
  .mkd-navbar .navbar-brand img {
    max-width: 190px;
  }

  .mkd-mobile-utility-links {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .mkd-mobile-utility-links a {
    width: 100%;
    min-height: 42px;
    font-size: 15px;
  }
}

/* ==========================================================
   About Page Staff Sections
   ========================================================== */

.staff-modern {
  background: #f4f4f5;
  padding: 56px 0 72px;
}

.staff-category {
  margin-bottom: 64px;
}

.staff-category:last-child {
  margin-bottom: 0;
}

.staff-category__heading {
  position: relative;
  margin-bottom: 28px;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.06);
  overflow: hidden;
}

.staff-category__heading::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 5px;
  height: calc(100% - 36px);
  background: #542675;
  border-radius: 0 8px 8px 0;
}

.staff-category__heading p {
  margin: 0 0 6px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.staff-category__heading h2 {
  margin: 0;
  color: #3c245f;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 750;
  line-height: 1.1;
}


/* Featured bio cards */

.staff-bio-list {
  display: grid;
  gap: 24px;
}

.staff-bio-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.staff-bio-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: #e7e7e9;
  overflow: hidden;
}

.staff-bio-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
}

.staff-bio-card__image:hover img,
.staff-bio-card__image:focus img {
  transform: scale(1.035);
}

.staff-bio-card__content {
  padding: 30px 34px;
}

.staff-bio-card__content h3 {
  margin: 0 0 14px;
  color: #3c245f;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.15;
}

.staff-bio-card__content h3 a {
  color: inherit;
  text-decoration: none;
}

.staff-bio-card__content h3 a:hover,
.staff-bio-card__content h3 a:focus {
  color: #542675;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.staff-bio-card__bio {
  color: #606064;
  font-size: 16.5px;
  line-height: 1.6;
}

.staff-bio-card__bio p:last-child {
  margin-bottom: 0;
}


/* Standard staff cards */

.staff-card-grid {
  justify-content: flex-start;
}

.staff-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.staff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(45, 35, 55, 0.1);
}

.staff-card__image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e7e7e9;
}

.staff-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
}

.staff-card__image:hover img,
.staff-card__image:focus img {
  transform: scale(1.04);
}

.staff-card__content {
  padding: 16px 18px 18px;
}

.staff-card__content h3 {
  margin: 0;
  color: #3c245f;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
}

.staff-card__content h3 a {
  color: inherit;
  text-decoration: none;
}

.staff-card__content h3 a:hover,
.staff-card__content h3 a:focus {
  color: #542675;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.staff-sort-order {
  margin: 10px 0 0;
  color: #999;
  font-size: 12px;
}


/* Mobile */

@media (max-width: 767.98px) {
  .staff-modern {
    padding: 42px 0 56px;
  }

  .staff-category {
    margin-bottom: 46px;
  }

  .staff-category__heading {
    padding: 20px 22px;
    border-radius: 18px;
  }

  .staff-category__heading::before {
    display: none;
  }

  .staff-bio-card__image,
  .staff-bio-card__image img {
    min-height: auto;
  }

  .staff-bio-card__image {
    aspect-ratio: 4 / 5;
  }

  .staff-bio-card__content {
    padding: 24px 22px;
  }

  .staff-bio-card__content h3 {
    font-size: 22px;
  }

  .staff-bio-card__bio {
    font-size: 16px;
  }

  .staff-card__content {
    padding: 14px;
  }

  .staff-card__content h3 {
    font-size: 15.5px;
  }
}

@media (max-width: 575.98px) {
  .staff-modern .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .staff-card-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
}

.staff-bio-grid {
  justify-content: flex-start;
}

.staff-bio-card {
  height: 100%;
}

.staff-bio-card__image {
  min-height: 100%;
}

.staff-bio-card__image img {
  min-height: 100%;
}

.staff-bio-card__content {
  padding: 26px 28px;
}

.staff-bio-card__content h3 {
  font-size: 21px;
}

.staff-bio-card__bio {
  font-size: 15.5px;
  line-height: 1.55;
}

.staff-bio-card {
  height: 100%;
}

.staff-bio-card > .row {
  height: 100%;
}

.staff-bio-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: #e7e7e9;
}

.staff-bio-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: top center;
}

/* ==========================================================
   Obituaries Listing
   ========================================================== */

.obituaries-listing {
  background: #f4f4f5;
  padding: 48px 0 72px;
}

.obit-search-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  padding: 28px;
  margin-bottom: 34px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.obit-search-card::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 5px;
  height: calc(100% - 48px);
  background: #542675;
  border-radius: 0 8px 8px 0;
}

.obit-search-card__heading {
  margin-bottom: 22px;
}

.obit-search-card__heading p {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.obit-search-card__heading h2 {
  margin: 0;
  color: #3c245f;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 750;
  line-height: 1.08;
}

.obit-search-card__heading h2 span {
  color: #8a8a8d;
  font-size: 0.45em;
  font-weight: 600;
  vertical-align: middle;
}

.obit-search-form .form-control {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(84, 38, 117, 0.16);
  padding: 0 18px;
  color: #4d4d4d;
  font-size: 15px;
  box-shadow: none;
}

.obit-search-form .form-control:focus {
  border-color: #542675;
  box-shadow: 0 0 0 0.2rem rgba(84, 38, 117, 0.12);
}

.obit-search-form__submit {
  width: 100%;
  min-height: 46px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
}

.obit-search-form__submit:hover,
.obit-search-form__submit:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
}

.obit-results-summary {
  margin-bottom: 22px;
  color: #606064;
  font-size: 16px;
}

.obit-results-summary p {
  margin-bottom: 0;
}

.obit-empty-state {
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  padding: 26px 28px;
  color: #606064;
  font-size: 17px;
  line-height: 1.5;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.06);
}

.obit-empty-state p {
  margin-bottom: 0;
}


/* Cards */

.obit-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.obit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(45, 35, 55, 0.1);
}

.obit-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.obit-card__link:hover,
.obit-card__link:focus {
  color: inherit;
  text-decoration: none;
}

.obit-card__image-wrap {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e7e7e9;
}

.obit-card__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
}

.obit-card:hover .obit-card__image-wrap img {
  transform: scale(1.035);
}

.obit-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 18px 16px 20px;
  text-align: center;
}

.obit-card__name {
  display: block;
  margin-bottom: 5px;
  color: #3c245f;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.18;
}

.obit-card__date {
  display: block;
  margin-bottom: 14px;
  color: #77777a;
  font-size: 14px;
  line-height: 1.2;
}

.obit-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  transition: background 0.18s ease;
}

.obit-card:hover .obit-card__button,
.obit-card__link:focus .obit-card__button {
  background: #3c245f;
}

.obit-card__edit {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #542675;
  box-shadow: 0 8px 18px rgba(45, 35, 55, 0.14);
  text-decoration: none;
}

.obit-card__edit:hover,
.obit-card__edit:focus {
  background: #542675;
  color: #fff;
  text-decoration: none;
}


/* Pagination */

.obit-pagination {
  margin-top: 42px;
}

.obit-pagination .pagination {
  gap: 8px;
}

.obit-pagination .page-link {
  border: 1px solid rgba(84, 38, 117, 0.18);
  border-radius: 999px;
  color: #542675;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 15px;
}

.obit-pagination .page-link:hover,
.obit-pagination .page-link:focus {
  background: #f3eef7;
  border-color: #542675;
  color: #542675;
  box-shadow: none;
}

.obit-pagination .page-item.active .page-link {
  background: #542675;
  border-color: #542675;
  color: #fff;
}


/* Mobile */

@media (max-width: 767.98px) {
  .obituaries-listing {
    padding: 38px 0 56px;
  }

  .obit-search-card {
    padding: 22px;
    border-radius: 18px;
  }

  .obit-search-card::before {
    display: none;
  }

  .obit-search-form__submit {
    margin-top: 4px;
  }

  .obit-card__name {
    font-size: 17px;
  }
}

@media (max-width: 575.98px) {
  .obituaries-listing .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .obit-search-card {
    padding: 18px;
  }

  .obit-search-card__heading h2 {
    font-size: 30px;
  }
}

/* ==========================================================
   Pricing Location Listing
   ========================================================== */

.pricing-locations {
  background: #f4f4f5;
  padding: 56px 0 72px;
}

.pricing-locations__heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.pricing-locations__heading p:first-child {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.pricing-locations__heading h2 {
  margin: 0 0 10px;
  color: #3c245f;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 750;
  line-height: 1.12;
}

.pricing-locations__heading p:last-child {
  margin: 0;
  color: #707073;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.48;
}

.pricing-location-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pricing-location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(45, 35, 55, 0.1);
}

.pricing-location-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7e7e9;
}

.pricing-location-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.pricing-location-card:hover .pricing-location-card__image img {
  transform: scale(1.035);
}

.pricing-location-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}

.pricing-location-card__eyebrow {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.pricing-location-card h3 {
  margin: 0 0 12px;
  color: #3c245f;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.1;
}

.pricing-location-card h3 a {
  color: inherit;
  text-decoration: none;
}

.pricing-location-card h3 a:hover,
.pricing-location-card h3 a:focus {
  color: #542675;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-location-card__address {
  margin: 0 0 22px;
  color: #606064;
  font-size: 15.5px;
  line-height: 1.45;
}

.pricing-location-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease;
}

.pricing-location-card__button:hover,
.pricing-location-card__button:focus {
  background: #3c245f;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .pricing-locations {
    padding: 44px 0 56px;
  }

  .pricing-locations__heading {
    margin-bottom: 26px;
  }

  .pricing-locations__heading p:last-child {
    font-size: 16.5px;
  }

  .pricing-location-card__body {
    padding: 20px;
  }
}

@media (max-width: 575.98px) {
  .pricing-locations .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pricing-locations__heading h2 {
    font-size: 34px;
    line-height: 1.05;
  }
}

/* ==========================================================
   Pricing Package Detail Cards
   ========================================================== */

.pricing-packages {
  background: #f4f4f5;
  padding: 56px 0 72px;
}

.pricing-packages__heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.pricing-packages__heading p:first-child {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.pricing-packages__heading h2 {
  margin: 0 0 10px;
  color: #3c245f;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 750;
  line-height: 1.12;
}

.pricing-packages__heading p:last-child {
  margin: 0;
  color: #707073;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.48;
}

.pricing-package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pricing-package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(45, 35, 55, 0.1);
}

.pricing-package-card__image {
  min-height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pricing-package-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 30px;
  text-align: center;
}

.pricing-package-card__eyebrow {
  margin: 0 0 10px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.pricing-package-card h3 {
  margin: 0 0 22px;
  color: #3c245f;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 750;
  line-height: 1.1;
}

.pricing-package-card__label {
  margin: 0 0 6px;
  color: #707073;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.pricing-package-card__price {
  margin: 0 0 10px;
  color: #542675;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 800;
  line-height: 0.95;
}

.pricing-package-card__price sup {
  top: -0.55em;
  color: #542675;
  font-size: 0.38em;
}

.pricing-package-card__note {
  max-width: 520px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 16px;
  color: #606064;
  font-size: 15.5px;
  line-height: 1.5;
}

.pricing-package-card__note p:last-child {
  margin-bottom: 0;
}

.pricing-package-card__effective {
  max-width: 520px;
  margin: 0 auto 24px;
  color: #77777a;
  font-size: 13px;
  line-height: 1.45;
}

.pricing-package-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease;
}

.pricing-package-card__button:hover,
.pricing-package-card__button:focus {
  background: #3c245f;
  color: #fff;
  text-decoration: none;
}

.pricing-empty-state {
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  padding: 26px 28px;
  color: #606064;
  font-size: 17px;
  line-height: 1.5;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.06);
}

.pricing-empty-state p {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .pricing-packages {
    padding: 44px 0 56px;
  }

  .pricing-packages__heading {
    margin-bottom: 26px;
  }

  .pricing-packages__heading p:last-child {
    font-size: 16.5px;
  }

  .pricing-package-card__body {
    padding: 24px;
  }
}

@media (max-width: 575.98px) {
  .pricing-packages .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pricing-packages__heading h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .pricing-package-card h3 {
    font-size: 26px;
  }

  .pricing-package-card__price {
    font-size: 46px;
  }
}

/* ==========================================================
   Flower Product Listing
   ========================================================== */

.flowers-listing {
  background: #f4f4f5;
  padding: 56px 0 72px;
}

.flowers-listing__heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.flowers-listing__heading p:first-child {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.flowers-listing__heading h2 {
  margin: 0 0 10px;
  color: #3c245f;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 750;
  line-height: 1.12;
}

.flowers-listing__heading p:last-child {
  margin: 0;
  color: #707073;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.48;
}


/* Product cards */

.flower-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.flower-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(45, 35, 55, 0.1);
}

.flower-card__image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e7e7e9;
}

.flower-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.flower-card:hover .flower-card__image img {
  transform: scale(1.035);
}

.flower-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 22px;
  text-align: center;
}

.flower-card__body h3 {
  margin: 0 0 12px;
  color: #3c245f;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.15;
}

.flower-card__price {
  margin: 0;
  color: #542675;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.flower-card__delivery {
  margin: 6px 0 20px;
  color: #77777a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.flower-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease;
}

.flower-card__button:hover,
.flower-card__button:focus {
  background: #3c245f;
  color: #fff;
  text-decoration: none;
}


/* Vendor note */

.flower-vendor-note {
  margin-top: 42px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.06);
  text-align: center;
}

.flower-vendor-note p {
  margin: 0;
  color: #606064;
  font-size: 17px;
  line-height: 1.45;
}

.flower-vendor-note a {
  color: #542675;
  font-weight: 750;
  text-decoration: none;
}

.flower-vendor-note a:hover,
.flower-vendor-note a:focus {
  color: #3c245f;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Mobile */

@media (max-width: 767.98px) {
  .flowers-listing {
    padding: 44px 0 56px;
  }

  .flowers-listing__heading {
    margin-bottom: 26px;
  }

  .flowers-listing__heading p:last-child {
    font-size: 16.5px;
  }

  .flower-card__body {
    padding: 20px;
  }

  .flower-card__body h3 {
    font-size: 18px;
  }

  .flower-card__price {
    font-size: 28px;
  }

  .flower-vendor-note {
    margin-top: 32px;
    padding: 22px;
  }
}

@media (max-width: 575.98px) {
  .flowers-listing .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .flowers-listing__heading h2 {
    font-size: 34px;
    line-height: 1.05;
  }
}

/* ==========================================================
   Obituary Detail Page
   ========================================================== */

.obit-detail-page {
  background: #f4f4f5;
  padding: 56px 0 72px;
  color: #4d4d4d;
}


/* Admin actions */

.obit-admin-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.obit-admin-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(84, 38, 117, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #542675;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(45, 35, 55, 0.06);
}

.obit-admin-actions__btn:hover,
.obit-admin-actions__btn:focus {
  background: #f3eef7;
  border-color: #542675;
  color: #542675;
  text-decoration: none;
}


/* Left memorial card */

.obit-memorial-card {
  position: sticky;
  top: 120px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.obit-memorial-card__image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e7e7e9;
}

.obit-memorial-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
}

.obit-memorial-card__image:hover img,
.obit-memorial-card__image:focus img {
  transform: scale(1.035);
}

.obit-memorial-card__body {
  padding: 24px;
}

.obit-memorial-card__eyebrow {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.obit-memorial-card h1 {
  margin: 0 0 12px;
  color: #3c245f;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.04;
}

.obit-memorial-card__dates {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 20px;
  color: #707073;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.32;
}

.obit-memorial-card__date-separator {
  display: none;
}

.obit-memorial-card__actions {
  display: grid;
  gap: 10px;
}

.obit-memorial-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.obit-memorial-card__btn--primary {
  background: #542675;
  border: 1px solid #542675;
  color: #fff;
}

.obit-memorial-card__btn--primary:hover,
.obit-memorial-card__btn--primary:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
  text-decoration: none;
}

.obit-memorial-card__btn--outline {
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.24);
  color: #542675;
}

.obit-memorial-card__btn--outline:hover,
.obit-memorial-card__btn--outline:focus {
  background: #f3eef7;
  border-color: #542675;
  color: #542675;
  text-decoration: none;
}

.obit-memorial-card__views {
  margin: 18px 0 0;
  color: #77777a;
  font-size: 13.5px;
  line-height: 1.35;
}


/* Section jump nav */

.obit-section-nav {
  position: sticky;
  top: 92px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px;
  background: rgba(244, 244, 245, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
}

.obit-section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.1);
  color: #542675;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(45, 35, 55, 0.04);
}

.obit-section-nav a:hover,
.obit-section-nav a:focus {
  background: #542675;
  border-color: #542675;
  color: #fff;
  text-decoration: none;
}

.obit-section-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(84, 38, 117, 0.12);
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}


/* Content cards */

.obit-content-card {
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  padding: 30px;
  margin-bottom: 28px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  scroll-margin-top: 132px;
}

.obit-content-card:last-child {
  margin-bottom: 0;
}

.obit-content-card__heading {
  margin-bottom: 22px;
}

.obit-content-card__heading--with-action {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.obit-content-card__heading p {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.obit-content-card__heading h2 {
  margin: 0;
  color: #3c245f;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.08;
}

.obit-content-card__copy {
  color: #606064;
  font-size: 18px;
  line-height: 1.65;
}

.obit-content-card__copy p:last-child {
  margin-bottom: 0;
}

.obit-copy-card .obit-content-card__copy {
  max-width: 860px;
}


/* Section buttons */

.obit-section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #542675;
  border: 1px solid #542675;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.obit-section-action:hover,
.obit-section-action:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
  text-decoration: none;
}

.obit-section-action--large {
  min-height: 46px;
  padding: 0 22px;
}


/* Service embed compatibility */

.obit-service-section__content {
  color: #606064;
}

.obit-service-section__content .panel,
.obit-service-section__content .card,
.obit-service-section__content .well {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(84, 38, 117, 0.12);
  box-shadow: none;
}

.obit-service-section__content .panel-heading,
.obit-service-section__content .card-header {
  background: #f3eef7;
  color: #3c245f;
  border-bottom: 1px solid rgba(84, 38, 117, 0.12);
}

.obit-service-section__content a {
  color: #542675;
  font-weight: 700;
}


/* Photo grid */

.obit-photo-grid__item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: #e7e7e9;
}

.obit-photo-grid__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.obit-photo-grid__item:hover img,
.obit-photo-grid__item:focus img {
  transform: scale(1.04);
}


/* Video */

.obit-video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #222;
}

.obit-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* Guestbook compatibility */

.obit-guestbook-section__content h3 {
  color: #3c245f;
  font-weight: 800;
}

.obit-guestbook-section__content label {
  color: #606064;
  font-weight: 750;
}

.obit-guestbook-section__content .form-control,
.obit-guestbook-section__content input[type="text"],
.obit-guestbook-section__content input[type="email"],
.obit-guestbook-section__content textarea {
  width: 100%;
  border: 1px solid rgba(84, 38, 117, 0.18);
  border-radius: 12px;
  padding: 11px 14px;
  color: #4d4d4d;
  box-shadow: none;
}

.obit-guestbook-section__content .form-control:focus,
.obit-guestbook-section__content input[type="text"]:focus,
.obit-guestbook-section__content input[type="email"]:focus,
.obit-guestbook-section__content textarea:focus {
  border-color: #542675;
  box-shadow: 0 0 0 0.2rem rgba(84, 38, 117, 0.12);
}

.obit-guestbook-section__content .btn,
.obit-guestbook-section__content button[type="submit"],
.obit-guestbook-section__content input[type="submit"] {
  border-radius: 999px;
  background: #542675;
  border: 1px solid #542675;
  color: #fff;
  font-weight: 750;
  padding: 10px 18px;
}

.obit-guestbook-section__content .btn:hover,
.obit-guestbook-section__content button[type="submit"]:hover,
.obit-guestbook-section__content input[type="submit"]:hover {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
}


/* Flower section */

.obit-flower-section__intro {
  margin-bottom: 24px;
}

.obit-vendor-note {
  margin-top: 32px;
  padding: 22px 24px;
  background: #f8f7fa;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 18px;
  text-align: center;
}

.obit-vendor-note p {
  margin: 0;
  color: #606064;
  font-size: 16px;
  line-height: 1.45;
}

.obit-vendor-note a {
  color: #542675;
  font-weight: 750;
  text-decoration: none;
}

.obit-vendor-note a:hover,
.obit-vendor-note a:focus {
  color: #3c245f;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Compatibility styling if _obit-flower-list still uses old .product markup */

.obit-flower-section .product-list .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.obit-flower-section .product-list .row > div {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 24px;
}

.obit-flower-section .product {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.obit-flower-section .product .image a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e7e7e9;
}

.obit-flower-section .product .image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.obit-flower-section .product .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 20px;
  text-align: center;
}

.obit-flower-section .product .info p {
  margin: 0 0 14px;
  color: #3c245f;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.2;
}

.obit-flower-section .product .info .btn,
.obit-flower-section .product .info a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border-radius: 999px;
  background: #542675;
  border: 1px solid #542675;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.obit-flower-section .product .info .btn:hover,
.obit-flower-section .product .info a.btn:hover {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
}

@media (min-width: 576px) {
  .obit-flower-section .product-list .row > div {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .obit-flower-section .product-list .row > div {
    width: 25%;
  }
}


/* Mobile */

@media (max-width: 991.98px) {
  .obit-detail-page {
    padding: 44px 0 60px;
  }

  .obit-memorial-card {
    position: relative;
    top: auto;
  }

  .obit-memorial-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .obit-memorial-card__image {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
  }

  .obit-section-nav {
    position: relative;
    top: auto;
    border-radius: 22px;
  }

  .obit-content-card {
    scroll-margin-top: 28px;
  }
}

@media (max-width: 767.98px) {
  .obit-admin-actions {
    justify-content: flex-start;
  }

  .obit-memorial-card {
    display: block;
  }

  .obit-memorial-card__image {
    aspect-ratio: 4 / 5;
  }

  .obit-content-card {
    padding: 24px;
    border-radius: 20px;
  }

  .obit-content-card__heading--with-action {
    display: block;
  }

  .obit-section-action {
    margin-top: 16px;
  }

  .obit-content-card__copy {
    font-size: 16.5px;
    line-height: 1.58;
  }
}

@media (max-width: 575.98px) {
  .obit-detail-page .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .obit-memorial-card__body {
    padding: 22px;
  }

  .obit-content-card {
    padding: 22px;
  }

  .obit-content-card__heading h2 {
    font-size: 30px;
  }

  .obit-section-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .obit-section-nav a {
    width: 100%;
  }
}

/* ==========================================================
   Obituary Service List
   ========================================================== */

.obit-service-list {
  display: grid;
  gap: 22px;
}

.obit-service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(45, 35, 55, 0.05);
}

.obit-service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: #f8f7fa;
  border-bottom: 1px solid rgba(84, 38, 117, 0.08);
}

.obit-service-card__eyebrow {
  margin: 0 0 6px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.obit-service-card__header h3 {
  margin: 0;
  color: #3c245f;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.12;
}

.obit-service-card__time {
  margin: 8px 0 0;
  color: #606064;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
}

.obit-service-card__date-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #542675;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(84, 38, 117, 0.18);
}

.obit-service-card__date-badge span {
  display: block;
  margin-bottom: -4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.obit-service-card__date-badge strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.obit-service-card__details {
  height: 100%;
  padding: 24px;
}

.obit-service-card__label {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
}

.obit-service-card__details h4 {
  margin: 0 0 10px;
  color: #3c245f;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
}

.obit-service-card__details h4 a {
  color: inherit;
  text-decoration: none;
}

.obit-service-card__details h4 a:hover,
.obit-service-card__details h4 a:focus {
  color: #542675;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.obit-service-card__address {
  margin: 0 0 14px;
  color: #606064;
  font-size: 16px;
  line-height: 1.45;
}

.obit-service-card__actions {
  margin: 0 0 12px;
}

.obit-service-card__actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #542675;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.obit-service-card__actions a:hover,
.obit-service-card__actions a:focus {
  color: #3c245f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.obit-service-card__phone {
  margin: 0;
  color: #606064;
  font-size: 15.5px;
  line-height: 1.35;
}

.obit-service-card__phone span {
  font-weight: 800;
}

.obit-service-card__phone a {
  color: #542675;
  font-weight: 800;
  text-decoration: none;
}

.obit-service-card__phone a:hover,
.obit-service-card__phone a:focus {
  color: #3c245f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.obit-service-card__map {
  height: 100%;
  min-height: 320px;
  padding: 24px 24px 24px 0;
}

.obit-service-card__map .google-map,
.obit-service-card__map .ee_gmap,
.obit-service-card__map > div {
  width: 100% !important;
  height: 100% !important;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
}

.obit-service-card__map iframe {
  border-radius: 18px;
}


/* Mobile service cards */

@media (max-width: 991.98px) {
  .obit-service-card__map {
    padding: 0 24px 24px;
  }
}

@media (max-width: 767.98px) {
  .obit-service-card__header {
    align-items: flex-start;
    padding: 20px;
  }

  .obit-service-card__date-badge {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }

  .obit-service-card__date-badge strong {
    font-size: 26px;
  }

  .obit-service-card__details {
    padding: 20px;
  }

  .obit-service-card__map {
    min-height: 260px;
    padding: 0 20px 20px;
  }

  .obit-service-card__map .google-map,
  .obit-service-card__map .ee_gmap,
  .obit-service-card__map > div {
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  .obit-service-card__header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .obit-service-card__header h3 {
    font-size: 22px;
  }

  .obit-service-card__time {
    font-size: 16px;
  }
}

/* ==========================================================
   Obituary Guestbook Entries
   ========================================================== */

.obit-guestbook-list {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.obit-guestbook-empty {
  margin-bottom: 28px;
  padding: 22px 24px;
  background: #f8f7fa;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 18px;
  color: #606064;
  font-size: 17px;
  line-height: 1.5;
}

.obit-guestbook-empty p {
  margin: 0;
}

.obit-guestbook-entry {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.1);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(45, 35, 55, 0.05);
}

.obit-guestbook-entry__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #f8f7fa;
  border-bottom: 1px solid rgba(84, 38, 117, 0.08);
}

.obit-guestbook-entry__date {
  margin: 0;
  color: #3c245f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.obit-guestbook-entry__date span {
  color: #77777a;
  font-weight: 600;
}

.obit-guestbook-entry__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.obit-guestbook-entry__body {
  padding: 20px;
}

.obit-guestbook-entry__message {
  color: #606064;
  font-size: 16px;
  line-height: 1.6;
}

.obit-guestbook-entry__message p:last-child {
  margin-bottom: 0;
}

.obit-guestbook-entry__name {
  margin: 14px 0 0;
  color: #3c245f;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

@media (max-width: 575.98px) {
  .obit-guestbook-entry__header {
    display: block;
  }

  .obit-guestbook-entry__badge {
    margin-top: 10px;
  }

  .obit-guestbook-entry__body {
    padding: 18px;
  }

  .obit-guestbook-entry__message {
    font-size: 15.5px;
  }
}

/* ==========================================================
   Obituary Guestbook Form
   ========================================================== */

.obit-comment-form {
  margin-top: 34px;
  padding: 26px;
  background: #f8f7fa;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
}

.obit-comment-form__heading {
  margin-bottom: 22px;
}

.obit-comment-form__heading p {
  margin: 0 0 6px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.obit-comment-form__heading h3 {
  margin: 0;
  color: #3c245f;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 800;
  line-height: 1.1;
}

.obit-comment-form__group label,
.obit-comment-form__captcha label {
  display: block;
  margin-bottom: 8px;
  color: #3c245f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.obit-comment-form__group label span {
  color: #77777a;
  font-size: 12.5px;
  font-weight: 600;
}

.obit-comment-form .form-control {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(84, 38, 117, 0.18);
  border-radius: 14px;
  background: #fff;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
}

.obit-comment-form textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.obit-comment-form .form-control:focus {
  border-color: #542675;
  box-shadow: 0 0 0 0.2rem rgba(84, 38, 117, 0.12);
}

.obit-comment-form__captcha {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 16px;
}

.obit-comment-form__captcha-image {
  margin-bottom: 12px;
}

.obit-comment-form__captcha-image img {
  max-width: 100%;
  height: auto;
}

.obit-comment-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.obit-comment-form__submit:hover,
.obit-comment-form__submit:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
}

@media (max-width: 575.98px) {
  .obit-comment-form {
    padding: 20px;
    border-radius: 18px;
  }

  .obit-comment-form__submit {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .obit-detail-layout {
    align-items: stretch;
  }

  .obit-sidebar-col {
    align-self: stretch;
  }

  .obit-memorial-card {
    position: sticky;
    top: 118px;
    overflow: hidden;
  }
}

@media (max-width: 991.98px) {
  .obit-memorial-card {
    position: relative;
    top: auto;
    max-height: none;
    overflow: hidden;
  }
}

@media (min-width: 992px) {
  .obit-memorial-card__image {
    aspect-ratio: 4 / 4.65;
  }

  .obit-memorial-card__body {
    padding: 22px 24px;
  }

  .obit-memorial-card h1 {
    font-size: clamp(28px, 2.2vw, 34px);
  }

  .obit-memorial-card__dates {
    margin-bottom: 18px;
  }

  .obit-memorial-card__actions {
    gap: 9px;
  }

  .obit-memorial-card__btn {
    min-height: 40px;
  }
}

.obit-section-nav a.is-active {
  background: #542675;
  border-color: #542675;
  color: #fff;
  box-shadow: 0 10px 24px rgba(84, 38, 117, 0.18);
}

.obit-section-nav a.is-active span {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.obit-content-card {
  scroll-margin-top: 150px;
}

/* Keep obituary sticky subnav above embedded maps */
.obit-detail-page {
  isolation: isolate;
}

.obit-section-nav {
  z-index: 60;
}

/* Force map areas into a lower stacking context */
.obit-service-card,
.obit-service-card__map,
.obit-service-card__map .google-map,
.obit-service-card__map .ee_gmap {
  position: relative;
  z-index: 1;
}

/* Leaflet/Reinos maps can otherwise sit above sticky UI */
.obit-service-card__map .leaflet-pane,
.obit-service-card__map .leaflet-map-pane,
.obit-service-card__map .leaflet-tile-pane,
.obit-service-card__map .leaflet-overlay-pane,
.obit-service-card__map .leaflet-marker-pane,
.obit-service-card__map .leaflet-tooltip-pane,
.obit-service-card__map .leaflet-popup-pane,
.obit-service-card__map .leaflet-control-container,
.obit-service-card__map .leaflet-top,
.obit-service-card__map .leaflet-bottom {
  z-index: 1;
}

.obit-section-nav {
  position: sticky;
  top: 92px;
  z-index: 60;
}

.obit-service-card__map {
  height: 100%;
  min-height: 320px;
  padding: 24px 24px 24px 0;
}

.obit-service-card__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 18px;
}

@media (max-width: 991.98px) {
  .obit-service-card__map {
    padding: 0 24px 24px;
  }
}

@media (max-width: 767.98px) {
  .obit-service-card__map {
    min-height: 260px;
    padding: 0 20px 20px;
  }

  .obit-service-card__map iframe {
    min-height: 260px;
  }
}

/* ==========================================================
   Obituary Detail Mobile Subnav Fix
   ========================================================== */

@media (max-width: 767.98px) {
  .obit-section-nav {
    position: sticky;
    top: 8px;
    z-index: 80;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: calc(100% + 8px);
    margin: 0 -4px 16px;
    padding: 8px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(244, 244, 245, 0.94);
    border-radius: 0;
    backdrop-filter: blur(8px);
    scrollbar-width: none;
  }

  .obit-section-nav::-webkit-scrollbar {
    display: none;
  }

  .obit-section-nav a {
    flex: 0 0 auto;
    width: auto;
    min-height: 38px;
    padding: 0 16px;
    white-space: nowrap;
  }

  .obit-content-card {
    scroll-margin-top: 72px;
  }
}

/* ==========================================================
   Mobile Overlay Navigation
   ========================================================== */

.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  background: rgba(45, 35, 55, 0.42);
  backdrop-filter: blur(4px);
}

.overlay-menu.is-open {
  display: block;
}

.overlay-menu__panel {
  position: relative;
  width: min(100%, 420px);
  min-height: 100%;
  padding: 24px 22px 32px;
  background: #fff;
  box-shadow: 18px 0 48px rgba(45, 35, 55, 0.22);
  animation: mkdMobileMenuIn 0.18s ease-out;
}

@keyframes mkdMobileMenuIn {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.overlay-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.overlay-menu__header p {
  margin: 0;
  color: #3c245f;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.overlay-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(84, 38, 117, 0.18);
  border-radius: 50%;
  background: #f8f7fa;
  color: #542675;
  text-decoration: none;
}

.overlay-menu__close:hover,
.overlay-menu__close:focus {
  background: #542675;
  border-color: #542675;
  color: #fff;
  text-decoration: none;
}

.overlay-menu__close i {
  font-size: 18px;
  line-height: 1;
}


/* Search */

.overlay-search {
  padding: 18px;
  margin-bottom: 24px;
  background: #f8f7fa;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 20px;
}

.overlay-search__label {
  margin: 0 0 10px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.overlay-search__form {
  display: grid;
  gap: 10px;
}

.overlay-search__field {
  position: relative;
}

.overlay-search__field i {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 2;
  color: #8a8a8d;
  transform: translateY(-50%);
}

.overlay-search__field .form-control {
  width: 100%;
  min-height: 46px;
  padding: 0 14px 0 40px;
  border: 1px solid rgba(84, 38, 117, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #4d4d4d;
  font-size: 16px;
  box-shadow: none;
}

.overlay-search__field .form-control:focus {
  border-color: #542675;
  box-shadow: 0 0 0 0.2rem rgba(84, 38, 117, 0.12);
}

.overlay-search__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.overlay-search__button:hover,
.overlay-search__button:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
}


/* Links */

.overlay-menu__nav ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.overlay-menu__nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(84, 38, 117, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #3c245f;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.overlay-menu__nav a:hover,
.overlay-menu__nav a:focus,
.overlay-menu__nav li.active a {
  background: #542675;
  border-color: #542675;
  color: #fff;
  text-decoration: none;
}


/* Prevent body scrolling when menu is open */

body.mobile-menu-open {
  overflow: hidden;
}


/* Mobile logo sizing */

@media (max-width: 575.98px) {
  .mkd-navbar .navbar-brand img {
    max-width: 165px;
  }
}

@media (max-width: 390px) {
  .mkd-navbar .navbar-brand img {
    max-width: 150px;
  }
}

/* ==========================================================
   Mobile Overlay Nav Final Overrides
   ========================================================== */

.overlay-menu .overlay-menu__nav ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.overlay-menu .overlay-menu__nav li {
  display: block;
  margin: 0;
  padding: 0;
}

.overlay-menu .overlay-menu__nav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(84, 38, 117, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #542675;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.overlay-menu .overlay-menu__nav li a:hover,
.overlay-menu .overlay-menu__nav li a:focus,
.overlay-menu .overlay-menu__nav li.active a {
  background: #542675;
  border-color: #542675;
  color: #fff;
  text-decoration: none;
}

.overlay-menu.is-open {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.overlay-menu__panel {
  min-height: 100dvh;
}

/* ==========================================================
   Modern Contact Form
   ========================================================== */

.contact-form-section {
  background: #f4f4f5;
  padding: 56px 0 72px;
}

.contact-form-card {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  width: 5px;
  height: calc(100% - 56px);
  background: #542675;
  border-radius: 0 8px 8px 0;
}

.contact-form-card__heading {
  margin-bottom: 30px;
}

.contact-form-card__heading p:first-child {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.contact-form-card__heading h2 {
  margin: 0 0 10px;
  color: #3c245f;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
}

.contact-form-card__heading p:last-child {
  max-width: 680px;
  margin: 0;
  color: #707073;
  font-size: 18px;
  line-height: 1.48;
}


/* Generated form layout */

.contact-form-wrap form {
  margin: 0;
}

.contact-form-wrap .row {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
  margin-bottom: 0;
}

.contact-form-wrap .form-group {
  margin-bottom: 20px;
}

.contact-form-wrap label {
  display: block;
  margin-bottom: 8px;
  color: #3c245f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.contact-form-wrap label.required::after {
  content: "*";
  margin-left: 5px;
  color: #b3261e;
}


/* Inputs */

.contact-form-wrap .form-control,
.contact-form-wrap select,
.contact-form-wrap textarea,
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap input[type="search"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(84, 38, 117, 0.18);
  border-radius: 14px;
  background-color: #fff;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.4;
  padding: 11px 14px;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form-wrap select.form-control,
.contact-form-wrap select {
  padding-right: 38px;
}

.contact-form-wrap textarea.form-control,
.contact-form-wrap textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap input[type="tel"]:focus,
.contact-form-wrap input[type="search"]:focus {
  border-color: #542675;
  box-shadow: 0 0 0 0.2rem rgba(84, 38, 117, 0.12);
  outline: none;
}


/* Radio buttons */

.contact-form-wrap .radio {
  margin: 0 0 10px;
}

.contact-form-wrap .radio label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(84, 38, 117, 0.14);
  border-radius: 999px;
  background: #f8f7fa;
  color: #4d4d4d;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.contact-form-wrap .radio input[type="radio"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #542675;
}

.contact-form-wrap .radio label:hover {
  border-color: rgba(84, 38, 117, 0.32);
  background: #f3eef7;
}


/* Better spacing for grouped radio choices */

.contact-form-wrap .form-group:has(.radio) {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form-wrap .form-group:has(.radio) > label {
  flex: 0 0 100%;
}


/* Submit */

.contact-form-wrap .submit-align-left,
.contact-form-wrap .submit-align-center,
.contact-form-wrap .submit-align-right {
  text-align: left;
}

.contact-form-wrap button[type="submit"],
.contact-form-wrap input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form-wrap button[type="submit"]:hover,
.contact-form-wrap button[type="submit"]:focus,
.contact-form-wrap input[type="submit"]:hover,
.contact-form-wrap input[type="submit"]:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(84, 38, 117, 0.18);
}


/* Hide generated inline style visual conflicts where possible */

.contact-form-wrap style {
  display: none;
}


/* Responsive */

@media (max-width: 767.98px) {
  .contact-form-section {
    padding: 44px 0 56px;
  }

  .contact-form-card {
    padding: 24px;
    border-radius: 20px;
  }

  .contact-form-card::before {
    display: none;
  }

  .contact-form-card__heading {
    margin-bottom: 26px;
  }

  .contact-form-card__heading p:last-child {
    font-size: 16.5px;
  }

  .contact-form-wrap .form-group {
    margin-bottom: 18px;
  }

  .contact-form-wrap button[type="submit"],
  .contact-form-wrap input[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .contact-form-section .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .contact-form-card {
    padding: 22px;
  }

  .contact-form-card__heading h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .contact-form-wrap .radio label {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ==========================================================
   Preplanning & Aftercare Page
   ========================================================== */

.preafter-page {
  background: #f4f4f5;
  padding: 56px 0 72px;
}

.preafter-chooser {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.preafter-chooser::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  width: 5px;
  height: calc(100% - 56px);
  background: #542675;
  border-radius: 0 8px 8px 0;
}

.preafter-chooser__heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.preafter-chooser__heading p:first-child,
.preafter-card__heading p:first-child {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.preafter-chooser__heading h2,
.preafter-card__heading h2 {
  margin: 0 0 10px;
  color: #3c245f;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
}

.preafter-chooser__heading p:last-child,
.preafter-card__heading p:last-child {
  margin: 0;
  color: #707073;
  font-size: 18px;
  line-height: 1.48;
}

.preafter-option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(84, 38, 117, 0.12);
  border-radius: 20px;
  background: #f8f7fa;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.preafter-option-card:hover,
.preafter-option-card:focus {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(84, 38, 117, 0.28);
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.08);
  color: inherit;
  text-decoration: none;
}

.preafter-option-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #542675;
  color: #fff;
  box-shadow: 0 10px 24px rgba(84, 38, 117, 0.16);
}

.preafter-option-card__icon i {
  font-size: 24px;
  line-height: 1;
}

.preafter-option-card__content {
  display: grid;
  gap: 6px;
}

.preafter-option-card__content strong {
  color: #3c245f;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
}

.preafter-option-card__content span {
  color: #606064;
  font-size: 16px;
  line-height: 1.4;
}


/* Main cards */

.preafter-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  scroll-margin-top: 130px;
}

.preafter-card:last-child {
  margin-bottom: 0;
}

.preafter-card__heading {
  max-width: 820px;
  margin-bottom: 30px;
}


/* Form styling */

.preafter-form-wrap form {
  margin: 0;
}

.preafter-form-wrap .row {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
  margin-bottom: 0;
}

.preafter-form-wrap .form-group {
  margin-bottom: 20px;
}

.preafter-form-wrap label {
  display: block;
  margin-bottom: 8px;
  color: #3c245f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.preafter-form-wrap label.required::after {
  content: "*";
  margin-left: 5px;
  color: #b3261e;
}

.preafter-form-wrap .help-block {
  margin-top: 7px;
  color: #77777a;
  font-size: 13.5px;
  line-height: 1.35;
}

.preafter-form-wrap .form-control,
.preafter-form-wrap select,
.preafter-form-wrap textarea,
.preafter-form-wrap input[type="text"],
.preafter-form-wrap input[type="email"],
.preafter-form-wrap input[type="tel"],
.preafter-form-wrap input[type="datetime"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(84, 38, 117, 0.18);
  border-radius: 14px;
  background-color: #fff;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.4;
  padding: 11px 14px;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.preafter-form-wrap textarea.form-control,
.preafter-form-wrap textarea {
  min-height: 130px;
  resize: vertical;
}

.preafter-form-wrap .form-control:focus,
.preafter-form-wrap select:focus,
.preafter-form-wrap textarea:focus,
.preafter-form-wrap input[type="text"]:focus,
.preafter-form-wrap input[type="email"]:focus,
.preafter-form-wrap input[type="tel"]:focus,
.preafter-form-wrap input[type="datetime"]:focus {
  border-color: #542675;
  box-shadow: 0 0 0 0.2rem rgba(84, 38, 117, 0.12);
  outline: none;
}


/* Radio buttons */

.preafter-form-wrap .radio {
  display: inline-flex;
  margin: 0 10px 10px 0;
}

.preafter-form-wrap .radio label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(84, 38, 117, 0.14);
  border-radius: 999px;
  background: #f8f7fa;
  color: #4d4d4d;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.preafter-form-wrap .radio input[type="radio"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #542675;
}

.preafter-form-wrap .radio label:hover {
  border-color: rgba(84, 38, 117, 0.32);
  background: #f3eef7;
}


/* Submit */

.preafter-form-wrap .submit-align-left,
.preafter-form-wrap .submit-align-center,
.preafter-form-wrap .submit-align-right {
  text-align: left;
}

.preafter-form-wrap button[type="submit"],
.preafter-form-wrap input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.preafter-form-wrap button[type="submit"]:hover,
.preafter-form-wrap button[type="submit"]:focus,
.preafter-form-wrap input[type="submit"]:hover,
.preafter-form-wrap input[type="submit"]:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(84, 38, 117, 0.18);
}


/* Aftercare content */

.preafter-content {
  color: #606064;
  font-size: 18px;
  line-height: 1.65;
}

.preafter-content h3,
.preafter-content h4 {
  margin: 34px 0 14px;
  color: #3c245f;
  font-weight: 800;
  line-height: 1.15;
}

.preafter-content h4 {
  font-size: 26px;
}

.preafter-content p {
  margin-bottom: 18px;
}

.preafter-content ul {
  margin: 0 0 22px;
  padding-left: 1.25rem;
}

.preafter-content li {
  margin-bottom: 10px;
}

.preafter-content a {
  color: #542675;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preafter-content blockquote {
  margin: 18px 0 28px;
  padding: 18px 22px;
  background: #f8f7fa;
  border-left: 5px solid #542675;
  border-radius: 0 18px 18px 0;
  color: #606064;
  font-size: 16.5px;
  line-height: 1.55;
}

.preafter-content blockquote p:last-child {
  margin-bottom: 0;
}


/* Datepicker z-index safety */

.preafter-form-wrap .flatpickr-calendar {
  z-index: 1500;
}


/* Responsive */

@media (max-width: 767.98px) {
  .preafter-page {
    padding: 44px 0 56px;
  }

  .preafter-chooser,
  .preafter-card {
    padding: 24px;
    border-radius: 20px;
  }

  .preafter-chooser::before {
    display: none;
  }

  .preafter-chooser__heading p:last-child,
  .preafter-card__heading p:last-child,
  .preafter-content {
    font-size: 16.5px;
  }

  .preafter-option-card {
    min-height: auto;
    padding: 18px;
  }

  .preafter-option-card__content strong {
    font-size: 21px;
  }

  .preafter-form-wrap .form-group {
    margin-bottom: 18px;
  }

  .preafter-form-wrap button[type="submit"],
  .preafter-form-wrap input[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .preafter-page .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .preafter-chooser,
  .preafter-card {
    padding: 22px;
  }

  .preafter-chooser__heading h2,
  .preafter-card__heading h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .preafter-option-card {
    align-items: flex-start;
  }

  .preafter-option-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .preafter-form-wrap .radio,
  .preafter-form-wrap .radio label {
    width: 100%;
  }
}

.preafter-success-message {
  padding: 18px 20px;
  background: #f3eef7;
  border: 1px solid rgba(84, 38, 117, 0.16);
  border-radius: 16px;
  color: #3c245f;
  font-size: 16px;
  line-height: 1.45;
}

.preafter-success-message strong {
  font-weight: 800;
}

/* ==========================================================
   Obituary Service Card Emphasis
   ========================================================== */

.obit-service-card {
  overflow: hidden;
  border: 1px solid rgba(84, 38, 117, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(45, 35, 55, 0.06);
}

.obit-service-card + .obit-service-card {
  margin-top: 22px;
}

.obit-service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(84, 38, 117, 0.08), rgba(84, 38, 117, 0.02));
  border-bottom: 1px solid rgba(84, 38, 117, 0.1);
}

.obit-service-card__header-main {
  min-width: 0;
}

.obit-service-card__eyebrow {
  margin: 0 0 6px;
  color: #8a8a8d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.obit-service-card__header h3 {
  margin: 0 0 8px;
  color: #3c245f;
  font-size: clamp(25px, 2.5vw, 28px);
  font-weight: 850;
  line-height: 1.05;
}

.obit-service-card__datetime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #606064;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.obit-service-card__datetime i {
  color: #542675;
  font-size: 15px;
}

.obit-service-card__date-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 72px;
  min-height: 72px;
  padding: 10px;
  border-radius: 18px;
  background: #542675;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(84, 38, 117, 0.18);
}

.obit-service-card__date-badge span {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.obit-service-card__date-badge strong {
  display: block;
  font-size: 31px;
  font-weight: 850;
  line-height: 0.95;
}


/* Body spacing after moving the title/date into the header */

.obit-service-card__details {
  padding-top: 22px;
}


/* If old date/title elements still exist inside details, reduce their emphasis */

.obit-service-card__details > h3:first-child {
  color: #606064;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.25;
}


/* Mobile */

@media (max-width: 767.98px) {
  .obit-service-card__header {
    align-items: flex-start;
    padding: 20px;
  }

  .obit-service-card__header h3 {
    font-size: 27px;
  }

  .obit-service-card__datetime {
    align-items: flex-start;
    font-size: 15px;
  }

  .obit-service-card__datetime i {
    margin-top: 2px;
  }

  .obit-service-card__date-badge {
    width: 62px;
    min-height: 62px;
    border-radius: 16px;
  }

  .obit-service-card__date-badge strong {
    font-size: 27px;
  }
}

/* ==========================================================
   Obituary Service Card Header Refinement
   ========================================================== */

.obit-service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(84, 38, 117, 0.09), rgba(84, 38, 117, 0.025));
  border-bottom: 1px solid rgba(84, 38, 117, 0.1);
}

.obit-service-card__header-main {
  min-width: 0;
}

.obit-service-card__eyebrow {
  margin: 0 0 7px;
  color: #8a8a8d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.obit-service-card__header h3 {
  margin: 0 0 9px;
  color: #3c245f;
  font-size: clamp(24px, 2.4vw, 28px);
  font-weight: 850;
  line-height: 1.05;
}

.obit-service-card__datetime {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #606064;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.obit-service-card__datetime i {
  flex: 0 0 auto;
  color: #542675;
  font-size: 15px;
}

.obit-service-card__datetime-separator {
  display: inline-block;
  margin: 0 4px;
  color: #8a8a8d;
}

.obit-service-card__date-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 68px;
  min-height: 68px;
  padding: 10px;
  border-radius: 17px;
  background: #542675;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(84, 38, 117, 0.18);
}

.obit-service-card__date-badge span {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.obit-service-card__date-badge strong {
  display: block;
  font-size: 29px;
  font-weight: 850;
  line-height: 0.95;
}

@media (max-width: 767.98px) {
  .obit-service-card__header {
    align-items: flex-start;
    padding: 20px;
  }

  .obit-service-card__header h3 {
    font-size: 26px;
  }

  .obit-service-card__datetime {
    align-items: flex-start;
    font-size: 15px;
  }

  .obit-service-card__datetime i {
    margin-top: 2px;
  }

  .obit-service-card__date-badge {
    width: 60px;
    min-height: 60px;
    border-radius: 15px;
  }

  .obit-service-card__date-badge strong {
    font-size: 25px;
  }
}

/* ==========================================================
   Obituary Service Card Body / Action Column
   ========================================================== */

.obit-service-card__body {
  padding: 24px;
}

.obit-service-card__details {
  padding: 0;
}

.obit-service-card__details .obit-service-card__label {
  margin: 0 0 8px;
  color: #9a9a9d;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}
.obit-service-card__details h4 {
  margin: 0 0 8px;
  color: #3c245f;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.15;
}

.obit-service-card__details h4 a {
  color: #3c245f;
  text-decoration: none;
}

.obit-service-card__details h4 a:hover,
.obit-service-card__details h4 a:focus {
  color: #542675;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.obit-service-card__address {
  margin: 0;
  color: #606064;
  font-size: 15.5px;
  line-height: 1.5;
}

.obit-service-card__meta {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 16px;
  background: #f8f7fa;
  border: 1px solid rgba(84, 38, 117, 0.09);
  border-radius: 18px;
}

.obit-service-card__action-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(84, 38, 117, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #542675;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.obit-service-card__action-link:hover,
.obit-service-card__action-link:focus {
  background: #542675;
  border-color: #542675;
  color: #fff;
  text-decoration: none;
}

.obit-service-card__action-link i {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1;
}

.obit-service-card__action-link span {
  min-width: 0;
}


/* Retire old map spacing if any old CSS is still present */

.obit-service-card__map {
  display: none;
}


/* Mobile */

@media (max-width: 767.98px) {
  .obit-service-card__body {
    padding: 20px;
  }

  .obit-service-card__details h4 {
    font-size: 20px;
  }

  .obit-service-card__meta {
    padding: 14px;
    border-radius: 16px;
  }

  .obit-service-card__action-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================
   MKD Homepage Refresh
   ========================================================== */

/* ==========================================================
   MKD Homepage Hero - Centered Version
   ========================================================== */

.mkd-home-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.mkd-home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.mkd-home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(45, 35, 55, 0.05) 0%,
      rgba(45, 35, 55, 0.18) 45%,
      rgba(45, 35, 55, 0.36) 100%
    );
}

.mkd-home-hero__content {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 0 86px;
  color: #fff;
  text-align: center;
}

.mkd-home-hero__eyebrow {
  display: none;
}

.mkd-home-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.mkd-home-hero__subhead {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 650;
  line-height: 1.35;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.3);
}

.mkd-home-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.mkd-home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(45, 35, 55, 0.2);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.mkd-home-hero__btn:hover,
.mkd-home-hero__btn:focus {
  transform: translateY(-2px);
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(45, 35, 55, 0.24);
}

@media (max-width: 767.98px) {
  .mkd-home-hero {
    min-height: 470px;
  }

  .mkd-home-hero__content {
    padding: 76px 0 66px;
  }

  .mkd-home-hero h1 {
    font-size: 40px;
  }

  .mkd-home-hero__subhead {
    font-size: 18px;
  }

  .mkd-home-hero__btn {
    width: 100%;
    max-width: 320px;
  }
}


/* Shared homepage section headings */

.mkd-home-section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.mkd-home-section-heading p {
  margin: 0 0 8px;
  color: #8a8a8d;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.mkd-home-section-heading h2 {
  margin: 0;
  color: #3c245f;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.025em;
}


/* Announcements */

.mkd-home-announcements {
  padding: 38px 0 0;
  background: #f4f4f5;
}

.mkd-home-announcements__grid {
  display: grid;
  gap: 18px;
}

.mkd-home-announcement-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.mkd-home-announcement-card a {
  display: block;
}

.mkd-home-announcement-card img {
  display: block;
  width: 100%;
  height: auto;
}


/* Intro */

.mkd-home-intro {
  padding: 38px 0;
  background: #f4f4f5;
}

.mkd-home-intro__card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.mkd-home-intro__card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  width: 5px;
  height: calc(100% - 56px);
  background: #542675;
  border-radius: 0 8px 8px 0;
}

.mkd-home-intro__image {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #f8f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkd-home-intro__image img {
  display: block;
  max-width: 54px;
  max-height: 54px;
  width: auto;
  height: auto;
}

.mkd-home-intro__content {
  color: #606064;
  font-size: 18px;
  line-height: 1.62;
}

.mkd-home-intro__content p:last-child {
  margin-bottom: 0;
}

.mkd-home-intro__content a {
  color: #542675;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Obituaries */

.mkd-home-obituaries {
  padding: 64px 0;
  background: #fff;
}

.mkd-home-obituaries__footer {
  margin-top: 28px;
  text-align: center;
}


/* Features */

.mkd-home-features {
  padding: 64px 0;
  background: #f4f4f5;
}

.mkd-home-feature-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mkd-home-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(45, 35, 55, 0.1);
}

.mkd-home-feature-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}

.mkd-home-feature-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.mkd-home-feature-card:hover .mkd-home-feature-card__image img {
  transform: scale(1.04);
}

.mkd-home-feature-card__body {
  padding: 22px;
  text-align: center;
}

.mkd-home-feature-card__body h3 {
  margin: 0;
  color: #3c245f;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.15;
}

.mkd-home-feature-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.mkd-home-feature-card__body h3 a:hover,
.mkd-home-feature-card__body h3 a:focus {
  color: #542675;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Reviews */

.mkd-home-reviews {
  padding: 64px 0 78px;
  background: #fff;
}

.mkd-home-reviews__card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background: #f8f7fa;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 24px;
}

.mkd-home-reviews__footer {
  margin-top: 24px;
  text-align: center;
}


/* Shared secondary button */

.mkd-home-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mkd-home-secondary-btn:hover,
.mkd-home-secondary-btn:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(84, 38, 117, 0.18);
}


/* Responsive */

@media (max-width: 991.98px) {
  .mkd-home-hero {
    min-height: 500px;
  }

  .mkd-home-hero__overlay {
    background:
      linear-gradient(90deg, rgba(45, 35, 55, 0.72), rgba(45, 35, 55, 0.34)),
      rgba(0, 0, 0, 0.08);
  }

  .mkd-home-hero__content {
    max-width: 650px;
    padding: 64px 0;
  }
}

@media (max-width: 767.98px) {
  .mkd-home-hero {
    min-height: 470px;
  }

  .mkd-home-hero__content {
    padding: 54px 0;
  }

  .mkd-home-hero h1 {
    font-size: 44px;
    line-height: 1;
  }

  .mkd-home-hero__subhead {
    font-size: 18px;
  }

  .mkd-home-hero__actions {
    margin-top: 24px;
  }

  .mkd-home-hero__btn {
    width: 100%;
  }

  .mkd-home-announcements {
    padding-top: 28px;
  }

  .mkd-home-intro,
  .mkd-home-obituaries,
  .mkd-home-features,
  .mkd-home-reviews {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .mkd-home-intro__card,
  .mkd-home-reviews__card {
    padding: 24px;
    border-radius: 20px;
  }

  .mkd-home-intro__card::before {
    display: none;
  }

  .mkd-home-intro__content {
    font-size: 16.5px;
  }

  .mkd-home-section-heading {
    margin-bottom: 24px;
  }
}

@media (max-width: 575.98px) {
  .mkd-home-hero {
    min-height: 440px;
  }

  .mkd-home-hero h1 {
    font-size: 39px;
  }

  .mkd-home-hero__eyebrow {
    font-size: 12px;
  }

  .mkd-home-intro .container,
  .mkd-home-obituaries .container,
  .mkd-home-features .container,
  .mkd-home-reviews .container,
  .mkd-home-announcements .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mkd-home-intro__image {
    width: 68px;
    height: 68px;
  }

  .mkd-home-secondary-btn {
    width: 100%;
  }
}

/* ==========================================================
   Homepage Obituary Cards
   Uses full obituary listing card styling
   ========================================================== */


.mkd-home-obituaries__footer {
  display: none;
}

@media (max-width: 575.98px) {
  .mkd-home-obituaries__footer {
    display: block;
    margin-top: 24px;
    text-align: center;
  }

  .mkd-home-section-heading--bar a {
    display: none;
  }
}

/* ==========================================================
   Homepage Obituaries Section
   ========================================================== */

.mkd-home-obituaries {
  padding: 64px 0;
  background: #eef0f2;
}

.mkd-home-obituaries .mkd-home-section-heading {
  margin-bottom: 32px;
}

.mkd-home-obituaries__footer {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

@media (max-width: 575.98px) {
  .mkd-home-obituaries {
    padding: 48px 0;
  }

  .mkd-home-obituaries__footer {
    margin-top: 28px;
  }
}

.mkd-home-obituaries .obituaries-listing {
  margin-left: auto;
  margin-right: auto;
}

/* Homepage should use obituary card styling, but not obituary page section spacing */
.mkd-home-obituaries .obituaries-listing {
  background: transparent;
  padding: 0;
}

/* ==========================================================
   Delivery / Refund Policy Modal
   ========================================================== */

.mkd-policy-modal .modal-dialog {
  max-width: 620px;
  padding: 18px;
}

.mkd-policy-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(21, 13, 32, 0.28);
}

.mkd-policy-modal__header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 32px 20px;
}

.mkd-policy-modal__header::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 5px;
  height: calc(100% - 40px);
  background: #542675;
  border-radius: 0 8px 8px 0;
}

.mkd-policy-modal__header p {
  margin: 0 0 8px;
  color: #9a9a9d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.mkd-policy-modal__header h2 {
  margin: 0;
  color: #3c245f;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.mkd-policy-modal__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(84, 38, 117, 0.16);
  border-radius: 50%;
  background: #f8f7fa;
  color: #542675;
  line-height: 1;
}

.mkd-policy-modal__close:hover,
.mkd-policy-modal__close:focus {
  background: #542675;
  border-color: #542675;
  color: #fff;
}

.mkd-policy-modal__close i {
  font-size: 17px;
  line-height: 1;
}

.mkd-policy-modal__body {
  padding: 0 32px 8px;
  color: #606064;
  font-size: 18px;
  line-height: 1.58;
}

.mkd-policy-modal__body p {
  margin: 0 0 18px;
}

.mkd-policy-modal__body p:last-child {
  margin-bottom: 0;
}

.mkd-policy-modal__body a {
  color: #542675;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mkd-policy-modal__body a:hover,
.mkd-policy-modal__body a:focus {
  color: #3c245f;
}

.mkd-policy-modal__footer {
  display: flex;
  justify-content: flex-end;
  padding: 24px 32px 30px;
}

.mkd-policy-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
}

.mkd-policy-modal__button:hover,
.mkd-policy-modal__button:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
}

.mkd-policy-modal .modal-backdrop,
.modal-backdrop.show {
  opacity: 0.62;
}


/* Mobile */

@media (max-width: 575.98px) {
  .mkd-policy-modal .modal-dialog {
    padding: 14px;
  }

  .mkd-policy-modal .modal-content {
    border-radius: 22px;
  }

  .mkd-policy-modal__header {
    padding: 26px 24px 18px;
  }

  .mkd-policy-modal__header::before {
    display: none;
  }

  .mkd-policy-modal__header h2 {
    font-size: 32px;
  }

  .mkd-policy-modal__body {
    padding: 0 24px 4px;
    font-size: 16.5px;
  }

  .mkd-policy-modal__footer {
    padding: 22px 24px 26px;
  }

  .mkd-policy-modal__button {
    width: 100%;
  }
}

/* Prevent clicked obituary subnav items from looking active after scrollspy moves on */
.obit-section-nav a:not(.is-active):focus:not(:focus-visible) {
  background: #fff;
  border-color: rgba(84, 38, 117, 0.1);
  color: #542675;
  box-shadow: 0 8px 18px rgba(45, 35, 55, 0.04);
}

/* Keep keyboard accessibility visible */
.obit-section-nav a:focus-visible {
  outline: 3px solid rgba(84, 38, 117, 0.22);
  outline-offset: 3px;
}

/* ==========================================================
   Pricing Detail Page
   ========================================================== */

.pricing-detail-page {
  background: #f4f4f5;
  padding: 56px 0 36px;
}

.pricing-detail-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.pricing-detail-card::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 5px;
  height: calc(100% - 60px);
  background: #542675;
  border-radius: 0 8px 8px 0;
}

.pricing-detail-card__content {
  max-width: 780px;
}

.pricing-detail-card__eyebrow {
  margin: 0 0 8px;
  color: #9a9a9d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.pricing-detail-card h1 {
  margin: 0 0 10px;
  color: #3c245f;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.pricing-detail-card__location {
  margin: 0 0 26px;
  color: #707073;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 750;
  line-height: 1.25;
}

.pricing-detail-card__description {
  color: #606064;
  font-size: 17px;
  line-height: 1.62;
}

.pricing-detail-card__description h2,
.pricing-detail-card__description h3,
.pricing-detail-card__description h4,
.pricing-detail-card__description h5 {
  margin: 26px 0 12px;
  color: #3c245f;
  font-weight: 850;
  line-height: 1.15;
}

.pricing-detail-card__description h5 {
  font-size: 18px;
}

.pricing-detail-card__description p {
  margin-bottom: 18px;
}

.pricing-detail-card__description p:last-child {
  margin-bottom: 0;
}

.pricing-detail-card__description ul {
  margin: 0 0 22px;
  padding-left: 1.2rem;
}

.pricing-detail-card__description li {
  margin-bottom: 7px;
}

.pricing-detail-card__description em {
  color: #707073;
}


/* Right summary card */

.pricing-detail-summary {
  position: sticky;
  top: 132px;
  padding: 26px;
  background: #f8f7fa;
  border: 1px solid rgba(84, 38, 117, 0.1);
  border-radius: 22px;
}

.pricing-detail-summary__label {
  margin: 0 0 8px;
  color: #9a9a9d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.pricing-detail-summary__price {
  margin: 0 0 14px;
  color: #542675;
  font-size: clamp(42px, 4vw, 56px);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.pricing-detail-summary__note {
  margin: 0 0 22px;
  color: #606064;
  font-size: 15.5px;
  line-height: 1.5;
}

.pricing-detail-summary__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.pricing-detail-summary__button:hover,
.pricing-detail-summary__button:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(84, 38, 117, 0.18);
}


/* Package options section */

.pricing-package-options {
  background: #f4f4f5;
  padding: 28px 0 72px;
}

.pricing-package-options__heading {
  max-width: 760px;
  margin: 0 0 30px;
}

.pricing-package-options__heading p {
  margin: 0 0 8px;
  color: #9a9a9d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.pricing-package-options__heading h2 {
  margin: 0;
  color: #3c245f;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* ==========================================================
   Pricing Package Option Cards
   ========================================================== */

.pricing-option-grid {
  margin-top: 0;
}

.pricing-option-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pricing-option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(45, 35, 55, 0.1);
}

.pricing-option-card__image {
  display: block;
  overflow: hidden;
  background: #fff;
}

.pricing-option-card__image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.24s ease;
}

.pricing-option-card:hover .pricing-option-card__image img {
  transform: scale(1.025);
}

.pricing-option-card__body {
  padding: 16px 18px 18px;
  background: #fff;
  text-align: center;
}

.pricing-option-card__body h3 {
  margin: 0;
  color: #3c245f;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
}

.pricing-option-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.pricing-option-card__body h3 a:hover,
.pricing-option-card__body h3 a:focus {
  color: #542675;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-option-card__admin-note {
  padding: 0 18px 18px;
  color: #77777a;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.pricing-option-empty {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 18px;
  color: #606064;
}

.pricing-option-empty p {
  margin: 0;
}

@media (max-width: 575.98px) {
  .pricing-option-card {
    border-radius: 20px;
  }

  .pricing-option-card__body {
    padding: 15px 16px 17px;
  }

  .pricing-option-card__body h3 {
    font-size: 16px;
  }
}

.pricing-package-options .feature {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.pricing-package-options .feature .image {
  display: block;
  overflow: hidden;
  background: #fff;
}

.pricing-package-options .feature .image a {
  display: block;
}

.pricing-package-options .feature .image img {
  display: block;
  width: 100%;
  height: auto;
}

.pricing-package-options .feature .title {
  padding: 13px 16px;
  background: #542675;
  color: #fff;
  text-align: center;
}

.pricing-package-options .feature .title a,
.pricing-package-options .feature .title {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.pricing-package-options .feature > p,
.pricing-package-options .feature .description {
  padding: 12px 16px 16px;
  margin: 0;
  color: #606064;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}


/* Responsive */

@media (max-width: 991.98px) {
  .pricing-detail-summary {
    position: relative;
    top: auto;
  }
}

@media (max-width: 767.98px) {
  .pricing-detail-page {
    padding: 44px 0 28px;
  }

  .pricing-detail-card {
    padding: 26px;
    border-radius: 22px;
  }

  .pricing-detail-card::before {
    display: none;
  }

  .pricing-detail-card__description {
    font-size: 16.5px;
  }

  .pricing-package-options {
    padding: 22px 0 56px;
  }
}

@media (max-width: 575.98px) {
  .pricing-detail-page .container,
  .pricing-package-options .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pricing-detail-card {
    padding: 22px;
  }

  .pricing-detail-card h1 {
    font-size: 36px;
  }

  .pricing-detail-summary {
    padding: 22px;
    border-radius: 20px;
  }

  .pricing-detail-summary__price {
    font-size: 42px;
  }
}

/* ==========================================================
   Good to Know Internal Video Page
   ========================================================== */

.good-to-know-videos {
  background: #f4f4f5;
  padding: 56px 0 72px;
}

.good-to-know-videos__heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.good-to-know-videos__heading p:first-child {
  margin: 0 0 8px;
  color: #9a9a9d;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.good-to-know-videos__heading h2 {
  margin: 0 0 10px;
  color: #3c245f;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.good-to-know-videos__heading p:last-child {
  margin: 0;
  color: #707073;
  font-size: 18px;
  line-height: 1.5;
}

.good-to-know-video-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(45, 35, 55, 0.07);
}

.good-to-know-video-card__media {
  background: #111;
}

.good-to-know-video-card__media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.good-to-know-video-card__body {
  padding: 22px;
}

.good-to-know-video-card__body h3 {
  margin: 0 0 10px;
  color: #3c245f;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.15;
}

.good-to-know-video-card__body p {
  margin: 0 0 18px;
  color: #606064;
  font-size: 15px;
  line-height: 1.45;
}

.good-to-know-video-card__body p span {
  color: #3c245f;
  font-weight: 850;
}

.good-to-know-video-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #542675;
  border-radius: 999px;
  background: #542675;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.good-to-know-video-card__actions a:hover,
.good-to-know-video-card__actions a:focus {
  background: #3c245f;
  border-color: #3c245f;
  color: #fff;
  text-decoration: none;
}

.good-to-know-videos__empty {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(84, 38, 117, 0.08);
  border-radius: 18px;
  color: #606064;
  font-size: 17px;
  line-height: 1.5;
}

.good-to-know-videos__empty p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .good-to-know-videos {
    padding: 44px 0 56px;
  }

  .good-to-know-videos__heading p:last-child {
    font-size: 16.5px;
  }

  .good-to-know-video-card__body {
    padding: 20px;
  }
}

@media (max-width: 575.98px) {
  .good-to-know-videos .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .good-to-know-video-card__actions a {
    width: 100%;
  }
}