/* Preserved D.2 stylesheet; original 9dbdceda1768ed97.css; source provenance in evidence/recovery-provenance.json. */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter,
    Arial,
    sans-serif;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px 80px;
}
header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-sage);
}
header b {
  letter-spacing: .16em;
  color: var(--e);
}
header span {
  font-size: 14px;
}
.hero small,
section > small {
  letter-spacing: .16em;
  color: var(--gold);
  font-weight: 700;
}
h2 {
  font-family: Georgia, serif;
  font-size: 42px;
  margin: 15px 0 30px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
  gap: 24px;
}
.card {
  background: #fffaf1;
  border: 1px solid var(--color-sage);
  border-radius: 22px;
  padding: 18px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: .28s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px #16312b18;
  border-color: var(--color-sage);
}
.photo,
.widephoto {
  background:
    linear-gradient(
      135deg,
      #dce8df,
      var(--color-ivory));
  display: grid;
  place-items: center;
  color: var(--color-forest);
  letter-spacing: .12em;
}
.photo {
  height: 220px;
  border-radius: 15px;
  margin-bottom: 22px;
}
.card h3 {
  font-family: Georgia, serif;
  font-size: 30px;
  margin: 8px 0;
}
.card p {
  line-height: 1.7;
}
.panel,
.success {
  max-width: 720px;
  margin: 20px auto;
  background: #fffaf1;
  border: 1px solid var(--color-sage);
  border-radius: 24px;
  padding: 36px;
  animation: enter .35s ease;
}
.back {
  border: 0;
  background: none;
  color: var(--e);
  cursor: pointer;
  padding: 0 0 24px;
}
label {
  display: block;
  text-transform: capitalize;
  font-size: 13px;
  font-weight: 700;
  margin: 16px 0;
}
input {
  width: 100%;
  margin-top: 8px;
  padding: 15px;
  border: 1px solid var(--color-sage);
  border-radius: 12px;
  background: var(--color-ivory);
  font: inherit;
}
.primary {
  margin-top: 22px;
  border: 0;
  border-radius: 13px;
  background: var(--e);
  color: white;
  padding: 16px 22px;
  cursor: pointer;
  transition: .2s;
}
.primary:hover {
  transform: translateY(-2px);
  background: var(--e2);
}
.primary:disabled {
  opacity: .45;
}
.summary {
  display: flex;
  justify-content: space-between;
  background: #edf1ea;
  border-radius: 14px;
  padding: 18px;
  margin-top: 22px;
}
.success {
  text-align: center;
  padding: 70px 36px;
}
.tick {
  margin: 0 auto 24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--e);
  color: white;
  display: grid;
  place-items: center;
  font-size: 38px;
  animation: pop .35s ease;
}
.success strong {
  display: block;
  color: var(--e);
  margin: 8px 0 20px;
}
@keyframes enter {
  0% {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pop {
  0% {
    transform: scale(.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 700px) {
  main {
    padding: 0 18px 50px;
  }
  .grid,
  .twocol {
    grid-template-columns: 1fr;
  }
  h2 {
    font-size: 34px;
  }
  .panel {
    padding: 24px;
  }
  .summary {
    flex-direction: column;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.trackerror,
.trackresult {
  margin-top: 24px;
  border-radius: 16px;
  padding: 20px;
}
.trackerror {
  background: #f8e9e5;
  color: #7b3027;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.trackresult {
  background: #edf1ea;
  border: 1px solid #d4dfd6;
}
.trackresult h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  margin: 14px 0 8px;
}
.status {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.status,
.status.approved {
  background: var(--color-sage);
}
.status.approved,
.status.pending {
  color: var(--color-forest);
}
.status.pending {
  background: var(--color-ivory);
}
.status.rejected {
  background: #f2d9d5;
  color: #812e25;
}
.status.need_info {
  background: #dce6ef;
  color: #294f70;
}
.adminnote {
  margin-top: 18px;
  padding: 16px;
  background: #fffaf1;
  border-radius: 12px;
  border: 1px solid var(--color-sage);
}
.adminnote p {
  margin-bottom: 0;
}
.adminstats {
  display: flex;
  gap: 14px;
  margin: 24px 0;
}
.adminstats > div {
  min-width: 150px;
  background: #fffaf1;
  border: 1px solid var(--color-sage);
  border-radius: 16px;
  padding: 18px;
}
.adminstats b {
  display: block;
  font-family: Georgia, serif;
  font-size: 32px;
  color: var(--e);
}
.adminstats span {
  font-size: 13px;
  color: var(--color-forest);
}
.filters {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 2px 0 10px;
}
.danger,
.filters button,
.secondary {
  border: 1px solid var(--color-sage);
  background: #fffaf1;
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  text-transform: capitalize;
}
.filters button.active {
  background: var(--e);
  border-color: var(--e);
  color: var(--color-ivory);
}
.adminlist {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  margin-top: 18px;
}
.admincard {
  max-width: none;
  margin: 0;
}
.cardtop {
  justify-content: space-between;
  gap: 12px;
}
.adminactions,
.cardtop {
  display: flex;
  align-items: center;
}
.adminactions {
  gap: 10px;
  flex-wrap: wrap;
}
.adminactions .primary {
  margin-top: 0;
}
.danger {
  color: #812e25;
  border-color: #dcbab5;
}
.modalback {
  position: fixed;
  inset: 0;
  background: #102a257a;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 50;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.modal {
  width: min(560px, 100%);
  background: #fffaf1;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 24px 80px #102a2540;
}
.modal textarea {
  width: 100%;
  min-height: 130px;
  margin-top: 8px;
  padding: 15px;
  border: 1px solid var(--color-sage);
  border-radius: 12px;
  background: var(--color-ivory);
  font: inherit;
  resize: vertical;
}
@media (max-width: 700px) {
  .adminstats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .adminstats > div {
    min-width: 0;
  }
  .cardtop {
    align-items: flex-start;
    flex-direction: column;
  }
  .adminactions > * {
    flex: 1 1;
  }
  .modal {
    padding: 24px;
  }
}
.card {
  overflow: hidden;
}
.card .photo {
  transition: transform .35s ease, filter .35s ease;
}
.card:hover .photo {
  transform: scale(1.018);
  filter: saturate(1.05);
}
.panel p {
  line-height: 1.65;
  color: var(--color-forest);
}
.panel h2 {
  line-height: 1.08;
}
.modal textarea:focus,
.panel input:focus {
  outline: 3px solid #b99a5d2e;
  border-color: var(--gold);
}
.primary {
  min-height: 50px;
}
.back,
.navtrack {
  min-height: 44px;
}
.success {
  position: relative;
  overflow: hidden;
}
.success:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 0,
      #dce8df80,
      transparent 42%);
  pointer-events: none;
}
.success > * {
  position: relative;
}
.success strong {
  padding: 12px 18px;
  background: #edf1ea;
  border-radius: 12px;
  width: max-content;
  max-width: 100%;
  margin: 10px auto 22px;
  letter-spacing: .04em;
}
@media (max-width: 700px) {
  header {
    height: 72px;
  }
  .grid {
    gap: 16px;
  }
  .card {
    padding: 14px;
    border-radius: 18px;
  }
  .photo {
    height: 180px;
    margin-bottom: 18px;
  }
  .card h3 {
    font-size: 27px;
  }
  .panel,
  .success {
    border-radius: 20px;
    margin: 12px auto;
    padding: 22px;
  }
  .panel h2,
  .success h2 {
    font-size: 32px;
    margin-bottom: 22px;
  }
  .success {
    padding: 46px 22px;
  }
  .summary {
    padding: 15px;
  }
  .primary {
    width: 100%;
    font-size: 15px;
  }
  header b {
    font-size: 13px;
  }
  input {
    font-size: 16px;
  }
  .card b {
    display: block;
    margin-top: 4px;
  }
  .tick {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }
}
.fieldhint {
  margin-top: 7px;
  font-weight: 500;
  text-transform: none;
  line-height: 1.4;
}
.fieldhint,
.venueimg {
  display: block;
  letter-spacing: 0;
}
.venueimg {
  width: 100%;
}
.card img.photo,
.venueimg {
  object-fit: cover;
}
.panel > .back + small {
  display: block;
  margin-top: 6px;
}
@media (max-width: 700px) {
  .panel > .back {
    display: block;
    padding-bottom: 14px;
  }
  .panel > .back + small {
    margin-top: 2px;
    margin-bottom: 18px;
  }
}
.cardaction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--e);
  color: var(--color-ivory);
  font-weight: 800;
  transition: .2s ease;
}
.card:hover .cardaction {
  background: var(--e2);
  transform: translateX(2px);
}
.cardaction span {
  font-size: 20px;
  line-height: 1;
}
.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
  gap: 10px;
}
@media (max-width: 700px) {
  .slots {
    grid-template-columns: repeat(2, 1fr);
  }
}
.timeselects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 14px;
  gap: 14px;
}
.timeselects select {
  width: 100%;
  margin-top: 8px;
  padding: 15px;
  border: 1px solid var(--color-sage);
  border-radius: 12px;
  background: var(--color-ivory);
  font: inherit;
  color: var(--ink);
}
.timeselects select:focus {
  outline: 3px solid #b99a5d2e;
  border-color: var(--gold);
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.dot.available {
  background: var(--e2);
}
.dot.full {
  background: #a96a62;
}
@media (max-width: 700px) {
  .timeselects {
    grid-template-columns: 1fr;
  }
}
.calendarpanel {
  max-width: 780px;
}
.calnav {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  margin: 28px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--color-sage);
}
.calnav b {
  text-align: center;
  font-family: Georgia, serif;
  font-size: 24px;
}
.calnav button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--e);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}
.calnav button:hover {
  background: #edf1ea;
}
.monthgrid,
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 7px;
  gap: 7px;
}
.weekdays span {
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--color-forest);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.calday {
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: .18s;
}
.calday span {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
}
.calday.available:hover,
.calday.limited:hover {
  background: #edf1ea;
  border-color: var(--color-sage);
}
.calday.limited {
  background: var(--color-ivory);
  border-color: var(--color-sage);
}
.calday.full,
.calday.limited span {
  color: var(--color-muted);
}
.calday.full {
  background: #eeeae4;
  cursor: not-allowed;
}
.calday.full span {
  color: #a45b52;
}
.calday.past {
  color: var(--color-sage);
  cursor: not-allowed;
}
.calday.selected {
  background: var(--e) !important;
  color: var(--color-ivory) !important;
  border-color: var(--e) !important;
  box-shadow: 0 8px 22px #073f3525;
}
.calday.selected span {
  color: var(--color-ivory);
}
.callegend {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 18px 0 4px;
  font-size: 11px;
  color: var(--color-forest);
}
.callegend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot.limited {
  background: var(--color-sage);
}
.dayavailability {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-sage);
}
.dayavailability h3 {
  font-family: Georgia, serif;
  font-size: 27px;
  margin: 8px 0 18px;
}
.dayavailability > small {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .12em;
}
@media (max-width: 700px) {
  .calendarpanel {
    padding: 22px 18px;
  }
  .monthgrid,
  .weekdays {
    gap: 4px;
  }
  .calday {
    border-radius: 10px;
  }
  .calday b {
    font-size: 15px;
  }
  .calday span {
    font-size: 7px;
  }
  .calnav {
    margin-top: 22px;
  }
  .dayavailability h3 {
    font-size: 23px;
  }
}
.addslot {
  margin-top: 22px;
  margin-right: 10px;
  border-radius: 13px;
}
.extraslots {
  margin-bottom: 24px;
  padding: 16px;
  background: #edf1ea;
  border-radius: 14px;
}
.extraslots > b {
  display: block;
  margin-bottom: 10px;
}
.extraslots > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #d4dfd6;
}
.extraslots button {
  border: 0;
  background: transparent;
  color: #812e25;
  font-weight: 700;
  cursor: pointer;
}
.multirefs {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin: 10px auto 22px;
}
.multirefs strong {
  margin: 0 auto;
}
body {
  background:
    radial-gradient(
      ellipse 70% 35% at 95% 0,
      #e6ecdf 0,
      transparent 80%),
    var(--cream);
}
.grid {
  perspective: 1400px;
  align-items: stretch;
}
.card {
  transform-style: preserve-3d;
  transform-origin: center bottom;
  will-change: transform;
  transition:
    transform .6s var(--motion-ease),
    box-shadow .6s var(--motion-ease),
    border-color .3s;
}
.card:hover {
  transform: translateY(-9px) rotateX(2deg);
  box-shadow: 0 28px 70px #173d332b;
}
.card .photo {
  height: clamp(220px, 24vw, 310px);
  transition: transform .7s var(--motion-ease), filter .5s;
  transform-origin: center;
}
.card:hover .photo {
  transform: scale(1.045);
}
.cardaction {
  transition: transform .35s var(--motion-ease), background .2s;
}
.back:focus-visible,
.card:focus-visible,
.primary:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 4px;
}
.panel,
.success {
  animation: mydinSlide .55s var(--motion-ease) both;
}
@keyframes mydinSlide {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 700px) {
  .card .photo {
    height: 200px;
  }
  .card:hover {
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero:after,
  .panel,
  .success {
    animation: none !important;
  }
  .card,
  .card .photo,
  .widephoto {
    transition: none !important;
    transform: none !important;
  }
}
.booking-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-gap: 9px;
  gap: 9px;
  max-width: 860px;
  margin: 0 auto 24px;
  padding: 0 8px;
}
.booking-progress-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  white-space: nowrap;
}
.booking-progress-number {
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-sage);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fffaf1;
  color: var(--color-forest);
  flex: none;
  transition:
    background .35s,
    color .35s,
    transform .35s;
}
.booking-progress-item.current {
  color: var(--e);
}
.booking-progress-item.current .booking-progress-number {
  background: var(--e);
  border-color: var(--e);
  color: white;
  transform: scale(1.12);
  box-shadow: 0 5px 16px #073f3525;
}
.booking-progress-item.done .booking-progress-number {
  background: var(--color-sage);
  border-color: var(--color-sage);
  color: var(--color-forest);
}
@media (max-width: 700px) {
  .booking-progress {
    gap: 3px;
    margin: 16px auto 24px;
    padding: 0;
  }
  .booking-progress-item {
    flex-direction: column;
    gap: 5px;
    font-size: 9px;
    text-align: center;
    white-space: normal;
  }
  .booking-progress-number {
    width: 28px;
    height: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking-progress-number {
    transition: none !important;
    transform: none !important;
  }
}
.venue-explorer {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid var(--color-sage);
  border-radius: 22px;
  background: #f7f4eb;
}
.explorer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.explorer-top span {
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 800;
}
.explorer-top small,
.explorer-top span {
  color: var(--color-forest);
}
.explorer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.explorer-modes,
.explorer-rotate {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.explorer-controls button {
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--color-sage);
  background: white;
  color: var(--color-forest);
  cursor: pointer;
  font-weight: 700;
  min-height: 42px;
}
.explorer-controls button[aria-pressed=true] {
  background: var(--color-forest);
  color: white;
  border-color: var(--color-forest);
}
.explorer-controls button:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 2px;
}
.explorer-modes span {
  font-size: 12px;
  color: var(--color-forest);
}
@media (max-width: 700px) {
  .venue-explorer {
    padding: 12px;
  }
  .explorer-controls {
    align-items: stretch;
    flex-direction: column;
  }
}
.explorer-view-tabs {
  display: flex;
  gap: 7px;
  margin: 12px 0 14px;
  flex-wrap: wrap;
}
.explorer-view-tabs button {
  border: 1px solid var(--color-sage);
  border-radius: 999px;
  background: #fffaf1;
  color: var(--color-forest);
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.explorer-view-tabs button[aria-pressed=true] {
  background: var(--color-forest);
  color: var(--color-ivory);
  border-color: var(--color-forest);
}
.explorer-view-tabs button:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 2px;
}
.explorer-actual-photo {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  background: var(--color-sage);
  border-radius: 15px;
}
.explorer-accuracy {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-forest);
  margin: 12px 2px 0;
}
@media (max-width: 700px) {
  .explorer-actual-photo {
    max-height: 300px;
  }
  .explorer-view-tabs button {
    flex: 1 1;
  }
  .explorer-top small {
    line-height: 1.4;
  }
}
.explorer-photo-unavailable {
  padding: 38px 22px;
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--color-ivory);
  color: var(--color-forest);
  border: 1px dashed var(--color-sage);
  border-radius: 14px;
  line-height: 1.5;
}
#available-spaces {
  scroll-margin-top: 25px;
}
.venue-load-error {
  margin: 20px 0;
  padding: 22px;
  border: 1px solid var(--color-sage);
  border-radius: 15px;
  background: var(--color-ivory);
  color: var(--color-forest);
}
.venue-load-error p {
  margin: 0 0 14px;
}
.venue-load-error button {
  padding: 11px 17px;
  border-radius: 9px;
  background: var(--color-forest);
  color: var(--color-ivory);
  border: 0;
  min-height: 44px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.venue-load-error button:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 3px;
}
.availability-note {
  margin: 16px 0;
  padding: 14px 17px;
  border: 1px solid var(--color-sage);
  background: #edf3ec;
  border-radius: 12px;
  color: var(--color-forest);
  line-height: 1.5;
}
.availability-note button {
  border: 1px solid var(--color-forest);
  background: white;
  border-radius: 8px;
  padding: 10px 15px;
  color: var(--color-forest);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.community-section {
  margin: 48px 0 54px;
}
.community-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.community-heading small {
  font-size: 12px;
  letter-spacing: .17em;
  color: var(--color-muted);
  font-weight: 800;
}
.community-heading h2 {
  font-size: clamp(30px, 4vw, 54px);
  margin: 7px 0 9px;
  line-height: 1.1;
  color: var(--color-forest);
}
.community-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--color-forest);
  line-height: 1.65;
}
.community-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.community-filter button {
  border: 1px solid var(--color-sage);
  background: transparent;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 44px;
  color: var(--color-forest);
  font: inherit;
  cursor: pointer;
}
.community-filter button[aria-pressed=true] {
  background: var(--color-forest);
  color: var(--color-ivory);
  border-color: var(--color-forest);
}
.community-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  grid-gap: 13px;
  gap: 13px;
}
.community-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 16px;
  background: var(--color-sage);
  cursor: zoom-in;
  text-align: left;
}
.community-photo-0,
.community-photo-5 {
  grid-column: span 2;
  grid-row: span 2;
}
.community-photo-3 {
  grid-row: span 2;
}
.community-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .8, .2, 1);
}
.community-photo:hover img {
  transform: scale(1.055);
}
.community-photo:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0, 20, 17, .75));
  pointer-events: none;
}
.community-photo span {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  left: 17px;
  right: 15px;
  color: var(--color-ivory);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.community-photo span small {
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--color-sage);
}
.community-photo span strong {
  font-size: clamp(13px, 1.3vw, 18px);
  line-height: 1.3;
}
.community-filter button:focus-visible,
.community-photo:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 3px;
}
.community-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(2, 20, 17, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 45px 12px 22px;
}
.community-lightbox figure {
  margin: 0;
  max-width: min(85vw, 1200px);
  max-height: 85vh;
  text-align: center;
  color: var(--color-ivory);
}
.community-lightbox figure img {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  margin: auto;
  border-radius: 8px;
}
.community-lightbox figcaption {
  margin-top: 12px;
  color: var(--color-sage);
  font-size: 14px;
}
.community-lightbox button {
  border: 1px solid #ffffff66;
  background: #ffffff1b;
  color: var(--color-ivory);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 28px;
  cursor: pointer;
  flex-shrink: 0;
}
.community-close {
  position: absolute;
  right: 22px;
  top: 18px;
}
@media (max-width: 720px) {
  .community-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 145px;
    gap: 9px;
  }
  .community-photo-0,
  .community-photo-5 {
    grid-column: span 2;
    grid-row: span 2;
  }
  .community-photo-3 {
    grid-row: span 1;
  }
  .community-section {
    margin: 34px 0;
  }
  .community-lightbox {
    gap: 4px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .community-lightbox figure {
    max-width: calc(100vw - 102px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .community-photo img {
    transition: none;
  }
  .community-photo:hover img {
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .community-gallery .community-photo {
    opacity: 0;
    transform: translateY(30px) scale(.985);
    transition: opacity .65s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
  }
  .community-gallery.is-visible .community-photo {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .community-gallery.is-visible .community-photo:nth-child(2n) {
    transition-delay: .11s;
  }
  .community-gallery.is-visible .community-photo:nth-child(3n) {
    transition-delay: .19s;
  }
  .community-gallery.is-visible .community-photo:nth-child(5n) {
    transition-delay: .26s;
  }
}
#community-highlights {
  scroll-margin-top: 24px;
}
.mosque-webgl {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 37%;
  pointer-events: auto;
  opacity: .76;
  mix-blend-mode: screen;
}
.mosque-webgl canvas {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 700px) {
  .mosque-webgl {
    inset: 4% -35% 8% 18%;
    opacity: .38;
    pointer-events: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mosque-webgl {
    display: none;
  }
}
.venue-webgl-wrap {
  position: relative;
  border: 1px solid var(--color-sage);
  border-radius: 15px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 60% 28%,
      #e7eee8,
      #d4e0d7 65%,
      var(--color-sage));
}
.venue-webgl-canvas {
  width: 100%;
  height: clamp(280px, 40vw, 440px);
  cursor: -webkit-grab;
  cursor: grab;
  touch-action: pan-y;
  display: grid;
  place-items: center;
}
.venue-webgl-canvas:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.venue-webgl-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.venue-webgl-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
  padding: 10px 12px;
  background: #f9f6ef;
}
.venue-webgl-controls span {
  flex: 1 1;
  min-width: 140px;
  font-size: 11px;
  color: var(--color-forest);
  line-height: 1.4;
}
.venue-webgl-controls button {
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--color-sage);
  border-radius: 8px;
  background: #fffaf1;
  color: var(--color-forest);
  font-size: 16px;
  cursor: pointer;
}
.venue-webgl-controls button:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .venue-webgl-canvas {
    height: 300px;
  }
}
#community-highlights {
  position: relative;
  margin: 68px calc(50% - 50vw) 0;
  padding: 72px max(24px, calc((100vw - 1180px)/2)) 80px;
  background:
    linear-gradient(
      135deg,
      var(--color-forest) 0,
      #242b2b 70%,
      var(--color-forest) 100%);
  color: #f8f6ef;
  box-shadow: inset 0 1px rgba(255, 255, 255, .09);
}
#community-highlights:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 92% 8%,
      rgba(197, 166, 111, .1),
      transparent 40%);
}
#community-highlights .community-section {
  position: relative;
  margin: 0;
}
#community-highlights .community-heading h2 {
  color: #f8f6ef;
}
#community-highlights .community-heading p {
  color: #d4ddda;
}
#community-highlights .community-heading small {
  color: var(--color-sage);
}
#community-highlights .community-filter button {
  color: var(--color-ivory);
  border-color: var(--color-muted);
  background: rgba(255, 255, 255, .06);
}
#community-highlights .community-filter button[aria-pressed=true] {
  background: var(--color-sage);
  color: var(--color-forest);
  border-color: var(--color-sage);
}
#community-highlights .community-photo {
  background: var(--color-forest);
}
#community-highlights .community-photo img {
  image-rendering: auto;
}
@media (max-width: 700px) {
  #community-highlights {
    margin-top: 46px;
    padding: 52px 20px 60px;
  }
}
.donation-amounts button[aria-pressed=true],
.donation-frequency button[aria-pressed=true] {
  background: var(--color-forest);
  color: white;
  border-color: var(--color-forest);
}
.donate-home-band {
  background: var(--color-forest);
  color: white;
  padding: 36px;
  border-radius: 22px;
  margin: 44px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.donate-home-band h2 {
  color: var(--color-ivory);
  margin: 8px 0;
  font-size: 34px;
}
.donate-home-band p {
  margin: 0;
  color: #e1e9e1;
}
.donate-home-band a {
  white-space: nowrap;
  background: var(--color-sage);
  padding: 15px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 760px) {
  .donate-home-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
  }
}
.cinematic-atmosphere,
.cinematic-video,
.cinematic-video-tint,
.mosque-webgl,
.mosque-webgl canvas {
  pointer-events: none !important;
}
a,
button {
  touch-action: manipulation;
}
.cinematic-hero .cinematic-actions a,
.cinematic-hero .cinematic-actions button,
.donate-home-band a,
.donation-amounts button,
.donation-frequency button,
.donation-paynow button,
.donation-primary {
  transition:
    transform .35s cubic-bezier(.2, .85, .2, 1),
    box-shadow .35s ease,
    background-color .35s ease,
    border-color .35s ease,
    filter .35s ease;
}
.cinematic-hero .cinematic-actions a:hover,
.cinematic-hero .cinematic-actions button:hover,
.donate-home-band a:hover,
.donation-primary:not(:disabled):hover {
  transform: translateY(-3px);
  filter: brightness(1.045);
  box-shadow: 0 12px 30px #0003;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  a,
  button {
    transition: none !important;
  }
}
html {
  scroll-behavior: smooth;
}
a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a,
button {
  transition:
    background-color .28s cubic-bezier(.2, .8, .2, 1),
    color .28s cubic-bezier(.2, .8, .2, 1),
    border-color .28s cubic-bezier(.2, .8, .2, 1),
    box-shadow .35s cubic-bezier(.2, .8, .2, 1),
    transform .35s cubic-bezier(.2, .8, .2, 1),
    opacity .28s ease;
}
a:active,
button:active {
  transform: scale(.975);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-sage);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  :after,
  :before {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  background: var(--pearl);
  color: var(--deep-emerald);
}
#available-spaces {
  scroll-margin-top: 100px;
}
#available-spaces > h2 {
  color: var(--deep-emerald);
}
#available-spaces .card {
  background: var(--color-ivory);
  border-color: #e3e6de;
}
#available-spaces .card:hover {
  border-color: var(--color-sage);
}
body {
  background: var(--madar-pearl);
}
.madar-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(810px, 88vh);
  border-radius: 28px;
  background:
    radial-gradient(
      ellipse at 80% 35%,
      var(--color-forest) 0,
      transparent 46%),
    radial-gradient(
      ellipse at 12% 90%,
      var(--color-forest) 0,
      transparent 52%),
    linear-gradient(
      135deg,
      var(--color-forest),
      var(--color-forest) 58%,
      var(--color-forest));
  color: #f7f5ed;
  margin: 14px 0 0;
  padding: 32px clamp(24px, 4.4vw, 76px) 25px;
}
.madar-home:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 89px,
      #e2d1a43b 90px),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 89px,
      #e2d1a421 90px);
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 8%,
      #000);
  mask-image:
    linear-gradient(
      90deg,
      transparent 8%,
      #000);
}
.madar-home-glow {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  right: -10%;
  top: -38%;
  border-radius: 50%;
  border: 1px solid #d6c08c50;
  box-shadow: 0 0 0 90px #b7a3760b, 0 0 0 180px #b7a37608;
  pointer-events: none;
}
.madar-home-bottom,
.madar-home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 2;
}
.madar-eyebrow,
.madar-home-bottom,
.madar-home-index {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .22em;
}
.madar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-sage);
}
.madar-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sage);
  box-shadow: 0 0 15px var(--color-sage);
}
.madar-home-index {
  color: var(--color-sage);
}
.madar-home-content {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  grid-gap: clamp(20px, 4vw, 64px);
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  min-height: 640px;
}
.madar-home-copy {
  position: relative;
  z-index: 2;
  padding: 38px 0 42px;
}
.madar-overline {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .23em;
  color: var(--color-sage);
  display: flex;
  align-items: center;
  gap: 20px;
}
.madar-overline span {
  font-size: 25px;
}
.madar-home h1 {
  font-family: Georgia, serif;
  font-size: clamp(56px, 6.1vw, 108px);
  line-height: 1.015;
  font-weight: 400;
  letter-spacing: -.065em;
  margin: 28px 0 27px;
  color: #faf8f0;
}
.madar-home h1 em {
  color: var(--color-sage);
  font-weight: 400;
}
.madar-home-copy > p {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-sage);
}
.madar-home-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 33px;
}
.madar-home-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  min-height: 53px;
  border-radius: 100px;
  padding: 13px 22px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform .4s,
    background .4s,
    box-shadow .4s;
}
.madar-pill-primary {
  background: var(--color-sage);
  color: var(--color-forest);
}
.madar-pill-outline {
  border: 1px solid #c8d7c49c;
  color: #f5f7f0;
}
.madar-home-actions a:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px #00170f40;
}
.madar-visual {
  height: clamp(400px, 42vw, 570px);
  position: relative;
  isolation: isolate;
  border-radius: 250px 250px 20px 20px;
  border: 1px solid #d8bc8180;
  padding: 11px;
  transform: translateY(18px);
  box-shadow: 0 35px 90px #001b1740;
}
.madar-visual-photo {
  position: absolute;
  inset: 11px;
  border-radius: 240px 240px 12px 12px;
  background:
    linear-gradient(
      180deg,
      #092b2130,
      #082b24aa),
    url(/media/mihrab.jpg) center 47%/cover no-repeat;
}
.madar-visual-arch {
  position: absolute;
  inset: -18px 28px 27px;
  border: 1px solid #e0c68a6b;
  border-radius: 240px 240px 16px 16px;
  pointer-events: none;
}
.madar-visual-star {
  position: absolute;
  right: -20px;
  top: 27%;
  color: var(--color-sage);
  font-size: 46px;
  text-shadow: 0 0 30px var(--color-sage);
}
.madar-photo-label {
  position: absolute;
  bottom: 32px;
  left: 34px;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--color-ivory);
  font-weight: 800;
}
.madar-home-bottom,
.madar-home-bottom a {
  color: var(--color-sage);
}
.madar-home-bottom a {
  text-decoration: none;
}
@media (max-width: 900px) {
  .madar-home-content {
    grid-template-columns: 1fr .9fr;
    gap: 22px;
  }
  .madar-home h1 {
    font-size: clamp(47px, 6vw, 78px);
  }
  .madar-visual {
    height: 430px;
  }
}
@media (max-width: 700px) {
  .madar-home {
    min-height: 0;
    padding: 25px 23px 22px;
    border-radius: 22px;
  }
  .madar-home-index {
    display: none;
  }
  .madar-home-content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .madar-home-copy {
    padding: 58px 0 25px;
  }
  .madar-home h1 {
    font-size: clamp(52px, 12vw, 78px);
    margin: 20px 0;
  }
  .madar-home-copy > p {
    font-size: 15px;
  }
  .madar-visual {
    height: 370px;
    width: min(100%, 400px);
    margin: 8px auto 40px;
    transform: none;
  }
  .madar-home-bottom {
    font-size: 8px;
    letter-spacing: .12em;
  }
  .madar-home-actions a {
    min-height: 48px;
    padding: 11px 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .madar-home-actions a,
  .madar-tile,
  .madar-tile:before {
    transition: none !important;
  }
}
.mydin-about,
.mydin-programmes {
  scroll-margin-top: 105px;
}
.mydin-about {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1.3fr 1fr;
  grid-gap: 25px;
  gap: 25px;
  align-items: center;
  margin: 25px 0 55px;
  padding: 60px clamp(24px, 4vw, 65px);
  border-radius: 26px;
  background: #e9eee6;
}
.mydin-about-mark {
  font-size: 80px;
  color: var(--color-sage);
}
.mydin-section-label {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .22em;
  color: var(--color-muted);
}
.mydin-about h2,
.mydin-programmes h2 {
  font-family: Georgia, serif;
  font-size: clamp(35px, 4.1vw, 62px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.12;
  color: var(--color-forest);
  margin: 15px 0 0;
}
.mydin-about h2 em,
.mydin-programmes h2 em {
  font-weight: 400;
  color: var(--color-muted);
}
.mydin-about-detail p,
.mydin-programmes-head > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-forest);
}
.mydin-about-detail a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--color-forest);
  padding: 12px 0;
  color: var(--color-forest);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.mydin-programmes {
  padding: 40px 0 78px;
}
@media (max-width: 1050px) {
  .mydin-about {
    grid-template-columns: 70px 1fr;
  }
  .mydin-about-detail {
    grid-column: 2;
  }
}
@media (max-width: 700px) {
  .mydin-about {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 32px 25px;
  }
  .mydin-about-mark {
    font-size: 42px;
  }
  .mydin-about-detail {
    grid-column: auto;
  }
  .mydin-programmes {
    padding: 35px 0 55px;
  }
}
body:has(.madar-home) {
  color: #f7f4e9;
}
body:has(.madar-home) main {
  background:
    radial-gradient(
      ellipse at 85% 12%,
      var(--color-forest) 0,
      transparent 36%),
    radial-gradient(
      ellipse at 8% 60%,
      var(--color-forest) 0,
      transparent 44%),
    linear-gradient(
      180deg,
      var(--color-forest) 0,
      var(--color-forest) 54%,
      var(--color-forest) 100%);
  color: #f7f4e9;
}
body:has(.madar-home) .madar-home {
  background:
    radial-gradient(
      ellipse at 80% 35%,
      var(--color-forest) 0,
      transparent 46%),
    linear-gradient(
      135deg,
      var(--color-forest),
      var(--color-forest) 58%,
      var(--color-forest));
  border: 1px solid #d8c18d35;
}
body:has(.madar-home) #available-spaces > h2,
body:has(.madar-home) .madar-explore-header h2,
body:has(.madar-home) .mydin-about h2,
body:has(.madar-home) .mydin-programmes h2 {
  color: #f8f5eb;
}
body:has(.madar-home) .madar-explore-header p,
body:has(.madar-home) .mydin-about-detail p,
body:has(.madar-home) .mydin-programmes-head > p {
  color: var(--color-sage);
}
body:has(.madar-home) .madar-explore-header h2 em,
body:has(.madar-home) .mydin-about h2 em,
body:has(.madar-home) .mydin-programmes h2 em {
  color: var(--color-sage);
}
body:has(.madar-home) .madar-explore-kicker,
body:has(.madar-home) .mydin-section-label {
  color: var(--color-sage);
}
body:has(.madar-home) .mydin-about {
  background:
    radial-gradient(
      circle at 12% 40%,
      var(--color-forest) 0,
      transparent 42%),
    linear-gradient(
      135deg,
      var(--color-forest),
      var(--color-forest));
  border: 1px solid #d9c68a3b;
  box-shadow: 0 22px 65px #001a1433;
}
body:has(.madar-home) .mydin-about-mark {
  color: var(--color-sage);
}
body:has(.madar-home) .mydin-about-detail a {
  color: var(--color-sage);
  border-color: var(--color-sage);
}
body:has(.madar-home) #available-spaces {
  background: transparent;
}
body:has(.madar-home) #available-spaces .card {
  background: #f7f5eb;
  color: var(--color-forest);
}
body:has(.madar-home) #community-highlights {
  background:
    radial-gradient(
      ellipse at 90% 5%,
      var(--color-forest),
      transparent 48%),
    linear-gradient(
      140deg,
      var(--color-forest),
      var(--color-forest) 80%);
  border-top: 1px solid #d9c68a26;
  border-bottom: 1px solid #d9c68a26;
}
body:has(.madar-home) .donate-home-band {
  background:
    linear-gradient(
      115deg,
      var(--color-forest),
      var(--color-forest));
  border: 1px solid #d8c18d45;
  color: #f7f4e9;
}
body:has(.madar-home) .donate-home-band h2,
body:has(.madar-home) .donate-home-band p {
  color: #f7f4e9;
}
@media (max-width: 700px) {
  body:has(.madar-home) .mydin-about {
    padding: 32px 25px;
  }
}
body:has(.madar-home) {
  background: #f7f4ec;
}
body:has(.madar-home) main {
  background:
    radial-gradient(
      ellipse at 88% 8%,
      var(--color-forest) 0,
      transparent 34%),
    linear-gradient(
      180deg,
      var(--color-forest) 0,
      var(--color-forest) 24%,
      #f7f4ec 39%,
      #f7f4ec 64%,
      var(--color-forest) 84%,
      var(--color-forest) 100%);
}
body:has(.madar-home) .madar-home {
  background:
    radial-gradient(
      ellipse at 83% 25%,
      var(--color-forest) 0,
      transparent 40%),
    radial-gradient(
      ellipse at 12% 80%,
      var(--color-forest) 0,
      transparent 48%),
    linear-gradient(
      135deg,
      #241d19,
      #3d3028 53%,
      var(--color-forest));
  border: 1px solid #e6d2ac3f;
  box-shadow: 0 28px 65px #2b1f1a36;
}
body:has(.madar-home) .madar-home:after {
  inset: 0;
  opacity: .14;
  background:
    repeating-linear-gradient(
      115deg,
      transparent,
      transparent 34px,
      #e5d0a711 36px,
      #e5d0a711 38px,
      transparent 42px),
    radial-gradient(
      ellipse at 65% 65%,
      #fff3db24,
      transparent 60%);
  mix-blend-mode: screen;
}
body:has(.madar-home) .madar-visual {
  transform: translateY(18px) perspective(900px) rotateY(-5deg);
  box-shadow: -26px 34px 65px #0a0a093d, 12px -12px 55px #d3ae7940;
}
body:has(.madar-home) .madar-explore-header h2,
body:has(.madar-home) .mydin-about h2,
body:has(.madar-home) .mydin-programmes h2 {
  color: var(--color-forest);
}
body:has(.madar-home) .madar-explore-header h2 em,
body:has(.madar-home) .mydin-about h2 em,
body:has(.madar-home) .mydin-programmes h2 em {
  color: var(--color-muted);
}
body:has(.madar-home) .madar-explore-header p,
body:has(.madar-home) .mydin-about-detail p,
body:has(.madar-home) .mydin-programmes-head > p {
  color: var(--color-forest);
}
body:has(.madar-home) .madar-explore-kicker,
body:has(.madar-home) .mydin-section-label {
  color: var(--color-muted);
}
body:has(.madar-home) .mydin-about {
  background:
    radial-gradient(
      ellipse at 8% 30%,
      var(--color-sage) 0,
      transparent 42%),
    linear-gradient(
      135deg,
      #fdfbf5,
      var(--color-sage));
  border: 1px solid var(--color-sage);
  box-shadow: 0 18px 42px #352a1e13;
}
body:has(.madar-home) .mydin-about-detail a {
  color: var(--color-forest);
  border-color: var(--color-muted);
}
body:has(.madar-home) #community-highlights {
  background:
    radial-gradient(
      ellipse at 88% 12%,
      var(--color-forest) 0,
      transparent 45%),
    linear-gradient(
      135deg,
      var(--color-forest),
      var(--color-forest) 78%);
  border-top: 1px solid #d5bb8a50;
  border-bottom: 1px solid #d5bb8a50;
}
body:has(.madar-home) .donate-home-band {
  background:
    radial-gradient(
      ellipse at 85% 10%,
      var(--color-forest),
      transparent 48%),
    linear-gradient(
      120deg,
      #3e2d25,
      var(--color-forest));
  border: 1px solid #d8c18d55;
}
@media (max-width: 700px) {
  body:has(.madar-home) .madar-visual {
    transform: none;
  }
}
body:has(.madar-home) {
  --mydin-champagne:#c5c9c3;
}
body:has(.madar-home) main {
  position: relative;
  background:
    radial-gradient(
      ellipse at 82% 5%,
      #716b66a1,
      transparent 33%),
    radial-gradient(
      ellipse at 15% 28%,
      #4562577a,
      transparent 44%),
    linear-gradient(
      180deg,
      var(--color-forest) 0,
      var(--color-forest) 23%,
      var(--color-ivory) 41%,
      var(--color-ivory) 67%,
      var(--color-forest) 86%,
      var(--color-forest) 100%);
}
body:has(.madar-home) .madar-home {
  background:
    radial-gradient(
      ellipse at 72% 18%,
      #6c6d64a6,
      transparent 47%),
    radial-gradient(
      ellipse at 5% 82%,
      #355649c9,
      transparent 52%),
    linear-gradient(
      128deg,
      var(--color-forest),
      var(--color-forest) 56%,
      var(--color-forest));
  border-color: #e0e2db4d;
}
body:has(.madar-home) .madar-home:after {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  opacity: .72;
  background:
    radial-gradient(
      ellipse 43% 17% at 79% 28%,
      #dce0d335,
      transparent 100%),
    radial-gradient(
      ellipse 40% 15% at 49% 71%,
      #e3e6da2b,
      transparent 100%),
    radial-gradient(
      ellipse 35% 15% at 19% 40%,
      #bdc8be21,
      transparent 100%);
  filter: blur(35px);
  transform: rotate(-13deg);
}
body:has(.madar-home) .madar-home-glow {
  box-shadow: 0 0 0 90px #c8d4ca0b, 0 0 0 180px #c8d4ca06;
}
body:has(.madar-home) .madar-eyebrow,
body:has(.madar-home) .madar-home h1 em,
body:has(.madar-home) .madar-home-bottom a,
body:has(.madar-home) .madar-overline,
body:has(.madar-home) .madar-period {
  color: #e4e8e1;
}
body:has(.madar-home) .madar-visual,
body:has(.madar-home) .madar-visual-arch {
  border-color: #e4e7dd7d;
}
body:has(.madar-home) .madar-visual-star {
  color: #e6e8e1;
  text-shadow: 0 0 28px var(--color-ivory);
}
body:has(.madar-home) .madar-photo-label {
  color: #f4f4ed;
}
body:has(.madar-home) .mydin-about {
  background:
    radial-gradient(
      ellipse at 10% 18%,
      #d7ded6,
      transparent 52%),
    linear-gradient(
      140deg,
      var(--color-ivory),
      var(--color-sage));
  border-color: #d5ddd4;
}
body:has(.madar-home) .mydin-about-mark {
  color: var(--color-muted);
}
body:has(.madar-home) #community-highlights {
  background:
    radial-gradient(
      ellipse at 83% 16%,
      #777e73b3,
      transparent 51%),
    linear-gradient(
      145deg,
      var(--color-forest),
      var(--color-forest));
  border-color: #cddbd045;
}
body:has(.madar-home) .donate-home-band {
  background:
    radial-gradient(
      ellipse at 85% 13%,
      var(--color-forest),
      transparent 49%),
    linear-gradient(
      120deg,
      var(--color-forest),
      var(--color-forest));
  border-color: #cddbd05c;
}
@media (prefers-reduced-motion: reduce) {
  body:has(.madar-home) .madar-home:after {
    filter: blur(35px);
  }
}
body:has(.madar-home) {
  --mydin-forest:var(--color-forest);
  --mydin-walnut:var(--color-forest);
  --mydin-mist:#c7d0c8;
  background: var(--color-forest);
}
body:has(.madar-home) main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(16px, 4.5vw, 80px) 80px;
  overflow-x: clip;
  box-sizing: border-box;
}
body:has(.madar-home) #available-spaces,
body:has(.madar-home) #community-highlights,
body:has(.madar-home) .donate-home-band,
body:has(.madar-home) .madar-explore,
body:has(.madar-home) .madar-home,
body:has(.madar-home) .mydin-about,
body:has(.madar-home) .mydin-programmes {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}
body:has(.madar-home) #community-highlights,
body:has(.madar-home) .donate-home-band,
body:has(.madar-home) .madar-home,
body:has(.madar-home) .mydin-about {
  border-radius: 30px;
  overflow: hidden;
}
body:has(.madar-home) #community-highlights {
  width: 100%;
  margin-top: 64px;
  padding: clamp(32px, 5vw, 76px);
  border: 1px solid #d6ded54d;
  box-shadow: 0 26px 64px #121e1930;
  isolation: isolate;
}
body:has(.madar-home) #community-highlights:before {
  border-radius: inherit;
}
body:has(.madar-home) #community-highlights .community-photo {
  border-radius: 22px;
  overflow: hidden;
}
body:has(.madar-home) #community-highlights .community-filter button {
  border-radius: 999px;
}
body:has(.madar-home) #community-highlights .community-filter button[aria-pressed=true] {
  background: var(--color-ivory);
  color: var(--color-forest);
  border-color: var(--color-ivory);
}
body:has(.madar-home) #community-highlights .community-heading small {
  color: #d9dfd6;
}
body:has(.madar-home) .madar-eyebrow,
body:has(.madar-home) .madar-home h1 em,
body:has(.madar-home) .madar-home-bottom a,
body:has(.madar-home) .madar-overline,
body:has(.madar-home) .madar-period,
body:has(.madar-home) .madar-visual-star {
  color: var(--color-sage);
}
body:has(.madar-home) .madar-pill-primary {
  background: var(--color-ivory);
  color: var(--color-forest);
}
body:has(.madar-home) .madar-visual,
body:has(.madar-home) .madar-visual-arch {
  border-color: #e2e8df88;
}
body:has(.madar-home) .madar-home-glow {
  border-color: #d9e1d350;
}
body:has(.madar-home) .madar-explore-kicker,
body:has(.madar-home) .mydin-section-label {
  color: var(--color-forest);
}
@media (max-width: 700px) {
  body:has(.madar-home) main {
    padding-inline: 16px;
  }
  body:has(.madar-home) #community-highlights {
    margin-top: 40px;
    padding: 30px 18px 38px;
    border-radius: 23px;
  }
  body:has(.madar-home) #community-highlights .community-photo {
    border-radius: 15px;
  }
  body:has(.madar-home) .donate-home-band,
  body:has(.madar-home) .madar-home,
  body:has(.madar-home) .mydin-about {
    border-radius: 23px;
  }
}
body:has(.madar-home) {
  --mydin-pearl:var(--color-ivory);
  --mydin-walnut:#342e2a;
  --mydin-emerald:var(--color-forest);
  --mydin-smoke:#bdc9c1;
  background: var(--mydin-pearl);
}
body:has(.madar-home) main {
  background:
    linear-gradient(
      180deg,
      var(--color-ivory) 0,
      var(--color-ivory) 30%,
      var(--color-ivory) 53%,
      #e4ebe6 75%,
      var(--color-ivory) 100%);
  color: var(--color-forest);
}
body:has(.madar-home) .madar-home {
  position: relative;
  isolation: isolate;
  min-height: min(820px, 92svh);
  background:
    radial-gradient(
      ellipse at 83% 28%,
      var(--color-forest) 0,
      transparent 47%),
    radial-gradient(
      ellipse at 18% 90%,
      var(--color-forest) 0,
      transparent 54%),
    linear-gradient(
      120deg,
      var(--color-forest),
      var(--color-forest) 55%,
      var(--color-forest));
  border: 1px solid #d7e0d63d;
  box-shadow: 0 32px 80px #172b2338;
}
body:has(.madar-home) .madar-home:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 45% 25% at 72% 35%,
      #eff5e947,
      transparent 95%),
    radial-gradient(
      ellipse 34% 20% at 22% 78%,
      #d6e5d52e,
      transparent 90%);
  filter: blur(36px);
  animation: mydin-mist-drift 16s ease-in-out infinite alternate;
}
body:has(.madar-home) .madar-home-bottom,
body:has(.madar-home) .madar-home-content,
body:has(.madar-home) .madar-home-top {
  position: relative;
  z-index: 1;
}
body:has(.madar-home) .madar-home h1 em {
  color: #e7eee6;
}
body:has(.madar-home) .madar-eyebrow,
body:has(.madar-home) .madar-overline {
  color: #d9e5db;
}
body:has(.madar-home) .madar-visual {
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg) translateZ(0);
  transform-style: preserve-3d;
  box-shadow: 30px 45px 80px #08170e73;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), box-shadow .9s;
}
body:has(.madar-home) .madar-visual:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-10px) scale(1.02);
  box-shadow: 25px 55px 100px #08170e8a;
}
body:has(.madar-home) .madar-visual-photo {
  transform: scale(1.04);
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1);
}
body:has(.madar-home) .madar-visual:hover .madar-visual-photo {
  transform: scale(1.13);
}
body:has(.madar-home) #available-spaces > h2,
body:has(.madar-home) .madar-explore-header h2,
body:has(.madar-home) .mydin-about h2,
body:has(.madar-home) .mydin-programmes h2 {
  color: var(--color-forest);
}
body:has(.madar-home) .madar-explore-header h2 em,
body:has(.madar-home) .mydin-about h2 em,
body:has(.madar-home) .mydin-programmes h2 em {
  color: var(--color-forest);
}
body:has(.madar-home) .madar-explore-header p,
body:has(.madar-home) .mydin-programmes-head > p {
  color: var(--color-forest);
}
body:has(.madar-home) .mydin-about {
  background:
    linear-gradient(
      130deg,
      var(--color-ivory),
      #e8eee7);
  border: 1px solid #d6dfd6;
}
body:has(.madar-home) .mydin-about-detail p {
  color: var(--color-forest);
}
body:has(.madar-home) #community-highlights {
  background:
    radial-gradient(
      ellipse at 85% 10%,
      var(--color-forest),
      transparent 55%),
    linear-gradient(
      135deg,
      var(--color-forest),
      var(--color-forest));
  border-radius: 30px;
}
body:has(.madar-home) .donate-home-band {
  background:
    linear-gradient(
      120deg,
      var(--color-forest),
      var(--color-forest));
}
@keyframes mydin-mist-drift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1);
    opacity: .6;
  }
  to {
    transform: translate3d(4%, 4%, 0) scale(1.12);
    opacity: 1;
  }
}
@supports (animation-timeline:view()) {
  body:has(.madar-home) #available-spaces,
  body:has(.madar-home) #community-highlights,
  body:has(.madar-home) .donate-home-band,
  body:has(.madar-home) .madar-explore-grid,
  body:has(.madar-home) .madar-explore-header,
  body:has(.madar-home) .mydin-about,
  body:has(.madar-home) .mydin-programmes {
    animation: mydin-scene-enter linear both;
    animation-timeline: view();
    animation-range: entry 0 entry 85%;
  }
}
@media (max-width: 700px) {
  body:has(.madar-home) .madar-home {
    min-height: auto;
  }
  body:has(.madar-home) .madar-visual {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:has(.madar-home) #available-spaces,
  body:has(.madar-home) #community-highlights,
  body:has(.madar-home) .donate-home-band,
  body:has(.madar-home) .madar-explore-grid,
  body:has(.madar-home) .madar-explore-header,
  body:has(.madar-home) .madar-home:before,
  body:has(.madar-home) .mydin-about,
  body:has(.madar-home) .mydin-programmes {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  body:has(.madar-home) .madar-tile,
  body:has(.madar-home) .madar-visual,
  body:has(.madar-home) .mydin-programme-card {
    transition: none !important;
    transform: none !important;
  }
}
body:has(.madar-home) #community-highlights {
  padding: clamp(24px, 3vw, 42px);
  margin-top: 40px;
}
body:has(.madar-home) #community-highlights .community-heading {
  margin-bottom: 22px;
}
body:has(.madar-home) #community-highlights .community-heading h2 {
  font-size: clamp(30px, 4vw, 58px);
}
body:has(.madar-home) #community-highlights .community-gallery.community-marquee {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: hidden;
  overflow-y: visible;
  max-height: 235px;
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 6%,
      #000 94%,
      transparent);
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 6%,
      #000 94%,
      transparent);
  scrollbar-width: none;
}
body:has(.madar-home) #community-highlights .community-gallery.community-marquee .community-photo {
  position: relative;
  flex: 0 0 clamp(210px, 25vw, 345px);
  width: clamp(210px, 25vw, 345px);
  height: 205px;
  min-height: 205px;
  max-height: 205px;
  aspect-ratio: auto;
  animation: mydin-photo-marquee 65s linear infinite;
  animation-play-state: running;
  transform: none;
}
body:has(.madar-home) #community-highlights .community-gallery.community-marquee:focus-within .community-photo,
body:has(.madar-home) #community-highlights .community-gallery.community-marquee:hover .community-photo {
  animation-play-state: paused;
}
body:has(.madar-home) #community-highlights .community-gallery.community-marquee .community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes mydin-photo-marquee {
  to {
    transform: translateX(calc(-100% * 5 - 70px));
  }
}
body:has(.madar-home) .mydin-history,
body:has(.madar-home) .mydin-info-section,
body:has(.madar-home) .mydin-people {
  max-width: 1600px;
  margin: 70px auto;
  padding: clamp(32px, 5vw, 70px);
  border-radius: 30px;
  scroll-margin-top: 110px;
}
body:has(.madar-home) .mydin-info-section {
  background: var(--color-ivory);
  border: 1px solid #d9e2da;
}
body:has(.madar-home) .mydin-history h2,
body:has(.madar-home) .mydin-info-head h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.07;
  letter-spacing: -.045em;
  color: var(--color-forest);
  margin: 14px 0;
}
body:has(.madar-home) .mydin-history-intro p,
body:has(.madar-home) .mydin-info-head p {
  max-width: 680px;
  color: var(--color-forest);
  line-height: 1.8;
}
body:has(.madar-home) .mydin-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 15px;
  gap: 15px;
  margin-top: 32px;
}
body:has(.madar-home) .mydin-info-card {
  background:
    linear-gradient(
      145deg,
      #e8efe9,
      var(--color-ivory));
  padding: 26px;
  border: 1px solid #d5dfd6;
  border-radius: 22px;
  transition: transform .5s, box-shadow .5s;
}
body:has(.madar-home) .mydin-info-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 35px #122d241e;
}
body:has(.madar-home) .mydin-info-card > span {
  font-size: 32px;
  color: var(--color-forest);
}
body:has(.madar-home) .mydin-info-card h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  color: var(--color-forest);
}
body:has(.madar-home) .mydin-info-card p {
  font-size: 13px;
  line-height: 1.7;
}
body:has(.madar-home) .mydin-history {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-gap: 55px;
  gap: 55px;
  background:
    radial-gradient(
      ellipse at 8% 5%,
      var(--color-forest),
      transparent 52%),
    linear-gradient(
      125deg,
      var(--color-forest),
      var(--color-forest));
  color: var(--color-ivory);
  position: relative;
  overflow: hidden;
}
body:has(.madar-home) .mydin-history:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 70% 60%,
      #e3eee51a,
      transparent 65%);
  filter: blur(24px);
}
body:has(.madar-home) .mydin-history h2 {
  color: var(--color-ivory);
}
body:has(.madar-home) .mydin-history h2 em {
  color: var(--color-sage);
}
body:has(.madar-home) .mydin-history-intro p {
  color: #d4e0d6;
}
body:has(.madar-home) .mydin-history-source {
  font-size: 11px;
  opacity: .7;
}
body:has(.madar-home) .mydin-timeline {
  position: relative;
  z-index: 1;
}
body:has(.madar-home) .mydin-timeline-item {
  display: grid;
  grid-template-columns: 95px 1fr;
  grid-gap: 18px;
  gap: 18px;
  border-bottom: 1px solid #e2eee330;
  padding: 16px 0;
}
body:has(.madar-home) .mydin-timeline-item strong {
  font-size: 14px;
  color: var(--color-sage);
}
body:has(.madar-home) .mydin-timeline-item h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
}
body:has(.madar-home) .mydin-timeline-item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-sage);
}
body:has(.madar-home) .mydin-people {
  background: var(--color-ivory);
}
body:has(.madar-home) .mydin-people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 18px;
  gap: 18px;
  margin-top: 30px;
}
body:has(.madar-home) .mydin-people-grid article {
  padding: 38px;
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      var(--color-forest),
      var(--color-forest));
  color: var(--color-ivory);
  min-height: 250px;
}
body:has(.madar-home) .mydin-people-grid article:nth-child(2) {
  background:
    linear-gradient(
      145deg,
      var(--color-forest),
      var(--color-forest));
}
body:has(.madar-home) .mydin-people-grid span {
  font-size: 11px;
  letter-spacing: .18em;
  color: #d4dfd4;
}
body:has(.madar-home) .mydin-people-grid h3 {
  font: 400 clamp(30px, 3vw, 46px) Georgia, serif;
  margin: 24px 0 10px;
}
body:has(.madar-home) .mydin-people-grid p {
  line-height: 1.7;
  color: #d9e3db;
}
body:has(.madar-home) .mydin-people-grid small {
  opacity: .8;
}
@media (max-width: 950px) {
  body:has(.madar-home) .mydin-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body:has(.madar-home) .mydin-history {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  body:has(.madar-home) .mydin-history,
  body:has(.madar-home) .mydin-info-section,
  body:has(.madar-home) .mydin-people {
    padding: 28px 20px;
    margin: 40px auto;
    border-radius: 23px;
  }
  body:has(.madar-home) .mydin-info-grid,
  body:has(.madar-home) .mydin-people-grid {
    grid-template-columns: 1fr;
  }
  body:has(.madar-home) .mydin-timeline-item {
    grid-template-columns: 75px 1fr;
  }
  body:has(.madar-home) #community-highlights .community-gallery.community-marquee .community-photo {
    height: 170px;
    min-height: 170px;
    max-height: 170px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:has(.madar-home) #community-highlights .community-gallery.community-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  body:has(.madar-home) #community-highlights .community-gallery.community-marquee .community-photo {
    animation: none !important;
  }
  body:has(.madar-home) .mydin-info-card {
    transition: none;
  }
}
body:has(.madar-home) #community-highlights .community-gallery.community-marquee {
  display: block;
  overflow: hidden;
  max-height: 240px;
}
body:has(.madar-home) #community-highlights .community-marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: mydin-track-drift 80s linear infinite;
  will-change: transform;
}
body:has(.madar-home) #community-highlights .community-marquee-track .community-photo {
  animation: none !important;
  flex: 0 0 clamp(210px, 25vw, 345px);
  width: clamp(210px, 25vw, 345px);
}
body:has(.madar-home) #community-highlights .community-marquee-track:focus-within,
body:has(.madar-home) #community-highlights .community-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes mydin-track-drift {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}
@media (prefers-reduced-motion: reduce) {
  body:has(.madar-home) #community-highlights .community-gallery.community-marquee {
    overflow-x: auto;
  }
  body:has(.madar-home) #community-highlights .community-marquee-track {
    animation: none;
  }
}
body:has(.madar-home) .premium-menu-toggle[aria-expanded=true] .premium-menu-icon i:first-child {
  transform: translateY(6px) rotate(45deg);
}
body:has(.madar-home) .premium-menu-toggle[aria-expanded=true] .premium-menu-icon i:nth-child(2) {
  opacity: 0;
}
body:has(.madar-home) .premium-menu-toggle[aria-expanded=true] .premium-menu-icon i:last-child {
  transform: translateY(-6px) rotate(-45deg);
}
.people-page {
  min-height: 100vh;
  background: var(--color-ivory);
  color: var(--color-forest);
  font-family:
    Lato,
    Arial,
    sans-serif;
}
.people-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(16px, 3vw, 38px) clamp(16px, 4vw, 70px);
  min-height: 460px;
  display: flex;
  align-items: center;
  border-radius: 32px;
  background:
    radial-gradient(
      ellipse at 78% 28%,
      var(--color-forest),
      transparent 45%),
    linear-gradient(
      125deg,
      var(--color-forest),
      var(--color-forest));
  color: var(--color-ivory);
  box-shadow: 0 30px 65px #10281e3d;
}
.people-mist {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 65% 30%,
      #e7f2e02c,
      transparent 42%),
    radial-gradient(
      ellipse at 20% 75%,
      #dae8d222,
      transparent 55%);
  filter: blur(35px);
  animation: people-mist-move 14s ease-in-out infinite alternate;
}
@keyframes people-mist-move {
  to {
    transform: translate(4%, -3%) scale(1.07);
  }
}
.people-hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(30px, 6vw, 95px);
  max-width: 850px;
}
.people-eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 800;
  color: var(--color-sage);
}
.people-hero h1 {
  font: 400 clamp(48px, 7vw, 104px)/1.06 Georgia, serif;
  letter-spacing: -.05em;
  margin: 24px 0;
}
.people-hero p {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.8;
  max-width: 620px;
  color: #dce9dd;
}
.people-back {
  display: inline-block;
  margin-top: 24px;
  color: var(--color-ivory);
  text-decoration: none;
  border-bottom: 1px solid var(--color-sage);
  padding-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
}
.people-hero-decoration {
  position: absolute;
  right: 7%;
  top: 10%;
  font-size: clamp(160px, 23vw, 360px);
  color: #f5fff014;
  pointer-events: none;
}
.people-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 75px clamp(20px, 4vw, 55px) 95px;
}
.people-content-heading h2 {
  font: 400 clamp(40px, 5vw, 68px) Georgia, serif;
  letter-spacing: -.04em;
  margin: 14px 0;
  color: var(--color-forest);
}
.people-content-heading p {
  color: var(--color-forest);
  line-height: 1.8;
  max-width: 660px;
}
.people-coming-soon {
  margin-top: 35px;
  padding: clamp(35px, 5vw, 75px);
  border: 1px solid #d8e4d9;
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      var(--color-ivory),
      var(--color-ivory));
  text-align: center;
}
.people-coming-soon > span {
  font-size: 54px;
  color: var(--color-muted);
}
.people-coming-soon h3 {
  font: 400 clamp(27px, 3vw, 40px) Georgia, serif;
  margin: 15px 0;
}
.people-coming-soon p {
  color: var(--color-forest);
  line-height: 1.7;
}
.people-crosslink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  padding: 26px 30px;
  border-radius: 20px;
  background: #e5ede5;
}
.people-crosslink a,
.people-crosslink p {
  color: var(--color-forest);
}
.people-crosslink a {
  font-weight: 800;
  white-space: nowrap;
}
body:has(.madar-home) .people-card-link {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 17px;
  border: 1px solid #d9e6d7a8;
  border-radius: 99px;
  color: var(--color-ivory);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform .3s, background .3s;
}
body:has(.madar-home) .people-card-link:hover {
  transform: translateY(-3px);
  background: #ffffff24;
}
@media (max-width: 720px) {
  .people-hero {
    min-height: 390px;
    border-radius: 24px;
  }
  .people-hero h1 {
    font-size: clamp(44px, 12vw, 70px);
  }
  .people-hero-decoration {
    right: -5%;
    top: 15%;
    font-size: 190px;
  }
  .people-content {
    padding-top: 50px;
  }
  .people-crosslink {
    display: block;
  }
  .people-crosslink a {
    display: inline-block;
    margin-top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .people-mist {
    animation: none;
  }
}
body:has(.madar-home) .madar-visual-photo {
  background-position: center 49%;
  background-size: cover;
  transform: scale(1) !important;
  transition: filter .6s ease !important;
  filter: none;
}
body:has(.madar-home) .madar-visual:hover .madar-visual-photo {
  transform: scale(1) !important;
  filter: brightness(1.045);
}
body:has(.madar-home) .mydin-people-grid article > small {
  display: block;
  line-height: 1.65;
  margin-bottom: 20px;
}
body:has(.madar-home) .mydin-people-grid article > .people-card-link {
  display: table;
  width: max-content;
  max-width: 100%;
  margin-top: 0;
  clear: both;
}
body,
button,
input,
select,
textarea {
  font-family: var(--mydin-type);
}
body :is(h1, h2, h3, h4, h5, h6, p, li, small, span, a, label, blockquote, strong, em) {
  font-family: var(--mydin-type);
}
body :is(h1, h2, h3, h4, h5, h6) {
  font-style: normal;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body :is(h1, h2) {
  font-weight: 650;
  line-height: 1.1;
}
body :is(h3, h4) {
  font-weight: 620;
  line-height: 1.2;
}
body p {
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.01em;
}
body:has(.madar-home) .madar-home-copy h1 {
  font-size: clamp(44px, 6.2vw, 88px) !important;
  line-height: 1.035 !important;
  letter-spacing: -.052em !important;
  font-weight: 650;
}
body:has(.madar-home) .madar-home-copy h1 em {
  font-family: var(--mydin-type);
  font-style: normal !important;
  font-weight: 400;
}
body:has(.madar-home) :is(.madar-explore-header h2, .mydin-about h2, .mydin-programmes h2, .mydin-history h2, .mydin-info-section h2, .mydin-people h2, .community-heading h2) {
  font-size: clamp(32px, 4.1vw, 56px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.042em !important;
  font-weight: 650;
}
body:has(.madar-home) :is(.madar-home-copy p, .mydin-about p, .mydin-history p, .community-heading p) {
  font-size: clamp(16px, 1.45vw, 20px) !important;
  line-height: 1.65 !important;
  font-weight: 400;
  letter-spacing: -.012em !important;
}
body:has(.madar-home) :is(.madar-tile h3, .mydin-programme-card h3, .mydin-info-card h3) {
  font-size: clamp(21px, 2.1vw, 29px) !important;
  font-weight: 620;
  line-height: 1.18 !important;
}
@media (max-width: 700px) {
  body:has(.madar-home) .madar-home-copy h1 {
    font-size: clamp(39px, 10vw, 58px) !important;
  }
  body:has(.madar-home) :is(.madar-explore-header h2, .mydin-about h2, .mydin-programmes h2, .mydin-history h2, .mydin-info-section h2, .mydin-people h2, .community-heading h2) {
    font-size: clamp(30px, 8vw, 40px) !important;
  }
  body:has(.madar-home) :is(.madar-home-copy p, .mydin-about p, .mydin-history p, .community-heading p) {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  [data-mydin-reveal] {
    transition:
      opacity .65s ease,
      transform .65s cubic-bezier(.22, 1, .36, 1),
      filter .65s ease;
  }
  [data-mydin-reveal=pending] {
    opacity: .55;
    transform: translateY(24px);
    filter: blur(3px);
  }
  [data-mydin-reveal=visible] {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
body:has(.madar-home) .madar-home:after,
body:has(.madar-home) .madar-home:before {
  filter: none;
}
body:has(.madar-home) #community-highlights .community-marquee:not(.is-visible) .community-marquee-track {
  animation-play-state: paused;
  will-change: auto;
}
html {
  scroll-padding-top: 100px;
}
.giving-page :is(a, button, input):focus-visible,
.programme-catalogue :is(a, button):focus-visible {
  outline: 3px solid var(--color-muted);
  outline-offset: 4px;
}
@keyframes site-menu-in {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
body:has(.madar-home) main.mosque-home-main {
  padding-top: 24px;
  overflow-x: clip;
}
.programme-catalogue,
main.mosque-home-main > section[id] {
  scroll-margin-top: 104px;
}
.programme-catalogue {
  max-width: 1600px;
  margin: 60px auto;
  padding: 20px 0 32px;
}
.programme-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}
.programme-heading h2 {
  margin: 12px 0;
  font-family: inherit;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--color-forest);
}
.programme-heading p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-forest);
  margin-bottom: 0;
}
.programme-heading > a {
  flex-shrink: 0;
  color: var(--color-forest);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid var(--color-sage);
  padding-bottom: 6px;
}
.programme-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.programme-toolbar > span {
  font-size: 11px;
  color: var(--color-forest);
}
.programme-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.programme-filters button {
  border: 1px solid var(--color-sage);
  border-radius: 99px;
  background: var(--color-ivory);
  padding: 10px 18px;
  color: var(--color-forest);
  font-size: 12px;
  cursor: pointer;
}
.programme-filters button[aria-pressed=true] {
  background: var(--color-forest);
  color: white;
  border-color: var(--color-forest);
}
.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 22px;
  gap: 22px;
}
.programme-product {
  min-width: 0;
  border: 1px solid var(--color-sage);
  border-radius: 19px;
  background: var(--color-ivory);
  overflow: hidden;
}
.programme-cover {
  position: relative;
  width: 100%;
  height: 215px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 25px;
  border: 0;
  background: var(--color-sage);
  text-align: left;
  color: var(--color-forest);
  cursor: pointer;
  overflow: hidden;
}
.programme-cover-1 {
  background: var(--color-ivory);
  color: var(--color-forest);
}
.programme-cover-2 {
  background: #dbe7e9;
  color: #31525a;
}
.programme-cover-label {
  position: relative;
  z-index: 1;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.programme-cover-title {
  position: relative;
  z-index: 1;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.035em;
  max-width: 92%;
}
.programme-cover-day {
  position: relative;
  z-index: 1;
  border: 1px solid;
  border-radius: 99px;
  padding: 6px 10px;
  font-size: 10px;
}
.programme-cover-mark {
  position: absolute;
  right: -12px;
  top: 45px;
  opacity: .1;
  font-size: 170px;
  line-height: 1;
  pointer-events: none;
}
.programme-product-body {
  padding: 22px;
}
.programme-category {
  color: var(--color-forest);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
.programme-product h3 {
  line-height: 1.4;
  margin: 8px 0;
  color: var(--color-forest);
  letter-spacing: -.02em;
}
.programme-speaker {
  line-height: 1.65;
  min-height: 40px;
  margin: 0 0 16px;
}
.programme-schedule,
.programme-speaker {
  color: var(--color-forest);
  font-size: 12px;
}
.programme-schedule {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 18px;
}
.programme-schedule strong {
  font-weight: 600;
}
.programme-product-bottom {
  padding-top: 16px;
  border-top: 1px solid #e6ece1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.programme-product-bottom > span {
  font-size: 11px;
  color: var(--color-muted);
}
.programme-product-bottom > button {
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  background: #eff4eb;
  color: var(--color-forest);
  font-size: 11px;
  cursor: pointer;
}
.programme-show-all {
  display: block;
  margin: 28px auto 0;
  border: 1px solid var(--color-sage);
  background: #f6faf2;
  border-radius: 10px;
  padding: 13px 20px;
  color: var(--color-forest);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.programme-note {
  margin: 22px auto 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
  color: var(--color-muted);
}
.programme-dialog {
  position: fixed;
  width: min(560px, calc(100vw - 32px));
  max-height: 85dvh;
  overflow: auto;
  margin: auto;
  padding: 36px;
  border: 1px solid var(--color-sage);
  border-radius: 22px;
  background: var(--color-ivory);
  color: var(--color-forest);
  box-shadow: 0 24px 80px #19372933;
}
.programme-dialog::-webkit-backdrop {
  background: #10271988;
}
.programme-dialog::backdrop {
  background: #10271988;
}
.programme-dialog h2 {
  font-family: inherit;
  letter-spacing: -.04em;
  margin: 18px 0;
}
.programme-dialog > p {
  font-size: 14px;
  color: var(--color-forest);
  line-height: 1.7;
}
.programme-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #ecf1e6;
  color: var(--color-forest);
  font-size: 24px;
  cursor: pointer;
}
.programme-dialog dl {
  margin: 25px 0;
}
.programme-dialog dl > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-gap: 15px;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-sage);
  font-size: 13px;
  line-height: 1.6;
}
.programme-dialog dt {
  color: var(--color-muted);
}
.programme-dialog dd {
  margin: 0;
}
.programme-register {
  display: block;
  padding: 15px 20px;
  border-radius: 11px;
  background: var(--color-forest);
  color: var(--color-ivory);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
}
.giving-page {
  max-width: 1250px;
  margin: 0 auto;
  padding: 48px clamp(20px, 4.5vw, 70px) 45px;
  color: var(--color-forest);
}
.giving-intro {
  max-width: 750px;
  margin: 0 0 35px;
}
.giving-intro h1 {
  font-family: inherit;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 18px 0;
}
.giving-intro h1 em {
  font-style: normal;
  color: var(--color-forest);
}
.giving-intro p {
  max-width: 500px;
  font-size: 15px;
  line-height: 1.8;
}
.giving-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;
  gap: 24px;
}
.giving-card {
  padding: 30px;
  border-radius: 22px;
  background: var(--color-ivory);
  border: 1px solid var(--color-sage);
}
.giving-card h2 {
  font-family: inherit;
  font-size: 27px;
  letter-spacing: -.035em;
  margin: 16px 0;
  color: var(--color-forest);
}
.giving-card > p {
  font-size: 13px;
  line-height: 1.8;
}
.giving-step {
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--color-muted);
}
.giving-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 8px;
  gap: 8px;
  margin: 20px 0;
}
.giving-amounts button {
  border: 1px solid var(--color-sage);
  background: #f5f8ef;
  border-radius: 11px;
  padding: 15px 8px;
  color: var(--color-forest);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.giving-amounts button[aria-pressed=true] {
  background: var(--color-forest);
  color: var(--color-ivory);
  border-color: var(--color-forest);
}
.giving-card label {
  font-size: 12px;
  text-transform: none;
  margin: 22px 0 8px;
}
.giving-card input {
  margin: 0;
  border: 1px solid var(--color-sage);
  border-radius: 11px;
  background: var(--color-ivory);
  font-size: 18px;
  padding: 14px;
  color: var(--color-forest);
}
.giving-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #e4ebdd;
  margin: 25px 0 0;
  padding-top: 22px;
}
.giving-summary span {
  font-size: 12px;
}
.giving-summary strong {
  font-size: 27px;
  color: var(--color-forest);
}
.giving-card .giving-help {
  font-size: 11px;
  margin-top: 20px;
  line-height: 1.8;
  color: var(--color-muted);
}
.giving-paynow {
  background: #edf3e7;
}
.giving-reference {
  margin: 22px 0;
  padding: 22px;
  border-radius: 14px;
  background: var(--color-ivory);
}
.giving-reference > span {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--color-muted);
}
.giving-reference > strong {
  display: block;
  font-size: 26px;
  letter-spacing: .04em;
  color: var(--color-forest);
  margin: 10px 0 15px;
  overflow-wrap: anywhere;
}
.giving-methods button,
.giving-reference > button {
  padding: 9px 12px;
  background: var(--color-ivory);
  border: 1px solid var(--color-sage);
  border-radius: 8px;
  color: var(--color-forest);
  font-size: 12px;
  cursor: pointer;
}
.giving-paynow ol {
  padding-left: 20px;
  color: var(--color-forest);
  font-size: 13px;
  line-height: 1.8;
}
.giving-paynow li {
  margin: 10px 0;
}
.giving-other {
  margin-top: 50px;
}
.giving-other h2 {
  font-family: inherit;
  font-size: 28px;
  letter-spacing: -.03em;
  margin: 12px 0 24px;
}
.giving-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 18px;
  gap: 18px;
}
.giving-methods article {
  padding: 24px;
  border: 1px solid var(--color-sage);
  border-radius: 16px;
  background: var(--color-ivory);
  min-width: 0;
}
.giving-methods h3 {
  font-size: 17px;
  margin: 0 0 12px;
  color: var(--color-forest);
}
.giving-methods p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-muted);
}
.giving-methods strong {
  display: block;
  color: var(--color-forest);
  font-size: 16px;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.giving-methods a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 14px;
  color: var(--color-forest);
  font-size: 12px;
}
.giving-status {
  min-height: 24px;
  font-size: 12px;
  margin: 15px 0;
}
@media (max-width: 1000px) {
  .programme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .programme-catalogue {
    margin: 40px auto;
  }
  .programme-heading {
    display: block;
  }
  .programme-heading > a {
    display: inline-block;
    margin-top: 18px;
  }
  .programme-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .programme-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .programme-cover {
    height: 210px;
  }
  .programme-cover-title {
    font-size: 27px;
  }
  .programme-dialog {
    padding: 30px 23px;
  }
  .programme-dialog h2 {
    font-size: 26px;
  }
  .giving-page {
    padding: 32px 18px;
  }
  .giving-layout,
  .giving-methods {
    grid-template-columns: 1fr;
  }
  .giving-card {
    padding: 23px;
  }
  .giving-reference > strong {
    font-size: 24px;
  }
}
body:has(.giving-page) {
  background: var(--color-ivory);
}
.mmb-directory {
  margin-top: 40px;
}
.mmb-group {
  margin: 0 0 50px;
}
.mmb-group-heading {
  text-align: center;
  margin: 0 0 24px;
}
.mmb-group-heading h3 {
  font-family: inherit;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -.025em;
  color: var(--color-forest);
  margin: 0 0 7px;
}
.mmb-group-heading p {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}
.mmb-grid {
  display: grid;
  grid-gap: 22px;
  gap: 22px;
  align-items: stretch;
}
.mmb-grid-leadership {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 780px;
  margin: auto;
}
.mmb-grid-officers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mmb-grid-members {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.mmb-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-sage);
  border-radius: 20px;
  overflow: hidden;
}
.mmb-portrait {
  position: relative;
  background:
    radial-gradient(
      ellipse at 50% 65%,
      var(--color-ivory),
      #e5ecde);
}
.mmb-portrait img {
  display: block;
}
.mmb-person {
  flex: 1 1;
  padding: 21px 17px 24px;
  text-align: center;
  border-top: 1px solid var(--color-sage);
}
.mmb-person p {
  margin: 0 0 10px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.mmb-person h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
  color: var(--color-forest);
  overflow-wrap: break-word;
}
.mmb-grid-leadership .mmb-person {
  padding: 25px;
}
.mmb-grid-leadership .mmb-person h4 {
  font-size: 20px;
}
@media (max-width: 1050px) {
  .mmb-grid-members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mmb-grid-officers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .mmb-directory {
    margin-top: 28px;
  }
  .mmb-group {
    margin-bottom: 38px;
  }
  .mmb-grid {
    gap: 16px;
  }
  .mmb-grid-leadership,
  .mmb-grid-members,
  .mmb-grid-officers {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: auto;
  }
  .mmb-portrait {
    aspect-ratio: 1/1;
  }
  .mmb-grid-leadership .mmb-person h4,
  .mmb-person h4 {
    font-size: 19px;
  }
  .mmb-grid-leadership .mmb-person,
  .mmb-person {
    padding: 22px 20px;
  }
}
.people-page:has(.mmb-directory) {
  background: var(--color-ivory);
}
.mmb-directory {
  background: var(--color-ivory);
}
.mmb-grid,
.mmb-grid-leadership,
.mmb-grid-members,
.mmb-grid-officers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: none;
  margin: 0;
}
.mmb-card {
  flex: 0 0 184px;
  width: 184px;
}
.mmb-card,
.mmb-portrait {
  background: var(--color-ivory);
}
.mmb-portrait {
  aspect-ratio: 4/5;
}
.mmb-grid-leadership .mmb-person,
.mmb-person {
  flex: 1 1;
  min-height: 152px;
  padding: 22px 16px;
  background: var(--color-ivory);
}
.mmb-grid-leadership .mmb-person h4,
.mmb-person h4 {
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .mmb-grid,
  .mmb-grid-leadership,
  .mmb-grid-members,
  .mmb-grid-officers {
    gap: 20px;
  }
  .mmb-card {
    flex: 0 1 320px;
    width: 320px;
    max-width: 100%;
  }
  .mmb-portrait {
    aspect-ratio: 4/5;
  }
  .mmb-grid-leadership .mmb-person,
  .mmb-person {
    min-height: 176px;
    padding: 22px 18px;
  }
  .mmb-grid-leadership .mmb-person h4,
  .mmb-person h4 {
    font-size: 18px;
  }
}
body:has(.madar-home) .mydin-info-grid {
  align-items: start;
}
body:has(.madar-home) .mydin-people-grid article {
  display: flex;
  flex-direction: column;
}
body:has(.madar-home) .mydin-people-grid article > .people-card-link {
  margin-top: auto;
}
.madar-tile-green:after {
  transform: none;
}
#community-highlights .community-marquee {
  max-height: 264px;
}
.programme-cover-mark {
  right: 8px;
}
body:has(.madar-home) .mydin-people-grid article {
  display: flex !important;
  flex-direction: column !important;
}
body:has(.madar-home) .mydin-people-grid article > .people-card-link {
  margin-top: auto !important;
}
#available-spaces .grid {
  align-items: stretch;
}
#available-spaces .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#available-spaces .card .cardaction {
  margin-top: auto;
  padding-top: 14px;
}
#community-highlights .community-marquee {
  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 9%,
      #000 91%,
      transparent);
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 9%,
      #000 91%,
      transparent);
}
@keyframes mydin-scene-enter {
  0% {
    opacity: .55;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body:has(.madar-home) .madar-home:before {
  filter: blur(14px);
  animation: none;
}
.people-mist {
  animation: none;
}
body:has(.madar-home) #community-highlights .community-gallery.community-marquee .community-photo {
  animation: none;
}
.programme-dialog {
  animation: mydin-dialog-in .28s cubic-bezier(.2, .8, .2, 1);
}
.programme-dialog::-webkit-backdrop {
  animation: mydin-backdrop-in .28s ease;
}
.programme-dialog::backdrop {
  animation: mydin-backdrop-in .28s ease;
}
@keyframes mydin-dialog-in {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes mydin-backdrop-in {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body:has(.madar-home) .mydin-info-card {
  transition: transform .3s ease, box-shadow .3s ease;
}
body:has(.madar-home) .mydin-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px #1a322c1f;
}
body:has(.madar-home) .mydin-people-grid article {
  transition: transform .3s ease, box-shadow .3s ease;
}
body:has(.madar-home) .mydin-people-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px #10241c2b;
}
:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 2px;
}
::selection {
  background: var(--color-sage);
}
@media (prefers-reduced-motion: reduce) {
  .programme-dialog::-webkit-backdrop {
    animation: none;
  }
  .programme-dialog,
  .programme-dialog::backdrop {
    animation: none;
  }
}
.programmes-display {
  background: var(--color-ivory);
  color: var(--color-forest);
  font-size: 17px;
  line-height: 1.55;
  padding: 30px 16px 64px;
}
.programmes-display * {
  box-sizing: border-box;
}
.pp-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.pp-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pp-head h1,
.pp-label {
  color: var(--color-forest);
}
.pp-head h1 {
  font-size: 38px;
  margin: 10px 0 8px;
}
.pp-helper {
  font-size: 17px;
  color: var(--color-forest);
  margin: 0 0 6px;
}
.pp-section {
  margin-top: 48px;
}
.pp-section h2 {
  margin: 0 0 6px;
  color: var(--color-forest);
}
.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.pp-btn-big {
  font-size: 19px;
  padding: 14px 30px;
}
.pp-btn-primary {
  color: var(--color-ivory);
}
.pp-btn-primary,
.pp-btn-primary:hover {
  background: var(--color-forest);
}
.pp-btn-ghost {
  background: var(--color-ivory);
  color: var(--color-forest);
  border-color: var(--color-forest);
}
.pp-btn-ghost:hover {
  background: #EAF3EE;
}
.pp-btn-light {
  color: var(--color-ivory);
}
.pp-btn-light,
.pp-btn-light:hover {
  background: var(--color-forest);
}
.pp-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .05em;
}
.pp-badge-open {
  background: var(--color-forest);
  color: var(--color-ivory);
}
.pp-badge-soon {
  background: var(--color-ivory);
  color: var(--color-forest);
  border: 2px solid var(--color-forest);
}
.pp-badge-static {
  font-size: 15px;
  min-height: 36px;
  padding: 7px 16px;
}
.pp-live {
  border: 1px solid var(--color-forest);
  border-radius: 24px;
  padding: 30px 28px;
  margin-top: 26px;
  box-shadow: 0 24px 48px rgba(7, 20, 14, .25);
}
.pp-live,
.pp-live-chip {
  background: var(--color-forest);
  color: var(--color-ivory);
}
.pp-live-chip {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 8px 14px;
  border-radius: 999px;
}
.pp-live h2 {
  font-size: 32px;
  margin: 16px 0 8px;
  color: var(--color-ivory);
}
.pp-live-meta {
  font-size: 18px;
  color: #D8E2DB;
  margin: 0 0 10px;
}
.pp-live-note {
  font-size: 16.5px;
  color: var(--color-sage);
  margin: 0 0 20px;
  max-width: 660px;
}
.pp-featured-wrap {
  margin-top: 48px;
}
.pp-feature {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-gap: 30px;
  gap: 30px;
  background: var(--color-ivory);
  border: 3px solid var(--color-forest);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(7, 63, 53, .14);
  padding: 30px;
  margin-top: 14px;
}
.pp-feature-main h2 {
  font-size: 32px;
  margin: 14px 0 8px;
  color: var(--color-forest);
}
.pp-feature-speaker {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}
.pp-feature-meta {
  margin: 0 0 12px;
}
.pp-feature-meta,
.pp-fee {
  font-size: 17px;
  color: var(--color-forest);
}
.pp-fee {
  font-weight: 700;
  margin: 0 0 18px;
}
.pp-feature-poster {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 5/7;
  background: var(--color-forest);
}
.pp-steps {
  background: var(--color-ivory);
  border: 1px solid var(--color-sage);
  border-radius: 20px;
  padding: 24px 26px;
  margin-top: 22px;
}
.pp-steps h3 {
  font-size: 22px;
  margin: 0 0 14px;
  color: var(--color-forest);
}
.pp-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  gap: 16px;
}
.pp-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
}
.pp-step-num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-forest);
  color: var(--color-ivory);
  font-weight: 800;
  font-size: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pp-help {
  font-size: 16.5px;
  margin: 16px 0 0;
}
.pp-help,
.pp-help a {
  color: var(--color-forest);
}
.pp-help a {
  font-weight: 800;
}
.pp-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  grid-gap: 26px;
  gap: 26px;
  margin-top: 18px;
}
.pp-event-card {
  background: var(--color-ivory);
  border: 1px solid var(--color-sage);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(16, 36, 28, .07);
  display: flex;
  flex-direction: column;
}
.pp-poster {
  position: relative;
  aspect-ratio: 5/7;
  background: var(--color-forest);
  overflow: hidden;
}
.pp-poster .pp-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.pp-poster-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px;
  background:
    radial-gradient(
      circle at 85% 12%,
      rgba(255, 255, 255, .14),
      transparent 46%),
    linear-gradient(
      155deg,
      var(--color-forest),
      var(--color-forest) 58%,
      var(--color-forest));
  color: var(--color-ivory);
}
.pp-poster-period {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-sage);
}
.pp-poster-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-ivory);
}
.pp-poster-mosque {
  font-size: 14.5px;
  color: var(--color-sage);
}
.pp-event-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1;
}
.pp-event-body h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
  color: var(--color-forest);
}
.pp-speaker {
  font-size: 16.5px;
  font-weight: 600;
  margin: 0;
}
.pp-meta {
  font-size: 15.5px;
  margin: 0;
}
.pp-event-body .pp-fee {
  margin: 0;
}
.pp-event-body .pp-btn {
  margin-top: auto;
  width: 100%;
}
.pp-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  color: var(--color-forest);
  margin-top: 20px;
}
.pp-class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  grid-gap: 22px;
  margin-top: 18px;
}
.pp-class-card {
  background: var(--color-ivory);
  border: 1px solid var(--color-sage);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(16, 36, 28, .06);
}
.pp-class-band,
.pp-class-card {
  display: flex;
  flex-direction: column;
}
.pp-class-band {
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(255, 255, 255, .16),
      transparent 48%),
    linear-gradient(
      140deg,
      var(--color-forest),
      var(--color-forest) 60%,
      var(--color-forest));
  color: var(--color-ivory);
  padding: 16px 18px;
  gap: 3px;
}
.pp-class-cat {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--color-ivory);
}
.pp-class-period {
  font-size: 14.5px;
  color: var(--color-sage);
}
.pp-class-body {
  padding: 16px 18px 12px;
  flex: 1 1;
}
.pp-class-body h3 {
  font-size: 20px;
  line-height: 1.28;
  margin: 0 0 7px;
  color: var(--color-forest);
}
.pp-class-strip {
  background: var(--color-ivory);
  border-top: 1px solid var(--color-sage);
  padding: 12px 18px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.pp-class-strip,
.pp-note {
  font-size: 16px;
  color: var(--color-forest);
}
.pp-note {
  margin-top: 44px;
}
.pp-stickybar {
  display: none;
}
@media (max-width: 900px) {
  .pp-feature {
    grid-template-columns: 1fr 240px;
  }
}
@media (max-width: 760px) {
  .programmes-display {
    padding: 22px 14px 110px;
  }
  .pp-head h1 {
    font-size: 32px;
  }
  .pp-feature {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .pp-feature-poster {
    max-width: 280px;
  }
  .pp-steps ol {
    grid-template-columns: 1fr;
  }
  .pp-live {
    padding: 24px 20px;
  }
  .pp-live h2 {
    font-size: 27px;
  }
  .pp-stickybar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 8px;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: var(--color-ivory);
    border-top: 1px solid var(--color-sage);
    box-shadow: 0 -8px 24px rgba(16, 36, 28, .14);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }
  .pp-stickybar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 14px;
    background: var(--color-ivory);
    color: var(--color-forest);
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
  }
  .pp-stickybar a.pp-sticky-cta {
    background: var(--color-forest);
    color: var(--color-ivory);
  }
}
@media (prefers-reduced-motion: reduce) {
  .programmes-display * {
    transition: none !important;
    animation: none !important;
  }
}
.programmes-display {
  font-size: 16px;
  line-height: 1.6;
  padding: 36px clamp(20px, 4.5vw, 80px) 72px;
}
.pp-inner {
  max-width: 1440px;
}
.programmes-display section[id] {
  scroll-margin-top: 108px;
}
.pp-label {
  font-size: 13px;
}
.pp-head h1 {
  font-size: 36px;
  line-height: 1.15;
  margin: 9px 0 7px;
}
.pp-helper {
  font-size: 16px;
  line-height: 1.55;
}
.pp-featured-wrap,
.pp-section {
  margin-top: 44px;
}
.pp-section h2 {
  font-size: 28px;
}
.pp-live {
  padding: 28px;
  margin-top: 24px;
}
.pp-live h2 {
  font-size: 28px;
  margin: 14px 0 7px;
}
.pp-live-meta {
  font-size: 17px;
}
.pp-live-note {
  font-size: 15.5px;
  line-height: 1.6;
}
.pp-btn {
  font-size: 16px;
  padding: 11px 22px;
}
.pp-btn-big {
  font-size: 17px;
  min-height: 58px;
  padding: 13px 28px;
}
.pp-badge {
  min-height: 30px;
}
.pp-badge-static {
  font-size: 14px;
  min-height: 34px;
}
.pp-feature {
  align-items: stretch;
  gap: 28px;
  padding: 28px;
}
.pp-feature-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.pp-feature-main h2 {
  font-size: 29px;
  margin: 12px 0 7px;
}
.pp-feature-speaker {
  font-size: 17px;
}
.pp-feature-meta,
.pp-fee {
  font-size: 16px;
}
.pp-feature-poster {
  align-self: center;
  width: 100%;
}
.pp-steps {
  padding: 22px 24px;
  margin-top: 20px;
}
.pp-steps h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.pp-steps ol {
  align-items: stretch;
  gap: 14px;
}
.pp-steps li {
  height: 100%;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #e4ebe4;
  border-radius: 14px;
  background: var(--color-ivory);
  font-size: 15.5px;
  line-height: 1.45;
}
.pp-step-num {
  width: 36px;
  height: 36px;
  font-size: 17px;
}
.pp-help {
  font-size: 15px;
  margin-top: 14px;
}
.pp-event-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.pp-class-card,
.pp-event-card {
  height: 100%;
}
.pp-event-body {
  padding: 17px;
  gap: 6px;
}
.pp-event-body h3 {
  font-size: 19px;
}
.pp-speaker {
  font-size: 15px;
}
.pp-meta {
  font-size: 14.5px;
  line-height: 1.5;
}
.pp-poster-period {
  font-size: 12.5px;
}
.pp-poster-title {
  font-size: 22px;
}
.pp-poster-mosque {
  font-size: 14px;
}
.pp-legend {
  font-size: 14.5px;
  margin-top: 18px;
}
.pp-class-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  align-items: stretch;
}
.pp-class-band {
  min-height: 74px;
  justify-content: center;
  padding: 15px 17px;
}
.pp-class-cat {
  font-size: 13px;
}
.pp-class-period {
  font-size: 14px;
}
.pp-class-body {
  display: flex;
  flex-direction: column;
  padding: 15px 17px 11px;
}
.pp-class-body h3 {
  line-height: 1.3;
}
.pp-class-body .pp-speaker {
  margin-top: auto;
  padding-top: 7px;
}
.pp-class-strip {
  min-height: 48px;
  align-items: center;
  font-size: 15px;
  padding: 11px 17px;
}
.pp-note {
  font-size: 15px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .pp-feature {
    gap: 24px;
    padding: 24px;
  }
  .pp-feature-main h2 {
    font-size: 27px;
  }
}
@media (max-width: 760px) {
  .programmes-display {
    padding: 24px 14px 110px;
  }
  .pp-inner {
    max-width: none;
  }
  .pp-head h1 {
    font-size: 31px;
  }
  .pp-section h2 {
    font-size: 25px;
  }
  .pp-live {
    padding: 23px 19px;
  }
  .pp-live h2 {
    font-size: 25px;
  }
  .pp-feature {
    grid-template-columns: 1fr;
    padding: 21px;
  }
  .pp-feature-main h2 {
    font-size: 26px;
  }
  .pp-feature-poster {
    max-width: 270px;
  }
  .pp-steps {
    padding: 20px;
  }
  .pp-steps ol {
    grid-template-columns: 1fr;
  }
  .pp-steps li {
    height: auto;
  }
  .pp-stickybar a {
    font-size: 16px;
  }
}
@media (max-width: 380px) {
  .pp-class-grid,
  .pp-event-grid {
    grid-template-columns: 1fr;
  }
}
.programmes-display .pp-live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.programmes-display .pp-btn-outline {
  background: transparent;
  color: var(--color-ivory);
  border-color: var(--color-ivory);
}
.programmes-display .pp-btn-outline:hover {
  background: rgba(255, 255, 255, .13);
}
.programmes-display .pp-live-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 18px;
  background: #000;
}
.programmes-display .pp-live-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.programmes-display .pp-watch-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--color-ivory);
  border: 1px solid var(--color-sage);
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(16, 36, 28, .07);
  padding: 26px 28px;
}
.programmes-display .pp-watch-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-forest);
  color: var(--color-ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  padding-left: 4px;
}
.programmes-display .pp-watch-text {
  flex: 1 1;
  min-width: 220px;
}
.programmes-display .pp-watch-text h2 {
  margin-top: 0;
}
.programmes-display .pp-watch-card .pp-btn {
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .programmes-display .pp-watch-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .programmes-display .pp-watch-card .pp-btn {
    width: 100%;
  }
  .programmes-display .pp-live-actions .pp-btn {
    flex: 1 1 auto;
  }
}
.home-paths {
  padding: 38px 0 2px;
}
.home-paths .hp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 18px;
  gap: 18px;
}
.home-paths .hp-block {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 132px;
  padding: 28px 30px;
  border-radius: 88px 88px 20px 20px;
  text-decoration: none;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s cubic-bezier(.22, 1, .36, 1);
}
.home-paths .hp-block-green {
  background:
    linear-gradient(
      135deg,
      var(--color-forest),
      var(--color-forest));
  color: var(--color-ivory);
  box-shadow: 0 16px 34px rgba(7, 63, 53, .22);
}
.home-paths .hp-block-light {
  background: var(--color-ivory);
  color: var(--color-forest);
  border: 2px solid var(--color-forest);
  box-shadow: 0 12px 28px rgba(16, 36, 28, .08);
}
.home-paths .hp-block:hover {
  transform: translateY(-4px);
}
.home-paths .hp-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1;
  min-width: 0;
}
.home-paths .hp-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.home-paths .hp-line {
  font-size: 16.5px;
  line-height: 1.45;
}
.home-paths .hp-block-green .hp-line {
  color: var(--color-ivory);
}
.home-paths .hp-block-light .hp-line {
  color: var(--color-forest);
}
.home-paths .hp-arrow {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.home-paths .hp-block-green .hp-arrow {
  background: var(--color-ivory);
  color: var(--color-forest);
}
.home-paths .hp-block-light .hp-arrow {
  background: var(--color-forest);
  color: var(--color-ivory);
}
.home-paths .hp-block:focus-visible {
  outline: 3px solid var(--color-forest);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .home-paths {
    padding-top: 28px;
  }
  .home-paths .hp-grid {
    grid-template-columns: 1fr;
  }
  .home-paths .hp-block {
    min-height: 120px;
    padding: 24px 22px;
    border-radius: 56px 56px 18px 18px;
  }
  .home-paths .hp-title {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-paths .hp-block {
    transition: none;
  }
  .home-paths .hp-block:hover {
    transform: none;
  }
}
body:has(.madar-home) .madar-home-copy p.madar-tagline {
  font-family: Georgia, serif;
  font-size: clamp(21px, 2.2vw, 28px) !important;
  line-height: 1.3 !important;
  letter-spacing: -.02em !important;
  font-weight: 400;
  color: #faf8f0;
  max-width: 520px;
  margin: -8px 0 16px;
}
.madar-home .madar-home-actions a {
  min-height: 56px;
  padding: 15px 30px;
  font-size: 16.5px;
}
.madar-home .madar-home-actions a.hero-programmes {
  background: transparent;
  color: #f5f7f0;
  border: 1px solid var(--color-sage);
}
@media (max-width: 700px) {
  .madar-home .madar-home-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .madar-home .madar-home-actions a {
    width: 100%;
    min-height: 54px;
  }
}
.programme-preview .programme-heading {
  scroll-margin-top: 104px;
}
@media (min-width: 1001px) {
  .programme-preview .programme-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.programme-preview .programme-cover {
  font: inherit;
  text-decoration: none;
}
.programme-preview-link {
  border-radius: 8px;
  padding: 9px 12px;
  background: #eff4eb;
  color: var(--color-forest);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}
.programme-preview-link:hover {
  background: var(--color-sage);
}
.programme-preview-all {
  display: flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 56px;
  margin: 30px auto 4px;
  padding: 15px 38px;
  border-radius: 999px;
  background: var(--color-forest);
  color: var(--color-ivory);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .35s ease, transform .35s cubic-bezier(.2, .85, .2, 1);
}
.programme-preview-all:hover {
  background: var(--color-forest);
  transform: translateY(-2px);
}
@media (max-width: 700px) {
  .programme-preview-all {
    width: 100%;
  }
}
.homepage-donate-band a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--color-ivory);
  color: var(--color-forest);
  font-size: 16px;
}
.homepage-donate-band a:hover {
  background: #eef6f0;
}
@media (prefers-reduced-motion: reduce) {
  .programme-preview-all {
    transition: none;
  }
}
:root {
  --type-display:Georgia,"Times New Roman",serif;
  --type-body:Inter,Arial,sans-serif;
  --type-h1:clamp(40px,5vw,56px);
  --type-ink:var(--color-forest);
  --type-meta:var(--color-forest);
}
body {
  font-size: 16px;
}
body,
body p {
  line-height: 1.6;
}
body :is(h3, h4) {
  font-weight: 700;
}
body h1 {
  font-size: var(--type-h1);
  line-height: 1.1;
}
body h1,
body h2 {
  font-family: var(--type-display);
  font-weight: 600;
  letter-spacing: -.02em;
}
body h2 {
  font-size: 30px;
  line-height: 1.2;
}
body h3 {
  font-size: 18px;
}
@media (max-width: 700px) {
  body h2 {
    font-size: 26px;
  }
}
body:has(.madar-home) .madar-home-copy h1 {
  font-family: var(--type-display);
  line-height: 1.1 !important;
  letter-spacing: -.02em !important;
}
.pp-head h1 {
  font-family: var(--type-display);
  font-size: var(--type-h1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.giving-intro h1,
.people-hero h1 {
  letter-spacing: -.02em;
}
.giving-intro h1,
.hero h1,
.people-hero h1 {
  font-family: var(--type-display);
  font-size: var(--type-h1);
  font-weight: 600;
  line-height: 1.1;
}
body:has(.madar-home) :is(.madar-explore-header h2, .mydin-about h2, .mydin-programmes h2, .mydin-history h2, .mydin-info-section h2, .mydin-people h2, .community-heading h2) {
  font-family: var(--type-display);
  font-size: 30px !important;
  font-weight: 600;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
}
.pp-section h2 {
  letter-spacing: -.01em;
}
.pp-feature-main h2,
.pp-live h2,
.pp-section h2 {
  font-family: var(--type-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}
.programme-heading h2 {
  letter-spacing: -.02em;
}
.giving-card h2,
.panel h2,
.programme-dialog h2,
.programme-heading h2,
.success h2 {
  font-family: var(--type-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.giving-card h2 {
  letter-spacing: -.02em;
}
.community-heading h2,
.donate-home-band h2,
.giving-other h2,
.mydin-about h2,
.mydin-history h2,
.people-content-heading h2 {
  font-family: var(--type-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
@media (max-width: 700px) {
  .pp-feature-main h2,
  .pp-live h2,
  .pp-section h2 {
    font-size: 26px;
  }
  body:has(.madar-home) :is(.madar-explore-header h2, .mydin-about h2, .mydin-programmes h2, .mydin-history h2, .mydin-info-section h2, .mydin-people h2, .community-heading h2) {
    font-size: 26px !important;
  }
}
body:has(.madar-home) :is(.madar-home-copy p, .mydin-about p, .mydin-history p, .community-heading p) {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
body:has(.madar-home) .mydin-info-card p {
  font-size: 14px;
  color: var(--color-forest);
}
body:has(.madar-home) .mydin-history-source {
  font-size: 12px;
}
body:has(.madar-home) .mydin-people-grid span {
  font-size: 12px;
}
body:has(.madar-home) :is(.mydin-programme-card h3, .mydin-info-card h3) {
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.35 !important;
}
.card h3,
.giving-methods h3,
.mmb-group-heading h3,
.pp-class-body h3,
.pp-event-body h3,
.pp-steps h3,
.programme-product h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.mmb-grid-leadership .mmb-person h4,
.mmb-person h4,
.people-coming-soon h3 {
  font-size: 18px;
  font-weight: 700;
}
.pp-meta {
  color: var(--color-forest);
}
.pp-legend,
.pp-meta,
.pp-note {
  font-size: 14px;
}
.pp-feature-speaker,
.pp-help,
.pp-live-note,
.pp-speaker {
  font-size: 16px;
}
.mmb-group-heading p,
.mmb-person p,
.programme-product-bottom > span {
  font-size: 14px;
  color: var(--color-forest);
}
.people-hero p {
  font-size: 16px;
  line-height: 1.6;
}
.giving-card > p,
.giving-intro p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-forest);
}
.donation-intro small,
.donation-kicker,
.giving-reference > span,
.giving-step,
.madar-explore-kicker,
.mydin-section-kicker,
.mydin-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--color-forest);
}
.people-eyebrow,
.pp-label {
  font-size: 12px;
  font-weight: 700;
}
.people-eyebrow {
  letter-spacing: .14em;
}
.people-content-heading .people-eyebrow {
  color: var(--color-forest);
}
.madar-eyebrow,
.madar-home-bottom,
.madar-home-index,
.madar-overline,
.madar-photo-label,
.madar-tile-tag,
.mydin-programme-card-top,
.programme-cover-label {
  font-size: 12px;
  font-weight: 700;
}
.cardaction,
.giving-amounts button,
.primary {
  min-height: 52px;
  font-size: 16px;
  font-weight: 700;
}
.mydin-programme-filters button,
.programme-filters button,
.programme-product-bottom > button,
.programme-register {
  font-size: 14px;
  font-weight: 700;
}
.mydin-card-link {
  font-weight: 700;
}
:focus-visible {
  outline-color: var(--color-forest) !important;
}
.calday b {
  font-size: 16px;
}
.calday span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
}
.calday.limited span {
  color: var(--color-forest);
}
.calday.full span {
  color: #94453C;
}
.booking-progress-item {
  font-weight: 700;
}
.booking-progress-item,
.bookingwhen i {
  font-size: 14px;
  color: var(--color-forest);
}
.bookingwhen > b {
  font-size: 16px;
}
.fieldhint {
  color: var(--color-forest);
}
.fieldhint,
label {
  font-size: 14px;
}
.giving-card label {
  font-weight: 700;
}
.donation-fine,
.donation-hint,
.giving-card .giving-help,
.giving-card label,
.giving-methods p,
.giving-status,
.giving-summary span {
  font-size: 14px;
  color: var(--color-forest);
}
.donation-fields label,
.donation-label,
.donation-qr-pending p,
.donation-review,
.donation-warning {
  font-size: 14px;
}
.donation-form-error {
  font-weight: 700;
}
.donation-intro p {
  font-size: 16px;
  color: var(--color-forest);
}
body:has(.madar-home) #available-spaces,
body:has(.madar-home) #community-highlights,
body:has(.madar-home) .donate-home-band,
body:has(.madar-home) .madar-home,
body:has(.madar-home) .mydin-about,
body:has(.madar-home) .mydin-programmes {
  max-width: 1440px;
}
body:has(.madar-home) .mydin-history,
body:has(.madar-home) .mydin-info-section,
body:has(.madar-home) .mydin-people {
  max-width: 1440px;
  margin-top: 44px;
  margin-bottom: 44px;
}
.programme-catalogue {
  max-width: 1440px;
  margin: 44px auto;
}
.giving-page,
.people-content {
  max-width: 1440px;
  padding-top: 44px;
}
.venue-booking-page a.card {
  text-decoration: none;
  color: inherit;
}
.venue-booking-page .track-link {
  color: var(--color-forest);
  font-weight: 600;
}
:root {
  --type-h1:clamp(33px,4.2vw,46px);
}
body h1 {
  line-height: 1.12;
}
body:has(.madar-home) .madar-home-copy h1 {
  font-size: var(--type-h1) !important;
  line-height: 1.12 !important;
}
.giving-intro h1,
.hero h1,
.people-hero h1,
.pp-head h1 {
  line-height: 1.12;
}
body:has(.madar-home) .madar-home-copy p.madar-tagline {
  font-size: 19px !important;
  line-height: 1.4 !important;
}
body h2 {
  font-size: 26px;
  line-height: 1.25;
}
body:has(.madar-home) :is(.madar-explore-header h2, .mydin-about h2, .mydin-programmes h2, .mydin-history h2, .mydin-info-section h2, .mydin-people h2, .community-heading h2) {
  font-size: 26px !important;
  line-height: 1.25 !important;
}
.community-heading h2,
.donate-home-band h2,
.giving-card h2,
.giving-other h2,
.mydin-about h2,
.mydin-history h2,
.panel h2,
.people-content-heading h2,
.pp-feature-main h2,
.pp-live h2,
.pp-section h2,
.programme-dialog h2,
.programme-heading h2,
.success h2 {
  font-size: 26px;
  line-height: 1.25;
}
body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
body:has(.madar-home) :is(.madar-tile h3, .mydin-programme-card h3, .mydin-info-card h3) {
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.35 !important;
}
.card h3,
.giving-methods h3,
.mmb-grid-leadership .mmb-person h4,
.mmb-group-heading h3,
.mmb-person h4,
.people-coming-soon h3,
.pp-class-body h3,
.pp-event-body h3,
.pp-steps h3,
.programme-product h3 {
  font-size: 17px;
  line-height: 1.35;
}
body:has(.madar-home) .mydin-people-grid h3 {
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.programme-cover-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.pp-poster-title {
  font-size: 17px;
}
.calnav b,
.dayavailability h3,
.trackresult h3 {
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 17px;
}
.calnav b {
  font-weight: 700;
}
.home-paths .hp-title {
  font-size: 26px;
  line-height: 1.25;
}
.pp-feature-meta,
.pp-fee,
.programme-schedule,
.programme-speaker {
  font-size: 14px;
}
body:has(.madar-home) .mydin-people-grid p {
  font-size: 14px;
  line-height: 1.55;
}
body:has(.madar-home) .mydin-info-card p {
  line-height: 1.55;
}
.giving-card .giving-help {
  line-height: 1.55;
}
.pp-badge,
.pp-live-chip {
  font-size: 13px;
}
.programme-category {
  font-size: 13px;
  font-weight: 800;
}
.calday span,
.programme-cover-day {
  font-size: 12px;
}
.calday span {
  line-height: 1.35;
}
.callegend,
.eyebrow {
  font-size: 12px;
}
.eyebrow {
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-forest);
}
.cardaction,
.giving-amounts button,
.pp-btn,
.primary {
  font-size: 15px;
  min-height: 48px;
}
.pp-btn-big {
  font-size: 16px;
}
.madar-home .madar-home-actions a,
.pp-btn-big {
  min-height: 50px;
}
.donate-home-band a,
.pp-stickybar a {
  font-size: 16px;
  min-height: 50px;
}
.giving-reference > strong,
.giving-summary strong {
  font-size: 24px;
}
.giving-card input,
input,
select,
textarea {
  font-size: 16px;
}
@media (max-width: 700px) {
  body h2 {
    font-size: 22px;
  }
  body:has(.madar-home) :is(.madar-explore-header h2, .mydin-about h2, .mydin-programmes h2, .mydin-history h2, .mydin-info-section h2, .mydin-people h2, .community-heading h2) {
    font-size: 22px !important;
  }
  .community-heading h2,
  .donate-home-band h2,
  .giving-card h2,
  .giving-other h2,
  .mydin-about h2,
  .mydin-history h2,
  .panel h2,
  .people-content-heading h2,
  .pp-feature-main h2,
  .pp-live h2,
  .pp-section h2,
  .programme-dialog h2,
  .programme-heading h2,
  .success h2 {
    font-size: 22px;
  }
  body:has(.madar-home) .madar-home-copy p.madar-tagline {
    font-size: 17px !important;
  }
  .dayavailability h3,
  .programme-cover-title {
    font-size: 17px;
  }
  .giving-reference > strong,
  .giving-summary strong,
  .home-paths .hp-title {
    font-size: 22px;
  }
  .madar-home .madar-home-actions a {
    min-height: 50px;
  }
}
.home-paths .hp-title {
  font-size: 17px;
  line-height: 1.35;
}
.pp-feature-speaker,
.pp-speaker {
  font-size: 14px;
}
.panel .back,
.panel .secondary {
  font-size: 15px;
  font-weight: 700;
  min-height: 48px;
}
.success strong {
  font-size: 24px;
}
@media (max-width: 700px) {
  .success strong {
    font-size: 22px;
  }
}
body:has(.madar-home) main.mosque-home-main {
  padding-top: 0;
}
body:has(.madar-home) .madar-home {
  width: 100vw;
  max-width: none;
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 48px 0 40px;
}
body:has(.madar-home) .madar-home-bottom,
body:has(.madar-home) .madar-home-content,
body:has(.madar-home) .madar-home-top {
  max-width: 1600px;
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
  padding-inline: clamp(16px, 4.5vw, 80px);
}
body:has(.madar-home) .madar-home-copy {
  padding: 24px 0 30px;
}
@media (max-width: 700px) {
  body:has(.madar-home) .madar-home {
    border-radius: 0;
    padding: 30px 0 28px;
  }
  body:has(.madar-home) .madar-home-bottom,
  body:has(.madar-home) .madar-home-content,
  body:has(.madar-home) .madar-home-top {
    padding-inline: 16px;
  }
  body:has(.madar-home) .madar-home-copy {
    padding: 28px 0 10px;
  }
  body:has(.madar-home) .madar-visual {
    margin-bottom: 12px;
  }
}
body:has(.madar-home) .madar-overline {
  display: none;
}
body:has(.madar-home) .madar-home-index {
  display: none;
}
body:has(.madar-home) .madar-photo-label {
  display: none;
}
body:has(.madar-home) .madar-home-bottom {
  display: none;
}
body:has(.madar-home) .madar-home-copy > p {
  font-size: 16px;
  line-height: 1.6;
}
.cardaction,
.giving-amounts button,
.panel .back,
.panel .secondary,
.pp-btn,
.primary {
  font-size: 14px;
  min-height: 46px;
}
.donate-home-band a,
.pp-btn-big,
.pp-stickybar a {
  font-size: 15px;
  min-height: 48px;
}
.madar-home .madar-home-actions a {
  font-size: 15px;
  min-height: 48px;
  padding: 12px 24px;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 700px) {
  .madar-home .madar-home-actions {
    flex-direction: column;
  }
  .madar-home .madar-home-actions a {
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
  }
}
body:has(.madar-home) .madar-home {
  background: var(--color-forest);
  min-height: min(660px, 86svh);
  padding: 88px 0 80px;
}
.madar-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url(/media/mihrab.jpg) center 38%/cover no-repeat;
}
.madar-hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 30, 22, .6),
      rgba(5, 30, 22, .52) 42%,
      rgba(4, 24, 18, .8));
}
body:has(.madar-home) .madar-home-top {
  position: relative;
  z-index: 2;
  justify-content: center;
}
body:has(.madar-home) .madar-home-content {
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr;
  min-height: 0;
}
body:has(.madar-home) .madar-home-copy {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  padding: 34px 0 0;
}
body:has(.madar-home) .madar-home-copy h1 {
  text-shadow: 0 2px 34px rgba(3, 20, 14, .5);
}
body:has(.madar-home) .madar-home-actions {
  justify-content: center;
  margin-top: 30px;
}
@media (max-width: 700px) {
  body:has(.madar-home) .madar-home {
    min-height: 520px;
    padding: 64px 0 56px;
  }
  .madar-hero-photo {
    background-position: center 30%;
  }
  body:has(.madar-home) .madar-home-copy {
    padding: 26px 0 0;
  }
  body:has(.madar-home) .madar-home-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  body:has(.madar-home) .madar-home-actions a {
    width: auto;
  }
}
#mydin-explore .home-paths {
  padding: 0;
}
.programme-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px 14px;
}
.programme-slider::-webkit-scrollbar {
  display: none;
}
.programme-slider > .programme-product {
  flex: 0 0 min(290px, 82vw);
  scroll-snap-align: start;
}
.slider-arrows {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}
.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-forest);
  background: var(--color-forest);
  color: var(--color-ivory);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ask-band {
  text-align: center;
  padding: 56px clamp(16px, 4.5vw, 80px);
  max-width: 1440px;
  margin-inline: auto;
}
.ask-band h2 {
  margin: 10px 0 12px;
}
.ask-band p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-forest);
}
.ask-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}
.ask-btn-outline,
.ask-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.ask-btn-primary {
  background: var(--color-forest);
  color: var(--color-ivory);
}
.ask-btn-outline {
  border: 1px solid var(--color-forest);
  color: var(--color-forest);
  background: transparent;
}
.home-paths .hp-grid .hp-block-wide {
  grid-column: 1/-1;
}
.pp-crosslink {
  margin-top: 44px;
  font-size: 17px;
  color: var(--color-forest);
}
.pp-crosslink a {
  color: var(--color-forest);
  font-weight: 700;
  text-decoration: none;
}
.pp-crosslink a:hover {
  text-decoration: underline;
}
@media (max-width: 760px) {
  .pp-stickybar.pp-stickybar-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 18px;
  gap: 18px;
}
.watch-card {
  display: flex;
  flex-direction: column;
  background: var(--color-ivory);
  border: 1px solid var(--color-sage);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(16, 36, 28, .05);
}
.watch-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--color-forest);
}
.watch-card-body {
  padding: 14px 16px 16px;
}
.watch-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--color-forest);
}
.watch-card-date {
  font-size: 14px;
  color: var(--color-forest);
  margin: 0;
}
.gallery-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px clamp(20px, 4.5vw, 80px) 72px;
}
.gallery-wrap .community-section {
  margin-top: 0;
}
.visit-section {
  max-width: 1440px;
  margin: 44px auto 0;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  grid-gap: 28px;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}
