/* Anti-FOUC cloak. WordPress/page-builder markup is transformed before it is
   revealed, preventing a brief flash of the retired page content on navigation. */
body.pelesko-update-pending {
    visibility: hidden !important;
}

body.pelesko-update-ready {
    visibility: visible;
}

/* Pelesko Legal audience split: scoped to the injected homepage CTA block. */
.pelesko-audience-host {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.pelesko-audience-host--fallback {
    box-sizing: border-box;
    flex: 0 1 420px;
    margin-left: auto;
    width: min(100%, 420px);
}

#pelesko-audience-cards {
    box-sizing: border-box;
    display: grid;
    gap: 16px;
    margin-left: auto;
    max-width: 420px;
    width: 100%;
}

#pelesko-audience-cards .pelesko-audience-card {
    background: var(--e-global-color-primary, #102a43);
    border: 1px solid color-mix(in srgb, var(--e-global-color-accent, #b08d57) 56%, transparent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    color: #fff;
    padding: 24px 26px;
}

#pelesko-audience-cards .pelesko-audience-card--individual {
    padding-bottom: 27px;
    padding-top: 27px;
}

#pelesko-audience-cards .pelesko-audience-kicker {
    color: var(--e-global-color-accent, #d3b06f);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
    margin: 0 0 7px;
}

#pelesko-audience-cards h2 {
    color: inherit;
    font-size: clamp(1.23rem, 1.7vw, 1.55rem);
    line-height: 1.16;
    margin: 0 0 8px;
}

#pelesko-audience-cards p {
    color: inherit;
    font-size: 0.98rem;
    line-height: 1.45;
    margin: 0 0 17px;
    opacity: 0.94;
}

#pelesko-audience-cards .pelesko-audience-button {
    align-items: center;
    background: var(--e-global-color-accent, #d3b06f);
    border: 1px solid var(--e-global-color-accent, #d3b06f);
    box-sizing: border-box;
    color: var(--e-global-color-primary, #102a43);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.035em;
    line-height: 1.25;
    min-height: 42px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    transition: opacity 150ms ease, transform 150ms ease;
}

#pelesko-audience-cards .pelesko-audience-button--secondary {
    background: transparent;
    color: #fff;
}

#pelesko-audience-cards .pelesko-audience-button:hover,
#pelesko-audience-cards .pelesko-audience-button:focus-visible {
    opacity: 0.88;
    transform: translateY(-1px);
}

#pelesko-audience-cards .pelesko-audience-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .pelesko-audience-host--fallback,
    #pelesko-audience-cards {
        margin-left: 0;
        max-width: none;
        width: 100%;
    }

    #pelesko-audience-cards {
        gap: 12px;
    }

    #pelesko-audience-cards .pelesko-audience-card,
    #pelesko-audience-cards .pelesko-audience-card--individual {
        padding: 20px;
    }

    #pelesko-audience-cards .pelesko-audience-button {
        width: 100%;
    }
}


/* Preserved personal-injury consultation form. The original form panel is moved
   below the hero instead of being deleted when the audience cards are installed. */
#consultation-form.pelesko-consultation-section {
    box-sizing: border-box;
    scroll-margin-top: 110px;
    width: 100%;
}

#consultation-form .pelesko-consultation-inner {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 980px;
    padding: 36px 24px 48px;
    width: 100%;
}

#consultation-form .pelesko-relocated-consultation-panel {
    box-sizing: border-box !important;
    flex: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 760px !important;
    width: 100% !important;
}

@media (max-width: 767px) {
    #consultation-form {
        scroll-margin-top: 84px;
    }
    #consultation-form .pelesko-consultation-inner {
        padding: 24px 16px 36px;
    }
}

