* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

}

body {
  margin: 0px;
  padding: 0px;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  /*
     color: var(--text-color); */
  /* font-size: 16px;
     font-weight: 400;
     line-height: 1.4; */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* height: 100%; */
  overflow-x: clip;
  /* background: var(--white-color); */
  font-display: swap;
}



html.lenis,
html.lenis body {
  height: auto;
  overflow-x: clip;
}

html,
body {
  height: auto;
  min-height: 100%;
}


html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
}

html {
  scroll-behavior: auto;
  /* NOT smooth */
}

p {
  margin: 0;
}

p:not(:last-child) {
  margin-bottom: 1rem;
}

/* Ultra thin scrollbar */
/* ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
} */
html,
body {
  scrollbar-width: none;
  /* Firefox */
}

body::-webkit-scrollbar {
  display: none;
  /* Chrome */
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  -ms-scroll-chaining: none;
  overscroll-behavior: contain
}

.lenis.lenis-smooth iframe {
  pointer-events: none
}

.lenis.lenis-autoToggle {
  -webkit-transition-property: overflow;
  -o-transition-property: overflow;
  transition-property: overflow;
  -webkit-transition-duration: 1ms;
  -o-transition-duration: 1ms;
  transition-duration: 1ms;
  transition-behavior: allow-discrete
}

.headerInner {
  position: fixed;
  z-index: 99;
  backdrop-filter: blur(20.700000762939453px);
}

header.elementor-location-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  -webkit-transition: 0.3s ease-in-out all;
  -o-transition: 0.3s ease-in-out all;
  transition: 0.3s ease-in-out all;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
}

header.scrolled::before {
  opacity: 0.5;
}

header.hide {
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  pointer-events: none;
}

.menu-text .text-back {
  color: var(--e-global-color-primary);
}

header .elementor-nav-menu li.current-menu-item span.text-front {
  color: #C2A567 !important;
}

.lineAnimation {
  overflow: hidden;
}

.lineAnimation .elementor-heading-title {
  will-change: transform, opacity;
  line-height: 1.5;
}

.custom-contact-form {
  max-width: 900px;
  margin: 0 auto 52px;
  display: flex;
  flex-direction: column;
  gap: 13px 9.5px;
}

.custom-contact-form .row {
  display: flex;
  gap: 13px;
  margin-bottom: 00px;
}

.custom-contact-form .row p {
  margin: 0;
}

.custom-contact-form .row.full {
  flex-direction: column;
}

.custom-contact-form .field p {
  margin-bottom: 0;
}

.custom-contact-form .field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.custom-contact-form label {
  font-size: 14px;
  margin-bottom: 8px;
  color: #222;
  line-height: 2.2;
}

.custom-contact-form input,
.custom-contact-form textarea {
  width: 100%;
  padding: 14px;
  border: none;
  background-color: #EDDFC494;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease-in-out all;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

.custom-contact-form textarea {
  min-height: 180px;
  resize: none;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
  background-color: #cbb998;
}

.custom-contact-form input[type="submit"] {
  width: 180px;
  padding: 14px;
  background-color: #cbb998;
  border: none;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s ease-in-out all;
}

.custom-contact-form input[type="submit"]:hover {
  background-color: #b8a27f;
}


.jsc-barristers-wrap {
  margin: 0 auto;
}

/* Filter bar */
.jsc-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: flex-end;
}

.jsc-search-wrap {
  display: flex;
  align-items: center;
  background: #DEC8A0;
  border-radius: 0;
  padding: 0;
  flex: 1;
  min-width: 130px;
  gap: 8px;
  width: 145px;
  flex: 0 0 250px;
  position: relative;
}

.jsc-search-wrap input#jsc-search {
  background: #DEC8A0;
  box-shadow: none;
  border: 0;
  color: var(--e-global-color-secondary);
  padding: 16px 40px 16px 20px;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: -1%;
  vertical-align: middle;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  text-align: center;
}

.jsc-search-wrap input#jsc-search::placeholder {
  color: var(--e-global-color-secondary);
}

.jsc-search-icon {
  color: var(--e-global-color-secondary);
  flex-shrink: 0;
  position: absolute;
  right: 19px;
  top: 20px;
  width: 17.5px;
  height: 17px;
}

.jsc-search {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
  background: transparent;
  color: #333;
  font-family: inherit;
}

