.kv-hero-section {
  position: relative;
  padding-top: 7rem;
  overflow: hidden;
}

.kv-home-features {
  padding-top: 1.2rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .kv-home-features {
    padding-top: 1.4rem;
  }
}

body,
.main {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
  color: #233044;
}

.hero-title,
.font-cursive,
h1,
h2,
h3,
h4,
h5 {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif !important;
  letter-spacing: 0;
}

.kv-logo {
  width: 170px;
  height: 56px;
  border-radius: 0;
  object-fit: contain;
}

.kv-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #181e4b;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.kv-brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.kv-brand:hover {
  color: #181e4b;
}

.navbar .nav-link {
  color: #27364e;
  font-size: 0.94rem;
  letter-spacing: 0;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #095f8f;
}

.kv-nav-dropdown {
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(94, 98, 130, 0.12);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(9, 28, 50, 0.14);
}

.kv-nav-dropdown .dropdown-item {
  border-radius: 10px;
  color: #27364e;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 9px 12px;
}

.kv-nav-dropdown .dropdown-item:hover,
.kv-nav-dropdown .dropdown-item:focus {
  background: #eef7fb;
  color: #095f8f;
}

.kv-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(9, 95, 143, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #095f8f !important;
  box-shadow: 0 10px 26px rgba(9, 95, 143, 0.08);
  text-decoration: none !important;
}

.kv-language-switch:hover,
.kv-language-switch:focus {
  border-color: rgba(19, 182, 207, 0.36);
  background: #eef7fb;
  color: #063f64 !important;
}

.kv-language-switch-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #095f8f, #13b6cf);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1;
}

.kv-language-switch-code {
  display: inline-flex;
  align-items: center;
  min-width: 26px;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f3f8fb;
  color: #27364e;
  font-size: 0.72rem;
  font-weight: 900;
}

.kv-language-switch-label {
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .navbar .dropdown-menu.kv-nav-dropdown.show {
    position: static !important;
    display: block;
    width: 100%;
    margin: 6px 0 10px;
    transform: none !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(9, 95, 143, 0.08);
  }

  .navbar .dropdown-toggle.show {
    color: #095f8f;
  }

  .navbar .navbar-nav {
    width: 100%;
    gap: 2px;
  }

  .kv-language-switch {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
}

.kv-hero-card {
  width: min(100%, 520px);
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 38px 80px rgba(9, 95, 143, 0.16);
  position: relative;
  isolation: isolate;
}

.kv-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 30, 75, 0) 50%, rgba(24, 30, 75, 0.34) 100%),
    linear-gradient(135deg, rgba(9, 95, 143, 0.18), rgba(241, 167, 53, 0.08));
  pointer-events: none;
  z-index: 1;
}

.kv-hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.kv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 14px;
  background: #eef7fb;
  color: #095f8f;
  font-weight: 700;
}

.kv-feature-icon {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.kv-store {
  width: auto;
  height: 40px;
}

.kv-footer-logo {
  width: 190px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}

.kv-phone-mock {
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 38px 80px rgba(9, 95, 143, 0.15);
}

.kv-soft-link {
  color: #5e6282;
  text-decoration: none;
}

.kv-soft-link:hover {
  color: #df6951;
}

.kv-store-cta {
  border-radius: 80px 20px 20px;
  background-color: rgba(223, 215, 249, 0.2);
}

.kv-policy-hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
}

.kv-policy-card {
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 26px 65px rgba(9, 95, 143, 0.12);
}

.kv-policy-card h2 {
  margin-top: 2rem;
  color: #181e4b;
}

.kv-policy-card p,
.kv-policy-card li {
  color: #5e6282;
  font-weight: 500;
}

.kv-link-card {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.kv-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #df6951;
  font-weight: 700;
}

.kv-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kv-app-tile {
  min-height: 160px;
  padding: 22px;
  border: 1px solid rgba(94, 98, 130, 0.13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(9, 95, 143, 0.08);
}

.kv-app-tile h4,
.kv-directory-card h4 {
  color: #181e4b;
}

.kv-directory-shell {
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(9, 95, 143, 0.025), rgba(223, 105, 81, 0.025)),
    #fff;
  box-shadow: 0 20px 48px rgba(9, 95, 143, 0.055);
  padding: 22px;
}

