:root {
  --g: #073f32;
  --g2: #0d6049;
  --gold: #d7b15a;
  --gold2: #f2dca0;
  --cream: #fbf8ef;
  --ink: #243b30;
  --muted: #65756b;
  --line: #dce5dc;
  --max: 1160px;
  --shadow: 0 14px 36px #052a2318
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px
}

body {
  margin: 0;
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink)
}

a {
  color: var(--g2);
  text-underline-offset: 3px
}

button,
input,
select,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #bd8c21;
  outline-offset: 3px
}

.sr,
.skip {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip:focus {
  clip: auto;
  width: auto;
  height: auto;
  top: 10px;
  left: 10px;
  z-index: 100;
  background: white;
  padding: 10px
}

.topbar {
  position: relative;
  top: auto;
  z-index: 30;
  background: #052e26f7;
  color: white;
  border-bottom: 1px solid #d7b15a66;
  backdrop-filter: blur(8px)
}

.top-inner {
  max-width: var(--max);
  margin: auto;
  padding: 10px 22px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  min-width: max-content
}

.brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 23px;
  color: var(--gold);
  flex-shrink: 0
}

.brand b,
.brand small {
  display: block;
  line-height: 1.3
}

.brand b {
  font-size: 14px
}

.brand small {
  font-size: 11px;
  color: #d6e1d8;
  margin-top: 3px
}

.desktop-nav {
  display: flex;
  gap: 15px
}

.desktop-nav a,
.mobile-menu a {
  font-size: 12px;
  color: white;
  text-decoration: none;
  font-weight: 750
}

.desktop-nav a:hover,
.mobile-menu a:hover {
  color: var(--gold2)
}

.head-right {
  display: flex;
  align-items: center;
  gap: 10px
}

.langs {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #c6d2ca
}

.lang {
  border: 0;
  background: transparent;
  color: white;
  border-radius: 6px;
  padding: 6px 8px;
  font-weight: 800
}

.lang.active {
  background: var(--gold);
  color: var(--g)
}

.menu {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid #ffffff55;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 21px
}

.mobile-menu {
  padding: 0 18px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.mobile-menu[hidden] {
  display: none
}

.mobile-menu a {
  padding: 10px;
  border: 1px solid #ffffff22;
  border-radius: 8px
}

.pattern {
  background-color: var(--g);
  background-image: radial-gradient(circle at 1px 1px, #d7b15a35 1px, transparent 1.5px), repeating-linear-gradient(45deg, transparent 0 22px, #ffffff08 23px 24px, transparent 25px 44px);
  background-size: 20px 20px, 44px 44px
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 35px;
  align-items: center;
  padding: 70px max(22px, calc((100vw - var(--max))/2));
  color: white;
  min-height: 570px;
  overflow: hidden
}

.hero-copy {
  max-width: 660px;
  position: relative;
  z-index: 1
}

.eyebrow {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  color: #a47b23;
  margin: 0 0 12px
}

.hero .eyebrow,
.pattern .eyebrow {
  color: var(--gold2)
}

h1,
h2,
h3 {
  line-height: 1.2
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600
}

h1 {
  font-size: clamp(36px, 5vw, 61px);
  margin: 0 0 18px;
  letter-spacing: -.025em
}

h2 {
  font-size: clamp(29px, 3.6vw, 42px);
  color: var(--g);
  margin: 0 0 15px
}

h3 {
  font-size: 18px;
  color: var(--g);
  margin: 0 0 10px
}

.hero h1,
.pattern h2 {
  color: white
}

.hero p {
  color: #e0e9e2
}

.hero .lead {
  font-size: 19px
}

.hero .actions {
  margin: 24px 0
}

.note {
  font-size: 12px;
  color: #cbdacf !important
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 17px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform .15s ease
}

.btn:hover {
  transform: translateY(-1px)
}

.btn.primary {
  background: var(--g2);
  color: white
}

.btn.primary:hover {
  background: #052e26
}

.btn.gold {
  background: var(--gold);
  color: var(--g)
}

.btn.outline {
  background: transparent;
  border-color: #ffffff99;
  color: white
}

.btn.quiet {
  background: #e8f1eb;
  color: var(--g)
}

.btn.full {
  width: 100%
}

.hero-art {
  justify-self: center;
  width: min(100%, 420px);
  padding: 13px;
  border: 1px solid var(--gold);
  border-radius: 230px 230px 15px 15px;
  background: #ffffff09;
  box-shadow: 0 22px 55px #0003
}

.pattern-art {
  position: relative;
  overflow: hidden;
  min-height: 365px;
  border: 1px solid #cba84e;
  border-radius: 215px 215px 8px 8px;
  background: linear-gradient(145deg, #f3efd9, #b9d1be);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--g);
  padding: 24px
}

.pattern-art:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background: repeating-linear-gradient(45deg, transparent 0 16px, #17684f 17px 18px, transparent 19px 32px), repeating-linear-gradient(-45deg, transparent 0 16px, #a47b23 17px 18px, transparent 19px 32px);
  mask-image: radial-gradient(ellipse, #000 20%, transparent 78%)
}

.pattern-art span,
.pattern-art b,
.pattern-art small {
  position: relative
}

.pattern-art span {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  border: 1px solid #a47b23;
  border-radius: 50%;
  font-size: 35px;
  color: #a47b23;
  background: #ffffff55
}

.pattern-art small {
  font-size: 12px;
  color: #50645a
}

.section {
  padding: 76px 22px;
  max-width: var(--max);
  margin: auto
}

.tint {
  max-width: none;
  background: var(--cream)
}

.tint>* {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto
}

.section-head {
  max-width: 780px;
  margin: 0 auto 32px
}

.section-head p:not(.eyebrow) {
  color: var(--muted)
}

.centered {
  text-align: center
}

.centered p:not(.eyebrow) {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto
}

.profile {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 38px;
  align-items: center
}

.portrait {
  border-radius: 16px;
  min-height: 320px;
  box-shadow: var(--shadow)
}

.profile h3 {
  font: 600 26px Georgia, serif
}

.profile ul {
  padding-left: 22px
}

.profile li {
  margin: 8px 0
}

.muted {
  color: var(--muted);
  font-size: 14px
}

.cards {
  display: grid;
  gap: 15px
}

.service-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.cards article {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  padding: 22px;
  box-shadow: 0 5px 18px #052a2307
}

.service-cards article {
  display: flex;
  flex-direction: column;
  min-height: 260px
}

.service-cards article>span,
.visitor-cards article>span {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 12px;
  background: #e8f1eb;
  color: #a47b23;
  font-size: 23px;
  margin-bottom: 15px
}

.cards article p {
  color: var(--muted);
  font-size: 14px
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--g2);
  font-weight: 850;
  padding: 0;
  text-align: left;
  margin-top: auto
}

.health {
  max-width: var(--max);
  margin: 25px auto 0;
  background: #fff7df;
  border-left: 4px solid #b98c2e;
  border-radius: 8px;
  padding: 16px 20px
}

.health b {
  color: #6b4b0c
}

.health p {
  margin: 5px 0 0;
  color: #5b4b2d;
  font-size: 13px
}

.history-cards {
  grid-template-columns: repeat(3, 1fr)
}

.history-cards em {
  display: block;
  color: #a47b23;
  font: 32px Georgia, serif;
  margin-bottom: 16px
}

.source-note {
  background: #e8f1eb;
  border-radius: 10px;
  padding: 15px;
  font-size: 13px;
  color: #43594d
}

.event-list {
  width: 100%;
  max-width: none;
  margin: auto
}

.event-item {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 18px 24px;
  margin: 14px 0
}

.event-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f1eb;
  color: #a47b23;
  font-size: 23px
}

.event-item h3 {
  margin: 0 0 4px
}

.event-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

.event-meta {
  margin-left: auto;
  min-width: 130px;
  text-align: right;
  font-size: 12px;
  color: #936c1d;
  font-weight: 800
}

.center {
  text-align: center;
  margin-top: 22px
}

.filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 8px 13px;
  color: var(--g);
  font-size: 12px;
  font-weight: 800
}

.filter.active,
.filter:hover {
  background: var(--g);
  color: white
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px
}

.gallery-item {
  padding: 0;
  text-align: left;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  box-shadow: 0 5px 18px #052a2308
}

.gallery-art {
  height: 205px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(135deg, #e7efdf, #f3e6c2);
  overflow: hidden
}

.gallery-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 17px, #17684f50 18px 19px, transparent 20px 35px), repeating-linear-gradient(-45deg, transparent 0 17px, #a47b2350 18px 19px, transparent 20px 35px)
}

.gallery-art:after {
  content: "✧";
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid #a47b23;
  border-radius: 50%;
  background: #ffffff66;
  color: #a47b23;
  font-size: 34px
}

.gallery-caption {
  padding: 13px 15px
}

.gallery-caption b {
  display: block;
  color: var(--g)
}

.gallery-caption small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px
}

.donations {
  max-width: none;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 30px;
  padding-left: max(22px, calc((100vw - var(--max))/2));
  padding-right: max(22px, calc((100vw - var(--max))/2));
  color: white
}

.donations>div {
  max-width: unset
}

.donations p {
  color: #d9e5db
}

.payment-warning {
  border-left: 3px solid var(--gold);
  background: #ffffff0c;
  padding: 12px 15px;
  font-size: 13px
}

.payment-warning b {
  color: var(--gold2)
}

.payment-warning p {
  margin: 4px 0 0
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.donation-grid article {
  background: white;
  color: var(--ink);
  border-radius: 15px;
  padding: 21px;
  box-shadow: var(--shadow);
  min-width: 0
}

.donation-grid article>span {
  color: #a47b23;
  font-size: 24px
}

.donation-grid h3 {
  margin-top: 7px
}

.donation-grid dl {
  margin: 0
}

.donation-grid dt {
  font-size: 10px;
  color: var(--muted);
  font-weight: 850;
  text-transform: uppercase
}

.donation-grid dd {
  margin: 2px 0 10px;
  overflow-wrap: anywhere;
  font-size: 13px
}

.qr-placeholder {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  border: 1px dashed #9aaea0;
  background: #f5f6ef;
  padding: 12px;
  color: var(--g)
}

.qr-placeholder strong {
  font-size: 32px;
  color: #a47b23
}

.qr-placeholder b {
  font-size: 12px
}

.qr-placeholder small {
  font-size: 10px;
  color: var(--muted)
}

.visitor-cards {
  grid-template-columns: repeat(4, 1fr)
}

.visitor-cards article {
  box-shadow: none
}

.directions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  padding: 22px;
  border-radius: 14px;
  background: #e8f1eb
}

.directions h3 {
  margin: 0 0 8px
}

.directions p {
  margin: 0 0 5px
}

.directions small {
  color: var(--muted)
}

.map {
  height: 290px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #f2f2e8
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0
}

.faqs {
  max-width: 850px;
  margin: auto
}

.faqs details {
  border-bottom: 1px solid var(--line);
  padding: 16px 3px
}

.faqs summary {
  font-weight: 800;
  color: var(--g);
  cursor: pointer
}

.faqs details p {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 0
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: start
}

.contact-details>div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line)
}

.contact-details b {
  font-size: 14px;
  color: var(--g)
}

.contact-details p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere
}

.contact-details a[aria-disabled=true] {
  color: var(--muted);
  text-decoration: none;
  pointer-events: none
}

.contact-grid form {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: white;
  box-shadow: var(--shadow)
}

.contact-grid form h3 {
  font: 600 25px Georgia, serif
}

.contact-grid label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--g);
  margin: 13px 0 5px
}

.contact-grid input:not([type=checkbox]),
.contact-grid select,
.contact-grid textarea {
  display: block;
  width: 100%;
  border: 1px solid #cbd8ce;
  border-radius: 8px;
  padding: 10px 11px;
  background: white;
  color: var(--ink)
}

.contact-grid textarea {
  resize: vertical;
  min-height: 100px
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted) !important;
  font-weight: 500 !important;
  font-size: 12px !important
}

.consent input {
  margin-top: 4px
}

.status {
  min-height: 1.3em;
  color: var(--g2);
  font-weight: 700;
  font-size: 13px
}

.contact-grid form small,
.contact-grid form>.muted {
  font-size: 12px;
  color: var(--muted)
}

.privacy-note {
  max-width: 850px;
  margin: auto
}

.privacy-note p:last-child {
  color: var(--muted);
  font-size: 14px
}

.footer {
  padding: 48px 22px 18px;
  color: #eaf0e8
}

.footer-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 30px
}

.footer h2 {
  font-size: 24px;
  color: white;
  margin: 10px 0
}

.footer h3 {
  color: var(--gold2);
  font-size: 15px
}

.footer p,
.footer a {
  font-size: 13px;
  color: #d0ddd3
}

