/*
 * LegalInfo 2026 design layer (child theme of "legalinfo").
 * Loaded after every parent stylesheet. Markup and URLs are untouched:
 * this file only restyles the existing templates.
 */

:root {
  --li-ink: #0E1014;
  --li-text: #2B2F36;
  --li-text-2: #4A4F57;
  --li-muted: #5F6670;
  --li-line: #E6E8EC;
  --li-line-2: #D5D8DD;
  --li-surface: #F5F6F8;
  --li-accent: #D91A1A;
  --li-accent-h: #B51515;
  --li-accent-soft: #FCEDED;
  --li-dark: #0E1014;
  --li-dark-2: #1A1D23;
  --li-dark-muted: #A9AFB8;
  --li-r-sm: 10px;
  --li-r: 14px;
  --li-r-lg: 20px;
  --li-shadow: 0 1px 2px rgba(14,16,20,.04), 0 12px 32px -18px rgba(14,16,20,.22);
  --li-font: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --li-font-head: 'Rubik', 'Heebo', system-ui, sans-serif;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--li-font) !important;
  color: var(--li-text);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: var(--li-font-head);
  color: var(--li-ink);
  letter-spacing: -0.01em;
}
body a { color: inherit; transition: color .15s ease; }
body a:hover { color: var(--li-accent); text-decoration: none; }
body img { max-width: 100%; height: auto; }
body strong, body b, body .bold { font-weight: 600; }
:focus-visible { outline: 2px solid var(--li-ink) !important; outline-offset: 2px; box-shadow: 0 0 0 4px #FFFFFF !important; }
::selection { background: var(--li-accent-soft); color: var(--li-ink); }
@media (min-width: 1280px) {
  body .container { max-width: 1240px; }
}
body button, body input, body select, body textarea { font-family: var(--li-font); }

/* ---------- Header ---------- */
body .header .main-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--li-line);
  box-shadow: none;
}
body .header .header-top { align-items: center; min-height: 76px; padding: 8px 0; }
body .header-top p:before { display: none; }
body .header .header-left img,
body .mobile-header .home-logo img { max-height: 52px; width: auto; }
body .header .menu-sec .menu,
body .mobile-header .menu-icon {
  cursor: pointer;
}
body .header .menu-sec .menu img,
body .mobile-header .menu-icon img { width: 26px; height: auto; opacity: .85; }
body .header .header-search form {
  position: relative;
  display: flex; align-items: center;
  background: var(--li-surface);
  border: 1px solid var(--li-line);
  border-radius: 999px;
  height: 46px; padding: 0 16px 0 44px;
}
body .header .header-search input.search,
body .mobile-header .home-search input.search {
  border: 0 !important; background: transparent !important; outline: none;
  width: 100% !important; height: 44px !important;
  font-size: 15.5px !important; color: var(--li-ink) !important;
  padding: 0 !important; margin: 0 !important; box-shadow: none !important;
}
body .header .header-search input.search::placeholder,
body .mobile-header .home-search input.search::placeholder { color: var(--li-muted); opacity: 1; font-size: 15.5px; }
body .header .header-search .search-btn-top,
body .mobile-header .home-search .search-btn-top {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px !important; height: 18px !important; opacity: .7; margin: 0 !important; border: 0 !important;
}
body .header .btn { display: flex; justify-content: center; gap: 10px; padding: 0; }
body .header .btn a { text-decoration: none; }
body .header-top-btn,
body .side-menu-btn {
  height: 44px; padding: 0 20px !important; border-radius: 999px !important;
  background: var(--li-ink) !important; color: #FFFFFF !important;
  border: 1px solid var(--li-ink) !important;
  font-size: 15px !important; font-weight: 500; line-height: 1;
  width: auto !important; min-width: 0 !important; margin: 0 !important;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s ease, color .15s ease;
}
body .header .btn a:first-child .header-top-btn {
  background: var(--li-accent) !important; border-color: var(--li-accent) !important;
}
body .header-top-btn:hover { background: #FFFFFF !important; color: var(--li-ink) !important; }
body .header .btn a:first-child .header-top-btn:hover { background: var(--li-accent-h) !important; border-color: var(--li-accent-h) !important; color: #FFFFFF !important; }
body .header-top-btn i, body .side-menu-btn i { font-size: 13px; }

/* side drawer menu */
body .menu-side-bar { background: #FFFFFF; box-shadow: -24px 0 60px -30px rgba(14,16,20,.45); }
body .menu-side-bar ul li a {
  font-family: var(--li-font-head); color: var(--li-ink) !important; font-size: 20px; font-weight: 500;
}
body .menu-side-bar ul li { border-bottom: 1px solid var(--li-line); }
body .menu-side-bar ul li a:hover { color: var(--li-accent) !important; }
body .menu-side-bar .side-menu-btn { margin: 10px 0 0 !important; width: 100% !important; justify-content: center; }
body .layer { background: rgba(14,16,20,.45); }

/* floating "personal consultation" tab */
body .side-box { top: auto !important; bottom: 24px; left: 16px; }
body .side-box img { width: 44px; height: auto; border-radius: 0 12px 12px 0; box-shadow: var(--li-shadow); }

/* ---------- Page banner (inner pages): clean, no stock photo ---------- */
body .banner:not(.home-banner) {
  background-image: none !important;
  background: var(--li-surface) !important;
  height: auto !important; min-height: 0 !important;
  padding: 36px 0 34px !important;
  border-bottom: 1px solid var(--li-line);
  position: relative;
}
body .banner:not(.home-banner):before,
body .banner:not(.home-banner):after { display: none !important; }
body .banner:not(.home-banner) .banner_content { padding-top: 0 !important; padding-bottom: 0 !important; }
body .banner:not(.home-banner) h1 {
  color: var(--li-ink) !important;
  font-family: var(--li-font-head) !important;
  font-size: clamp(28px, 3.6vw, 44px) !important;
  font-weight: 600 !important; line-height: 1.15 !important;
  letter-spacing: -0.02em; margin: 6px 0 0 !important; padding: 0 !important;
  text-shadow: none !important; text-align: right;
}
body .banner .breadcrumb { background: transparent !important; padding: 0 !important; margin: 0 0 6px !important; }
body .banner .breadcrumb ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
body .banner .breadcrumb,
body .banner .breadcrumb a,
body .banner .breadcrumb li,
body .banner .breadcrumb span { color: var(--li-muted) !important; font-size: 14px !important; text-decoration: none !important; text-shadow: none !important; }
body .banner .breadcrumb a:hover { color: var(--li-accent) !important; }
body .category-num-show { background: #FFFFFF; color: var(--li-muted); border-bottom: 1px solid var(--li-line); }
body .category-num-show p, body .category-num-show span { color: var(--li-muted) !important; font-size: 14px; }

/* ---------- Home hero ---------- */
body .banner.home-banner {
  background-image: none !important;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--li-surface) 100%) !important;
  height: auto !important; padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px) !important;
  border-bottom: 1px solid var(--li-line);
}
body .home-banner .banner_content { padding-top: 0 !important; }
body .home-banner p.home-p {
  font-family: var(--li-font-head) !important;
  color: var(--li-muted) !important;
  font-size: clamp(22px, 2.4vw, 30px) !important; font-weight: 500 !important;
  line-height: 1.2 !important; margin: 0 0 22px !important; padding: 0 !important;
  text-shadow: none !important; letter-spacing: -0.02em;
}
body .home-banner p.home-p strong {
  display: block; color: var(--li-ink) !important;
  font-size: clamp(36px, 5vw, 64px) !important; font-weight: 600 !important; line-height: 1.06; margin-top: 6px;
}
body .home-banner .redbutton { text-decoration: none !important; }
body .home-banner-btn {
  height: 54px; padding: 0 28px !important; width: auto !important;
  background: var(--li-accent) !important; color: #FFFFFF !important;
  border: 0 !important; border-radius: 999px !important;
  font-size: 17px !important; font-weight: 600; box-shadow: none !important;
}
body .home-banner-btn:hover { background: var(--li-accent-h) !important; }
body .home-banner .banner-bottom { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--li-line); padding-top: 22px; }
body .home-banner .banner-bottom p {
  color: var(--li-muted) !important; text-align: right !important;
  font-size: 15px !important; font-weight: 400 !important; padding: 0 !important; margin: 0;
}
body .home-banner .banner-bottom p:before,
body .home-banner .banner-bottom p:after,
body .home-banner .banner-bottom-col p:first-child:after { display: none !important; }
body .home-banner .banner-bottom .counter {
  display: block; font-family: var(--li-font-head); color: var(--li-ink);
  font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
}

