/*
 * الملف الرئيسي: core-bundle.css
 * عدد الملفات المدمجة: 8
 * يولد من assets/css/src بواسطة merge-css-files.py
 */


/* ================================================= */
/* المصدر: assets/css/src/header-menu.css */
/* ================================================= */

/* Header menu CSS - cleaned */
:root{
  --yl-header-h: 88px;
  --yl-gold: #f3c969;
  --yl-blue: #1d77ff;
  --yl-ink: #061326;
  --yl-rose: #e65b91;
  --yl-green: #2fbf8f;
  --yl-violet: #7c5cff;
}

/* Official fixed header */
.topbar.yl-header-ready{
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 99999 !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(46px, auto) !important;
  align-items: stretch !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  min-height: 62px !important;
  background: rgba(5, 12, 26, .96) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22) !important;
  overflow: visible !important;
}

.topbar.yl-header-ready .brand{
  display: none !important;
}

.topbar.yl-header-ready .yl-header-shortcuts{
  display: contents !important;
}

.topbar.yl-header-ready .yl-header-link,
.topbar.yl-header-ready .yl-header-menu-btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 46px !important;
  padding: 0 10px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  text-align: center !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12) !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.topbar.yl-header-ready .yl-header-link:focus-visible,
.topbar.yl-header-ready .yl-header-menu-btn:focus-visible{
  outline: none !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18) !important;
}

@media (hover: hover) and (pointer: fine) {
  .topbar.yl-header-ready .yl-header-link:hover,
.topbar.yl-header-ready .yl-header-menu-btn:hover{
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .20) !important;
  }
}

.topbar.yl-header-ready .yl-header-link:active,
.topbar.yl-header-ready .yl-header-menu-btn:active{
  transform: scale(.97) !important;
}

.topbar.yl-header-ready .yl-header-link--site,
.topbar.yl-header-ready .yl-header-link--contracts{
  background: linear-gradient(180deg, #f8d46b, #c79210) !important;
  color: #3d2a00 !important;
}

.topbar.yl-header-ready .yl-header-link--library{
  background: linear-gradient(180deg, #42c8ff, #1d77ff) !important;
  color: #fff !important;
}

.topbar.yl-header-ready .yl-header-link--posts{
  background: linear-gradient(180deg, #34d399, #059669) !important;
  color: #052e1a !important;
}

.topbar.yl-header-ready .yl-header-link--ai-search{
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .95) 0 2px, transparent 3px),
    linear-gradient(135deg, #7c3aed 0%, #2563eb 45%, #06b6d4 100%) !important;
  color: #fff !important;
}

.topbar.yl-header-ready .yl-header-link--ai-search::before{
  content: "🤖";
  font-size: 1.05rem;
}

.topbar.yl-header-ready .yl-header-menu-btn{
  background: linear-gradient(180deg, #16304d, #0f1f35) !important;
  color: #fff !important;
  cursor: pointer !important;
  font-family: inherit !important;
}

.topbar.yl-header-ready .yl-header-menu-btn__icon{
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .08) !important;
  line-height: 1 !important;
}

.topbar.yl-header-ready .main-nav{
  display: none !important;
  width: 100% !important;
  grid-column: 1 / -1 !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  padding-top: 10px !important;
  margin-top: 2px !important;
}

.topbar.yl-header-ready .main-nav.is-open{
  display: flex !important;
}

.topbar.yl-header-ready .main-nav a{
  display: block !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .05) !important;
  border: 1px solid rgba(255, 255, 255, .06) !important;
  color: #eef5ff !important;
  text-decoration: none !important;
}

body.yl-header-active{
  padding-top: calc(var(--yl-header-h, 88px) + 10px) !important;
}

/* Book author note */
.book-note.author-contact-ready{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 18px !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
  text-align: center !important;
}

.book-note.author-contact-ready::before,
.book-note.author-contact-ready br{
  display: none !important;
  content: none !important;
}

.author-name-button{
  background: linear-gradient(135deg, #173d6e, #2563eb) !important;
  border: 1px solid rgba(37, 99, 235, .35) !important;
  color: #fff !important;
}

/* Mobile header */
@media (max-width: 760px) {
  :root{
    --yl-header-h: 116px;
  }

  .topbar.yl-header-ready{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(44px, auto) !important;
    gap: 8px !important;
    padding: 8px !important;
    min-height: 108px !important;
  }

  .topbar.yl-header-ready .yl-header-link,
.topbar.yl-header-ready .yl-header-menu-btn{
    min-height: 44px !important;
    padding: 5px 6px !important;
    border-radius: 14px !important;
    font-size: clamp(11px, 2.8vw, 13px) !important;
    line-height: 1.35 !important;
    gap: 6px !important;
  }

  .topbar.yl-header-ready .yl-header-menu-btn__icon{
    font-size: 1rem !important;
  }

  body.yl-header-active{
    padding-top: calc(var(--yl-header-h, 116px) + 10px) !important;
  }
}

@media (max-width: 380px) {
  .topbar.yl-header-ready .yl-header-link,
.topbar.yl-header-ready .yl-header-menu-btn{
    font-size: clamp(10px, 2.6vw, 12px) !important;
    padding-inline: 4px !important;
  }
}

/* Hide closed consultation request buttons */
a[href*="/services/legal-consultation"],
button[aria-label*="طلب استشارة قانونية"],
[role="button"][aria-label*="طلب استشارة قانونية"]{
  display: none !important;
}

.case-card:has(a[href*="/services/legal-consultation"]),
.service-item[href*="/services/legal-consultation"],
.service-card:has(a[href*="/services/legal-consultation"]),
.library-item:has(a[href*="/services/legal-consultation"]),
.ai-result:has(a[href*="/services/legal-consultation"]),
article:has(a[href*="/services/legal-consultation"]){
  display: none !important;
}

/* Footer links spacing */
.site-footer .yl-trust-footer-links{
  display: block !important;
  text-align: center !important;
  line-height: 2 !important;
  white-space: normal !important;
  word-spacing: normal !important;
}

.site-footer .yl-trust-footer-links a{
  display: inline !important;
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer .yl-trust-footer-links a + a::before{
  content: " " !important;
  white-space: pre !important;
}


/* ================================================= */
/* المصدر: assets/css/src/local-fonts.css */
/* ================================================= */

/* Local Cairo font - enforced globally for Yemenilaw.com
   Uses only local font files from /assets/fonts/cairo/
   Updated: 20260515-global-local-font
*/

/* Arabic subset */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/cairo/cairo-01.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* Latin extended subset */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/cairo/cairo-02.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Latin basic subset */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/cairo/cairo-03.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --yl-local-font: 'Cairo', Tahoma, Arial, sans-serif;
}

html,
body{
  font-family: var(--yl-local-font) !important;
}

body,
body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands),
button,
input,
select,
textarea,
option,
optgroup,
label,
summary,
details,
table,
th,
td,
pre,
code,
kbd,
samp,
.paper,
.paper *,
.entry-paper,
.entry-paper *,
.contract-paper,
.contract-paper *,
#contractPaper,
#contractPaper *{
  font-family: var(--yl-local-font) !important;
}