body .jsc-select-wrap {
  position: relative;

  border-radius: 0px;
  min-width: 40px;
  display: flex;
  align-items: center;
  flex: 0 0 245px;
}


body .jsc-select {
  width: 100%;
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
  padding: 16px 46px 16px 24px;
  font-size: 15px;
  cursor: pointer;
  box-shadow: none;

  color: var(--e-global-color-secondary);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -1%;
  vertical-align: middle;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

.jsc-chevron svg,
.jscsl-chevron svg {
  width: 12px;
  display: block;
}

.jsc-chevron,
.jscsl-chevron {
  /* position: absolute;
  right: 25px; */
  pointer-events: none;
  color: var(--e-global-color-secondary);
  width: 24px;
  flex: 0 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Seniority select */
body .jscsl-select-wrap {
  position: relative;
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  max-width: 100%;
  display: flex;
  width: 100%;
  flex: 0 0 100%;
  justify-content: center;
  align-items: center;
}

body .jscsl-select {
  appearance: none;
  border: none;
  box-shadow: none;
  outline: none;
  background: #DEC8A0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  font-family: inherit;
  border-radius: 0;
  font-size: 20px;
  width: auto;
  padding: 0;
  font-weight: 500;
  text-align: center;
}

.jscsl-chevron {
  pointer-events: none;
  color: var(--e-global-color-secondary);
}

/* Active tags */


.jsc-active-tags {
  margin-bottom: 20px;
}

/* Active tags */
.jscsl-active-tags,
.jsc-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex: 1;
}

.jscsl-active-tags,
.jsc-active-tags {
  grid-column: span 2;
}

.jscsl-tag,
.jsc-tag {
  background: #dec8a0;
  color: #000000;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.jscsl-tag-remove,
.jsc-tag-remove {
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  font-weight: bold;
  opacity: 0.8;
}

.jscsl-tag-remove:hover,
.jsc-tag-remove:hover {
  opacity: 1;
}


/* Grid */
.jsc-grid {
  --count: 4;
  --gapX: 58px;
  --gapY: 42px;
  display: flex;
  flex-wrap: wrap;
}

.jscsl-grid {
  --count: 3;
  --gapX: 35px;
  --gapY: 41px;
  display: flex;
  flex-wrap: wrap;
}

/* 4 columns */
.jsc-grid,
.jscsl-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gapY) var(--gapX);
  /* row gap column gap */
}

.jsc-grid .jsc-card,
.jscsl-grid .jscsl-card {
  box-sizing: border-box;
  width: calc((100% - (var(--count) - 1) * var(--gapX)) / var(--count));
  max-width: 0 0 calc((100% - (var(--count) - 1) * var(--gapX)) / var(--count));
  flex: 0 0 auto;
}

#jsc-grid,
#jscsl-grid {
  position: relative;
  min-height: 506px;
}


/* Card */
.jscsl-card,
.jsc-card {
  /* overflow: hidden; */
  /* align-self: flex-start; */
  /* background: #EDDFC4; */
  /* transition:  0.2s all ease-in-out; */
}

.jsc-card .jsc-card-img,
.jscsl-card .jscsl-card-img,
.barristerElemCard .elementor-widget-image a img {
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}



.jsc-grid .jsc-card:hover .jsc-card-img,
.jscsl-grid .jscsl-card:hover .jscsl-card-img-wrap img,
.barristerElemCard:hover .elementor-widget-image a img {
  /* filter:  brightness(1); */
  transform: scale(1.1);
  opacity: 1;
}

.jscsl-card-link,
.jsc-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.jsc-card-img-wrap,
.jscsl-card-img-wrap {
  /* background: url(../images/jsc-bg-option.webp) no-repeat center; */
  /* background-size: cover; */
  width: 100%;
  aspect-ratio: 5/6;
  overflow: hidden;
  background: #000;
}

.barristerElemCard .elementor-widget-image {
  background: #000;
}

body .jsc-card-img-wrap img,
body .jscsl-card-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

.jscsl-card-info,
.jsc-card-info {
  padding: 16.5px 20px;
  background: #EDDFC4;
  text-align: center;
}

.jscsl-card-name,
.jsc-card-name {
  display: block;
  font-size: 24px;
  font-weight: 500;
  color: #2c2c2c;
  margin-bottom: 0;
  line-height: 1.15;
  font-family: "PP Eiko", Sans-serif;
  margin-bottom: 6px;
}