.kv-directory-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.kv-directory-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 520px;
  max-width: 660px;
}

.kv-directory-search,
.kv-directory-select {
  height: 48px;
  border: 1px solid rgba(94, 98, 130, 0.18);
  border-radius: 14px;
  background: #fff;
  color: #181e4b;
  font-weight: 600;
  padding: 0 14px;
}

.kv-directory-search {
  flex: 1 1 auto;
  min-width: 0;
}

.kv-directory-select {
  flex: 0 0 150px;
}

.kv-category-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.kv-category-strip::-webkit-scrollbar {
  height: 6px;
}

.kv-category-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(24, 30, 75, 0.18);
}

.kv-category-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(24, 30, 75, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #5e6282;
  font-weight: 700;
  padding: 9px 16px;
  white-space: nowrap;
  scroll-snap-align: start;
  box-shadow: 0 10px 24px rgba(9, 95, 143, 0.05);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.kv-category-pill:hover {
  border-color: rgba(24, 30, 75, 0.24);
  color: #181e4b;
}

.kv-category-pill.is-active {
  background: #181e4b;
  border-color: #181e4b;
  color: #fff;
}

.kv-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 14px;
}

.kv-directory-grid.is-full {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.kv-directory-card {
  position: relative;
  display: flex;
  gap: 14px;
  min-height: 150px;
  border: 1px solid rgba(94, 98, 130, 0.12);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(9, 95, 143, 0.045);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.kv-directory-card:hover,
.kv-directory-card:focus {
  border-color: rgba(9, 95, 143, 0.26);
  box-shadow: 0 22px 54px rgba(9, 95, 143, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.kv-directory-logo {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
  background: #eef7fb;
}

.kv-directory-placeholder {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: #eef7fb;
  color: #181e4b;
  font-size: 1.35rem;
  font-weight: 800;
}

.kv-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff4db;
  color: #df6951;
  font-size: 0.78rem;
  font-weight: 800;
}

.kv-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.kv-card-actions a {
  border-radius: 999px;
  background: rgba(24, 30, 75, 0.07);
  color: #181e4b;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 10px;
  text-decoration: none;
}

.kv-feature-hero {
  padding-top: 8.5rem;
  padding-bottom: 3.5rem;
}

.kv-feature-panel {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 65px rgba(9, 95, 143, 0.12);
  padding: 28px;
}

.kv-feature-panel-wide {
  padding: 0;
  box-shadow: none;
  background: transparent;
}

.kv-feature-page-head {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.kv-feature-page-head .hero-title {
  color: #17233b;
  font-size: clamp(2.35rem, 4.7vw, 4.7rem);
  line-height: 1.04;
  text-transform: none !important;
}

.kv-feature-hero .kv-app-grid {
  grid-template-columns: 1fr;
}

.kv-profile-modal .modal-content {
  border: 0;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(9, 28, 50, 0.22);
}

.kv-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.kv-profile-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 36px;
}

.kv-profile-head .kv-directory-logo,
.kv-profile-head .kv-directory-placeholder {
  flex-basis: 82px;
  width: 82px;
  height: 82px;
  border-radius: 22px;
}

.kv-profile-gallery {
  display: flex;
  gap: 12px;
  margin-top: 0;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.kv-profile-gallery::-webkit-scrollbar {
  height: 7px;
}

.kv-profile-gallery::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(8, 79, 117, 0.25);
}

.kv-profile-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  object-fit: cover;
  background: #eef7fb;
}

.kv-profile-info {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: #f6fbfd;
}

.kv-business-detail-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(94, 98, 130, 0.12);
}

.kv-business-detail-hero .kv-directory-logo,
.kv-business-detail-hero .kv-directory-placeholder {
  flex-basis: 96px;
  width: 96px;
  height: 96px;
  border-radius: 24px;
}

.kv-business-detail-hero h1 {
  color: #181e4b;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.kv-detail-section {
  height: 100%;
  border: 1px solid rgba(94, 98, 130, 0.12);
  border-radius: 20px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(9, 95, 143, 0.06);
}

.kv-section-divider {
  width: 100%;
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, rgba(9, 95, 143, 0.14), rgba(9, 95, 143, 0));
}

.kv-business-reviews {
  margin-top: 28px;
  border: 1px solid rgba(94, 98, 130, 0.12);
  border-radius: 22px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(9, 95, 143, 0.06);
}

