
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 3rem 0 2.6rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-top: .55rem;
  line-height: 1.2;
}
.page-hero .hero-desc {
  color: rgba(255,255,255,.62);
  font-size: .93rem;
  margin-top: .55rem;
  max-width: 600px;
  line-height: 1.75;
}


.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: .8rem;
  list-style: none;
  padding: 0;
}
.breadcrumb li { display: flex; align-items: center; gap: .3rem; }
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep {
  display: inline-block;
  width: 12px; height: 12px;
  opacity: .4;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  flex-shrink: 0;
}
.breadcrumb [aria-current="page"] { color: var(--gold-light); }



.article-wrap {
  display: grid;
  grid-template-columns: 1fr 308px;
  gap: 3rem;
  padding: 3.5rem 0 5rem;
  align-items: start;
}
@media (max-width: 960px) {
  .article-wrap { grid-template-columns: 1fr; gap: 2rem; }
  
}
@media (max-width: 640px) { .article-wrap { padding: 2rem 0 3.5rem; } }


.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.8rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.article-meta .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.article-meta .meta-pill svg { opacity: .65; flex-shrink: 0; }
.article-cat {
  display: inline-block;
  padding: .18rem .7rem;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}


.share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2.2rem 0;
}
.share-bar-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-inline-end: .4rem;
  white-space: nowrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .38rem .88rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--white);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.share-btn:hover { transform: translateY(-1px); }
.share-btn svg, .share-btn i { flex-shrink: 0; }
.share-btn[data-share="facebook"]:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share-btn[data-share="whatsapp"]:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share-btn[data-share="x"]:hover        { background: #000;    border-color: #000;    color: #fff; }
.share-btn[data-share="copy"]:hover     { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.share-btn.copied                       { background: #16a34a; border-color: #16a34a; color: #fff !important; }


.article-body { color: var(--text); }
.article-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 2.5rem 0 .85rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--navy);
  scroll-margin-top: 90px;
}
.article-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.article-body h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 1.7rem 0 .65rem;
  color: var(--navy);
  scroll-margin-top: 90px;
}
.article-body p { margin-bottom: 1.1rem; line-height: 1.85; }
.article-body p:last-child { margin-bottom: 0; }
.article-body ul, .article-body ol {
  margin: 0 0 1.2rem;
  padding-inline-start: 0;
  display: flex; flex-direction: column; gap: .4rem;
}
.article-body ul { list-style: none; }
.article-body ul li {
  padding-inline-start: 1.35rem;
  position: relative;
  line-height: 1.75;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; top: .7em;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.article-body ol { list-style: decimal; padding-inline-start: 1.4rem; }
.article-body ol li { padding-inline-start: .25rem; line-height: 1.75; }
.article-body strong { font-weight: 700; color: var(--navy); }
.article-body a {
  color: var(--gold); text-decoration: underline;
  text-underline-offset: 3px; transition: color var(--transition);
}
.article-body a:hover { color: var(--navy); }
.article-body blockquote {
  border-inline-start: 3px solid var(--gold);
  padding: 1rem 1.4rem;
  margin: 2rem 0;
  background: var(--gold-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.7;
}
.article-body blockquote cite {
  display: block; margin-top: .5rem;
  font-size: .78rem; font-style: normal; opacity: .65;
}
.article-body .infobox {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
}
.article-body .infobox-icon { color: var(--gold); flex-shrink: 0; margin-top: .1rem; }
.article-body .infobox p { margin: 0; font-size: .88rem; line-height: 1.75; }


.doctor-byline {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.2rem 1.4rem;
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius-md);
  margin: 2rem 0;
}
.doctor-byline-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--white); font-weight: 700; flex-shrink: 0;
}
.doctor-byline h4 { font-size: .95rem; margin-bottom: .15rem; }
.doctor-byline p  { font-size: .78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }


.article-faq { margin-top: 2.5rem; }
.article-faq > h2 {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 0 !important;
}


.article-sidebar {
  display: flex; flex-direction: column; gap: 1.4rem;
  position: sticky; top: 86px;
}
.s-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.s-card-head {
  display: flex; align-items: center; gap: .45rem;
  padding: .75rem 1.1rem;
  background: var(--navy); color: var(--white);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.s-card-head svg { color: var(--gold); flex-shrink: 0; }
.s-card-body { padding: 1.1rem; }


.toc-nav { display: flex; flex-direction: column; gap: .05rem; }
.toc-nav a {
  display: block; padding: .4rem .55rem;
  font-size: .82rem; color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition),
              padding-inline-start var(--transition);
}
.toc-nav a:hover, .toc-nav a.toc-active {
  background: var(--gold-pale); color: var(--gold);
  padding-inline-start: .85rem;
}
.toc-nav a.toc-h3 { padding-inline-start: 1.1rem; font-size: .78rem; }
.toc-nav a.toc-h3:hover, .toc-nav a.toc-h3.toc-active { padding-inline-start: 1.4rem; }


