:root {
  --navy: #142a45;
  --navy-2: #0d1c2e;
  --blue: #294e73;
  --gold: #c89f57;
  --gold-soft: #ead8b6;
  --cream: #f8f4ec;
  --paper: #fffdfa;
  --ink: #1a2430;
  --muted: #687483;
  --line: #e7e0d5;
  --shadow: 0 18px 55px rgba(15, 34, 54, .10);
  --radius: 22px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.container.narrow { width: min(800px, calc(100% - 40px)); }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-160%); background: #fff; padding: 10px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,250,.93); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(20,42,69,.08); transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(15,34,54,.08); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-width: 0; }
.brand-logo { width: 150px; height: 75px; border-radius: 10px; object-fit: cover; object-position: center; box-shadow: 0 3px 14px rgba(15,34,54,.13); }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 650; }
.main-nav a { text-decoration: none; color: #455363; position: relative; transition: color .2s ease; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a.active::after { content: ''; position: absolute; height: 2px; left: 0; right: 0; bottom: -10px; background: var(--gold); border-radius: 2px; }
.main-nav .nav-donate { color: white; background: var(--navy); border-radius: 999px; padding: 10px 17px; }
.main-nav .nav-donate:hover { color: white; background: var(--blue); }
.main-nav .nav-donate.active { color: white; }
.main-nav .nav-donate::after { display: none; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }


/* New church fundraising banner */
.building-banner { padding: 24px 0; background: #f4ecdf; border-bottom: 1px solid var(--line); }
.building-banner[hidden] { display: none; }
.building-banner-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(340px,.82fr) minmax(0,1.18fr); min-height: 330px; border-radius: 28px; background: var(--navy); box-shadow: var(--shadow); }
.building-banner-copy { position: relative; z-index: 2; padding: 44px 46px; align-self: center; color: white; }
.building-banner-copy .eyebrow { color: var(--gold-soft); }
.building-banner-copy h2 { margin: 8px 0 14px; max-width: 500px; color: white; font: 500 clamp(34px,4vw,50px)/1.04 var(--serif); letter-spacing: -.025em; }
.building-banner-copy p { max-width: 560px; margin: 0 0 25px; color: rgba(255,255,255,.76); font-size: 16px; }
.building-banner-media { position: relative; min-height: 330px; margin: 0; overflow: hidden; }
.building-banner-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,42,69,.60) 0%, rgba(20,42,69,.08) 20%, transparent 48%); pointer-events: none; }
.building-banner-media img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; object-position: center 53%; display: block; }
.building-banner-media figcaption { position: absolute; z-index: 2; right: 18px; bottom: 14px; padding: 6px 9px; border-radius: 999px; background: rgba(8,23,39,.72); color: rgba(255,255,255,.85); font-size: 10px; backdrop-filter: blur(5px); }
.rtl-site .building-banner-card { grid-template-columns: minmax(0,1.18fr) minmax(340px,.82fr); }
.rtl-site .building-banner-copy { grid-column: 2; grid-row: 1; }
.rtl-site .building-banner-media { grid-column: 1; grid-row: 1; }
.rtl-site .building-banner-media::after { background: linear-gradient(270deg, rgba(20,42,69,.60) 0%, rgba(20,42,69,.08) 20%, transparent 48%); }
.rtl-site .building-banner-media figcaption { right: auto; left: 18px; }