.kv-reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.kv-review-score {
  flex: 0 0 auto;
  color: #181e4b;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

.kv-review-score span {
  color: #627089;
  font-size: 1rem;
  font-weight: 800;
}

.kv-reviews-blur-wrap {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border-radius: 18px;
  background: #f8fbfd;
}

.kv-review-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  filter: blur(2.4px);
  opacity: 0.78;
  pointer-events: none;
  user-select: none;
}

.kv-google-reviews .kv-review-list {
  filter: none;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.kv-reviews-blur-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 251, 253, 0.18), rgba(248, 251, 253, 0.92));
  content: "";
}

.kv-review-card {
  border: 1px solid rgba(94, 98, 130, 0.11);
  border-radius: 15px;
  background: #fff;
  padding: 14px;
}

.kv-review-card strong {
  color: #181e4b;
}

.kv-review-card span {
  color: #f1a501;
  font-weight: 900;
  letter-spacing: 0;
}

.kv-review-card p {
  margin: 0;
  color: #43516a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.kv-review-reply {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  border-radius: 12px;
  background: #f6fbfd;
  padding: 10px;
}

.kv-review-reply span {
  color: #43516a;
  font-weight: 650;
}

.kv-review-lock {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 6px;
  width: min(calc(100% - 28px), 620px);
  transform: translateX(-50%);
  border: 1px solid rgba(24, 30, 75, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 55px rgba(9, 95, 143, 0.14);
  padding: 16px 18px;
  text-align: center;
}

.kv-review-lock strong {
  color: #181e4b;
  font-size: 1.05rem;
  font-weight: 900;
}

.kv-review-lock span {
  color: #5e6282;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.55;
}

.kv-gallery-button {
  display: block;
  flex: 0 0 clamp(158px, 28vw, 230px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: zoom-in;
  scroll-snap-align: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.kv-gallery-button:hover {
  transform: translateY(-2px);
}

.kv-gallery-button:focus {
  outline: 3px solid rgba(9, 95, 143, 0.28);
  outline-offset: 3px;
}

.kv-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 32px 76px;
  background: rgba(8, 18, 30, 0.86);
  backdrop-filter: blur(10px);
}

.kv-image-lightbox[hidden] {
  display: none;
}

.kv-lightbox-frame {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  justify-items: center;
}

.kv-image-lightbox img {
  display: block;
  max-width: min(100%, 1020px);
  max-height: 84vh;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.kv-lightbox-frame figcaption {
  min-height: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  letter-spacing: 0;
}

.kv-lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #16233a;
  font-size: 1.6rem;
  line-height: 1;
}

.kv-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #16233a;
  font-size: 2.4rem;
  line-height: 1;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
}

.kv-lightbox-prev {
  left: 22px;
}

.kv-lightbox-next {
  right: 22px;
}

body.kv-lightbox-open {
  overflow: hidden;
}

.kv-live-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.kv-live-list[data-bus-routes] {
  display: block;
  column-count: 2;
  column-gap: 16px;
}

.kv-live-list[data-bus-routes] > .kv-bus-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
}

.kv-live-list[data-condolences] {
  grid-template-columns: 1fr;
}

.kv-condolence-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid rgba(94, 98, 130, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(9, 95, 143, 0.06), rgba(223, 105, 81, 0.05)),
    #fff;
}

.kv-date-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}

.kv-date-filter label {
  display: grid;
  gap: 6px;
  color: #5e6282;
  font-size: 0.82rem;
  font-weight: 800;
}

.kv-date-filter input {
  height: 44px;
  min-width: 155px;
  border: 1px solid rgba(94, 98, 130, 0.18);
  border-radius: 12px;
  background: #fff;
  color: #181e4b;
  font-weight: 700;
  padding: 0 12px;
}

.kv-filter-reset,
.kv-pagination button {
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #181e4b;
  color: #fff;
  font-weight: 800;
  padding: 0 16px;
}

.kv-filter-reset {
  background: rgba(24, 30, 75, 0.08);
  color: #181e4b;
}

.kv-condolence-card .kv-data-point {
  padding: 8px 10px;
  background: #f7fbfd;
}

.kv-condolence-card .kv-data-point span {
  font-size: 0.68rem;
}