.s-cta {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.1rem;
  text-align: center;
}
.s-cta p { font-size: .83rem; color: rgba(255,255,255,.62); line-height: 1.7; margin-bottom: .9rem; }
.s-cta .btn-primary { width: 100%; justify-content: center; font-size: .85rem; padding: .72rem 1rem; }


.related-list { display: flex; flex-direction: column; gap: .15rem; }
.related-list a {
  display: flex; align-items: center; gap: .4rem;
  padding: .4rem .55rem;
  font-size: .83rem; color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.related-list a:hover { background: var(--gold-pale); color: var(--gold); }
.related-list a svg { flex-shrink: 0; opacity: .5; transition: opacity var(--transition); }
.related-list a:hover svg { opacity: 1; }



.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  padding: 4rem 0 5rem;
  align-items: start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .contact-layout { padding: 2.5rem 0 3.5rem; } }

.contact-intro { margin-bottom: 2rem; }
.contact-intro h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin-top: .4rem; }
.contact-intro p { color: var(--text-muted); line-height: 1.85; margin-top: .7rem; font-size: .93rem; }


.contact-items { display: flex; flex-direction: column; gap: .75rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: .95rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}
.contact-item:hover {
  border-color: var(--gold); box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
html[lang="ar"] .contact-item:hover { transform: translateX(-4px); }
.ci-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.ci-text { display: flex; flex-direction: column; gap: .15rem; }
.ci-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
}
.ci-value {
  font-size: .95rem; font-weight: 600; color: var(--navy);
  transition: color var(--transition);
}
.contact-item:hover .ci-value { color: var(--gold); }


.hours-card {
  margin-top: 1.6rem;
  padding: 1.2rem 1.4rem;
  background: var(--navy);
  border-radius: var(--radius-md);
}
.hours-card-title {
  display: flex; align-items: center; gap: .5rem;
  color: var(--gold); font-size: .95rem; font-weight: 600;
  margin-bottom: .9rem;
}
.hours-row {
  display: flex; justify-content: space-between;
  padding: .42rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .84rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day  { color: rgba(255,255,255,.5); }
.hours-time { color: var(--white); font-weight: 600; }
.hours-closed { color: rgba(255,255,255,.28); }


.social-btns { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.social-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.15rem;
  border-radius: 50px; border: 1.5px solid var(--border);
  font-size: .83rem; font-weight: 600; color: var(--text);
  transition: all var(--transition);
}
.social-btn.fb { --sc: #1877f2; }
.social-btn.ig { --sc: #e1306c; }
.social-btn.wa { --sc: #25d366; }
.social-btn:hover { background: var(--sc); border-color: var(--sc); color: var(--white); }


.map-embed-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.map-embed-wrap iframe { width: 100%; height: 360px; display: block; border: 0; }
.map-cta-link {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: .8rem; font-size: .83rem; font-weight: 600;
  color: var(--gold);
}
.map-cta-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.access-card {
  margin-top: 1.5rem;
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.access-card h3 {
  font-size: .92rem; display: flex; align-items: center; gap: .45rem;
  margin-bottom: .85rem;
}
.access-card h3 svg { color: var(--gold); }
.access-list { display: flex; flex-direction: column; gap: .55rem; }
.access-list li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .83rem; color: var(--text-muted); line-height: 1.6;
}
.access-list li svg { color: var(--gold); flex-shrink: 0; margin-top: .15rem; }


.cabinet-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  padding: 4rem 0;
  align-items: start;
}
@media (max-width: 860px) {
  .cabinet-intro-grid { grid-template-columns: 1fr; padding: 2.5rem 0; }
}
.cabinet-text h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); margin-top: .4rem; margin-bottom: 1rem; }
.cabinet-text p  { color: var(--text-muted); line-height: 1.9; margin-bottom: .95rem; font-size: .93rem; }
.cabinet-text p:last-child { margin-bottom: 0; }


.doc-profile {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.2rem;
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}
.doc-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--white); font-weight: 700; flex-shrink: 0;
}
.doc-profile h4 { font-size: .93rem; margin-bottom: .12rem; }
.doc-profile p  { font-size: .77rem; color: var(--text-muted); line-height: 1.5; margin: 0; }


