/*
 * Blog single preview: full-bleed hero, olive prose band, existing post_content.
 */

.fx-section--blog-single {
  --fx-bs-pad-x: var(--fx-content-pad-x);
  --fx-bs-content-max: 96.125rem;
  --fx-bs-prose-max: 95.75rem;
  --fx-bs-hero-min: clamp(22rem, 50vw, 59rem);
  --fx-bs-title-size: clamp(2.25rem, 1rem + 4vw, 5.5rem);
  --fx-bs-sub-size: clamp(1.5rem, 0.75rem + 2.5vw, 4.6875rem);
  --fx-bs-eyebrow-size: clamp(0.875rem, 0.5rem + 0.8vw, 1.5rem);
  --fx-bs-heading-size: clamp(1.75rem, 0.75rem + 2.5vw, 4.6875rem);
  --fx-bs-body-size: clamp(1.125rem, 0.75rem + 1vw, 2.5rem);
  --fx-bs-prose-pad-y: clamp(1.75rem, 3vw, 2.75rem);
  padding: 0;
  background-color: var(--fx-color-olive);
  color: #ffffff;
}

body.fx-lotus-blog-v2--single .edgtf-content {
  background-color: var(--fx-color-olive, #5a5c4c);
}

body.fx-lotus-blog-v2--single .edgtf-title,
body.fx-lotus-blog-v2--single .edgtf-title-holder {
  display: none !important;
}

.fx-blog-single {
  margin: 0;
  padding: 0;
  color: #ffffff;
}

.fx-blog-single__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--fx-bs-hero-min);
  overflow: hidden;
  background-color: var(--fx-color-olive-dark);
}

.fx-blog-single__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

/* Beat .fx-section img { height: auto } so the featured image covers the hero. */
.fx-section--blog-single .fx-blog-single__hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.fx-blog-single__hero-scrub {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.fx-blog-single__hero-inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--fx-bs-content-max);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) var(--fx-bs-pad-x) clamp(1.75rem, 3vw, 3rem);
}

.fx-blog-single__eyebrow {
  margin: 0 0 0.75rem;
}

.fx-blog-single__eyebrow-link {
  color: #ffffff;
  font-family: var(--fx-font-eyebrow);
  font-size: var(--fx-bs-eyebrow-size);
  font-style: normal;
  font-weight: 600;
  line-height: 0.89;
  letter-spacing: 0.3em;
  text-decoration: none;
  text-transform: uppercase;
}

.fx-blog-single__eyebrow-link:hover,
.fx-blog-single__eyebrow-link:focus {
  color: var(--fx-color-accent);
  text-decoration: none;
}

.fx-section--blog-single .fx-blog-single__title,
.fx-section--blog-single h1.fx-blog-single__title {
  margin: 0;
  max-width: 99rem;
  color: #ffffff;
  font-family: var(--fx-font-display);
  font-size: var(--fx-bs-title-size);
  font-style: normal;
  font-weight: 400;
  line-height: 0.89;
  letter-spacing: 0.01em;
  text-transform: none;
}

.fx-blog-single__subtitle {
  margin: clamp(1rem, 2vw, 1.75rem) 0 0;
  max-width: 82rem;
  color: #ffffff;
  font-family: var(--fx-font-display);
  font-size: var(--fx-bs-sub-size);
  font-style: normal;
  font-weight: 400;
  line-height: 0.89;
  letter-spacing: 0.01em;
}

.fx-blog-single__content {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--fx-bs-content-max);
  margin: 0 auto;
  padding: var(--fx-bs-prose-pad-y) var(--fx-bs-pad-x) clamp(3rem, 6vw, 5rem);
  background-color: var(--fx-color-olive);
}

.fx-blog-single__prose {
  max-width: var(--fx-bs-prose-max);
  color: #ffffff;
  font-family: var(--fx-font-intro);
  font-size: var(--fx-bs-body-size);
  font-style: normal;
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: 0.01em;
}

.fx-blog-single__prose > *:last-child {
  margin-bottom: 0;
}