/* ---------- Home: practice-area cards ---------- */
body .home_sec-1 { padding: clamp(40px, 6vw, 80px) 0 20px !important; background: #FFFFFF; }
body .home_sec-1 .row > [class*="col-"] { margin-bottom: 18px; }
body .home_sec-1-one {
  background: #FFFFFF !important; border: 1px solid var(--li-line) !important;
  border-radius: var(--li-r-lg) !important; box-shadow: none !important;
  padding: 26px 24px 18px !important; height: 100%; position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
}
body .home_sec-1-one:hover { box-shadow: var(--li-shadow) !important; transform: translateY(-2px); }
body .home_sec-1-one .circle-top,
body .circle-top, body .circle-top-2 {
  background: var(--li-accent-soft) !important; border: 0 !important; box-shadow: none !important;
}
body .home_sec-1-one h2 { font-size: 20px !important; font-weight: 600 !important; margin: 0 0 10px !important; text-align: right !important; }
body .home_sec-1-one h2 a { color: var(--li-ink) !important; }
body .home_sec-1-one hr { border-color: var(--li-line); margin: 12px 0 4px; }
body .home_sec-1-one ul { padding: 0 !important; margin: 0 !important; }
body .home_sec-1-one ul li {
  border-bottom: 1px solid #EEF0F3 !important; padding: 0 !important; background-image: none !important;
  list-style: none;
}
body .home_sec-1-one ul li:last-child { border-bottom: 0 !important; }
body .home_sec-1-one ul li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0 !important; color: var(--li-text-2) !important; font-size: 15.5px !important;
}
body .home_sec-1-one ul li a:after { content: "‹"; color: #9AA0A8; font-size: 18px; line-height: 1; }
body .home_sec-1-one ul li a:hover { color: var(--li-ink) !important; }
body .home_sec-1-one ul li.red a { color: var(--li-accent) !important; font-weight: 600; }
body .home_sec-1-one ul li.red a:after { color: var(--li-accent); }

/* ---------- Home: about block + lead form ---------- */
body .home-sec-3 {
  background: var(--li-dark) !important; background-image: none !important;
  margin: clamp(24px, 4vw, 48px) auto; padding: clamp(36px, 5vw, 64px) 0 !important;
  color: #E6E8EC;
}
body .home-sec-3 h1 {
  color: #FFFFFF !important; font-size: clamp(26px, 2.6vw, 36px) !important; font-weight: 600 !important;
  line-height: 1.2 !important; margin: 0 0 18px !important; text-align: right;
}
body .home-sec-3, body .home-sec-3 p, body .home-sec-3 div { color: #C9CDD3; font-size: 16px; line-height: 1.75; }
body .home-sec-3 strong { color: #FFFFFF; }
body .home-sec-3 a { color: #FFFFFF !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
body .home-sec-3 a:hover { text-decoration-color: #FFFFFF; }
body .home-sec-3 .home-sec-3-mid .one { align-items: center; margin-bottom: 18px; }
body .home-sec-3 .home-sec-3-mid img { filter: brightness(0) invert(1); opacity: .9; max-width: 44px; }
body .home-sec-3 .home-sec-3-mid p { color: #FFFFFF !important; font-size: 16px !important; }
body .home-sec-3 .home-sec-3-mid { border-color: rgba(255,255,255,.12) !important; }
body .home-sec-3-col-1 {
  background: #FFFFFF !important; border-radius: var(--li-r-lg) !important; padding: 26px 24px !important;
  box-shadow: none !important;
}
body .home-sec-3-col-1 h3 { color: var(--li-ink) !important; font-size: 22px !important; font-weight: 600 !important; margin: 0 0 14px !important; text-align: right !important; }
body .home-sec-3-col-1 a.home-sec-3-btn, body .home-sec-3 .about-btn { text-decoration: none !important; }

/* ---------- Home: lawyer-index tiles (also on profiles) ---------- */
body .home-sec-4 { padding: clamp(36px, 5vw, 72px) 0 !important; background: #FFFFFF; }
body .home-sec-4 h2,
body .home-sec-5 h2,
body .categories-one h2,
body .article-sec-2 h2 {
  color: var(--li-ink) !important; font-size: clamp(28px, 3.2vw, 40px) !important; font-weight: 600 !important;
  letter-spacing: -0.02em; margin: 0 0 28px !important; text-align: right !important; padding: 0 15px;
}
body .home-sec-4-row-2 > [class*="col-"] { margin-bottom: 16px; }
body .home-sec-4-one {
  background: #FFFFFF !important; border: 1px solid var(--li-line) !important; border-radius: var(--li-r-lg) !important;
  box-shadow: none !important; height: 100%; padding-bottom: 10px; overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
body .home-sec-4-one:hover { box-shadow: var(--li-shadow) !important; transform: translateY(-2px); }
body .home-sec-4-one-head { background: transparent !important; border: 0 !important; }
body .home-sec-4-one-head h3 { font-size: 17px !important; font-weight: 600 !important; color: var(--li-ink) !important; }
body .home-sec-4-one p { color: var(--li-muted) !important; font-size: 14px !important; line-height: 1.5; }
body .home-sec-4-one hr.line { border-color: var(--li-line); }
body .home-sec-4-one a { color: var(--li-accent) !important; font-weight: 600; font-size: 14.5px; }
body .circle-top-2 img, body .circle-top img { filter: none; }

/* ---------- Article cards (home "מידע מקצועי", archive, related) ---------- */
body .home-sec-5,
body .article-sec-2 { background: var(--li-surface) !important; padding: clamp(40px, 6vw, 80px) 0 !important; }
body .jumbotron { background: #FFFFFF !important; padding: clamp(28px, 4vw, 48px) 0 !important; margin: 0 !important; border-radius: 0; }
body .home-sec-5-row-2 > [class*="col-"],
body .categories-one-row > [class*="col-"],
body .article-sec-2-row-one > [class*="col-"] { margin-bottom: 22px; display: flex; flex-direction: column; }
body .home-sec-5-row-2 > [class*="col-"] > *,
body .categories-one-row > [class*="col-"] > *,
body .article-sec-2-row-one > [class*="col-"] > * { position: relative; z-index: 1; }
body .home-sec-5-row-2 > [class*="col-"]:before,
body .categories-one-row > [class*="col-"]:before,
body .article-sec-2-row-one > [class*="col-"]:before {
  content: ""; position: absolute; inset: 0 15px; background: #FFFFFF;
  border: 1px solid var(--li-line); border-radius: var(--li-r-lg); z-index: 0;
}
body .img-over {
  border: 0 !important; border-radius: var(--li-r-lg) var(--li-r-lg) 0 0 !important; overflow: hidden;
  margin: 0 !important; background: #E9EBEF; aspect-ratio: 16 / 10;
}
body .img-over img { width: 100% !important; height: 100% !important; object-fit: cover; border: 0 !important; border-radius: 0 !important; display: block; }
body .home-sec-5-row-2 h3,
body .categories-one-row h3,
body .article-sec-2-row-one h3 {
  font-size: 17.5px !important; font-weight: 600 !important; line-height: 1.4 !important;
  color: var(--li-ink) !important; padding: 18px 20px 6px !important; margin: 0 !important; text-align: right !important;
}
body .home-sec-5-row-2 a:hover h3,
body .categories-one-row a:hover h3,
body .article-sec-2-row-one a:hover h3 { color: var(--li-accent) !important; }
body .home-sec-5-row-2 p,
body .categories-one-row p,
body .article-sec-2-row-one p {
  color: var(--li-text-2) !important; font-size: 14.5px !important; line-height: 1.6 !important;
  padding: 0 20px 20px !important; margin: 0 !important; text-align: right !important;
}
body .home-sec-5-row-2 p br:first-child,
body .categories-one-row p br:first-child { display: none; }
body .home-sec-5 .text-center a,
body .home-sec-5 .text-center button,
body .all-articles-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 28px !important;
  border-radius: 999px !important; background: var(--li-ink) !important; color: #FFFFFF !important;
  border: 0 !important; font-size: 16px !important; font-weight: 600; width: auto !important; text-decoration: none !important;
}

/* ---------- Two-column layout: content + sidebar ---------- */
body .cate-sec-2 { padding: clamp(28px, 4vw, 56px) 0 !important; background: #FFFFFF; }
body .cate-sec-2-left-col { padding-top: 0 !important; }
body .cate-sec-2-left,
body .cate-sec-2-left-2 {
  width: auto !important; height: auto !important; max-width: 380px; margin: 0 0 20px auto !important; float: none;
  border-radius: var(--li-r-lg) !important;
}
body .cate-sec-2-left {
  background: var(--li-dark) !important; padding: 24px 22px 26px !important; box-shadow: none !important;
}
body .cate-sec-2-left h3 {
  color: #FFFFFF !important; font-size: 22px !important; font-weight: 600 !important; line-height: 1.25 !important;
  padding: 0 0 14px !important; margin: 0 !important; text-align: right !important;
}
body .cate-sec-2-left h3 span, body .cate-sec-2-left h3 .red, body .cate-sec-2-left h3 font { color: #F08A84 !important; display: block; font-size: 16px; font-weight: 500; margin-top: 4px; }
body .cate-sec-2-left form { display: flex; flex-direction: column; gap: 10px; }
body .cate-sec-2-left form .row { margin: 0; display: flex; flex-direction: column; gap: 10px; }
body .cate-sec-2-left form .row > * { padding: 0; max-width: 100%; flex: 0 0 auto; }
body .cate-sec-2-left input[type="text"],
body .cate-sec-2-left input[type="tel"],
body .cate-sec-2-left input[type="email"],
body .cate-sec-2-left select,
body .cate-sec-2-left textarea {
  width: 100% !important; height: 48px !important; margin: 0 !important;
  border: 1px solid transparent !important; border-radius: 12px !important;
  background-color: #FFFFFF !important; color: var(--li-ink) !important;
  padding: 0 14px !important; font-size: 16px !important; box-shadow: none !important;
}
body .cate-sec-2-left textarea { height: 96px !important; padding: 12px 14px !important; }
body .cate-sec-2-left select { background-position: left 14px center !important; }
body .cate-sec-2-left input::placeholder, body .cate-sec-2-left textarea::placeholder { color: var(--li-muted) !important; font-size: 15.5px !important; }
body .cate-sec-2-left input[type="submit"],
body .cate-sec-2-left input[type="button"],
body .cate-sec-2-left button {
  width: 100% !important; height: 52px !important; margin: 8px 0 0 !important;
  background: var(--li-accent) !important; border: 0 !important; border-radius: 999px !important;
  color: #FFFFFF !important; font-size: 17px !important; font-weight: 600 !important; cursor: pointer;
}
body .cate-sec-2-left input[type="submit"]:hover,
body .cate-sec-2-left input[type="button"]:hover,
body .cate-sec-2-left button:hover { background: var(--li-accent-h) !important; color: #FFFFFF !important; }
body .cate-sec-2-left-2 { background: var(--li-surface) !important; border: 1px solid var(--li-line); padding: 18px 18px 8px !important; }
body .cate-sec-2-left-2 h3 { color: var(--li-ink) !important; font-size: 18px !important; font-weight: 600 !important; padding: 0 0 8px !important; text-align: right; }
body .cate-sec-2-left-2 ul { margin: 0; padding: 0; }
body .cate-sec-2-left-2 ul li { border-bottom: 1px solid var(--li-line) !important; background-image: none !important; list-style: none; }
body .cate-sec-2-left-2 ul li:last-child { border-bottom: 0 !important; }
body .cate-sec-2-left-2 ul li a { display: block; padding: 10px 0 !important; color: var(--li-text-2) !important; font-size: 15px !important; }
body .cate-sec-2-left-2 ul li a:hover { color: var(--li-accent) !important; }
body .side_banners { padding: 8px 0 !important; max-width: 380px; margin-right: auto; }
body .side_banners img { border-radius: var(--li-r) !important; }

/* ---------- Article page ---------- */
body .article-sec-1 { padding: 0 !important; }
body .article-sec-1 .container { max-width: 100%; padding: 0; }
body .cate-sec-2-right .article-sec-1,
body .cate-sec-2-right .article-sec-1 p,
body .cate-sec-2-right .article-sec-1 li {
  font-size: 18px !important; line-height: 1.8 !important; color: var(--li-text) !important;
}
body .cate-sec-2-right .article-sec-1 p { margin: 0 0 1.05em !important; text-align: right !important; }
body .cate-sec-2-right .article-sec-1 h2 {
  font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 600 !important; line-height: 1.3 !important;
  margin: 1.6em 0 .55em !important; color: var(--li-ink) !important;
}
body .cate-sec-2-right .article-sec-1 h3 {
  font-size: clamp(19px, 1.8vw, 22px) !important; font-weight: 600 !important; margin: 1.3em 0 .45em !important; color: var(--li-ink) !important;
}
body .cate-sec-2-right .article-sec-1 img { border-radius: var(--li-r) !important; margin: 4px 0 18px 24px; }
body .cate-sec-2-right .article-sec-1 a { color: var(--li-accent) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
body .cate-sec-2-right .article-sec-1 ul, body .cate-sec-2-right .article-sec-1 ol { padding-right: 1.3em; margin: 0 0 1em; }
body .cate-sec-2-right .article-sec-1 blockquote {
  border-right: 3px solid var(--li-accent); background: var(--li-surface); padding: 14px 18px; border-radius: var(--li-r-sm); margin: 0 0 1.2em;
}
body .cate-sec-2-right .article-sec-1 table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 16px; }
body .cate-sec-2-right .article-sec-1 td, body .cate-sec-2-right .article-sec-1 th { border: 1px solid var(--li-line); padding: 10px 12px; }
@media (min-width: 992px) {
  body .cate-sec-2-right .article-sec-1 { max-width: 760px; }
  body .cate-sec-2-right { padding-left: 32px !important; }
}

/* ---------- Lawyer list rows (index pages, forum header) ---------- */
body .cate-sec-2-right-bottom { margin: 0 !important; }
body .bottom-row-1 {
  background: #FFFFFF !important; border: 1px solid var(--li-line) !important; border-radius: var(--li-r-lg) !important;
  box-shadow: none !important; margin: 0 0 14px !important; padding: 18px 10px !important; align-items: center;
  transition: box-shadow .2s ease;
}
body .bottom-row-1:hover { box-shadow: var(--li-shadow) !important; }
body .bottom-row-1 .col-lg-2 img,
body .bottom-row-1 img.lawyer-img {
  width: 76px !important; height: 76px !important; object-fit: cover; border-radius: 50% !important;
  border: 1px solid var(--li-line) !important; background: var(--li-surface);
}
body .bottom-row-1 .text-sec h3,
body .bottom-row-1 .text-sec h2,
body .bottom-row-1 .text-sec a h3 {
  font-size: 19px !important; font-weight: 600 !important; color: var(--li-ink) !important; margin: 0 0 6px !important; text-align: right !important;
}
body .bottom-row-1 .text-sec p { color: var(--li-text-2) !important; font-size: 14.5px !important; line-height: 1.6 !important; text-align: right !important; margin: 0 !important; }
body .bottom-row-1 .btn_sec { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
body .bottom-row-1 .btn_sec a { text-decoration: none !important; display: block; }
body .bottom-row-1 .btn_sec button,
body .bottom-row-1 .btn_sec .cate-btn,
body .bottom-row-1 .btn_sec input[type="button"] {
  width: 100% !important; height: 42px !important; margin: 0 !important; border-radius: 999px !important;
  font-size: 15px !important; font-weight: 600 !important; padding: 0 14px !important; line-height: 1 !important;
  background: #FFFFFF !important; color: var(--li-ink) !important; border: 1px solid var(--li-line-2) !important;
}
body .bottom-row-1 .btn_sec a[href^="tel:"] button,
body .bottom-row-1 .btn_sec .cate-btn {
  background: var(--li-accent-soft) !important; color: var(--li-accent-h) !important; border-color: transparent !important;
  direction: ltr;
}
body .bottom-row-1 .btn_sec .sent-face,
body .bottom-row-1 .btn_sec .btn-primary {
  background: var(--li-ink) !important; color: #FFFFFF !important; border-color: var(--li-ink) !important;
}
body .bottom-row-1 .btn_sec button:hover { filter: brightness(.96); }
body .row-one { margin-bottom: 18px !important; }
body .row-one .text-field a, body .row-one .text-field {
  display: block; background: var(--li-surface) !important; border: 1px solid var(--li-line) !important;
  border-radius: 999px !important; padding: 10px 16px !important; margin-bottom: 8px; color: var(--li-ink) !important;
  font-size: 15px !important; text-align: center; box-shadow: none !important;
}
body .row-one .text-field a:hover { border-color: var(--li-accent) !important; color: var(--li-accent) !important; }
body .row-one .text-field { padding: 0 !important; background: transparent !important; border: 0 !important; }

/* pagination */
body .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 28px 0 8px !important; padding: 0; }
body .pagination li a, body .pagination li span, body .pagination .page-link {
  min-width: 42px; height: 42px; display: inline-flex !important; align-items: center; justify-content: center;
  border-radius: 999px !important; border: 1px solid var(--li-line) !important; background: #FFFFFF !important;
  color: var(--li-ink) !important; font-size: 15px; padding: 0 12px !important; margin: 0 !important;
}
body .pagination li.active a, body .pagination li.active span, body .pagination .active .page-link {
  background: var(--li-ink) !important; color: #FFFFFF !important; border-color: var(--li-ink) !important;
}

/* lawyer contact form block under lists */
body .cate-right-sec-3 {
  background: var(--li-surface) !important; border: 1px solid var(--li-line); border-radius: var(--li-r-lg) !important;
  padding: 26px 24px !important; margin: 28px 0 !important; box-shadow: none !important;
}
body .cate-right-sec-3 h2 { font-size: 24px !important; font-weight: 600 !important; color: var(--li-ink) !important; margin: 0 0 16px !important; text-align: right !important; }
body .cate-right-sec-3 input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]), body .cate-right-sec-3 select, body .cate-right-sec-3 textarea {
  width: 100% !important; height: 48px; border: 1px solid #8E949C !important; border-radius: 12px !important;
  background-color: #FFFFFF !important; padding: 0 14px !important; font-size: 16px !important; color: var(--li-ink) !important; box-shadow: none !important;
}
body .cate-right-sec-3 textarea { height: 110px; padding: 12px 14px !important; }
body .cate-right-sec-3 input[type="submit"], body .cate-right-sec-3 input[type="button"], body .cate-right-sec-3 button {
  background: var(--li-accent) !important; color: #FFFFFF !important; border: 0 !important; border-radius: 999px !important;
  height: 52px !important; font-weight: 600 !important; font-size: 17px !important; cursor: pointer;
}
body .cate-right-sec-4 { padding: 10px 0 0 !important; }
body .cate-right-sec-4 h2 { font-size: 24px !important; font-weight: 600 !important; color: var(--li-ink) !important; text-align: right !important; margin: 0 0 16px !important; }

/* ---------- Lawyer profile ---------- */
body #lawyer-1-banner { padding-bottom: 72px !important; }
body .lawyer-banner-bottom { background: #FFFFFF !important; border-bottom: 1px solid var(--li-line); padding: 0 0 14px !important; }
body .lawyer-banner-bottom-img img {
  width: 120px !important; height: 120px !important; object-fit: cover; border-radius: 50% !important;
  border: 4px solid #FFFFFF !important; box-shadow: var(--li-shadow) !important; background: var(--li-surface);
}
body .cate-sec-2-right > h2 {
  font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 600 !important; color: var(--li-ink) !important;
  margin: 8px 0 14px !important; text-align: right !important;
}
body .cate-sec-2-right > p, body .cate-sec-2-right > div > p { font-size: 17px; line-height: 1.75; color: var(--li-text) !important; }
body #map { border-radius: var(--li-r-lg); overflow: hidden; border: 1px solid var(--li-line); }

/* ---------- Forums ---------- */
body .fourm_search_sec { align-items: center; margin: 18px 0 !important; }
body .fourm_search_sec form { position: relative; }
body .fourm_search_sec input[type="text"] {
  width: 100% !important; height: 48px !important; border: 1px solid var(--li-line-2) !important; border-radius: 999px !important;
  padding: 0 18px 0 48px !important; font-size: 15.5px !important; background: #FFFFFF !important; box-shadow: none !important;
}
body .fourm_search_sec input[type="submit"] { border-radius: 999px !important; }
body .ask-btn {
  height: 48px; padding: 0 22px !important; border-radius: 999px !important; border: 0 !important;
  background: var(--li-accent) !important; color: #FFFFFF !important; font-size: 16px !important; font-weight: 600 !important; width: auto !important;
}
body .ask-btn:hover { background: var(--li-accent-h) !important; }
body .search_section1 {
  border: 1px solid var(--li-line) !important; border-radius: var(--li-r-lg) !important; box-shadow: none !important;
  padding: 18px 18px 6px !important; margin: 0 0 14px !important; background: #FFFFFF !important;
}
body .search_section1 > .row { margin-bottom: 8px; }
body .search_section1 .search_right_col img { width: 40px; height: 40px; border-radius: 50%; background: var(--li-surface); }
body .search_section1 p .bold, body .search_section1 .bold { color: var(--li-ink); font-weight: 600; }
body .search_section1 .bold.red { color: var(--li-accent) !important; }
body .search_section1 .col-lg-2 p { color: var(--li-muted) !important; font-size: 13.5px !important; line-height: 1.5 !important; }
body .search_section1 #accordion .card { border: 0 !important; border-radius: var(--li-r) !important; overflow: hidden; }
body .card.blue-col { background: var(--li-surface) !important; }
body .card.pink-col { background: #FFF6F5 !important; border-right: 3px solid var(--li-accent) !important; }
body .search_section1 .card-header { padding: 12px 16px !important; }
body .search_section1 .card-header h5 {
  font-family: var(--li-font-head); font-size: 17px !important; font-weight: 600 !important; color: var(--li-ink) !important;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 !important;
}
body .search_section1 .card-header .btn-link {
  color: var(--li-accent) !important; font-size: 14px !important; font-weight: 600; text-decoration: none !important; padding: 0 !important; white-space: nowrap;
}
body .search_section1 .card-body { padding: 4px 16px 14px !important; }
body .search_section1 .card-body p { font-size: 16px !important; line-height: 1.75 !important; color: var(--li-text) !important; }
body .search_section1 .card-body ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; margin: 6px 0 4px !important; }
body .search_section1 .card-body ul li { list-style: none; }
body .add_coment_btn, body .consulting_btn {
  height: 40px; padding: 0 16px !important; border-radius: 999px !important; font-size: 14.5px !important; font-weight: 500 !important;
  border: 1px solid var(--li-line-2) !important; background: #FFFFFF !important; color: var(--li-ink) !important; width: auto !important;
}
body .consulting_btn { background: var(--li-ink) !important; color: #FFFFFF !important; border-color: var(--li-ink) !important; }
body .search_section1 p.alert { color: var(--li-muted) !important; font-size: 12.5px !important; padding: 0 !important; margin: 4px 0 0 !important; background: transparent; border: 0; }

/* ---------- Generic buttons ---------- */
body .cate-btn {
  border-radius: 999px !important; background: var(--li-accent) !important; color: #FFFFFF !important; border: 0 !important;
  height: 44px; padding: 0 18px !important; font-weight: 600; font-size: 15px !important;
}
body .btn-primary { background: var(--li-ink) !important; border-color: var(--li-ink) !important; border-radius: 999px !important; }
body .btn-primary:hover { background: #2B2F36 !important; }

/* ---------- Bottom lead bar ---------- */
body .category_bottom { background: var(--li-dark) !important; padding: clamp(28px, 4vw, 44px) 0 !important; }
body .category_bottom .form-content { align-items: center; row-gap: 10px; }
body .category_bottom h3 { color: #FFFFFF !important; font-size: 22px !important; font-weight: 600 !important; line-height: 1.25 !important; text-align: right; }
body .category_bottom h3 span, body .category_bottom h3 .red { color: #F08A84 !important; display: block; font-size: 15px; font-weight: 500; }
body .category_bottom input[type="text"],
body .category_bottom input[type="tel"],
body .category_bottom input[type="email"],
body .category_bottom select {
  width: 100% !important; height: 48px !important; border: 0 !important; border-radius: 12px !important;
  background-color: #FFFFFF !important; color: var(--li-ink) !important; padding: 0 14px !important; font-size: 16px !important; box-shadow: none !important;
}
body .category_bottom select { background-position: left 14px center !important; }
body .category_bottom input::placeholder { font-size: 15.5px !important; color: var(--li-muted) !important; padding: 0 !important; }
body .category_bottom input[type="submit"], body .category_bottom input[type="button"], body .category_bottom button {
  width: 100% !important; height: 50px !important; border: 0 !important; border-radius: 999px !important;
  background: var(--li-accent) !important; color: #FFFFFF !important; font-size: 17px !important; font-weight: 600 !important; cursor: pointer;
}
body .category_bottom input[type="submit"]:hover, body .category_bottom input[type="button"]:hover { background: var(--li-accent-h) !important; }

/* ---------- Footer ---------- */
body .footer { background: var(--li-dark) !important; color: var(--li-dark-muted); padding: clamp(44px, 6vw, 72px) 0 28px !important; }
body .footer h3, body .footer h4 { color: #FFFFFF !important; font-size: 16px !important; font-weight: 600 !important; margin: 0 0 14px !important; text-align: right; }
body .footer ul { padding: 0 !important; margin: 0 !important; }
body .footer ul li { list-style: none; padding: 0 !important; margin: 0 0 9px !important; background-image: none !important; }
body .footer ul li a, body .footer a { color: var(--li-dark-muted) !important; font-size: 14.5px !important; line-height: 1.5; }
body .footer ul li a:hover, body .footer a:hover { color: #FFFFFF !important; }
body .footer .border { border-color: rgba(255,255,255,.12) !important; background: rgba(255,255,255,.12) !important; height: 1px; }
body .footer .bottom-footer, body .footer .bottom-footer p { color: #8E949C !important; font-size: 13px !important; line-height: 1.7; }
body .footer .ft-logo img { max-width: 170px; filter: none; }

/* ---------- Static pages, forms, modals ---------- */
body .about-sec, body .contact-sec, body .page-content, body .terms-sec { font-size: 17px; line-height: 1.75; color: var(--li-text); }
body .modal-content { border-radius: var(--li-r-lg) !important; border: 0 !important; overflow: hidden; }
body .modal-header { background: var(--li-dark) !important; border: 0 !important; }
body .modal-header h3, body .modal-header h4, body .modal-header h5 { color: #FFFFFF !important; }
body .modal-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]), body .modal-body select, body .modal-body textarea {
  border: 1px solid #8E949C !important; border-radius: 12px !important; height: 48px; padding: 0 14px !important; font-size: 16px !important; box-shadow: none !important;
}
body .modal-body textarea { height: 110px; padding: 12px 14px !important; }
body .modal-body input[type="submit"], body .modal-body input[type="button"], body .modal-body button[type="submit"] {
  background: var(--li-accent) !important; color: #FFFFFF !important; border: 0 !important; border-radius: 999px !important; height: 50px; font-weight: 600;
}
body .gform_wrapper input[type="text"], body .gform_wrapper input[type="email"], body .gform_wrapper input[type="tel"],
body .gform_wrapper textarea, body .gform_wrapper select {
  border: 1px solid #8E949C !important; border-radius: 12px !important; min-height: 48px; padding: 0 14px !important; font-size: 16px !important;
}
body .gform_wrapper textarea { padding: 12px 14px !important; }
body .gform_wrapper .gform_button, body .gform_wrapper input[type="submit"] {
  background: var(--li-accent) !important; color: #FFFFFF !important; border: 0 !important; border-radius: 999px !important;
  height: 52px; padding: 0 30px !important; font-weight: 600; font-size: 17px !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
  body .cate-sec-2-left, body .cate-sec-2-left-2, body .side_banners { max-width: 100%; margin-left: 0 !important; }
  body .cate-sec-2-right { padding-left: 15px !important; }
}
@media (max-width: 767px) {
  body .mobile-header { background: #FFFFFF; border-bottom: 1px solid var(--li-line); padding: 8px 0 10px; }
  body .mobile-header .mobile-header-1 { align-items: center; }
  body .mobile-header .home-search form {
    position: relative; background: var(--li-surface); border: 1px solid var(--li-line);
    border-radius: 999px; height: 44px; padding: 0 14px 0 40px; display: flex; align-items: center;
  }
  body .mobile-header .home-btn .header-top-btn { height: 44px; font-size: 14px !important; padding: 0 14px !important; background: var(--li-accent) !important; border-color: var(--li-accent) !important; }
  body .banner:not(.home-banner) { padding: 22px 0 20px !important; }
  body .home-banner p.home-p strong { font-size: 34px !important; }
  body .bottom-row-1 { padding: 16px 6px !important; text-align: right; }
  body .bottom-row-1 .col-lg-2 { margin-bottom: 8px; }
  body .bottom-row-1 .btn_sec { margin-top: 12px; flex-direction: row; flex-wrap: wrap; }
  body .bottom-row-1 .btn_sec > * { flex: 1 1 140px; }
  body .cate-sec-2-right .article-sec-1 img { float: none !important; margin: 0 0 16px !important; width: 100% !important; }
  body .side-box { bottom: 16px; left: 10px; }
  body .footer [class*="col-"] { margin-bottom: 22px; }
  body .search_section1 .card-header h5 { flex-wrap: wrap; }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Legacy neutralization (fixed px widths, decorative pseudo-elements)
   ===================================================================== */
body .header-search:after,
body .header-search p:after,
body .banner_content a.redbutton:before,
body .banner_content a.redbutton:after,
body .banner_content a:before,
body .banner_content a:after,
body .banner_content p:after,
body .banner_content p::after,
body .home_sec-1-one ul li:before { display: none !important; content: none !important; }

/* header search */
body .header .header-search { padding: 0 !important; max-width: none !important; }
body .header .header-search input[type="text"],
body .mobile-header .home-search input[type="text"] {
  font-size: 15.5px !important; width: 100% !important; padding: 0 !important; text-align: right !important; color: var(--li-ink) !important;
}
body .header .header-search input[type="text"]::placeholder,
body .mobile-header .home-search input[type="text"]::placeholder { color: var(--li-muted) !important; font-size: 15.5px !important; }
body .header .header-search .search-btn-top,
body .mobile-header .home-search .search-btn-top { left: 14px !important; top: 50% !important; }

/* home practice-area cards */
body .home_sec-1-one { width: auto !important; height: auto !important; min-height: 100%; padding-top: 24px !important; }
body .home_sec-1-one h2 { padding: 4px 0 0 62px !important; min-height: 46px; display: flex; align-items: center; }
body .home_sec-1-one .circle-top {
  position: absolute !important; top: 22px !important; left: 22px !important; right: auto !important;
  width: 46px !important; height: 46px !important; border-radius: 14px !important; padding: 0 !important;
  display: grid !important; place-items: center; background-image: none !important;
}
body .home_sec-1-one .circle-top img { max-width: 28px !important; max-height: 28px; width: auto !important; }
body .home_sec-1-one ul li { line-height: 1.4 !important; }
body .home_sec-1-one ul li a { padding-right: 0 !important; }

/* home about + lead form */
body .home-sec-3-col-1 { width: auto !important; height: auto !important; margin: 0 !important; }
body .home-sec-3-col-1 h3 { padding: 0 !important; line-height: 1.25 !important; }
body .home-sec-3-col-1 form { display: flex; flex-direction: column; gap: 10px; }
body .home-sec-3-col-1 input[type="text"],
body .home-sec-3-col-1 input[type="tel"],
body .home-sec-3-col-1 input[type="email"],
body .home-sec-3-col-1 select {
  width: 100% !important; height: 48px !important; margin: 0 !important;
  border: 1px solid #8E949C !important; border-radius: 12px !important; background-color: #FFFFFF !important;
  padding: 0 14px !important; font-size: 16px !important; color: var(--li-ink) !important;
}
body .home-sec-3-col-1 select { background-position: left 14px center !important; }
body .home-sec-3-col-1 input::placeholder { font-size: 15.5px !important; color: var(--li-muted) !important; }
body .home-sec-3-col-1 input[type="submit"],
body .home-sec-3-col-1 input[type="button"] {
  width: 100% !important; height: 52px !important; margin: 8px 0 0 !important; border: 0 !important; border-radius: 999px !important;
  background: var(--li-accent) !important; color: #FFFFFF !important; font-size: 17px !important; font-weight: 600 !important;
}
body .home-sec-3-col-1 input[type="submit"]:hover { background: var(--li-accent-h) !important; color: #FFFFFF !important; }
body .home-sec-3 .more-btn, body .home-sec-3 a[href*="/about/"] button { border-radius: 999px !important; }

/* lawyer rows: buttons */
body .bottom-row-1 .btn_sec { flex: 0 0 190px !important; max-width: 190px !important; }
body .bottom-row-1 .text-sec { flex: 1 1 0 !important; max-width: none !important; }
body .bottom-row-1 .col-lg-2, body .bottom-row-1 .col-md-2 { flex: 0 0 104px !important; max-width: 104px !important; }
body .bottom-row-1 .btn_sec .cate-btn,
body .bottom-row-1 .btn_sec .sent-face,
body .bottom-row-1 .btn_sec .learn-more {
  width: 100% !important; height: 42px !important; margin: 0 !important; border-radius: 999px !important;
  font-size: 14.5px !important; font-weight: 600 !important; padding: 0 10px !important; line-height: 1 !important;
  white-space: nowrap; display: inline-flex !important; align-items: center; justify-content: center;
}
body .bottom-row-1 .btn_sec .cate-btn { background: var(--li-accent-soft) !important; color: var(--li-accent-h) !important; border: 0 !important; direction: ltr; }
body .bottom-row-1 .btn_sec .sent-face { background: var(--li-ink) !important; color: #FFFFFF !important; border: 0 !important; }
body .bottom-row-1 .btn_sec .learn-more { background: #FFFFFF !important; color: var(--li-ink) !important; border: 1px solid var(--li-line-2) !important; }
body .bottom-row-1.category-1 { border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; margin: 8px 0 14px !important; }
body .bottom-row-1.category-1 h2 { font-size: 24px !important; font-weight: 600 !important; color: var(--li-ink) !important; margin: 0 !important; text-align: right; }
body .category-right-bottom > hr, body .cate-sec-2-right-bottom > hr { display: none; }

/* long unbroken strings (user content) must not break the layout */
body .text-sec h3, body .text-sec p, body .search_section1 p, body .search_section1 h5,
body .article-sec-1 p, body .bottom-row-1 h3 { overflow-wrap: anywhere; word-break: break-word; }

/* article card excerpts carry inline font sizes from the old editor */
body .home-sec-5-row-2 p *, body .categories-one-row p *, body .article-sec-2-row-one p * {
  font-size: inherit !important; line-height: inherit !important; color: inherit !important; font-family: inherit !important;
}
body .article-sec-1 span[style*="font-size"], body .article-sec-1 font { font-size: inherit !important; }
body .article-sec-1 span[style*="font-family"] { font-family: inherit !important; }

/* sub-section links on section pages */
body .row-one .text-field { margin-bottom: 8px; }

/* card spacing: legacy top margins and fixed heights */
body .home_sec-1 .row > [class*="col-"],
body .home-sec-4-row-2 > [class*="col-"] { display: flex; }
body .home_sec-1-one,
body .home-sec-4-one { margin: 0 !important; min-height: 0 !important; flex: 1 1 auto; }
body .home_sec-1-one { padding-bottom: 14px !important; }

/* lawyer profile: tab bar under the banner (style the buttons, not the wrapping links) */
body .lawyer-banner-bottom-btn a, body .lawyer-banner-bottom-btn-1 a, body .lawyer-banner-bottom-btn-2 a {
  all: unset; display: inline-block; cursor: pointer;
}
body .lawyer-banner-bottom .services, body .lawyer-banner-bottom .con {
  height: 42px; padding: 0 18px !important; border-radius: 999px !important; font-size: 15px !important; font-weight: 500 !important;
  background: #FFFFFF !important; color: var(--li-ink) !important; border: 1px solid var(--li-line-2) !important;
  width: auto !important; margin: 0 !important; white-space: nowrap; line-height: 1 !important;
}
body .lawyer-banner-bottom .services.active { background: var(--li-ink) !important; color: #FFFFFF !important; border-color: var(--li-ink) !important; }
body .lawyer-banner-bottom .con { background: var(--li-accent) !important; color: #FFFFFF !important; border-color: var(--li-accent) !important; font-weight: 600 !important; }
body .lawyer-banner-bottom-right > .row { align-items: center; gap: 8px; flex-wrap: wrap; }
body .lawyer-banner-bottom-left { display: flex; align-items: center; justify-content: flex-end; }
body .lawyer-banner-bottom-btn, body .lawyer-banner-bottom-btn-1, body .lawyer-banner-bottom-btn-2 { margin: 0 !important; padding: 0 !important; width: auto !important; }
body .lawyer-banner-bottom-btn:after, body .lawyer-banner-bottom-btn:before { display: none !important; }

/* section page: list wrapper, inline lead form, related articles */
body .category-right-bottom, body .cate-sec-2-right-bottom { border: 0 !important; padding: 0 !important; box-shadow: none !important; background: transparent !important; }
body .cate-right-sec-3.form-content { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
body .cate-right-sec-3.form-content h2 { flex: 1 1 100%; }
body .cate-right-sec-3.form-content h2 .red { color: var(--li-accent) !important; }
body .cate-right-sec-3-one { flex: 1 1 160px; margin: 0 !important; width: auto !important; }
body .cate-right-sec-4 .row > [class*="col-"] { margin-bottom: 22px; font-size: 14.5px; line-height: 1.6; color: var(--li-text-2); }
body .cate-right-sec-4 .row > [class*="col-"] * { font-size: inherit; }
body .cate-right-sec-4 .row > [class*="col-"] span[style] { font-size: inherit !important; font-family: inherit !important; line-height: inherit !important; }
body .cate-right-sec-4 .img-over { border-radius: var(--li-r) !important; margin-bottom: 12px !important; }
body .cate-right-sec-4 h3 { font-size: 17px !important; font-weight: 600 !important; color: var(--li-ink) !important; margin: 0 0 6px !important; text-align: right !important; line-height: 1.4 !important; }
body .cate-right-sec-4 a:hover h3 { color: var(--li-accent) !important; }

/* mobile: sticky consult bar replaces the floating side tab */
.li-mobile-cta { display: none; }
@media (max-width: 767px) {
  body .side-box { display: none !important; }
  .li-mobile-cta {
    display: flex; position: fixed; z-index: 9990; left: 12px; right: 12px; bottom: 12px;
    height: 52px; align-items: center; justify-content: center; gap: 8px;
    background: var(--li-accent); color: #FFFFFF !important; border-radius: 999px;
    font-family: var(--li-font-head); font-size: 17px; font-weight: 600; text-decoration: none !important;
    box-shadow: 0 14px 30px -12px rgba(14,16,20,.45);
  }
  .li-mobile-cta:hover, .li-mobile-cta:focus { background: var(--li-accent-h); color: #FFFFFF !important; }
  body .footer { padding-bottom: 88px !important; }
}

/* horizontal overflow: legacy off-canvas menu + screen-reader labels at left:-9999px (scrollable in RTL) */
html { overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }

/* lawyer-index tiles: icon centered at the top of the tile */
body .home-sec-4-row-2 > [class*="col-"] { position: relative; flex-direction: column; }
body .home-sec-4-row-2 .circle-top-2 {
  position: absolute !important; top: 16px !important; left: 50% !important; bottom: auto !important; right: auto !important;
  transform: translateX(-50%); width: 52px; height: 52px; border-radius: 16px !important; display: grid !important; place-items: center; z-index: 2;
  background: var(--li-accent-soft) !important;
}
body .home-sec-4-row-2 .circle-top-2 img { width: 32px !important; height: 32px !important; border-radius: 0 !important; object-fit: contain; }
body .home-sec-4-row-2 .home-sec-4-one { padding-top: 74px !important; text-align: center; }

/* user content must stay inside its box */
body .bottom-row-1, body .bottom-row-1 > [class*="col-"] { height: auto !important; min-height: 0 !important; }

@media (max-width: 767px) {
  body .bottom-row-1 { flex-wrap: wrap; }
  body .bottom-row-1 .col-lg-2, body .bottom-row-1 .col-md-2 { flex: 0 0 84px !important; max-width: 84px !important; }
  body .bottom-row-1 .col-lg-2 img { width: 64px !important; height: 64px !important; }
  body .bottom-row-1 .text-sec { flex: 1 1 0 !important; max-width: calc(100% - 84px) !important; padding-right: 0; }
  body .bottom-row-1 .btn_sec { flex: 0 0 100% !important; max-width: 100% !important; margin-top: 12px; }
  body .bottom-row-1 .btn_sec > a, body .bottom-row-1 .btn_sec > button { flex: 1 1 140px; }
  body #fourm2_row1 .text-sec { flex: 1 1 100% !important; max-width: 100% !important; }
  body .search_section1 > .row { flex-wrap: wrap; }
  body .search_section1 .search_right_col { flex: 0 0 52px !important; max-width: 52px !important; }
  body .search_section1 .col-lg-2 { flex: 1 1 0 !important; max-width: none !important; }
  body .search_section1 .col-lg-9 { flex: 0 0 100% !important; max-width: 100% !important; margin-top: 6px; }
}

/* tile icons: legacy decorative arc image off, category icon centered */
body .circle-top-2 .circle_img_2 { display: none !important; }
body .circle-top-2 .circle_img_1 {
  display: block !important; position: static !important; left: auto !important; top: auto !important;
  width: 32px !important; height: 32px !important; margin: 0 !important; border-radius: 0 !important; object-fit: contain;
}
/* lawyer rows: no legacy spacing above the buttons */
body .bottom-row-1 .btn_sec, body .bottom-row-1 .text-sec { padding-top: 0 !important; padding-bottom: 0 !important; }
body .bottom-row-1 .text-sec p:last-child { margin-bottom: 0 !important; }

/* =====================================================================
   Review round 1 (Fable 5.2) fixes
   ===================================================================== */
/* skip link */
.li-skip { position: absolute; right: 12px; top: -60px; z-index: 100000; background: var(--li-ink); color: #FFFFFF !important; padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.li-skip:focus { top: 12px; }
#li-main:focus { outline: none; box-shadow: none !important; }

/* mobile sticky CTA is a <button> now */
button.li-mobile-cta { border: 0; cursor: pointer; font-family: var(--li-font-head); width: auto; }
.modal-open .li-mobile-cta { display: none !important; }

/* off-canvas menu: not focusable while closed */
body .menu-side-bar { visibility: hidden; transition: right 1s ease, visibility 0s linear 1s; }
body .menu-side-bar.show-menu { visibility: visible; transition: right 1s ease, visibility 0s; }

/* breadcrumb variant used on lawyer / articles banners (p > a) */
body .banner:not(.home-banner) p,
body .banner:not(.home-banner) p a,
body .banner:not(.home-banner) .banner_content p a { color: var(--li-muted) !important; font-size: 14px !important; text-shadow: none !important; }
body .banner:not(.home-banner) p a:hover { color: var(--li-accent) !important; }

/* section page: lead form + related block stay inside the content column */
body .cate-sec-2-right { min-width: 0; }
body .cate-right-sec-3, body .cate-right-sec-3.form-content { height: auto !important; max-width: 100%; box-sizing: border-box; }
body .cate-right-sec-3-one input, body .cate-right-sec-3-one select { width: 100% !important; margin: 0 !important; }
body .cate-right-sec-3 .cate-right-sec-3-one:last-child input[type="submit"],
body .cate-right-sec-3 input[type="submit"], body .cate-right-sec-3 input[type="button"] { width: 100% !important; margin: 0 !important; padding: 0 20px !important; }
body .cate-right-sec-4 .row { margin: 0 -10px; }
body .cate-right-sec-4 .row > [class*="col-"] { padding: 0 10px; min-width: 0; }

/* inner pages: content gutter below desktop */
@media (max-width: 991px) {
  body .cate-sec-2-right { padding: 0 15px !important; }
  body .cate-sec-2 .row { margin-left: 0; margin-right: 0; }
}

/* lawyer profile header on phones: photo, then tabs */
@media (max-width: 767px) {
  body #lawyer-1-banner { padding-bottom: 24px !important; }
  body .lawyer-banner-bottom-right > .row { justify-content: center; }
  body .lawyer-banner-bottom-img { width: 100%; display: flex; justify-content: center; margin: -10px 0 8px !important; position: static !important; }
  body .lawyer-banner-bottom-img img { width: 96px !important; height: 96px !important; position: static !important; }
  body .lawyer-banner-bottom-left { justify-content: center; margin-top: 10px; }
}

/* tap targets on phones */
@media (max-width: 767px) {
  body .footer ul li a { display: inline-block; padding: 9px 0; }
  body .search_section1 .card-header .btn-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px !important; }
  body .legal_domain-col .login-btn, body .bottom-row-1 .btn_sec .cate-btn,
  body .bottom-row-1 .btn_sec .sent-face, body .bottom-row-1 .btn_sec .learn-more { min-height: 44px; }
  body .mobile-header .home-btn .header-top-btn { min-height: 44px; }
  body .close-menu { padding: 12px; display: inline-block; }
}

/* tel / email fields in RTL */
body input[type="tel"], body input[type="email"] { text-align: right; }

/* tablet header: register button must not cover the search */
@media (min-width: 768px) and (max-width: 1199px) {
  body .header .btn a:nth-child(2) { display: none; }
  body .header .header-top-btn { padding: 0 14px !important; font-size: 14px !important; }
  body .header .header-search { flex: 1 1 auto !important; max-width: none !important; }
}

/* article cards on /articles/ and related blocks: text stays inside the card */
body .categories-one-row > [class*="col-"] > a,
body .article-sec-2-row-one > [class*="col-"] > a { display: block; }
body .categories-one-row p, body .article-sec-2-row-one p, body .home-sec-5-row-2 p { overflow-wrap: anywhere; }
body .categories-one-row > [class*="col-"], body .article-sec-2-row-one > [class*="col-"] { padding-bottom: 6px; }

/* forums index */
body .legal_domain_sec .container { max-width: 100%; padding: 0; }
body .domain_head_sec { align-items: center; margin: 28px 0 10px !important; }
body .domain_head_sec h2, body .domain_head_sec h3, body .domain_head_sec a { color: var(--li-ink) !important; font-family: var(--li-font-head); font-size: 22px !important; font-weight: 600 !important; }
body .domain_head_sec img { width: 34px; height: auto; }
body .legal_domain_sec p { font-size: 15.5px !important; line-height: 1.7 !important; color: var(--li-text-2) !important; }
body .legal_domain-col {
  background: #FFFFFF !important; background-image: none !important; box-shadow: none !important;
  border: 1px solid var(--li-line) !important; border-radius: var(--li-r-lg) !important; padding: 16px 12px !important; margin: 0 0 14px !important; align-items: center;
}
body .legal_domain-col img { width: 48px !important; height: 48px !important; object-fit: cover; border-radius: 50% !important; }
body .legal_domain-col h4, body .legal_domain-col h3, body .legal_domain-col b, body .legal_domain-col strong { color: var(--li-ink) !important; font-size: 16.5px !important; font-weight: 600 !important; }
body .legal_domain-col p, body .legal_domain-col span { font-size: 14px !important; color: var(--li-muted) !important; }
body .login-btn {
  height: 40px; padding: 0 16px !important; border: 0 !important; border-radius: 999px !important; width: auto !important;
  background: var(--li-accent) !important; color: #FFFFFF !important; font-size: 14.5px !important; font-weight: 600 !important; margin-top: 8px;
}

/* login / join / contact cards */
body .login_section1, body .div_p, body .contact-form { padding: clamp(28px, 4vw, 56px) 0 !important; background: #FFFFFF !important; }
body .login_form .form-up-sec, body .form_sec, body .contact-right {
  background: #FFFFFF !important; background-image: none !important; box-shadow: none !important;
  border: 1px solid var(--li-line) !important; border-radius: var(--li-r-lg) !important; padding: 26px 24px !important;
}
body .login_form .forget_con { background: var(--li-surface) !important; background-image: none !important; border-radius: 0 0 var(--li-r-lg) var(--li-r-lg); }
body .login_form h2, body .login_form h3, body .form_sec h2, body .contact-right h2, body .contact-right h3 { color: var(--li-ink) !important; font-size: 24px !important; font-weight: 600 !important; }
body .form-control, body .custom_form input[type="text"], body .custom_form input[type="password"], body .custom_form input[type="email"], body .custom_form input[type="tel"] {
  height: 50px !important; border: 1px solid #8E949C !important; border-radius: 12px !important; box-shadow: none !important;
  font-size: 16px !important; color: var(--li-ink) !important; padding: 0 14px !important; background-color: #FFFFFF !important;
}
body .submit_btn, body .custom_form button[type="submit"], body .gform_wrapper .gform_footer input[type="submit"] {
  height: 52px; padding: 0 30px !important; border: 0 !important; border-radius: 999px !important; width: auto;
  background: var(--li-accent) !important; color: #FFFFFF !important; font-size: 17px !important; font-weight: 600 !important; box-shadow: none !important;
}
body .submit_btn:hover { background: var(--li-accent-h) !important; }
body .contact-left { font-size: 16px; line-height: 1.75; color: var(--li-text); }
body .contact-left a { color: var(--li-accent) !important; }
body .contact-right .gform_footer:before, body .contact-right .gform_footer:after, body .submit_btn:before, body .submit_btn:after { display: none !important; }

/* about / static text */
body .cate-sec-2-right .col-md-12, body .cate-sec-2-right .col-md-12 p, body .p_text .simple_text, body .p_text .simple_text p { font-size: 17px !important; line-height: 1.8 !important; color: var(--li-text) !important; }

/* section page: legacy fixed widths / negative margins */
body .cate-right-sec-4, body .cate-sec-2-right-bottom { width: auto !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
body .cate-sec-2-right-bottom .bottom-row-1 { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }

/* =====================================================================
   New header (top bar + practice-area bar) - all pages
   ===================================================================== */
.li-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.li-ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.li-hwrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); box-sizing: border-box; }
body .header .main-header.li-header { background: #FFFFFF; border-bottom: 0; box-shadow: none; padding: 0; }
@media (min-width: 1100px) {
  body .main-header.li-header { display: block !important; }
  body .mobile-header.li-mheader { display: none !important; }
}
@media (max-width: 1099px) {
  body .main-header.li-header { display: none !important; }
  body .mobile-header.li-mheader { display: block !important; }
}
.li-topbar { border-bottom: 1px solid var(--li-line); }
.li-topbar-in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.li-header .li-logo { flex: none; display: block; }
.li-header .li-logo img { height: 52px; width: auto; display: block; }
.li-hsearch { position: relative; display: flex; align-items: center; flex: 1 1 auto; max-width: 520px; height: 48px; margin: 0 auto; border: 1px solid var(--li-line-2); border-radius: 14px; background: #FFFFFF; overflow: hidden; }
.li-hsearch input.search { flex: 1; min-width: 0; height: 46px !important; border: 0 !important; outline: none; background: transparent !important; padding: 0 16px !important; font-family: var(--li-font) !important; font-size: 15.5px !important; color: var(--li-ink) !important; box-shadow: none !important; width: auto !important; text-align: right; }
.li-hsearch input.search::placeholder { color: var(--li-muted) !important; font-size: 15.5px !important; opacity: 1; }
.li-hsearch-btn { flex: none; width: 56px; height: 48px; border: 0; background: var(--li-accent); color: #FFFFFF; display: grid; place-items: center; cursor: pointer; }
.li-hsearch-btn:hover { background: var(--li-accent-h); }
.li-toplinks { display: flex; align-items: center; gap: 4px; flex: none; }
.li-toplinks a { padding: 10px 10px; font-size: 14.5px; color: var(--li-text-2) !important; text-decoration: none !important; }
.li-toplinks a + a { border-inline-start: 1px solid var(--li-line); }
.li-toplinks a:hover { color: var(--li-accent) !important; }
.li-login { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; background: var(--li-accent); color: #FFFFFF !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.li-login:hover { background: var(--li-accent-h); }
.li-burger { width: 46px; height: 46px; display: grid !important; place-items: center; border-radius: 12px; color: var(--li-ink); cursor: pointer; flex: none; border: 1px solid var(--li-line); background: #FFFFFF; padding: 0 !important; max-width: none !important; }
.li-burger:hover { border-color: var(--li-ink); }

/* practice-area bar */
.li-catnav { background: #17191D; }
.li-catnav-list { display: flex; flex-wrap: nowrap; align-items: stretch; justify-content: space-between; list-style: none; margin: 0 !important; padding: 0 !important; }
.li-cat { position: relative; list-style: none; background: none !important; padding: 0 !important; }
.li-cat-link { display: inline-flex; align-items: center; gap: 5px; height: 50px; padding: 0 12px; color: #FFFFFF !important; font-size: 14.5px; font-weight: 500; white-space: nowrap; text-decoration: none !important; border-bottom: 3px solid transparent; }
.li-cat-link .li-ic { opacity: .7; }
.li-cat:hover > .li-cat-link, .li-cat:focus-within > .li-cat-link { border-bottom-color: var(--li-accent); background: #23262C; }
.li-sub { display: none; position: absolute; top: 100%; right: 0; z-index: 9000; min-width: 240px; margin: 0 !important; padding: 8px !important; list-style: none; background: #FFFFFF; border: 1px solid var(--li-line); border-radius: 0 0 14px 14px; box-shadow: 0 18px 40px -18px rgba(14,16,20,.35); }
.li-cat-more .li-sub { right: auto; left: 0; }
.li-cat:hover > .li-sub, .li-cat:focus-within > .li-sub { display: block; }
.li-sub li { list-style: none; background: none !important; padding: 0 !important; }
.li-sub a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--li-text) !important; text-decoration: none !important; white-space: nowrap; }
.li-sub a:hover, .li-sub a:focus { background: var(--li-surface); color: var(--li-accent) !important; }
.li-sub .li-sub-all a { color: var(--li-accent) !important; font-weight: 600; border-top: 1px solid var(--li-line); border-radius: 0 0 10px 10px; margin-top: 4px; }
@media (max-width: 1240px) { .li-cat-link { padding: 0 9px; font-size: 14px; } .li-toplinks a { padding: 10px 7px; } }

/* mobile header */
body .mobile-header.li-mheader { background: #FFFFFF; border-bottom: 1px solid var(--li-line); padding: 10px 0 12px; }
.li-mheader-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.li-mheader .li-logo img { height: 42px; width: auto; display: block; }
.li-mheader .li-login-icon { width: 46px; padding: 0; justify-content: center; }
.li-mheader .li-hsearch { max-width: none; height: 46px; }
.li-mheader .li-hsearch input.search { height: 44px !important; }
.li-mheader .li-hsearch-btn { height: 46px; width: 52px; }
body .mobile-header.li-mheader .menu-icon { flex: none !important; }

/* footer contact column */
.li-fcontact { margin: 8px 0 28px; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.li-fcontact-title { color: #FFFFFF !important; font-family: var(--li-font-head); font-size: 16px; font-weight: 600; margin: 0 0 12px !important; }
.li-fcontact ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0 !important; padding: 0 !important; }
.li-fcontact li { display: inline-flex; align-items: center; gap: 8px; color: var(--li-dark-muted); font-size: 14.5px; background: none !important; padding: 0 !important; margin: 0 !important; }
.li-fcontact li .li-ic { color: #F08A84; }
.li-fcontact a { color: var(--li-dark-muted) !important; }
.li-fcontact a:hover { color: #FFFFFF !important; }

/* =====================================================================
   Review round 3 (Fable 5.2) fixes
   ===================================================================== */
/* B: quick-contact / forum modals: no clipping, centred on phones */
body .modal-content { height: auto !important; max-height: none !important; overflow: visible !important; }
body .modal-body, body .modal-body .body-content { height: auto !important; max-height: none !important; overflow: visible !important; }
@media (max-width: 575px) {
  body .modal-dialog { margin: 8px auto !important; max-width: calc(100% - 16px) !important; width: auto !important; }
}
/* C: contact form card inside the screen */
body .contact-right { max-width: 100% !important; margin: 0 !important; box-sizing: border-box; }
body .contact-form .row { margin-left: 0 !important; margin-right: 0 !important; }
/* D + 4: rows that legacy pushed outside the column (forum header card, lawyer rows) */
body .cate-sec-2-right .bottom-row-1 { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; }
body .bottom-row-1 .text-sec { min-width: 0; }
/* E: bottom lead band (article / archive pages) */
body .category_bottom .row, body .category_bottom .form-content { margin-left: 0 !important; margin-right: 0 !important; }
body .category_bottom [class*="col-"] { padding-left: 8px; padding-right: 8px; min-width: 0; }
@media (max-width: 767px) { body .category_bottom [class*="col-"] { flex: 0 0 100%; max-width: 100%; } }
/* F: focus ring on fields that sit on dark cards */
body input:focus-visible, body select:focus-visible, body textarea:focus-visible { box-shadow: 0 0 0 4px #FFFFFF !important; outline: 2px solid var(--li-ink) !important; outline-offset: 2px; }
body .cate-sec-2-left input:focus-visible, body .cate-sec-2-left select:focus-visible, body .category_bottom input:focus-visible, body .category_bottom select:focus-visible { outline-color: #FFFFFF !important; box-shadow: 0 0 0 4px var(--li-accent) !important; }
/* G: phone icon on the lawyer header button; footer columns on phones */
body .lawyer-banner-bottom-btn-2 a > i, body .lawyer-banner-bottom-btn-2 > i, body .lawyer-banner-bottom-btn-2 img { display: none !important; }
@media (max-width: 767px) { body .footer .row > [class*="col-"] { padding-right: 15px !important; margin-right: 0 !important; } }
/* 768: lead form + related block use the full column */
@media (max-width: 991px) { body .cate-right-sec-3, body .cate-right-sec-4 { width: 100% !important; float: none !important; } }
/* header: tighter on small desktops */
@media (max-width: 1100px) { .li-toplinks { display: none; } }

/* new header: legacy fixed height (102px) and overflow:hidden on the header wrapper would clip the category bar and dropdowns */
body .header, body .header > .main-blur, body .main-header.li-header, body .mobile-header.li-mheader { height: auto !important; min-height: 0 !important; overflow: visible !important; }
body .header { position: relative; z-index: 50; }
body .li-mheader .menu-icon.li-burger { width: 46px !important; max-width: 46px !important; flex: 0 0 46px !important; padding: 0 !important; }


/* =====================================================================
   Review round 4 (Fable 5.2) fixes
   ===================================================================== */
.li-cat:nth-last-child(-n+2) .li-sub { right: auto; left: 0; }
.li-cat.li-closed > .li-sub { display: none !important; }
.li-hsearch:focus-within { box-shadow: 0 0 0 3px rgba(14,16,20,.28); border-color: var(--li-ink); }
.li-hsearch input.search:focus-visible { outline: none !important; box-shadow: none !important; }
.li-box-dark input:focus-visible, .li-box-dark select:focus-visible, .li-box-dark textarea:focus-visible,
body .cate-sec-2-left input:focus-visible, body .cate-sec-2-left select:focus-visible { outline: 3px solid #FFFFFF !important; outline-offset: 2px !important; box-shadow: none !important; }
/* modal centred */
body #QuickContactModal .modal-dialog, body #PostForumModal .modal-dialog { margin: 1.75rem auto !important; max-width: 420px !important; width: calc(100% - 24px) !important; }
body #QuickContactModal .modal-content, body #PostForumModal .modal-content { margin: 0 !important; left: auto !important; right: auto !important; }

/* Fable r5 P2: the quick-contact card fills its (centred) dialog. */
body #QuickContactModal .modal-content, body #PostForumModal .modal-content { width: 100% !important; max-width: 100% !important; }

/* The parent's fixed "קבל ייעוץ אישי" side tab overlaps content below 1280px (mobile has the sticky CTA instead). */
@media (max-width: 1279px) { body .side-box { display: none !important; } }