.kv-condolence-card .kv-data-point strong {
  font-size: 0.84rem;
}

.kv-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.kv-pagination span {
  color: #181e4b;
  font-weight: 800;
}

.kv-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.kv-live-item {
  border: 1px solid rgba(94, 98, 130, 0.12);
  border-radius: 16px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(9, 95, 143, 0.06);
}

.kv-live-item:hover {
  border-color: rgba(9, 95, 143, 0.2);
  box-shadow: 0 18px 44px rgba(9, 95, 143, 0.1);
}

.kv-live-item h4 {
  color: #16233a;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.kv-live-item p {
  color: #34435a;
  font-size: 1rem;
  line-height: 1.72;
}

.kv-live-meta {
  color: #627089;
  font-size: 0.92rem;
  font-weight: 600;
}

.kv-weather-card {
  position: relative;
  overflow: hidden;
}

.kv-weather-card::after {
  position: absolute;
  right: -44px;
  top: -44px;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: rgba(9, 95, 143, 0.06);
  content: "";
}

.kv-weather-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.kv-weather-visual {
  display: grid;
  place-items: center;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 18px 38px rgba(9, 95, 143, 0.15);
}

.kv-weather-visual span {
  font-size: 2.15rem;
  line-height: 1;
}

.kv-weather-visual.is-sun {
  background: linear-gradient(135deg, #ffc857, #ff7d4d);
}

.kv-weather-visual.is-cloud {
  background: linear-gradient(135deg, #65c7e8, #3478c5);
}

.kv-weather-visual.is-fog {
  background: linear-gradient(135deg, #9fb6c6, #607789);
}

.kv-weather-visual.is-rain {
  background: linear-gradient(135deg, #4aa3df, #185a9d);
}

.kv-weather-visual.is-snow {
  background: linear-gradient(135deg, #dff7ff, #6daedb);
  color: #174466;
}

.kv-weather-visual.is-storm {
  background: linear-gradient(135deg, #46506f, #171d33);
}

.kv-weather-temp {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  color: #181e4b;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.kv-prayer-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(219, 172, 91, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #f8fcfb);
}

.kv-prayer-card::before {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(16, 94, 89, 0.1);
  border-radius: 999px;
  content: "";
}

.kv-prayer-card::after {
  position: absolute;
  right: 22px;
  top: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  box-shadow: -12px 0 0 rgba(16, 94, 89, 0.1);
  content: "";
}

.kv-prayer-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.kv-prayer-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(12, 87, 82, 0.96), rgba(14, 132, 122, 0.92)),
    #0f6f68;
  color: #ffe7a6;
  box-shadow: 0 18px 38px rgba(15, 111, 104, 0.2);
}

.kv-prayer-symbol span {
  font-size: 2.65rem;
  line-height: 1;
}

.kv-prayer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kv-prayer-time {
  display: grid;
  gap: 3px;
  min-height: 88px;
  border: 1px solid rgba(16, 94, 89, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  padding: 12px;
}

.kv-prayer-time-icon {
  color: #d9a441;
  font-size: 1.2rem;
  line-height: 1;
}

.kv-prayer-time span:not(.kv-prayer-time-icon) {
  color: #627089;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.kv-prayer-time strong {
  color: #153f3c;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0;
}

.kv-bus-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.kv-bus-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  padding: 18px;
}

.kv-bus-summary::-webkit-details-marker {
  display: none;
}

.kv-bus-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.kv-bus-head > div {
  min-width: 0;
}

.kv-bus-head h4 {
  overflow: hidden;
  text-overflow: ellipsis;
}

.kv-bus-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(24, 30, 75, 0.07);
  color: #181e4b;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 12px;
}

.kv-bus-toggle::after {
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.kv-bus-card[open] .kv-bus-toggle::after {
  content: "−";
}

.kv-bus-panel {
  border-top: 1px solid rgba(94, 98, 130, 0.12);
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, rgba(248, 251, 253, 0.6), #fff);
}

.kv-bus-code {
  display: grid;
  place-items: center;
  flex: 0 0 66px;
  min-width: 66px;
  min-height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #181e4b, #0b8fb5);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  padding: 8px;
  box-shadow: 0 16px 34px rgba(9, 95, 143, 0.18);
}

.kv-bus-note {
  margin-bottom: 14px;
  border-left: 4px solid #df6951;
  border-radius: 12px;
  background: rgba(223, 105, 81, 0.08);
  color: #914231 !important;
  font-size: 0.92rem !important;
  font-weight: 800;
  line-height: 1.55 !important;
  padding: 10px 12px;
}

.kv-bus-directions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kv-bus-directions section {
  border: 1px solid rgba(94, 98, 130, 0.12);
  border-radius: 16px;
  background: #f8fbfd;
  padding: 14px;
}

.kv-bus-directions h5 {
  margin-bottom: 8px;
  color: #181e4b;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
}

.kv-bus-directions p {
  margin: 0;
  color: #43516a;
  font-size: 0.94rem;
  line-height: 1.65;
}

.kv-fuel-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(223, 105, 81, 0.12), transparent 34%),
    #fff;
}

.kv-fuel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.kv-fuel-icon {
  display: grid;
  place-items: center;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, #181e4b, #df6951);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 18px 38px rgba(223, 105, 81, 0.16);
}

.kv-fuel-main-price {
  margin-bottom: 14px;
  color: #181e4b;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.kv-fuel-brands {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.kv-fuel-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  background: #f8fbfd;
  padding: 9px 11px;
}

.kv-fuel-brand span {
  min-width: 0;
  color: #43516a;
  font-size: 0.9rem;
  font-weight: 750;
}

.kv-fuel-brand strong {
  flex: 0 0 auto;
  color: #181e4b;
  font-size: 0.92rem;
  font-weight: 900;
}

.kv-data-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.kv-data-point {
  border-radius: 14px;
  background: #f6fbfd;
  padding: 12px;
}

.kv-data-point span {
  display: block;
  color: #627089;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kv-data-point strong {
  display: block;
  margin-top: 4px;
  color: #16233a;
  font-size: 1rem;
  font-weight: 850;
}

.kv-seo-copy {
  color: #43516a;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
}

.kv-seo-copy-wide {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.kv-seo-copy h2 {
  margin-top: 1.75rem;
  color: #181e4b;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
}

.kv-seo-copy p {
  margin-bottom: 0.9rem;
}

.kv-empty {
  border: 1px dashed rgba(94, 98, 130, 0.28);
  border-radius: 18px;
  color: #5e6282;
  font-weight: 600;
  padding: 26px;
  text-align: center;
}

@media (max-width: 767.98px) {
  .kv-hero-card {
    width: min(100%, 340px);
    margin-top: 0.75rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .kv-store-cta {
    border-radius: 38px 16px 16px;
  }

  .kv-app-grid,
  .kv-directory-grid,
  .kv-directory-grid.is-full {
    grid-template-columns: 1fr;
  }

  .kv-directory-shell {
    padding: 18px;
  }

  .kv-directory-toolbar {
    align-items: stretch;
  }

  .kv-directory-controls {
    width: 100%;
    max-width: none;
  }

  .kv-directory-search {
    min-width: 0;
  }

  .kv-directory-select {
    flex-basis: 128px;
  }

  .kv-condolence-tools,
  .kv-date-filter {
    align-items: stretch;
  }

  .kv-date-filter,
  .kv-date-filter label,
  .kv-date-filter input,
  .kv-filter-reset {
    width: 100%;
  }

  .kv-live-list,
  .kv-live-list[data-condolences],
  .kv-data-points,
  .kv-prayer-grid,
  .kv-bus-directions {
    grid-template-columns: 1fr;
  }

  .kv-live-list[data-bus-routes] {
    column-count: 1;
  }

  .kv-profile-head {
    align-items: flex-start;
  }

  .kv-business-detail-hero {
    align-items: flex-start;
  }

  .kv-reviews-head {
    align-items: flex-start;
  }

  .kv-review-score {
    font-size: 1.8rem;
  }

  .kv-bus-summary {
    align-items: flex-start;
  }

  .kv-bus-toggle {
    padding-inline: 10px;
  }

  .kv-image-lightbox {
    padding: 72px 16px 34px;
  }

  .kv-lightbox-nav {
    top: auto;
    bottom: 22px;
    width: 46px;
    height: 46px;
    font-size: 2rem;
  }

  .kv-lightbox-prev {
    left: calc(50% - 58px);
  }

  .kv-lightbox-next {
    right: calc(50% - 58px);
  }
}