.jscsl-card-role,
.jsc-card-role {
  display: block;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  color: #000000;
}

.jsc-card-areas {
  display: none;
}

.jsc-card.jsc-hidden,
.jscsl-card.jscsl-hidden {
  pointer-events: none;
}

/* No match */
.jsc-no-match {
  text-align: center;
  color: #888;
  padding: 40px 0;
  font-size: 16px;
}

div#ast-scroll-top {
  background: var(--e-global-color-primary);
  padding: 13.5px 10px;
  width: auto;
  height: auto;
  line-height: 1;
  border-radius: 50%;
  transition: 0.3s ease-in-out all;
  box-shadow: 0px 4px 19px 2px rgb(0 0 0 / 0%);
}

div#ast-scroll-top:hover {
  box-shadow: 0px 4px 19px 2px rgba(0, 0, 0, 0.25);
}

/*  */
.jscsl-wrap {
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: flex-start;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 63px;
}

.barristerElemCard .elementor-widget-image a {
  display: block;
  height: 100%;
}

.barristerElemCard .elementor-widget-image a img {
  display: block;
  height: 100%;
  object-fit: cover;
}

/* ── Sidebar ────────────────────────────────────────────────────── */
.jscsl-sidebar {
  /* flex-shrink: 0; */
  /* border-radius: 4px; */
  position: relative;
  /* scrollbar-width: thin; */
  /* scrollbar-color: #c8a84b transparent; */
  grid-column: span 4;
  height: 100%;
}

.jscsl-sidebar-section {
  position: sticky;
  top: 80px;
  z-index: 1;
}

.jscsl-sidebar::-webkit-scrollbar {
  width: 4px;
}

.jscsl-sidebar::-webkit-scrollbar-thumb {
  background: #c8a84b;
  border-radius: 2px;
}

.jscsl-sidebar-section {
  padding: 0;
}

.jscsl-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px;
  background: #DEC8A0;
  color: #000000;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  margin-bottom: 38px;
  text-align: center;
  gap: 5px;
}

.jscsl-sidebar-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.jscsl-sidebar-header.collapsed .jscsl-sidebar-chevron {
  transform: rotate(-90deg);
}

/* Area list */
.jscsl-area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.jscsl-area-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15.4px 20px 15.4px 44px;
  font-size: 18px;
  font-weight: 500;

  color: var(--e-global-color-secondary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  gap: 6px;
  line-height: 1.35;
  background: rgba(222, 200, 160, 0.28);
}

.jscsl-area-item:last-child {
  border-bottom: none;
}

.jscsl-area-item:hover {
  background: rgba(222, 200, 160, 1);
  color: #7a5c1e;
}

.jscsl-area-item.active {
  background: #C2A567;
  color: #fff;
  font-weight: 700;
}

.jscsl-area-item.active .jscsl-area-arrow {
  color: #fff;
}

.jscsl-area-label {
  flex: 1;
}

.jscsl-area-arrow {
  width: 6px;
  flex-shrink: 0;
  color: #000000;
}

.jscsl-area-item.active .jscsl-area-arrow {
  opacity: 0.85;
}

/* ── Main ───────────────────────────────────────────────────────── */
.jscsl-main {
  grid-column: span 8;
}

/* Top bar */
.jscsl-topbar {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
  justify-content: space-between;
  display: grid;
  grid-template-columns: repeat(var(--count), 1fr);
  --count: 3;
  gap: 41px 35px;
}

.jscsl-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
  width: 100%;
  grid-column-start: 3;
  grid-column-end: 4;
}


/* Search */
.jscsl-search-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d0c0a0;
  border-radius: 4px;
  padding: 8px 12px;
  gap: 7px;
  min-width: 200px;
}

.jscsl-search-wrap svg {
  color: #999;
  flex-shrink: 0;
}

.jscsl-search {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
  color: #333;
  font-family: inherit;
}

/* No match */
.jscsl-no-match {
  text-align: center;
  color: #999;
  padding: 50px 0;
  font-size: 15px;
}

.practiceArea .jscsl-search-wrap {
  display: none;
}

.elementor-heading-title span {
  font-family: "PP Eiko", Sans-serif;

}

