/*
 * Home «الزجاج» (message 30 / ٢, _design/glass-final/Main.dc.html). Loaded on the front page only, when the content is
 * the glass markup (class="yg-hero"). The hero sits in the navy band (header.php); the rest in .yg-home.
 * No motion on the H1 or the hero photo (LCP).
 */

/* ---------------------------------------------------------------- hero (inside the band) */
.yg-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-top: 60px; }
.yg-hero__h1 { margin: 18px 0; color: #fff; font-size: 48px; line-height: 1.3; text-wrap: balance; }
.yg-hero__lead { margin: 0 0 30px; max-width: 600px; color: #d6dfec; font-size: 18px; line-height: 1.9; }
.yg-photo { position: relative; }
.yg-photo__frame { position: relative; overflow: hidden; padding: 10px; border-radius: 26px; }
.yg-photo__img { display: block; width: 100%; height: 520px; object-fit: cover; object-position: center 18%; border-radius: 18px; background: #fff; }
.yg-idcard { position: absolute; inset-inline-end: -28px; inset-inline-start: 40px; bottom: -34px; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 16px; color: var(--yr-ink); animation: yg-floaty 7s ease-in-out 1.6s infinite; }
.yg-idcard__badge { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #3a5da5, #24417c); color: #fff; box-shadow: 0 8px 18px -8px rgba(36,65,124,.8); }
.yg-idcard__body { flex: 1; min-width: 0; }
.yg-idcard__t { margin: 0 0 6px; color: var(--yr-primary); font-family: var(--yr-font-h); font-size: 17px; font-weight: 700; line-height: 1.5; }
.yg-idcard__br { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(36,65,124,.10); }
.yg-idcard__br b { display: block; color: var(--yr-ink); font-family: var(--yr-font-h); font-size: 14.5px; font-weight: 600; }
.yg-idcard__br span { display: block; color: var(--yr-text-2); font-size: 12.5px; line-height: 1.6; }
.yg-idcard__go { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; background: linear-gradient(135deg, #3a5da5, #24417c); color: #fff; font-family: var(--yr-font-h); font-size: 13px; font-weight: 600; text-decoration: none; }
.yg-idcard__go:hover { color: #fff; }

/* ---------------------------------------------------------------- page body: dots + soft glows behind the sections */
.yg-home { position: relative; }
.yg-home::before { content: ""; position: absolute; inset: 0 0 auto; height: 2400px; pointer-events: none; background-image: radial-gradient(rgba(36,65,124,.13) 1.2px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%); }

/* stats */
.yg-stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -96px; border-radius: 20px; overflow: hidden; }
.yg-stat { position: relative; padding: 30px 22px; text-align: center; transition: background .3s; }
.yg-stat + .yg-stat { border-inline-start: 1px solid rgba(36,65,124,.10); }
.yg-stat::before { content: ""; position: absolute; left: 30%; right: 30%; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, #3a5da5, #24417c); transform: scaleX(0); transition: transform .35s; }
.yg-stat:hover { background: rgba(255,255,255,.7); }
.yg-stat:hover::before { transform: scaleX(1); }
.yg-stat b { display: block; font-family: var(--yr-font-h); font-size: 38px; font-weight: 700; line-height: 1.4; direction: ltr; background: linear-gradient(180deg, #3a5da5, #24417c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yg-stat span { display: block; margin-top: 8px; color: var(--yr-text-2); font-size: 14px; line-height: 1.7; }

/* section heads */
.yg-sec-h--sub { margin: 48px 0 24px; }
.yg-sec-h--sub h3 { margin: 0; color: var(--yr-primary); font-size: 26px; line-height: 1.4; }
.yg-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.yg-center { display: flex; justify-content: center; margin-top: 26px; }
.yg-home .yg-more { position: relative; z-index: 1; }
.yg-wc:hover .yg-more svg, .yg-card:hover .yg-more svg { transform: translateX(-6px); }
.translatepress-en_US :is(.yg-wc, .yg-card):hover .yg-more svg { transform: scaleX(-1) translateX(-6px); } /* message 116 / 5ب: same flip on /en/ while hovered */
/* whole card clickable through its heading link (the link text stays the heading) */
.yg-card h3 a::after, .yg-hubc h3 a::after, .yg-hospc h4 a::after, .yg-rg .yg-go::after, .yg-paper .yg-go::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* about / credentials */
.yg-about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.yg-about__img { position: sticky; top: 24px; margin: 0; padding: 10px; border-radius: 22px; background: linear-gradient(140deg, #fff, #e9eff8); border: 1px solid var(--yr-line); box-shadow: 0 30px 60px -36px rgba(16,33,54,.55); }
.yg-about__clip { overflow: hidden; border-radius: 16px; }
.yg-about__photo { display: block; width: 100%; height: 600px; object-fit: cover; transition: transform .8s var(--yr-ease); }
.yg-about__img:hover .yg-about__photo { transform: scale(1.05); }
.yg-about__tag { position: absolute; inset-inline-start: 28px; bottom: 28px; padding: 14px 18px; border-radius: 14px; color: var(--yr-ink); font-size: 14px; line-height: 1.6; }
.yg-about__tag b { display: block; color: var(--yr-primary); font-family: var(--yr-font-h); font-size: 18px; direction: ltr; text-align: start; }
.yg-about__body h3 { margin: 0 0 14px; color: var(--yr-primary); font-size: 26px; line-height: 1.5; }
.yg-about__body > p { margin: 0 0 14px; color: var(--yr-text); font-size: 17px; line-height: 1.95; }

.yg-philo { margin: 4px 0 6px !important; padding: 16px 18px; border-radius: 14px; background: linear-gradient(90deg, #eef3fa, rgba(238,243,250,.3)); border-inline-start: 3px solid #3a5da5; color: var(--yr-text) !important; font-size: 16px !important; line-height: 1.9 !important; }
.yg-philo b { color: var(--yr-primary); }
.yg-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.yg-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.6)); border: 1px solid var(--yr-line); color: var(--yr-text); font-size: 15px; line-height: 1.6; transition: transform .3s, border-color .3s, box-shadow .3s; }
.yg-list li.yg-list__w { grid-column: 1 / -1; }
.yg-list li:hover { transform: translateX(-6px); border-color: rgba(58,93,165,.35); box-shadow: 0 12px 26px -20px rgba(36,65,124,.6); }
.translatepress-en_US .yg-list li:hover { transform: translateX(6px); } /* message 117 / 4: on /en/ the row moves right (forward); Arabic unchanged */
.yg-list li b { color: var(--yr-primary); direction: ltr; unicode-bidi: isolate; }
.yg-chk { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(140deg, #3a5da5, #24417c); color: #fff; }

/* research */
.yg-res2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: auto auto; gap: 18px; }
.yg-rg { grid-row: 1 / 3; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 420px; padding: 32px; border-radius: 22px; background: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.3px) 0 0 / 20px 20px, linear-gradient(160deg, #2c4c8c, #18305a 50%, #0e1d33); color: #fff; box-shadow: 0 26px 54px -30px rgba(16,33,54,.85); transition: transform .35s var(--yr-ease), box-shadow .35s; }
.yg-rg:hover { transform: translateY(-6px); }
.yg-rg__shade { position: absolute; width: 380px; height: 380px; border-radius: 50%; left: -120px; top: -140px; background: #3a5da5; filter: blur(90px); opacity: .55; pointer-events: none; }
.yg-rg > *:not(.yg-rg__shade) { position: relative; }
.yg-rg::before { content: ""; position: relative; z-index: 1; align-self: flex-start; width: 100%; max-width: 400px; aspect-ratio: 489 / 128; margin-bottom: auto; border-radius: 16px; background: #fff url("../img/rg-profile.webp") center / contain no-repeat; box-shadow: 0 18px 40px -22px rgba(0,0,0,.55); } /* message 120: the ResearchGate profile header (photo, name, title; image from the owner) at the top of the card; decorative, the card text is unchanged */
@media (max-width: 860px) { .yg-rg::before { margin-bottom: 8px; } }
.yg-rg__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-family: var(--yr-font-h); font-size: 14px; font-weight: 600; direction: ltr; }
.yg-rg__badge i { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: #fff; color: var(--yr-primary); font-style: normal; font-size: 12px; font-weight: 700; }
.yg-rg h3 { margin: 0; color: #fff; font-size: 26px; line-height: 1.4; }
.yg-rg p { margin: 0; color: #dce4f0; font-size: 16px; line-height: 1.85; }
.yg-go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--yr-font-h); font-size: 15px; font-weight: 600; text-decoration: none; }
.yg-go svg { transition: transform .3s; }
.yg-rg:hover .yg-go svg, .yg-paper:hover .yg-go svg { transform: translate(-3px, -3px); }
.yg-rg .yg-go { position: static; color: #fff; }
.yg-paper { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); border-radius: 20px; background: linear-gradient(180deg, #fff, #f8fafd); border: 1px solid var(--yr-line); box-shadow: 0 14px 34px -24px rgba(16,33,54,.4); transition: transform .35s var(--yr-ease), box-shadow .35s, border-color .35s; }
.yg-paper:hover { transform: translateY(-6px); border-color: rgba(58,93,165,.35); box-shadow: 0 26px 50px -24px rgba(36,65,124,.55); }
.yg-paper__txt { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.yg-paper h3 { margin: 0; color: var(--yr-primary); font-size: 18px; line-height: 1.5; }
.yg-paper__en { margin: 0; direction: ltr; text-align: left; color: var(--yr-text-2); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 14px; line-height: 1.6; }
.yg-paper .yg-go { position: static; margin-top: auto; color: var(--yr-primary-2); }
.yg-paper__art { min-height: 150px; background: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.3px) 0 0 / 18px 18px, linear-gradient(160deg, #2c4c8c, #0e1d33); }
/* message 119: an image from the site's own media in place of the blue block, by the card's ResearchGate link (home 7933, content not touched) */
.yg-paper:has(a[href*="332217574"]) .yg-paper__art { background: #fff url("/wp-content/uploads/2025/05/%D8%A5%D8%AC%D8%B1%D8%A7%D8%A1%D8%A7%D8%AA-%D8%A7%D9%84%D8%B9%D9%85%D9%84%D9%8A%D8%A9-%D8%A7%D9%84%D8%AC%D8%B1%D8%A7%D8%AD%D9%8A%D8%A9-%D9%84%D8%A5%D8%B5%D9%84%D8%A7%D8%AD-%D8%A7%D9%84%D9%88%D8%AA%D8%B1-%D8%A7%D9%84%D8%A3%D9%83%D9%8A%D9%84%D8%B3-540x353.webp") 30% center / cover no-repeat; } /* Achilles tendon (#3634) */
.yg-paper:has(a[href*="320986025"]) .yg-paper__art { background: #0f2433 url("/wp-content/uploads/2025/04/pnBmPAfAOSaK2wA2VXYYrjdCUc5IwuaCS3iVFWil-768x432.webp") 40% center / cover no-repeat; } /* foot bones (#2936) */

/* reviews (Trustindex inside the navy panel) */
.yg-rev { position: relative; overflow: hidden; padding: 48px 40px; border-radius: 24px; background: linear-gradient(160deg, #0e1d33, #24417c); color: #fff; }
.yg-rev::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.3px); background-size: 22px 22px; pointer-events: none; }
.yg-rev__g { position: absolute; width: 420px; height: 420px; border-radius: 50%; left: -120px; top: -140px; background: #3a5da5; filter: blur(90px); opacity: .6; pointer-events: none; }
.yg-rev > * { position: relative; }
.yg-rev h2 { margin: 0; color: #fff; font-size: 32px; line-height: 1.4; text-align: center; }
.yg-rev__sub { margin: 10px auto 28px; color: #d6dfec; font-size: 16px; text-align: center; }
.yg-rev__widget { min-height: 200px; }
.yg-rev .ti-widget.ti-goog .ti-rating-text strong.ti-rating-large { color: #fff !important; } /* «ممتاز» on navy (message 34 / 4) */
.yg-rev .ti-widget.ti-goog .ti-rating-text .nowrap, .yg-rev .ti-widget.ti-goog .ti-rating-text .nowrap strong { color: #fff !important; } /* «استنادًا إلى …» (message 35 / 3) */

/* videos */
.yg-tint { position: relative; margin-top: 96px; padding: 24px 0 64px; background: linear-gradient(180deg, rgba(231,237,246,0) 0%, #e9eff8 14%, #e9eff8 86%, rgba(231,237,246,0) 100%); }
.yg-vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.yg-vid { display: flex; flex-direction: column; }
.yg-vid__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0e1d33; }
.yg-vid__frame iframe, .yg-vid__frame > * { display: block; width: 100%; height: 100%; border: 0; }
.yg-vid h3 { margin: 16px 20px 6px; color: var(--yr-primary); font-size: 17px; line-height: 1.5; }
.yg-vid h3 a { color: inherit; text-decoration: none; }
.yg-vid h3 a:hover { color: var(--yr-primary-2); }
.yg-vid p { margin: 0 20px 20px; color: var(--yr-text-2); font-size: 14px; line-height: 1.75; }

/* services: tabs + dark photo cards (all 22 in the HTML; the tab only hides/shows) */
.yg-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 14px; background: #e9eff8; border: 1px solid var(--yr-line); }
.yg-tab { min-height: 44px; padding: 0 22px; border: 0; border-radius: 10px; background: transparent; color: var(--yr-text-2); font-family: var(--yr-font-h); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.yg-tab:hover { color: var(--yr-primary); background: rgba(255,255,255,.6); }
.yg-tab[aria-selected="true"] { background: linear-gradient(135deg, #3a5da5, #24417c); color: #fff; box-shadow: 0 10px 22px -12px rgba(36,65,124,.8); }
.yg-tabpanel + .yg-tabpanel { margin-top: 18px; } /* without JS all panels show */
.yg-spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.yg-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 300px; padding: 26px 24px; border-radius: 18px; background: #102136; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 40px -26px rgba(16,33,54,.7); color: #fff; transition: transform .35s var(--yr-ease), box-shadow .35s, border-color .35s; }
.yg-card::before { content: ""; position: absolute; z-index: 3; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, #9fb6de, #fff); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--yr-ease); }
.yg-card:hover { transform: translateY(-6px); border-color: rgba(159,182,222,.55); box-shadow: 0 30px 60px -28px rgba(16,33,54,.85); }
.yg-card:hover::before { transform: scaleX(1); }
.yg-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); mix-blend-mode: luminosity; opacity: .72; border-radius: 0 !important; transition: transform .9s var(--yr-ease), opacity .5s; }
.yg-card:hover .yg-card__bg { transform: scale(1.08); opacity: .9; }
.yg-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,93,165,.22) 0%, rgba(36,65,124,.52) 38%, rgba(20,40,74,.84) 68%, rgba(14,29,51,.94) 100%); }
.yg-card--noimg .yg-card__shade { background: radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.3px) 0 0 / 20px 20px, linear-gradient(160deg, #2c4c8c 0%, #18305a 45%, #0e1d33 100%); }
.yg-card h3 { position: relative; z-index: 1; margin: 4px 0 0; font-size: 18px; line-height: 1.5; }
.yg-card h3 a { color: #fff; text-decoration: none; }
.yg-card p { position: relative; z-index: 1; margin: 0; color: #e3e9f3; font-size: 15px; line-height: 1.75; }
.yg-card .yg-more { color: #fff; }

/* 3438 card */

/* best doctor by specialty */
.yg-hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.yg-hubc { display: flex; align-items: flex-start; gap: 14px; padding: 18px; }
.yg-hubc h3 { margin: 0 0 4px; font-size: 16px; line-height: 1.5; }
.yg-hubc h3 a { color: var(--yr-primary); text-decoration: none; }
.yg-hubc p { margin: 0 0 8px; color: var(--yr-text-2); font-size: 14px; line-height: 1.75; }
.yg-hubc .yg-more { font-size: 13px; }

/* FAQ */
.yg-faq__a { padding: 0 22px 20px; color: var(--yr-text-2); font-size: 15px; line-height: 1.85; }
.yg-faq__a a { color: var(--yr-primary); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(58,93,165,.35); text-underline-offset: 4px; }

/* clinics + hospitals */
.yg-panel { position: relative; overflow: hidden; padding: 48px 40px; border-radius: 26px; background: linear-gradient(180deg, #fff, #eef3fa); border: 1px solid var(--yr-line); }
.yg-clinics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.yg-clinic { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.yg-clinic__h { display: flex; align-items: center; gap: 12px; }
.yg-clinic h3 { margin: 0; color: var(--yr-primary); font-size: 20px; }
.yg-clinic__d { margin: 0; color: var(--yr-text-2); font-size: 15px; line-height: 1.8; }
.yg-field { padding: 14px 16px; border-radius: 12px; background: #f4f7fb; border: 1px solid rgba(36,65,124,.08); }
.yg-field small { display: block; color: var(--yr-primary-2); font-size: 12px; font-weight: 600; }
.yg-field span { display: block; margin-top: 4px; color: var(--yr-text); font-size: 15px; }
.yg-field span[dir="ltr"] { text-align: end; }
[dir="rtl"] .yg-field span[dir="ltr"], .yg-hero ~ * .yg-field span[dir="ltr"] { text-align: right; }
.yg-locs { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 0; }
.yg-locs b { color: var(--yr-primary); font-family: var(--yr-font-h); font-size: 15px; }
.yg-locs a { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid rgba(36,65,124,.12); color: var(--yr-primary); font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.yg-locs a:hover { transform: translateY(-3px); border-color: rgba(58,93,165,.45); box-shadow: 0 12px 22px -14px rgba(36,65,124,.7); }
.yg-hosp { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.yg-hospc { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 0 0 20px; }
.yg-hospc__img { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #e6ecf4; }
.yg-hospc__img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .7s var(--yr-ease); }
.yg-hospc:hover .yg-hospc__img img { transform: scale(1.06); }
.yg-hospc .yg-ico { margin: -38px 20px 0; width: 48px; height: 48px; }
.yg-hospc h4 { margin: 0 20px; font-family: var(--yr-font-h); font-size: 15px; line-height: 1.6; }
.yg-hospc h4 a { color: var(--yr-primary); text-decoration: none; }
.yg-hospc .yg-more { margin: 0 20px; font-size: 13px; }

/* CTA */
.yg-cta { position: relative; overflow: hidden; padding: 56px 40px; border-radius: 26px; text-align: center; background: linear-gradient(160deg, #0e1d33, #24417c); color: #fff; }
.yg-cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; bottom: -200px; background: #3a5da5; filter: blur(90px); opacity: .7; pointer-events: none; }
.yg-cta > * { position: relative; }
.yg-cta h2 { margin: 0; color: #fff; font-size: 34px; line-height: 1.4; }
.yg-cta p { margin: 14px auto 28px; max-width: 640px; color: #d6dfec; font-size: 17px; line-height: 1.85; }
.yg-cta .yg-btn--o span[dir="ltr"] { unicode-bidi: isolate; }

/* scroll reveal: grid neighbours enter a little later */
@supports (animation-timeline: view()) {
	.yg-spec .yg-rv:nth-child(4n+2), .yg-vids .yg-rv:nth-child(3n+2), .yg-clinics .yg-rv:nth-child(2), .yg-hosp .yg-rv:nth-child(5n+2) { animation-range: entry 6% cover 32%; }
	.yg-spec .yg-rv:nth-child(4n+3), .yg-vids .yg-rv:nth-child(3n+3), .yg-hosp .yg-rv:nth-child(5n+3) { animation-range: entry 12% cover 36%; }
	.yg-spec .yg-rv:nth-child(4n+4), .yg-hosp .yg-rv:nth-child(5n+4) { animation-range: entry 18% cover 40%; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
	.yg-hub, .yg-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yg-hosp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.yg-hero { gap: 36px; }
	.yg-hero__h1 { font-size: 40px; }
}
@media (max-width: 860px) {
	.yg-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 28px; }
	.yg-hero__h1 { font-size: 32px; }
	.yg-hero__lead { font-size: 16px; }
	.yg-cta-row { flex-direction: column; align-items: stretch; }
	.yg-cta-row .yg-btn { width: 100%; }
	.yg-photo__img { height: 400px; }
	.yg-idcard { position: relative; inset: auto; margin: -40px 12px 0; animation: none; }
	.yg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -70px; }
	.yg-stat { padding: 20px 12px; }
	.yg-stat + .yg-stat { border-inline-start: 0; }
	.yg-stat:nth-child(even) { border-inline-start: 1px solid rgba(36,65,124,.10); }
	.yg-stat:nth-child(n+3) { border-top: 1px solid rgba(36,65,124,.10); }
	.yg-stat b { font-size: 28px; }
	.yg-stat span { font-size: 13px; }
	.yg-rev h2, .yg-cta h2 { font-size: 26px; }
	.yg-about__body h3 { font-size: 22px; }
	.yg-sec-h p, .yg-about__body > p { font-size: 16px; }
	.yg-hub, .yg-res2, .yg-paper, .yg-spec, .yg-vids, .yg-clinics, .yg-about, .yg-list { grid-template-columns: minmax(0, 1fr); }
	.yg-about__img { position: relative; top: 0; }
	.yg-about__photo { height: 380px; }
	.yg-rg { grid-row: auto; min-height: 0; }
	.yg-paper__art { min-height: 0; height: 120px; order: -1; }
	.yg-card { min-height: 260px; }
	.yg-hosp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yg-rev, .yg-panel, .yg-cta { padding: 32px 18px; }
	.yg-tint { margin-top: 64px; }
	.yg-tabs { width: 100%; }
	.yg-tab { flex: 1; padding: 0 12px; }
}
@media (max-width: 767px) {
	.yg-feat { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
	.yg-feat h2 { font-size: 24px; }
}
@media (max-width: 480px) {
	.yg-hosp { grid-template-columns: minmax(0, 1fr); }
}

/* Message 93 / 2: the titles line under the H1 (3 titles; the «|» are hidden from screen readers). Phones: one title per line. */
.yg-hero__sub { margin: -6px 0 18px; color: #e3eaf5; font-size: 16px; font-weight: 600; line-height: 1.8; }
.yg-hero__sub .yg-sep { color: #8fa6c9; padding-inline: 2px; }
@media (max-width: 600px) {
	.yg-hero__sub { font-size: 14.5px; }
	.yg-hero__sub .yg-sep { display: none; }
	.yg-hero__sub > span:not(.yg-sep) { display: block; }
}
/* Message 93 / 3: the hero call button (was WhatsApp): same button, phone icon; the number stays left-to-right. */
.yg-btn--call span[dir="ltr"] { unicode-bidi: isolate; }
/* Message 93 / 4: the navy block without its button: the text takes the whole width. */
.yg-feat--text > div { flex: 1 1 auto; min-width: 0; }
.yg-feat--text p { max-width: none; }
/* Message 93 / 8: services cards capped to 2 rows (3 cards on phones) until «اظهر المزيد» (home.js). */
.yg-spec > .yg-card.is-capped { display: none; }
.yg-more-row { display: flex; justify-content: center; margin-top: 26px; }
.yg-more-row[hidden] { display: none; }