.hero { position: relative; overflow: hidden; background: var(--navy-2); color: white; min-height: 680px; display: grid; align-items: center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,24,40,.97) 0%, rgba(9,24,40,.91) 44%, rgba(9,24,40,.36) 72%, rgba(9,24,40,.30) 100%); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; opacity: .73; }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 105px 0 112px; }
.eyebrow { display: inline-block; font-size: 12px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--gold); margin-bottom: 18px; }
.hero h1, .page-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(48px, 6.6vw, 82px); line-height: 1.01; max-width: 760px; }
.hero p { margin: 24px 0 0; color: rgba(255,255,255,.82); max-width: 650px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border-radius: 999px; text-decoration: none; font-weight: 750; font-size: 14px; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--gold); color: #172230; }
.button.primary:hover { background: #d5ae68; }
.button.secondary { border-color: rgba(255,255,255,.32); color: white; background: rgba(255,255,255,.06); }
.button.secondary:hover { background: rgba(255,255,255,.12); }
.button.dark { background: var(--navy); color: white; }
.button.outline { border-color: var(--line); background: white; color: var(--navy); }

.quick-links { position: relative; z-index: 3; margin-top: -54px; }
.quick-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.quick-card { background: white; border: 1px solid rgba(20,42,69,.08); box-shadow: var(--shadow); border-radius: var(--radius); padding: 26px 28px; min-height: 126px; text-decoration: none; display: flex; justify-content: space-between; gap: 22px; align-items: center; transition: transform .2s ease, box-shadow .2s ease; }
.quick-card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(15,34,54,.14); }
.quick-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; font-size: 20px; }
.quick-copy { flex: 1 1 auto; min-width: 0; }
.quick-card strong { display: block; color: var(--navy); font-size: 17px; line-height: 1.3; }
.quick-card .quick-copy > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 5px; }
.quick-arrow { flex: 0 0 auto; color: var(--gold); font-size: 28px; line-height: 1; }