body .headerSmall {
  height: 100dvh;
  height: 100vh;
  min-height: 680px;
  max-height: 750px;
}

body .headerMedium {
  height: 100dvh;
  height: 100vh;
  min-height: 700px;
  max-height: 926px;
}

body .headerlarge {
  height: 100dvh;
  height: 100vh;
  min-height: 700px;
  max-height: 1126px;
}

.maxWidthFull {
  max-width: 100%;
}

.ast-separate-container #primary,
.ast-separate-container.ast-left-sidebar #primary,
.ast-separate-container.ast-right-sidebar #primary {
  margin: 0 !important;
}

/* ── Responsive ──── */
span.jsc-case-title,
.jsc-case-card a {
  font-weight: 500;
  font-size: 22px;
}

.jsc-case-card a {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  letter-spacing: -2%;
  padding: 20px 0;
  padding-inline-start: 47px;
  padding-inline-end: 15px;
  color: var(--e-global-color-secondary);
  display: block;
}

.jsc-case-icon {
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 22px;
}

.jsc-case-card {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #CBA57E82;
  position: relative;
  padding: 20px 20px 20px 47px;
}

span.jsc-case-icon svg {
  display: block;
}

/* only cards that contain an anchor */
.jsc-case-card:has(a) {
  overflow: hidden;
  padding: 0;
}

.jsc-case-card:has(a) a {
  position: relative;
  transition: color .35s ease, transform .35s ease;
}

.jsc-case-card:has(a) .jsc-case-icon {
  transition: transform .35s ease;
}

.jsc-case-card:has(a)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--e-global-color-primary);
  transition: width .45s ease;
}

/* hover */
.jsc-case-card:has(a):hover::after {
  width: 100%;
}

.jsc-case-card:has(a):hover a {
  color: var(--e-global-color-primary);
  transform: translateX(6px);
}

.jsc-case-card:has(a):hover .jsc-case-icon {
  transform: translateX(6px) rotate(8deg);
}

/* keyboard accessibility */
.jsc-case-card:has(a):focus-within::after {
  width: 100%;
}

.jsc-case-card:has(a):focus-within a {
  color: var(--e-global-color-primary);
}

.pinsection.e-con {
  min-height: 0 !important;
  height: auto !important;
}

.pinsection>.e-con-inner>.pin-spacer {
  display: block !important;
  width: 100% !important;
}

.pinsection__slider {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#horizontal-scoll {
  padding: 200px 0;
}

.horizontal-scoll-wrapper {
  overflow: hidden;
}

.horizontal {
  display: flex;
  height: 100%;
  padding-left: 30%;
}

.horizontal>div {
  display: flex;
  flex-shrink: 0;
  padding: 0 5px;
}

.horizontal .card {
  align-items: stretch;
}

.horizontal-scoll {
  overflow: visible !important;
  min-height: 0 !important;
  width: 100% !important;
}

.horizontal-scoll-wrapper {
  overflow: visible !important;
  width: 100% !important;
}



.pin-spacer:has(.horizontal-scoll) {
  background-color: #161515;
}

.card {
  flex-shrink: 0 !important;
}

.barrister-contact {
  display: flex;
  gap: 20px;
}

.barrister-contact__details,
.barrister-contact__assistant {
  flex: 1;
}

.barrister-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.barrister-contact__item {
  margin-bottom: 16px;
}

.section_practice_area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  gap: 10px 16px;
}

.section_practice_area li {
  font-size: 18px;
  font-weight: 400;
  position: relative;
  padding-left: 20px;
  transition: 0.2s ease-in-out all;
}

.transition-ease {
  transition: 0.2s ease-in-out all;
}

.section_practice_area li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--e-global-color-secondary);
}
/* IMPORTANT: move flex here (not on item anymore) */
.barrister-contact__link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-size: 20px;
  font-weight: 400;
  transition: 0.2s ease-in-out all;
}

.barrister-contact__link:hover {
  color: #c5a47e;
}

.barrister-contact__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.barrister-contact__text {
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
}

.barrister-contact__assistant-header {
  margin-bottom: 10px;
}

.barrister-contact__assistant-label {
  font-weight: 500;
}

.barrister-contact__assistant-name {
  font-weight: 600;
}

.barrister-contact__assistant-name,
.barrister-contact__assistant-label {
  line-height: 1.55;
}