.footer a {
  display: block;
  margin: 8px 0;
  text-decoration: none
}

.copyright {
  max-width: var(--max);
  margin: 26px auto 0;
  border-top: 1px solid #ffffff25;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #b7c9bd;
  font-size: 11px
}

.quickbar {
  display: none
}

.back-top {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 43px;
  height: 43px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--g);
  color: white;
  font-size: 23px;
  box-shadow: var(--shadow)
}

.back-top.visible {
  display: grid;
  place-items: center
}

.lightbox[hidden] {
  display: none
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #02130ff2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  color: white
}

.lb-content {
  width: min(680px, 75vw);
  text-align: center
}

.lb-art {
  height: min(60vh, 500px);
  min-height: 230px;
  position: relative;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background: linear-gradient(135deg, #e7efdf, #f3e6c2);
  overflow: hidden
}

.lb-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 17px, #17684f50 18px 19px, transparent 20px 35px), repeating-linear-gradient(-45deg, transparent 0 17px, #a47b2350 18px 19px, transparent 20px 35px)
}

.lb-art:after {
  content: "✧";
  position: absolute;
  left: calc(50% - 40px);
  top: calc(50% - 40px);
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid #a47b23;
  border-radius: 50%;
  color: #a47b23;
  font-size: 40px;
  background: #ffffff66
}

.lb-content h2 {
  color: white;
  font-size: 23px;
  margin: 14px 0 5px
}

.lb-content p {
  color: #d9e5db;
  font-size: 13px
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff66;
  border-radius: 50%;
  background: #ffffff12;
  color: white
}

.lb-close {
  right: 18px;
  top: 15px;
  width: 42px;
  height: 42px;
  font-size: 29px
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  font-size: 34px
}

.lb-prev {
  left: 18px
}

.lb-next {
  right: 18px
}

.noscript {
  padding: 15px;
  text-align: center;
  background: #fff4ce;
  color: #382d0b
}

@media(max-width:1050px) {
  .desktop-nav {
    gap: 9px
  }

  .desktop-nav a {
    font-size: 11px
  }

  .service-cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .visitor-cards {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:820px) {
  .desktop-nav {
    display: none
  }

  .menu {
    display: block
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 52px 22px;
    gap: 30px
  }

  .hero-copy {
    max-width: 680px
  }

  .hero-art {
    width: min(80%, 390px)
  }

  .profile {
    grid-template-columns: .8fr 1.2fr;
    gap: 22px
  }

  .history-cards {
    grid-template-columns: 1fr
  }

  .donations {
    grid-template-columns: 1fr
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1
  }
}

@media(max-width:560px) {
  body {
    font-size: 15px;
    padding-bottom: 58px
  }

  .top-inner {
    padding: 8px 13px;
    min-height: 65px
  }

  .brand b {
    font-size: 12px
  }

  .brand small {
    font-size: 10px
  }

  .brand-symbol {
    width: 33px;
    height: 33px
  }

  .head-right {
    gap: 4px
  }

  .lang {
    padding: 5px
  }

  .mobile-menu {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero {
    padding: 42px 18px
  }

  .hero h1 {
    font-size: 39px
  }

  .hero .lead {
    font-size: 17px
  }

  .hero-art {
    width: 88%
  }

  .pattern-art {
    min-height: 280px
  }

  .section {
    padding: 52px 18px
  }

  .profile {
    grid-template-columns: 1fr
  }

  .portrait {
    min-height: 250px
  }

  .service-cards,
  .visitor-cards {
    grid-template-columns: 1fr
  }

  .service-cards article {
    min-height: unset
  }

  .donations {
    padding: 50px 18px
  }

  .donation-grid {
    grid-template-columns: 1fr
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .gallery-art {
    height: 145px
  }

  .gallery-caption {
    padding: 10px
  }

  .gallery-caption b {
    font-size: 12px
  }

  .gallery-caption small {
    font-size: 10px
  }

  .directions {
    display: block;
    padding: 18px
  }

  .directions .btn {
    width: 100%;
    margin-top: 14px
  }

  .map {
    height: 240px
  }

  .contact-grid form {
    padding: 18px
  }

  .event-item {
    align-items: flex-start;
    flex-wrap: wrap
  }

  .event-meta {
    margin-left: 62px;
    text-align: left;
    width: 100%
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-grid>div:first-child {
    grid-column: auto
  }

  .copyright {
    display: block
  }

  .copyright span {
    display: block;
    margin: 5px 0
  }

  .quickbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 5px 6px max(5px, env(safe-area-inset-bottom));
    background: #052e26f8;
    border-top: 1px solid #d7b15a88;
    box-shadow: 0 -5px 18px #0002
  }

  .quickbar a,
  .quickbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    background: transparent;
    color: white;
    text-decoration: none;
    min-height: 45px
  }

  .quickbar span {
    font-size: 19px;
    line-height: 1.1;
    color: var(--gold2)
  }

  .quickbar small {
    font-size: 10px;
    font-weight: 800
  }

  .back-top {
    right: 12px;
    bottom: 73px;
    width: 39px;
    height: 39px
  }

  .lb-content {
    width: calc(100vw - 86px)
  }

  .lb-art {
    height: 48vh;
    min-height: 210px
  }

  .lb-prev {
    left: 4px
  }

  .lb-next {
    right: 4px
  }

  .lb-prev,
  .lb-next {
    width: 34px;
    height: 34px;
    font-size: 26px
  }

  .lb-close {
    right: 9px;
    top: 8px
  }

  .faqs details {
    padding: 14px 2px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }
}

html[lang=hi] body {
  font-family: system-ui, "Noto Sans Devanagari", "Mangal", sans-serif
}

.visitor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff
}

.visitor-card h3 {
  margin: 0 0 7px
}

.visitor-card p {
  margin: 4px 0;
  font-size: 13px;
  color: var(--muted)
}

.share-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px
}

.share-tools span {
  font-size: 11px;
  color: var(--muted)
}

@media(max-width:560px) {
  .visitor-card {
    display: block;
    padding: 18px
  }

  .visitor-card .btn {
    margin-top: 10px;
    width: 100%
  }

  .share-tools {
    justify-content: stretch
  }

  .share-tools .btn {
    flex: 1
  }
}

/* Additions for the multi-page version. styles.css is the original design, untouched. */
.btn.small {
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 600;
}

.lang-slot {
  display: flex;
  align-items: center
}

.lang-slot:empty {
  display: none
}

.pending {
  color: #936c1d;
  font-style: italic
}

.footer .pending,
.hero .pending,
.pattern .pending {
  color: #e8d49b
}

.desktop-nav {
  align-items: center
}

.desktop-nav a[aria-current=page],
.nav-sub a[aria-current=page] {
  color: var(--gold2)
}

.nav-group {
  position: relative
}

.nav-trigger {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  padding: 8px 0
}

.nav-trigger:hover {
  color: var(--gold2)
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 220px;
  padding: 8px;
  background: #052e26;
  border: 1px solid #d7b15a66;
  border-radius: 12px;
  box-shadow: 0 14px 30px #0005
}

.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub,
.nav-group.open .nav-sub {
  display: block
}

.nav-sub a {
  display: block;
  padding: 9px 11px;
  border-radius: 7px;
  white-space: nowrap
}

.nav-sub a:hover {
  background: #ffffff14
}

.mm-label {
  grid-column: 1/-1;
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 850;
  color: var(--gold2);
  text-transform: uppercase
}

.mobile-menu .mm-donate {
  background: var(--gold);
  color: var(--g);
  text-align: center;
  grid-column: 1/-1
}

.mobile-menu a[aria-current=page] {
  border-color: var(--gold)
}

.page-hero {
  grid-template-columns: 1fr;
  min-height: 0;
  padding-top: 52px;
  padding-bottom: 52px
}

.page-hero .hero-copy {
  max-width: 780px
}

.crumbs {
  font-size: 12px;
  color: #cbdacf;
  margin-bottom: 14px
}

.crumbs a {
  color: var(--gold2);
  text-decoration: none
}

.prose {
  max-width: var(--max);
  margin: auto
}

.prose p {
  color: #35493e
}

.prose h2 {
  margin-bottom: 14px
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0
}

.checklist li {
  position: relative;
  padding: 3px 0 3px 30px;
  margin: 8px 0;
  color: #35493e
}

.checklist li:before {
  content: "✧";
  position: absolute;
  left: 0;
  color: #a47b23;
  font-size: 19px;
  line-height: 1.4
}

.chapters {
  list-style: none;
  max-width: var(--max);
  margin: auto;
  padding: 0;
  position: relative
}

.chapters:before {
  content: "";
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--gold), #d7b15a33)
}

.chapters li {
  display: flex;
  gap: 24px;
  padding: 0 0 40px;
  position: relative
}

.chapters em {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--g);
  color: var(--gold2);
  display: grid;
  place-items: center;
  font: 20px Georgia, serif;
  border: 2px solid var(--gold);
  position: relative;
  z-index: 1
}

.chapters h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 4px 0 10px
}

.chapters p {
  color: #35493e
}

.section>.source-note {
  max-width: var(--max);
  margin: auto
}

.urs-days {
  list-style: none;
  max-width: 900px;
  margin: 26px auto 0;
  padding: 0;
  display: grid;
  gap: 10px
}

.urs-days li {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 18px
}

.urs-days b {
  flex: 0 0 130px;
  color: var(--g)
}

.urs-days span {
  color: var(--muted);
  font-size: 14px
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 32px;
  border-radius: 18px;
  background-color: var(--g);
  background-image: radial-gradient(circle at 1px 1px, #d7b15a35 1px, transparent 1.5px);
  background-size: 20px 20px;
  color: #fff;
  box-shadow: var(--shadow)
}

.cta-band h2 {
  color: #fff;
  font-size: 30px;
  margin: 0 0 8px
}

.cta-band p {
  color: #dce8de;
  margin: 0
}

.cta-band .eyebrow {
  color: var(--gold2);
  margin-bottom: 8px
}

.related-cards {
  grid-template-columns: repeat(3, 1fr)
}

.related-cards article {
  display: flex;
  flex-direction: column
}

.related-cards article>span {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 12px;
  background: #e8f1eb;
  color: #a47b23;
  font-size: 23px;
  margin-bottom: 15px
}

.text-btn {
  text-decoration: none
}

.text-btn.alt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px
}

.history-cards .text-btn {
  display: inline-block;
  margin-top: 8px
}

.gallery-photo {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover
}

.qr-image {
  display: block;
  max-width: 190px;
  margin-top: 10px
}

.lb-art.has-img:before,
.lb-art.has-img:after {
  display: none
}

.lb-art img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain
}

.faqs a {
  font-size: 13px;
  font-weight: 700
}

@media(max-width:820px) {
  .cta-band {
    flex-direction: column;
    align-items: flex-start
  }

  .related-cards {
    grid-template-columns: 1fr
  }

  .chapters li {
    gap: 14px
  }

  .head-right .btn.small {
    padding: 6px 11px
  }

  .urs-days li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px
  }

  .urs-days b {
    flex: none
  }
}

@media(max-width:560px) {
  .gallery-photo {
    height: 145px
  }

  .top-inner {
    gap: 8px
  }
}

/* Guidance-first homepage refinements */
.home-intro-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px
}

.home-intro-cards article,
.tradition-cards article {
  display: flex;
  flex-direction: column;
  min-height: 220px
}

.home-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e8f1eb;
  color: #a47b23;
  font-size: 25px;
  margin-bottom: 14px
}

.tradition-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.tradition-source {
  margin-top: 24px !important
}

.home-cta-section {
  padding-top: clamp(48px, 6vw, 76px) !important;
  padding-bottom: clamp(56px, 7vw, 88px) !important;
  background: var(--band-light) !important;
}