.section { padding: 100px 0; }
.section.soft { background: var(--cream); }
.section-title { max-width: 740px; margin-bottom: 45px; }
.section-title h2 { margin: 0 0 14px; font: 500 clamp(36px,4.5vw,54px)/1.08 var(--serif); letter-spacing: -.03em; color: var(--navy); }
.section-title p { margin: 0; font-size: 18px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.prose h2, .prose h3 { font-family: var(--serif); color: var(--navy); font-weight: 500; letter-spacing: -.02em; }
.prose h2 { font-size: 42px; line-height: 1.1; margin: 0 0 22px; }
.prose h3 { font-size: 28px; margin: 32px 0 8px; }
.prose p { color: #4e5a68; font-size: 17px; }
.prose p:first-of-type { margin-top: 0; }
.image-frame { position: relative; border-radius: 32px; overflow: hidden; min-height: 520px; box-shadow: var(--shadow); background: #ddd; }
.image-frame img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.image-frame::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); border-radius: inherit; pointer-events: none; }
.scripture { border-left: 2px solid var(--gold); padding: 8px 0 8px 26px; margin: 28px 0; font: italic 21px/1.55 var(--serif); color: var(--navy); }

.schedule-teaser { background: var(--navy); color: white; border-radius: 30px; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 46px 50px; box-shadow: var(--shadow); }
.schedule-teaser h2 { font: 500 40px/1.06 var(--serif); margin: 0 0 10px; }
.schedule-teaser p { margin: 0; color: rgba(255,255,255,.72); }

.page-hero { background: linear-gradient(180deg, #f2eadc, #faf7f1); border-bottom: 1px solid var(--line); text-align: center; padding: 92px 0 82px; }
.page-hero h1 { color: var(--navy); font-size: clamp(44px,6vw,68px); line-height: 1.05; }
.page-hero p { color: var(--muted); font-size: 18px; margin: 20px auto 0; max-width: 680px; }

.content-wrap { padding: 70px 0 100px; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 35px rgba(20,42,69,.06); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 28px; }
.info-card h2, .info-card h3 { margin: 0 0 8px; color: var(--navy); font: 500 26px/1.2 var(--serif); }
.info-card p { margin: 0; color: var(--muted); }
.info-card .button { margin-top: 20px; }

.schedule-shell { width: min(980px, calc(100% - 40px)); margin: 0 auto; }
.schedule-content { background: white; border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px,5vw,58px); box-shadow: var(--shadow); overflow: hidden; }
.schedule-content > :first-child { margin-top: 0; }
.schedule-content > :last-child { margin-bottom: 0; }
.schedule-content h1, .schedule-content h2, .schedule-content h3 { font-family: var(--serif); color: var(--navy); }
.schedule-content h2 { font-size: 34px; margin-top: 38px; }
.schedule-content h3 { font-size: 24px; margin-top: 30px; }
.schedule-content p { color: #4e5a68; }
.schedule-content a { color: var(--blue); font-weight: 700; }
.schedule-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0 30px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.schedule-content th, .schedule-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule-content th { background: var(--cream); color: var(--navy); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.schedule-content tr:last-child td { border-bottom: 0; }
.week-intro { text-align: center; margin-bottom: 36px; }
.week-intro h2 { margin: 4px 0 8px; }
.week-intro p { margin: 5px 0; }
.day { border-top: 1px solid var(--line); padding: 28px 0 4px; }
.day:first-of-type { border-top: 0; }
.day-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 13px; }
.day-heading h3 { margin: 0; font-size: 27px; }
.coptic-date { color: var(--gold); font-weight: 700; font-size: 14px; }
.commemorations { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.service-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 0; border-top: 1px dashed #eee7dd; }
.service-name { font-weight: 650; color: var(--ink); }
.service-time { font-weight: 750; color: var(--navy); white-space: nowrap; }
.service-row.no-service { margin: 5px 0; padding: 12px 14px; border-top: 0; border-radius: 12px; background: #fff2f2; }
.service-row.no-service .service-name { color: #9c2f2f; font-weight: 800; }
.schedule-note { margin-top: 36px; padding: 24px; border-radius: 18px; background: var(--cream); }

.media-grid, .resource-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.media-card { min-height: 280px; padding: 34px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: white; background: var(--navy); }
.media-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(200,159,87,.35), transparent 45%); }
.media-card > * { position: relative; z-index: 1; }
.media-card .platform { font-size: 12px; text-transform: uppercase; letter-spacing: .13em; color: var(--gold-soft); font-weight: 800; }
.media-card h2 { font: 500 34px/1.08 var(--serif); margin: 10px 0 6px; }
.media-card p { margin: 0; color: rgba(255,255,255,.72); }
.resource-card { display: flex; align-items: center; gap: 22px; padding: 25px; text-decoration: none; }
.resource-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--cream); display: grid; place-items: center; color: var(--navy); font: 700 22px var(--serif); flex: 0 0 auto; }
.resource-card h2 { font: 500 24px/1.2 var(--serif); margin: 0 0 3px; color: var(--navy); }
.resource-card p { margin: 0; color: var(--muted); font-size: 14px; }

.priest-layout { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: start; }
.priest-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.priest-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.contact-chip { display: inline-flex; margin-top: 14px; padding: 9px 14px; border-radius: 999px; background: var(--cream); text-decoration: none; color: var(--navy); font-weight: 700; font-size: 14px; }
.map-frame { margin-top: 50px; border-radius: 24px; overflow: hidden; min-height: 380px; border: 1px solid var(--line); }
.map-frame iframe { border: 0; width: 100%; height: 420px; display: block; }

.donate-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: stretch; }
.donate-main { padding: 45px; }
.donate-main h2 { font: 500 38px/1.1 var(--serif); color: var(--navy); margin-top: 0; }
.donation-method { padding: 22px 0; border-top: 1px solid var(--line); }
.donation-method:first-of-type { border-top: 0; }
.donation-method strong { display: block; color: var(--navy); }
.donation-method p { margin: 4px 0 0; color: var(--muted); }
.donate-icon { min-height: 100%; border-radius: 24px; overflow: hidden; position: relative; background: #c39b58; }
.donate-icon img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.donate-icon::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,27,45,.48), transparent 55%); }
.donate-icon span { position: absolute; z-index: 2; left: 28px; bottom: 25px; color: white; font: 500 30px var(--serif); }