.barrister-contact__assistant-header {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -2%;
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
}

.barrister-contact__link .barrister-contact__text,
.barrister-contact__assistant-header .barrister-contact__assistant-name {
  font-weight: 500;
}

.animatedText h1>div {
  /* overflow: hidden; */
}

.animatedText h1>div span {
  display: block;
}

.animatedText h1 {
  opacity: 0;
  visibility: hidden;
}


body .elementor .btn-flip {
  opacity: 1;
  outline: 0;
  color: #fff;
  line-height: 40px;
  position: relative;
  text-align: center;
  letter-spacing: 1px;
  display: inline-block;
  text-decoration: none;
  line-height: 1;
  padding: 0;
  background: transparent;
  font-size: 0;
  cursor: pointer;
  border: 0;
}

.btn-flip:hover:after {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.btn-flip:hover:before {
  opacity: 0;
  transform: translateY(50%) rotateX(90deg);
}

.btn-flip:before,
.btn-flip:after {
  font-family: var(--e-global-typography-text-font-family), Sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -1%;
  text-align: center;
  vertical-align: middle;
  padding: 18px 24.36px;
  transition: 0.5s;
  display: block;
  top: 0;
  left: 0;
  min-width: 216px;
}

.btn-flip:after {
  opacity: 0;
  width: 100%;

  color: var(--e-global-color-secondary);
  position: absolute;
  background: #EDDFC4;
  content: attr(data-back);
  transform: translateY(-50%) rotateX(90deg);

}

.btn-flip:before {
  opacity: 1;

  color: var(--e-global-color-secondary);
  position: relative;
  background: #DEC8A0;
  content: attr(data-front);
  transform: translateY(0) rotateX(0);
}

span.wpcf7-not-valid-tip {
  margin-top: 3px;
}

/*  */

.socialMenuJsc {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 9.25px;
  margin: 0;
  padding: 0;
}

.socialMenuJsc li {
  --i: #C1A15C;
  --j: #C2A567;
  position: relative;
  list-style: none;
  width: 49px;
  height: 49px;
  background: #242424;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.socialMenuJsc li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(45deg, var(--i), var(--j));
  opacity: 0;
  transition: 0.5s;
}

.socialMenuJsc li::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(45deg, var(--i), var(--j));
  transition: 0.5s;
  filter: blur(15px);
  z-index: -1;
  opacity: 0;
}

.socialMenuJsc li:hover::before {
  opacity: 1;
}

.socialMenuJsc li:hover::after {
  opacity: 0.5;
}

.socialMenuJsc li .icon {
  color: #EDDFC4;
  font-size: 20px;
  transition: 0.5s;
  transition-delay: 0.25s;
}

.socialMenuJsc li .icon svg {
  display: block;
}

.socialMenuJsc li .icon img {
  display: block;
  width: auto;
  min-width: 15px;
}

.socialMenuJsc li:last-child .icon img {
  min-width: 18px;
}

.socialMenuJsc li span {
  position: absolute;
  display: block;
}

.socialMenuJsc li .title {

  color: var(--e-global-color-secondary);
  font-size: 0.9em;
  transform: scale(0);
  transition: 0.5s;
  transition-delay: 0s;
  white-space: nowrap;
}

.socialMenuJsc li:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
}

.socialMenuJsc li:hover .icon {
  color: #EDDFC4;
  transition-delay: 0s;
}

.socialMenuJsc li:hover .title {
  transition-delay: 0.25s;
}

.socialMenuJsc li a {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.mobileMenuIcons .socialMenuJsc {
  justify-content: flex-start;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.elementor-widget-theme-site-logo a:focus-visible {
  outline: none
}

.textRevealAnim h2 {
  /* opacity: 0; */
}

.textRevealAnim * {
  will-change: transform;
}


/* .textRevealAnim h2 ,
h2.textRevealAnim  { 
  overflow: hidden;
} */

.textRevealAnim h2 .line,
h2.textRevealAnim .line {
  display: block !important;
  /* overflow: hidden; */
  line-height: inherit;
  letter-spacing: inherit;

}

.textRevealAnim h2 .line {
  white-space: nowrap !important;
}


.shapeAnimation {
  display: block;
}


/* loader below  */

.elementor-editor-active #page-loader {
  display: none;
}

html.loader-active,
body.loader-active {
  overflow: hidden !important;
  height: 100% !important;
  position: fixed;
  width: 100%;
}

#page-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  overflow: hidden;

  pointer-events: none;
}