.home-contact {
  width: 100% !important;
  max-width: var(--content-width, 1140px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(32px, 4vw, 44px) clamp(24px, 4.5vw, 48px) !important;
  background-color: #073b30;
  border: 1px solid rgba(215, 177, 90, 0.28) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 38px rgba(4, 39, 31, 0.14), 0 3px 10px rgba(0, 0, 0, 0.06) !important;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.home-contact-content {
  flex: 1 1 540px;
  min-width: 0;
}

.home-contact h2 {
  color: #fff;
  margin: 0 0 10px;
}

.home-contact p:not(.eyebrow) {
  color: #dce8de;
  max-width: 680px;
  margin: 0;
}

.home-contact .actions,
.home-contact-actions {
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.home-contact .actions .btn,
.home-contact-actions .btn {
  white-space: nowrap;
}

@media(max-width:880px) {
  .home-cta-section {
    padding-top: 40px !important;
    padding-bottom: 48px !important;
  }

  .home-contact {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    padding: 28px 22px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .home-contact-content {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-contact .actions,
  .home-contact-actions {
    width: 100%;
    margin-top: 0;
    gap: 12px;
  }
}

@media(max-width:820px) {

  .home-intro-cards,
  .tradition-cards {
    grid-template-columns: 1fr
  }
}

@media(max-width:580px) {
  .home-cta-section {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }

  .home-contact {
    padding: 24px 18px !important;
    border-radius: 18px !important;
    gap: 18px !important;
    width: min(calc(100% - 32px), 1140px) !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .home-contact-content {
    flex: 0 0 auto !important;
    width: 100% !important;
  }

  .home-contact h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin: 0 0 8px !important;
  }

  .home-contact p:not(.eyebrow) {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
  }

  .home-contact .actions,
  .home-contact-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 4px !important;
  }

  .home-contact .actions .btn,
  .home-contact-actions .btn {
    width: 100% !important;
    min-height: 46px !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    border-radius: 999px !important;
    padding: 12px 18px !important;
  }
}

/* Ten-day Urs programme, based on the first supplied Dargah website */
.urs-section {
  max-width: none;
  background: linear-gradient(180deg, #062f27, #084638);
  color: #fff
}

.urs-section>.section-head,
.urs-section>.urs-explorer,
.urs-section>.urs-source-note {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto
}

.urs-section .section-head h2 {
  color: #fff
}

.urs-section .section-head p:not(.eyebrow) {
  color: #d5e4da
}

.urs-section .eyebrow {
  color: var(--gold2)
}

.urs-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin: 28px 0 18px
}

.urs-tab {
  min-height: 52px;
  border: 1px solid #d7b15a66;
  border-radius: 9px;
  background: #ffffff0b;
  color: #f4ead0;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s, border-color .2s
}

.urs-tab:hover,
.urs-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #073b2c
}

.urs-tab:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px
}

.urs-panels {
  max-width: 760px;
  margin: 0 auto
}

.urs-panel {
  min-height: 190px;
  padding: 30px 34px;
  border: 1px solid #d7b15a88;
  border-radius: 15px;
  background: linear-gradient(145deg, #0e5944, #07362b);
  box-shadow: 0 16px 36px #001b1640
}

.urs-panel[hidden] {
  display: none
}

.urs-panel-kicker {
  display: block;
  color: var(--gold2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
  margin-bottom: 12px
}

.urs-panel h3 {
  font: 600 clamp(24px, 3vw, 34px) Georgia, serif;
  color: #fff;
  margin: 0 0 10px
}

.urs-panel p {
  color: #e1eae2;
  margin: 0;
  font-size: 15px
}

.urs-panel .urs-time-note {
  margin-top: 17px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: #ffffff0d;
  font-size: 13px
}

.urs-source-note {
  margin-top: 22px !important;
  padding: 15px 18px;
  border: 1px solid #d7b15a55;
  border-radius: 9px;
  color: #e5e9dc;
  background: #ffffff0a;
  font-size: 12px;
  line-height: 1.7
}

.urs-other-grid {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px
}

.urs-other-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 23px
}

.urs-other-grid h3 {
  margin: 8px 0
}

.urs-other-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px
}

.urs-mini-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8f1eb;
  color: #a47b23;
  font-size: 22px
}

.urs-visit {
  max-width: none;
  background: #f2eddf
}

.urs-visit-inner {
  max-width: var(--max);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px
}

.urs-visit-inner>div {
  max-width: 760px
}

.urs-visit-inner h2 {
  margin: 0 0 10px
}

.urs-visit-inner p:not(.eyebrow) {
  color: var(--muted);
  margin: 0
}

@media(max-width:720px) {
  .urs-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .urs-tab:last-child {
    grid-column: 1/-1
  }

  .urs-panel {
    padding: 24px 20px;
    min-height: 180px
  }

  .urs-other-grid {
    grid-template-columns: 1fr
  }

  .urs-visit-inner {
    align-items: flex-start;
    flex-direction: column
  }
}

/* Calm, cohesive visual polish: legible navigation, warm surfaces and restrained light. */
:root {
  --g: #073b30;
  --g2: #0d5a45;
  --gold: #d9b96f;
  --gold2: #f3dfad;
  --cream: #f8f5ec;
  --ink: #263a31;
  --muted: #68776e;
  --line: #e7dfcf;
  --shadow: 0 16px 42px #17392a12
}

body {
  background: #fbf9f3;
  color: var(--ink);
  letter-spacing: .005em
}

.topbar {
  background: rgba(4, 42, 33, .97);
  box-shadow: 0 5px 24px #062b2018
}

.top-inner {
  min-height: 78px;
  gap: 18px
}

.brand b {
  font-size: 15px;
  letter-spacing: .01em
}

.brand small {
  font-size: 11px;
  letter-spacing: .07em
}

.desktop-nav {
  gap: clamp(9px, 1.1vw, 16px)
}

.desktop-nav>a,
.nav-trigger {
  font-size: 15px !important;
  font-weight: 600;
  letter-spacing: .005em;
  white-space: nowrap
}

.nav-trigger {
  padding: 10px 0
}

.nav-sub a {
  font-size: 14px !important;
  font-weight: 600;
}

.head-right {
  gap: 12px;
  flex-shrink: 0
}

.header-visit {
  padding: 10px 18px !important;
  font-size: 13px !important;
  letter-spacing: .02em;
  box-shadow: 0 5px 15px #0002
}

.menu {
  font-size: 23px;
  padding: 7px 12px
}

.mobile-menu {
  background: #06372b;
  padding: 12px max(18px, calc((100vw - var(--max))/2)) 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px
}

.mobile-menu a {
  font-size: 14px !important;
  line-height: 1.35;
  padding: 12px 13px;
  border-color: #d9b96f35
}

.mobile-menu .mm-label {
  font-size: 11px
}

.mobile-menu .mm-donate {
  background: var(--gold);
  color: #17392b;
  border-color: var(--gold);
  font-weight: 850
}

.hero {
  position: relative;
  background-color: #063b2e;
  background-image: radial-gradient(ellipse at 78% 35%, #28705299 0%, transparent 38%), linear-gradient(118deg, #052e25 0%, #0b4a38 58%, #103e31 100%);
  isolation: isolate
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: repeating-linear-gradient(45deg, transparent 0 30px, #e2c783 31px 32px, transparent 33px 62px), repeating-linear-gradient(-45deg, transparent 0 30px, #e2c783 31px 32px, transparent 33px 62px);
  mask-image: linear-gradient(90deg, #000, transparent 92%)
}

.hero-copy,
.hero-art {
  z-index: 2
}

.hero h1 {
  line-height: 1.08;
  text-wrap: balance
}

.hero .lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: #f0ead9
}

.hero-copy>p:not(.eyebrow):not(.lead):not(.note) {
  max-width: 610px;
  color: #dce8df;
  line-height: 1.8
}

.hero-art {
  box-shadow: 0 24px 65px #001a124d, 0 0 0 8px #ffffff08
}

.pattern-art {
  background: radial-gradient(circle at 50% 48%, #fff7d9 0%, #dce5cf 48%, #aac6b3 100%);
  box-shadow: inset 0 0 55px #fff8d8a8
}

.pattern-art:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid #9a793c88;
  border-radius: 205px 205px 4px 4px;
  pointer-events: none
}

.pattern-art span {
  box-shadow: 0 0 0 8px #d9b96f22, 0 0 28px #f2d78c99;
  animation: moon-breathe 5s ease-in-out infinite
}

.pattern-art b {
  font: 600 22px/1.35 Georgia, serif;
  max-width: 260px
}

.pattern-art small {
  letter-spacing: .09em;
  text-transform: uppercase
}

.lamp-glow {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 9px;
  height: 24px;
  border-radius: 50% 50% 45% 45%;
  background: #ffcf68;
  box-shadow: 0 0 12px 5px #ffce6b99, 0 0 42px 20px #e6a83e55;
  transform: translateX(-50%);
  animation: flame-glow 3.2s ease-in-out infinite;
  pointer-events: none
}

/* =========================================================
   HOMEPAGE HERO CINEMATIC VIDEO BACKGROUND & VISIBILITY
   ========================================================= */
#home.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #041f17;
}

#home.hero:after {
  display: none;
}

#home .hero-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

#home .hero-bg-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Cinematic Video-type movement effect: continuous subtle slow pan and zoom */
#home .hero-bg-media {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  animation: heroCinematicVideo 28s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  will-change: transform;
  transform-origin: center 40%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes heroCinematicVideo {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  28% {
    transform: scale(1.06) translate3d(-1.5%, -0.8%, 0);
  }

  55% {
    transform: scale(1.09) translate3d(-0.5%, -1.6%, 0);
  }

  80% {
    transform: scale(1.06) translate3d(1.0%, -0.8%, 0);
  }

  100% {
    transform: scale(1.03) translate3d(0.5%, -0.3%, 0);
  }
}

/* Multi-tiered atmospheric dark overlay for pristine contrast and depth */
#home .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 18, 14, 0.72) 0%, transparent 18%, transparent 72%, rgba(2, 18, 14, 0.96) 100%),
    linear-gradient(to right, rgba(2, 18, 14, 0.94) 0%, rgba(3, 24, 18, 0.90) 36%, rgba(5, 36, 28, 0.70) 65%, rgba(6, 42, 33, 0.48) 100%),
    radial-gradient(ellipse at 82% 32%, rgba(18, 70, 54, 0.28) 0%, rgba(3, 22, 17, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Enhanced visibility for Hero Copy elements */
#home .hero-copy {
  position: relative;
  z-index: 2;
}

#home .hero-copy h1 {
  color: #ffffff;
  font-family: var(--serif, 'Cinzel Decorative', Georgia, serif);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75), 0 4px 35px rgba(2, 18, 14, 0.95);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

#home .hero-copy .lead {
  color: #f7eed8;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}

#home .hero-copy>p:not(.eyebrow):not(.lead):not(.note) {
  color: #e5eee8;
  font-size: 16.5px;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
  max-width: 610px;
}

#home .hero-copy .actions {
  margin: 28px 0;
}

#home .hero-copy .actions .btn.gold {
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35), 0 2px 6px rgba(0, 0, 0, 0.4);
}

#home .hero-copy .actions .btn.outline {
  background: rgba(3, 24, 18, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(230, 204, 140, 0.65);
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

#home .hero-copy .actions .btn.outline:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  color: #fff9ea;
}

#home .hero-copy .note {
  color: #d1dfd6;
  font-size: 13px;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

/* Ensure .hero-art sits cleanly in front of the background */
#home .hero-art {
  position: relative;
  z-index: 2;
}

/* Framed photograph fitted cleanly inside the original arch */
.pattern-art .arch-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pattern-art:after {
  z-index: 2;
}

/* Mobile responsive: High-res portrait hero image, crisp native hardware rendering with video motion */
@media (max-width: 900px) {
  #home .hero-bg-media {
    object-position: center top !important;
    inset: -3% !important;
    width: 106% !important;
    height: 106% !important;
    transform-origin: center top !important;
    animation: heroCinematicVideoMobile 22s ease-in-out infinite alternate !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    image-rendering: -webkit-optimize-contrast;
  }

  #home .hero-bg-overlay {
    background:
      linear-gradient(to bottom, rgba(2, 18, 14, 0.35) 0%, rgba(2, 18, 14, 0.55) 28%, rgba(3, 24, 18, 0.82) 62%, rgba(2, 18, 14, 0.98) 100%) !important;
  }
}

