*{box-sizing:border-box}:root{--ds-page:#fff;--ds-ink:#2b2620;--ds-ink-2:#6d655a;--ds-hairline:#e3ddd4}html{background:#faf7f2}body{font-family:"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif;padding:20px 12px 40px;line-height:1.6}.file-card{max-width:1040px;margin:auto;padding:24px;background:#fff;border:1px solid var(--ds-hairline);border-radius:20px}.file-title{line-height:1.35;margin:0 0 18px}.file-fact{color:#17736b;margin:0 0 28px}.file-intro{margin:0 0 20px}.file-group{margin-top:28px}.file-group-heading{margin:0 0 12px}.file-callout{border-inline-start:2px solid var(--ds-hairline);padding-inline-start:14px}.file-callout span{display:block}.file-strong{font-weight:700}.file-link{color:#16324f}.file-closing{padding-top:20px;text-align:center;color:var(--ds-ink-2)}.file-button{border-radius:8px;align-items:center;gap:12px}.file-button svg{flex:none}@media(min-width:768px){.file-card{padding:36px}}
html, body, #root { margin: 0; min-height: 100%; }
body { background: var(--ds-page); }

.lang-block { margin-top: 24px; }
.lang-tag { font-weight: 800; font-size: 27px; line-height: 1.3; color: #fff; background: #16324f; border-radius: 10px; padding: 12px 16px; margin: 0 0 12px; }
.lang-block.en {
    margin-top: 14px;
    background: #eef4ea;
    border: 1px solid #a9c4ab;
    border-radius: 12px;
    padding: 10px 12px 12px;
}
.lang-block.en .lang-tag { color: #fff; background: #2e6b3e; }

.person {
    border: 1px solid var(--ds-hairline);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
}
.lang-block.en .person { background: #fff; border-color: #cfdccb; }
.person:last-child { margin-bottom: 0; }

.person-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pname { font-weight: 800; font-size: 21px; color: var(--ds-ink); }
.pnum { font-weight: 800; font-size: 24px; letter-spacing: .3px; color: #16324f; text-decoration: none; }
.pnum:hover { text-decoration: underline; }
.pnote { margin-top: 5px; font-size: 16px; font-weight: 600; color: var(--ds-ink-2); }
.pnote.warn { color: #9a3b2e; font-weight: 600; }

.pbtns { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pbtn {
    display: inline-flex; align-items: center; gap: 7px;
    min-height: 52px; padding: 0 24px;
    border-radius: 999px;
    color: #fff; font-weight: 800; font-size: 19px;
    text-decoration: none;
}
.pbtn:hover { filter: brightness(1.08); text-decoration: none; }
.b-call { background: #16324f; }
.b-wa { background: #1f9e4d; }
.b-sms { background: #7a5a9e; }
.pref {
    font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85);
    border-inline-start: 1px solid rgba(255,255,255,.45);
    padding-inline-start: 7px;
}
.temple-hero { margin: 0 0 10px; }
.temple-hero img { width: 100%; height: auto; object-fit: contain; border-radius: 12px; display: block; }
.hero-cap { font-size: 14px; font-weight: 600; color: var(--ds-ink-2); text-align: center; margin-top: 4px; }

.file-title { font-size: 31px !important; }
.file-fact { font-size: 17px !important; font-weight: 700 !important; }
.file-intro { font-size: 18px !important; line-height: 1.6 !important; }
.file-group-heading { font-size: 26px !important; }
.file-closing { font-size: 15px !important; font-weight: 600 !important; }
.pbtn svg { width: 20px; height: 20px; }

.pemail { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 19px; font-weight: 800; color: #16324f; text-decoration: none; direction: ltr; background: #f3e7c8; border: 2px solid #b3903f; border-radius: 10px; padding: 7px 14px; }
.pemail svg { flex: none; color: #8b6914; }

.pemail { max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }

@media (max-width: 600px) {
    .lang-block.yi .person-head { flex-direction: column; align-items: stretch; gap: 6px; }
    .lang-block.yi .pnum { display: block; text-align: right; padding: 0; margin: 0; letter-spacing: 0; }
}

.cross-nav { margin: 0 0 24px; padding: 18px; border: 2px solid #16324f; border-radius: 12px; background: #eef4f8; text-align: center; }
.cross-label { font-size: 17px; font-weight: 700; color: #16324f; margin-bottom: 10px; }
.cross-nav .file-button { display: flex; width: 100%; max-width: 100%; justify-content: center; box-sizing: border-box; min-height: 60px; background: #16324f; color: #fff; font-size: 21px; font-weight: 800; white-space: normal; line-height: 1.4; padding: 14px; text-decoration: none; }
.directory-brand { display: flex; justify-content: center; margin: 20px 0; }
.directory-brand img { width: 140px; height: auto; display: block; }
@media(min-width:768px) { .directory-brand img { width: 170px; } }

[hidden]{display:none!important}.response-languages{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.response-languages button{font:inherit;cursor:pointer;border:1px solid #b7cdc5;border-radius:8px;padding:10px 20px;background:#fff;color:#176c5b}.response-languages button[aria-pressed="true"]{background:#176c5b;color:white}

@media(max-width:700px){.has-sidebar .pbtn{padding:10px 12px;font-size:17px;gap:6px;white-space:nowrap;overflow-wrap:normal}.has-sidebar .pbtn .pref{white-space:nowrap;overflow-wrap:normal}.has-sidebar .pbtn svg{flex:none}.has-sidebar .file-title{font-size:25px!important}}

.directory-role-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin:28px 0}.directory-role-choice button,.directory-role-back{font:inherit;font-weight:700;cursor:pointer;border:1px solid #176c5b;border-radius:12px;padding:20px;background:#f3f7f4;color:#155f58;min-height:56px}.directory-role-choice button{font-size:23px}.directory-role-back{margin:20px 0;padding:12px 18px}.directory-empty{border:1px solid #e3ddd4;border-radius:12px;padding:18px;margin:24px 0}
/* Direct contact shortcuts stay side by side, with readable wrapped labels. */
.directory-role-choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.directory-role-choice button{min-width:0;overflow-wrap:normal;white-space:normal;line-height:1.45;padding:14px 10px;font-size:20px}

/* Equal language tiles, without changing type size. */
.response-languages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}
.response-languages button{width:100%;min-width:0;min-height:52px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:10px 8px}
@media(max-width:700px){.response-languages{grid-template-columns:repeat(2,minmax(0,1fr))}}