#page-loader.loader-hidden {
  display: none !important;
  pointer-events: none;
}

#loader-ct,
#loader-cb {
  position: fixed;
  left: 0;
  width: 100%;
  height: 50%;
  background: #000;
  z-index: 9999998;
  pointer-events: none;
}

#loader-ct {
  top: 0;
}

#loader-cb {
  bottom: 0;
}

#loader-inner {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  pointer-events: none;
  gap: 0;
}

#loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0;
}

.digit-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.digit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(60px, 10vw, 108px);
  font-family: var(--e-global-typography-secondary-font-family), Georgia, serif;
  font-weight: 300;
  font-size: clamp(52px, 9vw, 96px);
  color: #e8dcc8;
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

#loader-rule {
  margin-top: 14px;
  width: 0;
  height: 0.5px;
  background: #c2a567;
  opacity: 0.4;
  margin-inline: auto;
}

/* ── ODOMETER — add these, don't touch anything else ────*/
#loader-num-mask {
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.digit-col {
  position: relative;
  overflow: hidden;
  height: clamp(60px, 10vw, 108px);
  width: clamp(36px, 6vw, 68px);
  display: inline-block;
}

.digit-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.digit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(60px, 10vw, 108px);
  font-family: var(--e-global-typography-secondary-font-family), Georgia, serif;
  font-weight: 300;
  font-size: clamp(52px, 9vw, 96px);
  color: #c2a567;
  line-height: 1;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.reveal p.e-paragraph-base {
  transition: 0.2s ease-in-out all;
}

.reveal:not(.reveal-done) p.e-paragraph-base {
  opacity: 0;
}

/* TEMPORARY DEV HELPER — remove when done */
body.show-loader #page-loader {
  display: block !important;
}

body.show-loader #loader-ct {
  transform: translateY(0%) !important;
}

body.show-loader #loader-cb {
  transform: translateY(0%) !important;
}

body.show-loader #loader-logo {
  opacity: 1 !important;
}

body.show-loader #loader-num-mask {
  height: 100px !important;
}

body.show-loader #loader-rule {
  width: 120px !important;
}




/* parallax */
.parallax-section {
  background-size: cover !important;
  background-attachment: scroll !important;
}

.reveal {
  overflow: hidden !important;
  visibility: hidden;
  /* autoAlpha:1 will unhide it */
}

.reveal.reveal-done {
  visibility: visible;
}

body.elementor-editor-active #loader-ct,
body.elementor-editor-active #loader-cb {
  display: none !important;
}

/* body .horizontal .card {
    border-bottom: 5px solid transparent;
}
body .horizontal .card.active {
    border-bottom-color: #C2A567C4;
} */
body .horizontal .card {
  position: relative;
}

/* Default direction (forward) so first active card works on load */
/* body .horizontal .card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    height: 5px;
    width: 0%;
     width: var(--line-width, 0%);
    background: #C2A567C4;
    transition: width 0.2s ease;
}
 
body .horizontal .card.active::after {
    width: 100%;
}
 
body .horizontal.scrolling-forward .card::after {
    left: 0;
    right: auto;
}
body .horizontal.scrolling-forward .card:not(.active)::after {
    left: auto;
    right: 0;
    width: 0%;
} */

.card-line {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 0%;
  background: #C2A567C4;
  display: block;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
}

body .horizontal.scrolling-back .card::after {
  right: 0;
  left: auto;
  width: 100%;
}

body .horizontal.scrolling-back .card:not(.active)::after {
  right: auto;
  left: 0;
  width: 0%;
  transition: all 0.2s ease-in-out;
}

.horizontal-scoll-wrapper .swiper .card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background: #C2A567C4;
  display: block;
  pointer-events: none;
  transition: height 0.2s ease-in-out;
}

.horizontal-scoll-wrapper .swiper .card.swiper-slide-active::after {
  right: auto;
  left: 0;
  height: 5px;
}

body .sinleBarissterBanner {
  background-image: url(../images/barristerbg-scaled.webp);

}

.elementor-field,
.elementor-field-textual {
  font-size: 16px !important;
}

input,
textarea,
select {
  font-size: 16px;
}

