/* OMC content templates 3.2.4
 * Service/article structure follows the approved reference layout.
 * Typography values are mapped from the user-supplied dr-amrelgazzar typography sheet.
 * Site-wide typography is enforced by reference-refresh.css.
 */
.omc-service-template,.omc-article-template{
  --omc-template-border:rgba(20,38,31,.12);
  --omc-template-muted:#65716c;
  --omc-template-copy:#14261F;
  --omc-content-font:"Almarai",sans-serif;
  --omc-reference-system-font:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-family:var(--omc-content-font);
  color:var(--omc-template-copy);
  background:#F7F2EC;
  direction:rtl;
}
.omc-service-template *,.omc-article-template *{box-sizing:border-box}
.omc-template-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}

/* Full-width page-title banner, matching the reference structure with OMC visual identity. */
.omc-template-hero{
  width:100%;
  background-image:linear-gradient(rgba(20,38,31,.62),rgba(20,38,31,.62)),url("https://orthomisr.com/wp-content/uploads/2026/09/abstract-blur-beautiful-luxury-hospital-clinic-interior-background-1.webp");
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  padding:72px 0;
  min-height:260px;
  display:flex;
  align-items:center;
  border-bottom:0;
}
.omc-template-hero h1{
  font-family:var(--omc-content-font);
  font-size:40px;
  line-height:40px;
  color:#FFFFFF;
  font-weight:700;
  margin:0 0 13px;
  max-width:980px;
}
.omc-template-hero .omc-breadcrumbs{
  margin:0;
  color:rgba(255,255,255,.76);
  font-family:var(--omc-content-font);
  font-size:14px;
  line-height:24px;
}
.omc-template-hero .omc-breadcrumbs a{color:#fff;text-decoration:none}
.omc-template-hero .omc-breadcrumbs a:hover{color:#E6EEEA}
.omc-template-hero .omc-breadcrumbs li+li:before{color:rgba(255,255,255,.55)}
.omc-template-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px 12px;
  margin-top:9px;
  font-family:var(--omc-content-font);
  font-size:13px;
  line-height:22px;
  color:rgba(255,255,255,.72);
}
.omc-template-meta a{color:#fff;text-decoration:none}
.omc-template-meta a:hover{color:#E6EEEA}

/* Featured image: the first page/article image is sourced ONLY from WP Featured Image via PHP. */
.omc-template-main{padding:38px 0 62px}
.omc-featured-media{
  width:100%;
  margin:0 0 30px;
  border-radius:7px;
  overflow:hidden;
  border:0;
  background:var(--omc-green-10);
}
.omc-featured-media img{
  display:block;
  width:100%;
  height:auto;
  max-height:560px;
  object-fit:cover;
  margin:0!important;
  border-radius:0!important;
}
.omc-service-template .omc-featured-media img{aspect-ratio:1200/630;max-height:none}
.omc-article-template .omc-featured-media img{aspect-ratio:1200/630;max-height:none}

/* Exact typography mapping supplied by the user:
 * H2 32/38.4 weight 500, H3 18/21.6 weight 600,
 * paragraph 15/26 weight 400, article links 16/24, li 16/24.
 * Colors are translated to OMC visual identity only.
 */
.omc-rich-content{
  max-width:920px;
  margin-inline:auto;
  min-width:0;
  font-family:var(--omc-content-font);
  color:var(--omc-template-copy);
}
.omc-rich-content>:first-child{margin-top:0}
.omc-rich-content h2{
  font-family:var(--omc-content-font);
  font-size:32px;
  line-height:38.4px;
  color:#0E4434;
  font-weight:500;
  margin:39px 0 15px;
}
.omc-rich-content h3{
  font-family:var(--omc-content-font);
  font-size:18px;
  line-height:21.6px;
  color:#14261F;
  font-weight:600;
  margin:28px 0 11px;
}
.omc-rich-content h4{
  font-family:var(--omc-content-font);
  font-size:18px;
  line-height:24px;
  color:#14261F;
  font-weight:600;
  margin:24px 0 9px;
}
.omc-rich-content p{
  font-family:var(--omc-content-font);
  font-size:15px;
  font-weight:400;
  line-height:26px;
  color:#14261F;
  margin:0 0 18px;
}
.omc-rich-content ul,.omc-rich-content ol{margin:12px 0 22px;padding-inline-start:0;padding-inline-end:26px}
.omc-rich-content li{
  font-family:var(--omc-reference-system-font);
  font-size:16px;
  font-weight:400;
  line-height:24px;
  color:#14261F;
  margin-bottom:6px;
}
.omc-rich-content strong,.omc-rich-content b{font-weight:700;color:#14261F}
.omc-rich-content a{
  font-family:var(--omc-reference-system-font);
  font-size:16px;
  font-weight:400;
  line-height:24px;
  color:#B17A4A;
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-thickness:1px;
}
.omc-rich-content a:hover{color:#0E4434;text-decoration-thickness:2px}
.omc-rich-content img{max-width:100%;height:auto;border-radius:7px;margin:18px 0 8px;display:block}
.omc-rich-content figure{max-width:100%;margin:22px 0 28px}
.omc-rich-content figure img{margin:0}
.omc-rich-content figcaption,.omc-rich-content .wp-caption-text{font-family:var(--omc-content-font);font-size:13px;line-height:22px;color:var(--omc-template-muted);margin-top:7px}
.omc-rich-content blockquote{margin:26px 0;background:#E6EEEA;border:0;border-inline-start:4px solid #0E4434;border-radius:7px;padding:18px 20px;color:#14261F}
.omc-rich-content blockquote p{font-size:15px;line-height:26px}
.omc-rich-content blockquote p:last-child{margin-bottom:0}
.omc-rich-content table{width:100%;border-collapse:collapse;margin:26px 0;font-family:var(--omc-content-font);font-size:15px;line-height:26px;display:table}
.omc-rich-content th{background:#0E4434;color:#fff;font-weight:700;padding:12px 14px;text-align:right;border:1px solid #0E4434}
.omc-rich-content td{padding:12px 14px;border:1px solid var(--omc-template-border);vertical-align:top;color:#14261F}
.omc-rich-content tr:nth-child(even) td{background:rgba(247,242,236,.7)}
.omc-template-admin-note{padding:14px 16px;border:1px dashed rgba(20,38,31,.3);border-radius:8px;background:#F7F2EC;color:var(--omc-template-muted);font-family:var(--omc-content-font);font-size:13px;line-height:22px}
.omc-featured-missing-note{margin:0 0 24px;padding:12px 14px;border:1px dashed rgba(177,122,74,.55);border-radius:7px;background:#fffaf5;color:#735334;font-family:var(--omc-content-font);font-size:13px;line-height:22px}

/* Central Contact Form 7 styling, shared by service and article templates. */
.omc-cf7-wrap{font-family:var(--omc-content-font);direction:rtl}
.omc-cf7-wrap .wpcf7,.omc-cf7-wrap .wpcf7 form{margin:0;direction:rtl}
.omc-cf7-wrap .wpcf7 p{margin:0 0 13px;font-size:15px;line-height:26px}
.omc-cf7-wrap .wpcf7 label{display:block;font-size:15px;font-weight:400;line-height:26px;color:#14261F;margin-bottom:6px}
.omc-cf7-wrap .wpcf7 input:not([type="submit"]),.omc-cf7-wrap .wpcf7 select,.omc-cf7-wrap .wpcf7 textarea{width:100%;max-width:100%;border:1px solid #dedede;background:#fff;color:#14261F;border-radius:5px;min-height:46px;padding:10px 12px;font-family:var(--omc-content-font);font-size:15px;line-height:26px;outline:none;transition:border-color .18s,box-shadow .18s}
.omc-cf7-wrap .wpcf7 textarea{min-height:105px;resize:vertical}
.omc-cf7-wrap .wpcf7 input:not([type="submit"]):focus,.omc-cf7-wrap .wpcf7 select:focus,.omc-cf7-wrap .wpcf7 textarea:focus{border-color:#0E4434;box-shadow:0 0 0 3px rgba(14,68,52,.08)}
.omc-cf7-wrap .wpcf7 input[type="submit"]{width:100%;min-height:48px;border:0;border-radius:5px;background:#B17A4A;color:#fff;font-family:var(--omc-content-font);font-weight:700;font-size:16px;line-height:24px;padding:11px 20px;cursor:pointer}
.omc-cf7-wrap .wpcf7 input[type="submit"]:hover{box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.omc-cf7-wrap .wpcf7 .wpcf7-not-valid-tip{font-size:12px;margin-top:4px}
.omc-cf7-wrap .wpcf7 .wpcf7-response-output{margin:14px 0 0;padding:10px 12px;border-width:1px;border-radius:6px;font-size:13px;line-height:22px}

/* Shared article/service reading surface.
 * The sand outer page provides the visible margin contrast; the reading column is white.
 */
.omc-service-shell,.omc-article-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:40px;
  align-items:start;
  padding:14px 0 66px;
}
.omc-service-main,.omc-article-main{
  min-width:0;
  background:#fff;
  border:1px solid rgba(20,38,31,.09);
  border-radius:8px;
  padding:28px 30px 38px;
}
.omc-service-main .omc-rich-content,.omc-article-main .omc-rich-content{max-width:none;margin-inline:0}
.omc-service-sidebar,.omc-article-sidebar{
  position:sticky;
  align-self:flex-start; /* v3.2.32 — بدونها يتمدد العمود ولا يلتصق */
  top:calc(var(--omc-header-height,0px) + 24px);
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0;
}
.omc-side-card{background:#fff;border:1px solid #e5e5e5;border-radius:8px;box-shadow:none;overflow:hidden}
.omc-side-card__head{padding:18px 18px 13px;border-bottom:1px solid #ededed}
.omc-side-card__head h2{font-family:var(--omc-content-font);font-size:18px;line-height:21.6px;color:#0E4434;margin:0;font-weight:600}
.omc-side-card__head p{font-family:var(--omc-content-font);font-size:15px;line-height:26px;font-weight:400;color:var(--omc-template-muted);margin:6px 0 0}
.omc-side-card__body{padding:18px}
.omc-related-list{display:flex;flex-direction:column}
.omc-related-item{display:grid;grid-template-columns:90px minmax(0,1fr);gap:11px;padding:13px 0;border-bottom:1px solid #ededed;align-items:center;color:#14261F;text-decoration:none}
.omc-related-item:first-child{padding-top:0}
.omc-related-item:last-child{border-bottom:0;padding-bottom:0}
.omc-related-item--no-image{grid-template-columns:1fr}
.omc-related-item__thumb{width:90px;aspect-ratio:1.25;background:#E6EEEA;border-radius:5px;overflow:hidden}
.omc-related-item__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.omc-related-item__title{font-family:var(--omc-content-font);font-size:15px;line-height:26px;font-weight:700;color:#14261F;margin:0 0 3px}
.omc-related-item__meta{font-family:var(--omc-content-font);font-size:12px;line-height:20px;color:var(--omc-template-muted)}

/* Article metadata belongs below the Featured Image, not in the title banner. */
.omc-article-byline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px 10px;
  margin:-12px 0 26px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(20,38,31,.10);
  font-family:var(--omc-content-font);
  font-size:13px;
  line-height:22px;
  color:var(--omc-template-muted);
}
.omc-article-byline strong{font-weight:700;color:#14261F}
.omc-article-byline__sep{opacity:.45}

@media(max-width:960px){
  .omc-service-shell,.omc-article-shell{grid-template-columns:1fr;gap:38px}
  .omc-service-sidebar,.omc-article-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;align-items:start}
}
@media(max-width:680px){
  .omc-template-wrap{width:min(100% - 28px,1180px)}
  .omc-template-hero{padding:24px 0 22px}
  /* Keep the supplied reference font sizes unchanged on mobile; only spacing/layout adapts. */
  .omc-template-hero h1{font-size:40px;line-height:40px;margin-bottom:12px}
  .omc-template-hero .omc-breadcrumbs{font-size:13px;line-height:22px}
  .omc-template-meta{font-size:12px;line-height:20px}
  .omc-template-main{padding:28px 0 44px}
  .omc-featured-media{border-radius:6px;margin-bottom:24px}
  .omc-featured-media img,.omc-service-template .omc-featured-media img,.omc-article-template .omc-featured-media img{aspect-ratio:1200/630;max-height:none}
  .omc-rich-content h2{font-size:32px;line-height:38.4px;margin-top:34px;margin-bottom:13px}
  .omc-rich-content h3{font-size:18px;line-height:21.6px;margin-top:26px}
  .omc-rich-content h4{font-size:18px;line-height:24px}
  .omc-rich-content p{font-size:15px;line-height:26px}
  .omc-rich-content li,.omc-rich-content a{font-size:16px;line-height:24px}
  .omc-rich-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .omc-service-shell,.omc-article-shell{padding:28px 0 46px}
  .omc-service-main,.omc-article-main{padding:20px 18px 30px}
  .omc-service-sidebar,.omc-article-sidebar{grid-template-columns:1fr}
  .omc-side-card__head,.omc-side-card__body{padding-right:16px;padding-left:16px}
  .omc-article-byline{margin-top:-8px;margin-bottom:22px}
}


/* ============================================================
   v3.2.13 — Category bar (شريط تصنيفات المقالات)
   يظهر أسفل الهيدر في المقال المفرد وأرشيف التصنيف.
   ============================================================ */
.omc-catbar{background:linear-gradient(0deg,rgba(14,68,52,.04),rgba(14,68,52,.04)),#fff;border-bottom:1px solid #ECE9E1;font-family:var(--omc-font,"Almarai",sans-serif)}
.omc-catbar__inner{width:100%;margin-inline:auto;padding-inline:40px;position:relative}
.omc-catbar__list{display:flex;align-items:stretch;gap:2px;margin:0;padding:0;list-style:none;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.omc-catbar__list::-webkit-scrollbar{display:none}
.omc-catbar__item{position:static;display:flex;align-items:center;flex:0 0 auto}
.omc-catbar__item{border-bottom:3px solid transparent;transition:border-color .15s ease}
.omc-catbar__item>a{display:flex;align-items:center;min-height:48px;padding:12px 15px;color:#14261F;text-decoration:none;font-size:15px;font-weight:600;line-height:20px;white-space:nowrap;transition:color .15s ease}
.omc-catbar__item>a:hover{color:var(--omc-green,#0E4434)}
.omc-catbar__item.is-active{border-bottom-color:var(--omc-gold,#B17A4A)}
.omc-catbar__item.is-active>a{color:var(--omc-green,#0E4434)}
.omc-catbar__item--has-sub.is-active>a{padding-inline-end:4px}
.omc-catbar__sub-toggle{display:inline-flex;align-items:center;justify-content:center;width:34px;min-height:48px;margin:0;padding:0;border:0;background:transparent;color:var(--omc-green,#0E4434);cursor:pointer}
.omc-catbar__sub-toggle .omc-icon{width:15px;height:15px;transition:transform .2s ease}
.omc-catbar__item.is-open .omc-catbar__sub-toggle .omc-icon,
html.omc-js .omc-catbar__item--has-sub:hover .omc-catbar__sub-toggle .omc-icon{transform:rotate(180deg)}
/* Anchored to .omc-catbar__inner (position:relative) — escapes the list's overflow clip. */
.omc-catbar__sub{position:absolute;top:100%;inset-inline-start:40px;inset-inline-end:auto;z-index:60;min-width:320px;max-width:420px;max-height:60vh;overflow-y:auto;margin:0;padding:10px;list-style:none;background:#fff;border:1px solid rgba(14,68,52,.15);border-top:0;border-radius:0 0 12px 12px;box-shadow:0 18px 40px rgba(14,68,52,.16);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
/* Invisible hover bridge so the cursor can travel from the tab into the panel. */
.omc-catbar__sub::before{content:"";position:absolute;top:-8px;left:0;right:0;height:8px}
.omc-catbar__item.is-open .omc-catbar__sub,
html.omc-js .omc-catbar__item--has-sub:hover .omc-catbar__sub,
html.omc-js .omc-catbar__item--has-sub:focus-within .omc-catbar__sub{opacity:1;visibility:visible;transform:translateY(0)}
.omc-catbar__sub a{display:block;padding:10px 12px;border-radius:7px;color:#14261F;text-decoration:none;font-size:15px;font-weight:500;line-height:1.55}
.omc-catbar__sub a:hover{background:var(--omc-green-10,#E6EEEA);color:var(--omc-green,#0E4434)}
.omc-catbar__sub a.is-current{background:var(--omc-green-10,#E6EEEA);color:var(--omc-green,#0E4434);border-inline-start:3px solid var(--omc-gold,#B17A4A);font-weight:700}
.omc-catbar__sub-all{margin-top:4px;padding-top:4px;border-top:1px solid rgba(14,68,52,.12)}
.omc-catbar__sub-all a{color:var(--omc-green,#0E4434);font-weight:700}
.omc-catbar__toggle{display:none;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:48px;margin:0;padding:11px 4px;border:0;background:transparent;color:var(--omc-green,#0E4434);font-family:var(--omc-font,"Almarai",sans-serif);font-size:16px;font-weight:600;line-height:20px;cursor:pointer}
.omc-catbar__toggle .omc-icon{width:18px;height:18px;transition:transform .2s ease}
.omc-catbar__toggle[aria-expanded="true"] .omc-icon{transform:rotate(180deg)}
@media(max-width:1023px){
  .omc-catbar__inner{padding-inline:18px}
  .omc-catbar{background:#fff}
  .omc-catbar__sub::before{display:none}
  .omc-catbar__toggle{display:flex}
  .omc-catbar__list{display:none;flex-direction:column;gap:0;overflow:visible;padding-bottom:8px}
  .omc-catbar__list.is-open{display:flex}
  .omc-catbar__item{flex-wrap:wrap;border-bottom:1px solid rgba(14,68,52,.09)!important}
  .omc-catbar__item:last-child{border-bottom:0}
  .omc-catbar__item>a{flex:1;padding:11px 2px;min-height:48px}
  .omc-catbar__item.is-active>a{border-inline-start:3px solid var(--omc-gold,#B17A4A);padding-inline-start:10px;background:var(--omc-green-10,#E6EEEA);border-radius:6px}
  .omc-catbar__sub-toggle{width:44px}
  .omc-catbar__sub{position:static;inset-inline-start:auto;order:5;flex-basis:100%;min-width:0;max-width:none;max-height:none;display:none;opacity:1;visibility:visible;transform:none;border:0;border-radius:0;box-shadow:none;background:#FBF9F6;padding:2px 10px 8px}
  .omc-catbar__item.is-open .omc-catbar__sub{display:block}
  html.omc-js .omc-catbar__item--has-sub:hover .omc-catbar__sub{display:none}
  html.omc-js .omc-catbar__item--has-sub.is-open:hover .omc-catbar__sub{display:block}
}

/* ============================================================
   v3.2.13 — كارت الحجز: صورة اختيارية + موقع المركز + خريطة كسولة
   ============================================================ */
.omc-booking-photo{margin:0 0 16px;border-radius:10px;overflow:hidden;background:var(--omc-green-10,#E6EEEA)}
.omc-booking-photo__img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.omc-booking-photo figcaption{padding:10px 12px;background:#fff;border:1px solid #ededed;border-top:0;border-radius:0 0 10px 10px;color:var(--omc-green,#0E4434);font-family:var(--omc-content-font,var(--omc-font));font-size:14px;font-weight:600;line-height:1.6;text-align:center}
.omc-booking-location{margin-top:18px;padding-top:16px;border-top:1px solid #ededed}
.omc-booking-location__title{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-family:var(--omc-content-font,var(--omc-font));font-size:16px;font-weight:700;line-height:1.4;color:var(--omc-green,#0E4434)}
.omc-booking-location__title .omc-icon{width:18px;height:18px;color:var(--omc-gold,#B17A4A)}
.omc-booking-location__list{margin:0 0 12px;padding:12px;list-style:none;background:#FBF9F6;border-radius:8px;display:flex;flex-direction:column;gap:9px}
.omc-booking-location__list li{display:flex;align-items:flex-start;gap:9px;font-family:var(--omc-content-font,var(--omc-font));font-size:14px;line-height:1.7;color:#14261F}
.omc-booking-location__list .omc-icon{width:16px;height:16px;flex:none;margin-top:3px;color:var(--omc-green,#0E4434)}
.omc-booking-location__list a{color:var(--omc-green,#0E4434);font-weight:600;text-decoration:none}
.omc-booking-location__list a:hover{color:var(--omc-gold,#B17A4A)}
.omc-map-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;padding:11px;border:1px dashed rgba(14,68,52,.35);border-radius:8px;background:#fff;color:#14261F;font-family:var(--omc-font,"Almarai",sans-serif);font-size:14px;font-weight:600;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease}
.omc-map-toggle:hover{border-color:var(--omc-green,#0E4434);color:var(--omc-green,#0E4434);background:#FBF9F6}
.omc-map-toggle .omc-icon{width:17px;height:17px}
.omc-map-wrap{margin-top:10px;border:1px solid #ededed;border-radius:8px;overflow:hidden}
.omc-map-wrap iframe{display:block;width:100%;height:230px;border:0}
.omc-booking-location__directions{display:inline-flex;align-items:center;min-height:44px;color:var(--omc-green,#0E4434);font-family:var(--omc-content-font,var(--omc-font));font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.omc-booking-location__directions:hover{color:var(--omc-gold,#B17A4A)}


/* ============================================================
   v3.2.16 — مزايا المقالات
   ============================================================ */
/* شريط التصنيفات يختفي من المقال المفرد على الموبايل (يبقى في الأرشيف). */
@media(max-width:1023px){.single .omc-catbar{display:none}}

/* سطر البيانات الموحّد */
.omc-article-byline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:-6px 0 22px;font-family:var(--omc-content-font,var(--omc-font));font-size:14px;line-height:1.7;color:#5A6B63}
.omc-article-byline .omc-icon{width:16px;height:16px;vertical-align:-3px;margin-inline-end:4px;color:var(--omc-green,#0E4434)}
.omc-article-byline strong{color:#14261F;font-weight:700}
.omc-article-byline__role{color:#5A6B63}
.omc-article-byline__sep{color:#B9C4BE}
.omc-article-updated{display:inline-flex;align-items:center;background:#EAF6F0;border:1px solid #BFE3D2;border-radius:999px;padding:3px 12px;font-size:13px;color:#0F6E56;font-weight:600}

/* أدوات القراءة */
.omc-reader-bar{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:9px 12px;background:#FBF9F6;border:1px solid #ECE9E1;border-radius:9px;font-family:var(--omc-font)}
.omc-reader-bar__label{font-size:13px;font-weight:600;color:#5A6B63}
.omc-reader-bar__sizes{display:flex;gap:6px}
.omc-font-btn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 8px;border:1.5px solid #E0DCD2;border-radius:8px;background:#fff;color:#14261F;font-family:var(--omc-font);font-weight:700;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}
.omc-font-btn--sm{font-size:13px}.omc-font-btn--md{font-size:15px}.omc-font-btn--lg{font-size:18px}.omc-font-btn--xl{font-size:21px}
.omc-font-btn:hover{border-color:var(--omc-green,#0E4434);color:var(--omc-green,#0E4434)}
.omc-font-btn.is-active{background:var(--omc-green,#0E4434);border-color:var(--omc-green,#0E4434);color:#fff}

/* جدول المحتويات */
.omc-toc{margin:0 0 26px;font-family:var(--omc-content-font,var(--omc-font))}
.omc-toc__details{background:#FBF9F6;border:1px solid #ECE9E1;border-radius:10px;padding:0}
.omc-toc__details summary{display:flex;align-items:center;gap:9px;padding:13px 16px;cursor:pointer;list-style:none;font-size:15px;font-weight:700;color:var(--omc-green,#0E4434);user-select:none}
.omc-toc__details summary::-webkit-details-marker{display:none}
.omc-toc__details summary .omc-icon{width:17px;height:17px}
.omc-toc__details summary .omc-icon:last-child{margin-inline-start:auto;transition:transform .2s ease;color:#8A968F}
.omc-toc__details[open] summary .omc-icon:last-child{transform:rotate(180deg)}
.omc-toc__count{font-weight:600;color:#8A968F;font-size:13px}
.omc-toc ol{margin:0;padding:2px 14px 12px;list-style:none;counter-reset:omc-toc}
.omc-toc ol li{counter-increment:omc-toc}
.omc-toc ol a{display:flex;align-items:baseline;gap:10px;padding:7px 6px;border-radius:7px;color:#3A4A42;text-decoration:none;font-size:15px;line-height:1.6}
.omc-toc ol a::before{content:counter(omc-toc);flex:none;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;background:#EDE8DF;border-radius:6px;font-size:12px;font-weight:700;color:#6E5F49}
.omc-toc ol a:hover{background:#fff;color:var(--omc-green,#0E4434)}
.omc-toc ol a:hover::before{background:var(--omc-green,#0E4434);color:#fff}

/* صندوق الملخص */
.omc-summary{margin:22px 0;padding:16px 18px;background:#F2F7F4;border:1px solid #CDE3D7;border-inline-start:4px solid var(--omc-green,#0E4434);border-radius:10px;font-family:var(--omc-content-font,var(--omc-font))}
.omc-summary__title{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:15px;font-weight:700;color:var(--omc-green,#0E4434)}
.omc-summary__title .omc-icon{width:17px;height:17px}
.omc-summary ul{margin:0;padding-inline-start:20px}
.omc-summary li,.omc-summary__text{font-size:15px;line-height:26px;color:#22362D;margin:0 0 5px}
.omc-summary li::marker{color:var(--omc-gold,#B17A4A)}

/* CTA وسط المقال */
.omc-article-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:30px 0;padding:16px 18px;background:#fff;border:1.5px solid #E4E0D6;border-radius:10px;font-family:var(--omc-content-font,var(--omc-font))}
.omc-article-cta span{font-size:15px;line-height:1.7;color:#3A4A42}
.omc-article-cta a{display:inline-flex;align-items:center;gap:7px;padding:10px 20px;background:var(--omc-gold,#B17A4A);color:#fff;border-radius:8px;font-size:15px;font-weight:700;text-decoration:none;transition:background .15s ease}
.omc-article-cta a:hover{background:#9A6438;color:#fff}
.omc-article-cta a .omc-icon{width:16px;height:16px}

/* الأسئلة الشائعة */
.omc-faq{margin:34px 0 10px;font-family:var(--omc-content-font,var(--omc-font))}
.omc-faq__title{display:flex;align-items:center;gap:10px}
.omc-faq__title .omc-icon{width:24px;height:24px;color:var(--omc-gold,#B17A4A)}
.omc-faq__item{background:#fff;border:1px solid #E4E0D6;border-radius:10px;margin:0 0 10px;overflow:hidden;transition:border-color .15s ease}
.omc-faq__item[open]{border-color:var(--omc-green,#0E4434)}
.omc-faq__item summary{display:flex;align-items:center;gap:11px;padding:14px 16px;cursor:pointer;list-style:none;background:#FBF9F6;user-select:none}
.omc-faq__item summary::-webkit-details-marker{display:none}
.omc-faq__item[open] summary{background:#F2F7F4}
.omc-faq__num{flex:none;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;background:var(--omc-green,#0E4434);color:#fff;border-radius:7px;font-size:13px;font-weight:700}
.omc-faq__q{flex:1;font-size:16px;font-weight:600;line-height:1.6;color:#14261F}
.omc-faq__item summary .omc-icon{width:17px;height:17px;color:#8A968F;transition:transform .2s ease}
.omc-faq__item[open] summary .omc-icon{transform:rotate(180deg);color:var(--omc-green,#0E4434)}
.omc-faq__a{padding:14px 18px;border-top:1px solid #EDE9E0}
.omc-faq__a>p:first-child{margin-top:0}
.omc-faq__a>p:last-child{margin-bottom:0}

/* صندوق المراجعة الطبية */
.omc-review-box{display:flex;align-items:center;gap:14px;margin:30px 0;padding:16px 18px;background:#FBF9F6;border:1px solid #ECE9E1;border-radius:10px;font-family:var(--omc-content-font,var(--omc-font))}
.omc-review-box__icon{flex:none;width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;background:var(--omc-green,#0E4434);border-radius:50%;color:#fff}
.omc-review-box__icon .omc-icon{width:22px;height:22px}
.omc-review-box__body{display:flex;flex-direction:column;gap:2px}
.omc-review-box__label{font-size:12.5px;font-weight:600;color:#8A968F}
.omc-review-box strong{font-size:16px;color:#14261F}
.omc-review-box__role{font-size:14px;color:#5A6B63;line-height:1.6}

/* صف المشاركة نهاية المقال */
.omc-share-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:26px 0 4px;padding:13px 16px;border:1px solid #ECE9E1;border-radius:10px;background:#fff;font-family:var(--omc-content-font,var(--omc-font))}
.omc-share-row__label{font-size:14px;font-weight:700;color:#5A6B63}
.omc-share-row__icons{display:flex;gap:9px}
.omc-share-row__icons a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1.5px solid #E0DCD2;border-radius:50%;color:#5A6B63;transition:all .15s ease}
.omc-share-row__icons a:hover{background:var(--omc-green,#0E4434);border-color:var(--omc-green,#0E4434);color:#fff}

/* شريط التقدم + زر لأعلى */
.omc-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:100010;pointer-events:none}
.omc-progress__bar{display:block;width:0;height:100%;background:var(--omc-gold,#B17A4A)}
.omc-backtop{position:fixed;bottom:22px;left:20px;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1.5px solid #E0DCD2;border-radius:10px;color:var(--omc-green,#0E4434);cursor:pointer;z-index:9000;box-shadow:0 4px 14px rgba(14,68,52,.12);opacity:0;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease,border-color .15s ease}
.omc-backtop.is-visible{opacity:1;transform:translateY(0)}
.omc-backtop:hover{border-color:var(--omc-green,#0E4434)}
.omc-backtop .omc-icon{width:20px;height:20px}
@media(max-width:1023px){
  .omc-article-cta{flex-direction:column;align-items:stretch;text-align:center}
  .omc-article-cta a{justify-content:center;min-height:48px}
  .omc-backtop{bottom:18px;left:14px}
  .omc-reader-bar{flex-wrap:wrap}
}


/* v3.2.32 — متحكم الخط المطوي «Aa» داخل سطر البيانات */
.omc-fontctl{position:relative;margin-inline-start:auto}
.omc-fontctl__btn{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;border:1.5px solid #E0DCD2;border-radius:9px;background:#fff;color:var(--omc-green,#0E4434);font-family:var(--omc-font);font-weight:700;font-size:13.5px;cursor:pointer;transition:border-color .15s ease,background .15s ease}
.omc-fontctl__btn .omc-icon{width:16px;height:16px}
.omc-fontctl__btn:hover,.omc-fontctl__btn[aria-expanded="true"]{border-color:var(--omc-green,#0E4434);background:#F2F7F4}
.omc-fontctl__panel{position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:50;display:flex;gap:6px;padding:8px;background:#fff;border:1px solid #E0DCD2;border-radius:10px;box-shadow:0 12px 30px rgba(14,68,52,.14)}
.omc-fontctl__panel[hidden]{display:none}
.omc-fontctl .omc-font-btn{min-width:40px;height:40px}
.omc-article-byline__author{color:#5A6B63}


/* v3.2.34 — ضمان التصاق السايدبار: لا قصّ من الأسلاف، وانتقال ناعم لقيمة top */
.omc-service-template,.omc-article-template,.omc-template-main,.omc-service-shell,.omc-article-shell{overflow:visible}
@media(min-width:1024px){.omc-service-sidebar,.omc-article-sidebar{position:sticky;align-self:flex-start;will-change:top;transition:top .2s ease}}
