:root {
  --navy: #000e3e;
  --navy-deep: #071020;
  --gold: #b99735;
  --panel: #e9e9e9;
  --text: #10131a;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 14px;
}

a,
button,
input,
textarea {
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

button {
  cursor: pointer;
}

h1,
h2,
.section-title,
.card-head h3,
.info-card h3,
.recognition-card h3 {
  font-family: "Amiri", serif;
  font-weight: 700;
}

.site-header {
  min-height: 183px;
  display: flex;
  align-items: center;
  background: #fff;
}

.site-header .navbar {
  position: relative;
  width: 100%;
  padding: 32px 0 30px;
}

.nav-container,
.page-container,
.footer-container {
  max-width: 1530px;
  padding-left: 72px;
  padding-right: 72px;
}

.navbar-brand img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.navbar-nav {
  gap: clamp(24px, 2.3vw, 46px);
}

.navbar .nav-link {
  position: relative;
  color: #333946;
  font-size: clamp(17px, 1.05vw, 20px);
  padding: 8px 0;
  white-space: nowrap;
}

.navbar .nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--gold);
}

.navbar .nav-link:hover::before,
.navbar .nav-link:focus::before {
  transform: translateX(-50%) scaleX(1);
}

.navbar .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.35em;
  vertical-align: 0.12em;
  content: "";
  border-top: 0.32em solid;
  border-right: 0.32em solid transparent;
  border-bottom: 0;
  border-left: 0.32em solid transparent;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.navbar .dropdown-toggle:hover::after,
.navbar .dropdown-toggle:focus::after,
.navbar .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  border-radius: 2px;
  border-color: #eee;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform-origin: top center;
}

.dropdown-menu.show:not(.expertise-menu):not(.people-menu) {
  animation: dropdownReveal 0.22s ease both;
}

.expertise-dropdown {
  position: static;
}

.people-dropdown {
  position: static;
}

.expertise-menu {
  left: 50% !important;
  top: 100%;
  width: min(1200px, calc(100vw - 440px));
  min-height: 280px;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.expertise-menu.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  animation: megaDropdownReveal 0.22s ease both;
}

.expertise-top {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(150px, 22vw, 300px);
  padding: 0 80px;
  border-bottom: 1px solid #e2e2e2;
}

.expertise-menu .mega-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #222a35;
  text-decoration: none;
  font-size: 18px;
  white-space: nowrap;
}

.expertise-menu .mega-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: -7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.expertise-menu .mega-link::after {
  display: inline-block;
  margin-left: 0.35em;
  vertical-align: 0.12em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.25s ease;
}

.expertise-menu .mega-link:hover,
.expertise-menu .mega-link:focus,
.expertise-menu .mega-link.is-active {
  color: var(--gold);
}

.expertise-menu .mega-link:hover::before,
.expertise-menu .mega-link:focus::before,
.expertise-menu .mega-link.is-active::before {
  transform: scaleX(1);
}

.expertise-menu .mega-link:hover::after,
.expertise-menu .mega-link:focus::after {
  transform: rotate(180deg);
}

.expertise-detail {
  display: none;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 54px;
  padding: 22px 36px 32px;
}

.expertise-detail.is-active {
  display: grid;
}

.expertise-copy p {
  max-width: 350px;
  margin: 0 0 26px;
  color: #222a35;
  font-size: 20px;
  line-height: 1.55;
}

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

.expertise-list li {
  margin-bottom: 16px;
}

.expertise-list a {
  position: relative;
  display: inline-block;
  padding-left: 15px;
  color: #4b5563;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.2;
}