::placeholder{
  font-family: var(--yl-local-font) !important;
}

@media print {
  body,
body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands),
.paper,
.paper *,
.entry-paper,
.entry-paper *,
.contract-paper,
.contract-paper *,
#contractPaper,
#contractPaper *{
    font-family: var(--yl-local-font) !important;
  }
}


/* ================================================= */
/* المصدر: assets/css/src/mobile-ux-enhancements.css */
/* ================================================= */

/* تحسينات واجهة الجوال - لا تؤثر على سطح المكتب */
@media (max-width: 768px){
  html{
    scroll-padding-top: 72px;
  }

  body{
    overflow-x: hidden;
  }

  .page-shell,
main,
.section-card,
.hero,
.hero-modern{
    width: min(100%, 100vw);
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-shell{
    padding-inline: 10px;
  }

  .topbar,
header.topbar{
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
  }

  .yl-header-shortcuts{
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 6px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .yl-header-link{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    white-space: nowrap;
    padding: 8px 12px;
  }

  .nav-toggle,
.yl-header-menu-btn{
    min-height: 44px;
    min-width: 44px;
  }

  .main-nav{
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a,
.contact-link,
.seo-internal-link,
.claim-link,
.case-title-link{
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero h1,
.section-head h2,
.case-card h2{
    line-height: 1.55;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .posts-grid,
.contact-grid,
.seo-internal-links-grid{
    grid-template-columns: 1fr !important;
  }

  .case-card,
.post-card,
.service-card,
.section-card{
    border-radius: 16px;
    padding: 14px;
  }

  table{
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  img,
video,
iframe{
    max-width: 100%;
    height: auto;
  }

  .yl-floating-share-wrap{
    inset-inline: auto 10px;
    bottom: 12px;
  }
}

@media (max-width: 420px){
  .page-shell{
    padding-inline: 8px;
  }

  .hero h1{
    font-size: clamp(24px, 8vw, 34px);
  }

  .section-card{
    padding: 12px;
  }


}

/* YL_SCROLL_UNLOCK_FIX_START
   يمنع أي طبقة تحميل أو كلاس مؤقت من تعطيل سحب الصفحة للأعلى/الأسفل عند الدخول أو الرجوع للصفحة. */
html,
body{
  min-height: 100% !important;
  height: auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y !important;
}

body.yl-page-waiting,
html.yl-page-waiting,
body.yl-ai-keyboard-active,
html.yl-ai-keyboard-active{
  overflow-y: auto !important;
  height: auto !important;
  position: relative !important;
  touch-action: pan-x pan-y !important;
}

.yl-page-wait-overlay,
html.yl-page-waiting .yl-page-wait-overlay,
body.yl-page-waiting .yl-page-wait-overlay{
  pointer-events: none !important;
  touch-action: none !important;
}

.page-shell,
main,
body > main,
.library-page,
.posts-page,
.site-page{
  overflow-y: visible !important;
  touch-action: pan-x pan-y !important;
}
/* YL_SCROLL_UNLOCK_FIX_END */

/* YL_MOBILE_SCROLL_FREEZE_FINAL_FIX */
@media (max-width: 900px){
  html,
body{
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
    position: relative !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.yl-ai-keyboard-active,
html.yl-ai-keyboard-active,
body.yl-page-waiting,
html.yl-page-waiting{
    overflow-y: auto !important;
    height: auto !important;
    position: relative !important;
    touch-action: pan-y !important;
  }

  .yl-page-wait-overlay{
    pointer-events: none !important;
  }

  .ai-search-page,
.page-shell,
main{
    overflow: visible !important;
    touch-action: pan-y !important;
  }
}

/* YL_HOME_SEARCH_LOADING_TOUCH_FIX */
@media (max-width: 900px){
  .ai-search-loading-notice{
    pointer-events: none !important;
    touch-action: none !important;
  }




}


/* YL_AI_SEARCH_LAZY_TOUCH_FIX_ALL_PAGES */
@media (max-width: 900px){
  .ai-search-loading-notice{
    pointer-events: none !important;
    touch-action: none !important;
  }

  #aiSearchForm,
.ai-search-box,
.ai-search-page{
    touch-action: pan-y !important;
  }

  #aiSearchInput,
#aiSearchForm input,
#aiSearchForm button,
.ai-search-box input,
.ai-search-box button{
    touch-action: manipulation !important;
  }
}

/* YL_NAV_OPEN_ARROW_GOLD_FRAME_START */
:root{
  --yl-open-arrow-gold: #f4cf6a;
  --yl-open-arrow-gold-strong: #d6a62f;
  --yl-open-arrow-ink: #061225;
  --yl-open-arrow-ring: rgba(244, 207, 106, .72);
  --yl-open-arrow-glow: rgba(214, 166, 47, .18);
}

@keyframes ylOpenArrowNudge{
  0%,
100%{
    transform: translateY(-50%) translateX(0) rotate(45deg);
  }

  50%{
    transform: translateY(-50%) translateX(5px) rotate(45deg);
  }
}


:where(
  .case-card:has(.claim-link[href]),
  .post-card:has(a[href]),
  .service-card:has(a[href]),
  .library-item:has(a[href]),
  .library-modern-card,
  .yl-modern-card:has(a[href])
){
  border-color: var(--yl-open-arrow-ring) !important;
  box-shadow: 0 0 0 1px rgba(244, 207, 106, .08), 0 14px 32px var(--yl-open-arrow-glow);
}





/* YL_NAV_OPEN_ARROW_GOLD_FRAME_END */

/* YL_NAV_OPEN_ARROW_CONFLICT_FIX_START */
@keyframes ylOpenArrowIconNudge{
  0%,
100%{
    background-position: 50% 50%, 0 0;
  }

  50%{
    background-position: calc(50% - 4px) 50%, 0 0;
  }
}


body :is(
  .claim-link[href],
  .seo-internal-link[href],
  .jump-link[href],
  a.action-btn[href],
  a.quick-btn[href],
  a.post-btn[href],
  a.yl-community-link-button[href],
  a.yl-community-button[href],
  .main-nav a[href],
  .yl-header-link[href],
  .contact-link[href],
  a.library-item[href],
  a.service-item[href],
  a.service-card[href],
  a.post-card[href]
):not(.modal-close):not(.service-promo-close):not(.contract-support-close):not(.nav-toggle):not(.yl-header-menu-btn):not(.yl-pdf-save-btn):not(.yl-floating-share-main):not(.yl-share-btn):not(.share-btn):not(.print-btn):not(.copy-btn):not(.delete-btn):not(.logout-btn)::after{
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}




/* YL_NAV_OPEN_ARROW_CONFLICT_FIX_END */


/* ================================================= */
/* المصدر: assets/css/src/mobile-zoom-accessibility.css */
/* ================================================= */

html{
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body{
  touch-action: pan-x pan-y pinch-zoom;
}

input,
textarea,
select,
button,
[type="search"],
[type="text"],
[type="email"],
[type="tel"],
[type="url"],
[type="number"],
[type="password"]{
  font-size: max(16px, 1rem) !important;
}

input::placeholder,
textarea::placeholder{
  font-size: inherit;
}

@media (max-width: 700px) {
  input,
textarea,
select,
[type="search"],
[type="text"],
[type="email"],
[type="tel"],
[type="url"],
[type="number"],
[type="password"]{
    font-size: 16px !important;
  }
}


/* ================================================= */
/* المصدر: assets/css/src/moved-inline-styles.css */
/* ================================================= */

/* Auto-moved inline style attributes from HTML files */
.yl-inline-style-1b0f4999d2{margin-top:16px}
.yl-inline-style-1c9c449e0e{color:inherit}
.yl-inline-style-26d3d1951d{margin-top:auto}
.yl-inline-style-505af4d6b9{position:absolute; left:-9999px}
.yl-inline-style-86de7ac63a{margin-top:18px}
.yl-inline-style-c454777a80{margin:14px 0 18px; line-height:2; font-weight:800; color:#475569}
.yl-inline-style-d6f2af6e0a{margin-top:14px}


/* ================================================= */
/* المصدر: assets/css/src/navigation-guard.css */
/* ================================================= */

/* Extracted from assets/js/navigation-guard.js
   Purpose: keep layout/mobile and service CTA styling in static CSS,
   so JavaScript does less work during initial page load. */

html,
body{
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
      }

      @supports (overflow-x: clip) {
        html{ overflow-x: clip !important; }
      }

      body{ overscroll-behavior-x: none; }

      *,
*::before,
*::after{ box-sizing: border-box; }

      img,
video,
canvas,
svg,
iframe{
        max-width: 100% !important;
        height: auto;
      }

      .topbar,
.topbar.yl-header-ready,
.main-nav,
.yl-header-shortcuts,
.page-shell,
.section-card,
.hero,
.seo-internal-links,
.seo-internal-links-grid,
.google-compliance-notice,
.google-compliance-free-notice,
.google-compliance-intro,
.site-footer,
.about-page,
.contact-page,
.trust-page,
.book-shell,
.law-shell,
.service-grid,
.case-grid,
.posts-grid,
.contact-grid,
.contact-grid-page,
.library-grid,
.books-grid,
.services-grid,
.contract-studio,
.workspace-header,
.workspace-body,
.form-panel,
.preview-panel,
.paper-wrap,
.entry-paper-wrap,
.contracts-latin-links,
.contracts-latin-links-head,
.contracts-latin-grid,
.contracts-latin-card,
.service-item,
.case-card,
.library-item,
.contact-link,
.contact-card-page,
.about-card,
.trust-card,
.modal-card{
        max-width: 100% !important;
        min-width: 0 !important;
      }

      .topbar,
.topbar.yl-header-ready,
.page-shell,
.section-card,
.hero,
.seo-internal-links,
.google-compliance-notice,
.google-compliance-free-notice,
.google-compliance-intro,
.site-footer,
.contracts-latin-links,
.contracts-latin-grid,
.paper-wrap,
.entry-paper-wrap{
        overflow-x: hidden !important;
      }

      .service-grid,
.case-grid,
.posts-grid,
.contact-grid,
.contact-grid-page,
.library-grid,
.books-grid,
.services-grid,
.seo-internal-links-grid,
.contract-pickers-grid,
.manual-sections-grid,
.workspace-status-row{
        grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important;
      }

      .main-nav a,
.yl-header-link,
.yl-header-menu-btn,
#navToggle,
.nav-toggle,
.action-btn,
.quick-btn,
.service-item,
.case-card,
.library-item,
.contact-link,
.contact-card-page,
.seo-internal-link,
.contracts-latin-card,
.contracts-modern-content,
.contracts-modern-title,
.about-card,
.trust-card,
.book-item,
.service-item-about{
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere;
        word-break: normal;
      }

      .paper,
.entry-paper,
.contract-entry-paper{ max-width: 100% !important; }

      @media (max-width: 900px) {
        html,
body{ position: relative; }
        body > *{ max-width: 100% !important; }

        .topbar,
.topbar.yl-header-ready{
          right: 0 !important;
          left: 0 !important;
          width: 100% !important;
          max-width: 100% !important;
          overflow-x: hidden !important;
        }

        .page-shell,
.about-page,
.contact-page,
.trust-page{
          padding-inline: min(16px, 4vw) !important;
        }

        .section-card,
.hero,
.about-card,
.contact-hero,
.contact-info article,
.google-compliance-notice,
.google-compliance-free-notice,
.google-compliance-intro,
.seo-internal-links{
          margin-inline: auto !important;
          width: 100% !important;
        }
      }

/* Global page loading indicator */
.yl-page-wait-overlay{
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, .42);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

html.yl-page-waiting .yl-page-wait-overlay,
body.yl-page-waiting .yl-page-wait-overlay{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.yl-page-wait-box{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: min(260px, 92vw);
  padding: 16px 20px;
  border-radius: 22px;
  border: 1px solid rgba(245, 158, 11, .42);
  background: linear-gradient(135deg, rgba(255, 251, 235, .98), rgba(255, 247, 237, .96));
  color: #78350f;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .75);
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
}

.yl-page-wait-spinner{
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  border: 4px solid rgba(146, 64, 14, .18);
  border-top-color: #b45309;
  border-inline-start-color: #f59e0b;
  animation: ylPageWaitSpin .78s linear infinite;
}

.yl-page-wait-text{
  font-size: .98rem;
  white-space: nowrap;
}

@keyframes ylPageWaitSpin {
  to{ transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .yl-page-wait-spinner{
    animation-duration: 1.4s;
  }
}

@media (max-width: 600px) {
  .yl-page-wait-box{
    flex-direction: column;
    gap: 10px;
  }
}

/* Closed service: written legal consultation */
a[href*="/services/legal-consultation/"],
.service-item[href*="/services/legal-consultation/"],
.seo-internal-link[href*="/services/legal-consultation/"]{
  display: none !important;
}

.case-card:has(a[href*="/services/legal-consultation/"]),
.library-item:has(a[href*="/services/legal-consultation/"]),
.ai-result:has(a[href*="/services/legal-consultation/"]),
.yl-service-card-actions:has(a[href*="/services/legal-consultation/"]){
  display: none !important;
}


/* ================================================= */
/* المصدر: assets/css/src/site-hero-unified.css */
/* ================================================= */

html body .hero.hero-modern.yl-site-static-hero{
  position: relative !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  box-sizing: border-box !important;
  margin: 18px auto 26px !important;
  padding: clamp(24px, 4vw, 46px) !important;
  border: 1px solid rgba(215, 174, 85, .42) !important;
  border-radius: 26px !important;
  color: #fff !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(215, 174, 85, .18), transparent 34%),
    linear-gradient(135deg, #071a39, #0d315f) !important;
  box-shadow: 0 18px 50px rgba(4, 18, 42, .18) !important;
  pointer-events: auto !important;
  transform: none !important;
  filter: none !important;
  content-visibility: visible !important;
  contain: none !important;
  isolation: isolate !important;
}

html body .hero.hero-modern.yl-site-static-hero[hidden]{
  display: block !important;
}

html body .yl-site-static-hero::before,
html body .yl-site-static-hero::after{
  pointer-events: none !important;
}

html body .yl-site-static-hero .yl-static-hero__content{
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

html body .yl-site-static-hero .yl-static-hero__badge{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 34px !important;
  margin: 0 0 14px !important;
  padding: 6px 16px !important;
  border: 1px solid rgba(240, 213, 142, .58) !important;
  border-radius: 999px !important;
  color: #f0d58e !important;
  background: rgba(215, 174, 85, .1) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
}

html body .yl-site-static-hero h1{
  display: block !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  color: #fff !important;
  font-size: clamp(28px, 5vw, 50px) !important;
  font-weight: 950 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-wrap: balance;
}

html body .yl-site-static-hero .yl-static-hero__description{
  display: block !important;
  max-width: 900px !important;
  margin: 16px auto 0 !important;
  color: rgba(255, 255, 255, .86) !important;
  font-size: clamp(15px, 2.2vw, 18px) !important;
  font-weight: 600 !important;
  line-height: 1.95 !important;
  text-align: center !important;
  text-wrap: balance;
}

html body .yl-site-static-hero .yl-static-hero__rows{
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
  margin: clamp(22px, 4vw, 34px) 0 0 !important;
  gap: 10px !important;
}

html body .yl-site-static-hero .yl-static-hero__whatsapp{
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  justify-content: initial !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 76px !important;
  box-sizing: border-box !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 13px 18px !important;
  border: 1px solid rgba(255, 255, 255, .32) !important;
  border-radius: 20px !important;
  color: #fff !important;
  text-align: right !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #087f43, #12a855 48%, #25d366) !important;
  box-shadow: 0 15px 34px rgba(0, 0, 0, .2) !important;
  transition: transform .18s ease, filter .18s ease !important;
}

html body .yl-site-static-hero .yl-static-hero__whatsapp:hover{
  transform: translateY(-2px) !important;
  filter: brightness(1.03) !important;
}

html body .yl-site-static-hero .yl-static-hero__whatsapp-icon{
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  flex: 0 0 50px !important;
  border-radius: 50% !important;
  color: #159447 !important;
  background: #fff !important;
  font-size: 29px !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .17) !important;
}

html body .yl-site-static-hero .yl-static-hero__notification-dot{
  position: absolute !important;
  top: -2px !important;
  left: -2px !important;
  width: 13px !important;
  height: 13px !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: #ff3b30 !important;
}

html body .yl-site-static-hero .yl-static-hero__whatsapp-copy{
  display: block !important;
  min-width: 0 !important;
}

html body .yl-site-static-hero .yl-static-hero__whatsapp-copy strong{
  display: block !important;
  color: #fff !important;
  font-size: clamp(16px, 2vw, 19px) !important;
  font-weight: 950 !important;
  line-height: 1.45 !important;
}

html body .yl-site-static-hero .yl-static-hero__action-grid{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px !important;
}

html body .yl-site-static-hero .yl-static-hero__action{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 58px !important;
  box-sizing: border-box !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(240, 213, 142, .38) !important;
  border-radius: 16px !important;
  color: #fff !important;
  text-align: center !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, .075) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07) !important;
  transition: transform .18s ease, background .18s ease !important;
}

html body .yl-site-static-hero .yl-static-hero__action:hover{
  transform: translateY(-2px) !important;
  background: rgba(215, 174, 85, .18) !important;
}

html body .yl-site-static-hero .yl-static-hero__action i{
  flex: 0 0 auto !important;
  color: #f0d58e !important;
  font-size: 17px !important;
}

html body .yl-site-static-hero .yl-static-hero__action span{
  overflow: hidden !important;
  min-width: 0 !important;
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.5 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (max-width: 720px) {
  html body .hero.hero-modern.yl-site-static-hero{
    margin: 12px auto 20px !important;
    padding: 24px 8px !important;
    border-radius: 21px !important;
  }

  html body .yl-site-static-hero h1{
    font-size: clamp(27px, 8vw, 38px) !important;
  }

  html body .yl-site-static-hero .yl-static-hero__description{
    font-size: 15px !important;
    line-height: 1.85 !important;
  }

  html body .yl-site-static-hero .yl-static-hero__rows{
    gap: 8px !important;
  }

  html body .yl-site-static-hero .yl-static-hero__whatsapp{
    min-height: 70px !important;
    gap: 10px !important;
    padding: 11px 12px !important;
    border-radius: 17px !important;
  }

  html body .yl-site-static-hero .yl-static-hero__whatsapp-icon{
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
    font-size: 27px !important;
  }

  html body .yl-site-static-hero .yl-static-hero__action-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  html body .yl-site-static-hero .yl-static-hero__action{
    flex-direction: column !important;
    min-height: 66px !important;
    gap: 4px !important;
    padding: 6px 2px !important;
    border-radius: 12px !important;
  }

  html body .yl-site-static-hero .yl-static-hero__action i{
    font-size: 14px !important;
  }

  html body .yl-site-static-hero .yl-static-hero__action span{
    overflow: visible !important;
    font-size: 9.5px !important;
    line-height: 1.35 !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }
}

@media (max-width: 390px) {
  html body .hero.hero-modern.yl-site-static-hero{
    padding-inline: 6px !important;
  }

  html body .yl-site-static-hero .yl-static-hero__action-grid{
    gap: 3px !important;
  }

  html body .yl-site-static-hero .yl-static-hero__action span{
    font-size: 8.7px !important;
  }

  html body .yl-site-static-hero .yl-static-hero__whatsapp > .fa-arrow-left{
    display: none !important;
  }
}

@media print {
  html body .yl-site-static-hero .yl-static-hero__whatsapp{
    display: none !important;
  }
}

/* CONTRACT HERO ICONS FIX START */
html body .yl-site-static-hero[data-page-path^="/contracts/"] .yl-static-hero__action > i.fa-solid{
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.25em !important;
  height: 1.25em !important;
  min-width: 1.25em !important;
  flex: 0 0 1.25em !important;
  overflow: visible !important;
  color: #f0d58e !important;
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal !important;
  font-weight: 900 !important;
  font-size: 17px !important;
  line-height: 1 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

html body .yl-site-static-hero[data-page-path^="/contracts/"] .yl-static-hero__action > i.fa-solid::before{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 720px) {
  html body .yl-site-static-hero[data-page-path^="/contracts/"] .yl-static-hero__action > i.fa-solid{
    width: 1.15em !important;
    height: 1.15em !important;
    min-width: 1.15em !important;
    flex-basis: 1.15em !important;
    font-size: 14px !important;
  }
}
/* CONTRACT HERO ICONS FIX END */

/* CONTRACT WHATSAPP ICON FIX START */
html body .yl-site-static-hero[data-page-path^="/contracts/"]
.yl-static-hero__whatsapp-icon > i.fa-brands.fa-whatsapp{
  position: relative !important;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1em !important;
  height: 1em !important;
  overflow: visible !important;
  color: #159447 !important;
  font-family: "Font Awesome 6 Brands" !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: inherit !important;
  line-height: 1 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
}

html body .yl-site-static-hero[data-page-path^="/contracts/"]
.yl-static-hero__whatsapp-icon > i.fa-brands.fa-whatsapp::before{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  content: "\f232" !important;
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

html body .yl-site-static-hero[data-page-path^="/contracts/"]
.yl-static-hero__whatsapp-icon{
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
}
/* CONTRACT WHATSAPP ICON FIX END */


/* ================================================= */
/* المصدر: assets/css/src/zz-theme-unified.css */
/* ================================================= */

main.page-shell > section.hero.hero-modern + section.section-card > div.section-head:first-child{
  display:none!important;
  max-height:0!important;
  height:0!important;
  overflow:hidden!important;
  opacity:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  pointer-events:none!important;
}

/* Unified design for legal claim library sections and internal pages */
:root{
  --yl-lib-bg:#07152f;
  --yl-lib-card:#0b1e42;
  --yl-lib-card-2:#102a58;
  --yl-lib-border:rgba(214,194,136,.26);
  --yl-lib-border-blue:rgba(118,170,255,.28);
  --yl-lib-gold:#d6c288;
  --yl-lib-text:#edf6ff;
  --yl-lib-muted:#c8d7f0;
  --yl-lib-title:#fff7da;
  --yl-lib-shadow:0 18px 44px rgba(0,0,0,.22);
  --yl-click-gold:#facc15;
  --yl-click-gold-2:#d6a62f;
  --yl-click-gold-soft:rgba(250,204,21,.18);
  --yl-click-gold-border:rgba(250,204,21,.56);
}

/* Shared page frame: civil, urgent, commercial, criminal, personal status */
body:has(.page-shell .posts-grid),
body:has(.page-shell .case-grid),
body:has(.route-card),
body:has(.book-shell),
body:has(.article-shell){
  background:
    radial-gradient(circle at 12% 8%, rgba(40,111,255,.18), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(214,194,136,.13), transparent 32%),
    linear-gradient(180deg,#07152f 0%,#0a1938 42%,#071329 100%);
}

body:has(.page-shell .posts-grid) .page-shell,
body:has(.page-shell .case-grid) .page-shell,
body:has(.route-card) .page-shell,
body:has(.book-shell) .page-shell,
body:has(.article-shell) .page-shell{
  max-width:1180px;
  padding-top:28px;
  padding-bottom:34px;
}

body:has(.page-shell .posts-grid) .topbar,
body:has(.page-shell .case-grid) .topbar,
body:has(.route-card) .topbar,
body:has(.book-shell) .topbar,
body:has(.article-shell) .topbar{
  background:rgba(5,16,38,.92);
  border-bottom:1px solid rgba(214,194,136,.22);
  backdrop-filter:blur(10px);
}

body:has(.page-shell .posts-grid) .brand span,
body:has(.page-shell .case-grid) .brand span,
body:has(.route-card) .brand span,
body:has(.book-shell) .brand span,
body:has(.article-shell) .brand span{
  color:var(--yl-lib-title);
  font-weight:900;
}

body:has(.page-shell .posts-grid) .brand small,
body:has(.page-shell .case-grid) .brand small,
body:has(.route-card) .brand small,
body:has(.book-shell) .brand small,
body:has(.article-shell) .brand small{
  color:var(--yl-lib-muted);
}

body:has(.page-shell .posts-grid) .section-card,
body:has(.page-shell .case-grid) .section-card,
body:has(.route-card) .section-card,
body:has(.book-shell) .section-card,
body:has(.article-shell) .section-card{
  background:linear-gradient(180deg,rgba(10,28,63,.96),rgba(6,18,42,.98));
  border:1px solid var(--yl-lib-border-blue);
  border-radius:28px;
  box-shadow:var(--yl-lib-shadow);
  overflow:hidden;
}

body:has(.page-shell .posts-grid) .section-head,
body:has(.page-shell .case-grid) .section-head,
body:has(.route-card) .section-head,
body:has(.book-shell) .section-head,
body:has(.article-shell) .section-head{
  margin-bottom:20px;
  padding:20px 20px 18px;
  border:1px solid rgba(214,194,136,.18);
  border-radius:24px;
  background:linear-gradient(135deg,rgba(12,42,88,.96),rgba(8,24,55,.96));
}

body:has(.page-shell .posts-grid) .section-head h1,
body:has(.page-shell .case-grid) .section-head h1,
body:has(.route-card) .section-head h1,
body:has(.book-shell) .section-head h1,
body:has(.article-shell) .section-head h1,
body:has(.page-shell .posts-grid) .section-head h2,
body:has(.page-shell .case-grid) .section-head h2{
  color:var(--yl-lib-title);
  font-weight:900;
  line-height:1.8;
}

body:has(.page-shell .posts-grid) .section-head p,
body:has(.page-shell .case-grid) .section-head p,
body:has(.route-card) .section-head p,
body:has(.book-shell) .section-head p,
body:has(.article-shell) .section-head p{
  color:var(--yl-lib-muted);
  line-height:2.05;
}

/* Section index grids */
.page-shell .posts-grid,
.page-shell .case-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:18px;
}

.page-shell .posts-grid > .case-card,
.page-shell .case-grid > .case-card{
  padding:18px;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(17,42,87,.98),rgba(8,24,54,.99));
  border:1px solid var(--yl-lib-border-blue);
  box-shadow:var(--yl-lib-shadow);
}

.page-shell .posts-grid > .case-card h2,
.page-shell .case-grid > .case-card h2{
  margin:0 0 14px;
  padding:14px 16px;
  border-radius:18px;
  color:#fff;
  font-size:1.08rem;
  font-weight:900;
  line-height:1.8;
  background:linear-gradient(135deg,#145ea8,#2397e8);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.page-shell .posts-grid > .case-card p,
.page-shell .case-grid > .case-card p{
  color:#d9e7ff;
  line-height:2;
  margin:0 0 12px;
}

.claim-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.claim-list li{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

.claim-link,
.page-shell .posts-grid > .case-card .claim-link,
.page-shell .case-grid > .case-card .claim-link{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:52px;
  padding:11px 14px!important;
  border-radius:16px!important;
  color:#f5f9ff!important;
  text-decoration:none!important;
  font-weight:800;
  line-height:1.8;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(214,194,136,.20)!important;
}

.claim-link::after{
  content:"";
  direction:ltr;
  flex:0 0 auto;
  width:28px;
  height:28px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:rgba(214,194,136,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff7da' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12h10'/%3E%3Cpath d='M13 8l4 4-4 4'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  color:#fff7da;
}

.claim-link:hover{
  background:rgba(214,194,136,.13)!important;
  border-color:rgba(214,194,136,.38)!important;
}

/* Internal/fallback pages based on the urgent route template */
.route-card{
  max-width:920px;
  margin:0 auto;
  padding:26px!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,rgba(16,40,84,.98),rgba(7,22,50,.99))!important;
  border:1px solid rgba(214,194,136,.26)!important;
  box-shadow:var(--yl-lib-shadow);
}

.route-card h1,
.route-card #title{
  color:var(--yl-lib-title);
  font-weight:900;
  font-size:clamp(1.35rem,2.8vw,2rem);
  line-height:1.9;
  margin:0 0 12px;
  text-align:center;
}

.route-card p{
  color:#dbe8ff;
  font-size:1.02rem;
  line-height:2.05;
  margin:0;
  text-align:center;
}

.slug{
  direction:ltr;
  display:block!important;
  width:max-content;
  max-width:100%;
  margin:18px auto 0!important;
  padding:8px 14px!important;
  border-radius:999px!important;
  color:#fff7da;
  background:rgba(214,194,136,.14)!important;
  border:1px solid rgba(214,194,136,.26);
  overflow-wrap:anywhere;
}

.actions{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:12px!important;
  flex-wrap:wrap;
  margin-top:20px!important;
}

.actions .action-btn,
.action-btn{
  border-radius:16px!important;
  min-height:46px;
  padding:10px 16px!important;
  font-weight:900;
}

.actions .action-btn.primary,
.action-btn.primary{
  background:linear-gradient(135deg,#155faa,#26a3f0)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.14)!important;
}

/* Actual article/content pages */
.book-shell,
.article-shell,
.law-shell,
.post-body,
.article-content{
  border-radius:26px!important;
  border:1px solid rgba(214,194,136,.24)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,244,232,.98))!important;
  box-shadow:var(--yl-lib-shadow);
}

.book-shell h1,
.article-shell h1,
.article-content h1,
.law-shell h1,
.book-shell h2,
.article-shell h2,
.article-content h2,
.law-shell h2{
  color:#0b225a!important;
  font-weight:900;
  line-height:1.85;
}

.book-shell table,
.article-shell table,
.article-content table,
.law-shell table{
  width:100%;
  border-collapse:collapse;
  margin:16px 0;
}

.book-shell th,
.book-shell td,
.article-shell th,
.article-shell td,
.article-content th,
.article-content td,
.law-shell th,
.law-shell td{
  border:1px solid #b08a3c!important;
  padding:9px 11px!important;
  vertical-align:top;
  line-height:1.9;
}

.book-shell th,
.article-shell th,
.article-content th,
.law-shell th{
  background:#f3ead4!important;
  color:#0b225a!important;
  font-weight:900;
}

@media (max-width:700px){
  body:has(.page-shell .posts-grid) .page-shell,
body:has(.page-shell .case-grid) .page-shell,
body:has(.route-card) .page-shell,
body:has(.book-shell) .page-shell,
body:has(.article-shell) .page-shell{
    padding:14px 10px 24px;
  }

  body:has(.page-shell .posts-grid) .section-card,
body:has(.page-shell .case-grid) .section-card,
body:has(.route-card) .section-card,
body:has(.book-shell) .section-card,
body:has(.article-shell) .section-card{
    border-radius:22px;
    padding:14px!important;
  }

  .page-shell .posts-grid,
.page-shell .case-grid{
    grid-template-columns:1fr!important;
  }

  .route-card{
    padding:18px!important;
    border-radius:22px!important;
  }

  .actions{
    display:grid!important;
    grid-template-columns:1fr;
  }

  .actions .action-btn{
    width:100%;
  }
}

/* Global golden interaction state for all clickable UI buttons and button-like links */
:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  [role="button"],
  .action-btn,
  .primary,
  .quick-btn,
  .post-btn,
  .post-link,
  .post-download,
  .post-share,
  .nav-filter-btn,
  .jump-link,
  .claim-link,
  .contact-link,
  .service-item,
  .seo-internal-link,
  .library-title-link,
  .case-title-link,
  .contract-btn,
  .form-btn,
  .print-btn,
  .save-btn,
  .share-btn
){
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease, filter .22s ease!important;
}

:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  [role="button"],
  .action-btn,
  .primary,
  .quick-btn,
  .post-btn,
  .post-link,
  .post-download,
  .post-share,
  .nav-filter-btn,
  .jump-link,
  .claim-link,
  .contact-link,
  .service-item,
  .seo-internal-link,
  .contract-btn,
  .form-btn,
  .print-btn,
  .save-btn,
  .share-btn
):hover,
:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  [role="button"],
  .action-btn,
  .primary,
  .quick-btn,
  .post-btn,
  .post-link,
  .post-download,
  .post-share,
  .nav-filter-btn,
  .jump-link,
  .claim-link,
  .contact-link,
  .service-item,
  .seo-internal-link,
  .contract-btn,
  .form-btn,
  .print-btn,
  .save-btn,
  .share-btn
):focus-visible{
  color:#101827!important;
  background:linear-gradient(135deg,var(--yl-click-gold),var(--yl-click-gold-2))!important;
  border-color:var(--yl-click-gold-border)!important;
  box-shadow:0 14px 30px rgba(250,204,21,.24), 0 0 0 1px rgba(255,255,255,.08) inset!important;
  transform:translateY(-2px);
  filter:saturate(1.05);
}

:where(.library-title-link,.case-title-link):hover,
:where(.library-title-link,.case-title-link):focus-visible{
  color:var(--yl-click-gold)!important;
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  text-decoration:underline!important;
  text-underline-offset:6px;
}

:where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  [role="button"],
  .action-btn,
  .primary,
  .quick-btn,
  .post-btn,
  .post-link,
  .post-download,
  .post-share,
  .nav-filter-btn,
  .jump-link,
  .claim-link,
  .contact-link,
  .service-item,
  .seo-internal-link,
  .library-title-link,
  .case-title-link,
  .contract-btn,
  .form-btn,
  .print-btn,
  .save-btn,
  .share-btn
):focus-visible{
  outline:2px solid rgba(250,204,21,.82)!important;
  outline-offset:4px!important;
}

:where(.claim-link,.jump-link,.contact-link,.seo-internal-link,.action-btn,.post-btn):hover::after,
:where(.claim-link,.jump-link,.contact-link,.seo-internal-link,.action-btn,.post-btn):focus-visible::after{
  background:rgba(16,24,39,.14)!important;
  color:#101827!important;
}

:root{
  --ui-frame: rgba(151, 185, 255, 0.16);
  --ui-frame-strong: rgba(151, 185, 255, 0.28);
  --ui-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  --ui-glow: 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.section-card,
.case-card,
.service-item,
.contact-link,
.post-card,
.library-item{
  position: relative;
}

.section-card::before,
.case-card::before,
.service-item::before,
.contact-link::before,
.post-card::before,
.library-item::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: var(--ui-glow);
}

.section-card::after,
.case-card::after,
.service-item::after,
.contact-link::after,
.post-card::after,
.library-item::after{
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.36), transparent);
  pointer-events: none;
  opacity: .9;
}

.action-btn,
.quick-btn,
.post-btn,
.nav-filter-btn,
.jump-link,
.claim-link,
.contact-link,
.service-item{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.action-btn:hover,
.quick-btn:hover,
.post-btn:hover,
.nav-filter-btn:hover,
.jump-link:hover,
.claim-link:hover,
.contact-link:hover,
.service-item:hover{
  transform: translateY(-2px);
}

#services{
  background: linear-gradient(180deg, #081a40 0%, #061530 100%);
  border: 1px solid var(--ui-frame-strong);
}

#services .service-grid{
  gap: 18px;
}

#services .service-item{
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--ui-frame);
  box-shadow: var(--ui-shadow);
}

/* ط¥ط®ظپط§ط، ظ…ط±ط¨ط¹ ط§ظ„ظ…ظ‚ط¯ظ…ط© ط§ظ„ط·ظˆظٹظ„ طھط­طھ ط§ظ„ظ‡ظٹط±ظˆ ظپظٹ ظپظ‡ط±ط³ ط§ظ„ط¯ط¹ط§ظˆظ‰ ط§ظ„طھط¬ط§ط±ظٹط© ظپظ‚ط· */
html:has(link[rel="canonical"][href="https://www.yemenilaw.com/library/commercial/"]) main.page-shell > section.section-card:first-of-type > div.section-head:first-child,
html:has(meta[property="og:url"][content="https://www.yemenilaw.com/library/commercial/"]) main.page-shell > section.section-card:first-of-type > div.section-head:first-child{
  display: none !important;
  max-height: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

html::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:transparent;
  pointer-events:none;
  opacity:0;
}

html::after{
  content:"";
  position:fixed;
  z-index:-1;
  pointer-events:none;
  opacity:0;
}
