:root {
  --navy: #0d2f5e;
  --navy-2: #173f7a;
  --blue: #2b6cb0;
  --slate: #2d3748;
  --ink: #1a202c;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f3f5f8;
  --red: #c8102e;
  --gold: #c9973f;
  --maroon: #7a2020;
  --white: #fff;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
html[lang="fa"] { --font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--slate); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
html[lang="fa"] body { line-height: 1.9; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0; text-wrap: balance; }
h2 { font-size: 1.45rem; color: var(--ink); }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--white); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 6px rgba(0, 0, 0, .15); }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.35rem; letter-spacing: .08em; }
.brand-text small { font-size: .72rem; color: var(--muted); white-space: nowrap; }
html[lang="fa"] .brand-text strong { letter-spacing: 0; }

.nav { margin-inline: auto; }
.nav > ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; color: #374151; border-radius: 6px; white-space: nowrap; }
.nav a:hover { background: var(--soft); text-decoration: none; color: var(--navy); }
.has-sub { position: relative; }
.has-sub > a::after { content: "⌄"; margin-inline-start: 5px; font-size: .85em; position: relative; top: -3px; }
.has-sub > ul { position: absolute; inset-inline-start: 0; top: 100%; min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 6px; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); display: none; }
.has-sub:hover > ul, .has-sub:focus-within > ul { display: block; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-block; padding: 8px 16px; border-radius: 5px; font-weight: 500; border: 1px solid transparent; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn-live { background: var(--red); color: var(--white); }
.btn-navy { background: var(--navy-2); color: var(--white); }
.btn-outline { border-color: var(--navy-2); color: var(--navy-2); background: var(--white); }
.lang { background: var(--white); border: 1px solid var(--line); border-radius: 5px; padding: 8px 12px; color: var(--navy); font-weight: 600; font-family: "Vazirmatn", "Segoe UI", sans-serif; }
.lang:hover { background: var(--soft); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-inline-start: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Page card */
.page { max-width: 1240px; margin: 28px auto; padding: 0 20px; }
main { background: var(--white); border-radius: var(--radius); padding: 28px; display: grid; gap: 44px; }

/* Banner: name and next gathering beside the latest poster in a pointed Persian arch */
.banner { position: relative; border-radius: 6px; overflow: hidden; background: var(--navy); color: var(--white); }
.banner-pattern { position: absolute; inset: 0; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%2345c4bf' stroke-width='1'%3E%3Cpath d='M40 4 51 29 76 40 51 51 40 76 29 51 4 40 29 29z'/%3E%3Cpath d='M14.500 14.500 40 25 65.500 14.500 55 40 65.500 65.500 40 55 14.500 65.500 25 40z'/%3E%3C/g%3E%3C/svg%3E"); }
.banner-body { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px 56px 0; }
.banner-text { display: grid; gap: 10px; justify-items: start; padding-bottom: 48px; }
.bismillah { font-family: var(--display); font-size: 1.7rem; color: var(--gold); margin: 0; }
.banner h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 5.600vw, 4.600rem); line-height: 1.02; letter-spacing: -.005em; max-width: 12ch; }
html[lang="fa"] .banner h1 { line-height: 1.25; letter-spacing: 0; max-width: none; }
.banner-sub { margin: 0; font-size: 1.1rem; color: #cfe3e6; }
.hero-next { display: grid; gap: 2px; margin-top: 14px; padding: 14px 18px; border-inline-start: 4px solid var(--gold); background: rgba(255, 255, 255, .07); color: var(--white); max-width: 46ch; }
.hero-next:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.hero-next[hidden] { display: none; }
.hero-next span { font-size: .88rem; color: var(--gold); }
.hero-next strong { font-family: var(--display); font-size: 1.75rem; font-weight: 600; line-height: 1.15; }
.hero-next em { font-style: normal; font-size: .95rem; color: #cfe3e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn-saffron { background: var(--gold); color: #1c1503; font-weight: 700; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }

.arch { display: grid; justify-items: center; gap: 0; color: var(--white); align-self: end; }
.arch:hover { text-decoration: none; }
.arch-top { display: block; width: min(100%, 330px); height: auto; aspect-ratio: 100 / 40; margin-bottom: -1px; }
.arch-frame { display: block; width: min(100%, 330px); padding: 0 7px; background: var(--gold); }
.arch-frame img { width: 100%; height: auto; display: block; }
.arch-cap { width: min(100%, 330px); background: var(--gold); color: #1c1503; font-size: .85rem; font-weight: 600; padding: 7px 12px; text-align: center; line-height: 1.4; }

@media (max-width: 760px) {
  .banner-body { grid-template-columns: minmax(0, 1fr); padding: 30px 22px 0; gap: 24px; }
  .banner-text { padding-bottom: 0; }
  .arch-top, .arch-frame, .arch-cap { width: min(100%, 250px); }
}

/* Pills */
.pills { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pills a { background: var(--navy); color: var(--white); border-radius: 8px; padding: 12px 10px; text-align: center; font-size: .92rem; display: grid; place-items: center; min-height: 58px; line-height: 1.35; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }
.pills a:hover { background: var(--navy-2); text-decoration: none; }

/* Trio */
.trio { display: grid; grid-template-columns: 300px minmax(0, 1fr) 250px; gap: 28px; align-items: start; }
.card { border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.prayer-head { background: var(--navy); color: var(--white); padding: 16px 18px; }
.prayer-head h2 { color: var(--white); font-size: 1.25rem; margin-top: 6px; }
.loc { display: inline-flex; align-items: center; gap: 5px; background: var(--blue); padding: 3px 10px; border-radius: 5px; font-size: .85rem; }
.dates { margin: 6px 0 0; font-size: .82rem; opacity: .9; line-height: 1.5; }
.next { display: flex; align-items: baseline; gap: 8px; padding: 12px 18px; background: var(--soft); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.next-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
html[lang="fa"] .next-label { letter-spacing: 0; }
.next strong { color: var(--navy); }
.next-in { margin-inline-start: auto; font-variant-numeric: tabular-nums; color: var(--maroon); font-weight: 600; }
.times li { display: flex; justify-content: space-between; padding: 11px 18px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.times li b { font-weight: 600; }
.times li.is-next { background: #e8edf5; border-inline-start: 4px solid var(--navy); padding-inline-start: 14px; color: var(--navy); font-weight: 700; }
.fine { font-size: .8rem; font-style: italic; color: var(--muted); padding: 10px 18px; margin: 0; }
html[lang="fa"] .fine { font-style: normal; }
.prayer-more { width: 100%; border: 0; background: var(--navy); color: var(--white); padding: 14px; font-weight: 600; }
.prayer-more:hover { background: var(--navy-2); }

.cal h2 { text-align: center; margin-bottom: 14px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 1.3rem; line-height: 1; color: var(--navy); }
.cal-nav button:hover { background: var(--soft); }
[dir="rtl"] .cal-nav button { transform: scaleX(-1); }
.cal-title { text-align: center; display: grid; }
.cal-title strong { font-size: 1.15rem; color: var(--ink); }
.cal-title span { font-size: .85rem; color: var(--muted); }
.cal-count { text-align: center; font-size: .85rem; color: var(--muted); margin: 6px 0 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: .78rem; color: var(--muted); padding: 6px 0; font-weight: 600; }
.cal-cell { border: 0; background: none; border-radius: 8px; padding: 7px 2px 9px; display: grid; justify-items: center; gap: 1px; color: var(--text); min-height: 62px; font-variant-numeric: tabular-nums; }
.cal-cell .g { font-size: 1.05rem; }
.cal-cell .h { font-size: .74rem; color: var(--muted); }
.cal-cell.out { opacity: .35; }
.cal-cell.today { background: #dbe3ee; font-weight: 700; }
.cal-cell.has-event .h { background: var(--teal); color: var(--white); border-radius: 10px; padding: 0 10px; }
.cal-cell.has-event.tentative .h { background: var(--gold); }
.cal-cell.has-event:hover, .cal-cell.selected { background: var(--soft); outline: 1px solid var(--line); }
.cal-cell:disabled { cursor: default; }
.cal-day { margin-top: 12px; display: grid; gap: 8px; }
.cal-day .ev { border-inline-start: 4px solid var(--teal); background: var(--soft); border-radius: 6px; padding: 10px 14px; }
.cal-day .ev.tentative { border-color: var(--gold); }
.cal-day .ev b { display: block; color: var(--ink); }
.cal-day .ev span { font-size: .88rem; color: var(--muted); display: block; }

.tiles { display: grid; gap: 8px; }
.tile { display: grid; align-content: center; min-height: 86px; padding: 12px 16px; color: var(--white); text-align: center; line-height: 1.25; }
.tile:hover { text-decoration: none; filter: brightness(1.08); }
.tile small { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; opacity: .92; }
.tile b { font-size: 1.3rem; letter-spacing: .03em; }
html[lang="fa"] .tile small, html[lang="fa"] .tile b { letter-spacing: 0; }
.t-plum { background: #8a3a78; }
.t-teal { background: #1d4f57; }
.t-red { background: var(--red); }
.t-gold { background: #9a6b1c; }
.tile-poster { padding: 0; position: relative; min-height: 0; background: var(--ink); }
.tile-poster img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
.tile-poster span { position: absolute; inset-inline: 0; bottom: 0; padding: 22px 10px 8px; font-size: .82rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }

/* Monthly table */
.month-panel h2 { text-align: center; margin-bottom: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; font-size: .9rem; }
th, td { padding: 8px 10px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--navy); color: var(--white); font-weight: 600; position: sticky; top: 0; }
tr.today td { background: #e8edf5; font-weight: 700; }

/* Columns */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cols h2 { text-align: center; margin-bottom: 18px; }
.links li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.links a { display: block; }
#news .links:not(#upcoming) a { font-weight: 700; color: var(--navy); }
.links li.latest { background: #fdf6e7; border-inline-start: 4px solid var(--gold); border-radius: 6px; padding: 12px 14px; margin-bottom: 4px; }
.links li.latest a { font-size: 1.06rem; font-weight: 800; color: var(--maroon); }
.badge { display: inline-block; background: var(--red); color: var(--white); font-size: .7rem; font-weight: 700; border-radius: 4px; padding: 1px 7px; margin-inline-end: 6px; vertical-align: middle; letter-spacing: .04em; }
.gallery-grid button.latest { outline: 3px solid var(--gold); }
.gallery-grid button.latest span { font-weight: 700; }
.links time, .links span { display: block; font-size: .82rem; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--soft); border-radius: var(--radius); padding: 30px; }
.about h2 { margin-bottom: 10px; }
.about p { margin: 0 0 10px; max-width: 65ch; }
.lead { color: var(--maroon); font-weight: 600; }
.values { display: grid; gap: 10px; }
.values li { background: var(--white); border-inline-start: 4px solid var(--gold); border-radius: 6px; padding: 12px 16px; display: grid; }
.values b { color: var(--navy); font-size: 1.1rem; }
.values span { color: var(--muted); font-size: .9rem; }

/* Programs */
.programs h2, .gallery h2 { text-align: center; margin-bottom: 20px; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.program-grid article { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 8px; padding: 18px; }
.program-grid h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 8px; }
.program-grid p { margin: 0; font-size: .95rem; color: #374151; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.gallery-grid button { border: 0; padding: 0; background: var(--ink); border-radius: 8px; overflow: hidden; text-align: start; color: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.gallery-grid img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .25s; }
.gallery-grid button:hover img { transform: scale(1.03); }
.gallery-grid span { display: block; padding: 8px 10px 10px; font-size: .82rem; line-height: 1.4; }
.gallery-grid span small { display: block; opacity: .7; }

/* Support */
.support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.support-box, .contact-box { border-radius: var(--radius); padding: 26px; }
.support-box { background: var(--navy); color: var(--white); }
.support-box h2 { color: var(--white); margin-bottom: 10px; }
.support-box a { color: #f0d9a8; font-weight: 700; }
.etransfer { background: rgba(255, 255, 255, .1); border-radius: 6px; padding: 10px 14px; margin-bottom: 0; }
.contact-box { border: 1px solid var(--line); }
.contact-box h2 { margin-bottom: 10px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.site-footer { background: var(--ink); color: #e5e7eb; }
.footer-main { max-width: 1240px; margin: 0 auto; padding: 46px 20px; display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 40px; }
.footer-brand { display: grid; justify-items: center; text-align: center; gap: 4px; align-content: start; }
.footer-brand img { border-radius: 50%; margin-bottom: 8px; }
.footer-brand strong { font-size: 1.1rem; color: var(--white); }
.footer-brand em { font-style: normal; font-size: .72rem; letter-spacing: .18em; margin-top: 6px; color: #f0d9a8; }
html[lang="fa"] .footer-brand em { letter-spacing: 0; font-size: .85rem; }
.site-footer h2 { color: var(--white); margin-bottom: 12px; }
.footer-groups ul { columns: 2; column-gap: 30px; }
.footer-groups li { padding: 5px 0; break-inside: avoid; }
.social { display: flex; gap: 16px; margin-bottom: 12px; }
.social a { color: var(--white); }
.social a:hover { color: #f0d9a8; }
.footer-bar { border-top: 1px solid #374151; }
.footer-bar { max-width: none; padding: 20px max(20px, calc((100% - 1200px) / 2)); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bar a { color: #e5e7eb; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .88); display: grid; place-items: center; align-content: center; gap: 10px; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; border-radius: 8px; }
.lightbox p { color: var(--white); margin: 0; text-align: center; }
.lightbox-close { position: absolute; top: 12px; inset-inline-end: 16px; background: none; border: 0; color: var(--white); font-size: 2.4rem; line-height: 1; }

/* Responsive */
@media (max-width: 1100px) {
  .trio { grid-template-columns: 300px minmax(0, 1fr); }
  .tiles { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .tile-poster { display: none; }
  .pills { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; order: 3; margin-inline-start: 0; }
  .header-actions { margin-inline-start: auto; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0, 0, 0, .15); padding: 8px 16px 16px; margin: 0; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; }
  .has-sub > ul { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  [dir="rtl"] .has-sub > ul { padding: 0 16px 0 0; }
  .header-inner { position: relative; flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .page { padding: 0 10px; margin: 14px auto; }
  main { padding: 16px; gap: 34px; }
  .trio, .cols, .about, .support, .footer-main { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .pills { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-text small { display: none; }
  .btn-live { display: none; }
  .footer-groups ul { columns: 1; }
  .about { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-grid img { transition: none; }
}

/* AIM identity: lapis, firoozeh, pomegranate and saffron, with Markazi Text headings */
:root {
  --navy: #12284c;
  --navy-2: #1c3a6c;
  --blue: #116a69;
  --teal: #17807e;
  --slate: #0d1d38;
  --ink: #0a1730;
  --red: #8a1f2b;
  --gold: #e0a93b;
  --maroon: #7b1f24;
  --soft: #eef4f4;
  --line: #d9e3e3;
  --radius: 6px;
  --display: "Markazi Text", "Vazirmatn", Georgia, serif;
  --font: "Vazirmatn", "Segoe UI", system-ui, sans-serif;
}
html[lang="fa"] { --font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif; }
body { font-size: 1.03rem; background-color: var(--slate);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%2345c4bf' stroke-opacity='.09'%3E%3Cpath d='M40 4 51 29 76 40 51 51 40 76 29 51 4 40 29 29z'/%3E%3C/g%3E%3C/svg%3E"); }

h2 { font-family: var(--display); font-weight: 600; font-size: 2.150rem; line-height: 1.1; }
h3 { font-family: var(--display); font-weight: 600; }
html[lang="fa"] h2 { line-height: 1.35; }
main h2::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-inline-end: .35em; vertical-align: .12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23e0a93b' d='M10 0l2.900 3h4.100v4.100l3 2.900-3 2.900V17h-4.100L10 20l-2.900-3H3v-4.100L0 10l3-2.900V3h4.100z'/%3E%3C/svg%3E") center / contain no-repeat; }
.prayer-head h2::before, .support-box h2::before { display: none; }

.brand-text strong { font-family: var(--display); font-size: 1.8rem; letter-spacing: .04em; line-height: 1; }
.btn { border-radius: 4px; }
.btn-live { background: var(--red); }
.btn-navy { background: var(--teal); }
.btn-outline { border-color: var(--teal); color: var(--blue); }

.pills a { border-radius: 4px; background: var(--white); color: var(--navy); border: 1px solid var(--line); border-bottom: 3px solid var(--teal); box-shadow: none; font-weight: 600; }
.pills a:hover { background: var(--soft); border-bottom-color: var(--gold); }

.card { box-shadow: none; border-color: var(--line); }
.loc { background: var(--teal); border-radius: 3px; }
.next-label { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.next-in { color: var(--red); }
.times li.is-next { background: var(--soft); border-inline-start-color: var(--gold); }
.cal-cell.today { background: #d7e9e8; }
.cal-title strong { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }

.tile { min-height: 78px; text-align: start; justify-items: start; padding: 12px 18px; }
.tile small { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.tile b { font-family: var(--display); font-size: 1.650rem; font-weight: 600; letter-spacing: 0; line-height: 1.1; }
.t-anar { background: var(--red); }
.t-teal { background: var(--teal); }
.t-lapis { background: var(--navy); }
.t-gold { background: var(--gold); color: #1c1503; }
.tile-poster { display: none; }

.cols h2 { text-align: start; border-bottom: 2px solid var(--navy); padding-bottom: 8px; }
.links li.latest { background: #fbf3df; border-radius: 0; }
.badge { background: var(--red); border-radius: 2px; letter-spacing: 0; }

.about { background: var(--soft); border-radius: 0; border-inline-start: 6px solid var(--teal); }
.about p { max-width: 62ch; }
.values li { border-radius: 0; }
.values b { font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }

.programs h2, .gallery h2, .cal h2, .month-panel h2 { text-align: start; }
.cal h2 { margin-bottom: 10px; }
.program-grid { gap: 0; border-top: 2px solid var(--navy); }
.program-grid article { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 22px 22px 0; }
[dir="rtl"] .program-grid article { padding: 20px 0 22px 22px; }
.program-grid h3 { font-size: 1.550rem; color: var(--navy); margin-bottom: 4px; }
.program-grid p { max-width: 44ch; }

.gallery-grid button { border-radius: 2px; box-shadow: none; background: var(--navy); }
.support-box, .contact-box { border-radius: 4px; }
.footer-brand em { letter-spacing: 0; font-size: .9rem; }
.footer-bar { border-top-color: #22355a; }
.prayer-head h2 { font-size: 1.9rem; margin-top: 8px; }
.gallery-grid img { object-fit: contain; background: var(--ink); }
.gallery-grid button:hover img { transform: none; }
.tiles { align-self: stretch; grid-auto-rows: 1fr; }
.gallery-grid img { object-position: top; }