.expertise-list a::before {
  content: "\203A";
  position: absolute;
  left: 0;
  top: -1px;
  color: #4b5563;
  font-size: 24px;
  line-height: 1;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.expertise-list a:hover,
.expertise-list a:focus {
  color: var(--gold);
  transform: translateX(3px);
}

.expertise-list a:hover::before,
.expertise-list a:focus::before {
  color: var(--gold);
  transform: translateX(2px);
}

.people-menu {
  left: 50% !important;
  top: 100%;
  width: min(1200px, calc(100vw - 440px));
  min-height: 230px;
  margin-top: 0;
  padding: 22px 36px 28px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.people-menu.show {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 38px;
  align-items: start;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  animation: megaDropdownReveal 0.22s ease both;
}

.people-copy p {
  max-width: 350px;
  margin: 0 0 24px;
  color: #222a35;
  font-size: 20px;
  line-height: 1.55;
}

.people-card {
  min-height: 155px;
  padding: 24px 26px;
  border-left: 5px solid #202a44;
  background: #f2f2f2;
}

.people-card h3 {
  margin: 0 0 26px;
  font-family: "Amiri", serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
}

.outline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #dba61a;
  color: #bd8500;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

.outline-link:hover,
.outline-link:focus {
  background: #dba61a;
  color: #fff;
  transform: translateY(-1px);
}

.firm-menu,
.compact-menu {
  min-width: 270px;
  margin-top: 20px;
  padding: 16px 18px 16px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

@keyframes dropdownReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes megaDropdownReveal {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.firm-menu .dropdown-item,
.compact-menu .dropdown-item {
  padding: 0 0 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid #c9c9c9;
  color: #061022;
  font-size: 17px;
  line-height: 1.1;
}

.firm-menu li:last-child .dropdown-item,
.compact-menu li:last-child .dropdown-item {
  margin-bottom: 0;
}

.firm-menu .dropdown-item:hover,
.firm-menu .dropdown-item:focus,
.compact-menu .dropdown-item:hover,
.compact-menu .dropdown-item:focus {
  padding-left: 0;
  background: transparent;
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.knowledge-menu {
  min-width: 280px;
}

.dropdown-item {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(185, 151, 53, 0.1);
  color: var(--gold);
  padding-left: 20px;
}

.hero-banner {
  min-height: 367px;
  background:
    linear-gradient(rgba(0, 24, 61, 0.72), rgba(0, 24, 61, 0)),
    url("../images/banner.webp") center/cover no-repeat;
}

.hero-overlay {
  min-height: 367px;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-banner h1 {
  margin: 9px 0 26px;
  font-size: 48px;
  line-height: 1;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 42px;
}

.hero-divider span {
  width: 280px;
  max-width: 28vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.75);
}

.hero-divider i {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  background: var(--gold);
}

.hero-divider i:nth-of-type(2) {
  width: 18px;
  height: 18px;
}

.hero-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.section-space {
  padding: 58px 0 72px;
}

.section-title {
  margin: 0 0 52px;
  text-align: center;
  font-size: 34px;
  line-height: 1.05;
  color: #000000;
}

.ranking-tabs {
  justify-content: center;
  gap: 14px;
  margin-bottom: 52px;
}

.ranking-tabs .nav-link {
  min-width: 230px;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  padding: 14px 28px;
  font-family: "Amiri", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
  position: relative;
}

.ranking-tabs .nav-link:hover,
.ranking-tabs .nav-link:focus {
  transform: translateY(-1px);
}

.ranking-tabs .nav-link.active {
  color: var(--gold);
}

.ranking-tabs .nav-link.active::after {
  position: absolute;
  content: "";
  width: 100px;
  height: 1px;
  background: var(--gold);
  left: 25px;
  bottom: 0;
}

.rankings-tab-content > .tab-pane {
  outline: 0;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}

.scroll-reveal.reveal-left {
  transform: translateX(-28px);
}

.scroll-reveal.reveal-right {
  transform: translateX(28px);
}

.scroll-reveal.reveal-scale {
  transform: translateY(18px) scale(0.98);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.scroll-reveal[data-reveal-delay="1"] {
  transition-delay: 0.06s;
}

.scroll-reveal[data-reveal-delay="2"] {
  transition-delay: 0.12s;
}

.scroll-reveal[data-reveal-delay="3"] {
  transition-delay: 0.18s;
}

.scroll-reveal[data-reveal-delay="4"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

.ranking-grid {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 43px;
  margin-bottom: 66px;
}

.ranking-card,
.info-card,
.recognition-card {
  overflow: hidden;
  border-radius: 5px;
  background: var(--panel);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.ranking-card:hover,
.info-card:hover,
.recognition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 19, 76, 0.12);
}

.ranking-card {
  min-height: 213px;
  border-radius: 6px;
}

.card-head {
  position: relative;
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 0 26px 0 158px;
  color: #fff;
  background: var(--navy);
}

.card-head img {
  position: absolute;
  left: 45px;
  bottom: -22px;
  width: 74px;
  height: 74px;
  padding: 8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
  object-fit: contain;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.ranking-card:hover .card-head img {
  border-color: #dba61a;
  transform: translateY(-2px) scale(1.04);
}

.card-head h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.18;
  text-transform: uppercase;
}

.card-body-text {
  min-height: 143px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 14px 20px;
  text-align: center;
  text-transform: uppercase;
}

.card-body-text strong,
.info-body strong,
.person-card p {
  font-weight: 500;
}

.card-body-text strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.card-body-text span,
.info-body span,
.recognition-card span {
  color: var(--gold);
  font-weight: 500;
}

.card-body-text span {
  font-size: 18px;
}

.card-body-text.empty {
  min-height: 143px;
}

.city-grid {
  --bs-gutter-x: 20px;
  margin-bottom: 92px;
}

.city-grid > [class*="col-"] {
  display: flex;
}

.city-grid .info-card {
  width: 100%;
}

.info-card {
  min-height: 328px;
  border-radius: 6px;
}

.info-card h3,
.recognition-card h3 {
  margin: 0;
  padding: 28px 18px 23px;
  color: #fff;
  background: var(--navy);
  text-align: center;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1;
}

.info-body {
  padding: 18px 18px 20px;
  min-height: 255px;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.25;
}

.info-body.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-body p {
  margin: 0 0 19px;
}

.info-body p:last-child {
  margin-bottom: 0;
}

.recognition-card {
  max-width: 840px;
  border-radius: 6px;
}

.recognition-card h3 {
  padding: 24px 20px 18px;
  font-size: 33px;
}

.recognition-card .row {
  padding: 60px 58px 40px;
}

.recognition-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  text-transform: uppercase;
  font-weight: 800;
}

.individual-section .section-title {
  margin-bottom: 52px;
}

.individual-grid {
  max-width: 865px;
  margin: 0 auto;
  --bs-gutter-x: 24px;
}

.individual-grid > [class*="col-"] {
  display: flex;
}

.person-card {
  width: 100%;
  min-height: 405px;
}

.person-card h3 {
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-size: 16px;
  line-height: 1.12;
}

.person-card .info-body {
  min-height: 347px;
  padding: 21px 23px 24px;
  font-size: 14px;
  line-height: 1.28;
}

.person-card p {
  margin-bottom: 12px;
}

.top-space {
  justify-content: flex-start !important;
  padding-top: 26px !important;
}

/* Premium card language for Firm + Individual ranking tab panels */
.rankings-tabs-section .tab-pane .ranking-card,
.rankings-tabs-section .tab-pane .individual-grid .person-card {
  position: relative;
  min-height: 225px;
  border: 1px solid #d4d1ca;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #efede6;
  box-shadow: 0 2px 8px rgba(0, 18, 52, 0.06);
  flex-direction: column;
  justify-content: space-between;
}

.rankings-tabs-section .tab-pane .ranking-card {
  background: #f2f2f2;
}

.rankings-tabs-section .tab-pane .ranking-card .card-head {
  min-height: 124px;
  display: flex;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 14px;
  padding: 19px 24px 0 24px;
  background: transparent;
}

.rankings-tabs-section .tab-pane .ranking-card .card-head .card-text {
  margin: 7px 0 0 0;
  width: 100%;
}

/* .rankings-tabs-section .tab-pane .ranking-card .card-head::before {
  content: "Practice Area";
  position: absolute;
  left: 98px;
  top: 30px;
  color: #5f6f86;
  font-family: "Open Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.33em;
  text-transform: uppercase;
} */

.tier-bg {
  background: #07284e;
  color: #edc475;
  padding: 12px 12px;
  margin: 0;
  width: auto;
  border-radius: 0;
  text-align: center;
  font-size: 16px;
}

.rankings-tabs-section .tab-pane .ranking-card .card-head img {
  position: static;
  width: 56px;
  height: 56px;
  padding: 10px;
  border-width: 1.5px;
  background: #f8f7f2;
  transform: none !important;
  align-self: center;
  flex-shrink: 0;
}

.rankings-tabs-section .tab-pane .ranking-card .card-head h3 {
  margin-top: 0;
  color: #071f54;
  font-size: clamp(26px, 1.1vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  text-transform: none;
  padding-bottom: 7px;
}

.rankings-tabs-section .tab-pane .ranking-card .card-head h4 {
  margin-top: 7px;
  color: #071f54;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.08;
  text-transform: none;
}

.rankings-tabs-section .tab-pane .ranking-card .card-body-text {
  min-height: auto;
  flex-direction: row;
  justify-content: flex-start;
  gap: 0;
  padding: 26px 24px 24px;
}

.rankings-tabs-section .tab-pane .ranking-card .card-body-text strong {
  margin: 0;
  border: 1px solid #0d2a63;
  border-radius: 999px;
  color: #0d2a63;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  text-transform: uppercase;
}

.rankings-tabs-section .tab-pane .ranking-card .card-body-text strong::before {
  content: "\2022";
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}

.rankings-tabs-section .tab-pane .ranking-card .card-body-text span {
  align-self: center;
  color: #b1852f;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.rankings-tabs-section .tab-pane .ranking-card .card-body-text.empty {
  min-height: 78px;
}

.rankings-tabs-section .tab-pane .individual-grid {
  max-width: 1280px;
  --bs-gutter-x: 22px;
}

.rankings-tabs-section .tab-pane .individual-grid .person-card h3 {
  min-height: auto;
  justify-content: flex-start;
  padding: 26px 24px 14px;
  background: transparent;
  color: #071f54;
  font-size: clamp(24px, 1.9vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  text-transform: none;
}

.rankings-tabs-section .tab-pane .individual-grid .person-card h3::before {
  content: "";
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: #f8f7f2;
  flex: 0 0 40px;
}

.rankings-tabs-section .tab-pane .individual-grid .person-card .info-body {
  min-height: auto;
  padding: 8px 24px 24px;
  align-items: flex-start;
  justify-content: flex-start !important;
  text-align: left;
  font-size: 16px;
  line-height: 1.45;
}

.rankings-tabs-section
  .tab-pane
  .individual-grid
  .person-card
  .info-body.bench-note {
  display: flex;
  align-items: center !important;
  height: 100%;
  justify-content: center !important;
}

.rankings-tabs-section .tab-pane .individual-grid .person-card .info-body p {
  margin-bottom: 10px;
}

.rankings-tabs-section .tab-pane .individual-grid .person-card .info-body span {
  color: #ffffff;
  font-size: 19px;
}

.rankings-tabs-section
  .tab-pane
  .individual-grid
  .person-card
  .info-body
  span.profile-date {
  color: #071f54;
  font-size: 14px;
}

/* Same premium skin for city ranking + recognition boxes */
.rankings-tabs-section .tab-pane .city-grid .info-card,
.rankings-tabs-section .tab-pane .recognition-card {
  border: 1px solid #d4d1ca;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #f2f2f2;
  box-shadow: 0 2px 8px rgba(0, 18, 52, 0.06);
}

.rankings-tabs-section .tab-pane .city-grid .info-card h3,
.rankings-tabs-section .tab-pane .recognition-card h3 {
  padding: 22px 22px 10px;
  background: transparent;
  color: #071f54;
  font-size: clamp(24px, 1.8vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: none;
  text-align: left;
}

.rankings-tabs-section .tab-pane .city-grid .info-body {
  min-height: auto;
  padding: 6px 22px 22px;
  text-align: left;
  font-size: 16px;
  line-height: 1.45;
}

.rankings-tabs-section .tab-pane .city-grid .info-body.centered {
  align-items: flex-start;
  justify-content: flex-start;
}

.rankings-tabs-section .tab-pane .city-grid .info-body p {
  margin-bottom: 14px;
}

.rankings-tabs-section .tab-pane .city-grid .info-body strong {
  color: #0b1e4d;
  font-weight: 700;
}

.rankings-tabs-section .tab-pane .city-grid .info-body span {
  color: #b1852f;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.rankings-tabs-section .tab-pane .recognition-card {
  max-width: 100%;
}

.rankings-tabs-section .tab-pane .recognition-card .row {
  padding: 16px 22px 24px;
}

.rankings-tabs-section .tab-pane .recognition-card p {
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
}

.rankings-tabs-section .tab-pane .recognition-card p strong {
  color: #0b1e4d;
}

/* Individual ranking card pattern */
.rankings-tabs-section .tab-pane .profiles-grid {
  max-width: 1420px;
  --bs-gutter-x: 22px;
}

.rankings-tabs-section .tab-pane .profiles-grid .profile-card {
  min-height: 620px;
  border-left: 5px solid var(--gold);
  background: #f2f2f2;
  box-shadow: 0 2px 8px rgba(0, 18, 52, 0.05);
  display: inline-block;
}

.rankings-tabs-section .tab-pane .profiles-grid .profile-kicker {
  margin: 0;
  padding: 26px 26px 6px;
  color: #b1852f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.rankings-tabs-section .tab-pane .profiles-grid .profile-card h3 {
  min-height: auto;
  margin: 0;
  padding: 12px 12px;
  background: #07284e;
  color: #edc475;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  text-align: center;
  justify-content: center;
}

.rankings-tabs-section .tab-pane .profiles-grid .profile-card h3 strong {
  font-weight: 700;
}

.rankings-tabs-section .tab-pane .profiles-grid .profile-card h3::before {
  display: none;
}

.rankings-tabs-section .tab-pane .profiles-grid .profile-card .info-body {
  min-height: auto;
  padding: 14px 26px 26px;
  text-align: left;
  text-transform: none;
}

.profile-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.profile-item p {
  margin: 0;
}

.profile-item strong {
  display: block;
  color: #000000;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-item small {
  display: block;
  margin-top: 2px;
  color: #6d6f75;
  font-size: 14px;
  line-height: 1.2;
}

.profile-badge {
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #0b2a63;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Amiri", serif;
  font-size: 28px;
  line-height: 1;
  flex: 0 0 48px;
}

.profile-badge-gold {
  background: #b79b57;
}

.profile-cluster {
  padding: 0 0 18px;
  margin-bottom: 14px;
  border-bottom: 1px dashed #d7d4ce;
}

.profile-cluster:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.cluster-title {
  margin: 0 0 12px;
  color: #071f54;
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize;
}

.bench-note {
  min-height: 430px !important;
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.bench-note h4 {
  margin: 0 0 16px;
  color: #071f54;
  font-family: "Open Sans", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bench-note p {
  margin: 0;
  max-width: 360px;
  color: #5f6168;
  font-family: "Amiri", serif;
  font-size: 21px;
  font-style: italic;
  line-height: 1.42;
}

.offices-section {
  padding: 88px 0 94px;
  background: #ededed;
}

.offices-section .section-title {
  color: var(--navy-deep);
  margin-bottom: 52px;
  font-size: 42px;
}

.office-list {
  max-width: 1168px;
  margin: 0 auto;
  --bs-gutter-x: 64px;
}

.office-list h3 {
  margin: 0 0 18px;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.1;
}

.office-list p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.72;
}

.phone::before {
  content: "\260E";
  margin-right: 10px;
  color: #656565;
}

.site-footer {
  background: #0b1021;
  color: #fff;
}

.footer-container {
  position: relative;
  padding-top: 78px;
  padding-bottom: 58px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 34px;
}

.contact-form {
  max-width: 430px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  margin-bottom: 18px;
  border: 0;
  background: #343747;
  color: #fff;
  padding: 9px 15px;
  font-size: 16px;
}

.contact-form input:hover,
.contact-form textarea:hover {
  background: #3d4051;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  background: #424657;
  box-shadow: 0 0 0 1px var(--gold);
}

.contact-form textarea {
  min-height: 62px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.captcha-row {
  display: flex;
  align-items: stretch;
}

.captcha-row input {
  flex: 1;
}

.captcha-row span {
  width: 104px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
  color: #111;
  font-family: "Amiri", serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 700;
}

.contact-form button {
  min-width: 116px;
  margin-top: 26px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  padding: 9px 24px;
  font-size: 16px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  border-color: #dba61a;
  background: #dba61a;
  color: #fff;
  transform: translateY(-1px);
}

.email-col h3,
.connect-col h3 {
  margin: 0 0 18px;
  font-family: "Amiri", serif;
  font-size: 33px;
  font-weight: 700;
  line-height: 1;
}

.email-line {
  margin-bottom: 34px;
  font-size: 22px;
}

.email-line::before {
  content: "\2709";
  margin-right: 12px;
  color: #8d94a2;
}

.email-line a {
  color: #8d94a2;
  text-decoration: none;
  transition: color 0.25s ease;
}

.email-line a:hover,
.email-line a:focus {
  color: var(--gold);
}

.disclaimer {
  max-width: 460px;
  color: #fff;
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 7px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #858996;
  border-radius: 3px;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.social-links a:hover,
.social-links a:focus {
  background: #dba61a;
  transform: translateY(-1px);
}

.social-links img {
  width: 27px;
  height: 27px;
  transition: filter 0.25s ease;
}

.connect-col ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.connect-col li {
  margin-bottom: 18px;
}

.connect-col a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.connect-col a:hover {
  color: var(--gold);
}

.connect-col li a {
  position: relative;
  display: inline-block;
}

.connect-col li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.connect-col li a:hover::after,
.connect-col li a:focus::after {
  transform: scaleX(1);
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus {
  background: #dba61a;
  color: #fff;
  transform: translateY(-2px);
}

.copyright {
  padding: 13px;
  background: #2b3040;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
  font-size: 15px;
}

@media (max-width: 1399.98px) {
  .nav-container,
  .page-container,
  .footer-container {
    padding-left: 48px;
    padding-right: 48px;
  }

  .navbar-brand img {
    width: 190px;
  }

  .navbar-nav {
    gap: 24px;
  }

  .card-head {
    padding-left: 134px;
  }

  .card-head img {
    left: 34px;
  }

  .card-head h3 {
    font-size: 19px;
  }

  .office-list {
    --bs-gutter-x: 38px;
  }

  .email-line {
    font-size: 19px;
  }
}

@media (max-width: 1199.98px) {
  .nav-container,
  .page-container,
  .footer-container {
    padding-left: 36px;
    padding-right: 36px;
  }

  .site-header {
    min-height: auto;
  }

  .site-header .navbar {
    padding: 20px 0;
  }

  .navbar-brand img {
    width: 170px;
  }

  .navbar-toggler {
    border-color: rgba(0, 19, 76, 0.25);
    border-radius: 0;
    padding: 7px 9px;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(185, 151, 53, 0.35);
  }

  .navbar-collapse {
    margin-top: 18px;
    padding: 16px 0 8px;
    border-top: 1px solid #e8e8e8;
  }

  .navbar .nav-link {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 0;
  }

  .navbar-nav {
    gap: 0;
    align-items: flex-start !important;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar .nav-link::before {
    bottom: 4px;
    left: 11px;
    width: 22px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .navbar .nav-link:hover::before,
  .navbar .nav-link:focus::before {
    transform: scaleX(1);
  }

  .dropdown-menu {
    position: static !important;
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: none;
    animation: none !important;
  }

  .expertise-dropdown,
  .people-dropdown {
    position: relative;
  }

  .expertise-menu,
  .people-menu {
    left: auto !important;
    width: 100%;
    min-height: auto;
    opacity: 1;
    transform: none;
  }

  .expertise-menu.show,
  .people-menu.show {
    transform: none;
    animation: none;
  }

  .expertise-menu {
    padding: 0;
  }

  .expertise-top {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 12px 0;
  }

  .expertise-menu .mega-link {
    display: inline-flex;
    width: auto;
    padding: 7px 0;
    font-size: 15px;
  }

  .expertise-detail {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0 12px;
    border-top: 1px solid #e2e2e2;
  }

  .expertise-detail.is-active {
    display: grid;
  }

  .expertise-copy p,
  .people-copy p {
    max-width: none;
    font-size: 15px;
    line-height: 1.55;
  }

  .expertise-list li {
    margin-bottom: 12px;
  }

  .expertise-list a {
    font-size: 15px;
  }

  .people-menu {
    padding: 16px 0;
  }

  .people-menu.show {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .people-card {
    min-height: auto;
    padding: 18px 20px;
  }

  .people-card h3 {
    font-size: 24px;
  }

  .outline-link {
    min-height: 40px;
    font-size: 15px;
  }

  .firm-menu,
  .compact-menu {
    min-width: 100%;
    padding: 10px 0 4px;
  }

  .firm-menu .dropdown-item,
  .compact-menu .dropdown-item {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .hero-banner,
  .hero-overlay {
    min-height: 320px;
  }

  .ranking-grid {
    --bs-gutter-y: 32px;
  }

  .card-head {
    min-height: 78px;
    padding-left: 120px;
  }

  .card-head img {
    left: 28px;
    width: 68px;
    height: 68px;
  }

  .card-head h3 {
    font-size: 18px;
  }

  .card-body-text span {
    font-size: 16px;
  }

  .info-body {
    font-size: 12px;
  }

  .recognition-card {
    max-width: 820px;
  }

  .footer-logo {
    width: 168px;
  }

  .email-col h3,
  .connect-col h3 {
    font-size: 30px;
  }
}

@media (max-width: 991.98px) {
  .site-header {
    min-height: auto;
  }

  .site-header .navbar {
    padding: 20px 0;
  }

  .navbar-brand img {
    width: 160px;
  }

  .navbar-nav {
    gap: 0;
    padding-top: 18px;
    align-items: flex-start !important;
  }

  .navbar .nav-link {
    padding: 10px 0;
    font-size: 16px;
  }

  .expertise-dropdown {
    position: relative;
  }

  .people-dropdown {
    position: relative;
  }

  .expertise-menu {
    width: 100%;
    min-height: auto;
    display: none;
    gap: 0;
    align-items: flex-start;
    padding: 0;
    transform: none;
    opacity: 1;
  }

  .expertise-menu.show {
    display: block;
  }

  .expertise-top {
    min-height: auto;
    display: block;
    padding: 10px 0;
  }

  .expertise-menu .mega-link {
    display: flex;
    padding: 10px 0;
    font-size: 15px;
  }

  .expertise-detail {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 0 10px;
    border-top: 1px solid #e2e2e2;
  }

  .expertise-copy p {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
  }

  .expertise-list li {
    margin-bottom: 12px;
  }

  .expertise-list a {
    font-size: 15px;
  }

  .people-menu {
    width: 100%;
    min-height: auto;
    padding: 16px 0;
    transform: none;
    opacity: 1;
  }

  .people-menu.show {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .people-copy p {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
  }

  .people-card {
    min-height: auto;
    padding: 18px 20px;
  }

  .people-card h3 {
    font-size: 24px;
  }

  .outline-link {
    min-height: 40px;
    font-size: 15px;
  }

  .firm-menu,
  .compact-menu {
    min-width: 100%;
    margin-top: 0;
    padding: 10px 0;
  }

  .firm-menu .dropdown-item,
  .compact-menu .dropdown-item {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .ranking-card {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .card-head {
    padding-left: 132px;
  }

  .city-grid {
    --bs-gutter-y: 24px;
  }

  .recognition-card .row {
    padding: 44px 38px 30px;
  }

  .individual-grid {
    max-width: 720px;
  }

  .person-card {
    min-height: 380px;
  }

  .person-card .info-body {
    min-height: 305px;
    font-size: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .office-list {
    --bs-gutter-x: 40px;
    --bs-gutter-y: 36px;
  }

  .office-list h3 {
    font-size: 28px;
  }

  .office-list p {
    font-size: 16px;
  }

  .footer-container {
    padding-top: 58px;
  }

  .contact-form,
  .disclaimer {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .nav-container,
  .page-container,
  .footer-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .navbar-brand img {
    width: 140px;
  }

  .hero-banner,
  .hero-overlay {
    min-height: 250px;
  }

  .hero-banner h1 {
    margin-bottom: 18px;
    font-size: 38px;
  }

  .hero-divider {
    gap: 7px;
    margin-bottom: 28px;
  }

  .hero-divider span {
    width: 120px;
    max-width: 30vw;
  }

  .hero-divider i {
    width: 9px;
    height: 9px;
  }

  .hero-divider i:nth-of-type(2) {
    width: 14px;
    height: 14px;
  }

  .hero-banner p {
    font-size: 14px;
  }

  .section-space {
    padding: 48px 0 58px;
  }

  .section-title {
    margin-bottom: 36px;
    font-size: 34px;
  }

  .ranking-tabs {
    gap: 10px;
    margin-bottom: 38px;
  }

  .ranking-tabs .nav-link {
    min-width: 0;
    padding: 12px 18px;
    font-size: 19px;
  }

  .rankings-tabs-section .tab-pane .ranking-card .card-head {
    grid-template-columns: 46px 1fr;
    padding: 18px 16px 10px;
    gap: 10px;
  }

  .rankings-tabs-section .tab-pane .ranking-card .card-head::before {
    left: 72px;
    top: 21px;
    font-size: 9px;
    letter-spacing: 0.26em;
  }

  .rankings-tabs-section .tab-pane .ranking-card .card-head img {
    width: 46px;
    height: 46px;
    padding: 8px;
    margin: 22px 0 0 0;
  }

  .rankings-tabs-section .tab-pane .ranking-card .card-head h3 {
    margin-top: 38px;
  }

  .rankings-tabs-section .tab-pane .ranking-card .card-body-text {
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
  }

  .rankings-tabs-section .tab-pane .ranking-card .card-body-text strong {
    font-size: 13px;
    padding: 6px 12px;
  }

  .rankings-tabs-section .tab-pane .ranking-card .card-body-text span {
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .rankings-tabs-section .tab-pane .individual-grid .person-card h3 {
    padding: 30px 16px 10px;
  }

  .rankings-tabs-section .tab-pane .individual-grid .person-card h3::before {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    flex-basis: 32px;
  }

  .rankings-tabs-section .tab-pane .individual-grid .person-card .info-body {
    padding: 8px 16px 18px;
    font-size: 14px;
  }

  .rankings-tabs-section .tab-pane .profiles-grid .profile-card {
    min-height: auto;
  }

  .rankings-tabs-section .tab-pane .profiles-grid .profile-kicker {
    padding: 16px 16px 4px;
    letter-spacing: 0.24em;
  }

  .rankings-tabs-section .tab-pane .profiles-grid .profile-card h3 {
    padding: 16px 14px;
  }

  .rankings-tabs-section .tab-pane .profiles-grid .profile-card .info-body {
    padding: 12px 16px 16px;
  }

  .profile-item {
    gap: 10px;
  }

  .profile-badge {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 22px;
  }

  .profile-item strong {
    font-size: 16px;
  }

  .profile-item small {
    font-size: 13px;
  }

  .bench-note {
    min-height: 260px !important;
  }

  .bench-note h4 {
    font-size: 22px;
  }

  .bench-note p {
    font-size: 18px;
  }

  .rankings-tabs-section .tab-pane .city-grid .info-card h3,
  .rankings-tabs-section .tab-pane .recognition-card h3 {
    padding: 16px 16px 8px;
    font-size: 22px;
  }

  .rankings-tabs-section .tab-pane .city-grid .info-body {
    padding: 4px 16px 16px;
    font-size: 14px;
  }

  .rankings-tabs-section .tab-pane .recognition-card .row {
    padding: 10px 16px 16px;
  }

  .rankings-tabs-section .tab-pane .recognition-card p {
    font-size: 14px;
  }

  .ranking-grid {
    --bs-gutter-y: 26px;
    margin-bottom: 50px;
  }

  .ranking-card {
    min-height: 190px;
  }

  .card-head {
    min-height: 76px;
    padding: 14px 18px 14px 112px;
  }

  .card-head img {
    left: 25px;
    bottom: -18px;
    width: 64px;
    height: 64px;
    padding: 7px;
  }

  .card-head h3 {
    font-size: 17px;
  }

  .card-body-text,
  .card-body-text.empty {
    min-height: 114px;
    padding-top: 28px;
  }

  .card-body-text strong {
    font-size: 18px;
  }

  .card-body-text span {
    font-size: 15px;
  }

  .city-grid {
    margin-bottom: 56px;
  }

  .info-card {
    min-height: auto;
  }

  .info-card h3,
  .recognition-card h3 {
    padding: 22px 16px 17px;
    font-size: 21px;
  }

  .info-body {
    min-height: auto;
    padding: 22px 18px 24px;
    font-size: 13px;
  }

  .info-body.centered {
    min-height: 160px;
  }

  .recognition-card .row {
    padding: 28px 24px 22px;
  }

  .recognition-card h3 {
    font-size: 25px;
    line-height: 1.1;
  }

  .recognition-card p {
    font-size: 13px;
  }

  .individual-grid {
    max-width: 430px;
  }

  .person-card {
    min-height: auto;
  }

  .person-card .info-body {
    min-height: auto;
    font-size: 13px;
  }

  .top-space {
    min-height: 150px !important;
  }

  .offices-section .section-title {
    font-size: 36px;
  }

  .offices-section {
    padding: 56px 0;
  }

  .office-list h3 {
    margin-bottom: 12px;
    font-size: 27px;
  }

  .office-list p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.65;
  }

  .footer-container {
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .back-to-top {
    right: 24px;
    bottom: 24px;
  }

  .footer-logo {
    width: 150px;
    margin-bottom: 26px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .email-col h3,
  .connect-col h3 {
    font-size: 28px;
  }

  .email-line {
    margin-bottom: 22px;
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .disclaimer {
    font-size: 13px;
  }

  .social-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 575.98px) {
  .nav-container,
  .page-container,
  .footer-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header .navbar {
    padding: 16px 0;
  }

  .navbar-brand img {
    width: 128px;
  }

  .hero-banner,
  .hero-overlay {
    min-height: 220px;
  }

  .hero-banner h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 30px;
  }

  .ranking-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ranking-tabs .nav-link {
    width: 100%;
    font-size: 18px;
  }

  .card-head {
    padding-left: 96px;
    padding-right: 14px;
  }

  .card-head img {
    left: 18px;
    width: 58px;
    height: 58px;
  }

  .card-head h3 {
    font-size: 15px;
  }

  .recognition-card h3 {
    font-size: 22px;
  }

  .offices-section .section-title {
    font-size: 32px;
  }

  .captcha-row span {
    width: 86px;
    font-size: 22px;
  }

  .contact-form button {
    width: 116px;
  }
}

/* =========================================================
   Bootstrap 3 / Bootstrap 5 layout bridge (awards page)
   ---------------------------------------------------------
   The awards markup uses Bootstrap 5 grid (flexbox + g-4 +
   --bs-gutter-* variables). The live site loads Bootstrap 3
   (float grid), which ignores all of that and cramps the
   layout. These rules drive the layout with CSS Grid so it
   renders the same regardless of which Bootstrap is loaded.
   ========================================================= */

/* BS3 forces .container to a fixed 1170px width — override it */
.rankings-section .page-container,
.offices-section .page-container {
  width: auto;
  max-width: 1530px;
  margin-left: auto;
  margin-right: auto;
}

/* BS3 adds clearfix pseudo-elements (.row::before/::after with content:" ").
   Inside a CSS grid/flex container those become extra items and push the
   real cards/tabs out of place. Hide them on every grid we control. */
.rankings-tabs-section .ranking-grid::before,
.rankings-tabs-section .ranking-grid::after,
.rankings-tabs-section .city-grid::before,
.rankings-tabs-section .city-grid::after,
.rankings-tabs-section .individual-grid::before,
.rankings-tabs-section .individual-grid::after,
.rankings-tabs-section .recognition-card .row::before,
.rankings-tabs-section .recognition-card .row::after,
.rankings-tabs-section .ranking-tabs::before,
.rankings-tabs-section .ranking-tabs::after {
  content: none;
  display: none;
}

/* Tabs: BS3 .nav is block-level, so flex centering never kicks in and the
   default <button> border shows. Force the BS5 look. */
.rankings-tabs-section .ranking-tabs {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
}

.rankings-tabs-section .ranking-tabs .nav-item {
  float: none;
  list-style: none;
}

.rankings-tabs-section .ranking-tabs .nav-link {
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* Firm practice-area cards: 3 across */
.rankings-tabs-section .ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 43px 24px;
  margin-left: 0;
  margin-right: 0;
}

/* City cards: 4 across */
.rankings-tabs-section .city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  margin-left: 0;
  margin-right: 0;
}

/* Individual ranking cards: 3 across */
.rankings-tabs-section .individual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-left: auto;
  margin-right: auto;
}

/* Neutralise BS3 float/padding/width on the column wrappers */
.rankings-tabs-section .ranking-grid > [class*="col-"],
.rankings-tabs-section .city-grid > [class*="col-"],
.rankings-tabs-section .individual-grid > [class*="col-"] {
  float: none;
  width: auto;
  max-width: none;
  padding: 0;
  display: flex;
}

.rankings-tabs-section .ranking-grid > [class*="col-"] > .ranking-card,
.rankings-tabs-section .city-grid > [class*="col-"] > .info-card,
.rankings-tabs-section .individual-grid > [class*="col-"] > .person-card {
  width: 100%;
}

/* Keep the offset card centered on the last row (8-card layout) */
.rankings-tabs-section .ranking-grid > .offset-lg-2 {
  grid-column-start: 2;
}

/* Recognition card: two-column body */
/* .rankings-tabs-section .recognition-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-left: 0;
  margin-right: 0;
} */

/* .rankings-tabs-section .recognition-card .row > [class*="col-"] {
  float: none;
  width: auto;
  max-width: none;
  padding: 0;
} */

/* Center the recognition card (BS5 .mx-auto doesn't exist in BS3) */
.rankings-tabs-section .recognition-card {
  margin-left: auto;
  margin-right: auto;
}

/* Offices: 4-up grid (BS3 floats + ignored --bs-gutter-x otherwise) */
.offices-section .office-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 64px;
  margin-left: auto;
  margin-right: auto;
}

.offices-section .office-list::before,
.offices-section .office-list::after {
  content: none;
  display: none;
}

.offices-section .office-list > [class*="col-"] {
  float: none;
  width: auto;
  max-width: none;
  padding: 0;
}

/* Tablet */
@media (max-width: 991.98px) {
  .rankings-tabs-section .ranking-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rankings-tabs-section .city-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rankings-tabs-section .ranking-grid > .offset-lg-2 {
    grid-column-start: auto;
  }

  .offices-section .office-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Small tablet / large phone */
@media (max-width: 767.98px) {
  .rankings-tabs-section .individual-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .rankings-tabs-section .ranking-grid,
  .rankings-tabs-section .city-grid {
    grid-template-columns: 1fr;
  }

  .rankings-tabs-section .recognition-card .row {
    grid-template-columns: 1fr;
  }

  .offices-section .office-list {
    grid-template-columns: 1fr;
  }
}
