.yl-ai-gpt-card {
  margin: 0 0 22px;
  padding: 28px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(250, 204, 21, 0.22), transparent 34%),
    linear-gradient(135deg, #08152f 0%, #0f2d66 52%, #163f91 100%);
  box-shadow: 0 24px 60px rgba(8, 21, 47, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}
.yl-ai-gpt-card::before {
  content: "";
  position: absolute;
  inset-inline-start: -70px;
  top: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.yl-ai-gpt-card > * {
  position: relative;
  z-index: 1;
}
.yl-ai-gpt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fef3c7;
  font-weight: 700;
  margin-bottom: 14px;
}
.yl-ai-gpt-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.55;
}
.yl-ai-gpt-card p {
  margin: 0 0 16px;
  color: #e5eefc;
  line-height: 2;
  font-weight: 700;
}
.yl-ai-gpt-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0 14px;
}
.yl-gpt-button,
.yl-gpt-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}
.yl-gpt-button {
  color: #172033;
  background: linear-gradient(180deg, #fde68a, #f59e0b);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.26);
}
.yl-gpt-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.yl-gpt-button:hover,
.yl-gpt-secondary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.yl-ai-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.yl-ai-example {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  line-height: 1.8;
  font-weight: 800;
}
.yl-ai-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  line-height: 1.9;
  font-weight: 700;
}
.yl-ai-search-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 18px;
  color: #0b225a;
  font-weight: 700;
}
.yl-ai-search-divider::before,
.yl-ai-search-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.18), transparent);
}
@media (max-width: 800px) {
  .yl-ai-gpt-card {
    padding: 20px;
    border-radius: 24px;
  }
  .yl-ai-gpt-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .yl-gpt-button,
  .yl-gpt-secondary {
    width: 100%;
  }
  .yl-ai-examples {
    grid-template-columns: 1fr;
  }
}
.ai-search-page > .hero.hero-modern {
  display: none !important;
}
.ai-search-loading-notice {
  position: fixed;
  right: 18px;
  bottom: 78px;
  z-index: 100001;
  display: none;
  align-items: center;
  gap: 12px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  font-family: Cairo, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.8;
  backdrop-filter: blur(10px);
}
.ai-search-loading-notice.show {
  display: flex;
}
.ai-search-loading-spinner {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 4px solid rgba(255, 255, 255, 0.22);
  border-top-color: #f8d46b;
  border-left-color: #42c8ff;
  border-radius: 50%;
  animation: aiSearchSpin 0.85s linear infinite;
}
.ai-search-loading-notice.done .ai-search-loading-spinner {
  position: relative;
  border-color: #22c55e;
  animation: none;
}
.ai-search-loading-notice.done .ai-search-loading-spinner::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 20px;
  line-height: 1;
}
.ai-search-loading-text {
  font-size: 0.95rem;
}
@keyframes aiSearchSpin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 700px) {
  .ai-search-loading-notice {
    right: 12px;
    left: 12px;
    bottom: 72px;
    justify-content: center;
    border-radius: 20px;
  }
}
.claim-author-credit {
  display: flex;
  justify-content: center;
  margin: 20px 0 24px;
}
.claim-author-credit__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 360px);
  min-width: 0;
  min-height: 68px;
  padding: 11px 18px;
  border: 1px solid rgba(24, 119, 242, 0.28);
  border-radius: 20px;
  background: linear-gradient(135deg, #1877f2 0%, #0d5fc5 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(24, 119, 242, 0.24);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.claim-author-credit__button:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(24, 119, 242, 0.31);
}
.claim-author-credit__button:focus-visible {
  outline: 4px solid rgba(24, 119, 242, 0.25);
  outline-offset: 4px;
}
.claim-author-credit__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.2rem;
}
.claim-author-credit__text {
  display: grid;
  flex: 1 1 auto;
  gap: 1px;
  text-align: right;
}
.claim-author-credit__text small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
}
.claim-author-credit__text strong {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
}
.claim-author-credit__arrow {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}
@media (max-width: 700px) {
  .claim-author-credit {
    margin: 16px 0 20px;
  }
  .claim-author-credit__button {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    border-radius: 17px;
  }
}
@media print {
  .claim-author-credit {
    display: none !important;
  }
}
:is(.claim-detail-page, .library-clean-detail-page) .library-official-detail-wrap {
  margin-top: 22px;
}
:is(.claim-detail-page, .library-clean-detail-page) .library-official-detail {
  overflow: visible;
}
.claim-detail-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 18px;
  outline: none;
  -webkit-overflow-scrolling: touch;
}
.claim-detail-table-wrap:focus-visible {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}
:is(.claim-detail-page, .library-clean-detail-page) .book-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  color: #111827;
}
:is(.claim-detail-page, .library-clean-detail-page) .book-table th,
:is(.claim-detail-page, .library-clean-detail-page) .book-table td {
  padding: 13px;
  border: 1px solid #d8c9ad;
  color: #111827;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 2;
}
:is(.claim-detail-page, .library-clean-detail-page) .book-table th {
  background: #f7f1e4;
  color: #0b225a;
  font-weight: 700;
}
.claim-faq-section {
  margin-top: 22px;
}
.claim-faq-section > .section-head {
  text-align: center;
}
.claim-faq-section > .section-head p {
  max-width: 850px;
  margin-inline: auto;
}
.claim-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.claim-faq-item {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}
.claim-faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 15px 58px 15px 18px;
  color: #0b225a;
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.8;
  list-style: none;
}
.claim-faq-item summary::-webkit-details-marker {
  display: none;
}
.claim-faq-item summary::before {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
}
.claim-faq-item[open] summary::before {
  content: "−";
}
.claim-faq-item[open] summary {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fbff;
}
.claim-faq-item summary:hover,
.claim-faq-item summary:focus-visible {
  background: #f3f7ff;
}
.claim-faq-item summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: -3px;
}
.claim-faq-answer {
  padding: 16px 20px 19px;
}
.claim-faq-answer p {
  margin: 0;
  color: #374151;
  font-weight: 700;
  line-height: 2.05;
}
.claim-related-links {
  margin-top: 22px;
}
@media (max-width: 700px) {
  :is(.claim-detail-page, .library-clean-detail-page) .book-table {
    min-width: 680px;
  }
  :is(.claim-detail-page, .library-clean-detail-page) .book-table th,
  :is(.claim-detail-page, .library-clean-detail-page) .book-table td {
    padding: 10px;
    font-size: 0.92rem;
  }
  .claim-faq-item summary {
    min-height: 60px;
    padding: 13px 50px 13px 12px;
    font-size: 0.96rem;
  }
  .claim-faq-item summary::before {
    right: 13px;
    width: 28px;
    height: 28px;
  }
  .claim-faq-answer {
    padding: 14px;
  }
}
@media print {
  .claim-detail-table-wrap {
    overflow: visible;
  }
  :is(.claim-detail-page, .library-clean-detail-page) .book-table {
    min-width: 0;
  }
  .claim-faq-item {
    break-inside: avoid;
    box-shadow: none;
  }
  .claim-faq-item:not([open]) .claim-faq-answer {
    display: block;
  }
  .claim-faq-item summary::before {
    display: none;
  }
}
body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-radius: 38px;
  padding: clamp(32px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(9, 27, 67, 0.96), rgba(15, 45, 98, 0.92)),
    radial-gradient(circle at 0 0, rgba(255, 205, 94, 0.25), transparent 35%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3) !important;
  color: #fff !important;
}
body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero::before {
  content: "";
  position: absolute;
  inset: auto -70px -120px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 70%);
  filter: blur(6px);
}
body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero::after {
  content: "⏱";
  position: absolute;
  left: clamp(18px, 5vw, 70px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(5rem, 13vw, 12rem);
  color: rgba(255, 255, 255, 0.055);
  line-height: 1;
  pointer-events: none;
}
body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 206, 97, 0.2),
    rgba(255, 255, 255, 0.08)
  ) !important;
  border: 1px solid rgba(255, 221, 134, 0.35) !important;
  color: #ffe19d !important;
  font-weight: 700;
}
body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero h1 {
  margin: 18px 0 12px;
  color: #fff !important;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.25;
  font-weight: 950;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}