@keyframes heroCinematicVideoMobile {
  0% {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  35% {
    transform: scale(1.045) translate3d(-0.8%, 0.5%, 0);
  }

  70% {
    transform: scale(1.06) translate3d(0.6%, 1.0%, 0);
  }

  100% {
    transform: scale(1.02) translate3d(0.3%, 0.2%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #home .hero-bg-media {
    animation: none !important;
    transform: scale(1.02);
  }
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1
}

.hero-atmosphere i {
  position: absolute;
  bottom: -22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2dca0;
  opacity: 0;
  box-shadow: 0 0 12px 3px #e8c87988;
  animation: ember-rise 13s linear infinite
}

.hero-atmosphere i:nth-child(1) {
  left: 7%;
  animation-delay: 0s
}

.hero-atmosphere i:nth-child(2) {
  left: 17%;
  width: 4px;
  height: 4px;
  animation-delay: 4s;
  animation-duration: 16s
}

.hero-atmosphere i:nth-child(3) {
  left: 29%;
  animation-delay: 7s;
  animation-duration: 14s
}

.hero-atmosphere i:nth-child(4) {
  left: 42%;
  width: 5px;
  height: 5px;
  animation-delay: 2s;
  animation-duration: 18s
}

.hero-atmosphere i:nth-child(5) {
  left: 54%;
  animation-delay: 9s;
  animation-duration: 15s
}

.hero-atmosphere i:nth-child(6) {
  left: 65%;
  width: 4px;
  height: 4px;
  animation-delay: 5s;
  animation-duration: 17s
}

.hero-atmosphere i:nth-child(7) {
  left: 74%;
  animation-delay: 1s;
  animation-duration: 19s
}

.hero-atmosphere i:nth-child(8) {
  left: 83%;
  width: 5px;
  height: 5px;
  animation-delay: 8s;
  animation-duration: 15s
}

.hero-atmosphere i:nth-child(9) {
  left: 94%;
  animation-delay: 3s;
  animation-duration: 17s
}

.hero-atmosphere i:nth-child(10) {
  left: 36%;
  width: 3px;
  height: 3px;
  animation-delay: 11s;
  animation-duration: 20s
}

.hero-atmosphere i:nth-child(11) {
  left: 59%;
  width: 3px;
  height: 3px;
  animation-delay: 6s;
  animation-duration: 21s
}

.hero-atmosphere i:nth-child(12) {
  left: 12%;
  width: 3px;
  height: 3px;
  animation-delay: 10s;
  animation-duration: 18s
}

@keyframes ember-rise {
  0% {
    transform: translate3d(0, 0, 0) scale(.55);
    opacity: 0
  }

  12% {
    opacity: .55
  }

  75% {
    opacity: .28
  }

  100% {
    transform: translate3d(24px, -620px, 0) scale(1.1);
    opacity: 0
  }
}

@keyframes flame-glow {

  0%,
  100% {
    opacity: .65;
    filter: brightness(.9);
    box-shadow: 0 0 10px 4px #ffce6b88, 0 0 32px 15px #e6a83e44
  }

  50% {
    opacity: 1;
    filter: brightness(1.2);
    box-shadow: 0 0 17px 8px #ffdc86bb, 0 0 48px 24px #e6a83e66
  }
}

@keyframes moon-breathe {

  0%,
  100% {
    box-shadow: 0 0 0 8px #d9b96f22, 0 0 22px #f2d78c66
  }

  50% {
    box-shadow: 0 0 0 12px #d9b96f18, 0 0 34px #f2d78caa
  }
}

.section {
  scroll-margin-top: 100px
}

.section-head {
  margin-bottom: 36px
}

.section-head h2 {
  letter-spacing: -.018em
}

.cards article {
  border-radius: 13px;
  box-shadow: 0 7px 22px #17392a08;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.cards article:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px #17392a12;
  border-color: #d8c79f
}

.home-intro-cards article,
.tradition-cards article {
  background: linear-gradient(160deg, #fffefa, #f8f6ee)
}

.home-card-icon {
  background: linear-gradient(145deg, #f4eedc, #e8eee5);
  box-shadow: inset 0 0 0 1px #d8c79f55
}

.tint {
  background: linear-gradient(180deg, #f4f0e5, #faf8f1)
}

.event-item {
  box-shadow: 0 5px 18px #17392a07
}

.home-contact {
  background-color: #073b30;
  background-image: radial-gradient(circle at 80% 15%, #27634b 0%, transparent 35%), repeating-linear-gradient(45deg, transparent 0 30px, #ffffff08 31px 32px, transparent 33px 62px)
}

.footer {
  background: #04271f
}

.source-note {
  background: #edf1e8;
  border: 1px solid #e1e5d8;
  line-height: 1.7
}

.btn {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease
}

.btn:hover {
  box-shadow: 0 7px 18px #0a302322
}

@media(max-width:1100px) {
  .top-inner {
    flex-wrap: wrap
  }

  .desktop-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding: 0 0 9px
  }

  .top-inner {
    row-gap: 7px
  }

  .head-right {
    margin-left: auto
  }
}

@media(max-width:820px) {
  .desktop-nav {
    display: none
  }

  .top-inner {
    min-height: 70px;
    flex-wrap: nowrap
  }

  .head-right .header-visit {
    display: inline-flex
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 58px;
    padding-bottom: 52px
  }

  .hero-copy {
    max-width: 720px
  }

  .hero-art {
    width: min(88%, 390px)
  }

  .pattern-art {
    min-height: 310px
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px
  }
}

@media(max-width:560px) {
  .brand {
    min-width: 0;
    max-width: calc(100% - 125px)
  }

  .brand b {
    font-size: 12px
  }

  .brand small {
    font-size: 9px
  }

  .brand-symbol {
    width: 36px;
    height: 36px
  }

  .head-right {
    gap: 7px
  }

  .header-visit {
    padding: 8px 12px !important;
    font-size: 12px !important
  }

  .menu {
    font-size: 21px;
    padding: 5px 9px
  }

  .mobile-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 70vh;
    overflow: auto
  }

  .mobile-menu a {
    font-size: 13px !important
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 48px)
  }

  .pattern-art {
    min-height: 280px
  }
}

@media(prefers-reduced-motion:reduce) {

  .hero-atmosphere i,
  .pattern-art span,
  .lamp-glow {
    animation: none !important;
    opacity: .45
  }

  .cards article:hover {
    transform: none
  }
}

/* Small, purposeful devotional light accents in relevant content areas. */
.tradition-cards article:first-child .home-card-icon {
  animation: moon-breathe 5.5s ease-in-out infinite;
  box-shadow: 0 0 0 0 #d9b96f00
}

.urs-panel {
  position: relative;
  overflow: hidden
}

.urs-panel:after {
  content: "";
  position: absolute;
  right: 34px;
  top: 28px;
  width: 7px;
  height: 18px;
  border-radius: 50% 50% 45% 45%;
  background: #ffd47a;
  opacity: .65;
  box-shadow: 0 0 12px 5px #ffcf6b88, 0 0 38px 18px #e6a83e44;
  animation: flame-glow 4s ease-in-out infinite;
  pointer-events: none
}

.urs-panel>* {
  position: relative;
  z-index: 1
}

.event-icon {
  transition: box-shadow .3s ease, transform .3s ease
}

.event-item:hover .event-icon {
  transform: translateY(-2px);
  box-shadow: 0 0 0 5px #d9b96f20, 0 0 20px #d9b96f55
}

@media(prefers-reduced-motion:reduce) {

  .tradition-cards article:first-child .home-card-icon,
  .urs-panel:after {
    animation: none !important
  }
}


/* Senior Khadim feature: clear hierarchy, warm lineage note and calm guidance cues. */
.khadim-featured {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #d9c99f;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffefa 0%, #f5f1e6 100%);
  box-shadow: 0 18px 48px #17392a12
}

.khadim-featured .portrait {
  min-height: 340px
}

.khadim-feature-copy h3 {
  font-size: clamp(25px, 3vw, 34px);
  margin: 9px 0 5px
}

.khadim-rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid #d5b96f;
  border-radius: 999px;
  background: #f7efd9;
  color: #6d531d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em
}

.khadim-role-line {
  font-weight: 750;
  color: #42614f
}

.lineage-note {
  margin: 18px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: #edf2e9
}

.lineage-note b {
  display: block;
  color: var(--g);
  font: 600 17px Georgia, serif;
  margin-bottom: 5px
}

.lineage-note p {
  margin: 0;
  color: #45594c;
  font-size: 14px;
  line-height: 1.75
}

.khadim-feature-copy ul {
  margin: 16px 0;
  padding-left: 21px
}

.khadim-feature-copy li {
  margin: 7px 0;
  color: #405448
}

.khadim-note {
  margin: 15px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted)
}

@media(max-width:560px) {
  .khadim-featured {
    padding: 15px
  }

  .khadim-featured .portrait {
    min-height: 260px
  }

  .khadim-rank {
    font-size: 9px;
    letter-spacing: .06em
  }
}

/* Unified calm Dargah visual: one solid green surface and one restrained upward-light animation. */
.pattern,
.urs-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #073b30 !important;
  background-image: none !important;
}

.pattern::before,
.urs-section::before {
  content: "";
  position: absolute;
  inset: -90px 0 0;
  z-index: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    radial-gradient(circle, #e8d49b 0 1.4px, transparent 1.9px),
    radial-gradient(circle, #d9b96f 0 1px, transparent 1.6px);
  background-size: 113px 113px, 167px 167px;
  background-position: 17px 23px, 71px 49px;
  animation: dargah-light-drift 24s linear infinite;
}

.pattern>*,
.urs-section>* {
  position: relative;
  z-index: 1
}

@keyframes dargah-light-drift {
  from {
    transform: translate3d(0, 0, 0)
  }

  to {
    transform: translate3d(0, -113px, 0)
  }
}

/* Keep the hero simple: solid green, quiet gold details, no colour-blend backgrounds. */
.hero {
  background-color: #073b30 !important;
  background-image: none !important
}

.hero:after {
  display: none
}

.pattern-art {
  background: #f4f0e4 !important;
  box-shadow: inset 0 0 0 1px #d9c99f;
}

.pattern-art:before {
  opacity: .16
}

.tint {
  background: #f8f5ec !important
}

.home-intro-cards article,
.tradition-cards article {
  background: #fff !important
}

.home-card-icon {
  background: #edf1e8 !important;
  box-shadow: none !important
}


.urs-panel {
  background: #0b4939 !important
}

.urs-section {
  color: #fff
}

.urs-section .section-head h2 {
  color: #fff
}

.urs-section .section-head p:not(.eyebrow) {
  color: #e0e9e2
}

.cta-band {
  background: #073b30 !important;
  background-image: none !important
}

@media(prefers-reduced-motion:reduce) {

  .pattern::before,
  .urs-section::before {
    animation: none !important;
    transform: none !important
  }
}


/* Urs programme: faithful to the supplied navy-and-antique-gold reference. */
.urs-section {
  background: #102344 !important;
  color: #f8f2e4;
  padding-top: 54px;
  padding-bottom: 46px;
}

.urs-section>.section-head,
.urs-section>.urs-explorer,
.urs-section>.urs-source-note {
  max-width: var(--max)
}

.urs-section .section-head {
  margin: 0 0 24px;
  text-align: left
}

.urs-section .section-head h2 {
  color: #f1cf80;
  font: 400 clamp(32px, 4vw, 42px)/1.2 Georgia, serif;
  letter-spacing: 0;
  margin: 0 0 24px
}

.urs-section .section-head p:not(.eyebrow) {
  color: #f5f0e7;
  font-size: 15px;
  margin: 0
}

.urs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px
}

.urs-tab {
  flex: 0 0 auto;
  min-height: 41px;
  padding: 9px 13px;
  border: 1px solid #8d7445;
  border-radius: 11px;
  background: transparent;
  color: #f8f2e4;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, color .18s ease
}

.urs-tab:hover,
.urs-tab.active {
  background: #d2a844;
  border-color: #d2a844;
  color: #102344
}

.urs-tab:focus-visible {
  outline: 2px solid #f1cf80;
  outline-offset: 3px
}

.urs-panels {
  max-width: none;
  margin: 0
}

.urs-panel {
  min-height: 139px;
  padding: 24px 24px 27px;
  border: 1px solid #8d7445;
  border-radius: 30px 30px 8px 8px;
  background: #10354b;
  box-shadow: none
}

.urs-panel:after {
  display: none
}

.urs-panel .urs-day-date {
  color: #f1cf80;
  font: 600 22px Georgia, serif;
  margin: 0 0 20px
}

.urs-panel h3 {
  font: 600 16px/1.5 Arial, sans-serif;
  color: #fff;
  margin: 0 0 8px
}

.urs-panel p {
  color: #f3f0e8;
  font-size: 15px;
  line-height: 1.6
}

.urs-panel .urs-time-note {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: #f3e5bd
}

.urs-source-note {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin-top: 16px !important;
  color: #d6dbe3;
  font-size: 12px
}

.urs-section:before {
  display: none
}

@media(max-width:560px) {
  .urs-section {
    padding-top: 42px;
    padding-bottom: 38px
  }

  .urs-tabs {
    gap: 7px
  }

  .urs-tab {
    min-height: 39px;
    padding: 8px 11px;
    font-size: 12px
  }

  .urs-panel {
    padding: 22px 18px;
    min-height: 130px;
    border-radius: 25px 25px 8px 8px
  }
}

/* Homepage Roshan-e-Chirag remembrance panel, matching the supplied reference. */
.lamp-remembrance {
  background: #102344;
  color: #f8f2e4;
  text-align: center;
  padding: 48px 22px 68px;
  overflow: hidden
}

.lamp-remembrance h2 {
  margin: 0 0 24px;
  color: #f1cf80;
  font: 400 clamp(32px, 4vw, 40px)/1.2 Georgia, serif
}

.lamp-remembrance>p {
  margin: 0 auto;
  max-width: 900px;
  color: #f5f0e7;
  font-size: 15px;
  line-height: 1.7
}

.lamp-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 4.5vw, 42px);
  margin: 78px auto 0
}