.notice { border-radius: 18px; background: #f8f3e8; border: 1px solid #eadcc2; padding: 20px 22px; color: #5a4a30; }
.empty-state { text-align: center; padding: 58px 25px; }
.empty-state h2 { font: 500 32px var(--serif); color: var(--navy); margin: 0 0 8px; }
.empty-state p { max-width: 560px; margin: 0 auto; color: var(--muted); }

.site-footer { background: var(--navy-2); color: white; padding: 65px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 38px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.footer-brand strong { font: 500 21px/1.2 var(--serif); }
.footer-brand p { color: rgba(255,255,255,.57); font-size: 14px; max-width: 300px; margin: 8px 0 0; }
.site-footer h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 13px; color: var(--gold-soft); }
.site-footer a { display: block; text-decoration: none; color: rgba(255,255,255,.67); font-size: 14px; margin: 8px 0; }
.site-footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 45px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.46); font-size: 12px; }
@media (max-width: 980px) {
  .building-banner-card, .rtl-site .building-banner-card { grid-template-columns: 1fr; }
  .building-banner-copy, .rtl-site .building-banner-copy { grid-column: 1; grid-row: 2; padding: 34px 36px 38px; }
  .building-banner-media, .rtl-site .building-banner-media { grid-column: 1; grid-row: 1; min-height: 300px; }
  .building-banner-media img { min-height: 300px; }
  .building-banner-media::after, .rtl-site .building-banner-media::after { background: linear-gradient(0deg, rgba(20,42,69,.30), transparent 45%); }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 74px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .main-nav a.active::after { display: none; }
  .main-nav .nav-donate { margin-top: 6px; text-align: center; }
  .quick-grid, .info-grid { grid-template-columns: 1fr; }
  .two-col, .donate-layout { grid-template-columns: 1fr; gap: 42px; }
  .image-frame { min-height: 440px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}
@media (max-width: 700px) {
  .building-banner { padding: 14px 0 18px; }
  .building-banner-card { border-radius: 22px; }
  .building-banner-copy, .rtl-site .building-banner-copy { padding: 28px 24px 30px; }
  .building-banner-copy h2 { font-size: 34px; }
  .building-banner-copy p { font-size: 15px; }
  .building-banner-media, .rtl-site .building-banner-media { min-height: 225px; }
  .building-banner-media img { min-height: 225px; }
  .building-banner-media figcaption { display: none; }
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 72px; }
  .brand-logo { width: 130px; height: 65px; }
  .hero { min-height: 610px; }
  .hero::after { background: linear-gradient(0deg, rgba(9,24,40,.98) 0%, rgba(9,24,40,.84) 66%, rgba(9,24,40,.42) 100%); }
  .hero-image { object-position: 43% center; }
  .hero-content { padding: 80px 0 95px; }
  .hero h1 { font-size: clamp(44px, 14vw, 62px); }
  .hero p { font-size: 16px; }
  .quick-links { margin-top: -36px; }
  .quick-card { padding: 20px; }
  .section { padding: 76px 0; }
  .schedule-teaser { grid-template-columns: 1fr; padding: 32px; }
  .schedule-teaser h2 { font-size: 34px; }
  .page-hero { padding: 70px 0 62px; }
  .content-wrap { padding: 50px 0 74px; }
  .schedule-content { padding: 24px 20px; border-radius: 20px; }
  .service-row { grid-template-columns: 1fr; gap: 2px; }
  .media-grid, .resource-grid { grid-template-columns: 1fr; }
  .media-card { min-height: 240px; }
  .priest-layout { grid-template-columns: 1fr; gap: 28px; }
  .priest-photo { max-width: 280px; }
  .donate-main { padding: 28px; }
  .donate-icon { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { display: block; }
  .footer-bottom { flex-direction: column; }
}


/* v4 additions: Arabic, app promotion, embedded forms, donation brands, graphical icons */
.language-link { font-weight: 800 !important; color: var(--navy) !important; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px !important; }
.graphic-icon img, .resource-icon img { width: 28px; height: 28px; display: block; }
.quick-icon.graphic-icon { display: grid; place-items: center; }
.quick-icon.graphic-icon img { width: 31px; height: 31px; }
.resource-icon { color: var(--navy); }
.resource-icon img { width: 30px; height: 30px; }
.resource-card:hover .resource-icon { background: #efe2c9; transform: translateY(-1px); }
.resource-icon { transition: .2s ease; }

.app-promo { background: #0e2239; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.app-promo[hidden] { display: none; }
.app-promo-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 10px; padding-bottom: 10px; }
.app-promo-copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app-promo-copy strong { display: block; font-size: 14px; }
.app-promo-copy span:not(.app-icon-mini) { display: block; color: rgba(255,255,255,.66); font-size: 12px; margin-top: 1px; }
.app-icon-mini { width: 38px; height: 38px; border-radius: 9px; overflow: hidden; flex: 0 0 auto; box-shadow: 0 3px 12px rgba(0,0,0,.25); }
.app-icon-mini img { width: 100%; height: 100%; object-fit: cover; }
.app-promo-actions { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.store-button { color: #fff; border: 1px solid rgba(255,255,255,.28); padding: 8px 12px; border-radius: 9px; text-decoration: none; font-size: 12px; font-weight: 800; white-space: nowrap; }
.store-button:hover { background: rgba(255,255,255,.09); }
.apple-store { background: rgba(255,255,255,.07); }
.play-store { background: rgba(255,255,255,.02); }
.app-promo-close { border: 0; color: rgba(255,255,255,.7); background: transparent; font-size: 22px; cursor: pointer; padding: 4px 7px; line-height: 1; }

.form-intro { padding: clamp(28px,5vw,48px); margin-bottom: 28px; }
.embedded-form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; min-height: 720px; }
.jotform-frame { border: 0; width: 100%; min-height: 900px; height: 1100px; display: block; background: #fff; }
.new-member-jotform { height: 1350px; }
.registration-section { margin-top: 70px; }
.new-member-top .hero-actions { margin-top: 24px; }
.form-placeholder { min-height: 500px; display: grid; place-content: center; text-align: center; padding: 40px; color: var(--muted); }
.form-placeholder strong { color: var(--navy); font: 500 30px var(--serif); }
.form-placeholder p { max-width: 630px; }
.form-placeholder code, .link-config-note code { padding: 2px 5px; border-radius: 5px; background: var(--cream); color: var(--navy); }

.donation-button-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 26px 0 34px; }
.donation-brand { min-height: 104px; border-radius: 16px; padding: 15px 16px; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font-weight: 800; text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.donation-brand:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(20,42,69,.12); }
.donation-brand img { max-width: 86px; max-height: 34px; object-fit: contain; }
.zelle-brand { background: #6d1ed4; color: #fff; }
.zelle-brand img { filter: brightness(0) invert(1); }
.paypal-brand { background: #eef6ff; color: #113d78; border: 1px solid #cfe3fa; }
.venmo-brand { background: #eef7ff; color: #0876b9; border: 1px solid #cfe8f6; }
.brand-word { font: 800 24px/1 ui-sans-serif,system-ui,sans-serif; letter-spacing: -.04em; }
.link-not-configured { opacity: .6; cursor: not-allowed; }
.featured-zelle { background: #f7f0ff; border: 1px solid #e3d0fa; border-radius: 18px; margin-top: 10px; padding: 20px !important; display: flex; gap: 20px; align-items: center; }
.method-logo { width: 88px; height: 58px; border-radius: 14px; background: #6d1ed4; display: grid; place-items: center; padding: 12px; flex: 0 0 auto; }
.method-logo img { width: 100%; filter: brightness(0) invert(1); }
.link-config-note { margin: 18px 0 0; padding: 13px 15px; background: #fff8e8; border: 1px solid #ead7aa; border-radius: 12px; color: #755d28; font-size: 12px; }

.rtl-site { font-family: Tahoma, Arial, "Segoe UI", sans-serif; }
.rtl-site h1, .rtl-site h2, .rtl-site h3, .rtl-site .footer-brand strong, .rtl-site .donate-icon span { font-family: Tahoma, Arial, "Segoe UI", sans-serif; font-weight: 700; }
.rtl-site .main-nav { direction: rtl; }
.rtl-site .hero-content, .rtl-site .prose, .rtl-site .section-title, .rtl-site .info-card { text-align: right; }
.rtl-site .scripture { border-left: 0; border-right: 2px solid var(--gold); padding: 8px 26px 8px 0; }
.rtl-site .schedule-content th, .rtl-site .schedule-content td { text-align: right; }
.rtl-site .service-row { grid-template-columns: 1fr auto; }
.rtl-site .footer-grid, .rtl-site .footer-bottom { text-align: right; }
.rtl-site .quick-card { direction: rtl; }
.rtl-site .resource-card { direction: rtl; text-align: right; }
.rtl-site .app-promo-inner, .rtl-site .app-promo-copy, .rtl-site .app-promo-actions { direction: rtl; }
.rtl-site .donation-method, .rtl-site .donate-main { text-align: right; }

@media (max-width: 900px) {
  .app-promo-inner { align-items: flex-start; flex-direction: column; gap: 9px; padding-top: 12px; padding-bottom: 12px; }
  .app-promo-actions { width: 100%; flex-wrap: wrap; }
  .app-promo-close { margin-left: auto; }
  .rtl-site .app-promo-close { margin-left: 0; margin-right: auto; }
  .donation-button-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .embedded-form-card { border-radius: 16px; min-height: 620px; }
  .jotform-frame { min-height: 850px; height: 1050px; }
  .new-member-jotform { height: 1450px; }
  .featured-zelle { align-items: flex-start; }
  .language-link { text-align: center; margin-top: 5px; }
}


/* v9: pastoral visitation form */
.visitation-chip { background: var(--navy); color: #fff; }
.visitation-chip:hover { background: var(--blue); color: #fff; }
.visitation-section { margin-top: 72px; scroll-margin-top: 120px; }
.visitation-section .section-title { margin-bottom: 28px; }
.visitation-form-card { min-height: 680px; }
.visitation-jotform { height: 1150px; }
@media (max-width: 700px) {
  .quick-card { min-height: 108px; padding: 22px; }
  .quick-card strong { font-size: 16px; }
  .visitation-section { margin-top: 54px; }
  .visitation-jotform { height: 1250px; }
}

/* v11: About page — balanced location block with clear section separation */
.about-location {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}
.about-map.map-frame {
  margin-top: 0;
  min-height: 400px;
  height: 100%;
  box-shadow: var(--shadow);
}
.about-map.map-frame iframe {
  height: 100%;
  min-height: 400px;
}
.location-card {
  min-height: 400px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location-card h2 {
  font: 500 32px/1.14 var(--serif);
  color: var(--navy);
  margin: 9px 0 22px;
}
.location-card address {
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
}
.location-card p {
  color: var(--muted);
  margin: 20px 0 28px;
  max-width: 430px;
}
.location-card .button { align-self: flex-start; }
.rtl-site .location-card .button { align-self: flex-start; }
.about-priest {
  margin-top: 110px;
  padding-top: 88px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .about-location { grid-template-columns: 1fr; gap: 24px; }
  .about-map.map-frame,
  .about-map.map-frame iframe { min-height: 340px; }
  .location-card { min-height: 0; padding: 32px; }
  .about-priest { margin-top: 72px; padding-top: 62px; }
}
@media (max-width: 560px) {
  .about-map.map-frame,
  .about-map.map-frame iframe { min-height: 300px; }
  .location-card { padding: 27px 24px; }
  .location-card h2 { font-size: 28px; }
  .about-priest { margin-top: 58px; padding-top: 50px; }
}


/* v12: About action spacing and polished location CTA */
.location-card .button.dark {
  margin-top: 30px;
  padding-inline: 24px;
  min-height: 50px;
}
.priest-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.priest-actions .contact-chip {
  margin-top: 0;
  padding: 13px 20px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.rtl-site .priest-actions { direction: rtl; }
@media (max-width: 560px) {
  .priest-actions {
    margin-top: 28px;
    gap: 11px;
  }
  .priest-actions .contact-chip {
    width: 100%;
    text-align: center;
  }
}

/* Google Play Coming Soon dialog */
body.modal-open { overflow: hidden; }
.coming-soon-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 25, 43, 0.58);
  backdrop-filter: blur(5px);
}
.coming-soon-overlay[hidden] { display: none; }
.coming-soon-dialog {
  position: relative;
  width: min(430px, 100%);
  padding: 38px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  text-align: center;
}
.coming-soon-dialog .eyebrow { display: block; margin-bottom: 8px; }
.coming-soon-dialog h2 { margin: 0 0 12px; }
.coming-soon-dialog p { margin: 0 auto 24px; max-width: 34ch; color: var(--muted); line-height: 1.65; }
.coming-soon-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
html[dir="rtl"] .coming-soon-x { right: auto; left: 14px; }
.coming-soon-x:hover { background: var(--soft); }
.coming-soon-close-button { min-width: 132px; }
@media (max-width: 560px) {
  .coming-soon-dialog { padding: 34px 24px 28px; border-radius: 22px; }
}
