.court-refined {
  --court-navy: #03111e;
  --court-blue: #0a2945;
  --court-gold: #c9a056;
  --court-cream: #f5f1e9;
  --court-ink: #172a38;
  --court-muted: #5b6d79;
  overflow: clip;
}

.court-integration-marker {
  display: none !important;
}

.lpcr-live-widget {
  min-width: 0;
  max-width: 100%;
  min-height: 180px;
  overflow: hidden;
}

.lpcr-live-widget > :not(.lpcr-widget-fallback) {
  max-width: 100%;
}

.lpcr-widget-fallback[hidden] {
  display: none !important;
}

.lpcr-widget-fallback:not([hidden]),
.lpcr-static-reviews {
  display: block;
}

.lpcr-live-widget iframe,
.lpcr-live-widget img {
  max-width: 100%;
}

.court-refined .lrr-hero {
  min-height: min(760px, 79vh);
  background-position: center 63%;
}

.court-refined .lrr-hero-copy {
  max-width: 790px;
}

.court-refined .lrr-hero h1 {
  max-width: 780px;
}

.court-refined .lrr-hero-note {
  max-width: 700px;
}

.court-refined .court-location-badge {
  display: inline-flex;
  margin-top: 27px;
  padding: 13px 17px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(3, 17, 30, .48);
  color: #eef4f7;
  font-size: 14px;
  backdrop-filter: blur(7px);
}

.court-location-badge strong {
  color: #fff;
}

.court-location-badge span {
  color: #d5e0e7;
}

.court-refined .court-glance {
  padding: 62px 0;
  background: #fff;
}

.court-glance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #dce3e7;
  background: #dce3e7;
  box-shadow: 0 18px 48px rgba(3, 17, 30, .07);
}

.court-glance-card {
  min-width: 0;
  padding: 30px;
  background: #fff;
}

.court-glance-label,
.court-compare-kicker,
.court-source-label,
.court-track-label {
  display: block;
  margin-bottom: 10px;
  color: #8a642d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.court-glance-card h2,
.court-glance-card h3 {
  margin: 0 0 11px;
  color: var(--court-navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
}

.court-glance-card h2 {
  font-size: 26px;
}

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

.court-glance-card p {
  margin: 0;
  color: var(--court-muted);
  line-height: 1.7;
}

.court-glance-card a {
  color: var(--court-blue);
  font-weight: 800;
  text-underline-offset: 4px;
}

.court-refined .court-notice {
  padding: 0 0 68px;
  background: #fff;
}

.court-notice-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  padding: 26px 30px;
  align-items: center;
  border-left: 4px solid var(--court-gold);
  background: var(--court-cream);
}

.court-notice-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--court-navy);
  color: #fff;
  font: 800 21px/1 Georgia, serif;
}

.court-notice h2 {
  margin: 0 0 7px;
  color: var(--court-navy);
  font: 700 26px/1.17 Georgia, "Times New Roman", serif;
}

.court-notice p {
  margin: 0;
  color: #546673;
}

.court-notice a {
  color: var(--court-blue);
  font-size: 14px;
  font-weight: 850;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.court-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.court-compare {
  position: relative;
  min-width: 0;
  padding: 36px;
  border: 1px solid #d9e1e5;
  background: #fff;
  box-shadow: 0 16px 42px rgba(3, 17, 30, .06);
}

.court-compare--primary {
  border-top: 5px solid var(--court-gold);
}

.court-compare--municipal {
  border-top: 5px solid var(--court-blue);
  background: #fbfcfc;
}

.court-compare-number {
  position: absolute;
  top: 26px;
  right: 30px;
  color: #d8dfe3;
  font: 700 54px/1 Georgia, serif;
}

.court-compare h3 {
  max-width: 78%;
  margin: 0 0 12px;
  color: var(--court-navy);
  font: 700 30px/1.15 Georgia, "Times New Roman", serif;
}

.court-compare-address {
  margin: 0 0 18px;
  color: #293f4e;
  font-weight: 800;
}

.court-compare p:not(.court-compare-address) {
  margin: 0 0 18px;
  color: var(--court-muted);
}

.court-compare ul {
  display: grid;
  gap: 9px;
  margin: 0 0 23px;
  padding: 0;
  list-style: none;
}

.court-compare li {
  position: relative;
  padding-left: 20px;
  color: #425764;
}

.court-compare li::before {
  position: absolute;
  top: .68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--court-gold);
  content: "";
}

.court-compare a,
.court-source a {
  color: var(--court-blue);
  font-size: 14px;
  font-weight: 850;
  text-underline-offset: 5px;
}

.court-plan-grid,
.court-separate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.court-plan-card {
  min-width: 0;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .07);
}

.court-plan-card h3 {
  margin: 0 0 15px;
  color: #fff;
  font: 700 29px/1.16 Georgia, "Times New Roman", serif;
}

.court-plan-card p,
.court-plan-card li {
  color: #cfdae1;
}

.court-plan-card ul {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.court-plan-card li {
  position: relative;
  padding-left: 24px;
}

.court-plan-card li::before {
  position: absolute;
  top: .7em;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--court-gold);
  content: "";
}

.court-plan-card a {
  color: #f1c982;
  font-weight: 800;
  text-underline-offset: 4px;
}

.court-check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  gap: 52px;
  align-items: start;
}