.remembrance-lamp {
  position: relative;
  display: block;
  width: 31px;
  height: 23px;
  border-radius: 0 0 50% 50%;
  background: #80672d;
  transform-origin: 50% 0;
  animation: lamp-glimmer 3.8s ease-in-out infinite;
  animation-delay: 0s
}

.remembrance-lamp i {
  position: absolute;
  left: 50%;
  top: -19px;
  width: 8px;
  height: 17px;
  transform: translateX(-50%);
  border-radius: 50% 50% 45% 45%;
  background: #e5bd63;
  opacity: 0;
  filter: blur(2px);
  transition: opacity .4s
}

.remembrance-lamp:nth-child(2) {
  animation-delay: .22s
}

.remembrance-lamp:nth-child(3) {
  animation-delay: .44s
}

.remembrance-lamp:nth-child(4) {
  animation-delay: .66s
}

.remembrance-lamp:nth-child(5) {
  animation-delay: .88s
}

.remembrance-lamp:nth-child(6) {
  animation-delay: 1.1s
}

.remembrance-lamp:nth-child(7) {
  animation-delay: 1.32s
}

@keyframes lamp-glimmer {

  0%,
  100% {
    opacity: .78
  }

  50% {
    opacity: 1
  }
}

@media(max-width:560px) {
  .lamp-remembrance {
    padding: 42px 18px 58px
  }

  .lamp-row {
    gap: clamp(12px, 4vw, 25px);
    margin-top: 62px
  }

  .remembrance-lamp {
    width: 26px;
    height: 19px
  }
}

@media(prefers-reduced-motion:reduce) {
  .remembrance-lamp {
    animation: none
  }
}

/* Final editorial pass: consistent content rhythm and understated typography. */
:root {
  --content-width: var(--max)
}

.section,
.section.tint,
.section.pattern,
.urs-section,
.lamp-remembrance,
.urs-visit,
.home-contact {
  box-sizing: border-box
}

.section:not(.tint):not(.pattern):not(.urs-section) {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto
}

.section.tint,
.section.pattern,
.urs-section,
.lamp-remembrance,
.urs-visit {
  width: 100%;
  max-width: none
}

.section.tint>*:not(.section-inner),
.section.pattern>*:not(.section-inner),
.urs-section>.section-head,
.urs-section>.urs-explorer,
.urs-section>.urs-source-note,
.lamp-remembrance>* {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto
}

.section-head {
  max-width: var(--content-width);
  margin-bottom: 30px
}

.section-head .section-subtitle {
  display: block;
  color: var(--gold-dark, #987328);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 9px
}

.section-head h2 {
  margin-bottom: 12px
}

.khadim-rank {
  display: block;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #8c6b25;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase
}

/* Remove template-like ornamental labels and icon framing from the Khadim profile. */
.khadim-featured .khadim-rank:before,
.khadim-featured .khadim-rank:after {
  content: none !important;
  display: none !important
}

/* Mobile navigation: a simple, spacious list rather than boxed tiles. */
@media(max-width:820px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 7px 20px 18px;
    background: #073b30;
    border-top: 1px solid #d7b15a35;
    max-height: 75vh;
    overflow: auto
  }

  .mobile-menu .mm-label {
    margin: 14px 0 5px;
    padding: 0;
    color: #d9bb70;
    font-size: 11px;
    letter-spacing: .08em
  }

  .mobile-menu a {
    display: block;
    padding: 11px 2px !important;
    border: 0 !important;
    border-bottom: 1px solid #ffffff20 !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: left !important;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.4
  }

  .mobile-menu a[aria-current=page] {
    color: #f0cd7b
  }

  .mobile-menu .mm-donate {
    color: #f0cd7b !important;
    font-weight: 750 !important
  }
}

/* All full-bleed sections share the same centered inner measure. */
.hero {
  padding-left: max(22px, calc((100vw - var(--content-width))/2));
  padding-right: max(22px, calc((100vw - var(--content-width))/2))
}

.donations {
  padding-left: max(22px, calc((100vw - var(--content-width))/2));
  padding-right: max(22px, calc((100vw - var(--content-width))/2))
}

.urs-visit-inner,
.footer-grid,
.copyright {
  width: 100%;
  max-width: var(--content-width)
}

/* Urs and lamp follow the site's green, ivory and antique-gold palette. */
.urs-section {
  background: #073b30 !important;
  color: #f8f4e9;
  padding-top: 60px;
  padding-bottom: 52px
}

.urs-section .section-head h2,
.lamp-remembrance h2 {
  color: #e8c777
}

.urs-section .section-head p:not(.eyebrow) {
  color: #f1ecdf
}

.urs-tab {
  border-color: #b18c43;
  color: #f7f1e3;
  background: transparent
}

.urs-tab:hover,
.urs-tab.active {
  background: #d0aa50;
  border-color: #d0aa50;
  color: #183b2e
}

.urs-panel {
  background: #f8f5ec;
  border-color: #d3b66e;
  color: #253d31
}

.urs-panel .urs-day-date {
  color: #87651f
}

.urs-panel h3,
.urs-panel p {
  color: #30483b
}

.urs-panel .urs-time-note {
  color: #775b22
}

.urs-source-note {
  color: #e8e1d0
}

.lamp-remembrance {
  background: #073b30 !important;
  color: #f8f4e9;
  text-align: center;
  padding: 50px 22px 64px
}

.lamp-remembrance>p {
  color: #f1ecdf
}

.remembrance-lamp {
  background: #c7a34b
}

.remembrance-lamp i {
  background: #f0d27f
}

/* Mobile bottom actions: Call Now / WhatsApp Now / Enquire */
.quickbar {
  display: none
}

@media(max-width:768px) {
  .quickbar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 999 !important;
    display: grid !important;
    grid-template-columns: 0.9fr 1.35fr 0.9fr !important;
    padding: 0 0 max(0px, env(safe-area-inset-bottom)) 0 !important;
    gap: 0 !important;
    background: transparent;
    /* backdrop-filter: blur(8px) !important; */
    /* -webkit-backdrop-filter: blur(8px) !important; */
    border: none !important;
    border-top: 1px solid rgba(215, 177, 90, 0.45) !important;
    border-radius: 0 !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25) !important;
    margin: 0 !important
  }

  .quickbar a,
  .quickbar button {
    min-height: 52px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    font-family: inherit !important;
    line-height: 1.2 !important;
    padding: 0 2px !important;
    white-space: nowrap !important;
    transition: opacity .15s ease, filter .15s ease !important
  }

  .quickbar .quickbar-call {
    background: rgba(202, 162, 77, 0.92) !important;
    color: #162d24 !important
  }

  .quickbar .quickbar-wa {
    background: rgba(31, 170, 89, 0.92) !important;
    color: #ffffff !important
  }

  .quickbar .quickbar-enquire {
    background: rgba(10, 78, 62, 0.92) !important;
    color: #ffffff !important
  }

  .quickbar .quickbar-enquire svg {
    color: #f5dfa3 !important
  }

  .quickbar a:hover,
  .quickbar button:hover {
    opacity: .96 !important
  }

  .quickbar a:active,
  .quickbar button:active {
    filter: brightness(0.9) !important
  }

  .quickbar span {
    font-size: 16px !important;
    color: inherit !important
  }

  .quickbar small {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important
  }

  .quickbar svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    flex-shrink: 0 !important
  }
}

@media(min-width:400px) and (max-width:768px) {

  .quickbar a,
  .quickbar button {
    font-size: 15px !important;
    gap: 8px !important
  }

  .quickbar small {
    font-size: 15px !important
  }

  .quickbar svg {
    width: 20px !important;
    height: 20px !important
  }
}

@media(max-width:360px) {

  .quickbar a,
  .quickbar button {
    font-size: 12.5px !important;
    gap: 4px !important;
    padding: 0 1px !important
  }

  .quickbar small {
    font-size: 12.5px !important
  }

  .quickbar svg {
    width: 15px !important;
    height: 15px !important
  }
}

@media(max-width:560px) {
  .section {
    padding: 48px 18px
  }

  .section-head {
    margin-bottom: 25px
  }

  .section-head h2 {
    font-size: clamp(27px, 7vw, 35px)
  }

  .lamp-remembrance {
    padding: 44px 18px 58px
  }

  .urs-section {
    padding: 46px 18px 40px
  }

  .urs-tabs {
    gap: 7px
  }

  .urs-tab {
    border-radius: 8px
  }

  .urs-panel {
    background: #f8f5ec;
    border-radius: 24px 24px 8px 8px
  }

  .footer {
    padding: 40px 18px 18px
  }
}


/* Interactive Roshan-e-Chirag lamps */
.lamp-row {
  align-items: flex-end
}

.remembrance-lamp {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 42px;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  color: #b89543;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  animation: lamp-glimmer 3.8s ease-in-out infinite;
  transition: color .25s, filter .25s;
}

.remembrance-lamp svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible
}

.remembrance-lamp .lamp-bowl {
  fill: currentColor
}

.remembrance-lamp .lamp-flame {
  fill: transparent;
  transform-origin: 20px 25px;
  transition: fill .25s, filter .25s, opacity .25s;
  opacity: 0;
}

.remembrance-lamp:focus-visible {
  outline: 2px solid #ffd27a;
  outline-offset: 7px;
  border-radius: 8px
}

.lamp-message {
  min-height: 1.7em;
  margin: 22px auto 0 !important;
  color: #f0d58f !important;
  font-size: 15px;
  font-weight: 600
}

@keyframes lamp-flame-flicker {

  0%,
  100% {
    transform: scale(.94, 1)
  }

  50% {
    transform: scale(1.08, .94)
  }
}

@media(prefers-reduced-motion:reduce) {

  .remembrance-lamp,
  .remembrance-lamp[aria-pressed="true"] .lamp-flame {
    animation: none !important
  }
}


/* Premium consistency pass: shared rhythm, depth, responsive navigation and motion */
:root {
  --content: 1120px;
  --section-space: clamp(48px, 6vw, 84px);
  --soft-shadow: 0 12px 34px rgba(7, 63, 50, .08);
  --card-shadow: 0 8px 24px rgba(7, 63, 50, .07)
}

.announcement-bar {
  position: relative;
  z-index: 31;
  background: #092d25;
  color: #f8f3e5;
  border-bottom: 1px solid rgba(215, 177, 90, .35);
  font-size: 12px
}

.announcement-inner {
  max-width: var(--max);
  min-height: 34px;
  margin: auto;
  padding: 6px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center
}

.announcement-mark {
  color: var(--gold);
  font-size: 14px
}

.announcement-inner a {
  color: var(--gold2);
  font-weight: 800;
  text-decoration: none;
  margin-left: 8px;
  white-space: nowrap
}

.topbar {
  top: 0
}

.top-inner {
  min-height: 70px
}

.head-right {
  flex-shrink: 0
}

.header-donate {
  background: var(--gold);
  color: var(--g);
  border: 1px solid var(--gold)
}

.header-visit {
  border-color: #ffffff70;
  color: #fff
}

.desktop-nav {
  gap: clamp(9px, 1.2vw, 17px)
}

.desktop-nav a,
.nav-trigger {
  font-size: 12px
}

.section {
  width: 100%;
  max-width: none;
  padding: var(--section-space) max(22px, calc((100vw - var(--max))/2));
  position: relative
}

.section>.prose,
.section>.section-head,
.section>.chapters,
.section>.cards,
.section>.cta-band,
.section>.gallery-grid,
.section>.directions,
.section>.contact-grid,
.section>.donation-grid,
.section>.urs-days,
.section>.profile,
.section>.source-note {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto
}

.section>.prose {
  max-width: var(--max)
}

.section.tint {
  background: linear-gradient(135deg, #f7f4eb 0%, #fbf8ef 55%, #f2eee3 100%)
}

.section:not(.tint) {
  background: #fffdf8
}

.section h2 {
  letter-spacing: -.02em
}

.section p {
  line-height: 1.8
}

.section .cards article,
.related-cards article,
.history-cards article,
.home-intro-cards article,
.tradition-cards article {
  border: 1px solid #e7e1d2;
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--card-shadow);
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.section .cards article:hover,
.related-cards article:hover,
.history-cards article:hover,
.home-intro-cards article:hover,
.tradition-cards article:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(7, 63, 50, .13);
  border-color: #d7b15a
}

.related-cards {
  gap: 16px
}

.related-cards article {
  min-height: 220px
}

.page-hero {
  min-height: 260px;
  padding-top: 50px;
  padding-bottom: 54px
}

.page-hero .hero-copy {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto
}

.page-hero .lead {
  max-width: 760px
}

.prose p {
  margin: 0 0 14px
}

.prose h2 {
  margin-bottom: 18px
}

.footer {
  padding: 58px 22px 20px
}