.visit-address {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-forest);
  margin: 0 0 8px;
}
.visit-line {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-forest);
  margin: 0 0 10px;
}
.visit-dir-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-forest);
  text-decoration: none;
}
.visit-dir-link:hover {
  text-decoration: underline;
}
.visit-map {
  border: 1px solid var(--color-sage);
  border-radius: 20px;
  overflow: hidden;
  background: #EDF2EB;
  box-shadow: 0 10px 26px rgba(16, 36, 28, .07);
}
.visit-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}
@media (max-width: 760px) {
  .visit-grid {
    grid-template-columns: 1fr;
  }
  .visit-map iframe {
    height: 280px;
  }
}
.madar-hero-photo {
  inset: -9% 0;
  transform: scale(1.05);
  will-change: transform;
  animation: hero-settle 1.8s ease-out;
}
@keyframes hero-settle {
  0% {
    transform: scale(1.14);
  }
  to {
    transform: scale(1.05);
  }
}
@keyframes hero-parallax {
  0% {
    transform: translateZ(0) scale(1.05);
  }
  to {
    transform: translate3d(0, 46px, 0) scale(1.05);
  }
}
@supports (animation-timeline:scroll()) {
  .madar-hero-photo {
    animation-name: hero-parallax, hero-settle;
    animation-duration: auto, 1.8s;
    animation-timing-function: linear, ease-out;
    animation-fill-mode: both, none;
    animation-timeline: scroll(root block), auto;
    animation-range: 0 100vh, normal;
  }
}
@media (max-width: 700px) {
  @keyframes hero-parallax {
    0% {
      transform: translateZ(0) scale(1.05);
    }
    to {
      transform: translate3d(0, 26px, 0) scale(1.05);
    }
  }
}
.madar-home-copy {
  animation: hero-copy-in .8s var(--motion-ease) both;
  text-shadow: 0 1px 3px rgba(3, 20, 14, .35);
}
@keyframes hero-copy-in {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body:has(.madar-home) .madar-home-copy h1 {
  font-family:
    Cinzel,
    Georgia,
    Times New Roman,
    serif;
  font-size: 68px !important;
  font-weight: 600;
  line-height: 1.06 !important;
  letter-spacing: .015em !important;
  text-transform: uppercase;
  color: var(--color-ivory);
}
body:has(.madar-home) .madar-home-copy p.madar-tagline {
  font-family:
    Inter,
    Helvetica Neue,
    Arial,
    sans-serif;
  font-weight: 600;
  font-size: 15px !important;
  letter-spacing: .34em !important;
  line-height: 1.8 !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  margin: 18px auto 0;
  max-width: 640px;
}
@media (max-width: 700px) {
  body:has(.madar-home) .madar-home-copy h1 {
    font-size: 40px !important;
  }
  body:has(.madar-home) .madar-home-copy p.madar-tagline {
    font-size: 12px !important;
    letter-spacing: .22em !important;
  }
}
.madar-home .madar-home-actions a {
  font-size: 16px;
  font-weight: 700;
  min-height: 54px;
  padding: 15px 34px;
  border-radius: 999px;
  min-width: 190px;
}
.madar-home .madar-home-actions a.hero-donate {
  background: var(--color-forest);
  color: var(--color-ivory);
  border: 1px solid var(--color-forest);
}
.madar-home .madar-home-actions a.hero-donate:hover {
  background: var(--color-forest);
}
.madar-home .madar-home-actions a.hero-programmes {
  background: var(--color-ivory);
  color: var(--color-forest);
  border: 1px solid var(--color-ivory);
}
.madar-home .madar-home-actions a.hero-programmes:hover {
  background: #EAF3EE;
}
@media (max-width: 700px) {
  .madar-home .madar-home-actions a {
    min-height: 52px;
    padding: 13px 22px;
    font-size: 15px;
    min-width: 0;
  }
}
@supports (animation-timeline:view()) {
  .card-reveal {
    animation: card-in linear both;
    animation-timeline: view();
    animation-range: entry 0 entry 70%;
  }
}
@keyframes card-in {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .card-reveal[data-mydin-reveal=pending] {
    opacity: 0;
    transform: translateY(18px);
    filter: none;
  }
  .card-reveal[data-mydin-reveal=visible] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s var(--motion-ease);
    transition-delay: calc(var(--i,0)*60ms);
  }
}
.poster-frame,
.pp-class-card,
.pp-event-card,
.programme-product,
.watch-card {
  transition:
    translate .35s var(--motion-ease),
    box-shadow .35s var(--motion-ease),
    border-color .35s var(--motion-ease);
}
.programme-product {
  box-shadow: 0 10px 26px rgba(16, 36, 28, .07);
}
.poster-frame img,
.pp-poster img,
.programme-cover img {
  transition: transform .5s var(--motion-ease);
}
@media (hover: hover) and (pointer: fine) {
  .poster-card:hover .poster-frame {
    translate: 0 -4px;
    box-shadow: 0 18px 38px rgba(10, 30, 22, .22);
  }
  .poster-card:hover .poster-frame img {
    transform: scale(1.045);
  }
  .pp-event-card:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 38px rgba(16, 36, 28, .14);
    border-color: var(--color-sage);
  }
  .pp-event-card:hover .pp-poster img {
    transform: scale(1.045);
  }
  .pp-class-card:hover,
  .watch-card:hover {
    translate: 0 -4px;
    box-shadow: 0 14px 30px rgba(16, 36, 28, .12);
  }
  .programme-product:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 38px rgba(16, 36, 28, .14);
    border-color: var(--color-sage);
  }
  .programme-product:hover .programme-cover img {
    transform: scale(1.045);
  }
  .home-paths .hp-block:hover {
    box-shadow: 0 16px 34px rgba(16, 36, 28, .13);
  }
}
.poster-card:focus-visible .poster-frame {
  translate: 0 -4px;
  box-shadow: 0 18px 38px rgba(10, 30, 22, .22);
}
.watch-card:focus-visible {
  translate: 0 -4px;
  box-shadow: 0 14px 30px rgba(16, 36, 28, .12);
}
.home-paths .hp-block:focus-visible {
  box-shadow: 0 16px 34px rgba(16, 36, 28, .13);
}
.programme-product:focus-within {
  translate: 0 -4px;
  box-shadow: 0 18px 38px rgba(16, 36, 28, .14);
  border-color: var(--color-sage);
}
.poster-card {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2/3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-forest);
  box-shadow: 0 10px 24px rgba(10, 30, 22, .16);
}
.poster-frame .pp-badge {
  top: 12px;
}
.poster-fee-chip,
.poster-frame .pp-badge {
  position: absolute;
  left: 12px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.poster-fee-chip {
  bottom: 12px;
  background: rgba(255, 255, 255, .95);
  color: var(--color-forest);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}
.poster-frame .pp-poster-period {
  font-size: 13px;
}
.poster-frame .pp-poster-title {
  font-family:
    Georgia,
    Times New Roman,
    serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.18;
}
.poster-frame .pp-poster-mosque {
  font-size: 14px;
}
.poster-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.poster-row::-webkit-scrollbar {
  display: none;
}
.poster-row > .poster-card {
  flex: 0 0 178px;
  scroll-snap-align: start;
}
@media (max-width: 700px) {
  .poster-row > .poster-card {
    flex-basis: 38vw;
    min-width: 132px;
    max-width: 168px;
  }
}
.pp-event-grid {
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 22px;
}
.pp-feature-poster {
  aspect-ratio: 2/3;
}
.programme-dialog.event-dialog {
  padding: 0;
  max-height: 88dvh;
}
.event-dialog-poster {
  background: var(--color-forest);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
}
.event-dialog-poster > img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  display: block;
}
.event-dialog-art {
  position: relative;
  aspect-ratio: 2/3;
  height: 340px;
  max-width: 100%;
  margin: 0 auto;
}
.event-dialog-art .pp-poster-title {
  font-family:
    Georgia,
    Times New Roman,
    serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.18;
}
.event-dialog .programme-dialog-close {
  width: 44px;
  height: 44px;
  background: var(--color-ivory);
  color: var(--color-forest);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  z-index: 3;
}
.event-dialog-body {
  padding: 26px 28px 30px;
}
.event-dialog h2 {
  font-size: 26px;
  line-height: 1.18;
  color: var(--color-forest);
  margin: 14px 0 4px;
}
.event-dialog dl {
  margin: 18px 0 0;
}
.event-dialog dl > div {
  grid-template-columns: 92px 1fr;
}
.event-dialog-cta {
  margin-top: 22px;
}
.event-dialog-cta .pp-btn {
  display: flex;
  width: 100%;
}
.event-dialog-help {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--color-forest);
  text-align: center;
}
@media (max-width: 700px) {
  .programme-dialog.event-dialog {
    width: 100vw;
    max-width: 100vw;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    margin: 0;
    border-radius: 22px 22px 0 0;
    max-height: 92dvh;
  }
  .event-dialog-poster > img {
    max-height: 260px;
  }
  .event-dialog-art {
    height: 260px;
  }
  .event-dialog-body {
    padding: 20px;
  }
  .event-dialog h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .madar-hero-photo {
    animation: none;
    transform: scale(1.05);
  }
  .card-reveal,
  .madar-home-copy {
    animation: none;
  }
  .card-reveal[data-mydin-reveal],
  .poster-frame,
  .poster-frame img,
  .pp-class-card,
  .pp-event-card,
  .pp-poster img,
  .programme-cover img,
  .programme-product,
  .watch-card {
    transition: none;
  }
  .poster-card:focus-visible .poster-frame,
  .poster-card:hover .poster-frame,
  .pp-class-card:hover,
  .pp-event-card:hover,
  .programme-product:focus-within,
  .programme-product:hover,
  .watch-card:focus-visible,
  .watch-card:hover {
    translate: none;
  }
  .poster-card:hover .poster-frame img,
  .pp-event-card:hover .pp-poster img,
  .programme-product:hover .programme-cover img {
    transform: none;
  }
}
.card-reveal {
  animation: none;
}
@supports (animation-timeline:view()) {
  .card-reveal {
    animation-name: mydin-card-in;
    animation-duration: .7s;
    animation-timing-function: cubic-bezier(.22, .61, .21, 1);
    animation-fill-mode: both;
    animation-delay: calc(var(--i,0)*60ms);
    animation-timeline: view();
    animation-range: entry 0 entry 55%;
  }
  @media (prefers-reduced-motion: reduce) {
    .card-reveal {
      animation: none;
    }
  }
}
.programme-dialog.event-dialog[open] {
  animation-duration: .45s;
  animation-timing-function: var(--motion-ease);
}
@media (prefers-reduced-motion: reduce) {
  .programme-dialog.event-dialog[open] {
    animation: none;
  }
}
:root {
  --paper:var(--color-ivory);
  --ivory:#F7F4EC;
  --brand:var(--color-forest);
  --brand-hover:var(--color-forest);
  --brand-deep:var(--color-forest);
  --card-shadow:0 4px 30px rgba(10,30,22,.10);
  --type-kicker:var(--color-forest);
}
.donation-intro small,
.donation-kicker,
.madar-explore-kicker,
.mydin-section-kicker,
.mydin-section-label,
.pp-label {
  color: var(--brand-deep);
}
body:has(.madar-home) .madar-explore-kicker,
body:has(.madar-home) .mydin-section-label {
  color: var(--brand-deep);
}
body:has(.madar-home) .mydin-programmes {
  background: var(--paper);
}
body:has(.madar-home) .donate-home-band {
  background:
    linear-gradient(
      155deg,
      var(--color-forest),
      var(--color-forest) 58%,
      var(--color-forest));
}
.donate-home-band a {
  background: var(--color-ivory);
  color: var(--color-forest);
}
.ask-band {
  background: var(--ivory);
}
.visit-section {
  background: var(--paper);
}
.programmes-display {
  background: var(--ivory);
}
body:has(.giving-page) {
  background: var(--ivory);
}
.people-page {
  background: var(--ivory);
}
.mydin-about {
  background: var(--paper);
}
.mydin-about + .mydin-about {
  background: var(--ivory);
}
.pp-class-card,
.pp-event-card,
.programme-product,
.watch-card {
  background: var(--paper);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}