.court-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.court-check-item {
  position: relative;
  min-width: 0;
  padding: 17px 18px 17px 45px;
  border: 1px solid #dce3e7;
  background: #fff;
  color: #425764;
}

.court-check-item::before {
  position: absolute;
  top: 17px;
  left: 17px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid var(--court-gold);
  color: #8c642e;
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.court-reminder {
  padding: 34px;
  border-top: 5px solid var(--court-gold);
  background: var(--court-navy);
  color: #d6e0e7;
  box-shadow: 0 18px 48px rgba(3, 17, 30, .13);
}

.court-reminder h3 {
  margin: 0 0 16px;
  color: #fff;
  font: 700 28px/1.17 Georgia, "Times New Roman", serif;
}

.court-reminder p {
  color: #ccd8df;
}

.court-reminder strong {
  color: #fff;
}

.court-reminder a {
  color: #f1c982;
  font-weight: 850;
}

.court-track {
  min-width: 0;
  padding: 36px;
  border: 1px solid #d9e1e5;
  background: #fff;
}

.court-track--dmv {
  background: var(--court-navy);
}

.court-track h3 {
  margin: 0 0 14px;
  color: var(--court-navy);
  font: 700 30px/1.15 Georgia, "Times New Roman", serif;
}

.court-track p,
.court-track li {
  color: var(--court-muted);
}

.court-track ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0 0 0 19px;
}

.court-track--dmv h3,
.court-track--dmv strong {
  color: #fff;
}

.court-track--dmv p,
.court-track--dmv li {
  color: #cfdae1;
}

.court-track a {
  color: #8b642e;
  font-weight: 850;
}

.court-track--dmv a {
  color: #f1c982;
}

.court-reviewed {
  margin: 24px 0;
  color: #71808a;
  font-size: 13px;
  font-weight: 750;
}

.court-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.court-source {
  min-width: 0;
  padding: 28px;
  border: 1px solid #d9e1e5;
  background: #fff;
}

.court-source h3 {
  margin: 0 0 12px;
  color: var(--court-navy);
  font: 700 23px/1.17 Georgia, "Times New Roman", serif;
}

.court-source p {
  margin: 0 0 18px;
  color: var(--court-muted);
  font-size: 14px;
}

.court-verify-note {
  margin: 28px 0 0;
  padding: 19px 22px;
  border-left: 4px solid var(--court-gold);
  background: #ede7dc;
  color: #4e606c;
  font-size: 14px;
}

.court-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.court-contact-step {
  min-width: 0;
  padding: 30px;
  border: 1px solid #d9e1e5;
  background: #fff;
}

.court-contact-step > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--court-navy);
  color: #fff;
  font-weight: 850;
}

.court-contact-step h3 {
  margin: 0 0 10px;
  color: var(--court-navy);
  font: 700 23px/1.17 Georgia, "Times New Roman", serif;
}

.court-contact-step p {
  margin: 0;
  color: var(--court-muted);
}

.court-refined .lrr-cta {
  background-position: center 63%;
}

/* Proven safeguard: portrait and text stay aligned on laptop/desktop. */
@media (min-width: 781px) {
  .court-refined .lrr-attorney-grid {
    display: grid !important;
    grid-template-columns: minmax(340px, .83fr) minmax(0, 1.17fr) !important;
    gap: clamp(54px, 7vw, 96px) !important;
    align-items: start !important;
  }

  .court-refined .lrr-portrait {
    grid-column: 1 !important;
    align-self: start !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .court-refined .lrr-portrait img {
    width: 100% !important;
    height: clamp(480px, 48vw, 620px) !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .court-refined .lrr-attorney-copy {
    grid-column: 2 !important;
    min-width: 0 !important;
    align-self: start !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 1060px) {
  .court-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .court-glance-card {
    padding: 25px;
  }
}

@media (max-width: 780px) {
  .court-refined .lrr-hero {
    min-height: auto;
  }

  .court-location-badge {
    width: 100%;
    align-items: flex-start;
  }

  .court-glance-grid,
  .court-compare-grid,
  .court-plan-grid,
  .court-check-layout,
  .court-separate-grid,
  .court-contact-grid {
    grid-template-columns: 1fr;
  }

  .court-glance-grid {
    gap: 1px;
  }

  .court-notice-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .court-notice a {
    grid-column: 1 / -1;
    padding-left: 74px;
    white-space: normal;
  }

  .court-check-layout {
    gap: 28px;
  }

  .court-source-grid {
    grid-template-columns: 1fr;
  }

  .court-refined .lrr-attorney-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 38px !important;
  }

  .court-refined .lrr-portrait,
  .court-refined .lrr-attorney-copy {
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 560px) {
  .court-refined .court-location-badge {
    flex-direction: column;
    gap: 3px;
  }

  .court-glance-card,
  .court-compare,
  .court-plan-card,
  .court-track,
  .court-reminder,
  .court-source,
  .court-contact-step {
    padding: 25px;
  }

  .court-checklist {
    grid-template-columns: 1fr;
  }

  .court-notice-inner {
    padding: 22px;
  }

  .court-notice a {
    padding-left: 0;
  }

  .court-compare h3 {
    max-width: 100%;
    padding-right: 38px;
    font-size: 27px;
  }

  .court-compare-number {
    top: 24px;
    right: 20px;
    font-size: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .court-refined *,
  .court-refined *::before,
  .court-refined *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