.footer-grid {
  grid-template-columns: 1.35fr .8fr 1fr;
  gap: clamp(24px, 4vw, 58px)
}

.footer-brand h2 {
  max-width: 360px
}

.footer-social {
  margin-top: 22px
}

.footer-social h3 {
  margin-bottom: 12px
}

.footer-social .social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(215, 177, 90, .55);
  border-radius: 999px;
  padding: 8px 13px;
  margin: 0 7px 8px 0;
  color: #f5e6b9;
  font-weight: 750;
  transition: background .2s ease, transform .2s ease
}

.footer-social .social-btn:hover {
  background: #ffffff14;
  transform: translateY(-2px)
}

.social-pending {
  font-size: 12px;
  color: #bdcfc3
}

.footer-donate {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 14px !important;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--g) !important;
  font-weight: 850
}

.footer-share-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-top: 12px !important;
}

.footer-share-tools .btn {
  font-size: 11.5px !important;
  padding: 5px 11px !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #dce7df !important;
  border: 1px solid rgba(215, 177, 90, 0.42) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.footer-share-tools .btn:hover,
.footer-share-tools .btn:focus-visible {
  background: rgba(215, 177, 90, 0.12) !important;
  border-color: var(--gold) !important;
  color: var(--gold2) !important;
  transform: translateY(-1px) !important;
}

.footer-share-tools .btn:active {
  transform: translateY(0) !important;
}

.footer-share-tools .share-status {
  width: 100% !important;
  color: var(--gold2) !important;
  font-size: 11px !important;
  display: block !important;
  margin-top: 2px !important;
}

.copyright {
  line-height: 1.6
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1)
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none
}

.reveal-ready .reveal[data-delay="1"] {
  transition-delay: .08s
}

.reveal-ready .reveal[data-delay="2"] {
  transition-delay: .16s
}

.reveal-ready .reveal[data-delay="3"] {
  transition-delay: .24s
}

.btn,
.social-btn,
.footer-donate {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease
}

.btn:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12)
}

@media(max-width:900px) {
  .desktop-nav {
    gap: 9px
  }

  .desktop-nav a,
  .nav-trigger {
    font-size: 11px
  }

  .top-inner {
    gap: 12px
  }

  .brand b {
    font-size: 13px
  }

  .header-visit {
    display: none
  }
}

@media(max-width:700px) {
  .announcement-inner {
    font-size: 10px;
    gap: 6px;
    flex-wrap: wrap;
    min-height: 38px
  }

  .top-inner {
    min-height: 64px;
    padding: 9px 16px
  }

  .desktop-nav {
    display: none
  }

  .menu {
    display: block
  }

  .head-right {
    margin-left: auto
  }

  .header-donate {
    padding: 8px 13px
  }

  .mobile-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 16px 16px
  }

  .mobile-menu .mm-label {
    grid-column: 1/-1
  }

  .mobile-menu .mm-donate {
    grid-column: 1/-1
  }

  .page-hero {
    padding: 40px 20px;
    min-height: 0
  }

  .section {
    padding: 48px 20px
  }

  .section>.prose {
    max-width: none
  }

  .related-cards,
  .history-cards,
  .home-intro-cards,
  .tradition-cards {
    grid-template-columns: 1fr
  }

  .related-cards article {
    min-height: unset
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px
  }

  .footer-brand {
    grid-column: 1/-1
  }

  .copyright {
    flex-direction: column;
    gap: 6px
  }
}

@media(max-width:420px) {
  .brand-symbol {
    width: 34px;
    height: 34px
  }

  .brand b {
    font-size: 12px
  }

  .brand small {
    font-size: 10px
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-brand {
    grid-column: auto
  }

  .announcement-inner a {
    margin-left: 3px
  }
}

.footer-brand {
  margin-top: -15px;
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none
  }
}


/* GLOBAL LAYOUT GRID — one content rail across every page and section */
:root {
  --container-width: 1160px;
  --max: 1160px;
  --page-gutter: clamp(20px, 4.8vw, 48px);
}

body {
  overflow-x: hidden;
  background: var(--cream)
}

.footer-grid,
.copyright,
.page-hero .hero-copy,
.related-inner,
.section-inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container-width));
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.section {
  display: flow-root;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--section-space) 0;
  background: #fffdf8;
}

.section.tint {
  background: linear-gradient(135deg, #f7f4eb 0%, #fbf8ef 55%, #f2eee3 100%)
}

.section.pattern {
  background-color: var(--g)
}

.section>.prose,
.section>.section-head,
.section>.chapters,
.section>.cards,
.section>.cta-band,
.section>.gallery-grid,
.section>.directions,
.section>.contact-grid,
.section>.donation-grid,
.section>.urs-days,
.section>.profile,
.section>.source-note,
.section>.event-list,
.section>.filters,
.section>.faqs,
.section>.privacy-note,
.section>.urs-explorer,
.section>.urs-other-grid,
.section>.urs-visit-inner,
.section>.history-cards,
.section>.visitor-cards,
.section>.gallery-full,
.section>.related-cards {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container-width));
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.section>.prose {
  max-width: var(--container-width)
}

.section>.section-head {
  max-width: var(--container-width)
}

.section>.source-note {
  max-width: var(--container-width)
}

.page-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(44px, 5vw, 64px) 0;
  min-height: 250px;
}

.page-hero .hero-copy {
  max-width: var(--container-width)
}

.page-hero .lead {
  max-width: 760px
}

.hero:not(.page-hero) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(var(--page-gutter), calc((100% - var(--container-width))/2));
  padding-right: max(var(--page-gutter), calc((100% - var(--container-width))/2));
}

.footer {
  width: 100%;
  max-width: none;
  margin: 0
}

.footer-grid,
.copyright {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container-width))
}

.related {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0
}

.related>.related-inner,
.related>.section-head,
.related>.related-cards {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container-width));
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto
}

.section .prose h2,
.section .prose p,
.section .prose ul {
  max-width: none
}

.section .prose {
  margin-left: auto;
  margin-right: auto
}

@media(max-width:700px) {
  :root {
    --page-gutter: 20px
  }

  .section {
    padding: 48px 0
  }

  .page-hero {
    padding: 40px 0;
    min-height: 0
  }

  .section>.prose,
  .section>.section-head,
  .section>.chapters,
  .section>.cards,
  .section>.cta-band,
  .section>.gallery-grid,
  .section>.directions,
  .section>.contact-grid,
  .section>.donation-grid,
  .section>.urs-days,
  .section>.profile,
  .section>.source-note,
  .section>.event-list,
  .section>.faqs,
  .section>.urs-explorer,
  .section>.urs-other-grid,
  .section>.urs-visit-inner {
    width: calc(100% - 40px)
  }
}

/* polish.css: final layer, loaded after styles.css and pages.css.
   One content width and one gutter for header, hero, sections and footer; fixed contrast; calmer rhythm. */
:root {
  --content: 1120px;
  --gutter: max(22px, calc((100% - var(--content))/2));
  --rhythm: clamp(52px, 6.5vw, 92px);
  --muted: #566a60;
  --band-light: #fffdf8;
  --band-tint: #f6f1e4;
  --band-dark: #073b30;
}

/* 1. Container alignment */
.announcement-inner,
.top-inner {
  max-width: 1440px;
  width: 100%;
}

.hero,
.page-hero {
  padding-left: var(--gutter);
  padding-right: var(--gutter)
}

.footer {
  padding-left: var(--gutter);
  padding-right: var(--gutter)
}

.footer-grid,
.copyright {
  max-width: none;
  width: 100%
}

/* 2. Sections become full-width bands, never boxed panels */
.section,
.section.tint,
.section.pattern,
.urs-section,
.urs-visit,
.lamp-remembrance {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section,
.urs-visit {
  padding-top: var(--rhythm);
  padding-bottom: var(--rhythm)
}

.section:not(.tint):not(.pattern):not(.urs-section) {
  background: var(--band-light) !important
}

.section.tint {
  background: var(--band-tint) !important
}

/* two neighbouring bands of the same colour read as one: do not double the gap */
.section:not(.tint):not(.pattern):not(.urs-section)+.section:not(.tint):not(.pattern):not(.urs-section),
.section.tint+.section.tint {
  padding-top: 0
}

.section>*:not(.section-head):not(.home-contact) {
  margin-left: 0 !important;
  margin-right: 0 !important
}

.section>.section-head {
  max-width: 760px !important;
  margin-bottom: 34px
}

.section>.section-head:not(.centered) {
  margin-left: 0 !important;
  margin-right: 0 !important
}

.section>.section-head.centered {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center
}

.section>.cards,
.section>.cta-band,
.section>.gallery-grid,
.section>.directions,
.section>.contact-grid,
.section>.donation-grid,
.section>.profile,
.section>.khadim-featured,
.section>.urs-days,
.section>.map,
.section>.visitor-card,
.section>.faqs,
.section>.event-list {
  max-width: none;
  width: 100%
}

.section>.center,
.section>.filters {
  max-width: none
}

.section>.source-note,
.section>.health {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto
}

.khadim-featured {
  max-width: none
}

/* 3. Text pages: full container width across all inner pages */
.section>.prose {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  display: block
}

.section>.prose>h2 {
  position: static;
  margin: 0 0 18px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25;
  color: var(--primary, #073f32);
  letter-spacing: -.01em
}

.section>.prose>:not(h2) {
  max-width: none
}

.section>.prose>p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.85;
  color: #35493e
}

.section>.prose .checklist,
.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%
}

.checklist li {
  position: relative;
  padding: 2px 0 2px 32px;
  margin: 0;
  color: #35493e;
  font-size: 16.5px;
  line-height: 1.7
}

.checklist li:before {
  content: "✧";
  position: absolute;
  left: 0;
  top: 1px;
  color: #a47b23;
  font-size: 19px;
  line-height: 1.4
}

.chapters {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto
}

@media(max-width:860px) {
  .section>.prose {
    display: block
  }

  .section>.prose>h2 {
    position: static;
    margin-bottom: 16px
  }

  .section>.prose>:not(h2) {
    max-width: none
  }
}

/* 4. Contrast fixes */
.pending {
  color: #8a6a1f
}

.footer .pending,
.hero .pending,
.pattern .pending,
.urs-section .pending {
  color: #f0dca8
}

.donation-grid article p,
.donation-grid article b,
.donation-grid article dd,
.donation-grid article strong {
  color: var(--ink)
}

.donation-grid article .pending {
  color: #8a6a1f
}

.donation-grid article small,
.qr-placeholder small {
  color: #566a60
}

.urs-section .urs-panel .urs-day-date {
  color: #f3dfad;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 10px
}

.urs-section .urs-panel h3 {
  color: #ffffff
}

.urs-section .urs-panel p:not(.urs-day-date) {
  color: #e8efe9
}

.urs-section .urs-panel .urs-time-note {
  color: #f6efdb;
  border-left-color: #d9b96f
}

/* 5. Urs: left-aligned like every other section, tabs and panel share one width */
.urs-section {
  padding-top: var(--rhythm);
  padding-bottom: var(--rhythm)
}

.urs-section>.section-head,
.urs-section>.urs-explorer,
.urs-section>.urs-source-note {
  max-width: none;
  margin-left: 0;
  margin-right: 0
}

.urs-section>.section-head {
  text-align: left;
  max-width: 760px
}

.urs-section>.section-head.centered p {
  margin-left: 0
}

.urs-panels {
  max-width: none;
  margin: 0
}

.urs-panel {
  max-width: none;
  min-height: 0
}

.urs-other-grid {
  max-width: none
}

.urs-visit-inner {
  max-width: none
}

/* 6. Lamps: a visible diya that lights up */
.lamp-remembrance {
  background: var(--band-dark) !important;
  padding-top: var(--rhythm);
  padding-bottom: var(--rhythm);
  text-align: center
}

.lamp-remembrance>* {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto
}

.lamp-remembrance>h2 {
  margin: 0 auto 14px;
  text-align: center;
  width: 100%
}

.lamp-remembrance>p {
  text-align: center;
  width: 100%
}

.lamp-row {
  margin: 38px auto 0;
  gap: clamp(14px, 3.6vw, 38px);
  max-width: 760px
}