body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero p {
  color: #dce9ff !important;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 2.1;
  max-width: 900px;
  font-weight: 700;
}
body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero .hero-motto {
  margin-top: 20px;
  display: inline-flex;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff4cd !important;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.yl-deadline-inline-fixed
  .hero.hero-modern.yl-deadline-fixed-hero
  .contract-viewer-action-strip.seo-internal-links-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 760px !important;
  margin: 16px 0 0 !important;
  direction: rtl !important;
}
body.yl-deadline-inline-fixed
  .hero.hero-modern.yl-deadline-fixed-hero
  .contract-viewer-action-strip
  .seo-internal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 8px;
  border-radius: 16px !important;
  color: #fff !important;
  font-size: clamp(0.95rem, 2.8vw, 1.12rem) !important;
  font-weight: 950 !important;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  white-space: normal;
  line-height: 1.55;
}
@media (max-width: 700px) {
  body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero {
    border-radius: 24px;
    padding: 28px 18px;
  }
  body.yl-deadline-inline-fixed .hero.hero-modern.yl-deadline-fixed-hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.45rem);
    line-height: 1.35;
  }
  body.yl-deadline-inline-fixed
    .hero.hero-modern.yl-deadline-fixed-hero
    .contract-viewer-action-strip.seo-internal-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  body.yl-deadline-inline-fixed
    .hero.hero-modern.yl-deadline-fixed-hero
    .contract-viewer-action-strip
    .seo-internal-link {
    min-height: 40px;
    padding: 7px 3px !important;
    border-radius: 11px !important;
    font-size: clamp(0.68rem, 2.7vw, 0.88rem) !important;
    line-height: 1.25 !important;
  }
}
.yl-floating-share-wrap {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 22px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  direction: rtl;
  font-family: Cairo, Tahoma, Arial, sans-serif;
}
.yl-floating-share-btn {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.yl-floating-share-facebook {
  background: #1877f2;
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.32);
}
.yl-floating-share-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.44);
  filter: brightness(1.05);
}
.yl-floating-share-btn:active {
  transform: translateY(0) scale(0.98);
}
.yl-floating-share-btn:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}
.yl-floating-share-btn svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}
.yl-floating-share-toast {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 160px;
  z-index: 99999;
  max-width: min(310px, calc(100vw - 36px));
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.yl-floating-share-toast.show {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 700px) {
  .yl-floating-share-wrap {
    inset-inline-end: 14px;
    bottom: 82px;
  }
  .yl-floating-share-btn {
    width: 54px;
    height: 54px;
  }
  .yl-floating-share-toast {
    inset-inline-end: 14px;
    bottom: 206px;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) and (pointer: coarse) {
  .yl-floating-share-wrap {
    bottom: 78px !important;
  }
  .yl-floating-share-toast {
    bottom: 202px !important;
  }
}
@media screen and (max-width: 380px) {
  .yl-floating-share-wrap {
    bottom: 70px !important;
  }
  .yl-floating-share-toast {
    bottom: 190px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yl-floating-share-btn,
  .yl-floating-share-toast {
    transition: none;
  }
}
@media print {
  .yl-floating-share-wrap,
  .yl-floating-share-toast {
    display: none !important;
  }
}
@media screen and (max-width: 760px) {
  html {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    touch-action: pan-x pan-y pinch-zoom;
  }
  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-height: 100% !important;
    position: relative !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .page-shell,
  main.page-shell {
    max-width: 100% !important;
    padding: 8px !important;
    overflow-x: hidden !important;
  }
  .hero,
  .hero.hero-modern,
  .section-card,
  .seo-internal-links {
    padding: 10px !important;
    margin-bottom: 10px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16) !important;
  }
  .hero-badge {
    padding: 4px 7px !important;
    margin-bottom: 5px !important;
    font-size: 0.7rem !important;
  }
  .hero h1,
  .hero-modern h1 {
    font-size: 1.22rem !important;
    line-height: 1.35 !important;
    margin: 0 0 6px !important;
  }
  .hero p,
  .hero-modern p,
  .section-head p,
  .seo-internal-links p,
  .case-card p {
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
  }
  .hero-motto {
    margin-top: 7px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }
  .section-head {
    margin-bottom: 8px !important;
    gap: 6px !important;
  }
  .section-head h2,
  .seo-internal-links h2,
  .seo-internal-links h3 {
    font-size: 1rem !important;
    line-height: 1.38 !important;
    margin-bottom: 5px !important;
  }
  .seo-internal-links-grid {
    gap: 6px !important;
  }
  .seo-internal-link {
    min-height: 34px !important;
    padding: 6px 7px !important;
    border-radius: 10px !important;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
  }
  #home-hero .seo-internal-links-grid,
  #home-internal-links .seo-internal-links-grid,
  body.posts-page .hero.hero-modern .seo-internal-links-grid,
  body.library-detail-page .hero.hero-modern .seo-internal-links-grid,
  body.library-page .hero.hero-modern .seo-internal-links-grid,
  main.page-shell > .hero.hero-modern:first-child .seo-internal-links-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  #home-hero .seo-internal-link,
  #home-internal-links .seo-internal-link,
  body.posts-page .hero.hero-modern .seo-internal-link,
  body.library-detail-page .hero.hero-modern .seo-internal-link,
  body.library-page .hero.hero-modern .seo-internal-link,
  main.page-shell > .hero.hero-modern:first-child .seo-internal-link {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 6px 5px !important;
    border-radius: 10px !important;
    font-size: clamp(9px, 2.1vw, 11px) !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }
  .contact-grid,
  .library-grid,
  .service-grid,
  .case-grid {
    gap: 8px !important;
  }
  .service-item,
  .case-card,
  .library-item,
  .contact-link {
    padding: 9px !important;
    border-radius: 11px !important;
  }
  .case-card h2,
  .case-card h3 {
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }
  i,
  .fa,
  .fa-solid,
  .fa-brands {
    font-size: 0.82em !important;
  }
  .contact-link {
    min-height: 40px !important;
    font-size: 0.76rem !important;
    gap: 6px !important;
  }
}
@media screen and (max-width: 420px) {
  #home-hero .seo-internal-links-grid,
  #home-internal-links .seo-internal-links-grid,
  body.posts-page .hero.hero-modern .seo-internal-links-grid,
  body.library-detail-page .hero.hero-modern .seo-internal-links-grid,
  body.library-page .hero.hero-modern .seo-internal-links-grid,
  main.page-shell > .hero.hero-modern:first-child .seo-internal-links-grid {
    gap: 5px !important;
  }
  #home-hero .seo-internal-link,
  #home-internal-links .seo-internal-link,
  body.posts-page .hero.hero-modern .seo-internal-link,
  body.library-detail-page .hero.hero-modern .seo-internal-link,
  body.library-page .hero.hero-modern .seo-internal-link,
  main.page-shell > .hero.hero-modern:first-child .seo-internal-link {
    min-height: 31px !important;
    padding: 5px 4px !important;
    border-radius: 9px !important;
    font-size: clamp(8px, 2vw, 10px) !important;
  }
}
.seo-internal-links {
  margin: 28px auto;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(2, 8, 23, 0.18);
  color: #f8fafc;
}
.seo-internal-links h2,
.seo-internal-links h3 {
  margin: 0 0 10px;
  color: #fff7d6;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.5;
}
.seo-internal-links p {
  margin: 0 0 16px;
  color: #e2e8f0;
  line-height: 1.9;
}
.seo-internal-links-grid {
  display: grid;
  gap: 12px;
}
.seo-internal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}
.seo-internal-link:hover,
.seo-internal-link:focus {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  outline: none;
}
@media (max-width: 640px) {
  .seo-internal-links {
    padding: 18px;
    border-radius: 18px;
  }
  .seo-internal-links-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  main.page-shell:has(#home-hero) {
    font-size: 0 !important;
  }
  main.page-shell:has(#home-hero) > section,
  main.page-shell:has(#home-hero) > div,
  main.page-shell:has(#home-hero) > footer {
    font-size: 11.3px !important;
  }
}
@media screen and (max-width: 760px),
  screen and (hover: none),
  screen and (pointer: coarse),
  screen and (any-pointer: coarse),
  screen and (max-device-width: 1180px) {
  html
    body
    main.page-shell
    > section.hero.hero-modern:first-child
    .hero-content
    > .seo-internal-links-grid,
  html
    body.posts-page
    main.page-shell
    > section.hero.hero-modern:first-child
    .hero-content
    > .seo-internal-links-grid,
  html
    body.library-page
    main.page-shell
    > section.hero.hero-modern:first-child
    .hero-content
    > .seo-internal-links-grid,
  html
    body.library-detail-page
    main.page-shell
    > section.hero.hero-modern:first-child
    .hero-content
    > .seo-internal-links-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
  }
  html
    body
    main.page-shell
    > section.hero.hero-modern:first-child
    .hero-content
    > .seo-internal-links-grid
    > a,
  html
    body.posts-page
    main.page-shell
    > section.hero.hero-modern:first-child
    .hero-content
    > .seo-internal-links-grid
    > a,
  html
    body.library-page
    main.page-shell
    > section.hero.hero-modern:first-child
    .hero-content
    > .seo-internal-links-grid
    > a,
  html
    body.library-detail-page
    main.page-shell
    > section.hero.hero-modern:first-child
    .hero-content
    > .seo-internal-links-grid
    > a {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 32px !important;
    padding: 5px 4px !important;
    border-radius: 9px !important;
    font-size: clamp(7px, 1.8vw, 10px) !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}
.yl-legal-disclaimer-box {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 77, 0.45);
  background: linear-gradient(180deg, #fffaf0 0%, #fff7df 100%);
  color: #1f2937;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  line-height: 2;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}
.yl-legal-disclaimer-box strong {
  color: #12324a;
  font-weight: 700;
  margin-inline-end: 4px;
}
.yl-legal-disclaimer-box a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: 8px;
  color: #12324a;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 50, 74, 0.35);
}
.yl-legal-disclaimer-box a:hover,
.yl-legal-disclaimer-box a:focus-visible {
  color: #8a650f;
  border-bottom-color: #8a650f;
}
.yl-legal-disclaimer-box .yl-legal-disclaimer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: #12324a;
  color: #facc15;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 680px) {
  .yl-legal-disclaimer-box {
    padding: 15px;
    border-radius: 15px;
  }
  .yl-legal-disclaimer-box a {
    display: inline;
    margin-inline-start: 0;
  }
}
@media print {
  .yl-legal-disclaimer-box {
    box-shadow: none;
    border: 1px solid #d6b45c;
    background: #fff;
  }
}
.murad-profile-photo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  margin: 0 auto 18px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.murad-profile-photo-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.85);
  background: #fff;
}
.murad-profile-photo-card figcaption {
  color: inherit;
  font-weight: 800;
  text-align: center;
  line-height: 1.8;
}
.yl-pdf-save-area {
  max-width: 1100px;
  margin: 14px auto 18px;
  padding: 0 14px;
  direction: rtl;
  font-family: Cairo, Tahoma, Arial, sans-serif;
}
.yl-pdf-save-btn {
  border-radius: 16px;
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    box-shadow 0.18s ease;
}
.yl-pdf-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.34);
}
.yl-pdf-save-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.yl-pdf-save-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.yl-pdf-save-area.contract .yl-pdf-save-btn,
#contracts .yl-pdf-save-btn {
  background: linear-gradient(135deg, #92400e, #d97706);
  box-shadow: 0 12px 26px rgba(146, 64, 14, 0.24);
}
.yl-pdf-save-area.law .yl-pdf-save-btn {
  background: linear-gradient(135deg, #0f2f57, #2563eb);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.23);
}
.yl-pdf-save-area.case .yl-pdf-save-btn,
.yl-pdf-save-area.crime .yl-pdf-save-btn {
  background: linear-gradient(135deg, #1f2937, #475569);
  box-shadow: 0 12px 26px rgba(31, 41, 55, 0.23);
}
.yl-pdf-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 99999;
  max-width: min(460px, calc(100vw - 28px));
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.yl-pdf-toast.show {
  opacity: 1;
}
@media (max-width: 700px) {
  .yl-pdf-save-area {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 12px;
  }
  .yl-pdf-save-btn {
    width: 100%;
  }
}
@media print {
  .yl-pdf-save-area,
  .yl-pdf-toast {
    display: none !important;
  }
}
.yl-pdf-save-area {
  pointer-events: none;
}
.yl-pdf-save-area .yl-pdf-save-btn {
  pointer-events: auto;
}
.yl-pdf-save-btn,
[data-yl-pdf-save] {
  position: relative;
  isolation: isolate;
  gap: 10px !important;
  padding-inline: 20px 18px !important;
  border: 1px solid rgba(248, 113, 113, 0.45) !important;
  background: linear-gradient(135deg, #fb7185 0%, #f87171 48%, #fecaca 100%) !important;
  color: #fff !important;
  box-shadow:
    0 14px 30px rgba(248, 113, 113, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  overflow: hidden;
}
.yl-pdf-save-btn::before,
[data-yl-pdf-save]::before {
  content: "";
  position: absolute;
  inset: -50% auto -50% -55%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  animation: ylSaveButtonShine 3s ease-in-out infinite;
  z-index: -1;
}
.yl-pdf-save-btn::after,
[data-yl-pdf-save]::after {
  content: "↓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-inline-start: 4px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.24);
  animation: ylSaveArrowDown 1.05s ease-in-out infinite;
}
.yl-pdf-save-btn:hover,
[data-yl-pdf-save]:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(248, 113, 113, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}
@keyframes ylSaveArrowDown {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(4px);
  }
}
@keyframes ylSaveButtonShine {
  0% {
    inset-inline-start: -60%;
    opacity: 0;
  }
  35% {
    opacity: 0.95;
  }
  70%,
  100% {
    inset-inline-start: 120%;
    opacity: 0;
  }
}
body.posts-page,
html:has(link[rel="canonical"][href*="/posts/"]) body {
  background:
    radial-gradient(circle at 12% 8%, rgba(23, 61, 110, 0.1), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(199, 146, 16, 0.1), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%) !important;
  color: #1e293b !important;
}
body.posts-page .page-shell,
html:has(link[rel="canonical"][href*="/posts/"]) .page-shell,
body.posts-page main.page-shell,
html:has(link[rel="canonical"][href*="/posts/"]) main.page-shell {
  max-width: 1120px !important;
  margin-inline: auto !important;
  padding: 18px 14px 52px !important;
}
body.posts-page .breadcrumb,
html:has(link[rel="canonical"][href*="/posts/"]) .breadcrumb,
body.posts-page .yl-post-breadcrumb,
html:has(link[rel="canonical"][href*="/posts/"]) .yl-post-breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 0 14px !important;
  padding: 10px 14px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: #475569 !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06) !important;
}
body.posts-page .breadcrumb a,
html:has(link[rel="canonical"][href*="/posts/"]) .breadcrumb a,
body.posts-page .yl-post-breadcrumb a,
html:has(link[rel="canonical"][href*="/posts/"]) .yl-post-breadcrumb a {
  color: #143b68 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
body.posts-page .hero.hero-modern,
html:has(link[rel="canonical"][href*="/posts/"]) .hero.hero-modern,
html:has(link[rel="canonical"][href*="/posts/"])
  main.page-shell
  > article.section-card
  > .section-head:first-child {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  padding: 32px 24px !important;
  background: linear-gradient(135deg, #143b68 0%, #0a2342 62%, #c9932a 145%) !important;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.18) !important;
  border: 0 !important;
  color: #fff !important;
  margin-bottom: 18px !important;
}
body.posts-page .hero.hero-modern::before,
html:has(link[rel="canonical"][href*="/posts/"]) .hero.hero-modern::before,
html:has(link[rel="canonical"][href*="/posts/"])
  main.page-shell
  > article.section-card
  > .section-head:first-child::before {
  content: "" !important;
  position: absolute !important;
  inset: auto auto -80px -80px !important;
  width: 220px !important;
  height: 220px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  pointer-events: none !important;
}
body.posts-page .hero.hero-modern h1,
body.posts-page .hero.hero-modern p,
body.posts-page .hero.hero-modern .hero-motto,
html:has(link[rel="canonical"][href*="/posts/"]) .hero.hero-modern h1,
html:has(link[rel="canonical"][href*="/posts/"]) .hero.hero-modern p,
html:has(link[rel="canonical"][href*="/posts/"]) .hero.hero-modern .hero-motto,
html:has(link[rel="canonical"][href*="/posts/"])
  main.page-shell
  > article.section-card
  > .section-head:first-child
  h1,
html:has(link[rel="canonical"][href*="/posts/"])
  main.page-shell
  > article.section-card
  > .section-head:first-child
  p {
  color: #ffffff !important;
}
body.posts-page .hero.hero-modern h1,
html:has(link[rel="canonical"][href*="/posts/"]) .hero.hero-modern h1,
html:has(link[rel="canonical"][href*="/posts/"])
  main.page-shell
  > article.section-card
  > .section-head:first-child
  h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem) !important;
  line-height: 1.5 !important;
  margin: 12px 0 8px !important;
  font-weight: 800 !important;
}
body.posts-page .hero.hero-modern p,
html:has(link[rel="canonical"][href*="/posts/"]) .hero.hero-modern p,
html:has(link[rel="canonical"][href*="/posts/"])
  main.page-shell
  > article.section-card
  > .section-head:first-child
  p {
  line-height: 2 !important;
  font-weight: 750 !important;
  margin: 0 !important;
  max-width: 960px !important;
}
body.posts-page .hero-badge,
body.posts-page .case-card-badge,
html:has(link[rel="canonical"][href*="/posts/"]) .hero-badge,
html:has(link[rel="canonical"][href*="/posts/"]) .case-card-badge {
  display: inline-flex !important;
  align-items: center !important;
  width: max-content !important;
  max-width: 100% !important;
  border-radius: 999px !important;
  padding: 7px 14px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff3c4 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  font-weight: 700 !important;
}
body.posts-page .post-meta,
body.posts-page .hero-motto,
html:has(link[rel="canonical"][href*="/posts/"]) .post-meta,
html:has(link[rel="canonical"][href*="/posts/"]) .hero-motto {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
body.posts-page .section-card,
html:has(link[rel="canonical"][href*="/posts/"]) .section-card {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 26px !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1) !important;
  overflow: visible !important;
}
body.posts-page .section-head h2,
body.posts-page .section-head p,
html:has(link[rel="canonical"][href*="/posts/"]) .section-head h2,
html:has(link[rel="canonical"][href*="/posts/"]) .section-head p {
  color: #0f172a !important;
}
body.posts-page article.case-card,
body.posts-page .case-card.post-card,
body.posts-page article.research-paper,
body.posts-page .post-content,
body.posts-page .legal-article-content,
html:has(link[rel="canonical"][href*="/posts/"]) article.case-card,
html:has(link[rel="canonical"][href*="/posts/"]) .case-card.post-card,
html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper,
html:has(link[rel="canonical"][href*="/posts/"]) .post-content,
html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
  padding: 24px !important;
  line-height: 2.05 !important;
  overflow: visible !important;
  font-size: 18px !important;
  margin-top: 18px !important;
}
body.posts-page article.research-paper::before,
html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper::before {
  display: none !important;
  content: none !important;
}
body.posts-page article.case-card h2,
body.posts-page .post-content h2,
body.posts-page .legal-article-content h2,
body.posts-page article.research-paper .research-heading,
html:has(link[rel="canonical"][href*="/posts/"]) article.case-card h2,
html:has(link[rel="canonical"][href*="/posts/"]) .post-content h2,
html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content h2,
html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper .research-heading {
  margin: 26px 0 12px !important;
  padding: 0 13px 0 0 !important;
  border-right: 5px solid #c9932a !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0f172a !important;
  font-size: clamp(1.22rem, 2.6vw, 1.55rem) !important;
  line-height: 1.85 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
body.posts-page article.research-paper .research-subheading,
body.posts-page article.case-card h3,
body.posts-page .post-content h3,
body.posts-page .legal-article-content h3,
html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper .research-subheading,
html:has(link[rel="canonical"][href*="/posts/"]) article.case-card h3,
html:has(link[rel="canonical"][href*="/posts/"]) .post-content h3,
html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content h3 {
  margin: 20px 0 9px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #143b68 !important;
  font-size: 1.16rem !important;
  line-height: 1.85 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
body.posts-page article.case-card p,
body.posts-page article.case-card li,
body.posts-page .post-content p,
body.posts-page .post-content li,
body.posts-page .legal-article-content p,
body.posts-page .legal-article-content li,
body.posts-page article.research-paper .research-line,
html:has(link[rel="canonical"][href*="/posts/"]) article.case-card p,
html:has(link[rel="canonical"][href*="/posts/"]) article.case-card li,
html:has(link[rel="canonical"][href*="/posts/"]) .post-content p,
html:has(link[rel="canonical"][href*="/posts/"]) .post-content li,
html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content p,
html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content li,
html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper .research-line {
  color: #1e293b !important;
  font-size: 18px !important;
  line-height: 2.05 !important;
  margin-bottom: 13px !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  white-space: normal !important;
}
body.posts-page article.case-card ul,
body.posts-page article.case-card ol,
body.posts-page .post-content ul,
body.posts-page .post-content ol,
body.posts-page .legal-article-content ul,
body.posts-page .legal-article-content ol,
html:has(link[rel="canonical"][href*="/posts/"]) article.case-card ul,
html:has(link[rel="canonical"][href*="/posts/"]) article.case-card ol,
html:has(link[rel="canonical"][href*="/posts/"]) .post-content ul,
html:has(link[rel="canonical"][href*="/posts/"]) .post-content ol,
html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content ul,
html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content ol {
  padding-inline-start: 22px !important;
  margin: 12px 0 18px !important;
}
body.posts-page article.research-paper .research-label,
body.posts-page article.research-paper .research-listlike,
html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper .research-label,
html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper .research-listlike {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #1e293b !important;
  font-weight: 700 !important;
  text-align: right !important;
}
body.posts-page .post-note,
body.posts-page .research-note,
html:has(link[rel="canonical"][href*="/posts/"]) .post-note,
html:has(link[rel="canonical"][href*="/posts/"]) .research-note {
  background: #fff8e8 !important;
  border: 1px solid #e8c66a !important;
  color: #5a410a !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  line-height: 2 !important;
  font-weight: 800 !important;
}
body.posts-page .research-author-card .info-box,
html:has(link[rel="canonical"][href*="/posts/"]) .research-author-card .info-box {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
}
body.posts-page .research-author-card strong,
body.posts-page .research-author-card .info-label,
html:has(link[rel="canonical"][href*="/posts/"]) .research-author-card strong,
html:has(link[rel="canonical"][href*="/posts/"]) .research-author-card .info-label {
  color: #143b68 !important;
}
body.posts-page .post-service-actions,
body.posts-page .hero .seo-internal-links-grid,
body.posts-page .section-card > .seo-internal-links-grid,
html:has(link[rel="canonical"][href*="/posts/"]) .post-service-actions,
html:has(link[rel="canonical"][href*="/posts/"]) .hero .seo-internal-links-grid,
html:has(link[rel="canonical"][href*="/posts/"]) .section-card > .seo-internal-links-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  gap: 10px !important;
  margin-top: 16px !important;
}
body.posts-page .seo-internal-link,
html:has(link[rel="canonical"][href*="/posts/"]) .seo-internal-link {
  min-height: 44px !important;
  border-radius: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
}
body.posts-page .seo-internal-links-grid .seo-internal-link,
body.posts-page a.seo-internal-link:not(.service-contact-button),
html:has(link[rel="canonical"][href*="/posts/"]) .seo-internal-links-grid .seo-internal-link,
html:has(link[rel="canonical"][href*="/posts/"]) a.seo-internal-link:not(.service-contact-button) {
  color: #fff !important;
  background: linear-gradient(135deg, #143b68, #2d6db5) !important;
  border-color: rgba(37, 99, 235, 0.28) !important;
}
body.posts-page a.service-contact-button,
body.posts-page .service-contact-button,
html:has(link[rel="canonical"][href*="/posts/"]) a.service-contact-button,
html:has(link[rel="canonical"][href*="/posts/"]) .service-contact-button {
  color: #073b35 !important;
  background: linear-gradient(135deg, #eaf7f2, #c4e8dc) !important;
  border-color: rgba(15, 118, 110, 0.28) !important;
}
@media (max-width: 860px) {
  body.posts-page .page-shell,
  html:has(link[rel="canonical"][href*="/posts/"]) .page-shell,
  body.posts-page main.page-shell,
  html:has(link[rel="canonical"][href*="/posts/"]) main.page-shell {
    padding-inline: 10px !important;
  }
  body.posts-page .hero.hero-modern,
  html:has(link[rel="canonical"][href*="/posts/"]) .hero.hero-modern,
  html:has(link[rel="canonical"][href*="/posts/"])
    main.page-shell
    > article.section-card
    > .section-head:first-child {
    padding: 24px 16px !important;
    border-radius: 22px !important;
  }
  body.posts-page .section-card,
  body.posts-page article.case-card,
  body.posts-page article.research-paper,
  body.posts-page .post-content,
  body.posts-page .legal-article-content,
  html:has(link[rel="canonical"][href*="/posts/"]) .section-card,
  html:has(link[rel="canonical"][href*="/posts/"]) article.case-card,
  html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper,
  html:has(link[rel="canonical"][href*="/posts/"]) .post-content,
  html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content {
    border-radius: 18px !important;
    padding: 17px !important;
  }
  body.posts-page article.case-card p,
  body.posts-page article.case-card li,
  body.posts-page .post-content p,
  body.posts-page .post-content li,
  body.posts-page .legal-article-content p,
  body.posts-page .legal-article-content li,
  body.posts-page article.research-paper .research-line,
  html:has(link[rel="canonical"][href*="/posts/"]) article.case-card p,
  html:has(link[rel="canonical"][href*="/posts/"]) article.case-card li,
  html:has(link[rel="canonical"][href*="/posts/"]) .post-content p,
  html:has(link[rel="canonical"][href*="/posts/"]) .post-content li,
  html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content p,
  html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content li,
  html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper .research-line {
    font-size: 16px !important;
    line-height: 2 !important;
    text-align: right !important;
  }
  body.posts-page article.case-card h2,
  body.posts-page .post-content h2,
  body.posts-page .legal-article-content h2,
  body.posts-page article.research-paper .research-heading,
  html:has(link[rel="canonical"][href*="/posts/"]) article.case-card h2,
  html:has(link[rel="canonical"][href*="/posts/"]) .post-content h2,
  html:has(link[rel="canonical"][href*="/posts/"]) .legal-article-content h2,
  html:has(link[rel="canonical"][href*="/posts/"]) article.research-paper .research-heading {
    font-size: 1.2rem !important;
  }
}
.ai-result-title-link,
#aiSearchResults .ai-result h2,
#contractsSmartLegalSearch .ai-result h2,
#contractsSmartSearchResults .ai-result h2,
#ylLibraryIndexSearch .ai-result h2 a,
#ylLibrarySectionSearch .ai-result h2 a,
.yl-laws-index-law-title,
.yl-laws-index-article-link,
.yl-law-article-title {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  max-width: 100%;
  margin: 4px 0;
  padding: 8px 13px;
  border: 2px solid #d6b44d !important;
  border-radius: 15px !important;
  background: linear-gradient(180deg, #fffaf0 0%, #fff1bf 100%) !important;
  color: #0b225a !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
  box-shadow:
    0 8px 18px rgba(138, 101, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
  cursor: pointer !important;
}
.yl-laws-index-article-link,
.yl-law-article-title {
  border-radius: 999px !important;
  color: #7c4a00 !important;
  background: linear-gradient(180deg, #fff8df 0%, #ffe69a 100%) !important;
}
.ai-result-title-link:hover,
#aiSearchResults .ai-result h2:hover,
#contractsSmartLegalSearch .ai-result h2:hover,
#contractsSmartSearchResults .ai-result h2:hover,
#ylLibraryIndexSearch .ai-result h2 a:hover,
#ylLibrarySectionSearch .ai-result h2 a:hover,
.yl-laws-index-law-title:hover,
.yl-laws-index-article-link:hover,
.yl-law-article-title:hover {
  background: linear-gradient(180deg, #ffeaa6 0%, #f8d46b 100%) !important;
  color: #111827 !important;
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow:
    0 12px 24px rgba(138, 101, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}
.ai-result-title-link:focus-visible,
#aiSearchResults .ai-result h2:focus-visible,
#contractsSmartLegalSearch .ai-result h2:focus-visible,
#contractsSmartSearchResults .ai-result h2:focus-visible,
#ylLibraryIndexSearch .ai-result h2 a:focus-visible,
#ylLibrarySectionSearch .ai-result h2 a:focus-visible,
.yl-laws-index-law-title:focus-visible,
.yl-laws-index-article-link:focus-visible,
.yl-law-article-title:focus-visible {
  outline: 3px solid rgba(248, 212, 107, 0.75) !important;
  outline-offset: 3px !important;
}
.ai-action.primary,
.yl-law-article-jump,
#ylLawArticleSearchForm button,
#ylLawsIndexArticleSearchForm button,
#ylLibraryIndexSearch .library-search-button,
#ylLibrarySectionSearch .library-section-search-button,
#contractsSmartLegalSearch .simple-search-button {
  border: 2px solid #d6b44d !important;
  box-shadow:
    0 12px 26px rgba(138, 101, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}
.yl-laws-index-result p,
.yl-law-article-result p {
  border-top: 1px dashed rgba(214, 180, 77, 0.55);
  padding-top: 10px;
}
.ai-search-box,
#ylLibraryIndexSearchForm,
#ylLibrarySectionSearchForm,
#contractsSmartLegalSearch .simple-search-form,
#contractsSmartSearchForm,
#ylLawArticleSearchForm,
#ylLawsIndexArticleSearchForm {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 62px !important;
  padding: 4px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 2px solid rgba(214, 180, 77, 0.88) !important;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72) !important;
  touch-action: manipulation;
}
.ai-search-box input,
#ylLibraryIndexSearchInput,
#ylLibrarySectionSearchInput,
#contractsSmartLegalSearch input,
#contractsSmartSearchForm input,
#ylLawArticleSearchForm input,
#ylLawsIndexArticleSearchForm input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 14px 14px 0 !important;
  background: #ffffff !important;
  color: #172033 !important;
  text-align: right !important;
  font-family: var(--yl-local-font, Cairo, Tahoma, Arial, sans-serif) !important;
  font-size: clamp(1rem, 1.8vw, 1.22rem) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  -webkit-text-size-adjust: 100%;
}
.ai-search-box input::placeholder,
#ylLibraryIndexSearchInput::placeholder,
#ylLibrarySectionSearchInput::placeholder,
#contractsSmartLegalSearch input::placeholder,
#contractsSmartSearchForm input::placeholder,
#ylLawArticleSearchForm input::placeholder,
#ylLawsIndexArticleSearchForm input::placeholder {
  color: #8a94a6 !important;
  opacity: 1 !important;
}
.ai-search-box button[type="submit"],
#ylLibraryIndexSearch .library-search-button,
#ylLibrarySectionSearch .library-section-search-button,
#contractsSmartLegalSearch .simple-search-button,
#contractsSmartSearchForm button,
#ylLawArticleSearchForm button,
#ylLawsIndexArticleSearchForm button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  flex: 0 0 118px !important;
  width: 118px !important;
  min-width: 104px !important;
  max-width: 138px !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-inline-start: 1px solid rgba(214, 180, 77, 0.78) !important;
  border-radius: 14px 0 0 14px !important;
  cursor: pointer !important;
  color: #3d2a00 !important;
  font-family: var(--yl-local-font, Cairo, Tahoma, Arial, sans-serif) !important;
  font-size: clamp(0.96rem, 1.6vw, 1.08rem) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  background: linear-gradient(180deg, #fff2b8 0%, #f8d46b 48%, #c79210 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68) !important;
  touch-action: manipulation;
}
.ai-search-box button[type="submit"] i.fa-magnifying-glass,
#ylLibraryIndexSearch .library-search-button i.fa-magnifying-glass,
#ylLibrarySectionSearch .library-section-search-button i.fa-magnifying-glass,
#contractsSmartLegalSearch .simple-search-button i.fa-magnifying-glass,
#contractsSmartSearchForm button i.fa-magnifying-glass,
#ylLawArticleSearchForm button i.fa-magnifying-glass,
#ylLawsIndexArticleSearchForm button i.fa-magnifying-glass {
  display: none !important;
}
.ai-search-box button[type="submit"]::before,
#ylLibraryIndexSearch .library-search-button::before,
#ylLibrarySectionSearch .library-section-search-button::before,
#contractsSmartLegalSearch .simple-search-button::before,
#contractsSmartSearchForm button::before,
#ylLawArticleSearchForm button::before,
#ylLawsIndexArticleSearchForm button::before {
  content: "🔍";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05em;
  line-height: 1;
}
.ai-search-box button[type="submit"]:hover,
#ylLibraryIndexSearch .library-search-button:hover,
#ylLibrarySectionSearch .library-section-search-button:hover,
#contractsSmartLegalSearch .simple-search-button:hover,
#contractsSmartSearchForm button:hover,
#ylLawArticleSearchForm button:hover,
#ylLawsIndexArticleSearchForm button:hover {
  filter: brightness(1.03) !important;
  transform: none !important;
}
.ai-hero,
#ylLibrarySectionSearch .library-section-search-panel,
#contractsSmartLegalSearch .smart-search-panel {
  border-radius: 24px !important;
}
@media (max-width: 700px) {
  .ai-result-title-link,
  #aiSearchResults .ai-result h2,
  #contractsSmartLegalSearch .ai-result h2,
  #contractsSmartSearchResults .ai-result h2,
  #ylLibraryIndexSearch .ai-result h2 a,
  #ylLibrarySectionSearch .ai-result h2 a,
  .yl-laws-index-law-title,
  .yl-laws-index-article-link,
  .yl-law-article-title {
    padding: 7px 10px;
    border-radius: 13px !important;
    font-size: 0.98rem !important;
  }
  .yl-laws-index-article-link,
  .yl-law-article-title {
    border-radius: 999px !important;
  }
  .ai-search-box,
  #ylLibraryIndexSearchForm,
  #ylLibrarySectionSearchForm,
  #contractsSmartLegalSearch .simple-search-form,
  #contractsSmartSearchForm,
  #ylLawArticleSearchForm,
  #ylLawsIndexArticleSearchForm {
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0 !important;
    min-height: 54px !important;
    padding: 3px !important;
    border-radius: 15px !important;
  }
  .ai-search-box input,
  #ylLibraryIndexSearchInput,
  #ylLibrarySectionSearchInput,
  #contractsSmartLegalSearch input,
  #contractsSmartSearchForm input,
  #ylLawArticleSearchForm input,
  #ylLawsIndexArticleSearchForm input {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 12px !important;
    border-radius: 0 12px 12px 0 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    transform: translateZ(0);
  }
  .ai-search-box button[type="submit"],
  #ylLibraryIndexSearch .library-search-button,
  #ylLibrarySectionSearch .library-section-search-button,
  #contractsSmartLegalSearch .simple-search-button,
  #contractsSmartSearchForm button,
  #ylLawArticleSearchForm button,
  #ylLawsIndexArticleSearchForm button {
    flex: 0 0 82px !important;
    width: 82px !important;
    min-width: 76px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 8px !important;
    border-radius: 12px 0 0 12px !important;
    font-size: 14px !important;
  }
}
/* YL-CLS-PDF-SAVE-GUARD:START */
.yl-pdf-save-btn::before,
[data-yl-pdf-save]::before,
.yl-pdf-save-btn::after,
[data-yl-pdf-save]::after {
  display: none !important;
  content: none !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}
.yl-pdf-save-btn svg,
[data-yl-pdf-save] svg {
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
} /* YL-CLS-PDF-SAVE-GUARD:END */