.fx-blog-single__prose p {
  margin: 0 0 1.25em;
  color: #ffffff;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.fx-blog-single__prose a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.fx-blog-single__prose a:hover,
.fx-blog-single__prose a:focus {
  color: var(--fx-color-accent);
}

.fx-section--blog-single .fx-blog-single__prose h1,
.fx-section--blog-single .fx-blog-single__prose h2,
.fx-section--blog-single .fx-blog-single__prose h3,
.fx-section--blog-single .fx-blog-single__prose h4,
.fx-section--blog-single .fx-blog-single__prose h5,
.fx-section--blog-single .fx-blog-single__prose h6,
.fx-section--blog-single .fx-blog-single__prose .wp-block-heading {
  margin-top: 1.5em;
  margin-right: 0;
  margin-bottom: 0.65em;
  margin-left: 0;
  color: #ffffff;
  font-family: var(--fx-font-display);
  font-size: var(--fx-bs-heading-size);
  font-style: normal;
  font-weight: 400;
  line-height: 0.89;
  letter-spacing: 0.01em;
  text-transform: none;
}

.fx-section--blog-single .fx-blog-single__prose > :first-child,
.fx-section--blog-single .fx-blog-single__prose > h1:first-child,
.fx-section--blog-single .fx-blog-single__prose > h2:first-child,
.fx-section--blog-single .fx-blog-single__prose > h3:first-child,
.fx-section--blog-single .fx-blog-single__prose > h4:first-child,
.fx-section--blog-single .fx-blog-single__prose > h5:first-child,
.fx-section--blog-single .fx-blog-single__prose > h6:first-child,
.fx-section--blog-single .fx-blog-single__prose > .wp-block-heading:first-child {
  margin-top: 0;
}

.fx-blog-single__prose ul,
.fx-blog-single__prose ol {
  margin: 0 0 1.25em;
  padding: 0 0 0 1.5em;
  color: #ffffff;
}

.fx-blog-single__prose li {
  margin: 0 0 0.75em;
  color: #ffffff;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.fx-blog-single__prose li:last-child {
  margin-bottom: 0;
}

.fx-blog-single__prose strong,
.fx-blog-single__prose b {
  font-weight: 700;
}

/* WP often wraps heading text in <strong>; keep Fairplex Book (400) like Figma. */
.fx-section--blog-single .fx-blog-single__prose h1 strong,
.fx-section--blog-single .fx-blog-single__prose h1 b,
.fx-section--blog-single .fx-blog-single__prose h2 strong,
.fx-section--blog-single .fx-blog-single__prose h2 b,
.fx-section--blog-single .fx-blog-single__prose h3 strong,
.fx-section--blog-single .fx-blog-single__prose h3 b,
.fx-section--blog-single .fx-blog-single__prose h4 strong,
.fx-section--blog-single .fx-blog-single__prose h4 b,
.fx-section--blog-single .fx-blog-single__prose h5 strong,
.fx-section--blog-single .fx-blog-single__prose h5 b,
.fx-section--blog-single .fx-blog-single__prose h6 strong,
.fx-section--blog-single .fx-blog-single__prose h6 b,
.fx-section--blog-single .fx-blog-single__prose .wp-block-heading strong,
.fx-section--blog-single .fx-blog-single__prose .wp-block-heading b {
  font-weight: inherit;
}

.fx-blog-single__prose img,
.fx-blog-single__prose .wp-caption,
.fx-blog-single__prose figure {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2em 0;
}

.fx-blog-single__prose .aligncenter {
  margin-right: auto;
  margin-left: auto;
}

.fx-blog-single__prose blockquote {
  margin: 1.5em 0;
  padding: 0 0 0 1.25em;
  border-left: 2px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-style: italic;
}

.fx-blog-single__prose hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 767px) {
  .fx-section--blog-single {
    --fx-bs-hero-min: 18rem;
  }

  .fx-blog-single__hero-inner {
    padding-top: 5.5rem;
  }
}


body.fx-lotus-blog-v2--single .fx-blog-single__content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  float: none;
}

/* Wrappers WP adds around images (alignleft/alignright, captions, figure) */
body.fx-lotus-blog-v2--single .fx-blog-single__content .alignleft,
body.fx-lotus-blog-v2--single .fx-blog-single__content .alignright,
body.fx-lotus-blog-v2--single .fx-blog-single__content .aligncenter,
body.fx-lotus-blog-v2--single .fx-blog-single__content .alignnone,
body.fx-lotus-blog-v2--single .fx-blog-single__content figure,
body.fx-lotus-blog-v2--single .fx-blog-single__content .wp-caption {
  float: none;
  display: block;
  width: 100% !important;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Pill outline button */
body.fx-lotus-blog-v2--single .fx-blog-single__content .maxbutton,
body.fx-lotus-blog-v2--single .fx-blog-single__content a.vc_btn3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 22rem);
  padding: 1.1rem 2.5rem;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 999px !important;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
body.fx-lotus-blog-v2--single .fx-blog-single__content .maxbutton:hover,
body.fx-lotus-blog-v2--single .fx-blog-single__content a.vc_btn3:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #fff !important;
}

/* CTA band with dark photo overlay. Add the class fx-blog-cta to the CTA wrapper */
.fx-blog-cta {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) var(--fx-bs-pad-x, 1.5rem);
  text-align: center;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.fx-blog-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 21, 18, 0.7);  /* overlay strength */
  z-index: -1;
}

body.fx-lotus-blog-v2--single .fx-contact-form,
body.fx-lotus-blog-v2--single .fx-section--contact-form,
body.fx-lotus-blog-v2--list .fx-section--contact-form {
  background-color: #3B3B35 !important;
}

body.fx-lotus-blog-v2--list .edgtf-container.edgtf-container-bottom-navigation {
    padding-bottom: 0;
}

body.fx-lotus-blog-v2--single .fx-blog-single__prose a.maxbutton-5 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  padding: 30px 50px;          /* --fx-btn-pad-y / --fx-btn-pad-x */
  border: 1px solid #fff !important;
  border-radius: 2.625rem !important;   /* --fx-btn-radius */
  background: transparent !important;
  color: #fff !important;
  font-family: "Geogrotesque", "Open Sans", sans-serif !important;
  font-size: 24px !important;         /* --fx-btn-font-size */
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.3em !important;     /* --fx-btn-tracking */
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: normal;
  text-align: center;
  transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out;
  
  min-width: 550px;
  width: auto;
  height: auto;
}

body.fx-lotus-blog-v2--single .fx-blog-single__prose a.maxbutton-5:hover,
body.fx-lotus-blog-v2--single .fx-blog-single__prose a.maxbutton-5:focus {
  background: #d6ab60 !important;       /* --fx-color-accent */
  border-color: #d6ab60 !important;
  color: #313131 !important;            /* --fx-color-heading */
}

body.fx-lotus-blog-v2--single .maxbutton-5.maxbutton.maxbutton-build-a-new-home-in-tennessee-with-lotus .mb-text {
    padding-top: 0;
    letter-spacing: 0.05em;
    font-size: 24px;

}