:root {
    --ink:#133e39; --accent:#096459; --muted:#49625c; --paper:#fafbf7;
    --line:#cbd9cf; --wash:#e6f0e7; --sand:#eee6d4; --white:#fff;
    --shadow:0 12px 32px rgb(17 63 50 / 7%);
    font-family:"IBM Plex Sans Arabic",Tahoma,"Segoe UI",Arial,sans-serif;
}
*,*::before,*::after { box-sizing:border-box }
html { scroll-padding-top:5rem }
body { margin:0; color:var(--ink); background:var(--paper); direction:rtl; line-height:1.8; overflow-wrap:anywhere }
body,button,input,select { font-family:inherit }
input,button,select { font-size:1rem }
a { color:var(--accent); text-decoration-thickness:1px; text-underline-offset:.24em }
a:hover { text-decoration:underline }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #b47a17; outline-offset:3px }
img,video,iframe { max-width:100% } img,video { height:auto }
[hidden] { display:none!important }
.wrap { width:min(1140px,calc(100% - 40px)); margin-inline:auto }
.skip,.screen-reader-text { position:absolute; clip-path:inset(100%); width:1px; height:1px; overflow:hidden }
.skip:focus,.screen-reader-text:focus { clip-path:none; width:auto; height:auto; padding:.6rem 1rem; background:white; z-index:90; inset:0 auto auto 0 }
.site-head { background:white; border-block-end:1px solid var(--line); position:relative; z-index:9 }
.head-row,.brand,.main-nav,.main-nav ul,.actions,.social,.section-title,.foot-base { display:flex; align-items:center; gap:1rem; flex-wrap:wrap }
.head-row { min-height:78px; justify-content:space-between; padding-block:.5rem }
.brand { gap:.7rem; max-width:100%; min-width:0 }
.brand-title { font-weight:800; color:var(--ink); font-size:1.12rem }
.brand-icon,.face { display:grid; place-items:center; flex:none; width:54px; height:54px; object-fit:cover; border-radius:16px; background:var(--wash); color:var(--accent); font-size:1.4rem; font-weight:700 }
.brand-icon { width:42px; height:42px; color:white; background:var(--accent) }
.brand .face { width:42px; height:42px; border-radius:50% }
.custom-logo { display:block; max-width:110px; max-height:54px; width:auto; object-fit:contain }
.main-nav ul,.site-foot ul,.crumbs ol,.chips { list-style:none; margin:0; padding:0 }
.main-nav { gap:1.25rem }.main-nav ul { gap:1.2rem }
.main-nav a,.brand a,.crumbs a,.foot-base a,.card h3 a,.specialty-card,.site-foot a { text-decoration:none }
.main-nav a { display:inline-flex; align-items:center; min-height:44px; color:var(--ink); font-size:.91rem; font-weight:600 }
.main-nav a[aria-current="page"],.main-nav a:hover,.site-foot a:hover,.card h3 a:hover { text-decoration:underline }
.single-doctor .main-nav>a:last-child,.single-hd_clinic_page .main-nav>a:last-child,.single-post .main-nav>a:last-child { background:var(--accent); color:white; border-radius:9px; padding:.3rem 1rem }
.toggle,.btn,.secondary { cursor:pointer; padding:.65rem 1.15rem; border:1px solid transparent; border-radius:9px; font-weight:700 }
.toggle,.secondary { background:white; border-color:var(--line); color:var(--ink) }
h1,h2,h3 { line-height:1.45; margin:0 0 .65em }
h1 { font-size:clamp(2.05rem,5vw,3.55rem); letter-spacing:-.04em }
h2 { font-size:clamp(1.45rem,3vw,2rem) } h3 { font-size:1.17rem }
p { margin:.45em 0 1em }
.hero,.profile-top { background:var(--wash); border-block-end:1px solid #cadbcd }
.hero { position:relative; overflow:hidden; padding:clamp(2.75rem,6vw,5.7rem) 0 2.6rem }
.hero::before { content:""; position:absolute; left:8%; top:-28%; width:clamp(160px,30vw,440px); height:110%; border:clamp(12px,2vw,30px) double #b5cfc1; border-radius:50% 50% 0 0; pointer-events:none; transform:rotate(-8deg); opacity:.56 }
.hero .wrap { position:relative }.hero h1 { font-size:clamp(2.5rem,6vw,4.85rem); margin:.25em 0; line-height:1.22 }.hero h1 em { font-style:normal; color:var(--accent) }
.hero p,.profile-top p,.card p,.side p { color:var(--muted) }
.overline,.card small { color:var(--accent); font-weight:700; font-size:.9rem }
.finder { display:grid; grid-template-columns:1.2fr 1fr 1fr auto; gap:.85rem; align-items:end; padding:1.15rem; margin:1.6rem 0 1rem; background:white; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow) }
.finder label { display:grid; gap:.3rem; font-size:.88rem; font-weight:bold; min-width:0 }
.finder input,.finder select { width:100%; min-width:0; height:48px; padding:0 .75rem; color:var(--ink); background:#fcfdfa; border:1px solid #a6bcb1; border-radius:7px }
.btn { color:white; background:var(--accent); display:inline-flex; align-items:center; justify-content:center; min-height:48px; text-decoration:none }
.btn:hover { background:#064e46; color:white }.btn.secondary { color:var(--ink); background:white; border-color:#aac0b3 }
.band { padding-block:clamp(2rem,5vw,4rem) }.band+.band { border-block-start:1px solid var(--line) }
.section-title,.foot-base { justify-content:space-between }.section-title { margin-bottom:1.2rem }.section-title h2 { margin:0 }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem }
.card,.side,.empty,.review { background:white; border:1px solid var(--line); border-radius:14px; padding:1.2rem }
.card { min-width:0 }.card h3 { margin:.1rem 0 .35rem }.card p { font-size:.95rem; margin:.15rem 0 .6rem }.card h3 a { color:var(--ink) }
.specialty-card,.doctor-card,.profile-row { display:flex; gap:1rem; align-items:flex-start }
.specialty-card { justify-content:space-between; align-items:center; border-inline-start:4px solid #94b7a6 }
.specialty-card span { font-size:1.4rem }.specialty-card h3 { margin:0 }.specialty-card:hover { background:#f3f7f1 }
.text-link { font-weight:700; font-size:.93rem }
.crumbs ol { display:flex; flex-wrap:wrap; gap:.3em .6em; font-size:.85rem; padding-block:1rem; color:var(--muted) }
.crumbs li+li::before { content:"/"; margin-inline-end:.6em; color:#788d83 }
.profile-top { padding-block:clamp(2rem,4vw,4rem) }.profile-row>.face { width:100px; height:100px; font-size:2.5rem; background:white; border:1px solid var(--line) }
.profile-top h1 { margin:.1em 0 }.profile-top p { margin:.1rem 0 }.actions { margin-top:1rem }
.profile-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(200px,1fr); gap:clamp(1rem,4vw,4.5rem) }
.profile-grid section { margin-bottom:2rem }.side { align-self:start; border-top:4px solid #a8ba90 }.side nav,.stack { display:grid; gap:.7rem }
.side a,.site-foot nav a { padding-block:.22rem }.side p { margin-top:1rem;font-size:.9rem }
.prose { max-width:760px; font-size:1.05rem; line-height:1.95; min-width:0 }.prose table { display:block; max-width:100%; overflow:auto }.prose iframe { width:min(100%,760px); }.prose figure { margin-inline:0 }.prose pre { overflow:auto; direction:ltr }
.chips { display:flex; gap:.6rem; flex-wrap:wrap }.chips li { border-radius:8px; padding:.3rem .8rem; background:var(--wash) }
.nav-links { display:flex; flex-wrap:wrap; gap:.5rem; margin-block:1.5rem }.page-numbers { padding:.3rem .8rem; border:1px solid var(--line); border-radius:6px }
.site-foot { margin-top:2rem; background:#103f3a; color:#e5f1e9 }.site-foot a { color:#edf7f2 }.site-foot p { color:#c4d9ce; font-size:.92rem }
.foot-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:2rem; padding-block:3rem }
.site-foot h2 { font-size:1.15rem; margin:.4rem 0 .8rem }.site-foot nav a { display:block }.social { gap:.7rem }.foot-base { font-size:.84rem; border-block-start:1px solid #52756a; padding-block:1rem }
@media(max-width:900px) {
    .head-row { min-height:64px; gap:.55rem }.brand { flex:1 }.toggle { min-height:44px }
    .main-nav { flex-basis:100%; align-items:stretch; gap:0; padding:.5rem 0 }.main-nav,.main-nav ul { flex-direction:column; align-items:stretch; gap:0 }
    .main-nav a { padding-inline:.6rem }.grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
    .finder { grid-template-columns:1fr 1fr }.finder .btn { width:100% }.foot-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media(max-width:580px) {
    .wrap { width:calc(100% - 32px) }.hero::before { display:none }.hero { padding-block:2rem 1rem }
    .grid,.profile-grid { grid-template-columns:1fr }.finder { gap:.65rem; padding:.9rem }.finder label:first-child,.finder .btn { grid-column:1/-1 }
    .profile-row { flex-direction:column }.profile-row>.face { width:76px; height:76px }.actions { gap:.65rem }
    .foot-grid { gap:1.3rem; grid-template-columns:repeat(2,minmax(0,1fr)) }.foot-grid>div:first-child,.foot-grid>div:last-child { grid-column:1/-1 }
    .foot-base { align-items:start; flex-direction:column; gap:.3rem }.brand-title { font-size:1rem }
}
.quick-book { position:fixed; z-index:6; inset-inline-end:1rem; bottom:calc(.8rem + env(safe-area-inset-bottom,0px)); border:2px solid white; border-radius:28px; padding:.48rem 1rem; min-height:44px; color:white; background:var(--accent); box-shadow:var(--shadow); font-size:.9rem; font-weight:bold; text-decoration:none }
.single-doctor .site-foot,.single-post .site-foot { padding-block-end:4rem }

body.clinic-owner-19 { --accent:#8A3F1C; --ink:color-mix(in srgb, #8A3F1C 50%, #16191c); --wash:#FCF0E7; --line:color-mix(in srgb, #8A3F1C 22%, white); --muted:#4b535a; }
body.clinic-owner-35 { --accent:#493D92; --ink:color-mix(in srgb, #493D92 50%, #16191c); --wash:#EFEDFC; --line:color-mix(in srgb, #493D92 22%, white); --muted:#4b535a; }
body.clinic-owner-51 { --accent:#9B2145; --ink:color-mix(in srgb, #9B2145 50%, #16191c); --wash:#FCEDF1; --line:color-mix(in srgb, #9B2145 22%, white); --muted:#4b535a; }
body.clinic-owner-67 { --accent:#36536B; --ink:color-mix(in srgb, #36536B 50%, #16191c); --wash:#EAF1F6; --line:color-mix(in srgb, #36536B 22%, white); --muted:#4b535a; }
body.clinic-owner-83 { --accent:#006668; --ink:color-mix(in srgb, #006668 50%, #16191c); --wash:#E5F5F3; --line:color-mix(in srgb, #006668 22%, white); --muted:#4b535a; }
body.clinic-owner-99 { --accent:#842F70; --ink:color-mix(in srgb, #842F70 50%, #16191c); --wash:#F9EDF6; --line:color-mix(in srgb, #842F70 22%, white); --muted:#4b535a; }
body.clinic-owner-115 { --accent:#205D90; --ink:color-mix(in srgb, #205D90 50%, #16191c); --wash:#EBF3FB; --line:color-mix(in srgb, #205D90 22%, white); --muted:#4b535a; }
body.clinic-owner-131 { --accent:#496423; --ink:color-mix(in srgb, #496423 50%, #16191c); --wash:#EFF5E6; --line:color-mix(in srgb, #496423 22%, white); --muted:#4b535a; }
body.clinic-owner-147 { --accent:#785813; --ink:color-mix(in srgb, #785813 50%, #16191c); --wash:#FAF2DB; --line:color-mix(in srgb, #785813 22%, white); --muted:#4b535a; }
body[class*="clinic-owner-"] .site-head { border-block-start:4px solid var(--accent) }
body[class*="clinic-owner-"] .site-foot { background:var(--ink); color:white }
body[class*="clinic-owner-"] .site-foot a,body[class*="clinic-owner-"] .site-foot p,body[class*="clinic-owner-"] .site-foot .foot-base {color:white}
body[class*="clinic-owner-"] .site-foot h2 {color:white}
body[class*="clinic-owner-"] .quick-book {background:var(--accent);color:white}
body[class*="clinic-owner-"] .btn:not(.secondary):hover {background:var(--ink)}
body[class*="clinic-owner-"] .prose h2 {border-inline-start:3px solid var(--accent);padding-inline-start:.55em}

/* Reserve the logo box and mobile navigation height from the first paint. */
.custom-logo { width:60px; height:54px; object-fit:contain }
.quick-book { display:inline-flex; align-items:center; gap:.45rem }
.quick-book svg { flex:none }
@media (max-width:900px) and (scripting:enabled) {
    .site-head .toggle[hidden] { display:inline-flex!important; align-items:center; gap:.35em }
    .site-head .toggle[aria-expanded="false"] + .main-nav { display:none }
}

.kk-star-ratings .kksr-legend .kksr-muted { color:#46515a; opacity:1 }

body.clinic-owner-205 { --accent:#833953; --ink:#39202C; --wash:#FBF0F4; --line:#E6CFD8; --muted:#514751 }