body:not(.elementor-editor-wp-page) .fadeUp:not(.fade-done) {
  opacity: 0 !important;
  visibility: hidden !important;
}

body:not(.elementor-editor-wp-page) .animatedText h1 {
  opacity: 0;
  visibility: hidden;
}

.animatedText h1.anim-done {
  opacity: 1 !important;
  visibility: visible !important;
  /* lock it — nothing can override this */
  animation: none !important;
  transition: none !important;
}

a[href^="tel"] {

  color: var(--e-global-color-secondary);
  text-decoration: none;
}


span.barrister-contact__icon.icon-mail {
  font-size: 14px;
}

span.barrister-contact__icon.icon-print {
  font-size: 19px;
}

span.barrister-contact__icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

span.barrister-contact__icon.icon-linkedin {
  font-size: 19px;
}

footer .elementor-nav-menu span.menu-text span {
  font-size: 18px;
}

.contactPageList span.elementor-icon-list-icon svg {

  color: var(--e-global-color-secondary);
}

body .bridge-container {
  height: 40px;
  max-width: 440px;
  width: 100%;
  z-index: 9;
}

body .bridge-container[data-dir="reveal-up"] {
  bottom: -2px !important;
}

body .bridge-container[data-dir="reveal-down"] {
  top: -2px !important;
}

body .pad-0 {
  padding: 0 !important;
}

body .pad-top-11 {
  padding-top: 11px !important;
}

body .rounded-0 {
  border-radius: 0 !important;
}

.elementor-element:has(.notableCases__shortcode>.elementor-shortcode:empty) .notableCases__heading {
  display: none;
}

.notableCases__shortcode {
  width: 100%;
}

/*  */
.jsc-select-wrap,
.jscsl-select-wrap {
  position: relative;
}

.jsc-dropdown-label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body .jsc-dropdown-btn {
  background: #DEC8A0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: inherit;
  color: inherit;
  padding: 18px !important;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -1%;

}

.jsc-dropdown-btn .jsc-chevron,
.jsc-dropdown-btn .jscsl-chevron {
  transition: transform 0.25s ease;
}

.jsc-dropdown-btn.open .jsc-chevron,
.jsc-dropdown-btn.open .jscsl-chevron {
  transform: rotate(180deg);
}

.jsc-dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e0d5c0;
  border-radius: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-height: 400px;
  overflow-x: hidden;
  width: 100%;
  max-width: 300px;
  overflow-y: auto;
}

.jsc-dropdown-list.open {
  display: block;
}

.jsc-dropdown-item {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: var(--e-global-color-secondary);
  white-space: nowrap;
  font-weight: 500;
}

.jsc-dropdown-item:hover {
  background: #f5ede0;
}

.jsc-dropdown-item.selected {
  font-weight: 600;
}

.jsc-dropdown-btn.open .jsc-chevron,
.jsc-dropdown-btn.open .jscsl-chevron {
  transform: rotate(180deg);
}

.jsc-chevron,
.jscsl-chevron {
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
}

.barristerElemCard .elementor-icon-list-icon svg {
  color: var(--e-global-color-secondary);
}

.barristerElemCard .elementor-widget-image {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  width: 100%;
}

.placeholderForBanner {
  background-image: url(../images/placeholderForBanner.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.barrister-contact__item .barrister-contact__icon svg path {
  fill: currentColor;
}

body .elementor-menu-toggle {
  padding: 0;
}

.elementor-menu-toggle {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-lines {
  position: relative;
  width: 26px;
  height: 19px;
  display: inline-block;
}

.h-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s ease,
    top 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.h-line-1 {
  top: 0;
}

.h-line-2 {
  top: 8px;
}

.h-line-3 {
  top: 16px;
}

/* ── OPEN STATE (Elementor toggles this) ─────────────────────────────── */
.elementor-menu-toggle[aria-expanded="true"] .h-line-1 {
  top: 8px;
  transform: rotate(45deg);
}

.elementor-menu-toggle[aria-expanded="true"] .h-line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.elementor-menu-toggle[aria-expanded="true"] .h-line-3 {
  top: 8px;
  transform: rotate(-45deg);
}
.practiceAreaBlock:has(.practiceAreaBlock__code>.elementor-shortcode:empty) {
    display: none;
}

  style + .elementor.elementor-4422[data-elementor-id="4422"] {
    display: none;
}