:root { --site-header-offset: 110px; }
#masthead.is-fixed-header { position: fixed; }
html { scroll-behavior: smooth; }
/* Native anchors also work on reload and when JavaScript is unavailable. */
#Certificates, #Contact, #results, #Reviews, #Social, #Questions {
  scroll-margin-top: var(--site-header-offset);
}
/* Arabic display typography: keep connected letterforms and generous line height. */
.home #content :is(h1, h2) {
  font-family: 'Noto Kufi Arabic', Tahoma, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}
.home #content h2.uagb-ifb-title {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.65;
}
#Certificates.doctor-credentials {
  background: #fcf8f2;
  color: #2c251c;
  padding: clamp(40px, 5vw, 64px) 24px;
  font-family: 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
  direction: rtl;
  border-block: 1px solid #eee3d4;
}
.doctor-credentials *, .doctor-credentials *::before, .doctor-credentials *::after { box-sizing: border-box; }
.doctor-credentials__inner { max-width: 880px; margin-inline: auto; }
.doctor-credentials__header { max-width: 740px; margin-inline: auto; text-align: center; }
#Certificates .doctor-credentials__eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
  font-size: .9rem;
  font-weight: 600;
  color: #88621f;
}
.doctor-credentials__eyebrow::before, .doctor-credentials__eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: #cbb386;
}
.home #content #credentials-title {
  margin: 0;
  color: #2c251c;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.7;
}
#Certificates .doctor-credentials__experience {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 12px;
  padding: 5px 16px;
  border: 1px solid #e4d3b3;
  border-radius: 999px;
  background: #f4ead9;
  color: #77521a;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 600;
}
.doctor-credentials__experience strong { font-size: 1.35rem; font-weight: 700; line-height: 1.4; }
#Certificates .doctor-credentials__intro { max-width: 620px; margin: 0 auto; font-size: 1rem; line-height: 1.85; color: #6d6254; text-wrap: balance; }
#Certificates .doctor-credentials__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
#Certificates .credential-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 16px 18px;
  background: #fffdfa;
  border: 1px solid #e8dece;
  border-radius: 12px;
  text-align: start;
}
.credential-card:last-child { grid-column: 1 / -1; justify-content: center; }
.credential-card:last-child > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; }
#Certificates .credential-card:last-child h3 { margin-bottom: 0; }
.credential-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 9px;
  color: #936b28;
  background: #f7f0e4;
}
.credential-card__icon svg { width: 20px; height: 20px; }
#Certificates .credential-card h3 {
  margin: 0 0 3px;
  color: #32291e;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
}
#Certificates .credential-card p { margin: 0; font-size: .9rem; line-height: 1.7; color: #716454; }
.doctor-credentials__footer { margin-top: 24px; text-align: center; }
#Certificates .doctor-credentials__book {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 9px 26px;
  border: 1px solid #8a601c;
  border-radius: 999px;
  background: #8a601c;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
  text-decoration: none;
}
.doctor-credentials__book svg { width: 20px; height: 20px; }
#Certificates .doctor-credentials__book:hover { background: #6d4812; border-color: #6d4812; }
.doctor-credentials__book:focus-visible { outline: 3px solid #8a601c; outline-offset: 5px; }
/* The exported booking block used a negative margin over the old two-column section. */
#Certificates + .uagb-block-dc885b35 #Contact { margin-top: 0 !important; }
@media (max-width: 600px) {
  #Certificates.doctor-credentials { padding: 36px 20px; }
  #Certificates .doctor-credentials__list { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 22px; }
  #Certificates .credential-card { padding: 14px 16px; gap: 12px; }
  .credential-card:last-child { justify-content: flex-start; }
  .credential-card__icon { flex-basis: 32px; height: 32px; }
  #Certificates .credential-card h3 { font-size: 1rem; }
  #Certificates .doctor-credentials__intro { font-size: 1rem; }
  .doctor-credentials__footer { margin-top: 22px; }
}
.tiktok-showcase { width: 100%; max-width: 1200px; margin: 40px auto 0; padding: 0 16px; }
.tiktok-showcase__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tiktok-card { min-width: 0; padding: 20px; background: #fff; border: 1px solid #e7dddd; border-radius: 20px; box-shadow: 0 8px 28px #16050408; }
.tiktok-card__title { margin: 0 0 16px; text-align: center; font-size: 1.1rem; font-weight: 700; }
.tiktok-player { position: relative; width: 100%; max-width: 360px; aspect-ratio: 9 / 16; margin: auto; overflow: hidden; border-radius: 12px; background: #241918; color: #fff; }
.tiktok-player .tiktok-player__placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; margin: 0; border: 0; border-radius: 0; box-sizing: border-box; color: #fff; font: inherit; text-align: center; text-decoration: none; cursor: pointer; background: linear-gradient(145deg, #241918, #673c39); }
.tiktok-player__prompt { color: #fff; line-height: 1.8; margin: 20px 0 0; }
.tiktok-player__placeholder:hover .tiktok-player__icon { background: #ffffff18; border-color: #fff; }
.tiktok-player__placeholder:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.tiktok-player__icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #ffffff70; border-radius: 50%; font-size: 24px; }
.tiktok-embed { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.tiktok-card__status { min-height: 3.6em; margin: 16px 0; color: #59504f; text-align: center; font-size: .9rem; line-height: 1.8; }
.tiktok-card__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.tiktok-card__actions button, .tiktok-card__actions a { min-height: 44px; padding: 10px 16px; border-radius: 8px; font-size: .9rem; line-height: 1.6; text-align: center; }
.tiktok-card__actions button { background: #a42b2b; color: #fff; border: 1px solid #a42b2b; cursor: pointer; }
.tiktok-card__actions button:hover { background: #7e2020; }
.tiktok-card__actions button:disabled { opacity: .65; cursor: wait; }
.tiktok-card__actions a { border: 1px solid #bfa7a5; color: #762323; text-decoration: none; }
.tiktok-card__actions a:hover { background: #faf5f4; }
.tiktok-card__actions :focus-visible, .doctor-faq summary:focus-visible { outline: 3px solid #a42b2b; outline-offset: 4px; }
.tiktok-card [hidden] { display: none !important; }
.doctor-faq { width: calc(100% - 32px); max-width: 960px; margin: 64px auto; padding: clamp(20px, 4vw, 40px); border-radius: 20px; background: #faf7f6; text-align: right; }
.doctor-faq h2 { margin: 0 0 24px; font-size: clamp(1.4rem, 3vw, 2rem); }
.doctor-faq details { border-top: 1px solid #e6d9d7; padding: 18px 0; }
.doctor-faq summary { cursor: pointer; font-weight: 700; }
.doctor-faq details p { margin: 14px 0 0; line-height: 1.9; }
.doctor-faq > p { margin: 20px 0 0; }
@media (max-width: 960px) {
  .tiktok-showcase { max-width: 480px; }
  .tiktok-showcase__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  :root { --site-header-offset: 90px; }
  .tiktok-showcase__grid { grid-template-columns: minmax(0, 1fr); }
  .tiktok-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.case-gallery { background: #fff8f1; padding: 48px 24px; }
.case-gallery__inner { max-width: 1200px; margin-inline: auto; }
.case-gallery__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; text-align: start; }
.case-gallery .case-gallery__eyebrow { color: #946318; font-size: .95rem; font-weight: 700; margin: 0 0 8px; }
.case-gallery h2, .case-gallery h1 { font-size: clamp(1.8rem, 3.5vw, 2.65rem); line-height: 1.4; margin: 0 0 12px; color: #281d12; }
.case-gallery .case-gallery__intro { margin: 0; color: #665b51; font-size: 1rem; line-height: 1.8; }
.case-gallery__count { flex-shrink: 0; color: #796b5c; font-size: .85rem; }
.case-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-gallery .case-card { margin: 0; overflow: hidden; border: 1px solid #e9ded1; border-radius: 18px; background: #fff; scroll-margin-top: 24px; min-width: 0; }
.case-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none !important; color: #392b1d; }
.case-card__heading { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 4px; font-size: .85rem; font-weight: 600; }
.case-card__number { color: #937856; font-size: .8rem; }
.case-comparison { padding: 16px 18px; display: grid; gap: 16px; }
.case-comparison .case-panel { margin: 0; padding: 0; }
.case-panel figcaption { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #5b5148; font-size: .85rem; font-weight: 700; }
.case-panel figcaption::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #b6a99b; }
.case-panel--after figcaption { color: #176b67; }
.case-panel--after figcaption::before { background: #248781; }
.case-panel__photo { display: block; width: 100%; height: auto; overflow: hidden; border-radius: 10px; background: #f1ece5; }
.case-card__caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; margin-top: auto; border-top: 1px solid #f0e9e0; font-size: .82rem; color: #786b5e; }
.case-card__enlarge { color: #8a5b18; font-weight: 700; }
.case-card__enlarge span { font-size: 1.2rem; margin-inline-start: 5px; }
.case-card__link:hover { background: #fffcf8; }
.case-gallery__footer { text-align: center; margin-top: 26px; }
.case-gallery__more, .case-gallery__all { display: inline-block; background: #fff; border: 1px solid #b88e50; border-radius: 999px; color: #714b16; min-height: 48px; padding: 12px 26px; font-size: .95rem; font-weight: 600; text-decoration: none; box-sizing: border-box; }
.case-gallery__more:hover, .case-gallery__all:hover { background: #f6ead9; color: #53370e; }
.case-gallery.is-enhanced .case-gallery__all { display: none; }
.case-gallery--full .case-gallery__footer { display: none; }
.case-gallery [hidden], .case-viewer [hidden] { display: none !important; }
.case-gallery a:focus-visible, .case-gallery button:focus-visible { outline: 3px solid #aa761e; outline-offset: -4px; }
.case-gallery__mobile-controls { display: none; }
.case-viewer { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 20px 32px; background: #171513; color: #fff; box-sizing: border-box; }
.case-viewer:not([open]) { display: none; }
.case-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; }
.case-viewer::backdrop { background: #171513; }
.case-viewer__top, .case-viewer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case-viewer h2 { margin: 0; color: #fff; font-size: 1.15rem; }
.case-viewer .case-viewer__counter { color: #d4c8b9; margin: 4px 0 0; font-size: .9rem; }
.case-viewer button { min-height: 44px; padding: 9px 18px; border: 1px solid #6e6256; border-radius: 9px; color: #fff; background: transparent; font-size: .95rem; font-family: inherit; cursor: pointer; }
.case-viewer button:hover { background: #3d342b; }
.case-viewer button:disabled { opacity: .35; cursor: default; }
.case-viewer__close { display: flex; align-items: center; gap: 14px; }
.case-viewer__close span { font-size: 1.7rem; line-height: 1; }
.case-viewer__stage { min-height: 0; display: flex; align-items: center; justify-content: center; overflow: auto; }
.case-viewer__comparison { width: min(100%, 700px); flex-shrink: 0; }
.case-viewer__comparison .case-comparison { padding: 0; gap: 20px; }
.case-viewer__comparison .case-panel figcaption { color: #e2d6c6; }
.case-viewer__comparison .case-panel--after figcaption { color: #8bd4cb; }
.case-viewer__stage.is-zoomed { display: block; direction: ltr; }
.case-viewer__stage.is-zoomed .case-viewer__comparison { width: 1200px; margin: 0 auto; direction: rtl; }
.case-viewer__tools { display: flex; align-items: center; gap: 16px; }
.case-viewer__error { text-align: center; color: #fff; padding: 24px; }
.case-viewer__navigation { display: flex; gap: 12px; }
.case-viewer__original { color: #ecd4ae !important; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
.case-viewer :focus-visible { outline: 2px solid #ecd4ae; outline-offset: 4px; }
html.case-viewer-open { overflow: hidden; scrollbar-gutter: stable; }
.results-page { margin: 0; background: #fff8f1; color: #281d12; font-family: Tahoma, Arial, sans-serif; line-height: 1.7; }
.results-page * { box-sizing: border-box; }
.results-page__nav { max-width: 1200px; padding: 20px 24px; margin: auto; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e9ded1; }
.results-page__nav a { color: #714b16; text-decoration: none; }
@media (max-width: 960px) { .case-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .case-gallery { padding: 32px 20px; }
  .case-gallery__header { display: block; margin-bottom: 22px; }
  .case-gallery__count { display: block; margin-top: 12px; }
  .case-gallery:not(.case-gallery--full) .case-gallery__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc(100% - 20px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #cdb797 transparent; padding-bottom: 12px; }
  .case-gallery:not(.case-gallery--full) .case-card { scroll-snap-align: start; }
  .case-gallery--full .case-gallery__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .case-card__heading { padding-inline: 14px; }
  .case-comparison { padding: 12px 14px; gap: 14px; }
  .case-card__caption { padding: 12px 14px; font-size: .78rem; }
  .case-gallery.is-enhanced:not(.case-gallery--full) .case-gallery__all { display: inline-block; }
  .case-gallery.is-enhanced:not(.case-gallery--full) .case-gallery__more { display: none; }
  .case-gallery__mobile-controls:not([hidden]) { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 10px; }
  .case-gallery__mobile-controls button { background: #fff; border: 1px solid #d9c7af; border-radius: 8px; padding: 9px 12px; min-height: 44px; color: #714b16; font-size: .9rem; font-family: inherit; }
  .case-gallery__mobile-controls button:disabled { opacity: .4; cursor: default; }
  .case-gallery__position { font-size: .85rem; color: #746556; }
  .case-viewer { padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); gap: 12px; }
  .case-viewer__bottom { flex-direction: column; gap: 8px; }
  .case-viewer__navigation { width: 100%; }
  .case-viewer__navigation button { flex: 1; }
  .case-viewer__tools { gap: 12px; }
  .case-viewer__zoom { padding-inline: 10px !important; font-size: .85rem !important; }
}
@media (max-height: 640px) and (min-width: 601px) { .case-viewer__comparison { width: min(100%, 470px); } }

/* Transparent portrait integrates directly with the hero background. */
.home #content .doctor-portrait {
  width: 100%;
  align-self: center;
  justify-content: center;
}
.home #content .doctor-portrait .wp-block-uagb-image__figure {
  display: block;
  box-sizing: border-box;
  width: min(100%, 400px);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.home #content .doctor-portrait .wp-block-uagb-image__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}

/* Introduce the doctor immediately, before the service and article sections. */
.home #content .doctor-hero {
  padding: 132px 32px 56px;
  background: linear-gradient(115deg, #302516, #170f06);
  color: #f5ebdd;
}
.doctor-hero__inner {
  max-width: 1120px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.doctor-hero__copy { grid-column: 1; grid-row: 1; align-self: end; text-align: center; }
.home #content .doctor-hero h1 {
  color: #fff9ef;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.65;
  margin: 0 0 14px;
}
.doctor-hero__eyebrow { color: #d8b779; margin: 0 0 12px; font-size: .95rem; }
.doctor-hero__specialty {
  font-family: 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  font-weight: 700;
  color: #e5c68c;
  text-align: center;
  text-wrap: balance;
  margin: 10px 0 0;
  line-height: 1.8;
}
.doctor-hero__links {
  grid-column: 1; grid-row: 2; align-self: start;
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-top: 26px;
}
.home #content .doctor-hero__links a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid #79674b; color: #f5ebdd;
  font-size: .92rem; text-decoration: none; line-height: 1.7;
  transition: background-color .18s ease, border-color .18s ease;
}
.home #content .doctor-hero__links a:first-child {
  background: #a47316; border-color: #a47316; color: #fff;
}
.home #content .doctor-hero__links a:hover { background: #60491f; border-color: #d8b779; }
.home #content .doctor-hero__links a:focus-visible { outline: 2px solid #f7d498; outline-offset: 4px; }
.home #content .doctor-hero .doctor-portrait { grid-column: 2; grid-row: 1 / 3; }
.home #content .doctor-hero .doctor-portrait .wp-block-uagb-image__figure { max-width: 350px; }
.home #content .uagb-block-c6598d20 > .uagb-container-inner-blocks-wrap { justify-content: center; }
.home #content .uagb-block-c6598d20 .wp-block-columns { width: 100%; max-width: 760px; margin-inline: auto; }
@media (max-width: 767px) {
  .home #content .doctor-hero { padding: 108px 24px 40px; }
  .doctor-hero__inner { display: flex; flex-direction: column; gap: 24px; text-align: center; }
  .doctor-hero__copy { align-self: center; }
  .home #content .doctor-hero h1 { font-size: clamp(1.6rem, 7vw, 2rem); margin-bottom: 6px; }
  .doctor-hero__eyebrow { margin-bottom: 8px; font-size: .85rem; }
  .doctor-hero__specialty { font-size: clamp(1.1rem, 5vw, 1.35rem); margin-top: 10px; }
  .home #content .doctor-hero .doctor-portrait .wp-block-uagb-image__figure { width: min(100%, 250px); }
  .doctor-hero__links { padding-top: 0; justify-content: center; align-self: center; gap: 8px; }
  .home #content .doctor-hero__links a { padding: 9px 14px; font-size: .85rem; }
}

/* Consistent, labeled social profiles with generous touch targets. */
.home #content #Social.social-profiles {
  padding: clamp(48px, 6vw, 76px) 24px;
  background: #fcf8f2;
  border-top: 1px solid #eee3d4;
  border-bottom: 1px solid #eee3d4;
  color: #2c251c;
}
.social-profiles__inner { max-width: 1040px; margin-inline: auto; }
.social-profiles__header { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.social-profiles__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: 0 0 12px; color: #88621f; font-size: .9rem; font-weight: 600;
}
.social-profiles__eyebrow::before, .social-profiles__eyebrow::after { content: ''; width: 30px; height: 1px; background: #cbb386; }
.home #content #social-profiles-title {
  color: #2c251c; font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.7; margin: 0 0 12px;
}
.social-profiles__intro { color: #706453; font-size: 1rem; line-height: 1.9; margin: 0; }
#Social .social-profiles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.social-profiles__grid li { margin: 0; min-width: 0; }
.home #content .social-profile {
  display: flex; align-items: center; gap: 14px; height: 100%;
  box-sizing: border-box; padding: 22px 20px;
  background: #fff; border: 1px solid #e9dfcf; border-radius: 14px;
  text-decoration: none; color: #2c251c;
  transition: border-color .18s ease, background-color .18s ease;
}
.home #content .social-profile:hover { border-color: #b79556; background: #fffdf9; }
.home #content .social-profile:focus-visible { outline: 2px solid #996d21; outline-offset: 4px; }
.social-profile__icon {
  flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: #f6efe3; color: #8d651f;
}
.social-profile__icon svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.social-profile__text { display: grid; gap: 3px; min-width: 0; }
.social-profile__name { font: 600 1.03rem/1.5 'Noto Sans Arabic', Arial, sans-serif; }
.social-profile__handle { font: 400 .8rem/1.6 Arial, sans-serif; color: #7a6e5e; }
.social-profile__arrow { margin-inline-start: auto; color: #aa8b59; font-size: 1.15rem; }
.social-profiles__note { margin: 22px 0 0; text-align: center; color: #7a6e5e; font-size: .82rem; }
@media (max-width: 767px) {
  #Social .social-profiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home #content .social-profile { flex-direction: column; gap: 10px; padding: 20px 12px; text-align: center; position: relative; }
  .social-profile__arrow { position: absolute; top: 10px; left: 12px; font-size: 1rem; }
  .social-profile__text { gap: 2px; }
  .social-profile__name { font-size: .98rem; }
  .social-profile__handle { font-size: .75rem; }
}

/* Concise services with coordinated, responsive illustrative photographs. */
#Services.medical-services { padding: clamp(48px, 6vw, 80px) 24px; background: #fffdf9; color: #30271c; scroll-margin-top: var(--site-header-offset); font-family: 'Noto Sans Arabic', Tahoma, sans-serif; }
.medical-services__inner { max-width: 1120px; margin-inline: auto; }
.medical-services__header { max-width: 760px; margin: 0 auto 32px; text-align: center; }
#Services .medical-services__eyebrow { margin: 0 0 10px; color: #916414; font-size: .95rem; font-weight: 700; }
#Services #services-title { margin: 0; color: #30271c; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.8; }
.medical-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
#Services .medical-service { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 16px 20px 24px; border: 1px solid #e8dfcf; border-radius: 20px; background: #fff; text-align: center; }
.medical-service__photo { width: 100%; aspect-ratio: 3 / 2; margin-bottom: 22px; overflow: hidden; border-radius: 12px; background: #f5ecda; }
#Services .medical-service__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
#Services .medical-services__note { margin: 18px 0 0; color: #766b59; font-size: .78rem; text-align: center; }
#Services .medical-service h3 { min-height: 3.8em; margin: 0 0 12px; display: flex; align-items: center; justify-content: center; color: #30271c; font-family: inherit; font-size: 1.2rem; font-weight: 700; line-height: 1.9; text-wrap: balance; }
#Services .medical-service p { margin: 0 0 22px; color: #665a49; font-size: 1rem; line-height: 2; text-wrap: pretty; }
#Services .medical-service__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; margin-top: auto; padding: 5px 0; color: #855b12; font-weight: 700; font-size: .95rem; text-decoration: none; text-underline-offset: 5px; }
#Services .medical-service__link:hover { color: #563e14; text-decoration: underline; }
#Services .medical-service__link:focus-visible { outline: 2px solid #99701f; outline-offset: 5px; border-radius: 4px; }
@media (max-width: 800px) {
  .medical-services__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 16px; }
  #Services .medical-service { padding: 16px 20px 24px; }
  #Services .medical-service h3 { min-height: 0; }
}
@media (max-width: 380px) { #Services.medical-services { padding-inline: 16px; } #Services .medical-service { padding-inline: 18px; } }

/* Authentic video cover images with a clear, face-safe play control. */
.tiktok-card { border-color: #e8dfcf; }
.tiktok-player .tiktok-player__placeholder { position: relative; justify-content: flex-end; padding: 16px 10px; background: #261e13; }
.tiktok-player__poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.tiktok-player__controls { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid #e7ce95; border-radius: 999px; background: #946a20; box-shadow: 0 3px 12px #0003; }
.tiktok-player__controls .tiktok-player__icon { width: 32px; height: 32px; flex: 0 0 32px; border: 0; background: #ffffff20; font-size: 16px; }
.tiktok-player__controls .tiktok-player__prompt { margin: 0; color: #fff; font-size: .85rem; font-weight: 700; line-height: 1.6; }
.tiktok-player__placeholder:hover .tiktok-player__controls { background: #785316; }
.tiktok-player__placeholder:focus-visible { outline-color: #e7ce95; }

/* Patient experiences: retained cover during loading and consistent gold controls. */
#Reviews { scroll-margin-top: var(--site-header-offset); }
#Reviews .tiktok-showcase { margin-top: 24px; }
.tiktok-player.is-loading .tiktok-player__placeholder { z-index: 2; }
.tiktok-player.is-loading .tiktok-player__controls { background: #5b431e; }
.tiktok-player__placeholder:disabled { cursor: wait; opacity: 1; }
.tiktok-player.is-loading .tiktok-player__icon { font-size: 0; }
.tiktok-player.is-loading .tiktok-player__icon::after { content: ''; width: 17px; height: 17px; border: 2px solid #ffffff66; border-top-color: #fff; border-radius: 50%; animation: video-loading 1s linear infinite; }
@keyframes video-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tiktok-player.is-loading .tiktok-player__icon::after { animation: none; } }
.tiktok-card__actions button { background: #946a20; border-color: #946a20; }
.tiktok-card__actions button:hover { background: #785316; }
.tiktok-card__actions a { color: #79571d; border-color: #cdbb97; }
.tiktok-card__actions a:hover { background: #faf6ee; }
.tiktok-card__actions :focus-visible { outline-color: #946a20; }

/* Results age-group tabs: activated only once every case has a confirmed category. */
.case-gallery__tabs { display: inline-flex; gap: 5px; padding: 5px; margin: 0 0 24px; border: 1px solid #e3d4bc; border-radius: 999px; background: #f4ecdf; }
.case-gallery__tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; min-width: 126px; padding: 8px 22px; border: 0; border-radius: 999px; background: transparent; color: #6e5b3f; font: inherit; font-weight: 700; cursor: pointer; }
.case-gallery__tabs button[aria-selected="true"] { background: #92651d; color: #fff; box-shadow: 0 2px 5px #61401115; }
.case-gallery__tabs button:not([aria-selected="true"]):hover { background: #eadfcf; }
.case-gallery__tab-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 999px; background: #ffffff70; color: #6e5123; font-size: .78rem; line-height: 1; }
.case-gallery__tabs button[aria-selected="true"] .case-gallery__tab-count { background: #ffffff26; color: #fff; }
.case-gallery__tabs button:disabled { opacity: .5; cursor: default; }
@media (max-width: 600px) { .case-gallery__tabs { display: flex; margin-bottom: 20px; } .case-gallery__tabs button { flex: 1; min-width: 0; padding-inline: 18px; } }
