/* Final Arabic v3 visual polish */
.eyebrow{unicode-bidi:plaintext}
.trust-google small{color:var(--text);font-size:.58rem;font-weight:700;white-space:nowrap}
.trust-star-mark{color:#e4a53a;font-size:.85rem;line-height:1}
.trust-stars{display:none!important}

/* Do not imply a fixed 5.0 score when the live Google rating can change. */
.reviews-v3__stars{position:relative;min-height:220px;display:grid;place-items:center}
.reviews-v3__stars span{display:none}
.reviews-v3__stars::before{content:"★";width:150px;height:150px;display:grid;place-items:center;border:1px solid #f1d39a;border-radius:34px;background:radial-gradient(circle,#fffaf0 0%,#fff 72%);color:#e7a83b;font-size:4.3rem;box-shadow:0 18px 50px rgba(201,154,86,.12)}
.reviews-v3__stars::after{content:"Google Reviews";position:absolute;bottom:12px;color:var(--text);font-size:.68rem;font-weight:800;direction:ltr}

/* Homepage Google trust strip links to the live profile without claiming a fixed score. */
.trust-strip__grid>a>b{font-size:0!important}
.trust-strip__grid>a>b::after{content:"★";font-size:.9rem;color:#f4c150}

/* Keep Arabic patient-facing labels visually natural around the Latin brand. */
.why-v3 .section-heading .eyebrow{font-size:0;direction:rtl}
.why-v3 .section-heading .eyebrow::after{content:"لماذا نيوم كلينك؟";font-size:.72rem;font-weight:800;letter-spacing:.04em}
.clinic-v3__copy .eyebrow{direction:ltr;text-align:right}
.clinic-v3__copy .text-link{font-size:0}
.clinic-v3__copy .text-link::before{content:"تعرّف إلى نيوم كلينك";font-size:.84rem}
.clinic-v3__copy .text-link span{font-size:.84rem}

/* Never enlarge patient-facing photography on hover. */
.home-hero__visual img,.specialty-tiles img,.service-panel__visual img,.clinic-v3__image img,.page-hero-v3__photo img,.treatment-group-v3__header img,.treatment-overview-v3__intro img,.about-specialty-grid img,.clinic-gallery-grid img{transform:none!important;transition:none!important}

/* Real clinic gallery stays editorial, not full-screen or oversized. */
@media(min-width:901px){.clinic-gallery-grid{height:560px;min-height:0!important}.clinic-gallery-grid figure{min-height:0}.clinic-gallery-grid img{height:100%!important;max-height:560px;object-fit:cover}}
@media(min-width:641px) and (max-width:900px){.clinic-gallery-grid{height:500px;min-height:0!important}.clinic-gallery-grid figure{min-height:0}.clinic-gallery-grid img{height:100%!important;max-height:500px;object-fit:cover}}

@media(max-width:640px){
  .trust-google small{display:none}
  .reviews-v3__stars{min-height:150px}
  .reviews-v3__stars::before{width:104px;height:104px;border-radius:25px;font-size:3rem}
  .clinic-gallery-grid{height:auto!important;min-height:0!important}
}


/* Arabic v3.1 Master Checklist overrides */
:root{--trust-h:0px;--site-h:76px}
body{padding-top:var(--site-h)}
.trust-bar{display:none!important}
.mega-menu[hidden],.mega-menu__group-panel[hidden],.service-panel[hidden]{display:none!important}

/* Approved hero: full composition visible, image is the visual lead. */
.home-hero{padding:54px 0 62px;background:radial-gradient(circle at 12% 20%,rgba(217,154,114,.10),transparent 30%),var(--paper)}
.home-hero__grid{min-height:540px;grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr);gap:34px}
.home-hero__visual{aspect-ratio:1672/941;border-radius:28px;background:#073f46;box-shadow:0 24px 60px rgba(7,70,74,.10)}
.home-hero__visual img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;transform:none!important}
.home-hero__visual figcaption{right:18px;bottom:16px}

/* Google is a non-clickable home-only trust badge. */
.home-trust-badge{padding:15px 0;background:#fffdfb;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-trust-badge__inner{display:grid;grid-template-columns:1.15fr 1fr 1fr;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.google-rating-badge,.home-trust-badge__fact{min-height:78px;display:flex;align-items:center;gap:12px;padding:13px 18px;border-left:1px solid var(--line)}
.home-trust-badge__inner>*:last-child{border-left:0}
.google-rating-badge img{width:24px;height:24px;object-fit:contain}
.google-rating-badge>span:not(.google-rating-badge__stars),.home-trust-badge__fact>span{display:grid}
.google-rating-badge strong,.home-trust-badge__fact strong{font-size:.82rem;color:var(--ink)}
.google-rating-badge small,.home-trust-badge__fact small{font-size:.62rem;color:var(--text)}
.google-rating-badge__stars{margin-inline-start:auto;color:#e3a23a;letter-spacing:.05em;font-size:.82rem;direction:ltr}
.home-trust-badge__fact>b{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--teal);font-size:.62rem}
.reviews-v3{display:none!important}

/* Service discovery: complete lists without empty oversized panels. */
.specialty-tiles img{height:220px;object-fit:cover;object-position:center}
.service-panel{grid-template-columns:46% 54%;min-height:0}
.service-panel__visual{display:flex;align-items:center;justify-content:center;padding:24px}
.service-panel__visual img{width:100%;height:auto;max-height:390px;aspect-ratio:4/3;object-fit:contain!important;transform:none!important}
.service-panel__content{padding:30px 32px}
.service-links{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
.service-links a{min-height:46px}

/* Procedure visuals are photo-led 4:3 cards, never cartoon icons or extreme crops. */
.treatment-card-v3__art{background:#f4f0eb;overflow:hidden}
.treatment-card-v3__art img,.related-card-v3>div img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;transform:none!important}
.procedure-photo-v31{margin:0;display:grid;align-content:start;gap:10px}
.procedure-photo-v31 img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow)}
.procedure-photo-v31 figcaption{font-size:.66rem;color:var(--text);line-height:1.6}
.treatment-overview-v3__intro figure img{aspect-ratio:4/3;object-fit:cover!important;object-position:center}

@media(max-width:900px){
  :root{--site-h:72px}
  .home-hero__grid{grid-template-columns:1fr;gap:28px;min-height:0}
  .home-hero__visual{order:0;width:100%;aspect-ratio:1672/941}
  .home-hero__copy{order:1}
  .home-trust-badge__inner{grid-template-columns:1fr}
  .google-rating-badge,.home-trust-badge__fact{border-left:0;border-bottom:1px solid var(--line);min-height:66px}
  .home-trust-badge__inner>*:last-child{border-bottom:0}
  .specialty-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .specialty-tiles img{height:190px}
  .service-panel{grid-template-columns:1fr}
  .service-panel__visual img{max-height:360px}
}
@media(max-width:560px){
  .home-hero{padding-top:30px}
  .home-hero__visual{border-radius:20px}
  .specialty-tiles img{height:160px}
  .service-links{grid-template-columns:1fr}
  .service-panel__content{padding:24px 20px}
  .google-rating-badge__stars{font-size:.72rem}
}

/* Rating value/stars remain hidden until current Google data is verified. */
.google-rating-badge__stars{display:none!important}

/* v3.1.4: keep the exact approved hero fully visible and visually dominant. */
@media(min-width:901px){.home-hero__visual{width:100%;min-width:0}.home-hero__copy{max-width:560px}.home-hero__visual img{object-fit:contain!important;object-position:center!important}}


/* v3.1.5 photo-led treatment archive and single pages */
.treatment-grid-v3{gap:22px!important}
.treatment-card-v3{display:flex!important;flex-direction:column;min-height:0!important;border-radius:24px!important;overflow:hidden;background:#fff;box-shadow:0 14px 42px rgba(7,70,74,.055);transform:none!important}
.treatment-card-v3:hover{transform:none!important;border-color:rgba(217,154,114,.48)!important}
.treatment-card-v3__art{width:100%;height:auto!important;padding:0!important;background:#f4f0eb;aspect-ratio:4/3;overflow:hidden}
.treatment-card-v3__art img{display:block;width:100%;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;transform:none!important;transition:none!important}
.treatment-card-v3__copy{flex:1;padding:22px 24px 24px!important;min-height:200px}
.treatment-card-v3__copy h3{font-size:1.18rem!important;margin:6px 0 8px}
.treatment-card-v3__copy p{font-size:.78rem!important;line-height:1.85}
.treatment-group-v3__header figure{width:100%;max-width:340px;aspect-ratio:4/3!important;background:#f8f3ef!important}
.treatment-group-v3__header img{width:100%;height:100%!important;object-fit:cover!important;object-position:center!important}

/* Operation pages: a clear, large procedure image without full-screen zoom. */
.treatment-hero-v3__grid{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;gap:52px!important;min-height:500px!important}
.procedure-photo-v31{width:100%;max-width:650px;margin-inline:auto!important}
.procedure-photo-v31 img{width:100%!important;aspect-ratio:4/3!important;max-height:500px!important;object-fit:cover!important;object-position:center!important;border-radius:28px!important;transform:none!important;transition:none!important}
.treatment-hero-v3 h1{font-size:clamp(3rem,5vw,4.35rem)!important;line-height:1.2!important}
.treatment-overview-v3__intro figure{aspect-ratio:4/3!important}
.treatment-overview-v3__intro figure img{width:100%;height:100%!important;object-fit:cover!important;object-position:center!important}
.related-card-v3>div{height:auto!important;aspect-ratio:4/3}
.related-card-v3>div img{width:100%;height:100%!important;object-fit:cover!important}

@media(max-width:900px){
 .treatment-hero-v3__grid{grid-template-columns:1fr!important;min-height:0!important;gap:28px!important}
 .procedure-photo-v31{max-width:680px}
 .treatment-card-v3__copy{min-height:175px}
}
@media(max-width:640px){
 .treatment-grid-v3{grid-template-columns:1fr!important;gap:16px!important}
 .treatment-card-v3{display:flex!important;min-height:0!important}
 .treatment-card-v3__art{width:100%!important;aspect-ratio:4/3!important}
 .treatment-card-v3__copy{padding:18px!important;min-height:165px}
 .treatment-card-v3__copy p{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}
 .procedure-photo-v31 img{max-height:none!important;border-radius:20px!important}
 .treatment-hero-v3 h1{font-size:2.55rem!important}
}

/* Batch 2 visual gate: portrait assets fill intentional frames without letterboxing. */
.specialty-hub-v32 .treatment-grid-v3{grid-template-columns:repeat(3,minmax(0,1fr))}
.specialty-hub-v32 .treatment-card-v3__art{aspect-ratio:2/3!important;background:transparent}
.specialty-hub-v32 .treatment-card-v3__art img,
.treatment-page-v3 .treatment-overview-v3__intro figure img,
.treatment-page-v3 .related-card-v3>div img{object-fit:cover!important;object-position:center!important;background:transparent}
.treatment-page-v3 .procedure-photo-v31{background:transparent}
.treatment-page-v3 .procedure-photo-v31 img{display:block;width:100%!important;height:auto!important;aspect-ratio:auto!important;max-height:none!important;object-fit:contain!important;border:1px solid var(--line)!important;border-radius:28px!important;box-shadow:var(--shadow)!important;background:transparent!important}
.treatment-page-v3 .treatment-overview-v3__intro figure,
.treatment-page-v3 .related-card-v3>div{aspect-ratio:2/3!important;height:auto!important;background:transparent;overflow:hidden}
.treatment-page-v3 .treatment-overview-v3__intro figure img,
.treatment-page-v3 .related-card-v3>div img{aspect-ratio:auto!important}
.treatment-hub-grid-v32 .treatment-card-v3__art{aspect-ratio:4/3!important}
.specialty-guide-card-v32{max-width:780px;min-height:260px}
@media(max-width:1024px){
 .specialty-hub-v32 .treatment-grid-v3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
 .specialty-hub-v32 .treatment-grid-v3{grid-template-columns:1fr!important}
 .specialty-hub-v32 .treatment-card-v3__art{aspect-ratio:2/3!important}
}
