/* Services (home section, practice index, 12 service pages), 2026-11-30. Classes gk-svc-*. Independent of the identity switch. */
.gk-svc-joint::before{content:"";display:block;width:31px;height:14px;margin-bottom:18px;background:linear-gradient(#0F1C2C,#0F1C2C) 0 50%/30px 3px no-repeat,linear-gradient(#0F1C2C,#0F1C2C) 30px 0/1px 100% no-repeat}
[dir="rtl"] .gk-svc-joint::before{background:linear-gradient(#0F1C2C,#0F1C2C) 100% 50%/30px 3px no-repeat,linear-gradient(#0F1C2C,#0F1C2C) 0 0/1px 100% no-repeat}
.gk-svc-joint .elementor-heading-title,.gk-svc-row .elementor-heading-title,.gk-svc-item .elementor-heading-title{text-wrap:balance}
[class*="gk-svc-"] .elementor-widget-text-editor p{margin:0}

/* lead panels: the two areas the firm mainly works in */
.gk-svc-leads{row-gap:20px !important}
a.gk-svc-lead{text-decoration:none;overflow:hidden;clip-path:polygon(0 0,calc(100% - 44px) 0,100% 67px,100% 100%,0 100%)}
[dir="rtl"] a.gk-svc-lead{clip-path:polygon(44px 0,100% 0,100% 100%,0 100%,0 67px)}
a.gk-svc-lead .gk-svc-open{margin-top:12px}
a.gk-svc-lead .gk-svc-open p{display:inline-block;padding-bottom:6px;font-weight:700;background:linear-gradient(#8FB6CF,#8FB6CF) left bottom/30px 3px no-repeat;transition:background-size .4s cubic-bezier(.2,.7,.1,1)}
[dir="rtl"] a.gk-svc-lead .gk-svc-open p{background-position:right bottom}
a.gk-svc-lead:hover .gk-svc-open p,a.gk-svc-lead:focus-visible .gk-svc-open p{background-size:100% 3px}
/* a clip-path hides an outside outline, so the focus ring goes inside */
a.gk-svc-lead:focus-visible{outline:3px solid #8FB6CF !important;outline-offset:-8px !important}

/* index rows: the whole row is the link */
.gk-svc-cols{row-gap:40px !important;margin-top:20px}
.gk-svc-related{row-gap:0 !important}
.gk-svc-group .elementor-heading-title{padding-bottom:14px}
a.gk-svc-row{position:relative;text-decoration:none;padding:18px 0 !important;padding-inline-end:40px !important;border-top:1px solid #D3DAE3;background:linear-gradient(#0F1C2C,#0F1C2C) left top/0 3px no-repeat;transition:background-size .4s cubic-bezier(.2,.7,.1,1)}
[dir="rtl"] a.gk-svc-row{background-position:right top}
a.gk-svc-row:hover,a.gk-svc-row:focus-visible{background-size:100% 3px}
a.gk-svc-row::after{content:"";position:absolute;inset-inline-end:6px;top:30px;width:9px;height:9px;border-top:2px solid #2F6B8A;border-right:2px solid #2F6B8A;transform:rotate(45deg)}
[dir="rtl"] a.gk-svc-row::after{transform:rotate(-135deg)}
a.gk-svc-row:focus-visible{outline:2px solid #2F6B8A !important;outline-offset:4px}
a.gk-svc-row--wide{padding-block:26px !important}
a.gk-svc-row--wide::after{top:40px}
a.gk-svc-row[id]{scroll-margin-top:110px}

/* service page */
.gk-svc-item{padding:24px 0 !important;border-top:1px solid #C9D2DC}
.gk-svc-item:first-child{border-top:3px solid #0F1C2C}
.gk-svc-photo img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:clamp(48px,6vw,96px) 0 clamp(48px,6vw,96px) clamp(48px,6vw,96px)}
.gk-svc-panel{background:#fff;border:1px solid #D3DAE3;border-inline-start:4px solid #0F1C2C}
@media (min-width:1025px){.gk-svc-sticky{position:sticky !important;top:120px}}

/* menu: the Practice areas item stays marked on its service pages */
.mo-menu-list ul li.current-page-ancestor > a{background:linear-gradient(currentColor,currentColor) 0 calc(100% - 1px)/22px 2px no-repeat}
[dir="rtl"] .mo-menu-list ul li.current-page-ancestor > a{background-position:100% calc(100% - 1px)}
@media (prefers-reduced-motion:reduce){a.gk-svc-row,a.gk-svc-lead .gk-svc-open p{transition:none}}

/* Arabic breadcrumb: the hidden English "Home" made three-level paths read in the wrong order */
[dir="rtl"] .mo-path-inner{display:flex;flex-wrap:wrap;justify-content:center;column-gap:6px;direction:rtl}

/* home group cards (2026-12-01): photo, title, description; the whole card opens its group on the services page */
a.gk-svc-card{text-decoration:none}
.gk-svc-cardtitle .elementor-heading-title{padding-bottom:12px;background:linear-gradient(#0F1C2C,#0F1C2C) left bottom/30px 3px no-repeat;transition:background-size .4s cubic-bezier(.2,.7,.1,1)}
[dir="rtl"] .gk-svc-cardtitle .elementor-heading-title{background-position:right bottom}
a.gk-svc-card:hover .gk-svc-cardtitle .elementor-heading-title,a.gk-svc-card:focus-visible .gk-svc-cardtitle .elementor-heading-title{background-size:100% 3px}
a.gk-svc-card:focus-visible{outline:2px solid #2F6B8A !important;outline-offset:6px}
[id^="group-"]{scroll-margin-top:90px}
@media (prefers-reduced-motion:reduce){.gk-svc-cardtitle .elementor-heading-title{transition:none}}

/* team cards (2026-12-02): portrait and name open a dialog with the hidden bio text */
.gk-person .gk-bio{display:none !important}
.gk-td-trigger{cursor:pointer}
.gk-person .gk-portrait img{transition:transform .5s cubic-bezier(.2,.7,.1,1),box-shadow .5s ease}
.gk-person .gk-portrait:hover img,.gk-person .gk-portrait:focus-visible img{transform:translateY(-4px);box-shadow:0 18px 34px -22px rgba(15,28,44,.55)}
.gk-td-trigger:focus-visible{outline:2px solid #2F6B8A;outline-offset:4px}
.gk-team-dialog{width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:0;border-top:4px solid #0F1C2C;background:#fff;color:#3B4654;display:none;overflow:auto}
.gk-team-dialog[open]{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.gk-team-dialog::backdrop{background:rgba(15,28,44,.72)}
.gk-td-photo{padding:28px;padding-inline-end:0}
.gk-td-photo img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border:1px solid #D3DAE3;border-radius:48px 0 48px 48px}
.gk-td-body{padding:56px 40px 40px;display:flex;flex-direction:column;gap:14px}
.gk-td-name{margin:0;font-family:"Readex Pro",Tajawal,sans-serif;font-weight:500;font-size:30px;line-height:1.3;color:#0F1C2C}
.gk-td-name::before{content:"";display:block;width:31px;height:14px;margin-bottom:16px;background:linear-gradient(#0F1C2C,#0F1C2C) 0 50%/30px 3px no-repeat,linear-gradient(#0F1C2C,#0F1C2C) 30px 0/1px 100% no-repeat}
[dir="rtl"] .gk-td-name::before{background:linear-gradient(#0F1C2C,#0F1C2C) 100% 50%/30px 3px no-repeat,linear-gradient(#0F1C2C,#0F1C2C) 0 0/1px 100% no-repeat}
.gk-td-role{margin:0;font-family:Tajawal,sans-serif;font-size:16px;font-weight:700;color:#2F6B8A}
.gk-td-bio p{margin:0;font-family:Tajawal,sans-serif;font-size:17px;line-height:1.85}
.gk-td-contact{align-self:flex-start;margin-top:10px;padding-bottom:6px;font-family:Tajawal,sans-serif;font-weight:700;font-size:16px;color:#0F1C2C;text-decoration:none;background:linear-gradient(#0F1C2C,#0F1C2C) left bottom/30px 3px no-repeat;transition:background-size .4s cubic-bezier(.2,.7,.1,1)}
[dir="rtl"] .gk-td-contact{background-position:right bottom}
.gk-td-contact:hover,.gk-td-contact:focus-visible{background-size:100% 3px;color:#0F1C2C}
.gk-td-close{position:absolute;top:14px;inset-inline-end:14px;width:44px;height:44px;padding:0;border:1px solid #D3DAE3;border-radius:0;background:#fff;cursor:pointer}
.gk-td-close span,.gk-td-close span::after{position:absolute;top:50%;left:50%;width:18px;height:2px;background:#0F1C2C;transform:translate(-50%,-50%) rotate(45deg)}
.gk-td-close span::after{content:"";transform:translate(-50%,-50%) rotate(90deg)}
.gk-td-close:hover,.gk-td-close:focus-visible{background:#0F1C2C}
.gk-td-close:hover span,.gk-td-close:hover span::after,.gk-td-close:focus-visible span,.gk-td-close:focus-visible span::after{background:#fff}
html.gk-td-open{overflow:hidden}
@media (max-width:767px){
	.gk-team-dialog[open]{grid-template-columns:1fr}
	.gk-td-photo{padding:20px 20px 0;padding-inline-end:20px}
	.gk-td-photo img{aspect-ratio:4/3;object-position:50% 20%;border-radius:30px 0 30px 30px}
	.gk-td-body{padding:24px 20px 28px}
	.gk-td-name{font-size:24px}
	.gk-td-close{top:26px;inset-inline-end:26px}
}
@media (prefers-reduced-motion:reduce){.gk-person .gk-portrait img,.gk-td-contact{transition:none}}

/* home hero (2026-12-03): on phones the H1 drops its tail clause (user's choice, option 3) */
@media (max-width:767px){.gk-hero-more{display:none}
	html body .gk-on-dark .mo-title-box h1.title{font-size:min(5.9vw,30px) !important;line-height:1.35 !important}
	html[lang^="en"] body .gk-on-dark .mo-title-box h1.title{font-size:min(5.3vw,30px) !important}}
