/*
 * Editable interior-page typography.
 * Layout remains controlled by the original theme; this layer gives ordinary
 * WordPress editor content consistent spacing and typography without requiring
 * inline styles or page-specific formatting.
 */
.ard-page-content {
  box-sizing: border-box;
}

.ard-page-content > :first-child {
  margin-top: 0;
}

.ard-page-content > :last-child {
  margin-bottom: 0;
}

.ard-page-content h1,
.ard-page-content h2,
.ard-page-content h3,
.ard-page-content h4,
.ard-page-content h5,
.ard-page-content h6 {
  clear: both;
  margin: 1.35em 0 0.55em;
  line-height: 1.25;
}

.ard-page-content h1 { font-size: clamp(30px, 2.344vw, 45px); }
.ard-page-content h2 { font-size: clamp(25px, 1.823vw, 35px); }
.ard-page-content h3 { font-size: clamp(22px, 1.55vw, 30px); }
.ard-page-content h4 { font-size: clamp(20px, 1.3vw, 25px); }

.ard-page-content p,
.ard-page-content li {
  font-family: "Minion Pro", Georgia, serif;
  font-size: clamp(18px, 1.302vw, 25px);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.ard-page-content p {
  margin: 0 0 1.15em;
}

.ard-page-content ul,
.ard-page-content ol {
  margin: 0 0 1.35em;
  padding-left: 1.6em;
}

.ard-page-content li {
  margin: 0 0 0.35em;
  padding-left: 0.15em;
}

.ard-page-content a {
  color: #a5170c;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.ard-page-content a:hover,
.ard-page-content a:focus {
  text-decoration-thickness: 2px;
}

.ard-page-content strong,
.ard-page-content b {
  font-weight: 700;
}

.ard-page-content blockquote {
  margin: 1.5em 0;
  padding: 0.2em 0 0.2em 1.25em;
  border-left: 4px solid #a5170c;
}

.ard-page-content blockquote p:last-child {
  margin-bottom: 0;
}

.ard-page-content img {
  max-width: 100%;
  height: auto;
}

.ard-page-content figure {
  max-width: 100%;
  margin: 1.5em 0;
}

.ard-page-content hr {
  border: 0;
  border-top: 1px solid #d8d8d8;
  margin: 2em 0;
}

/* Preserve migrated specialty layouts. Their more-specific legacy selectors win. */
.ard-page-content .contact-page p,
.ard-page-content .bio-single p,
.ard-page-content .client-review p {
  letter-spacing: inherit;
}

@media (max-width: 850px) {
  .ard-page-content h1 { font-size: 8vw; }
  .ard-page-content h2 { font-size: 5.7vw; }
  .ard-page-content h3 { font-size: 5vw; }
  .ard-page-content h4 { font-size: 4.7vw; }

  .ard-page-content p,
  .ard-page-content li {
    font-size: 5vw;
    line-height: 1.5;
  }

  .ard-page-content ul,
  .ard-page-content ol {
    padding-left: 1.25em;
  }
}

/* Attorney page: keep the WordPress editor content linear and clean, but
 * restore the original site's designed two-column presentation on the front end. */
.ard-attorney-page {
  overflow: hidden;
}

.ard-attorney-page .bio-single {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.ard-attorney-page .bio-single .left,
.ard-attorney-page .bio-single .right {
  box-sizing: border-box;
}

/* Prevent the generic editable-content heading rules from clearing across the
 * neighboring attorney column. */
.ard-attorney-page .bio-single h1,
.ard-attorney-page .bio-single h2,
.ard-attorney-page .bio-single h3,
.ard-attorney-page .bio-single h4,
.ard-attorney-page .bio-single h5,
.ard-attorney-page .bio-single h6 {
  clear: none;
}

.ard-attorney-page .bio-single .right > :first-child,
.ard-attorney-page .bio-single .left > :first-child {
  margin-top: 0;
}

.ard-attorney-page .ard-attorney-single-column .left {
  width: 89.584vw;
  margin-right: 5.208vw;
}

@media (max-width: 850px) {
  .ard-attorney-page .bio-single {
    overflow: visible;
  }

  .ard-attorney-page .bio-single .left,
  .ard-attorney-page .bio-single .right,
  .ard-attorney-page .ard-attorney-single-column .left {
    width: 88vw;
    margin-left: 5.208vw;
    margin-right: 0;
    float: none;
    display: block;
  }

  .ard-attorney-page .bio-single .right {
    padding-top: 6vw;
  }
}
