/*
Theme Name: J. Soto Law Astra Child
Theme URI: https://jsotolaw.com/
Description: Editable Astra/Elementor presentation layer for J. Soto Law.
Author: J. Soto Law
Template: astra
Version: 1.3.7
Text Domain: jsotolaw
*/

:root {
  --jsl-primary: #0d4f4f;
  --jsl-primary-light: #167070;
  --jsl-primary-dark: #062d2d;
  --jsl-gold: #d4a853;
  --jsl-gold-dark: #b88e3a;
  --jsl-ink: #1a1a1a;
  --jsl-text: #4a4a4a;
  --jsl-muted: #8a8a8a;
  --jsl-surface: #f9f9f6;
  --jsl-warm: #fff8e7;
  --jsl-border: #e4e4de;
  --jsl-success: #2d7a4f;
  --jsl-error: #c4342d;
  --jsl-shadow: 0 10px 28px rgba(6, 45, 45, 0.09);
}

body {
  color: var(--jsl-ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.7;
}

.jsl-page #content .ast-container {
  display: block;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.jsl-page #primary {
  margin: 0;
  width: 100%;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.jsl-display {
  color: var(--jsl-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.015em;
}

a {
  text-underline-offset: 0.16em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(13, 79, 79, 0.1);
}

.ast-primary-header-bar {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
}

.site-title a {
  color: var(--jsl-primary) !important;
  font-size: 1.45rem;
}

.jsl-header-brand {
  align-items: center;
  color: var(--jsl-primary);
  display: inline-flex;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.jsl-header-mark {
  align-items: center;
  background: var(--jsl-gold);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 1.05rem;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.jsl-header-logo {
  display: block;
  height: 38px;
  object-fit: contain;
  width: 38px;
}

.main-header-menu > .menu-item > .menu-link {
  color: var(--jsl-text);
  font-size: 0.875rem;
  font-weight: 500;
}

.main-header-menu > .current-menu-item > .menu-link,
.main-header-menu > .current-menu-ancestor > .menu-link,
.main-header-menu > .menu-item > .menu-link:hover {
  color: var(--jsl-primary);
}

.main-header-menu > .jsl-menu-cta > .menu-link {
  align-items: center;
  align-self: center;
  background: var(--jsl-primary);
  border-radius: 6px;
  color: #fff !important;
  height: 44px;
  margin-left: 16px;
  padding: 0 22px;
}

.main-header-menu > .jsl-menu-cta > .menu-link:hover {
  background: var(--jsl-primary-light);
}

.jsl-page .elementor-widget-heading .elementor-heading-title {
  line-height: 1.08;
}

.jsl-page .elementor-widget-text-editor,
.jsl-page .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

.jsl-page .elementor-button {
  border-radius: 6px;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  min-height: 48px;
  padding: 14px 28px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.jsl-page .elementor-button:hover,
.jsl-page .elementor-button:focus-visible {
  transform: translateY(-2px);
}

/* Elementor 4 SVG icon compatibility: prevent viewBox-only icons collapsing. */
.jsl-page .elementor-widget-icon .elementor-icon svg {
  display: block;
  fill: currentColor !important;
  height: 1em !important;
  width: 1em !important;
}

.jsl-page .jsl-btn-gold .elementor-button {
  background: var(--jsl-gold);
  color: var(--jsl-primary-dark);
}

.jsl-page .jsl-btn-outline .elementor-button {
  background: transparent;
  border: 1px solid currentColor;
}

.jsl-hero {
  background-color: var(--jsl-primary-dark);
  background-position: center;
  background-size: cover;
  color: #fff;
  min-height: min(760px, calc(100vh - 72px)) !important;
  overflow: hidden;
  padding: 92px 40px;
  position: relative;
}

.jsl-hero:not(.jsl-home-hero)::before {
  background: rgba(6, 45, 45, 0.82) !important;
  content: "" !important;
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.jsl-hero > .e-con-inner {
  position: relative;
  z-index: 1;
}

.jsl-hero > .e-con-inner,
.jsl-section > .e-con-inner,
.jsl-band > .e-con-inner {
  margin-inline: auto;
  max-width: 1200px;
  width: 100%;
}

.jsl-hero .elementor-heading-title,
.jsl-dark .elementor-heading-title,
.jsl-dark .elementor-widget-text-editor,
.jsl-dark .elementor-icon-list-text,
.jsl-dark a {
  color: #fff !important;
}

.jsl-hero h1.elementor-heading-title {
  font-size: clamp(3rem, 5vw, 4.3rem) !important;
  max-width: 800px;
}

.jsl-hero .jsl-overline .elementor-heading-title,
.jsl-dark .jsl-overline .elementor-heading-title {
  color: var(--jsl-gold);
}

.jsl-hero-mark {
  align-items: center;
  background: var(--jsl-primary);
  border: 1px solid rgba(212, 168, 83, 0.5);
  display: flex;
  justify-content: center;
  min-height: 420px;
  position: relative;
}

.jsl-hero-content {
  max-width: 720px;
}

.jsl-hero-answer {
  background: rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--jsl-gold);
  border-radius: 0 6px 6px 0;
  padding: 16px 20px;
}

.jsl-hero-contact a {
  color: #fff;
  font-weight: 600;
  margin-right: 20px;
  text-decoration: none;
}

.jsl-hero-mark::before,
.jsl-hero-mark::after {
  border: 1px solid rgba(212, 168, 83, 0.2);
  content: "";
  inset: 28px;
  pointer-events: none;
  position: absolute;
}

.jsl-hero-mark::after {
  inset: 52px;
}

.jsl-hero-mark .elementor-heading-title {
  color: var(--jsl-gold);
  font-size: clamp(6rem, 13vw, 11rem);
  line-height: 0.8;
}

.jsl-section {
  padding: 88px 40px;
}

.jsl-section-alt {
  background: var(--jsl-surface);
}

.jsl-section-warm {
  background: var(--jsl-warm);
}

.jsl-dark {
  background: var(--jsl-primary-dark);
  color: #fff;
}

.jsl-band {
  background: var(--jsl-primary);
  color: #fff;
  padding: 42px 40px;
}

.jsl-overline .elementor-heading-title {
  color: var(--jsl-gold);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.jsl-divider .elementor-divider {
  justify-content: flex-start;
}

.jsl-divider .elementor-divider-separator {
  border-color: var(--jsl-gold) !important;
  border-width: 3px 0 0 !important;
  width: 48px !important;
}

.jsl-card {
  background: #fff;
  border: 1px solid var(--jsl-border);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(6, 45, 45, 0.06);
  height: 100%;
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.jsl-card:hover {
  border-color: rgba(212, 168, 83, 0.75);
  box-shadow: var(--jsl-shadow);
  transform: translateY(-4px);
}

.jsl-card .elementor-icon {
  color: var(--jsl-primary);
}

.jsl-practice-card,
.jsl-why-card {
  --align-items: center;
  align-items: center !important;
  text-align: center !important;
}

.jsl-practice-card .elementor-icon-wrapper,
.jsl-practice-card .elementor-button-wrapper,
.jsl-practice-card .elementor-widget-heading,
.jsl-practice-card .elementor-widget-text-editor,
.jsl-why-card .elementor-icon-wrapper,
.jsl-why-card .elementor-widget-heading,
.jsl-why-card .elementor-widget-text-editor {
  text-align: center !important;
  width: 100%;
}

.jsl-quote {
  background: var(--jsl-warm);
  border-left: 4px solid var(--jsl-gold);
  padding: 28px 30px;
}

.jsl-placeholder {
  align-items: center;
  background: var(--jsl-primary);
  border: 1px solid rgba(212, 168, 83, 0.5);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  justify-content: center;
  min-height: 380px;
  padding: 32px;
  text-align: center;
}

.jsl-placeholder .elementor-heading-title,
.jsl-placeholder .elementor-widget-text-editor {
  color: #fff;
}

.jsl-office-card {
  border-top: 3px solid var(--jsl-gold);
}

.jsl-stat .elementor-counter-number-wrapper {
  color: var(--jsl-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
}

.jsl-stat .elementor-counter-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jsl-fact {
  text-align: center;
}

.jsl-fact .elementor-heading-title {
  color: var(--jsl-primary);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.jsl-fact .elementor-widget-text-editor {
  color: var(--jsl-text);
  font-size: 0.875rem;
  font-weight: 600;
}

.jsl-band .jsl-fact .elementor-heading-title {
  color: var(--jsl-gold);
}

.jsl-band .jsl-fact .elementor-widget-text-editor {
  color: rgba(255, 255, 255, 0.84);
}

.jsl-band > .e-con-inner > .e-con {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jsl-band > .e-con-inner > .e-con > .e-con {
  width: auto !important;
}

/* Homepage prototype alignment. */
.jsl-home-hero {
  min-height: 620px !important;
  padding-bottom: 88px;
  padding-top: 88px;
}

.jsl-home-hero::before {
  content: "" !important;
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.jsl-home-hero .jsl-hero-content {
  gap: 16px;
}

.jsl-home-hero .jsl-hero-answer {
  margin-top: 4px;
  max-width: 620px;
}

.jsl-hero-subtitle {
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 1.08rem;
}

.jsl-hero-buttons {
  max-width: 580px;
}

/* Multi-CTA behavior follows the supplied HTML: inline on desktop, stacked on mobile. */
.jsl-hero-buttons,
.jsl-detail-hero-actions,
.jsl-centered-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.jsl-hero-buttons > .e-con,
.jsl-detail-hero-actions > .e-con {
  width: auto !important;
}

.jsl-home-hero .jsl-whatsapp-link {
  background: #25d366;
  border-radius: 6px;
  display: inline-flex;
  font-size: 0.82rem;
  margin-left: 4px;
  padding: 6px 14px;
}

.jsl-home-statbar {
  background: #fff;
  border-bottom: 1px solid #f0f0ec;
  padding: 48px 40px;
}

.jsl-home-statbar > .e-con-inner {
  margin-inline: auto;
  max-width: 1200px;
  width: 100%;
}

.jsl-stats-grid,
.jsl-grid-4,
.jsl-grid-3,
.jsl-grid-2 {
  display: grid !important;
}

.jsl-stats-grid,
.jsl-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jsl-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jsl-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jsl-stats-grid > .e-con,
.jsl-grid-4 > .e-con,
.jsl-grid-3 > .e-con,
.jsl-grid-2 > .e-con {
  width: auto !important;
}

.jsl-centered-section > .e-con-inner > .elementor-widget-heading:first-child {
  margin-bottom: 0;
}

.jsl-section-intro {
  max-width: 680px;
}

.jsl-align-center,
.jsl-align-center p {
  text-align: center;
}

.jsl-centered-section .jsl-section-intro {
  margin-inline: auto;
}

.jsl-about-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jsl-about-grid > .e-con {
  width: auto !important;
}

.jsl-home-about-photo {
  background: var(--jsl-surface);
  border-color: var(--jsl-border);
  color: var(--jsl-muted);
  min-height: 400px;
}

.jsl-home-about-photo .elementor-heading-title,
.jsl-home-about-photo .elementor-widget-text-editor {
  color: var(--jsl-muted) !important;
}

.jsl-practice-grid {
  margin-top: 26px;
}

.jsl-practice-card {
  min-height: 315px;
}

.jsl-practice-card:hover {
  border-top: 3px solid var(--jsl-gold);
}

.jsl-card-link .elementor-button {
  background: transparent !important;
  color: var(--jsl-primary) !important;
  min-height: auto;
  padding: 0;
}

.jsl-section-top {
  display: flex !important;
  margin-bottom: 20px;
}

.jsl-section-top-action {
  justify-content: flex-end;
}

.jsl-section-top .jsl-btn-outline .elementor-button {
  border-color: var(--jsl-primary) !important;
  color: var(--jsl-primary) !important;
}

.jsl-section-top .jsl-btn-outline .elementor-button:hover,
.jsl-section-top .jsl-btn-outline .elementor-button:focus-visible {
  background: var(--jsl-primary) !important;
  color: #fff !important;
}

.jsl-home-listings .es-property {
  border-color: var(--jsl-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.jsl-home-listings .es-property:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-4px);
}

.jsl-home-listings .es-property__title,
.jsl-home-listings .es-property__title a {
  color: var(--jsl-primary) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
}

.jsl-home-listings .es-price__note {
  margin-left: 0.3em;
}

/* Compact interior-page hero used by the visual prototypes. */
.jsl-compact-hero {
  background-color: var(--jsl-primary);
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
  padding: 80px 40px 88px;
  position: relative;
  text-align: center;
}

.jsl-compact-hero::before {
  content: "";
  inset: 0;
  position: absolute;
}

.jsl-compact-hero:not(.jsl-elementor-overlay)::before {
  background: linear-gradient(135deg, rgba(13, 79, 79, 0.88), rgba(13, 79, 79, 0.7));
}

.jsl-compact-hero > .e-con-inner {
  margin-inline: auto;
  max-width: 700px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.jsl-compact-hero h1.elementor-heading-title {
  color: #fff !important;
  font-size: 3.25rem !important;
}

.jsl-compact-hero-intro {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.jsl-breadcrumb {
  background: var(--jsl-surface);
  border-bottom: 1px solid var(--jsl-border);
  color: var(--jsl-muted);
  padding: 12px 40px;
}

.jsl-breadcrumb p {
  display: flex;
  font-size: 0.8rem;
  gap: 8px;
  margin: 0;
}

.jsl-breadcrumb a { color: var(--jsl-muted); }
.jsl-breadcrumb strong { color: var(--jsl-primary); }

.jsl-practice-list { padding-bottom: 32px; padding-top: 32px; }

.jsl-practice-row {
  border-bottom: 1px solid var(--jsl-border);
  padding: 64px 0;
}

.jsl-practice-row:last-child { border-bottom: 0; }

.jsl-practice-row-visual {
  align-items: center;
  background: var(--jsl-surface);
  border: 1px solid var(--jsl-border);
  border-radius: 12px;
  justify-content: center;
  min-height: 320px !important;
  overflow: hidden;
  position: relative;
}

.jsl-practice-row-visual.has-photo {
  background-position: center;
  background-size: cover;
}

.jsl-practice-row-visual.has-photo::before {
  background: linear-gradient(135deg, rgba(6, 45, 45, 0.32), rgba(13, 79, 79, 0.12));
  content: "";
  inset: 0;
  position: absolute;
}

.jsl-practice-row-visual.has-photo > .elementor-element {
  position: relative;
  z-index: 1;
}

.jsl-practice-row-icon .elementor-icon {
  align-items: center;
  background: #e6f2f2;
  border-radius: 50%;
  display: inline-flex;
  height: 80px;
  justify-content: center;
  width: 80px;
}

.jsl-practice-title-row {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 16px;
}

.jsl-practice-title-row > .elementor-widget-icon {
  flex: 0 0 auto;
  width: auto;
}

.jsl-practice-title-row > .elementor-widget-heading {
  flex: 1 1 auto;
  margin-bottom: 0;
  min-width: 0;
  width: auto;
}

.jsl-practice-title-row .jsl-practice-row-icon .elementor-icon {
  height: 58px;
  width: 58px;
}

.jsl-practice-row-copy h2.elementor-heading-title { font-size: 2.25rem; }

.jsl-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jsl-service-chips span {
  background: #e6f2f2;
  border-radius: 20px;
  color: var(--jsl-primary);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
}

.jsl-faq-section > .e-con-inner { max-width: 800px; }
.jsl-faq { margin-top: 22px; }
.jsl-faq .elementor-accordion-item {
  background: #fff;
  border: 1px solid var(--jsl-border) !important;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.jsl-faq .elementor-tab-title { color: var(--jsl-primary); font-weight: 600; }

.jsl-practice-cta {
  background: linear-gradient(135deg, var(--jsl-primary), var(--jsl-primary-dark));
  padding: 80px 40px;
}

.jsl-centered-actions { justify-content: center !important; margin-top: 12px; max-width: 560px; }
.jsl-centered-actions > .e-con { width: calc(50% - 8px) !important; }

.jsl-contact-card-band {
  margin-bottom: -32px;
  padding: 0 40px;
  position: relative;
  transform: translateY(-48px);
  z-index: 2;
}

.jsl-contact-card-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jsl-contact-card-grid > .e-con { width: auto !important; }
.jsl-contact-card { min-height: 176px; padding: 26px 20px; text-align: center; }
.jsl-contact-card .elementor-icon-wrapper { text-align: center; }
.jsl-contact-card .elementor-heading-title { font-family: Inter, Arial, sans-serif; font-size: 0.82rem; }
.jsl-contact-card a { color: var(--jsl-text); text-decoration: none; }
.jsl-contact-main { display: grid !important; grid-template-columns: 1.2fr 1fr; }
.jsl-contact-main > .e-con { width: auto !important; }
.jsl-contact-offices { gap: 24px; }
.jsl-contact-offices .jsl-office-card { padding: 28px; }

.jsl-about-affiliations .jsl-section-intro { margin-inline: auto; max-width: 820px; }
.jsl-about-affiliations .jsl-org-row { opacity: 1; }
.jsl-about-affiliations .jsl-org-card,
.jsl-home-orgs .jsl-org-card {
  border: 1px solid var(--jsl-border);
  min-height: 220px;
  padding: 22px 18px;
}
.jsl-about-affiliations .jsl-affiliation-logo img,
.jsl-home-orgs .jsl-affiliation-logo img { max-height: 108px; }

/* Estatik archive and single-property skin aligned with the supplied mockups. */
.post-type-archive-properties #content,
.single-properties #content { background: var(--jsl-surface); }

.post-type-archive-properties .ast-container,
.single-properties .ast-container { max-width: 1280px; padding-bottom: 80px; padding-top: 48px; }

.post-type-archive-properties .es-search,
.jsl-page .es-search {
  background: #fff;
  border: 1px solid var(--jsl-border);
  border-radius: 10px;
  box-shadow: var(--jsl-shadow);
  padding: 22px !important;
}

.post-type-archive-properties .es-property,
.jsl-page .es-property {
  background: #fff;
  border: 1px solid var(--jsl-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(6, 45, 45, 0.06) !important;
  overflow: hidden;
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.post-type-archive-properties .es-property:hover,
.jsl-page .es-property:hover { box-shadow: var(--jsl-shadow) !important; transform: translateY(-4px); }

.post-type-archive-properties .es-property__title,
.post-type-archive-properties .es-property__title a,
.single-properties .es-property__title,
.single-properties .es-property__title a {
  color: var(--jsl-primary) !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
}

.single-properties .es-single {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(6, 45, 45, 0.06);
  padding: 32px;
}

.jsl-why-grid {
  margin-top: 26px;
}

.jsl-why-card {
  align-items: center;
  min-height: 290px;
  padding: 40px 28px;
}

.jsl-why-card .elementor-icon-wrapper {
  text-align: center;
}

.jsl-home-orgs {
  background: #fff;
  border-bottom: 1px solid #f0f0ec;
  padding: 64px 40px;
}

.jsl-home-orgs > .e-con-inner {
  margin-inline: auto;
  max-width: 1200px;
  width: 100%;
}

.jsl-affiliations-title .elementor-heading-title {
  color: var(--jsl-muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jsl-org-row {
  justify-content: center !important;
  margin-top: 16px;
}

.jsl-org-card {
  align-items: center;
  background: var(--jsl-surface);
  border-radius: 8px;
  justify-content: center;
  min-height: 82px;
  padding: 12px 18px;
}

.jsl-org-card .elementor-heading-title {
  font-size: 1.05rem;
}

.jsl-org-card .elementor-widget-text-editor {
  color: var(--jsl-muted);
  font-size: 0.7rem;
}

.jsl-portrait-frame {
  background: var(--jsl-primary-dark);
  border-radius: 10px;
  box-shadow: 18px 18px 0 rgba(212, 168, 83, 0.24);
  min-height: 520px;
  overflow: hidden;
}

.jsl-portrait-frame .elementor-widget-image,
.jsl-portrait-frame .elementor-widget-container,
.jsl-portrait-frame img {
  height: 100%;
  width: 100%;
}

.jsl-portrait-frame img {
  display: block;
  object-fit: cover;
  object-position: center top;
}

.jsl-affiliation-logo img {
  display: block;
  height: auto;
  max-height: 88px;
  max-width: 240px;
  object-fit: contain;
  width: 100%;
}

.jsl-testimonial-grid {
  margin-top: 26px;
}

.jsl-testimonial-card {
  padding: 32px;
}

.jsl-quote-mark {
  color: var(--jsl-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.4rem;
  line-height: 0.65;
  margin: 0 0 10px;
  opacity: 0.55;
}

.jsl-stars {
  color: var(--jsl-gold);
  letter-spacing: 0.08em;
  margin-top: 16px;
}

.jsl-reviewer {
  align-items: center !important;
}

.jsl-avatar {
  align-items: center;
  background: #e6f2f2;
  border-radius: 50%;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  width: 42px !important;
}

.jsl-avatar .elementor-heading-title {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
}

.jsl-review-location {
  color: var(--jsl-muted);
  font-size: 0.75rem;
}

.jsl-blog-grid {
  margin-top: 20px;
}

.jsl-blog-card {
  overflow: hidden;
  padding: 0 20px 20px;
}

.jsl-media-placeholder {
  align-items: center;
  background: var(--jsl-surface);
  justify-content: center;
  margin: 0 -20px 0;
  min-height: 180px;
}

.jsl-media-placeholder.has-photo {
  background-position: center;
  background-size: cover;
}

.jsl-media-placeholder.has-photo .jsl-media-label {
  display: none;
}

.jsl-article-header {
  padding-bottom: 44px;
  padding-top: 54px;
}

.jsl-article-header > .e-con-inner,
.jsl-article-featured-wrap > .e-con-inner,
.jsl-article-body > .e-con-inner {
  max-width: 800px;
}

.jsl-article-breadcrumb,
.jsl-article-byline {
  color: var(--jsl-muted);
  font-size: 0.85rem;
}

.jsl-article-breadcrumb a { color: var(--jsl-muted); }
.jsl-article-header h1.elementor-heading-title { font-size: clamp(2.45rem, 5vw, 3.5rem); }
.jsl-article-featured-wrap { padding-bottom: 48px; }
.jsl-article-featured img { border-radius: 12px; height: 420px; object-fit: cover; width: 100%; }
.jsl-article-body { padding-bottom: 96px; padding-top: 12px; }
.jsl-article-body .elementor-widget-text-editor { font-size: 1rem; line-height: 1.9; }
.jsl-article-takeaway { background: var(--jsl-warm); border-left: 4px solid var(--jsl-gold); border-radius: 0 8px 8px 0; padding: 24px; }
.jsl-article-requirements { display: grid; gap: 12px; list-style-position: inside; margin: 0; padding: 0; }
.jsl-article-requirements li { background: var(--jsl-surface); border: 1px solid var(--jsl-border); border-radius: 8px; padding: 16px; }
.jsl-article-cta { background: #e6f2f2; border-radius: 12px; margin-top: 20px; padding: 28px; }

.jsl-media-label .elementor-heading-title {
  color: var(--jsl-muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jsl-blog-category .elementor-heading-title {
  background: var(--jsl-primary);
  border-radius: 4px;
  color: #fff !important;
  display: inline-block;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.jsl-blog-date {
  color: var(--jsl-muted);
  font-size: 0.75rem;
}

.jsl-home-cta {
  background-color: var(--jsl-primary-dark);
  background-image: url("https://images.pexels.com/photos/12495663/pexels-photo-12495663.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop");
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
  padding: 96px 40px;
  position: relative;
}

.jsl-home-cta::before {
  content: "";
  inset: 0;
  position: absolute;
}

.jsl-home-cta:not(.jsl-elementor-overlay)::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.5));
}

.jsl-home-cta > .e-con-inner {
  margin-inline: auto;
  max-width: 1200px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.jsl-cta-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jsl-cta-grid > .e-con {
  width: auto !important;
}

.jsl-cta-intro {
  color: rgba(255, 255, 255, 0.8) !important;
}

.jsl-cta-links a {
  display: inline-block;
  margin-right: 18px;
}

.jsl-form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  color: var(--jsl-ink);
  padding: 32px;
}

/* Homepage appointment form geometry from Homepage.dc.html. */
.jsl-home-cta .jsl-form-card {
  padding: 32px !important;
}

.jsl-home-cta .wpforms-container {
  margin: 0 !important;
}

.jsl-home-cta .wpforms-container .wpforms-field-container {
  display: grid !important;
  gap: 16px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jsl-home-cta .wpforms-container .wpforms-field {
  min-width: 0;
  padding: 0 !important;
}

.jsl-home-cta .wpforms-container .wpforms-field-textarea,
.jsl-home-cta .wpforms-container .wpforms-field-gdpr-checkbox {
  grid-column: 1 / -1;
}

.jsl-home-cta .wpforms-container .wpforms-field-label,
.jsl-home-cta .wpforms-container legend.wpforms-field-label {
  color: var(--jsl-text) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
}

.jsl-home-cta .wpforms-container input[type="text"],
.jsl-home-cta .wpforms-container input[type="email"],
.jsl-home-cta .wpforms-container select {
  height: 44px !important;
  min-height: 44px !important;
}

.jsl-home-cta .wpforms-container textarea {
  height: 88px !important;
  min-height: 88px !important;
  padding: 12px 14px !important;
  resize: vertical;
}

.jsl-home-cta .wpforms-container .wpforms-submit-container {
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

.jsl-home-cta .wpforms-container button[type="submit"] {
  display: block;
  min-height: 48px;
  width: 100%;
}

@media (min-width: 922px) {
  .jsl-home-about,
  .jsl-home-practice,
  .jsl-home-properties,
  .jsl-home-why,
  .jsl-home-testimonials,
  .jsl-home-blog {
    padding-bottom: 96px;
    padding-top: 96px;
  }
}

.jsl-form-card .elementor-heading-title,
.jsl-form-card .elementor-widget-text-editor {
  color: var(--jsl-primary) !important;
}

.jsl-page .wpforms-container input,
.jsl-page .wpforms-container select,
.jsl-page .wpforms-container textarea {
  border: 1px solid var(--jsl-border) !important;
  border-radius: 6px !important;
  color: var(--jsl-ink) !important;
}

.jsl-page .wpforms-container button[type="submit"] {
  background: var(--jsl-primary) !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #fff !important;
  min-height: 48px;
  padding: 0 28px !important;
}

.jsl-page .es-search,
.jsl-page .es-listings {
  font-family: Inter, Arial, sans-serif;
}

.jsl-page .es-btn,
.jsl-page .es-button,
.jsl-page button.es-btn {
  background: var(--jsl-primary) !important;
  border-color: var(--jsl-primary) !important;
  border-radius: 6px !important;
}

.single-properties .entry-header {
  display: none;
}

.single-properties .es-single,
.single-properties .es-single p,
.single-properties .es-single li {
  font-family: Inter, Arial, sans-serif;
}

.single-properties .es-single h1,
.single-properties .es-single h2,
.single-properties .es-single h3 {
  color: var(--jsl-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.single-properties .es-btn,
.single-properties .es-button,
.single-properties button.es-btn {
  background: var(--jsl-primary) !important;
  border-color: var(--jsl-primary) !important;
  border-radius: 6px !important;
  color: #fff !important;
}

.jsl-property-legal-cta {
  align-items: center;
  background: var(--jsl-warm);
  border-left: 4px solid var(--jsl-gold);
  border-radius: 10px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin-top: 56px;
  padding: 36px 40px;
}

.jsl-property-legal-cta h2,
.jsl-property-legal-cta p {
  margin-bottom: 10px;
}

.jsl-property-legal-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

.jsl-property-legal-actions a {
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
}

.jsl-property-legal-primary {
  background: var(--jsl-primary);
  color: #fff !important;
}

.jsl-property-legal-secondary {
  border: 1px solid var(--jsl-primary);
  color: var(--jsl-primary) !important;
}

.site-primary-footer-wrap {
  background: var(--jsl-primary-dark) !important;
  color: rgba(255, 255, 255, 0.76);
}

.site-primary-footer-wrap h2,
.site-primary-footer-wrap h3,
.site-primary-footer-wrap .widget-title {
  color: var(--jsl-gold);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-primary-footer-wrap a,
.site-below-footer-wrap a {
  color: rgba(255, 255, 255, 0.78);
}

.site-primary-footer-wrap a:hover,
.site-below-footer-wrap a:hover {
  color: var(--jsl-gold);
}

.site-below-footer-wrap {
  background: #041f1f !important;
  color: rgba(255, 255, 255, 0.68);
}

.jsl-footer-brand strong {
  color: #fff;
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.jsl-footer-logo {
  display: block;
  height: 58px;
  margin-bottom: 14px;
  width: 58px;
}

.jsl-motion-ready .jsl-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--jsl-reveal-delay, 0ms), transform 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--jsl-reveal-delay, 0ms);
}

.jsl-motion-ready .jsl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.jsl-footer-list li {
  margin-bottom: 8px;
}

@media (max-width: 921px) {
  .jsl-hero,
  .jsl-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .jsl-hero {
    min-height: auto !important;
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .jsl-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jsl-grid-3 {
    grid-template-columns: 1fr;
  }

  .jsl-contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jsl-contact-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .jsl-hero,
  .jsl-section,
  .jsl-band,
  .jsl-compact-hero,
  .jsl-breadcrumb,
  .jsl-contact-card-band,
  .jsl-practice-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .jsl-compact-hero {
    padding-bottom: 64px;
    padding-top: 56px;
  }

  .jsl-compact-hero h1.elementor-heading-title {
    font-size: 2.25rem !important;
  }

  .jsl-practice-row {
    gap: 28px !important;
    padding: 44px 0;
  }

  .jsl-practice-row > .e-con {
    order: initial !important;
    width: 100% !important;
  }

  .jsl-practice-row-visual {
    background-position: center center;
    min-height: 320px !important;
  }

  .jsl-practice-row-copy h2.elementor-heading-title {
    font-size: 2rem;
  }

  .jsl-practice-title-row {
    gap: 12px;
  }

  .jsl-practice-title-row .jsl-practice-row-icon .elementor-icon {
    height: 52px;
    width: 52px;
  }

  .jsl-contact-card-band {
    margin-bottom: -16px;
    transform: translateY(-32px);
  }

  .jsl-contact-card-grid {
    grid-template-columns: 1fr;
  }

  .jsl-hero-buttons,
  .jsl-detail-hero-actions,
  .jsl-centered-actions {
    align-items: stretch !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }

  .jsl-hero-buttons > .e-con,
  .jsl-detail-hero-actions > .e-con,
  .jsl-centered-actions > .e-con {
    width: 100% !important;
  }

  .jsl-hero-buttons .elementor-button,
  .jsl-detail-hero-actions .elementor-button,
  .jsl-centered-actions .elementor-button {
    justify-content: center;
    width: 100%;
  }

  .site-primary-footer-wrap,
  .site-below-footer-wrap,
  .site-primary-footer-wrap .widget,
  .site-primary-footer-wrap .footer-widget-area-inner,
  .site-below-footer-wrap .ast-footer-copyright {
    text-align: center !important;
  }

  .site-primary-footer-wrap .jsl-footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .site-primary-footer-wrap .jsl-footer-list {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .jsl-org-row > .e-con {
    width: 100% !important;
  }

  .jsl-about-affiliations .jsl-org-card,
  .jsl-home-orgs .jsl-org-card {
    min-height: 190px;
  }

  .post-type-archive-properties .ast-container,
  .single-properties .ast-container {
    padding: 32px 20px 64px;
  }

  .single-properties .es-single {
    padding: 20px;
  }

  .jsl-section {
    padding-bottom: 64px;
    padding-top: 64px;
  }

  .jsl-hero-mark,
  .jsl-placeholder {
    min-height: 280px;
  }

  .main-header-menu > .jsl-menu-cta > .menu-link {
    margin: 10px 20px 20px;
  }

  .jsl-header-brand {
    font-size: 1.1rem;
  }

  .jsl-band > .e-con-inner > .e-con {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jsl-home-statbar,
  .jsl-home-orgs,
  .jsl-home-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .jsl-stats-grid,
  .jsl-grid-2,
  .jsl-about-grid,
  .jsl-cta-grid {
    grid-template-columns: 1fr;
  }

  .jsl-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jsl-home-hero {
    min-height: 500px !important;
  }

  .jsl-home-hero h1.elementor-heading-title {
    font-size: 2.4rem !important;
  }

  .jsl-portrait-frame {
    box-shadow: 10px 10px 0 rgba(212, 168, 83, 0.24);
    min-height: 420px;
  }

  .jsl-section-top {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .jsl-section-top > .e-con {
    width: 100% !important;
  }

  .jsl-section-top-action {
    align-items: flex-start;
  }

  .jsl-home-cta {
    padding-bottom: 64px;
    padding-top: 64px;
  }

  .jsl-home-listings .es-properties,
  .jsl-page .es-properties {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .jsl-property-legal-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
    padding: 28px 24px;
  }
}

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

/* Practice-detail and property-directory parity pass. */
.jsl-detail-hero,
.jsl-property-hero {
  background-color: var(--jsl-primary);
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
  padding: 76px 40px 84px;
  position: relative;
}

.jsl-detail-hero::before {
  content: "" !important;
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.jsl-property-hero::before {
  background: linear-gradient(135deg, rgba(13, 79, 79, 0.9), rgba(13, 79, 79, 0.72));
  content: "";
  inset: 0;
  position: absolute;
}

.jsl-detail-hero > .e-con-inner,
.jsl-property-hero > .e-con-inner {
  margin-inline: auto;
  max-width: 1200px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.jsl-detail-hero h1.elementor-heading-title {
  color: #fff !important;
  font-size: clamp(2.8rem, 4.5vw, 3.25rem) !important;
}

.jsl-detail-hero-intro,
.jsl-property-hero-intro {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 640px;
}

.jsl-detail-hero-symbol {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  height: 120px;
  justify-content: center;
  width: 120px !important;
}

.jsl-detail-hero-icon .elementor-icon {
  align-items: center;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.42) !important;
  display: flex;
  height: 88px;
  justify-content: center;
  width: 88px;
}

.jsl-detail-overview-grid,
.jsl-detail-services-grid,
.jsl-property-legal-band-grid {
  display: grid !important;
}

.jsl-detail-overview-grid { grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr); }
.jsl-detail-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
.jsl-detail-overview-grid > .e-con,
.jsl-detail-services-grid > .e-con,
.jsl-property-legal-band-grid > .e-con { width: auto !important; }

.jsl-detail-summary {
  background: var(--jsl-warm);
  border-left: 4px solid var(--jsl-gold);
  border-radius: 0 8px 8px 0;
  color: var(--jsl-ink);
  font-size: 1.05rem;
  padding: 20px 24px;
}

.jsl-detail-quick-facts {
  align-self: start;
  background: var(--jsl-surface);
  border: 1px solid var(--jsl-border);
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 96px;
}

.jsl-quick-facts-title .elementor-heading-title {
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jsl-detail-fact {
  border-bottom: 1px solid var(--jsl-border);
  gap: 2px;
  padding: 12px 0;
}

.jsl-fact-label { color: var(--jsl-muted); font-size: 0.76rem; }
.jsl-fact-value .elementor-heading-title { font-family: Inter, Arial, sans-serif; font-size: 0.93rem; }

.jsl-detail-service-card {
  background: #fff;
  border: 1px solid var(--jsl-border);
  border-radius: 8px;
  min-height: 230px;
  padding: 28px;
}

.jsl-detail-service-check .elementor-icon {
  align-items: center;
  background: #e6f2f2 !important;
  color: var(--jsl-primary) !important;
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 12px !important;
  width: 44px;
}

.jsl-page .elementor-widget-icon.jsl-detail-service-check .elementor-icon svg {
  flex: 0 0 20px;
  height: 20px !important;
  width: 20px !important;
}

.jsl-detail-service-card h3.elementor-heading-title { font-size: 1.38rem; }
.jsl-detail-process > .e-con-inner { max-width: 900px; }
.jsl-process-list { margin-top: 28px; position: relative; }
.jsl-process-list::before { background: #e6f2f2; bottom: 28px; content: ""; left: 27px; position: absolute; top: 28px; width: 2px; }
.jsl-process-step { padding: 18px 0; position: relative; }
.jsl-process-marker { position: relative; z-index: 1; }
.jsl-process-number .elementor-heading-title {
  align-items: center;
  background: var(--jsl-primary);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.45rem;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.jsl-process-copy { padding-top: 6px; }
.jsl-process-copy h3.elementor-heading-title { font-size: 1.5rem; }
.jsl-detail-cta { background: linear-gradient(135deg, var(--jsl-primary), var(--jsl-primary-dark)); }
.jsl-whatsapp-button .elementor-button { background: #1f9d55 !important; color: #fff !important; }
.jsl-related-area-section { background: var(--jsl-surface); padding: 56px 40px; }
.jsl-related-areas { justify-content: center !important; }
.jsl-related-areas > .elementor-widget-button { width: auto !important; }
.jsl-related-area-link .elementor-button { background: #fff !important; border: 1px solid var(--jsl-border); color: var(--jsl-primary) !important; min-height: 42px; padding: 10px 18px; }

.jsl-property-hero {
  padding-bottom: 66px;
  padding-top: 60px;
  text-align: center;
}

.jsl-property-hero h1.elementor-heading-title { color: #fff !important; font-size: 2.9rem !important; }
.jsl-property-hero-intro { margin-inline: auto; }
.jsl-property-directory { background: #fff; padding-bottom: 68px; padding-top: 34px; }
.jsl-property-directory-title { margin-bottom: 4px; }
.jsl-property-directory-title .elementor-heading-title { font-size: 1.7rem; }
.jsl-estatik-search .es-search { margin-bottom: 34px !important; }
.jsl-estatik-directory .es-properties { margin-inline: 0 !important; max-width: 100% !important; width: 100% !important; }
.jsl-property-legal-band { padding: 42px 40px; }
.jsl-property-legal-band-grid { grid-template-columns: 72px minmax(0, 1fr) auto; }
.jsl-property-legal-band h2.elementor-heading-title { font-size: 1.45rem; }
.jsl-legal-icon .elementor-icon { background: #e6f2f2 !important; color: var(--jsl-primary) !important; }
.jsl-property-cta { padding-bottom: 72px; padding-top: 72px; }

/* Estatik single-property layout follows the supplied gallery/content/sidebar rhythm. */
.single-properties .ast-container { max-width: 1280px; padding-left: 40px; padding-right: 40px; }
.single-properties .es-single {
  display: grid;
  gap: 0 48px;
  grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
  padding: 32px;
}
.single-properties .es-breadcrumbs,
.single-properties .js-es-single-property-layout,
.single-properties .es-powered { grid-column: 1 / -1; }
.single-properties .es-gallery { border-radius: 12px; height: 420px; overflow: hidden; }
.single-properties .es-single__header { margin-bottom: 28px; margin-top: 28px; }
.single-properties .es-single__header h1 { font-size: 2.65rem; line-height: 1.1; }
.single-properties .es-property-section { grid-column: 1; margin-bottom: 0; padding: 24px 0; }
.single-properties .es-property_section--basic-facts { grid-row: 3; }
.single-properties .es-property_section--description { grid-row: 4; }
.single-properties .es-property_section--location { grid-row: 5; }
.single-properties .es-property_section--building-details { grid-row: 6; }
.single-properties .es-property_section--features { grid-row: 7; }
.single-properties .es-property_section--request_form {
  align-self: start;
  background: var(--jsl-surface);
  border: 1px solid var(--jsl-border);
  border-radius: 8px;
  grid-column: 2;
  grid-row: 3 / span 5;
  padding: 28px;
  position: sticky;
  top: 110px;
}
.single-properties .es-property-fields { display: grid; gap: 0 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.single-properties .es-property_section--features .es-property-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.single-properties .jsl-property-legal-cta { margin-inline: auto; max-width: 1200px; }

@media (max-width: 921px) {
  .jsl-detail-overview-grid,
  .jsl-detail-services-grid,
  .jsl-property-legal-band-grid,
  .single-properties .es-single {
    grid-template-columns: 1fr;
  }
  .jsl-detail-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jsl-detail-quick-facts,
  .single-properties .es-property_section--request_form { position: static; }
  .single-properties .es-property-section,
  .single-properties .es-property_section--request_form { grid-column: 1; grid-row: auto; }
  .single-properties .es-breadcrumbs,
  .single-properties .js-es-single-property-layout,
  .single-properties .es-powered { grid-column: 1; }
}

@media (max-width: 544px) {
  .jsl-home-cta .wpforms-container .wpforms-field-container {
    grid-template-columns: 1fr;
  }

  .jsl-home-cta .wpforms-container .wpforms-field-textarea,
  .jsl-home-cta .wpforms-container .wpforms-field-gdpr-checkbox {
    grid-column: 1;
  }
  .jsl-detail-hero,
  .jsl-property-hero { padding: 54px 20px 62px; }
  .jsl-detail-hero-symbol { display: none; }
  .jsl-detail-hero-copy { width: 100% !important; }
  .jsl-detail-hero h1.elementor-heading-title,
  .jsl-property-hero h1.elementor-heading-title { font-size: 2.25rem !important; }
  .jsl-detail-hero-actions > .e-con { width: 100% !important; }
  .jsl-detail-services-grid { grid-template-columns: 1fr; }
  .jsl-detail-service-card { min-height: 0; }
  .jsl-process-list::before { left: 23px; }
  .jsl-process-step { display: grid !important; grid-template-columns: 48px minmax(0, 1fr); }
  .jsl-process-step > .e-con { width: auto !important; }
  .jsl-process-number .elementor-heading-title { height: 48px; width: 48px; }
  .jsl-related-area-section { padding-left: 20px; padding-right: 20px; }
  .jsl-related-areas { align-items: stretch !important; flex-direction: column !important; }
  .jsl-related-areas > .elementor-widget-button { width: 100% !important; }
  .jsl-related-area-link .elementor-button { width: 100%; }
  .jsl-property-directory,
  .jsl-property-legal-band { padding-left: 20px; padding-right: 20px; }
  .single-properties .ast-container { padding-left: 20px; padding-right: 20px; }
  .single-properties .es-single { padding: 18px; }
  .single-properties .es-gallery { height: 260px; }
  .single-properties .es-single__header h1 { font-size: 2rem; }
  .single-properties .es-property-fields,
  .single-properties .es-property_section--features .es-property-fields { grid-template-columns: 1fr; }
}

/* Homepage practice-card edge rhythm: match icon inset to CTA inset. */
.jsl-page .elementor-element.jsl-practice-card {
  --padding-top: 28px;
  --padding-right: 28px;
  --padding-bottom: 28px;
  --padding-left: 28px;
  --padding-block-start: 28px;
  --padding-block-end: 28px;
  --padding-inline-start: 28px;
  --padding-inline-end: 28px;
}

.jsl-page .jsl-practice-card > .elementor-widget-button {
  margin-top: auto;
}

/* Homepage why-card inset from the approved prototype. */
.jsl-page .elementor-element.jsl-why-card {
  --padding-top: 40px;
  --padding-right: 28px;
  --padding-bottom: 40px;
  --padding-left: 28px;
  --padding-block-start: 40px;
  --padding-block-end: 40px;
  --padding-inline-start: 28px;
  --padding-inline-end: 28px;
}