/* v1.2.0: dedicated Free Case Evaluation page. */
.pelesko-free-evaluation-page {
  max-width: 860px;
  margin: 0 auto;
}
.pelesko-free-evaluation-intro {
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.pelesko-free-evaluation-form {
  margin: 1rem 0 1.25rem;
}
.pelesko-form-disclaimer {
  margin-top: 1.25rem;
  line-height: 1.45;
  opacity: .78;
}

/* v1.3.1: attorney pricing and referral / fee-sharing pages. */
:root {
  --pelesko-navy: var(--e-global-color-primary, #102a43);
  --pelesko-gold: var(--e-global-color-accent, #b08d57);
  --pelesko-cream: #f7f4ee;
  --pelesko-border: rgba(16, 42, 67, 0.16);
}

.pelesko-content-page {
  box-sizing: border-box;
  color: #243746;
  margin: 0 auto;
  max-width: 1120px;
  padding: 34px 24px 64px;
  width: 100%;
}

.pelesko-managed-page-host > .pelesko-content-page {
  margin-left: auto;
  margin-right: auto;
}

.pelesko-page-hero {
  border-bottom: 1px solid var(--pelesko-border);
  margin-bottom: 34px;
  padding: 12px 0 30px;
}

.pelesko-page-hero--referral {
  background: linear-gradient(135deg, rgba(16,42,67,.05), rgba(176,141,87,.08));
  border: 1px solid var(--pelesko-border);
  padding: 34px;
}

.pelesko-page-kicker {
  color: var(--pelesko-gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.pelesko-content-page h1,
.pelesko-content-page h2,
.pelesko-content-page h3 {
  color: var(--pelesko-navy);
}

.pelesko-content-page h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  margin: 0 0 16px;
}

.pelesko-content-page h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.2;
  margin: 0 0 16px;
}

.pelesko-content-page h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.pelesko-content-page p,
.pelesko-content-page li {
  font-size: 1rem;
  line-height: 1.68;
}

.pelesko-page-hero > p {
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 890px;
}

.pelesko-hero-lead {
  color: var(--pelesko-gold);
  font-size: 1.28rem !important;
  margin-bottom: 8px;
}

.pelesko-page-section {
  margin: 0 0 38px;
}

.pelesko-page-section--cta {
  background: var(--pelesko-navy);
  color: #fff;
  padding: 28px 30px;
}

.pelesko-page-section--cta h2,
.pelesko-page-section--cta p {
  color: #fff;
}

.pelesko-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.pelesko-site-button {
  align-items: center;
  background: var(--pelesko-gold);
  border: 1px solid var(--pelesko-gold);
  box-sizing: border-box;
  color: var(--pelesko-navy) !important;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: .035em;
  min-height: 44px;
  padding: 11px 16px;
  text-decoration: none !important;
}

.pelesko-site-button--secondary {
  background: transparent;
  color: var(--pelesko-navy) !important;
}

.pelesko-page-hero--referral .pelesko-site-button--secondary {
  background: #fff;
}

.pelesko-page-section--cta .pelesko-site-button--secondary {
  color: #fff !important;
}

.pelesko-site-button:hover,
.pelesko-site-button:focus-visible {
  opacity: .88;
}

.pelesko-table-wrap {
  border: 1px solid var(--pelesko-border);
  overflow-x: auto;
}

.pelesko-pricing-table {
  border-collapse: collapse;
  margin: 0;
  min-width: 700px;
  width: 100%;
}

.pelesko-pricing-table th,
.pelesko-pricing-table td {
  border-bottom: 1px solid var(--pelesko-border);
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
}

.pelesko-pricing-table thead th {
  background: var(--pelesko-navy);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .02em;
}

.pelesko-pricing-table tbody th {
  color: var(--pelesko-navy);
  font-weight: 650;
  width: 60%;
}

.pelesko-pricing-table tbody td {
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
}

.pelesko-pricing-table tbody tr:last-child th,
.pelesko-pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pelesko-note-grid,
.pelesko-feature-grid,
.pelesko-rule-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

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

.pelesko-note-card,
.pelesko-feature-grid > div,
.pelesko-rule-cards > article {
  border: 1px solid var(--pelesko-border);
  padding: 20px;
}

.pelesko-note-card strong,
.pelesko-note-card span {
  display: block;
}

.pelesko-note-card > strong {
  color: var(--pelesko-navy);
  margin-bottom: 6px;
}

.pelesko-rate-callout,
.pelesko-callout,
.pelesko-confidentiality-note,
.pelesko-fee-highlight {
  background: var(--pelesko-cream);
  border-left: 4px solid var(--pelesko-gold);
  padding: 20px 22px;
}

.pelesko-rate-callout {
  margin-top: 20px;
}

.pelesko-check-list {
  padding-left: 1.25rem;
}

.pelesko-check-list li {
  margin-bottom: 8px;
}

.pelesko-service-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.pelesko-service-grid > div {
  background: #fff;
  border: 1px solid var(--pelesko-border);
  color: var(--pelesko-navy);
  font-weight: 650;
  padding: 13px 15px;
}

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

.pelesko-terms-table {
  border-top: 1px solid var(--pelesko-border);
}

.pelesko-terms-table > div {
  align-items: start;
  border-bottom: 1px solid var(--pelesko-border);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .8fr);
  padding: 13px 4px;
}

.pelesko-terms-table span {
  font-weight: 700;
}

.pelesko-small-print {
  font-size: .88rem !important;
  line-height: 1.5 !important;
  opacity: .78;
}

.pelesko-rule-link {
  color: var(--pelesko-navy);
  font-weight: 700;
  text-decoration-color: var(--pelesko-gold);
  text-underline-offset: 3px;
}

.pelesko-steps {
  counter-reset: pelesko-step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pelesko-steps > li {
  counter-increment: pelesko-step;
  display: grid;
  gap: 16px;
  grid-template-columns: 46px minmax(0, 1fr);
  margin-bottom: 22px;
}

.pelesko-steps > li::before {
  align-items: center;
  background: var(--pelesko-navy);
  border-radius: 50%;
  color: #fff;
  content: counter(pelesko-step);
  display: flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin-top: 2px;
  width: 38px;
}

.pelesko-steps p {
  margin: 4px 0 0;
}

.pelesko-referral-form {
  margin-top: 24px;
}

.pelesko-form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pelesko-referral-form label > span {
  color: var(--pelesko-navy);
  display: block;
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pelesko-referral-form input[type="text"],
.pelesko-referral-form input[type="email"],
.pelesko-referral-form input[type="tel"],
.pelesko-referral-form select {
  background: #fff;
  border: 1px solid rgba(16,42,67,.28);
  border-radius: 2px;
  box-sizing: border-box;
  font: inherit;
  min-height: 46px;
  padding: 9px 11px;
  width: 100%;
}

.pelesko-form-wide {
  grid-column: 1 / -1;
}

.pelesko-form-confirm {
  align-items: start;
  display: flex;
  gap: 9px;
  margin: 20px 0;
}

.pelesko-form-confirm > span {
  color: inherit !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.pelesko-hp {
  height: 0;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.pelesko-form-message {
  border: 1px solid var(--pelesko-border);
  margin-bottom: 24px;
  padding: 16px 18px;
}

.pelesko-form-message--success {
  border-left: 4px solid #2f6f44;
}

.pelesko-form-message--error {
  border-left: 4px solid #9b2c2c;
}

@media (max-width: 800px) {
  .pelesko-content-page {
    padding: 24px 16px 46px;
  }

  .pelesko-page-hero--referral {
    padding: 24px 20px;
  }

  .pelesko-note-grid,
  .pelesko-feature-grid,
  .pelesko-rule-cards,
  .pelesko-service-grid,
  .pelesko-service-grid--pi,
  .pelesko-form-grid {
    grid-template-columns: 1fr;
  }

  .pelesko-form-wide {
    grid-column: auto;
  }

  .pelesko-terms-table > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .pelesko-page-actions {
    display: grid;
  }

  .pelesko-site-button {
    width: 100%;
  }

}

/* Avoid a duplicate theme-generated page title on plugin-managed content pages. */
body.pelesko-managed-content-page .entry-header .entry-title,
body.pelesko-managed-content-page .wp-block-post-title {
  display: none !important;
}

body.pelesko-managed-content-page .entry-content {
  max-width: none !important;
  width: 100% !important;
}


/* v1.3.1 corrections requested after live-site review. */

/* The active theme applies its heading-cell background to tbody <th> cells.
   Force pricing body rows back to a readable white table while preserving the
   navy column header. */
.pelesko-pricing-table tbody th,
.pelesko-pricing-table tbody td {
  background: #fff !important;
  color: var(--pelesko-navy) !important;
}
.pelesko-pricing-table tbody th {
  font-weight: 650 !important;
}
.pelesko-pricing-table tbody td {
  font-weight: 800 !important;
}

/* Compact and center the standard inner-page title/header area across the site.
   Homepage/header navigation are intentionally excluded. */
body:not(.home) .page-header,
body:not(.home) .entry-header,
body:not(.home) .page-title-wrap,
body:not(.home) .page-title-wrapper,
body:not(.home) .title-bar,
body:not(.home) .titlebar,
body:not(.home) .inner-page-header {
  box-sizing: border-box !important;
  min-height: 0 !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  margin-bottom: 22px !important;
  text-align: center !important;
}
body:not(.home) .page-header h1,
body:not(.home) .page-header .page-title,
body:not(.home) .entry-header .entry-title,
body:not(.home) .page-title-wrap h1,
body:not(.home) .page-title-wrapper h1,
body:not(.home) .title-bar h1,
body:not(.home) .titlebar h1,
body:not(.home) .inner-page-header h1 {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem) !important;
  line-height: 1.15 !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Managed pages use a second content hero below the site's title band; keep it
   compact so the page reaches substantive content faster. */
.pelesko-page-hero {
  margin-bottom: 26px !important;
  padding-top: 6px !important;
  padding-bottom: 20px !important;
}
.pelesko-page-hero--referral {
  padding: 24px 28px !important;
}

/* v1.4.1 — Header ownership cleanup.
   The public navigation is styled and rendered by pelesko-homepage-framework.
   This plugin intentionally contains no Pricing/referral-header selectors. */

/* Builder-agnostic compact/centered title fallback for interior pages. */
body:not(.home) .pelesko-compact-page-title,
body:not(.home) .pelesko-centered-page-title-band {
  box-sizing: border-box !important;
  min-height: 0 !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  margin-bottom: 22px !important;
  text-align: center !important;
}
body:not(.home) .pelesko-compact-page-title-heading,
body:not(.home) h1.pelesko-centered-page-title-heading,
body.pelesko-pricing-route h1.pelesko-public-pricing-title {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
body:not(.home) .pelesko-centered-page-title-inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
body:not(.home) .pelesko-centered-page-title-accent {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Keep the attorney-referral inquiry submit button readable against theme rules. */
.pelesko-referral-form button.pelesko-site-button[type="submit"],
.pelesko-referral-form input.pelesko-site-button[type="submit"] {
  background: var(--pelesko-gold) !important;
  border: 1px solid var(--pelesko-gold) !important;
  color: var(--pelesko-navy) !important;
  -webkit-text-fill-color: var(--pelesko-navy) !important;
  opacity: 1 !important;
}
.pelesko-referral-form button.pelesko-site-button[type="submit"]:hover,
.pelesko-referral-form button.pelesko-site-button[type="submit"]:focus-visible {
  filter: brightness(.96);
  opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   v1.5.0 — non-copy brand consistency layer
   -------------------------------------------------------------------------- */
body.plhf-page .pelesko-content-page,
body.plhf-page .pelesko-free-evaluation-page {
  font-family: Arial, Helvetica, sans-serif;
}

body.plhf-page .pelesko-content-page h1,
body.plhf-page .pelesko-content-page h2,
body.plhf-page .pelesko-content-page h3,
body.plhf-page .pelesko-free-evaluation-page h1,
body.plhf-page .pelesko-free-evaluation-page h2,
body.plhf-page .pelesko-free-evaluation-page h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.pelesko-content-page,
.pelesko-free-evaluation-page {
  --pelesko-navy: #0b2c4d;
  --pelesko-gold: #b58d4f;
  --pelesko-cream: #f6f2e9;
  --pelesko-border: rgba(11,44,77,.16);
}

.pelesko-page-hero,
.pelesko-page-hero--referral,
.pelesko-callout,
.pelesko-page-section--cta,
.pelesko-site-button,
.pelesko-audience-button,
.pelesko-referral-form input,
.pelesko-referral-form textarea,
.pelesko-referral-form select,
.pelesko-referral-form button {
  border-radius: 0 !important;
}

.pelesko-page-hero--referral {
  background: linear-gradient(135deg, rgba(11,44,77,.045), rgba(181,141,79,.075));
}

.pelesko-site-button,
.pelesko-audience-button {
  background: var(--pelesko-gold) !important;
  border-color: var(--pelesko-gold) !important;
  color: #071f37 !important;
  letter-spacing: .035em;
}

.pelesko-site-button--secondary {
  background: transparent !important;
  color: var(--pelesko-navy) !important;
}

.pelesko-site-button:hover,
.pelesko-site-button:focus-visible,
.pelesko-audience-button:hover,
.pelesko-audience-button:focus-visible {
  filter: brightness(.96);
  transform: translateY(-1px);
}

.pelesko-referral-form input:focus,
.pelesko-referral-form textarea:focus,
.pelesko-referral-form select:focus {
  border-color: var(--pelesko-gold);
  box-shadow: 0 0 0 2px rgba(181,141,79,.18);
  outline: none;
}

.pelesko-terms-table > div,
.pelesko-service-grid > div,
.pelesko-referral-grid > div,
.pelesko-check-list,
.pelesko-callout {
  border-color: rgba(11,44,77,.15) !important;
}

@media (max-width: 767px) {
  .pelesko-content-page {
    padding-left: 18px;
    padding-right: 18px;
  }
  .pelesko-page-hero--referral {
    padding: 24px 20px;
  }
  .pelesko-page-actions {
    gap: 10px;
  }
  .pelesko-page-actions .pelesko-site-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   v1.6.2 — Free Case Evaluation form restoration.
   Keep the direct-rendered framework form, but restore the compact consultation
   card proportions and prevent interior-page heading rules from recoloring it.
   -------------------------------------------------------------------------- */
body.plhf-page .pelesko-free-evaluation-page {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
body.plhf-page .pelesko-free-evaluation-intro {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
body.plhf-page .pelesko-free-evaluation-form {
  display: flex;
  justify-content: center;
  margin: 24px auto 20px;
}
body.plhf-page .pelesko-free-evaluation-form .plhf-consultation-card {
  box-sizing: border-box;
  width: min(100%, 520px) !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 25px 20px 18px !important;
  background: var(--plhf-navy) !important;
  border: 1px solid var(--plhf-gold) !important;
}
body.plhf-page .plhf-page-content .pelesko-free-evaluation-form .plhf-consultation-card h2,
body.plhf-page .pelesko-free-evaluation-form .plhf-consultation-card h2 {
  margin: 0 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-align: center !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 27px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
}
body.plhf-page .pelesko-free-evaluation-form .plhf-card-rule {
  display: block !important;
  width: 38px !important;
  height: 2px !important;
  margin: 12px auto 15px !important;
  background: var(--plhf-gold) !important;
}
body.plhf-page .pelesko-free-evaluation-form .plhf-form input,
body.plhf-page .pelesko-free-evaluation-form .plhf-form textarea {
  box-sizing: border-box;
  width: 100% !important;
  background: #fff !important;
  color: #152638 !important;
  -webkit-text-fill-color: #152638 !important;
}
body.plhf-page .pelesko-free-evaluation-form .plhf-form button[type='submit'] {
  width: 100% !important;
  min-height: 44px !important;
  padding: 12px 14px !important;
  border: 0 !important;
  background: var(--plhf-gold) !important;
  color: var(--plhf-navy-deep) !important;
  -webkit-text-fill-color: var(--plhf-navy-deep) !important;
  text-align: center !important;
}
body.plhf-page .pelesko-free-evaluation-form .plhf-confidentiality {
  color: #e3e9ef !important;
}
body.plhf-page .pelesko-free-evaluation-form .plhf-form-disclaimer {
  color: #cbd5df !important;
}
@media (max-width: 640px) {
  body.plhf-page .pelesko-free-evaluation-form .plhf-consultation-card {
    width: 100% !important;
  }
}

/* v1.6.3 — Pricing page included-time clarification. */
.pelesko-pricing-table--timed {
  min-width: 880px;
}
.pelesko-pricing-table--timed tbody th {
  width: 44%;
}
.pelesko-pricing-table--timed .pelesko-time-included {
  font-size: .98rem;
  font-weight: 700 !important;
  line-height: 1.35;
  white-space: normal;
  width: 24%;
}
.pelesko-pricing-time-rules {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pelesko-pricing-time-rules > article h3 {
  margin-top: 0;
}
.pelesko-pricing-time-rules > article p:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .pelesko-pricing-time-rules {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   v1.6.6 — Interior-page reading rhythm and list normalization.

   The locked brand pages intentionally use many short paragraphs. The framework's
   earlier 1.75 line-height + 20px paragraph gap + 44px H2 gap made those pages
   read like centered menu items. These rules alter presentation only: no approved
   wording or HTML content is rewritten.

   Direct-child selectors intentionally leave nested pricing cards, referral
   panels, forms, tables, CTA cards, FAQ widgets, and other designed components
   under their own component-specific spacing rules.
   -------------------------------------------------------------------------- */
body.plhf-page.plhf-interior-page .plhf-page-content {
  line-height: 1.56 !important;
  text-align: left !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > p {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  line-height: 1.56 !important;
  text-align: left !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > h2 {
  margin-top: 30px !important;
  margin-bottom: 10px !important;
  line-height: 1.16 !important;
  text-align: left !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > h3 {
  margin-top: 24px !important;
  margin-bottom: 8px !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > h4 {
  margin-top: 20px !important;
  margin-bottom: 7px !important;
  line-height: 1.22 !important;
  text-align: left !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > hr {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

/* Do not stack a full heading top-margin on top of a section rule. */
body.plhf-page.plhf-interior-page .plhf-page-content > hr + h2,
body.plhf-page.plhf-interior-page .plhf-page-content > hr + h3 {
  margin-top: 0 !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > ul,
body.plhf-page.plhf-interior-page .plhf-page-content > ol {
  box-sizing: border-box !important;
  display: block !important;
  max-width: 76ch !important;
  margin: 5px 0 16px !important;
  padding-left: 1.45rem !important;
  text-align: left !important;
  list-style-position: outside !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > ul {
  list-style-type: disc !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > ol {
  list-style-type: decimal !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > ul > li,
body.plhf-page.plhf-interior-page .plhf-page-content > ol > li {
  display: list-item !important;
  max-width: none !important;
  margin: 0 0 4px !important;
  padding: 0 0 0 .12rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

body.plhf-page.plhf-interior-page .plhf-page-content > ul > li + li,
body.plhf-page.plhf-interior-page .plhf-page-content > ol > li + li {
  margin-top: 0 !important;
}

/* A lead paragraph remains visibly distinct without reopening the large gaps. */
body.plhf-page.plhf-interior-page .plhf-page-content > p.plhf-lead {
  margin-bottom: 16px !important;
  line-height: 1.48 !important;
}

@media (max-width: 640px) {
  body.plhf-page.plhf-interior-page .plhf-page-content > p {
    margin-bottom: 9px !important;
    line-height: 1.53 !important;
  }
  body.plhf-page.plhf-interior-page .plhf-page-content > h2 {
    margin-top: 26px !important;
    margin-bottom: 9px !important;
  }
  body.plhf-page.plhf-interior-page .plhf-page-content > hr {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
  body.plhf-page.plhf-interior-page .plhf-page-content > ul,
  body.plhf-page.plhf-interior-page .plhf-page-content > ol {
    padding-left: 1.3rem !important;
  }
}


/* v1.7.1 — homepage WC practice panel withdrawal */
body.home .pelesko-home-wc-card-removed {
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
}
body.home .pelesko-home-wc-card-removed > * {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  flex: 1 1 100% !important;
}