.hp-block {
  box-shadow: var(--card-shadow);
}
.programme-dialog.event-dialog dt {
  color: var(--brand-deep);
}
@keyframes mydin-card-in {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home-paths .hp-block {
  box-shadow: var(--card-shadow);
}
.poster-frame .pp-badge {
  font-size: 12px;
  letter-spacing: -.02em;
  padding: 4px 6px;
  white-space: nowrap;
  width: auto;
  right: auto;
}
.madar-home-actions {
  gap: 14px;
}
main:has(> .programmes-display) {
  max-width: 1440px;
  padding-inline: 0;
}
.programmes-display {
  padding-inline: 65px;
}
main:has(> .gallery-wrap) {
  max-width: 1440px;
  padding-inline: 0;
}
.gallery-wrap {
  padding-inline: 65px;
}
@media (max-width: 1023px) {
  .gallery-wrap,
  .programmes-display {
    padding-inline: 32px;
  }
}
@media (max-width: 639px) {
  .gallery-wrap,
  .programmes-display {
    padding-inline: 16px;
  }
}
.pp-class-grid,
.watch-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1279px) {
  .pp-class-grid,
  .watch-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1023px) {
  .pp-class-grid,
  .watch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .pp-class-grid,
  .watch-grid {
    grid-template-columns: 1fr;
  }
}
.pp-event-grid {
  grid-template-columns: repeat(auto-fill, 181px);
  justify-content: start;
}
@media (max-width: 700px) {
  .pp-event-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 380px) {
  .pp-event-grid {
    grid-template-columns: 1fr;
  }
}
.pp-feature-main {
  max-width: 640px;
}
main.donate-page,
main.venue-booking-page {
  max-width: 1440px;
  padding-inline: 65px;
}
@media (max-width: 1023px) {
  main.donate-page,
  main.venue-booking-page {
    padding-inline: 32px;
  }
}
@media (max-width: 639px) {
  main.donate-page,
  main.venue-booking-page {
    padding-inline: 16px;
  }
}
@media (min-width: 1051px) {
  main.donate-page .mydin-about {
    grid-template-columns: 100px 485px 1fr;
  }
}
main.donate-page .mydin-history-intro p,
main.donate-page .mydin-timeline-item p {
  max-width: 78ch;
}
@media (min-width: 1024px) {
  .venue-booking-page #available-spaces .grid {
    grid-template-columns: repeat(2, 550px);
    justify-content: center;
  }
}
main.people-page {
  max-width: 1440px;
  padding-inline: 0;
}
.people-content {
  max-width: none;
  padding-inline: 65px;
}
@media (max-width: 1023px) {
  .people-content {
    padding-inline: 32px;
  }
}
@media (max-width: 639px) {
  .giving-page,
  .people-content {
    padding-inline: 16px;
  }
}
@media (max-width: 639px) {
  main[style]:has(> form) {
    padding-inline: 16px !important;
  }
}
@media (max-width: 639px) {
  main.mosque-home-main:has(> .panel, > .success) {
    padding-inline: 16px;
  }
}
.poster-row {
  justify-content: safe center;
}
@media (min-width: 701px) {
  .pp-event-grid {
    grid-template-columns: repeat(auto-fit, 181px);
    justify-content: center;
  }
}
@media (max-width: 700px) and (min-width: 381px) {
  .pp-event-grid > .poster-card:only-child {
    grid-column: 1/-1;
    justify-self: center;
    width: min(181px, 100%);
  }
}
@media (min-width: 1280px) {
  #community .pp-class-grid {
    grid-template-columns: repeat(3, 311px);
    justify-content: center;
  }
}
.poster-card {
  background: var(--color-ivory);
  border: 1px solid var(--color-sage);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(10, 30, 22, .1);
  transition: translate .35s var(--motion-ease), box-shadow .35s var(--motion-ease);
}
.poster-frame {
  border-radius: 0;
  box-shadow: none;
}
.poster-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 14px;
  background: var(--color-ivory);
  text-align: left;
}
.poster-meta .pp-badge {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  padding: 5px 12px;
  white-space: nowrap;
  box-shadow: none;
}
.poster-meta .poster-fee-chip,
.poster-meta .pp-badge-soon {
  background: #EAF3EE;
  color: var(--color-forest);
  border: 1px solid var(--color-sage);
}
.poster-meta .poster-fee-chip {
  position: static;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: none;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .poster-card:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 38px rgba(10, 30, 22, .22);
  }
  .poster-card:hover .poster-frame {
    translate: none;
    box-shadow: none;
  }
}
.poster-card:focus-visible {
  translate: 0 -4px;
  box-shadow: 0 18px 38px rgba(10, 30, 22, .22);
}
.poster-card:focus-visible .poster-frame {
  translate: none;
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .poster-card {
    transition: none;
  }
  .poster-card:focus-visible,
  .poster-card:hover {
    translate: none;
  }
}
@media (min-width: 1280px) {
  .poster-row > .poster-card {
    flex-basis: 240px;
  }
  .pp-event-grid {
    grid-template-columns: repeat(auto-fit, 240px);
    justify-content: center;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .poster-row > .poster-card {
    flex-basis: 216px;
  }
  .pp-event-grid {
    grid-template-columns: repeat(auto-fit, 216px);
    justify-content: center;
  }
}
@media (min-width: 701px) and (max-width: 1023px) {
  .poster-row > .poster-card {
    flex-basis: 192px;
  }
  .pp-event-grid {
    grid-template-columns: repeat(auto-fit, 192px);
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .poster-meta {
    padding: 10px;
  }
  .poster-meta .poster-fee-chip,
  .poster-meta .pp-badge {
    width: 100%;
    justify-content: center;
  }
  .poster-meta .pp-badge {
    white-space: normal;
    line-height: 1.3;
    padding: 7px 10px;
    border-radius: 12px;
  }
}
@media (min-width: 1024px) {
  .visit-grid {
    align-items: center;
  }
}
.home-paths .hp-block {
  border-radius: 56px 56px 20px 20px;
}
@media (min-width: 1024px) {
  .programme-slider {
    -webkit-mask-image:
      linear-gradient(
        90deg,
        #000 calc(100% - 48px),
        transparent);
    mask-image:
      linear-gradient(
        90deg,
        #000 calc(100% - 48px),
        transparent);
  }
  .programme-slider.slider-at-end {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