.remembrance-lamp {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 74px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: visible;
  transition: transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.remembrance-lamp:hover {
  transform: translateY(-2px);
}

.remembrance-lamp:focus-visible {
  outline: 2px solid #ffd27a;
  outline-offset: 6px;
  border-radius: 8px;
}

.remembrance-lamp .lamp-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

/* Burning Flame Group: anchored smoothly at the wick base */
.remembrance-lamp .lamp-flame-group {
  opacity: 0;
  transform: scale(0.4);
  transform-origin: 22px 33.5px;
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: transform;
}

/* Subtle flame warmth in unlit state on hover */
.remembrance-lamp:hover .lamp-flame-group {
  opacity: 0.35;
  transform: scale(0.85);
}

/* Outer flame body: natural organic fire gradient without harsh outline */
.remembrance-lamp .lamp-flame {
  fill: url(#candleFlameGrad);
  stroke: none;
}

/* Base combustion corona */
.remembrance-lamp .lamp-corona {
  fill: url(#candleCoronaGrad);
  opacity: 0.8;
  pointer-events: none;
}

/* Inner white-hot candle core */
.remembrance-lamp .lamp-flame-core {
  fill: url(#candleCoreGrad);
  opacity: 0.95;
  transform-origin: 22px 30.5px;
  pointer-events: none;
}

/* Diya bowl elements */
.remembrance-lamp .lamp-bowl {
  fill: #80672d;
  fill-opacity: 0.75;
  stroke: #d9b96f;
  stroke-width: 0.8;
  stroke-opacity: 0.5;
  transition: fill 0.35s ease, filter 0.35s ease, stroke 0.35s ease, stroke-opacity 0.35s ease;
}

.remembrance-lamp .lamp-wax-pool {
  fill: #5e461a;
  fill-opacity: 0.8;
  transition: fill 0.35s ease, filter 0.35s ease;
}

.remembrance-lamp .lamp-wick {
  stroke: #22150c;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.remembrance-lamp .lamp-ember {
  fill: #ff4d00;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* ===== CONTINUOUS NATURAL BURNING CANDLE / LAMP LIT EFFECT ===== */
.remembrance-lamp[aria-pressed="true"],
.remembrance-lamp.is-lit {
  filter: drop-shadow(0 -4px 14px rgba(255, 170, 30, 0.35));
}

/* Burning Flame Group: continuously dances and wavers with butter-smooth 60fps GPU acceleration */
.remembrance-lamp[aria-pressed="true"] .lamp-flame-group,
.remembrance-lamp.is-lit .lamp-flame-group {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1);
  transform-box: view-box;
  transform-origin: 22px 34px;
  filter: drop-shadow(0 0 4px #ffffff) drop-shadow(0 0 9px #ffe066) drop-shadow(0 -3px 16px #ff8c00) drop-shadow(0 -6px 26px rgba(255, 77, 0, 0.5));
  animation: smoothFlameBurn 2.1s ease-in-out infinite;
  will-change: transform;
}

/* Inner white-hot core sways in harmony */
.remembrance-lamp[aria-pressed="true"] .lamp-flame-core,
.remembrance-lamp.is-lit .lamp-flame-core {
  opacity: 0.95;
  transform-box: view-box;
  transform-origin: 22px 31px;
  animation: smoothCoreBurn 2.1s ease-in-out infinite;
  filter: drop-shadow(0 0 4px #ffffff) drop-shadow(0 0 8px #fff8cc);
  will-change: transform, opacity;
}

/* Polished Golden Diya Bowl & Melted Wax Glow */
.remembrance-lamp[aria-pressed="true"] .lamp-bowl,
.remembrance-lamp.is-lit .lamp-bowl {
  fill: url(#candleBowlGrad) !important;
  fill-opacity: 1 !important;
  stroke: #ffd478 !important;
  stroke-width: 0.8px !important;
  stroke-opacity: 0.9 !important;
  filter: drop-shadow(0 3px 8px rgba(215, 177, 90, 0.45));
}

.remembrance-lamp[aria-pressed="true"] .lamp-wax-pool,
.remembrance-lamp.is-lit .lamp-wax-pool {
  fill: url(#waxPoolGrad) !important;
  fill-opacity: 1 !important;
  animation: waxGlowFlicker 2.1s ease-in-out infinite;
}

.remembrance-lamp[aria-pressed="true"] .lamp-ember,
.remembrance-lamp.is-lit .lamp-ember {
  opacity: 1;
  filter: drop-shadow(0 0 2px #ff4400) drop-shadow(0 0 4px #ff9900);
}

/* Natural asynchronous timing stagger across the 7 lamps */
.remembrance-lamp:nth-child(1) .lamp-flame-group {
  animation-duration: 2.05s;
  animation-delay: 0s;
}

.remembrance-lamp:nth-child(2) .lamp-flame-group {
  animation-duration: 2.3s;
  animation-delay: -0.45s;
}

.remembrance-lamp:nth-child(3) .lamp-flame-group {
  animation-duration: 1.95s;
  animation-delay: -0.95s;
}

.remembrance-lamp:nth-child(4) .lamp-flame-group {
  animation-duration: 2.45s;
  animation-delay: -1.35s;
}

.remembrance-lamp:nth-child(5) .lamp-flame-group {
  animation-duration: 2.15s;
  animation-delay: -0.7s;
}

.remembrance-lamp:nth-child(6) .lamp-flame-group {
  animation-duration: 2.25s;
  animation-delay: -1.6s;
}

.remembrance-lamp:nth-child(7) .lamp-flame-group {
  animation-duration: 2.1s;
  animation-delay: -0.3s;
}

/* Continuous Smooth Burning Flame Keyframes */
@keyframes smoothFlameBurn {
  0% {
    transform: scale(1, 1) rotate(0deg) skewX(0deg);
  }

  16% {
    transform: scale(0.94, 1.08) rotate(-4.5deg) skewX(-4deg) translateX(-1px);
  }

  34% {
    transform: scale(1.05, 0.93) rotate(3.5deg) skewX(3.5deg) translateX(1px);
  }

  52% {
    transform: scale(0.95, 1.07) rotate(-5.5deg) skewX(-5deg) translateX(-1.5px);
  }

  70% {
    transform: scale(1.04, 0.95) rotate(4deg) skewX(4deg) translateX(1.2px);
  }

  86% {
    transform: scale(0.97, 1.03) rotate(-2deg) skewX(-2deg);
  }

  100% {
    transform: scale(1, 1) rotate(0deg) skewX(0deg);
  }
}

@keyframes smoothCoreBurn {
  0% {
    transform: scale(1, 1) rotate(0deg) skewX(0deg);
    opacity: 0.95;
  }

  20% {
    transform: scale(0.96, 1.06) rotate(-3.5deg) skewX(-3deg);
    opacity: 1;
  }

  42% {
    transform: scale(1.04, 0.95) rotate(2.8deg) skewX(2.5deg);
    opacity: 0.92;
  }

  64% {
    transform: scale(0.96, 1.05) rotate(-4deg) skewX(-3.8deg);
    opacity: 0.98;
  }

  82% {
    transform: scale(1.02, 0.97) rotate(3deg) skewX(2.8deg);
    opacity: 0.93;
  }

  100% {
    transform: scale(1, 1) rotate(0deg) skewX(0deg);
    opacity: 0.95;
  }
}

@keyframes waxGlowFlicker {

  0%,
  100% {
    opacity: 0.88;
    filter: drop-shadow(0 0 2px rgba(255, 200, 70, 0.5));
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(255, 220, 90, 0.8));
  }
}

@media (prefers-reduced-motion: reduce) {

  .remembrance-lamp[aria-pressed="true"] .lamp-flame-group,
  .remembrance-lamp.is-lit .lamp-flame-group,
  .remembrance-lamp[aria-pressed="true"] .lamp-flame-core,
  .remembrance-lamp.is-lit .lamp-flame-core,
  .remembrance-lamp[aria-pressed="true"] .lamp-wax-pool,
  .remembrance-lamp.is-lit .lamp-wax-pool {
    animation: none !important;
  }
}

.lamp-message {
  margin-top: 20px !important;
  text-align: center
}

/* 7. Header and announcement bar on small screens */
@media(max-width:900px) {
  .header-visit {
    display: none
  }
}

@media(max-width:560px) {
  .announcement-inner {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 6px 14px;
    font-size: 11px;
    justify-content: center
  }

  .announcement-inner>span:nth-child(2) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
  }

  .announcement-inner>a {
    flex: none;
    margin-left: 0
  }

  .announcement-mark {
    display: none
  }

  .top-inner {
    padding-left: 14px;
    padding-right: 14px;
    gap: 8px
  }

  .brand {
    min-width: 0;
    max-width: none;
    gap: 8px
  }

  .brand b {
    font-size: 13px;
    white-space: nowrap
  }

  .brand small {
    font-size: 10px;
    white-space: nowrap
  }

  .head-right {
    gap: 8px
  }

  .section,
  .urs-visit {
    padding-top: 46px;
    padding-bottom: 46px
  }
}

/* 8. Small refinements */
.section .cards {
  gap: 18px
}

.cards article {
  display: flex;
  flex-direction: column
}

.cards article .text-btn {
  margin-top: auto;
  padding-top: 10px
}

.section-head .eyebrow,
.section-head .section-subtitle {
  color: #8a6a1f
}

.urs-section .eyebrow,
.pattern .eyebrow,
.hero .eyebrow {
  color: var(--gold2)
}

.cta-band {
  width: 100%
}

@media(prefers-reduced-motion:reduce) {
  .section>.prose>h2 {
    position: static
  }
}

/* 9. Urs: head left-aligned with the tabs, ten tabs in an even grid */
.urs-section>.section-head,
.urs-section>.section-head.centered {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important
}

.urs-section .section-head p {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 620px
}

.urs-tabs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px;
  margin: 26px 0 18px
}

.urs-tab {
  width: 100%
}

@media(max-width:720px) {
  .urs-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important
  }

  .urs-tab:last-child {
    grid-column: 1/-1
  }
}

/* 10. Centered blocks that sit under centered headings */
.section>.faqs {
  max-width: 860px;
  margin-left: auto !important;
  margin-right: auto !important
}

.section>.center {
  text-align: center
}

#events .event-list {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#events .event-item {
  width: 100% !important;
  box-sizing: border-box;
}

/* 11. Mobile header: brand never sits under the buttons */
@media(max-width:900px) {
  .header-visit {
    display: none !important
  }
}

@media(max-width:900px) {
  .top-inner {
    display: flex;
    align-items: center;
    gap: 10px
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0
  }

  .head-right {
    position: static !important;
    flex: none;
    margin-left: auto
  }
}

@media(max-width:720px) {
  .urs-tab:last-child {
    grid-column: auto !important
  }
}

/* ---------- WordPress additions ---------- */
.admin-bar .topbar {
  top: 32px
}

@media(max-width:782px) {
  .admin-bar .topbar {
    top: 46px
  }
}

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

.prose ul:not(.checklist),
.prose ol {
  margin: 6px 0 16px 20px
}

.section>.prose.no-head>* {
  max-width: none
}

.lang-widget,
.lang-slot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 700
}

.lang-slot a {
  color: #fff;
  text-decoration: none
}

.lang-slot a:hover {
  color: var(--gold2)
}

.crumbs p {
  margin: 0
}

.crumbs.rank-math-breadcrumb a {
  color: var(--gold2);
  text-decoration: none
}

.portrait-photo {
  padding: 0;
  overflow: hidden
}

.portrait-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit
}

.alignleft {
  float: left;
  margin: 0 1.4em 1em 0
}

.alignright {
  float: right;
  margin: 0 0 1em 1.4em
}

.aligncenter {
  display: block;
  margin: 0 auto 1em
}

.prose img,
.prose .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px
}

.wp-caption-text,
.wp-element-caption {
  font-size: 13px;
  color: var(--muted)
}

/* 12. Transit & Distance Cards on /visit */
.transit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 10px;
  width: 100%
}

.transit-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(7, 59, 50, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.transit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(7, 59, 50, .09);
  border-color: var(--gold)
}

.transit-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px
}

.transit-card-top br {
  display: none
}

.transit-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f1eb;
  font-size: 20px;
  color: var(--g)
}

.transit-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .02em;
  background: #fbf3dc;
  color: #876214;
  border: 1px solid #e8d7a7
}

.transit-card h3 {
  font-size: 17px;
  color: var(--g);
  margin: 0 0 4px;
  line-height: 1.3;
  font-family: Georgia, serif
}

.transit-meta {
  font-size: 11.5px;
  font-weight: 750;
  color: #9c7324;
  margin: 0 0 9px;
  letter-spacing: .04em;
  text-transform: uppercase
}

.transit-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0
}

@media(max-width:640px) {
  .transit-grid {
    grid-template-columns: 1fr;
    gap: 12px
  }

  .transit-card {
    padding: 16px
  }
}

/* 13. Dual-Channel Enquiry Form Styles */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 2px
}

@media(max-width:560px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0
  }
}

.enquiry-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap
}

.enquiry-actions button {
  flex: 1 1 calc(50% - 5px);
  min-width: 180px;
  padding: 12px 14px;
  font-size: 13px;
  border-radius: 10px;
  justify-content: center
}

.btn.outline-dark {
  background: transparent;
  border: 1.5px solid var(--g2);
  color: var(--g);
  font-weight: 750
}