.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 1.4rem;
}
@media (max-width: 560px) { .stats-strip { grid-template-columns: 1fr 1fr; } }
.stat-box {
  background: var(--white); padding: 1.6rem 1rem; text-align: center;
}
.stat-num {
  font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: .25rem;
}
.stat-lbl { font-size: .75rem; color: var(--text-muted); line-height: 1.4; }


.cabinet-side-cta {
  padding: 1.5rem 1.2rem;
  background: var(--navy); border-radius: var(--radius-md);
  text-align: center;
}
.cabinet-side-cta p { color: rgba(255,255,255,.65); font-size: .86rem; line-height: 1.75; margin-bottom: .9rem; }
.cabinet-side-cta .btn-primary { width: 100%; justify-content: center; }


.gallery-section {
  padding: 3.5rem 0 4rem;
  background: var(--white);
}
.gallery-scroll-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-bottom: .6rem;
}
.gallery-scroll-track::-webkit-scrollbar { height: 4px; }
.gallery-scroll-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.gallery-figure {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: clamp(260px, 38vw, 360px);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-figure .img-wrap {
  width: 100%; height: 230px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.22); font-size: 2.4rem;
  transition: color var(--transition);
}
.gallery-figure:hover .img-wrap { color: rgba(201,168,76,.5); }
.gallery-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-figure:hover img { transform: scale(1.04); }
.gallery-caption {
  padding: .65rem .9rem;
  background: var(--white);
  font-size: .79rem; color: var(--text-muted);
  border-top: 1px solid var(--border);
}


.features-section { padding: 4rem 0; background: var(--cream); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem; margin-top: 2.5rem;
}
.feat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.6rem 1.4rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.feat-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: .9rem;
}
.feat-card h3 { font-size: 1rem; margin-bottom: .45rem; }
.feat-card p  { font-size: .84rem; color: var(--text-muted); line-height: 1.7; }


.cabinet-map-section { padding: 4rem 0; background: var(--navy); }
.cabinet-map-section .section-label { opacity: .8; }
.cabinet-map-section h2 { color: var(--white); }
.cabinet-map-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem; margin-top: 2.5rem; align-items: start;
}
@media (max-width: 860px) { .cabinet-map-grid { grid-template-columns: 1fr; } }
.map-info-list { display: flex; flex-direction: column; }
.map-info-row {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .86rem; color: rgba(255,255,255,.72);
}
.map-info-row:last-of-type { border-bottom: none; }
.map-info-row svg { color: var(--gold); flex-shrink: 0; margin-top: .12rem; }
.map-embed-lg { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-embed-lg iframe { width: 100%; height: 390px; display: block; border: 0; }


html[lang="ar"] .breadcrumb          { direction: rtl; }
html[lang="ar"] .breadcrumb-sep      { transform: scaleX(-1); }
html[lang="ar"] .article-body blockquote { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
html[lang="ar"] .article-body ul li  { padding-inline-start: 1.35rem; }
html[lang="ar"] .share-bar           { direction: rtl; }
html[lang="ar"] .toc-nav a           { text-align: right; }
html[lang="ar"] .toc-nav a.toc-h3   { padding-inline-start: 1.1rem; }
html[lang="ar"] .toc-nav a.toc-h3:hover,
html[lang="ar"] .toc-nav a.toc-h3.toc-active { padding-inline-start: 1.4rem; }
html[lang="ar"] .article-meta        { direction: rtl; }
html[lang="ar"] .doctor-byline       { direction: rtl; }
html[lang="ar"] .contact-layout      { direction: rtl; }
html[lang="ar"] .contact-item        { text-align: right; }
html[lang="ar"] .hours-row           { flex-direction: row-reverse; }
html[lang="ar"] .hours-card-title    { flex-direction: row-reverse; }
html[lang="ar"] .social-btns         { direction: rtl; }

html[lang="ar"] .cabinet-intro-grid  { direction: rtl; }
html[lang="ar"] .doc-profile         { direction: rtl; text-align: right; }
html[lang="ar"] .cabinet-side-cta   { direction: rtl; }
html[lang="ar"] .gallery-caption     { text-align: right; direction: rtl; }
html[lang="ar"] .feat-card           { text-align: right; }
html[lang="ar"] .cabinet-map-grid    { direction: rtl; }

html[lang="ar"] .related-list        { direction: rtl; text-align: right; }