.btn.outline-dark:hover {
  background: #e8f1eb;
  border-color: var(--g)
}

.btn-action-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
  border: none !important
}

.btn-action-whatsapp:hover {
  background: #1eb757 !important
}

.btn-icon-svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
  flex-shrink: 0
}

.quickbar a svg,
.quickbar button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0
}

.transit-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor
}

.form-note {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted)
}

@media(max-width:520px) {
  .enquiry-actions button {
    flex: 1 1 100%
  }
}

/* 14. Full-Page Enquiry Popup Modal */
.enquiry-modal[hidden] {
  display: none !important
}

.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: #02130fdb;
  box-sizing: border-box
}

.enquiry-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 30, 24, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px)
}

.enquiry-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 100%;
  background: #fbf8ef;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box
}

.enquiry-modal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #073b30;
  color: #fff;
  border-bottom: 2px solid #d7b15a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  padding: max(12px, env(safe-area-inset-top)) 18px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0
}

.enquiry-modal-header-content {
  min-width: 0;
  flex: 1
}

.enquiry-modal-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2
}

.enquiry-modal-subtitle {
  margin: 3px 0 0;
  font-size: 11.5px;
  color: #ebd7a9;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.enquiry-modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(215, 177, 90, 0.6);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: all .15s ease
}

.enquiry-modal-close:hover {
  background: #d7b15a;
  color: #073b30;
  transform: scale(1.06)
}

.enquiry-modal-close svg {
  display: block
}

.enquiry-modal-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 14px max(65px, calc(35px + env(safe-area-inset-bottom)));
  box-sizing: border-box
}

.enquiry-modal-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 4px 20px rgba(5, 42, 35, 0.06);
  box-sizing: border-box
}

.enquiry-modal .enquiry-form {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important
}

.enquiry-modal .enquiry-form .muted {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted)
}

/* Ensure identical styling between contact-grid and enquiry-modal */
.enquiry-modal label,
.enquiry-form label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--g) !important;
  margin: 13px 0 5px !important
}

.enquiry-modal input:not([type=checkbox]),
.enquiry-modal select,
.enquiry-modal textarea,
.enquiry-form input:not([type=checkbox]),
.enquiry-form select,
.enquiry-form textarea {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #cbd8ce !important;
  border-radius: 8px !important;
  padding: 10px 11px !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-size: 14px !important;
  font-family: inherit !important
}

.enquiry-modal input:focus,
.enquiry-modal select:focus,
.enquiry-modal textarea:focus,
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: #bd8c21 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(189, 140, 33, 0.25) !important
}

.enquiry-modal textarea,
.enquiry-form textarea {
  resize: vertical !important;
  min-height: 100px !important
}

.enquiry-modal .consent,
.enquiry-form .consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  margin: 14px 0 16px !important;
  cursor: pointer !important
}

.enquiry-modal .consent input,
.enquiry-form .consent input {
  display: inline-block !important;
  width: auto !important;
  margin-top: 3px !important;
  flex-shrink: 0 !important
}

.enquiry-modal .status,
.enquiry-form .status {
  min-height: 1.3em !important;
  color: var(--g2) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  margin-top: 10px !important
}

@media(min-width:640px) {
  .enquiry-modal-header {
    padding: 16px 26px 14px
  }

  .enquiry-modal-title {
    font-size: 22px
  }

  .enquiry-modal-scroll {
    padding: 28px 20px 60px
  }

  .enquiry-modal-card {
    padding: 30px 28px
  }
}

/* --- Today at the Dargah Timings Widget --- */
.today-timings-section {
  background: linear-gradient(180deg, #fcf9f2 0%, #f7f2e5 100%);
  border-top: 1px solid rgba(215, 177, 90, 0.25);
  border-bottom: 1px solid rgba(7, 63, 50, 0.08);
  padding: 36px 0 42px;
  position: relative;
  overflow: hidden;
}

.today-timings-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.today-timings-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.today-timings-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.today-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.today-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.today-live-pill.is-open {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.today-live-pill.is-closed {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.today-live-pill .live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.today-live-pill.is-open .live-pulse {
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: todayLivePulse 1.8s infinite;
}

.today-live-pill.is-closed .live-pulse {
  background: #f59e0b;
}

@keyframes todayLivePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.today-date-text {
  font-size: 13px;
  color: #5f6b64;
  font-weight: 500;
}

.today-section-title {
  font-family: var(--font-heading, "Playfair Display", Georgia, serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--g2, #073f32);
  margin: 0;
  margin-top: 5px !important;
  line-height: 1.2;
}

.today-next-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(215, 177, 90, 0.4);
  border-left: 4px solid var(--gold, #d7b15a);
  border-radius: 10px;
  padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.today-next-pill .next-tag {
  background: rgba(215, 177, 90, 0.15);
  color: #8f6e1f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: 4px;
}

.today-next-pill .next-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.today-next-pill .next-info strong {
  font-size: 13px;
  color: var(--g2, #073f32);
  font-weight: 700;
}

.today-next-pill .next-info span {
  font-size: 12px;
  color: #64748b;
}

.today-timings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timing-card {
  background: #ffffff;
  border: 1px solid rgba(7, 63, 50, 0.09);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.timing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.timing-card.is-next {
  border-color: var(--gold, #d7b15a);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(215, 177, 90, 0.18);
}

.timing-card.is-active-now {
  border-color: #10b981;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.timing-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.timing-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(215, 177, 90, 0.12);
  color: #8f6e1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timing-card.is-active-now .timing-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.timing-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.timing-tag {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}

.timing-card.is-next .timing-tag {
  background: #fef3c7;
  color: #92400e;
}

.timing-card.is-active-now .timing-tag {
  background: #dcfce7;
  color: #15803d;
}

.timing-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--g2, #073f32);
  margin: 0 0 6px;
  line-height: 1.3;
}

.timing-time {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold, #b89037);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timing-desc {
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

@media (max-width: 992px) {
  .today-timings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .today-timings-section {
    padding: 24px 0 28px;
  }

  .today-timings-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .today-section-title {
    font-size: 22px;
  }

  .today-next-pill {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
  }

  .today-timings-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .timing-card {
    padding: 16px 14px;
  }
}

/* Floating language switcher positioning alongside mobile quickbar and modal */
@media (max-width: 768px) {

  .gt_float_switcher,
  .gtranslate_wrapper {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    transition: bottom 0.2s ease;
  }
}

body.modal-open .gt_float_switcher,
body.modal-open .gtranslate_wrapper {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   HEADER & MOBILE LAYOUT OVERHAUL
   ========================================================================== */

/* 1. Header & Announcement Bar Full Width / Stretched Layout */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(4, 42, 33, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 177, 90, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.topbar .top-inner {
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 10px clamp(16px, 2.5vw, 36px) !important;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  box-sizing: border-box;
}

.announcement-bar {
  position: relative;
  z-index: 101;
  background: #04231b;
  color: #f8f3e5;
  border-bottom: 1px solid rgba(215, 177, 90, 0.22);
  font-size: 12px;
  width: 100%;
}

.announcement-bar .announcement-inner {
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 7px clamp(16px, 2.5vw, 36px) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  box-sizing: border-box;
}

.announcement-inner .announcement-mark {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.announcement-inner .announcement-text {
  min-width: 0;
  color: #f8f3e5;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.announcement-inner a {
  color: var(--gold2);
  font-weight: 700;
  text-decoration: none;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.announcement-inner a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 2. Brand & Logo Display */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.92;
}

.brand-has-logo {
  padding: 2px 0;
}

.brand-picture,
.brand-logo {
  display: block;
}

.brand-logo {
  width: var(--logo-w-desk, 190px);
  height: var(--logo-h-desk, 48px);
  max-height: 64px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  transition: width 0.2s ease, height 0.2s ease;
}

.brand-default {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-default .brand-symbol {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 20px;
  color: var(--gold);
  background: rgba(215, 177, 90, 0.1);
  flex-shrink: 0;
}

.brand-default .brand-text b {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.brand-default .brand-text small {
  display: block;
  font-size: 11px;
  color: #d6e1d8;
  line-height: 1.2;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

/* 3. Header Actions (Right Side) */
.head-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px !important;
  font-size: 13.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0.02em;
  border-radius: 8px !important;
  box-shadow: 0 3px 12px rgba(217, 185, 111, 0.25);
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.header-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(217, 185, 111, 0.4);
}

.header-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  white-space: nowrap;
}

/* 4. Sleek Modern Mobile Menu Button */
.menu {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(215, 177, 90, 0.45);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.menu:hover,
.menu:focus-visible {
  background: rgba(215, 177, 90, 0.16);
  border-color: var(--gold);
  outline: none;
}

.menu-burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
  position: relative;
}

.burger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

.menu:hover .burger-bar {
  background: var(--gold2);
}

/* Morph burger to 'X' close icon when open */
.menu[aria-expanded="true"] {
  background: rgba(215, 177, 90, 0.22);
  border-color: var(--gold);
}

.menu[aria-expanded="true"] .burger-bar:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
  background: var(--gold2);
}

.menu[aria-expanded="true"] .burger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu[aria-expanded="true"] .burger-bar:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
  background: var(--gold2);
}

/* 5. Mobile Layout & Drawer Styling */
@media (max-width: 860px) {

  .desktop-nav,
  .header-visit {
    display: none !important;
  }

  .menu {
    display: inline-flex;
  }

  .topbar .top-inner {
    padding: 8px 14px !important;
    min-height: 60px !important;
    gap: 10px;
  }

  .brand-logo {
    width: var(--logo-w-mob, 135px);
    height: var(--logo-h-mob, 38px);
    max-height: 46px;
  }

  .brand-default .brand-text small {
    display: none;
    /* Hide subtitle on mobile for clean layout */
  }

  .brand-default .brand-text b {
    font-size: 14px;
    white-space: nowrap;
  }

  .brand-default .brand-symbol {
    width: 34px;
    height: 34px;
  }

  .head-right {
    gap: 8px;
    margin-left: auto;
  }

  .header-donate {
    height: 35px;
    padding: 0 13px !important;
    font-size: 13px !important;
    border-radius: 30px !important;
  }

  .menu {
    width: 38px;
    height: 38px;
  }

  .announcement-bar .announcement-inner {
    padding: 6px 12px !important;
    font-size: 11px;
    gap: 6px;
    justify-content: center;
  }

  .announcement-inner .announcement-mark {
    display: none;
  }

  .announcement-inner .announcement-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
  }

  .announcement-inner a {
    margin-left: 0;
  }

  /* Polished Mobile Menu Drawer */
  .mobile-menu {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    background: #042a21 !important;
    border-top: 1px solid rgba(215, 177, 90, 0.28) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5) !important;
    padding: 14px 16px 22px !important;
    max-height: calc(85vh - 65px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    gap: 5px !important;
    animation: mobileMenuSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu[hidden] {
    display: none !important;
  }

  .mobile-menu .mm-label {
    margin: 12px 0 5px !important;
    padding: 0 4px !important;
    color: var(--gold) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
  }

  .mobile-menu a {
    display: flex !important;
    align-items: center !important;
    padding: 11px 14px !important;
    color: #f7f5ed !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.2s ease !important;
    min-height: 42px !important;
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible {
    background: rgba(215, 177, 90, 0.14) !important;
    border-color: rgba(215, 177, 90, 0.4) !important;
    color: var(--gold2) !important;
    transform: translateX(2px);
  }

  .mobile-menu a[aria-current="page"] {
    background: rgba(215, 177, 90, 0.18) !important;
    border-color: var(--gold) !important;
    color: var(--gold2) !important;
    font-weight: 800 !important;
  }

  .mobile-menu .mm-donate {
    margin-top: 10px !important;
    background: linear-gradient(135deg, #d9b96f 0%, #ecd08c 100%) !important;
    color: #052e26 !important;
    border: none !important;
    font-weight: 800 !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(217, 185, 111, 0.3) !important;
  }
}

@keyframes mobileMenuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

/* ==========================================================================
   HOMEPAGE CTA MOBILE LAYOUT FIX
   ========================================================================== */
@media (max-width: 768px) {
  .home-cta-section {
    padding-top: 36px !important;
    padding-bottom: 44px !important;
  }

  .home-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 26px 20px !important;
    gap: 18px !important;
    width: min(calc(100% - 32px), 1140px) !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  .home-contact-content {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .home-contact h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin: 0 0 8px !important;
  }

  .home-contact p:not(.eyebrow) {
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  .home-contact .actions,
  .home-contact-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 4px !important;
  }

  .home-contact .actions .btn,
  .home-contact-actions .btn {
    width: 100% !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    border-radius: 999px !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
  }
}

.mb-2 {
  margin-bottom: 0.5rem;
  /* Equivalent to 8px if your base font size is 16px */
}