/* Remedē demo styling layer. Keep this intentionally light for now. */

:root {
  --remede-black: #0a0a0a;
  --remede-off-black: #111111;
  --remede-green: #2d4a35;
  --remede-green-light: #3d6347;
  --remede-green-accent: #4a7a5a;
  --remede-silver: #c8c8c8;
  --remede-light-grey: #8a8a8a;
  --remede-off-white: #f4f4f2;
	
	/* Typography: inherits from the Runemark parent theme typography system. */
	--remede-font-body: var(--rm-font-body, var(--gi-font-body, "Montserrat", sans-serif));
	--remede-font-heading: var(--rm-font-heading, var(--gi-font-heading, "Cormorant Garamond", Georgia, serif));
	--remede-font-nav: var(--rm-font-nav, var(--gi-font-nav, var(--remede-font-body)));
	--remede-font-logo: var(--rm-font-logo, var(--gi-font-logo, var(--remede-font-heading)));
}

/* Remede Buttons */

/* Remede Hero */
.remede-hero {
  min-height: 100vh;
  background: var(--remede-black);
  color: var(--remede-off-white);
  overflow: hidden;
  position: relative;
}

.remede-hero::before,
.remede-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.remede-hero::before {
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(45,74,53,0.18) 0%, transparent 70%);
}

.remede-hero::after {
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(45,74,53,0.1) 0%, transparent 70%);
}

.remede-hero__eyebrow,
.remede-hero__path-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.remede-hero__eyebrow {
  color: var(--remede-green-accent);
}

.remede-hero__heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #fff;
}

.remede-hero__subheading {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--remede-light-grey);
}

.remede-hero__divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--remede-green-accent), transparent);
}

.remede-hero__path-label {
  color: var(--remede-light-grey);
}

.remede-path-card {
  display: block;
  height: 100%;
  padding: 2.25rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.02);
  color: var(--remede-off-white);
  text-decoration: none;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.remede-path-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--remede-green-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.remede-path-card:hover {
  border-color: var(--remede-green-accent);
  background: rgba(45,74,53,0.08);
  color: #fff;
}

.remede-path-card:hover::before {
  transform: scaleY(1);
}

.remede-path-card__emphasis {
  display: block;
  margin-bottom: 0.65rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.875rem;
  font-style: italic;
  color: #fff;
  line-height: 1.1;
}

.remede-path-card__text {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.9;
  color: var(--remede-silver);
}
/* Remede funnel */
.remede-funnel {
  background: #111;
  color: #f4f4f2;
}

.remede-funnel__grid {
  border: 1px solid rgba(255,255,255,0.08);
}

.remede-funnel-card {
  background: #111;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.remede-funnel-card__number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 4rem;
  line-height: 1;
  opacity: 0.08;
}

.remede-funnel-card__line {
  width: 36px;
  height: 1px;
  background: #4a7a5a;
}

.remede-funnel-card__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
}

.remede-funnel-card__text {
  color: #8a8a8a;
}

.remede-funnel-card__link {
  color: #4a7a5a;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}
/* Remede Assessment */

.remede-assessment {
  background: #1c1c1c;
  color: #f4f4f2;
}

.remede-assessment__intro {
  max-width: 640px;
  color: #8a8a8a;
}

.remede-assessment__card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 3rem;
}

.remede-assessment__step,
.remede-assessment__result {
  display: none;
}

.remede-assessment__step.is-active,
.remede-assessment__result.is-active {
  display: block;
}

.remede-assessment__count {
  color: #4a7a5a;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
}

.remede-assessment__question {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 2rem;
}

.remede-assessment__options {
  display: grid;
  gap: 0.75rem;
}

.remede-assessment__option {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: #c8c8c8;
  padding: 1rem 1.25rem;
  text-align: left;
  transition: all 0.2s ease;
}

.remede-assessment__option:hover {
  border-color: #4a7a5a;
  color: #fff;
  background: rgba(45,74,53,0.12);
}

.remede-assessment__progress {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.remede-assessment__dot {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.12);
}

.remede-assessment__dot.is-active {
  background: #4a7a5a;
}

.remede-assessment__restart {
  display: block;
  background: none;
  border: 0;
  color: #8a8a8a;
  text-decoration: underline;
}
/* Remede Services */
.remede-services {
  background: #0a0a0a;
  color: #f4f4f2;
}

.remede-services__grid {
  background: rgba(255,255,255,0.04);
}

.remede-service-card {
  background: #111;
  color: #f4f4f2;
  transition: background 0.25s ease;
}

.remede-service-card:hover {
  background: rgba(45,74,53,0.12);
}

.remede-service-card__tag {
  color: #4a7a5a;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.remede-service-card__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
}

.remede-service-card__description {
  color: #8a8a8a;
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.remede-service-card__list {
  margin-bottom: 2rem;
}

.remede-service-card__list li {
  color: #c8c8c8;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.remede-service-card__list li::before {
  content: "— ";
  color: #4a7a5a;
}

.remede-service-card__button {
  display: inline-block;
  color: #f4f4f2;
  border: 1px solid #2d4a35;
  padding: 0.75rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.remede-service-card__button:hover {
  background: #2d4a35;
  color: #fff;
}
/* Remede About */

.remede-about {
  background: #111;
  color: #f4f4f2;
}

.remede-about__image {
  min-height: 560px;
  background: #1c1c1c;
}

.remede-about__placeholder {
  min-height: 560px;
  background: linear-gradient(135deg, #1c1c1c 0%, rgba(45,74,53,0.18) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
}

.remede-about__placeholder-line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0.75rem 0;
}

.remede-about__content {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #111;
}

.remede-about__body {
  color: #8a8a8a;
  line-height: 1.9;
  max-width: 580px;
}

.remede-about__quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  color: #c8c8c8;
  line-height: 1.7;
  max-width: 620px;
  padding-left: 1.5rem;
  border-left: 1px solid #4a7a5a;
}

@media (max-width: 991.98px) {
  .remede-about__image,
  .remede-about__placeholder,
  .remede-about__content {
    min-height: auto;
  }

  .remede-about__placeholder {
    min-height: 360px;
  }
}

/* Remede Testimonials */

.remede-testimonials {
  background: #0a0a0a;
  color: #f4f4f2;
}

.remede-testimonials__grid {
  background: rgba(255,255,255,0.04);
}

.remede-testimonial-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.04);
}

.remede-testimonial-card__quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  color: #c8c8c8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.remede-testimonial-card__name {
  color: #4a7a5a;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0;
}
/* Remede Waitlist */
.remede-waitlist {
  background: #2d4a35;
  color: #fff;
}

.remede-waitlist__eyebrow {
  color: rgba(255,255,255,0.55);
}

.remede-waitlist__heading {
  color: #fff;
}

.remede-waitlist__body {
  max-width: 620px;
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
}

.remede-waitlist__form {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.remede-waitlist__input {
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 0;
}

.remede-waitlist__input::placeholder {
  color: rgba(255,255,255,0.48);
}

.remede-waitlist__input:focus {
  background: rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
  box-shadow: none;
}

.remede-waitlist__button {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  border-radius: 0;
  padding: 1rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.remede-waitlist__button:hover {
  background: #111;
  color: #fff;
}

@media (max-width: 575.98px) {
  .remede-waitlist__form .input-group {
    flex-direction: column;
  }

  .remede-waitlist__input,
  .remede-waitlist__button {
    width: 100%;
  }
}

/* ========================================================================== 
   Remedē top-level page templates and blog templates
   ========================================================================== */

.remede-page,
.remede-blog-page,
.remede-single-page,
.remede-404-page {
  background: var(--remede-black, #0a0a0a);
  color: var(--remede-off-white, #f4f4f2);
  font-family: "Montserrat", sans-serif;
}

.remede-page h1,
.remede-page h2,
.remede-page h3,
.remede-blog-page h1,
.remede-blog-page h2,
.remede-blog-page h3,
.remede-single-page h1,
.remede-single-page h2,
.remede-single-page h3,
.remede-404-page h1,
.remede-404-page h2,
.remede-404-page h3 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 300 !important;
}

.remede-page-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(8rem, 12vw, 12rem) 0 clamp(5rem, 8vw, 8rem);
}

.remede-page-hero--compact {
  min-height: 48vh;
}

.remede-page-hero::before,
.remede-page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.remede-page-hero::before {
  top: -220px;
  right: -220px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(45,74,53,0.18) 0%, transparent 70%);
}

.remede-page-hero::after {
  bottom: -160px;
  left: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(45,74,53,0.1) 0%, transparent 70%);
}

.remede-page-hero__inner,
.remede-page-hero .container {
  position: relative;
  z-index: 2;
}

.remede-page-eyebrow {
  margin-bottom: 1.35rem;
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--remede-green-accent, #4a7a5a) !important;
}

.remede-page-hero__title {
  max-width: 880px;
  margin: 0 auto 1.25rem;
  font-size: clamp(3.2rem, 6.2vw, 6.4rem) !important;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.remede-page-hero__title em,
.remede-page-section-title em {
  font-style: italic;
  color: var(--remede-silver, #c8c8c8);
}

.remede-page-hero__intro,
.remede-page-body {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 2;
  color: var(--remede-light-grey, #8a8a8a);
}

.remede-page-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

.remede-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.78rem 1.35rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.remede-page-btn--primary {
  background: var(--remede-green, #2d4a35);
  border: 1px solid var(--remede-green-light, #3d6347);
  color: #fff;
}

.remede-page-btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
}

.remede-page-btn--dark {
  background: var(--remede-black, #0a0a0a);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.remede-page-btn:hover {
  background: var(--remede-green-light, #3d6347);
  border-color: var(--remede-green-light, #3d6347);
  color: #fff;
}

.remede-page-overview,
.remede-page-cards,
.remede-page-process,
.remede-page-quote,
.remede-page-faq,
.remede-blog-layout {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.remede-page-section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem) !important;
  line-height: 1.08;
  color: #fff;
}

.remede-page-section-title--wide {
  max-width: 780px;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.remede-page-section-title--center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.remede-page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,0.045);
  background: rgba(255,255,255,0.02);
}

.remede-page-card {
  position: relative;
  min-height: 420px;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--remede-off-black, #111);
  transition: background 0.3s ease;
}

.remede-page-card + .remede-page-card {
  border-left: 1px solid rgba(255,255,255,0.045);
}

.remede-page-card:hover {
  background: rgba(45,74,53,0.08);
}

.remede-page-card__number {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.2rem;
  line-height: 1;
  color: rgba(255,255,255,0.045);
}

.remede-page-card__kicker {
  margin-bottom: 1.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--remede-green-accent, #4a7a5a);
}

.remede-page-card__title {
  max-width: 340px;
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem) !important;
  line-height: 1.12;
  color: #fff;
}

.remede-page-card__body {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--remede-light-grey, #8a8a8a);
}

.remede-page-card__list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.remede-page-card__list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--remede-silver, #c8c8c8);
}

.remede-page-card__list li::before {
  content: "— ";
  color: var(--remede-green-accent, #4a7a5a);
}

.remede-page-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,0.045);
  border-bottom: 1px solid rgba(255,255,255,0.045);
}

.remede-page-process-step {
  padding: 2rem;
}

.remede-page-process-step + .remede-page-process-step {
  border-left: 1px solid rgba(255,255,255,0.045);
}

.remede-page-process-step span {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--remede-green-accent, #4a7a5a);
}

.remede-page-process-step p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--remede-silver, #c8c8c8);
}

.remede-page-quote__inner {
  max-width: 760px;
}

.remede-page-quote blockquote {
  margin: 0;
  padding-left: 1.6rem;
  border-left: 1px solid var(--remede-green-accent, #4a7a5a);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--remede-silver, #c8c8c8);
}

.remede-page-faq-list {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.remede-page-faq-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.8fr);
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.remede-page-faq-item h3 {
  margin: 0;
  font-size: 1.25rem !important;
  color: #fff;
}

.remede-page-faq-item p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--remede-light-grey, #8a8a8a);
}

.remede-page-final-cta {
  padding: clamp(5rem, 8vw, 7rem) 0;
}

.remede-page-final-cta .remede-page-eyebrow {
  color: rgba(255,255,255,0.6) !important;
}

/* Blog / journal */
.remede-blog-list {
  display: grid;
  gap: 2rem;
}

.remede-blog-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  background: var(--remede-off-black, #111);
  border: 1px solid rgba(255,255,255,0.055);
}

.remede-blog-card__image {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1c1c, rgba(45,74,53,0.2));
  color: rgba(255,255,255,0.2);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
}

.remede-blog-card__image img,
.remede-single-featured img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.remede-blog-card__body {
  padding: clamp(2rem, 4vw, 3rem);
}

.remede-blog-card__body h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem) !important;
  line-height: 1.12;
}

.remede-blog-card__body h2 a,
.remede-blog-card__link,
.remede-blog-sidebar a,
.remede-pagination a {
  color: #fff;
  text-decoration: none;
}

.remede-blog-card__body p {
  color: var(--remede-light-grey, #8a8a8a);
  font-size: 0.82rem;
  line-height: 1.9;
}

.remede-blog-card__link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--remede-green-accent, #4a7a5a);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.remede-blog-sidebar {
  position: sticky;
  top: 110px;
}

.remede-blog-widget {
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: var(--remede-off-black, #111);
  border: 1px solid rgba(255,255,255,0.055);
}

.remede-blog-widget h2 {
  margin-bottom: 1.2rem;
  font-size: 1.35rem !important;
}

.remede-blog-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.remede-blog-widget li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  font-size: 0.78rem;
}

.remede-blog-widget input[type="search"],
.remede-blog-widget .search-field {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}

.remede-blog-widget .search-submit {
  margin-top: 0.75rem;
  min-height: 40px;
  padding: 0.7rem 1rem;
  background: var(--remede-green, #2d4a35);
  border: 1px solid var(--remede-green-light, #3d6347);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.remede-single-featured {
  margin-bottom: 2rem;
  max-height: 520px;
  overflow: hidden;
}

.remede-single-content .entry-content {
  padding: 0;
  background: transparent;
}

.remede-pagination {
  margin-top: 2rem;
  color: var(--remede-silver, #c8c8c8);
}

.remede-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  margin-right: 0.35rem;
  border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 991.98px) {
  .remede-page-card-grid,
  .remede-page-process-grid,
  .remede-blog-card {
    grid-template-columns: 1fr;
  }

  .remede-page-card + .remede-page-card,
  .remede-page-process-step + .remede-page-process-step {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.045);
  }

  .remede-page-faq-item {
    grid-template-columns: 1fr;
  }

  .remede-blog-sidebar {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .remede-page-hero__title {
    font-size: clamp(2.7rem, 16vw, 4.8rem) !important;
  }

  .remede-page-card,
  .remede-page-process-step,
  .remede-blog-card__body,
  .remede-blog-widget {
    padding: 1.5rem;
  }
}


/* ========================================================================== 
   Remedē homepage block polish repair
   Keeps Bootstrap from forcing layouts that differ from the mockup.
   ========================================================================== */

body,
.remede-section,
.remede-section p,
.remede-section li,
.remede-section a,
.remede-section button,
.gi-primary-nav__menu a {
  font-family: "Montserrat", sans-serif;
}

.remede-hero__heading,
.remede-section-heading,
.remede-funnel-card__title,
.remede-testimonial-card__quote,
.remede-path-card__emphasis {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.remede-hero__heading {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.remede-hero__heading em,
.remede-section-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--remede-silver, #c8c8c8);
}

.gi-primary-nav__menu .gi-menu-link--primary-button,
.gi-primary-nav__menu .gi-menu-item--primary-button > a {
  background: var(--remede-green, #2d4a35) !important;
  border: 1px solid var(--remede-green-light, #3d6347) !important;
  color: #fff !important;
}

.gi-primary-nav__menu .gi-menu-link--primary-button:hover,
.gi-primary-nav__menu .gi-menu-item--primary-button > a:hover {
  background: var(--remede-green-light, #3d6347) !important;
}

.remede-eyebrow,
.remede-hero__eyebrow,
.remede-hero__path-label {
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--remede-green-accent, #4a7a5a);
}

.remede-hero__path-label {
  color: var(--remede-light-grey, #8a8a8a);
}

/* Hero path cards: two top, one centered below like the mockup */
.remede-hero__paths {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.remede-hero__path {
  flex: 0 1 calc(50% - 8px);
  max-width: 330px;
}

.remede-hero__path:nth-child(3) {
  flex-basis: 330px;
}

.remede-path-card {
  min-height: 132px;
}

/* Funnel: remove outer card-box feel, keep only the internal divider */
.remede-funnel__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 0 !important;
  background: transparent !important;
}

.remede-funnel__grid > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

.remede-funnel-card {
  min-height: 260px;
  padding: 52px 48px !important;
  text-align: left !important;
  background: transparent !important;
  border: 0 !important;
  position: relative;
  transition: background 0.3s ease;
}

.remede-funnel__grid > [class*="col-"] + [class*="col-"] .remede-funnel-card {
  border-left: 1px solid rgba(255,255,255,0.06) !important;
}

.remede-funnel-card:hover {
  background: rgba(45,74,53,0.07) !important;
}

.remede-funnel-card__title {
  max-width: 440px;
  font-size: 26px !important;
  line-height: 1.3 !important;
  font-weight: 300 !important;
}

.remede-funnel-card__text {
  max-width: 440px;
  font-size: 11px !important;
  line-height: 1.9 !important;
  color: var(--remede-light-grey, #8a8a8a);
}

.remede-funnel-card__number {
  opacity: 0.08;
}

/* Testimonials: no double-box border, only separators between cards */
.remede-testimonials__grid {
  gap: 0 !important;
  background: transparent !important;
}

.remede-testimonial-card {
  border: 0 !important;
  background: var(--remede-off-black, #111111);
}

.remede-testimonials__grid > [class*="col-"] + [class*="col-"] .remede-testimonial-card,
.remede-testimonials__grid > * + * .remede-testimonial-card {
  border-left: 1px solid rgba(255,255,255,0.05) !important;
}

@media (max-width: 767px) {
  .remede-hero__path,
  .remede-hero__path:nth-child(3) {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .remede-funnel__grid {
    grid-template-columns: 1fr !important;
  }

  .remede-funnel__grid > [class*="col-"] + [class*="col-"] .remede-funnel-card {
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
  }

  .remede-testimonials__grid > [class*="col-"] + [class*="col-"] .remede-testimonial-card,
  .remede-testimonials__grid > * + * .remede-testimonial-card {
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
  }
}

/* ========================================================================== 
   Remedē Internal Page Variety + Editor-Seed Polish
   ========================================================================== */

.remede-page .remede-page-hero {
  min-height: 58vh;
  padding: clamp(7rem, 10vw, 10rem) 0 clamp(4rem, 7vw, 6rem);
}

.remede-page .remede-page-hero__title {
  max-width: 760px;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(3.1rem, 5vw, 5.2rem) !important;
  font-weight: 300 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.01em !important;
}

.remede-page .remede-page-hero__title em {
  font-style: normal;
  color: #fff;
}

.remede-page .remede-page-section-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2.4rem, 3.8vw, 4rem) !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
}

.remede-page .remede-page-card__title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.65rem, 2vw, 2.15rem) !important;
  font-weight: 300 !important;
  line-height: 1.18 !important;
}

.remede-page .remede-page-card {
  min-height: 360px;
}

.remede-page--optimization .remede-page-overview .row {
  flex-direction: row-reverse;
}

.remede-page--optimization .remede-page-card-grid {
  grid-template-columns: 1.15fr 0.925fr 0.925fr;
}

.remede-page--rejuvenation .remede-page-overview {
  background: linear-gradient(135deg, rgba(17,17,17,1) 0%, rgba(29,42,33,0.86) 100%);
}

.remede-page--rejuvenation .remede-page-card-grid {
  grid-template-columns: 0.95fr 1.1fr 0.95fr;
}

.remede-page--rejuvenation .remede-page-card:nth-child(2) {
  background: rgba(45,74,53,0.12);
}

.remede-page--book .remede-page-hero {
  min-height: 52vh;
}

.remede-page--book .remede-page-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: rgba(74,122,90,0.18);
}

.remede-page--book .remede-page-final-cta {
  background: var(--remede-green, #2d4a35);
}

/* ACF landing page block preview should not look tiny in editor. */
.acf-block-preview .remede-page .remede-page-hero {
  min-height: 420px;
}

@media (max-width: 991.98px) {
  .remede-page--optimization .remede-page-card-grid,
  .remede-page--rejuvenation .remede-page-card-grid,
  .remede-page--book .remede-page-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================== 
   Remedē About + CTA Color System Patch
   ========================================================================== */

:root {
  --remede-cta-bg: #2d4a35;
  --remede-cta-border: #3d6347;
  --remede-cta-hover: #3d6347;
  --remede-cta-dark: #0a0a0a;
}

.remede-page-btn,
.remede-service-card__button,
.remede-waitlist__button,
.remede-assessment .btn.btn-primary,
.remede-assessment a.btn.btn-primary,
.remede-assessment button.btn.btn-primary,
.gi-primary-nav__menu .gi-menu-link--primary-button {
  border-radius: 0 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.remede-page-btn--primary,
.remede-service-card__button:hover,
.remede-assessment .btn.btn-primary,
.remede-assessment a.btn.btn-primary,
.remede-assessment button.btn.btn-primary,
.gi-primary-nav__menu .gi-menu-link--primary-button {
  background: var(--remede-cta-bg) !important;
  border: 1px solid var(--remede-cta-border) !important;
  color: #fff !important;
}

.remede-page-btn--primary:hover,
.remede-assessment .btn.btn-primary:hover,
.remede-assessment a.btn.btn-primary:hover,
.remede-assessment button.btn.btn-primary:hover,
.gi-primary-nav__menu .gi-menu-link--primary-button:hover {
  background: var(--remede-cta-hover) !important;
  border-color: #4a7a5a !important;
  color: #fff !important;
}

.remede-page-final-cta {
  background: var(--remede-cta-bg) !important;
}

.remede-page-final-cta .remede-page-btn--dark,
.remede-waitlist__button {
  background: var(--remede-cta-dark) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  color: #fff !important;
}

.remede-page-final-cta .remede-page-btn--dark:hover,
.remede-waitlist__button:hover {
  background: #111 !important;
  color: #fff !important;
}

.remede-about-page .remede-page-hero__title {
  max-width: 920px;
}

.remede-about-story {
  padding-top: 0;
  padding-bottom: 0;
}

.remede-about-story__panel {
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.remede-about-story__media {
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1c1c1c 0%, rgba(45,74,53,0.16) 100%);
  color: rgba(255,255,255,0.16);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.remede-about-story__content {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.remede-about-story__content blockquote {
  margin: 2rem 0 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--remede-green-accent);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--remede-silver);
}

.remede-about-principles .remede-page-card {
  min-height: 340px;
}

.remede-about-standard__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-left: 1px solid rgba(255,255,255,0.06);
}

.remede-about-standard__grid span {
  min-height: 110px;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--remede-silver);
  font-size: 0.82rem;
  line-height: 1.8;
}

.remede-about-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-left: 1px solid rgba(255,255,255,0.06);
}

.remede-about-service-grid a {
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 300;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.remede-about-service-grid a:hover {
  background: rgba(45,74,53,0.11);
  color: #fff;
}

@media (max-width: 991.98px) {
  .remede-about-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .remede-about-story__media,
  .remede-about-story__content {
    min-height: auto;
  }

  .remede-about-story__media {
    min-height: 360px;
  }
}

@media (max-width: 575.98px) {
  .remede-about-standard__grid,
  .remede-about-service-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   Remedē final demo polish: internal pages + shared CTA consistency
   ========================================================================== */

/* Keep top-level/internal page heroes elegant but smaller than homepage hero */
.remede-page .remede-page-hero__title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(42px, 5vw, 72px) !important;
  font-weight: 300 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.01em !important;
  color: #ffffff !important;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.remede-page .remede-page-hero__title em,
.remede-page .remede-page-hero__title i {
  font-style: normal;
  color: inherit;
}

.remede-page .remede-page-section-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(32px, 3.8vw, 54px) !important;
  font-weight: 300 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.005em !important;
  color: #ffffff !important;
}

.remede-page .remede-page-card__title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(24px, 2.1vw, 34px) !important;
  font-weight: 300 !important;
  line-height: 1.18 !important;
  color: #ffffff !important;
}

.remede-page .remede-page-eyebrow,
.remede-page .remede-page-card__kicker,
.remede-page .remede-page-process-step span {
  font-family: "Montserrat", sans-serif !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  letter-spacing: 0.35em !important;
  text-transform: uppercase !important;
  color: #4a7a5a !important;
}

.remede-page .remede-page-body,
.remede-page .remede-page-card__body,
.remede-page .remede-page-card__list li,
.remede-page .remede-page-faq-item p,
.remede-page .remede-page-process-step p {
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.9 !important;
  color: #8a8a8a !important;
}

/* Shared CTA treatment: matches the green waitlist / nav system */
.remede-page-btn,
.remede-page .btn,
.remede-section .btn,
.remede-section a.btn,
.remede-section button.btn,
.remede-assessment .btn.btn-primary,
.remede-assessment a.btn.btn-primary,
.remede-assessment button.btn.btn-primary {
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 13px 24px !important;
}

.remede-page-btn--primary,
.remede-page .btn-primary,
.remede-section .btn-primary,
.remede-assessment .btn.btn-primary,
.remede-assessment a.btn.btn-primary,
.remede-assessment button.btn.btn-primary {
  background: #2d4a35 !important;
  border: 1px solid #3d6347 !important;
  color: #ffffff !important;
}

.remede-page-btn--primary:hover,
.remede-page .btn-primary:hover,
.remede-section .btn-primary:hover,
.remede-assessment .btn.btn-primary:hover,
.remede-assessment a.btn.btn-primary:hover,
.remede-assessment button.btn.btn-primary:hover {
  background: #3d6347 !important;
  border-color: #4a7a5a !important;
  color: #ffffff !important;
}

.remede-page-btn--outline,
.remede-page .btn-outline-light,
.remede-section .btn-outline-light {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
}

.remede-page-btn--outline:hover,
.remede-page .btn-outline-light:hover,
.remede-section .btn-outline-light:hover {
  background: rgba(45,74,53,0.18) !important;
  border-color: #4a7a5a !important;
  color: #ffffff !important;
}

.remede-page-btn--dark {
  background: #0a0a0a !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  color: #ffffff !important;
}

.remede-page-btn--dark:hover {
  background: #111111 !important;
  border-color: rgba(255,255,255,0.42) !important;
  color: #ffffff !important;
}

/* Homepage stays more dramatic than internal pages */
.home .remede-hero__heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(52px, 7vw, 96px) !important;
  font-weight: 300 !important;
  line-height: 1.05 !important;
  letter-spacing: -1px !important;
}

.home .remede-hero__heading em,
.home .remede-hero__heading i {
  font-style: italic !important;
  color: #c8c8c8 !important;
}

.home .remede-hero__paths {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 16px !important;
  max-width: 680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.home .remede-hero__path {
  flex: 0 1 calc(50% - 8px) !important;
  max-width: 330px !important;
}

.home .remede-hero__path:nth-child(3) {
  flex-basis: 330px !important;
}

/* Homepage funnel: no outer border around heading, divider only between cards */
.home .remede-funnel .row {
  border: 0 !important;
  background: transparent !important;
}

.home .remede-funnel-card {
  border: 0 !important;
  background: transparent !important;
}

.home .remede-funnel .row > [class*="col-"] + [class*="col-"] .remede-funnel-card {
  border-left: 1px solid rgba(255,255,255,0.06) !important;
}

.home .remede-funnel-card:hover {
  background: rgba(45,74,53,0.07) !important;
}

.home .remede-services__heading,
.home .remede-section h2,
.home .remede-funnel__heading,
.home .remede-testimonials__heading,
.home .remede-waitlist__heading {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(36px, 4vw, 58px) !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
}

.home .remede-service-card__title,
.home .remede-funnel-card__title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 300 !important;
  line-height: 1.25 !important;
}

.home .remede-testimonials__grid {
  gap: 0 !important;
  background: transparent !important;
}

.home .remede-testimonial-card {
  border: 0 !important;
  background: #111111 !important;
}

.home .remede-testimonials__grid > * + * .remede-testimonial-card,
.home .remede-testimonial-card + .remede-testimonial-card {
  border-left: 1px solid rgba(255,255,255,0.05) !important;
}

@media (max-width: 767px) {
  .home .remede-hero__path,
  .home .remede-hero__path:nth-child(3) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .home .remede-funnel .row > [class*="col-"] + [class*="col-"] .remede-funnel-card,
  .home .remede-testimonials__grid > * + * .remede-testimonial-card,
  .home .remede-testimonial-card + .remede-testimonial-card {
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
  }
}
/* --------------------------------------------------
   Remedē Typography Scale Cleanup
   Keeps homepage hero large, normalizes all other headings
-------------------------------------------------- */

:root {
  --remede-h1: clamp(52px, 5.6vw, 72px);
  --remede-h2: clamp(38px, 4vw, 58px);
  --remede-h3: clamp(26px, 2.4vw, 32px);
}

/* Global heading consistency */
.remede-main h1,
.remede-page h1,
.remede-service-page h1,
.remede-page-hero__heading,
.remede-service-hero__heading,
.remede-about-hero__heading {
  font-size: var(--remede-h1) !important;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Internal page hero should feel refined, not oversized */
.remede-page-hero__heading,
.remede-service-hero__heading,
.remede-about-hero__heading {
  max-width: 900px;
}

/* Section titles */
.remede-main h2,
.remede-page h2,
.remede-service-page h2,
.remede-section-title,
.remede-page-section-title,
.services-header h2,
.funnel-header h2,
.quiz-inner h2,
.about-content h2,
.testimonials-section h2,
.waitlist-section h2 {
  font-size: var(--remede-h2) !important;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* Card and subsection headings */
.remede-main h3,
.remede-page h3,
.remede-service-page h3,
.service-name,
.service-card h3,
.funnel-card h3,
.remede-card h3,
.remede-page-card h3,
.remede-service-card h3 {
  font-size: var(--remede-h3) !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Preserve homepage hero as the larger exception */
.home .remede-hero__heading,
.home .hero-headline {
  font-size: clamp(64px, 8vw, 100px) !important;
  line-height: 1.02;
}

/* Homepage hero italic line */
.home .remede-hero__heading em,
.home .hero-headline em {
  font-size: inherit;
  line-height: inherit;
}

/* Mobile refinement */
@media (max-width: 767px) {
  :root {
    --remede-h1: clamp(42px, 12vw, 56px);
    --remede-h2: clamp(34px, 10vw, 46px);
    --remede-h3: clamp(24px, 7vw, 30px);
  }

  .home .remede-hero__heading,
  .home .hero-headline {
    font-size: clamp(50px, 14vw, 72px) !important;
  }
}

/* ==========================================================================
   Remedē skin for Runemark parent blocks
   Applies to parent gi-* modules on frontend and in Gutenberg editor.
   This intentionally does not depend on a .remede-main wrapper.
   ========================================================================== */

:root,
.editor-styles-wrapper {
  --remede-section-y: clamp(5rem, 8vw, 7.5rem);
  --remede-section-y-sm: clamp(3.5rem, 6vw, 5rem);
  --remede-card-pad: clamp(2rem, 4vw, 3.25rem);
  --remede-border-subtle: rgba(255,255,255,0.06);
  --remede-border-strong: rgba(74,122,90,0.28);
}

/* Page level reset for parent block pages */
body:not(.wp-admin) .site-main,
body:not(.wp-admin) main#primary,
body:not(.wp-admin) .entry-content {
  background: var(--remede-black);
  color: var(--remede-off-white);
}

/* Parent section base */
body:not(.wp-admin) .gi-section,
.editor-styles-wrapper .gi-section {
  position: relative;
  background: var(--remede-black) !important;
  color: var(--remede-off-white) !important;
  font-family: var(--remede-font-body) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

/* Normalize Bootstrap spacing utilities used by parent blocks */
body:not(.wp-admin) .gi-section.pt-5,
body:not(.wp-admin) .gi-section.pt-6,
body:not(.wp-admin) .gi-section.pt-7,
body:not(.wp-admin) .gi-section[class*="pt-"],
.editor-styles-wrapper .gi-section.pt-5,
.editor-styles-wrapper .gi-section.pt-6,
.editor-styles-wrapper .gi-section.pt-7,
.editor-styles-wrapper .gi-section[class*="pt-"] {
  padding-top: var(--remede-section-y) !important;
}

body:not(.wp-admin) .gi-section.pb-5,
body:not(.wp-admin) .gi-section.pb-6,
body:not(.wp-admin) .gi-section.pb-7,
body:not(.wp-admin) .gi-section[class*="pb-"],
.editor-styles-wrapper .gi-section.pb-5,
.editor-styles-wrapper .gi-section.pb-6,
.editor-styles-wrapper .gi-section.pb-7,
.editor-styles-wrapper .gi-section[class*="pb-"] {
  padding-bottom: var(--remede-section-y) !important;
}

body:not(.wp-admin) .gi-section--hero,
.editor-styles-wrapper .gi-section--hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(45,74,53,0.18), transparent 45%),
    var(--remede-black) !important;
}

/* Containers */
body:not(.wp-admin) .gi-section .container,
body:not(.wp-admin) .gi-section .container-lg,
body:not(.wp-admin) .gi-section .container-xl,
body:not(.wp-admin) .gi-section .container-xxl,
.editor-styles-wrapper .gi-section .container,
.editor-styles-wrapper .gi-section .container-lg,
.editor-styles-wrapper .gi-section .container-xl,
.editor-styles-wrapper .gi-section .container-xxl {
  max-width: 1320px;
}

/* Typography */
body:not(.wp-admin) .gi-section h1,
body:not(.wp-admin) .gi-section h2,
body:not(.wp-admin) .gi-section h3,
body:not(.wp-admin) .gi-heading,
body:not(.wp-admin) .gi-hero__heading,
.editor-styles-wrapper .gi-section h1,
.editor-styles-wrapper .gi-section h2,
.editor-styles-wrapper .gi-section h3,
.editor-styles-wrapper .gi-heading,
.editor-styles-wrapper .gi-hero__heading {
  font-family: var(--remede-font-heading) !important;
  font-weight: 300 !important;
  color: #fff !important;
  letter-spacing: -0.015em !important;
}

body:not(.wp-admin) .gi-section h1,
body:not(.wp-admin) .gi-hero__heading,
.editor-styles-wrapper .gi-section h1,
.editor-styles-wrapper .gi-hero__heading {
  font-size: clamp(48px, 5vw, 72px) !important;
  line-height: 1.08 !important;
}

body:not(.wp-admin) .gi-section h2,
body:not(.wp-admin) .gi-heading--lg,
body:not(.wp-admin) .gi-heading--xl,
.editor-styles-wrapper .gi-section h2,
.editor-styles-wrapper .gi-heading--lg,
.editor-styles-wrapper .gi-heading--xl {
  font-size: clamp(38px, 4vw, 58px) !important;
  line-height: 1.15 !important;
}

body:not(.wp-admin) .gi-section h3,
body:not(.wp-admin) .gi-heading--md,
.editor-styles-wrapper .gi-section h3,
.editor-styles-wrapper .gi-heading--md {
  font-size: 32px !important;
  line-height: 1.2 !important;
}

body:not(.wp-admin) .gi-section p,
body:not(.wp-admin) .gi-body-text,
body:not(.wp-admin) .gi-content__body,
body:not(.wp-admin) .gi-content-media__body,
body:not(.wp-admin) .gi-grid-card__text,
body:not(.wp-admin) .gi-carousel-card__text,
.editor-styles-wrapper .gi-section p,
.editor-styles-wrapper .gi-body-text,
.editor-styles-wrapper .gi-content__body,
.editor-styles-wrapper .gi-content-media__body,
.editor-styles-wrapper .gi-grid-card__text,
.editor-styles-wrapper .gi-carousel-card__text {
  font-family: var(--remede-font-body) !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.9 !important;
  color: var(--remede-light-grey) !important;
}

body:not(.wp-admin) .gi-eyebrow,
.editor-styles-wrapper .gi-eyebrow {
  display: block;
  font-family: var(--remede-font-body) !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  letter-spacing: 0.42em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
  color: var(--remede-green-accent) !important;
  margin-bottom: 1.25rem !important;
}

/* Buttons and links */
body:not(.wp-admin) .gi-section .btn,
body:not(.wp-admin) .gi-section .wp-block-button__link,
body:not(.wp-admin) .gi-section .gi-link,
.editor-styles-wrapper .gi-section .btn,
.editor-styles-wrapper .gi-section .wp-block-button__link,
.editor-styles-wrapper .gi-section .gi-link {
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--remede-font-body) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

body:not(.wp-admin) .gi-section .btn-primary,
body:not(.wp-admin) .gi-section .btn-secondary,
body:not(.wp-admin) .gi-section .btn-success,
body:not(.wp-admin) .gi-section .wp-block-button__link,
.editor-styles-wrapper .gi-section .btn-primary,
.editor-styles-wrapper .gi-section .btn-secondary,
.editor-styles-wrapper .gi-section .btn-success,
.editor-styles-wrapper .gi-section .wp-block-button__link {
  background: var(--remede-green) !important;
  border: 1px solid var(--remede-green-light) !important;
  color: #fff !important;
  padding: 13px 24px !important;
}

body:not(.wp-admin) .gi-section .btn-outline-primary,
body:not(.wp-admin) .gi-section .btn-outline-secondary,
body:not(.wp-admin) .gi-section .btn-outline-light,
.editor-styles-wrapper .gi-section .btn-outline-primary,
.editor-styles-wrapper .gi-section .btn-outline-secondary,
.editor-styles-wrapper .gi-section .btn-outline-light {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: #fff !important;
  padding: 13px 24px !important;
}

body:not(.wp-admin) .gi-section .btn:hover,
body:not(.wp-admin) .gi-section .wp-block-button__link:hover,
.editor-styles-wrapper .gi-section .btn:hover,
.editor-styles-wrapper .gi-section .wp-block-button__link:hover {
  background: var(--remede-green-light) !important;
  border-color: var(--remede-green-accent) !important;
  color: #fff !important;
}

body:not(.wp-admin) .gi-link--with-arrow,
.editor-styles-wrapper .gi-link--with-arrow {
  color: var(--remede-green-accent) !important;
}

/* Cards, grids, columns, data blocks */
body:not(.wp-admin) .gi-grid-card,
body:not(.wp-admin) .gi-feature-item,
body:not(.wp-admin) .gi-carousel-card,
body:not(.wp-admin) .gi-content-panel,
body:not(.wp-admin) .gi-quote,
body:not(.wp-admin) .gi-columns .card,
.editor-styles-wrapper .gi-grid-card,
.editor-styles-wrapper .gi-feature-item,
.editor-styles-wrapper .gi-carousel-card,
.editor-styles-wrapper .gi-content-panel,
.editor-styles-wrapper .gi-quote,
.editor-styles-wrapper .gi-columns .card {
  background: var(--remede-off-black) !important;
  border: 1px solid var(--remede-border-subtle) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--remede-off-white) !important;
  overflow: hidden;
}

body:not(.wp-admin) .gi-grid-card,
body:not(.wp-admin) .gi-feature-item,
body:not(.wp-admin) .gi-columns .card,
.editor-styles-wrapper .gi-grid-card,
.editor-styles-wrapper .gi-feature-item,
.editor-styles-wrapper .gi-columns .card {
  padding: var(--remede-card-pad) !important;
}

body:not(.wp-admin) .gi-grid-card__body,
body:not(.wp-admin) .gi-feature-item__body,
body:not(.wp-admin) .gi-columns .card-body,
.editor-styles-wrapper .gi-grid-card__body,
.editor-styles-wrapper .gi-feature-item__body,
.editor-styles-wrapper .gi-columns .card-body {
  padding: 0 !important;
}

body:not(.wp-admin) .gi-grid-card:hover,
body:not(.wp-admin) .gi-feature-item:hover,
body:not(.wp-admin) .gi-columns .card:hover,
.editor-styles-wrapper .gi-grid-card:hover,
.editor-styles-wrapper .gi-feature-item:hover,
.editor-styles-wrapper .gi-columns .card:hover {
  background: rgba(45,74,53,0.11) !important;
  border-color: var(--remede-border-strong) !important;
}

/* Media */
body:not(.wp-admin) .gi-content-media__media img,
body:not(.wp-admin) .gi-grid-card__image,
body:not(.wp-admin) .gi-grid-card__image img,
body:not(.wp-admin) .gi-media-banner__background img,
.editor-styles-wrapper .gi-content-media__media img,
.editor-styles-wrapper .gi-grid-card__image,
.editor-styles-wrapper .gi-grid-card__image img,
.editor-styles-wrapper .gi-media-banner__background img {
  border-radius: 0 !important;
}

body:not(.wp-admin) .gi-content-media__placeholder,
.editor-styles-wrapper .gi-content-media__placeholder {
  background: linear-gradient(135deg, #1c1c1c 0%, rgba(45,74,53,0.18) 100%) !important;
  border: 1px solid var(--remede-border-subtle) !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,0.22) !important;
}

/* Accordions / FAQ */
body:not(.wp-admin) .gi-accordion .accordion-item,
.editor-styles-wrapper .gi-accordion .accordion-item {
  background: var(--remede-off-black) !important;
  border: 1px solid var(--remede-border-subtle) !important;
  border-radius: 0 !important;
  overflow: hidden;
}

body:not(.wp-admin) .gi-accordion .accordion-button,
.editor-styles-wrapper .gi-accordion .accordion-button {
  background: var(--remede-off-black) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: var(--remede-font-heading) !important;
  font-size: 22px !important;
  font-weight: 300 !important;
}

body:not(.wp-admin) .gi-accordion .accordion-button:not(.collapsed),
.editor-styles-wrapper .gi-accordion .accordion-button:not(.collapsed) {
  background: rgba(45,74,53,0.14) !important;
  color: #fff !important;
}

body:not(.wp-admin) .gi-accordion .accordion-body,
.editor-styles-wrapper .gi-accordion .accordion-body {
  color: var(--remede-light-grey) !important;
  font-size: 12px !important;
  line-height: 1.9 !important;
}

/* Stats / data */
body:not(.wp-admin) .gi-stats-strip__value,
body:not(.wp-admin) .gi-grid-card__value,
.editor-styles-wrapper .gi-stats-strip__value,
.editor-styles-wrapper .gi-grid-card__value {
  font-family: var(--remede-font-heading) !important;
  color: #fff !important;
  font-weight: 300 !important;
}

body:not(.wp-admin) .gi-stats-strip,
.editor-styles-wrapper .gi-stats-strip {
  background: var(--remede-off-black) !important;
  border-top: 1px solid var(--remede-border-subtle);
  border-bottom: 1px solid var(--remede-border-subtle);
}

/* Editor full width preview for parent blocks */
.editor-styles-wrapper .wp-block,
.editor-styles-wrapper .wp-block-acf-section-hero,
.editor-styles-wrapper .wp-block-acf-section-content,
.editor-styles-wrapper .wp-block-acf-section-content-media,
.editor-styles-wrapper .wp-block-acf-section-grid,
.editor-styles-wrapper .wp-block-acf-section-interactive,
.editor-styles-wrapper .acf-block-preview {
  max-width: none !important;
  width: 100% !important;
}

.editor-styles-wrapper .gi-section {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Keep editor readable without making ACF controls inherit frontend text colors */
.editor-styles-wrapper .acf-block-preview .gi-section {
  min-height: 260px;
}
/* --------------------------------------------------
   Remedē parent grid card polish
-------------------------------------------------- */

/* Convert parent grid card marker/icon circles from white to Remedē green */
.gi-grid-card [class*="icon"],
.gi-grid-card [class*="badge"],
.gi-grid-card [class*="marker"],
.gi-grid-card [class*="circle"],
.gi-card [class*="icon"],
.gi-card [class*="badge"],
.gi-card [class*="marker"],
.gi-card [class*="circle"] {
  background: var(--remede-green, #2d4a35) !important;
  border-color: var(--remede-green-light, #3d6347) !important;
  color: #ffffff !important;
}

/* If the circle is an empty pseudo/utility element, keep it subtle */
.gi-grid-card [class*="icon"]:empty,
.gi-grid-card [class*="badge"]:empty,
.gi-grid-card [class*="marker"]:empty,
.gi-grid-card [class*="circle"]:empty,
.gi-card [class*="icon"]:empty,
.gi-card [class*="badge"]:empty,
.gi-card [class*="marker"]:empty,
.gi-card [class*="circle"]:empty {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--remede-green, #2d4a35) !important;
  border: 1px solid var(--remede-green-light, #3d6347) !important;
}

/* Tighten grid card image treatment */
.gi-grid-card img,
.gi-card img {
  background: var(--remede-off-black, #111111);
}

/* Make grid cards feel closer to Remedē service cards */
.gi-grid-card,
.gi-card {
  background: var(--remede-off-black, #111111) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 0 !important;
  color: var(--remede-off-white, #f4f4f2) !important;
}

/* Remove default light card shadows/radius */
.gi-grid-card *,
.gi-card * {
  box-shadow: none !important;
}
/* --------------------------------------------------
   Remedē font variable correction + heading protection
-------------------------------------------------- */

:root,
body,
.editor-styles-wrapper {
  --remede-font-body: var(--rm-font-body, var(--gi-font-body, "Montserrat", sans-serif));
  --remede-font-heading: var(--rm-font-heading, var(--gi-font-heading, "Cormorant Garamond", Georgia, serif));
  --remede-font-nav: var(--rm-font-nav, var(--gi-font-nav, var(--remede-font-body)));
  --remede-font-logo: var(--rm-font-logo, var(--gi-font-logo, var(--remede-font-heading)));
}

/* Body/default text */
body,
.remede-section,
.gi-section,
.editor-styles-wrapper {
  font-family: var(--remede-font-body) !important;
}

/* Protect all heading/display typography from broad parent/module rules */
h1,
h2,
h3,
h4,
.remede-hero__heading,
.remede-section-heading,
.remede-page-hero__title,
.remede-page-section-title,
.remede-service-card__title,
.remede-funnel-card__title,
.remede-path-card__emphasis,
.remede-assessment__question,
.remede-testimonial-card__quote,
.gi-section h1,
.gi-section h2,
.gi-section h3,
.gi-heading,
.gi-card-title,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper .gi-heading {
  font-family: var(--remede-font-heading) !important;
  font-weight: 300 !important;
  font-synthesis: none;
}

/* Homepage hero exception */
.home .remede-hero__heading {
  font-size: clamp(64px, 8vw, 100px) !important;
  line-height: 1.02 !important;
}

/* Standard section heading scale */
.remede-section-heading,
.gi-section h2,
.gi-heading {
  font-size: clamp(38px, 4vw, 58px) !important;
  line-height: 1.15 !important;
}

/* Card/subheading scale */
.remede-service-card__title,
.remede-funnel-card__title,
.gi-section h3 {
  font-size: 32px !important;
  line-height: 1.2 !important;
}

/* --------------------------------------------------
   Remedē parent grid image treatment
-------------------------------------------------- */

.gi-grid-card__figure {
  margin: 0 0 2rem !important;
  background: transparent !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 3;
}

.gi-grid-card__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
}

/* Optional: give image area a dark Remedē fallback only if image is transparent/missing */
.gi-grid-card__figure:empty {
  background: linear-gradient(135deg, #111111, rgba(45,74,53,0.18)) !important;
}

/* Keep cards clean */
.gi-grid-card {
  background: var(--remede-off-black, #111111) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 0 !important;
  overflow: hidden;
}

/* --------------------------------------------------
   Remedē text role correction
   Headings use heading font, everything else uses body/nav font.
-------------------------------------------------- */

:root,
body,
.editor-styles-wrapper {
  --remede-font-body: var(--rm-font-body, var(--gi-font-body, "Montserrat", sans-serif));
  --remede-font-heading: var(--rm-font-heading, var(--gi-font-heading, "Cormorant Garamond", Georgia, serif));
  --remede-font-nav: var(--rm-font-nav, var(--gi-font-nav, var(--remede-font-body)));
  --remede-font-logo: var(--rm-font-logo, var(--gi-font-logo, var(--remede-font-heading)));
}

/* Body copy */
body,
p,
li,
input,
textarea,
select,
button,
.remede-section p,
.remede-section li,
.remede-page p,
.remede-page li,
.gi-section p,
.gi-section li,
.gi-grid-card p,
.gi-grid-card li,
.gi-accordion p,
.editor-styles-wrapper p,
.editor-styles-wrapper li {
  font-family: var(--remede-font-body) !important;
  font-weight: 300 !important;
}

/* Eyebrows, kickers, labels */
.remede-eyebrow,
.remede-hero__eyebrow,
.remede-hero__subheading,
.remede-hero__path-label,
.remede-page-eyebrow,
.remede-page-card__kicker,
.remede-service-card__tag,
.remede-assessment__count,
.remede-testimonial-card__name,
.gi-eyebrow,
.gi-section-eyebrow,
.gi-card-eyebrow,
.gi-grid-card__eyebrow,
.gi-grid-card__label,
.gi-grid-card__short-label,
.gi-grid-card__kicker,
.editor-styles-wrapper .gi-eyebrow,
.editor-styles-wrapper .gi-section-eyebrow {
  font-family: var(--remede-font-body) !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  letter-spacing: 0.35em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
  color: var(--remede-green-accent, #4a7a5a) !important;
}

/* Buttons and nav */
.gi-primary-nav__menu a,
.remede-page-btn,
.remede-service-card__button,
.remede-waitlist__button,
.gi-section .btn,
.gi-button,
.wp-block-button__link {
  font-family: var(--remede-font-body) !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

/* Headings only */
h1,
h2,
h3,
h4,
.remede-hero__heading,
.remede-section-heading,
.remede-page-hero__title,
.remede-page-section-title,
.remede-service-card__title,
.remede-funnel-card__title,
.remede-path-card__emphasis,
.remede-assessment__question,
.remede-testimonial-card__quote,
.gi-heading,
.gi-section-heading,
.gi-grid-card__title,
.gi-card-title,
.gi-section h1,
.gi-section h2,
.gi-section h3,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3 {
  font-family: var(--remede-font-heading) !important;
  font-weight: 300 !important;
  font-synthesis: none;
  color: #ffffff;
}

/* Body color/scale restore */
.remede-section p,
.remede-page p,
.gi-section p,
.gi-grid-card p,
.gi-accordion p {
  font-size: 12px !important;
  line-height: 1.9 !important;
  letter-spacing: 0.03em !important;
  color: var(--remede-light-grey, #8a8a8a) !important;
}

/* Homepage h2 / parent module h2 */
.remede-section-heading,
.gi-section-heading,
.gi-section h2 {
  font-size: clamp(38px, 4vw, 58px) !important;
  line-height: 1.15 !important;
}

/* Parent grid cards */
.gi-grid-card__title,
.gi-card-title,
.gi-section h3 {
  font-size: 32px !important;
  line-height: 1.2 !important;
}

/* --------------------------------------------------
   Remedē text role correction
   Keep headings serif, restore Montserrat for labels/body/buttons.
-------------------------------------------------- */

body,
.remede-section,
.remede-page,
.remede-section p,
.remede-section li,
.remede-page p,
.remede-page li,
.remede-path-card__text,
.remede-funnel-card__text,
.remede-service-card__description,
.remede-service-card__list li,
.remede-about__body,
.remede-page-body,
.remede-page-card__body,
.remede-testimonial-card__name,
.gi-section p,
.gi-section li,
.gi-grid-card p,
.gi-grid-card li {
  font-family: var(--remede-font-body) !important;
}

.remede-eyebrow,
.remede-hero__eyebrow,
.remede-hero__subheading,
.remede-hero__path-label,
.remede-page-eyebrow,
.remede-section-label,
.remede-service-card__tag,
.remede-page-card__kicker,
.remede-assessment__count,
.gi-eyebrow,
.gi-section-eyebrow,
.gi-grid-card__eyebrow,
.gi-grid-card__label,
.gi-grid-card__short-label {
  font-family: var(--remede-font-body) !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  letter-spacing: 0.35em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
  color: var(--remede-green-accent, #4a7a5a) !important;
}

.remede-page-btn,
.remede-service-card__button,
.remede-waitlist__button,
.gi-section .btn,
.gi-button,
button,
input,
textarea,
select {
  font-family: var(--remede-font-body) !important;
}

h1,
h2,
h3,
h4,
.remede-hero__heading,
.remede-section-heading,
.remede-page-hero__title,
.remede-page-section-title,
.remede-path-card__emphasis,
.remede-funnel-card__title,
.remede-service-card__title,
.remede-assessment__question,
.remede-testimonial-card__quote,
.gi-heading,
.gi-section-heading,
.gi-grid-card__title {
  font-family: var(--remede-font-heading) !important;
}
/* Editor parity: Remedē starter sections use light text, so keep their editor canvas dark. */
.editor-styles-wrapper .remede-section--bg-dark,
.editor-styles-wrapper .remede-section--bg-off_black,
.editor-styles-wrapper .remede-section--bg-primary,
.editor-styles-wrapper .remede-page-hero,
.editor-styles-wrapper .remede-page-overview,
.editor-styles-wrapper .remede-page-cards,
.editor-styles-wrapper .remede-page-process,
.editor-styles-wrapper .remede-page-quote,
.editor-styles-wrapper .remede-page-faq,
.editor-styles-wrapper .remede-page-final-cta,
.editor-styles-wrapper .remede-about,
.editor-styles-wrapper .remede-services,
.editor-styles-wrapper .remede-testimonials,
.editor-styles-wrapper .remede-waitlist,
.editor-styles-wrapper .remede-funnel,
.editor-styles-wrapper .remede-assessment {
	background: #0a0a0a;
	color: #fff;
}
.editor-styles-wrapper .remede-section--bg-off_black,
.editor-styles-wrapper .remede-page-overview,
.editor-styles-wrapper .remede-page-process,
.editor-styles-wrapper .remede-page-faq {
	background: #111;
}
.editor-styles-wrapper .remede-page-card,
.editor-styles-wrapper .remede-page-faq-item,
.editor-styles-wrapper .remede-testimonial-card,
.editor-styles-wrapper .remede-service-card,
.editor-styles-wrapper .remede-funnel-card {
	background: rgba(255,255,255,.045);
}
.editor-styles-wrapper .remede-page-hero__title,
.editor-styles-wrapper .remede-page-section-title,
.editor-styles-wrapper .remede-section-heading,
.editor-styles-wrapper .remede-page-card__title,
.editor-styles-wrapper .remede-page-faq-item h3,
.editor-styles-wrapper .remede-page-body,
.editor-styles-wrapper .remede-page-hero__intro,
.editor-styles-wrapper .remede-page-card__body,
.editor-styles-wrapper .remede-page-card__list,
.editor-styles-wrapper .remede-page-quote blockquote {
	color: #fff;
}

/* Remedē editor readability for dark starter-layout blocks */
.editor-styles-wrapper .acf-block-preview .remede-section,
.editor-styles-wrapper .acf-block-preview .remede-page-hero,
.editor-styles-wrapper .acf-block-preview .remede-page-overview,
.editor-styles-wrapper .acf-block-preview .remede-page-cards,
.editor-styles-wrapper .acf-block-preview .remede-page-process,
.editor-styles-wrapper .acf-block-preview .remede-page-quote,
.editor-styles-wrapper .acf-block-preview .remede-page-faq,
.editor-styles-wrapper .acf-block-preview .remede-page-final-cta {
	background-color: #0a0a0a;
	color: #fff;
}
.editor-styles-wrapper .acf-block-preview .remede-section h1,
.editor-styles-wrapper .acf-block-preview .remede-section h2,
.editor-styles-wrapper .acf-block-preview .remede-section h3,
.editor-styles-wrapper .acf-block-preview .remede-page-hero__title,
.editor-styles-wrapper .acf-block-preview .remede-page-section-title {
	color: #fff;
}

/* Blog / Journal archive support */
.remede-blog-page,
.remede-single-page {
	background: #090a09;
	color: rgba(255,255,255,.72);
}

.remede-blog-list {
	display: grid;
	gap: 1.5rem;
}

.remede-blog-card,
.remede-blog-sidebar {
	background: rgba(255,255,255,.035);
	border: 1px solid rgba(255,255,255,.09);
}

.remede-blog-card {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
}

.remede-blog-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.remede-blog-card__content,
.remede-blog-sidebar {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.remede-blog-card__meta,
.remede-blog-sidebar__title {
	font-size: .7rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gi-color-primary, #3f6f50);
}

.remede-blog-card__title {
	margin: .35rem 0 .75rem;
}

.remede-blog-card__title a,
.remede-blog-card__link,
.remede-blog-sidebar a {
	color: #fff;
	text-decoration: none;
}

.remede-blog-card__excerpt,
.remede-blog-sidebar__list {
	color: rgba(255,255,255,.62);
}

.remede-blog-card__link {
	display: inline-block;
	margin-top: .75rem;
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.remede-blog-sidebar__list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.remede-blog-sidebar__list li {
	border-bottom: 1px solid rgba(255,255,255,.08);
	padding: .7rem 0;
}

.remede-pagination {
	margin-top: 2rem;
}

.remede-pagination a,
.remede-pagination span {
	color: #fff;
	margin-right: .6rem;
}

@media (max-width: 767.98px) {
	.remede-blog-card {
		grid-template-columns: 1fr;
	}
}


/* ========================================================================== 
   V9 stabilization: preserve Remedē typography, blog media area, and core block styling
   ========================================================================== */

/* Internal page heroes should stay elegant/thin like the V5 baseline. */
body .remede-page .remede-page-hero h1,
body .remede-page .remede-page-hero__title,
body .remede-page-hero h1.remede-page-hero__title,
body .remede-page-section .remede-page-hero__title {
  font-family: var(--remede-font-heading, "Cormorant Garamond", Georgia, serif) !important;
  font-size: clamp(42px, 5vw, 72px) !important;
  font-weight: 300 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: #fff !important;
}

body .remede-page .remede-page-hero__title em,
body .remede-page .remede-page-hero__title i {
  font-style: normal !important;
  font-weight: 300 !important;
  color: inherit !important;
}

/* Keep standard content headings refined without forcing navigation-like tracking. */
body .remede-page .remede-page-section h1,
body .remede-page .remede-page-section h2,
body .remede-page .remede-page-section h3,
body .remede-blog-page h1,
body .remede-blog-page h2,
body .remede-blog-page h3,
body .remede-single-page h1,
body .remede-single-page h2,
body .remede-single-page h3 {
  font-family: var(--remede-font-heading, "Cormorant Garamond", Georgia, serif) !important;
  font-weight: 300 !important;
  letter-spacing: -0.005em !important;
  text-transform: none !important;
}

/* Blog archive: professional card treatment with a persistent media/featured-image area. */
body .remede-blog-layout {
  padding-top: clamp(5rem, 9vw, 8rem);
}

body .remede-blog-list {
  display: grid;
  gap: 2rem;
}

body .remede-blog-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.15fr);
  min-height: 320px;
  overflow: hidden;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.075);
}

body .remede-blog-card__image {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(45,74,53,0.22), transparent 46%),
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(45,74,53,0.08));
  border-right: 1px solid rgba(255,255,255,0.075);
  color: rgba(255,255,255,0.34);
  text-decoration: none;
}

body .remede-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body .remede-blog-card__image-placeholder {
  font-family: var(--remede-font-nav, "Montserrat", sans-serif);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255,255,255,0.34);
}

body .remede-blog-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.75rem);
}

body .remede-blog-card__meta,
body .remede-blog-sidebar__title {
  margin-bottom: 1.25rem;
  font-family: var(--remede-font-nav, "Montserrat", sans-serif) !important;
  font-size: 0.62rem;
  font-weight: 400 !important;
  letter-spacing: 0.28em !important;
  line-height: 1.6;
  text-transform: uppercase !important;
  color: var(--remede-green-accent, #4a7a5a) !important;
}

body .remede-blog-card__title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.1rem, 3vw, 3.2rem) !important;
  line-height: 1.05 !important;
}

body .remede-blog-card__title a,
body .remede-blog-card__link,
body .remede-blog-sidebar a {
  color: #fff !important;
  text-decoration: none !important;
}

body .remede-blog-card__excerpt {
  max-width: 34rem;
  color: rgba(255,255,255,0.58);
}

body .remede-blog-card__link {
  margin-top: 1.25rem;
  font-family: var(--remede-font-nav, "Montserrat", sans-serif) !important;
  font-size: 0.66rem;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--remede-green-accent, #4a7a5a) !important;
}

body .remede-blog-sidebar {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.075);
  padding: clamp(2rem, 3vw, 3rem);
}

body .remede-blog-sidebar__list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  color: rgba(255,255,255,0.58);
}

body .remede-blog-sidebar__list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.075);
}

/* Core WordPress blocks dropped into Remedē content should inherit the dark site style. */
body .entry-content > :where(.wp-block-group, .wp-block-columns, .wp-block-cover, .wp-block-media-text, .wp-block-query, .wp-block-post-template),
body .remede-page :where(.wp-block-group, .wp-block-columns, .wp-block-cover, .wp-block-media-text, .wp-block-query, .wp-block-post-template) {
  color: var(--remede-off-white, #f4f4f2);
}

body .remede-page :where(.wp-block-button__link) {
  border-radius: 0;
  background: var(--remede-green, #2d4a35);
  border: 1px solid var(--remede-green-light, #3d6347);
  font-family: var(--remede-font-nav, "Montserrat", sans-serif);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 767.98px) {
  body .remede-page .remede-page-hero__title,
  body .remede-page-hero h1.remede-page-hero__title {
    font-size: clamp(2.8rem, 14vw, 4.25rem) !important;
  }

  body .remede-blog-card {
    grid-template-columns: 1fr;
  }

  body .remede-blog-card__image {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.075);
  }
}

/* V11 quick stabilization: shared backgrounds/media/overlays */
.remede-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.remede-section > .container,
.remede-section > .container-fluid,
.remede-section > .row,
.remede-section > *:not(.remede-section__overlay):not(.remede-section__video) {
  position: relative;
  z-index: 2;
}
.remede-section__overlay,
.remede-section__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.remede-section__overlay { z-index: 0; }
.remede-section__video {
  object-fit: cover;
  z-index: -1;
}
.remede-section--bg-color,
.remede-section--bg-image,
.remede-section--bg-video { background-color: var(--remede-color-dark, #070807); }
.remede-section--bg-dark { background-color: #070807; }
.remede-section--bg-off-black,
.remede-section--bg-off_black { background-color: #111211; }
.remede-section--bg-primary { background-color: var(--remede-color-green, #2f573d); }
.remede-section--text-light,
.remede-section--text-auto { color: var(--remede-color-body, rgba(255,255,255,.72)); }
.remede-section--text-dark { color: #161616; }
.remede-section--inner-pad-none > .container-fluid { padding: 0 !important; }
.remede-section--inner-pad-small > .container-fluid { padding: clamp(1rem, 2vw, 2rem) !important; }
.remede-section--inner-pad-medium > .container-fluid { padding: clamp(2rem, 4vw, 4rem) !important; }
.remede-section--inner-pad-large > .container-fluid { padding: clamp(3rem, 6vw, 7rem) !important; }
.remede-section--inner-pad-small > .container,
.remede-section--inner-pad-medium > .container,
.remede-section--inner-pad-large > .container { padding-left: max(var(--bs-gutter-x, .75rem), 2rem); padding-right: max(var(--bs-gutter-x, .75rem), 2rem); }
.remede-section--panel-transparent .remede-about__content,
.remede-section--panel-transparent .remede-service-card,
.remede-section--panel-transparent .remede-testimonial-card,
.remede-section--panel-transparent .remede-page-card,
.remede-section--panel-transparent .remede-funnel-card,
.remede-section--panel-transparent .remede-assessment__panel,
.remede-section--panel-transparent .remede-page-faq-item,
.remede-section--panel-transparent .remede-blog-card,
.remede-section--panel-transparent .remede-blog-sidebar {
  background: transparent !important;
}
.remede-section--panel-solid .remede-about__content,
.remede-section--panel-solid .remede-service-card,
.remede-section--panel-solid .remede-testimonial-card,
.remede-section--panel-solid .remede-page-card,
.remede-section--panel-solid .remede-funnel-card,
.remede-section--panel-solid .remede-assessment__panel,
.remede-section--panel-solid .remede-blog-card,
.remede-section--panel-solid .remede-blog-sidebar {
  background: rgba(18, 19, 18, .92) !important;
}
.remede-section--inner-pad-small.remede-about .remede-about__image,
.remede-section--inner-pad-medium.remede-about .remede-about__image,
.remede-section--inner-pad-large.remede-about .remede-about__image { min-height: 520px; }
.remede-page-card__button { margin-top: 2rem; }

/* ACF sidebar usability for shared section controls */
.acf-field[data-name="remede_background_image"] img { max-width: 100%; height: auto; }
.acf-field[data-name="remede_background_type"],
.acf-field[data-name="remede_background_color"],
.acf-field[data-name="remede_background_image"],
.acf-field[data-name="remede_background_video"],
.acf-field[data-name="remede_background_position"],
.acf-field[data-name="remede_background_size"],
.acf-field[data-name="remede_background_repeat"],
.acf-field[data-name="remede_overlay_color"],
.acf-field[data-name="remede_overlay_opacity"],
.acf-field[data-name="remede_panel_style"],
.acf-field[data-name="remede_inner_padding"] { clear: both; width: 100% !important; }

/* Blog typography alignment */
.remede-blog-hero__title,
.remede-blog-card__title,
.remede-blog-card__title a,
.remede-blog-sidebar__title,
.single-post .entry-title,
.archive .page-title,
.search .page-title,
.blog .remede-blog-hero__title {
  font-family: var(--remede-font-heading, var(--gi-font-heading, "Cormorant Garamond", serif)) !important;
  font-weight: 300 !important;
  letter-spacing: -.025em;
}
.remede-blog-card__title { font-size: clamp(2.1rem, 3vw, 3.75rem); line-height: .95; }
.remede-blog-card__image-placeholder { font-family: var(--remede-font-nav, var(--gi-font-nav, sans-serif)); letter-spacing: .4em; text-transform: uppercase; color: var(--remede-color-green, #4a7a5a); }

/* Coming soon page */
.remede-coming-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 6rem);
  background: #070807;
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.remede-coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(60,100,72,.28), transparent 34%), radial-gradient(circle at 15% 80%, rgba(60,100,72,.18), transparent 28%);
  z-index: -2;
}
.remede-coming-soon__bg { position:absolute; inset:0; background-size:cover; background-position:center; opacity:.28; z-index:-3; }
.remede-coming-soon__overlay { position:absolute; inset:0; background:rgba(0,0,0,.62); z-index:-1; }
.remede-coming-soon__logo { font-family: var(--remede-font-logo, var(--gi-font-logo, serif)); letter-spacing:.24em; text-transform:uppercase; font-size:clamp(1.8rem,3vw,3rem); margin-bottom:clamp(3rem,7vw,7rem); }
.remede-coming-soon__eyebrow { color: var(--remede-color-green, #4a7a5a); font-family: var(--remede-font-nav, var(--gi-font-nav, sans-serif)); text-transform:uppercase; letter-spacing:.42em; font-size:.72rem; margin-bottom:1.25rem; }
.remede-coming-soon__title { font-family: var(--remede-font-heading, var(--gi-font-heading, serif)); font-weight:300; font-size:clamp(3rem,7vw,7rem); line-height:.95; max-width:980px; margin:0 auto 1.5rem; }
.remede-coming-soon__body { max-width:680px; margin:0 auto; color:rgba(255,255,255,.68); line-height:1.9; }
.remede-coming-soon__button { display:inline-flex; margin-top:2.75rem; padding:1rem 1.75rem; border:1px solid rgba(255,255,255,.25); background:var(--remede-color-green, #2f573d); color:#fff; text-transform:uppercase; letter-spacing:.2em; font-size:.72rem; text-decoration:none; }
.remede-coming-soon__button:hover { color:#fff; border-color:rgba(255,255,255,.5); }
.remede-section__video { z-index: 0; }
.remede-section__overlay { z-index: 1; }

/* V12 emergency stabilization: make Remedē typography variables self-contained.
   Some parent typography variables may resolve empty in the live/customizer context,
   which makes var(--remede-font-heading) invalid in Chrome. */
:root,
body,
.editor-styles-wrapper {
  --remede-font-body: "Montserrat", Arial, sans-serif;
  --remede-font-heading: "Cormorant Garamond", Georgia, serif;
  --remede-font-nav: "Montserrat", Arial, sans-serif;
  --remede-font-logo: "Cormorant Garamond", Georgia, serif;
}

.remede-blog-page h1,
.remede-blog-page h2,
.remede-blog-page h3,
.remede-blog-page .remede-page-hero__title,
.remede-blog-card__title,
.remede-blog-card__title a,
.remede-single-page h1,
.remede-single-page h2,
.remede-single-page h3,
.remede-single-page .entry-title,
body.blog .remede-page-hero__title,
body.blog .remede-blog-card__title,
body.blog .remede-blog-card__title a {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 300 !important;
  letter-spacing: -0.025em !important;
}

.remede-blog-page .remede-page-hero__title,
body.blog .remede-page-hero__title {
  font-size: clamp(4.25rem, 9vw, 8.5rem) !important;
  line-height: 0.94 !important;
}

.remede-blog-card__title,
.remede-blog-card__title a,
body.blog .remede-blog-card__title,
body.blog .remede-blog-card__title a {
  font-size: clamp(2.3rem, 3.2vw, 4rem) !important;
  line-height: 0.98 !important;
}

@media (max-width: 767.98px) {
  .remede-blog-page .remede-page-hero__title,
  body.blog .remede-page-hero__title {
    font-size: clamp(4.25rem, 14vw, 6.5rem) !important;
  }
}

/* Configurable assessment results */
.remede-assessment__disclaimer {
	max-width: 46rem;
	font-size: 0.82rem;
	line-height: 1.6;
	opacity: 0.72;
}

.remede-assessment__recommendations {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
	text-align: left;
}

.remede-assessment__recommendation {
	padding: 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0.25rem;
	background: rgba(255, 255, 255, 0.04);
}

.remede-assessment__recommendation-title {
	margin: 0 0 0.5rem;
	font-family: var(--rm-font-heading);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.remede-assessment__recommendation p {
	margin: 0;
}

.remede-assessment__recommendation-link {
	display: inline-block;
	margin-top: 0.75rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.remede-assessment__dot.is-current {
	transform: scale(1.2);
}

.remede-assessment__empty {
	padding: 1.5rem;
	border: 1px dashed #aaa;
	background: #fff;
	color: #222;
}

/* Assessment conversation builder: editor-only classes are harmless on front end. */
.remede-assessment__recommendation-link {
  color: var(--rm-color-accent, var(--gi-color-accent, #6f9a7d));
  text-decoration: none;
}
.remede-assessment__recommendation-link:hover,
.remede-assessment__recommendation-link:focus {
  color: var(--rm-color-heading, var(--gi-color-heading, #fff));
}
.remede-assessment__recommendation.is-secondary {
  margin-top: 1rem;
  opacity: .9;
}
.remede-assessment__recommendation-eyebrow {
  margin: 0 0 .35rem;
  font-family: var(--rm-font-body, var(--gi-font-body, sans-serif));
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rm-color-accent, var(--gi-color-accent, #6f9a7d));
}

/* Assessment editor: compact conversation builder */
.remede-quiz-builder-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0 16px;
  padding: 9px 12px;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  background: #f6f7f7;
}
.remede-quiz-depth-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: #50575e;
  font-size: 12px;
}
.remede-quiz-depth-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.remede-quiz-depth-key i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
}
.remede-quiz-depth-key--0 i { background: #e7eaed; }
.remede-quiz-depth-key--1 i { background: #dfece4; }
.remede-quiz-depth-key--2 i { background: #c7ddcf; }

/* Top-level quiz screen rows. ACF's collapsed row remains the primary UI; these
   accents simply make hierarchy visible at a glance. */
.acf-field[data-key="field_remede_assessment_steps"] > .acf-input > .acf-repeater > table > tbody > .acf-row.remede-quiz-screen-row {
  --remede-quiz-row-accent: #8c8f94;
  --remede-quiz-row-tint: #f6f7f7;
}
.acf-field[data-key="field_remede_assessment_steps"] > .acf-input > .acf-repeater > table > tbody > .acf-row.remede-quiz-depth-0 {
  --remede-quiz-row-accent: #687078;
  --remede-quiz-row-tint: #f0f1f2;
}
.acf-field[data-key="field_remede_assessment_steps"] > .acf-input > .acf-repeater > table > tbody > .acf-row.remede-quiz-depth-1 {
  --remede-quiz-row-accent: #5d8469;
  --remede-quiz-row-tint: #edf5f0;
}
.acf-field[data-key="field_remede_assessment_steps"] > .acf-input > .acf-repeater > table > tbody > .acf-row.remede-quiz-depth-2 {
  --remede-quiz-row-accent: #2f6744;
  --remede-quiz-row-tint: #e3efe7;
}
.acf-field[data-key="field_remede_assessment_steps"] > .acf-input > .acf-repeater > table > tbody > .acf-row.remede-quiz-screen-row > .acf-row-handle {
  border-top: 1px solid #dcdcde;
}
.acf-field[data-key="field_remede_assessment_steps"] > .acf-input > .acf-repeater > table > tbody > .acf-row.remede-quiz-screen-row > .acf-row-handle.order {
  border-left: 4px solid var(--remede-quiz-row-accent);
  background: var(--remede-quiz-row-tint);
  color: #1d2327;
  font-weight: 600;
}
.acf-field[data-key="field_remede_assessment_steps"] > .acf-input > .acf-repeater > table > tbody > .acf-row.remede-quiz-screen-row.-collapsed > .acf-fields {
  border-left: 4px solid var(--remede-quiz-row-accent);
}
.acf-field[data-key="field_remede_assessment_steps"] > .acf-input > .acf-repeater > table > tbody > .acf-row.remede-quiz-screen-row.-collapsed:hover > .acf-row-handle.order {
  filter: brightness(.985);
}

/* Nested answers are intentionally lighter than their parent screen. */
.acf-field[data-key="field_remede_assessment_answers"] > .acf-input > .acf-repeater > table > tbody > .acf-row > .acf-row-handle.order {
  background: #fafafa;
  color: #646970;
}

.acf-field.remede-assessment-advanced,
.acf-field.remede-assessment-legacy { display:none; }
.remede-quiz-show-advanced .acf-field.remede-assessment-advanced,
.remede-quiz-show-advanced .acf-field.remede-assessment-legacy { display:block; }

/* Blog featured-image hero option ----------------------------------------- */
.remede-page-hero--featured-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.remede-page-hero--featured-image .remede-page-eyebrow,
.remede-page-hero--featured-image .remede-page-hero__title {
  text-shadow: 0 2px 24px rgba(0, 0, 0, .42);
}

/* ========================================================================== 
   V12 design-system typography adoption
   --------------------------------------------------------------------------
   Intentionally typography/color only. No Remedē section spacing, hero
   heights, card padding, grid dimensions or other layout geometry changes.
   ========================================================================== */
:root,
.editor-styles-wrapper {
  /* Slightly brighter brand greens for improved legibility on dark surfaces. */
  --remede-green: #31523b;
  --remede-green-light: #477256;
  --remede-green-accent: #5f926d;
  --remede-color-green: var(--remede-green-accent);

  /* Remedē now consumes the parent typography scale instead of maintaining
     a separate hard-coded scale. Existing values remain the fallbacks. */
  --remede-h1: var(--rm-font-size-h1, clamp(52px, 5.6vw, 72px));
  --remede-h2: var(--rm-font-size-h2, clamp(38px, 4vw, 58px));
  --remede-h3: var(--rm-font-size-h3, clamp(26px, 2.4vw, 32px));
}

/* Supporting copy: a small legibility increase without changing layout rules. */
.remede-page .remede-page-body,
.remede-page .remede-page-card__body,
.remede-page .remede-page-card__list li,
.remede-page .remede-page-faq-item p,
.remede-page .remede-page-process-step p,
.remede-path-card__text,
.remede-blog-card__excerpt,
.remede-blog-sidebar__list,
.remede-single-content .entry-content {
  font-size: var(--rm-font-size-body-sm, 0.8125rem) !important;
  line-height: var(--rm-line-height-body, 1.8) !important;
}

/* Utility Large: labels that need to remain elegant but readable. */
.remede-hero__eyebrow,
.remede-hero__path-label,
.remede-page .remede-page-eyebrow,
.remede-page .remede-page-card__kicker,
.remede-page .remede-page-process-step span,
body .remede-blog-card__meta,
body .remede-blog-sidebar__title,
.remede-blog-card__image-placeholder,
.remede-coming-soon__eyebrow {
  font-family: var(--remede-font-nav, var(--rm-font-nav, "Montserrat", sans-serif)) !important;
  font-size: var(--rm-font-size-utility-lg, 0.6875rem) !important;
  font-weight: 500 !important;
  letter-spacing: var(--rm-letter-spacing-utility, 0.24em) !important;
  line-height: 1.55 !important;
  text-transform: uppercase !important;
  color: var(--remede-green-accent) !important;
}

/* Utility Small remains available for truly secondary metadata/captions. */
.remede-footer__copyright,
.remede-meta-small,
.remede-caption {
  font-size: var(--rm-font-size-utility-sm, 0.625rem) !important;
}

/* CTA typography is centralized; existing padding and button geometry remain. */
.remede-page-btn,
.remede-service-card__button,
.remede-waitlist__button,
.remede-section .btn,
.remede-section a.btn,
.remede-section button.btn,
.remede-assessment .btn,
.gi-primary-nav__menu .gi-menu-link--primary-button,
.gi-primary-nav__menu .gi-menu-item--primary-button > a {
  font-size: var(--rm-font-size-button, 0.625rem) !important;
  letter-spacing: var(--rm-letter-spacing-button, 0.22em) !important;
}

/* Brighter accent treatment for links and utility text on Remedē dark surfaces. */
.remede-funnel-card__link,
.remede-blog-card__link,
.remede-service-card__link,
.remede-assessment__recommendation a,
.remede-assessment__result a:not(.btn),
.remede-pagination a {
  color: var(--remede-green-accent) !important;
}

/* Blog readability polish requested during the typography pass. */
body .remede-blog-sidebar__title {
  margin-bottom: 1.15rem;
}

body .remede-blog-sidebar__list li {
  font-size: var(--rm-font-size-body-sm, 0.8125rem);
  line-height: 1.65;
}

body .remede-blog-card__link {
  font-size: var(--rm-font-size-utility-lg, 0.6875rem) !important;
  font-weight: 500 !important;
  letter-spacing: var(--rm-letter-spacing-utility, 0.24em) !important;
}

body .remede-blog-card__link::after {
  content: "\2192";
  margin-left: .55em;
}

/* V13 template-owned blog hero controls -----------------------------------
   Background/overlay behavior comes from the parent Template Hero system.
   Remedē only supplies the branded presentation. No hero height or section
   spacing changes are introduced here. */
.remede-page-hero.theme-template-hero--has-image,
.remede-page-hero.theme-template-hero--has-video {
	background-color: #070807;
}
.remede-page-hero.theme-template-hero--has-image .remede-page-eyebrow,
.remede-page-hero.theme-template-hero--has-image .remede-page-hero__title,
.remede-page-hero.theme-template-hero--has-video .remede-page-eyebrow,
.remede-page-hero.theme-template-hero--has-video .remede-page-hero__title {
	text-shadow: 0 2px 24px rgba(0, 0, 0, .42);
}

/* ========================================================================== 
   V15 blog/archive consistency + accessible green token split
   --------------------------------------------------------------------------
   Accent green is reserved for text, links and small UI. Surface green stays
   intentionally darker so white/light text remains readable on large areas.
   ========================================================================== */
:root,
.editor-styles-wrapper {
  --remede-green-surface: #31523b;
  --remede-green-surface-deep: #2d4a35;
  --remede-green-accent: #69a276;
  --remede-color-green: var(--remede-green-surface);
}

/* Large green surfaces must not inherit the brighter accessibility accent. */
.remede-section--bg-primary,
.remede-waitlist {
  background-color: var(--remede-green-surface-deep, #2d4a35) !important;
}

.remede-waitlist,
.remede-waitlist__heading {
  color: #fff !important;
}
.remede-waitlist__eyebrow { color: rgba(255,255,255,.72) !important; }
.remede-waitlist__body { color: rgba(255,255,255,.78) !important; }

/* Keep small text/link accents on the brighter token. */
.remede-blog-card__image-placeholder,
.remede-coming-soon__eyebrow,
.remede-page-eyebrow,
.remede-blog-card__meta,
.remede-blog-sidebar__title,
.remede-author-card__eyebrow,
.remede-post-meta,
.remede-blog-card__link,
.remede-author-card__link {
  color: var(--remede-green-accent, #69a276) !important;
}

/* Template-owned heroes are centered by default on blog and archive contexts. */
.remede-blog-page .remede-page-hero .container,
.remede-single-page .remede-page-hero .container,
.remede-author-page .remede-page-hero .container {
  text-align: center;
}

/* Sidebar labels were intentionally too delicate in the first pass. */
body .remede-blog-sidebar__title {
  font-size: max(var(--rm-font-size-utility-lg, .75rem), .875rem) !important;
  line-height: 1.4 !important;
  letter-spacing: .18em !important;
  font-weight: 600 !important;
  opacity: 1 !important;
}
body .remede-blog-sidebar__list,
body .remede-blog-sidebar__list li,
body .remede-blog-sidebar__list a {
  font-size: max(var(--rm-font-size-body-sm, .875rem), .875rem) !important;
}

/* Single-post metadata. */
.remede-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
  font-family: var(--remede-font-nav, var(--rm-font-nav, "Montserrat", sans-serif));
  font-size: max(var(--rm-font-size-utility-lg, .75rem), .75rem);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.remede-post-meta a { color: inherit; text-decoration: none; }
.remede-post-meta a:hover,
.remede-post-meta a:focus-visible { color: #fff; }
.remede-post-meta__separator { opacity: .55; }

/* Author archive: deliberately simple, using the same journal card language. */
.remede-author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
}
.remede-author-card__avatar img { border-radius: 50%; display: block; }
.remede-author-card__eyebrow {
  margin: 0 0 .5rem;
  font-family: var(--remede-font-nav, var(--rm-font-nav, "Montserrat", sans-serif));
  font-size: max(var(--rm-font-size-utility-lg, .75rem), .75rem);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.remede-author-card__name { margin: 0 0 .65rem; }
.remede-author-card__bio { margin: 0; color: rgba(255,255,255,.72); }
.remede-author-card__link {
  display: inline-block;
  margin-top: .75rem;
  font-family: var(--remede-font-nav, var(--rm-font-nav, "Montserrat", sans-serif));
  font-size: max(var(--rm-font-size-utility-lg, .75rem), .75rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .remede-author-card { grid-template-columns: 1fr; }
}

/* ========================================================================== 
   V16 semantic text themes + emphasis
   --------------------------------------------------------------------------
   Adds controlled contrast options without changing Remedē's layout, spacing,
   typography scale or core palette. Accent-light is for small text/links;
   accent-dark remains the large green surface token.
   ========================================================================== */
:root,
.editor-styles-wrapper {
  --remede-text-lightest: var(--rm-text-lightest, #f4f4f2);
  --remede-text-lighter: var(--rm-text-lighter, #d3d4d0);
  --remede-text-light: var(--rm-text-light, #b5bab4);
  --remede-text-medium: var(--rm-text-medium, #8f958f);
  --remede-text-dark: var(--rm-text-dark, #454a45);
  --remede-text-darker: var(--rm-text-darker, #171a17);
  --remede-green-accent: var(--rm-accent-light, #78ad84);
  --remede-green-surface: var(--rm-accent-dark, #31523b);
}

.remede-section--text-light {
  --remede-section-primary: var(--remede-text-lightest);
  --remede-section-secondary: var(--remede-text-lighter);
  --remede-section-muted: var(--remede-text-light);
}
.remede-section--text-dark {
  --remede-section-primary: var(--remede-text-darker);
  --remede-section-secondary: var(--remede-text-dark);
  --remede-section-muted: var(--remede-text-medium);
}
.remede-section--emphasis-strong { --remede-section-body: var(--remede-section-primary); }
.remede-section--emphasis-default { --remede-section-body: var(--remede-section-secondary); }
.remede-section--emphasis-soft { --remede-section-body: var(--remede-section-muted); }

/* Headings remain strongest; supporting copy follows the selected emphasis. */
.remede-section--text-light h1,
.remede-section--text-light h2,
.remede-section--text-light h3,
.remede-section--text-light h4,
.remede-section--text-light h5,
.remede-section--text-light h6,
.remede-section--text-dark h1,
.remede-section--text-dark h2,
.remede-section--text-dark h3,
.remede-section--text-dark h4,
.remede-section--text-dark h5,
.remede-section--text-dark h6 {
  color: var(--remede-section-primary) !important;
}
.remede-section--text-light p,
.remede-section--text-light li,
.remede-section--text-dark p,
.remede-section--text-dark li,
.remede-section--text-light .remede-page-body,
.remede-section--text-light .remede-page-card__body,
.remede-section--text-light .remede-path-card__text,
.remede-section--text-dark .remede-page-body,
.remede-section--text-dark .remede-page-card__body,
.remede-section--text-dark .remede-path-card__text {
  color: var(--remede-section-body, var(--remede-section-secondary)) !important;
}

/* Accent labels remain brand-colored, but use the brighter small-text token. */
.remede-section .remede-hero__eyebrow,
.remede-section .remede-hero__path-label,
.remede-section .remede-page-eyebrow,
.remede-section .remede-page-card__kicker,
.remede-section .remede-blog-card__meta,
.remede-section .remede-blog-sidebar__title {
  color: var(--rm-accent-light, #78ad84) !important;
}

/* Large green areas intentionally use the darker surface token. */
.remede-section--bg-primary,
.remede-waitlist {
  background-color: var(--rm-accent-dark, #31523b) !important;
}
.remede-waitlist,
.remede-waitlist h1,
.remede-waitlist h2,
.remede-waitlist h3,
.remede-waitlist h4 {
  color: var(--rm-text-lightest, #f4f4f2) !important;
}
.remede-waitlist p,
.remede-waitlist__body {
  color: var(--rm-text-lighter, #d3d4d0) !important;
}
.remede-waitlist__eyebrow {
  color: var(--rm-text-light, #b5bab4) !important;
}
.remede-waitlist__input::placeholder {
  color: var(--rm-text-light, #b5bab4) !important;
  opacity: .88;
}

/* Conversion Form -------------------------------------------------------- */
.remede-conversion-form__body { width: 100%; }
.remede-native-form__fields {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
	align-items: end;
}
.remede-native-form__field { min-width: 0; text-align: left; }
.remede-native-form__field--full { grid-column: span 6; }
.remede-native-form__field--half { grid-column: span 3; }
.remede-native-form__field--third { grid-column: span 2; }
.remede-native-form__label {
	display: block;
	margin-bottom: .45rem;
	font-family: var(--rm-font-body);
	font-size: var(--rm-font-size-utility-lg, .78rem);
	letter-spacing: .08em;
	color: var(--rm-text-lighter, #d3d4d0);
}
.remede-native-form__field textarea.remede-waitlist__input { min-height: 8rem; resize: vertical; }
.remede-native-form__field select.remede-waitlist__input { min-height: 3.25rem; }
.remede-native-form__check {
	display: flex;
	gap: .65rem;
	align-items: flex-start;
	color: var(--rm-text-lighter, #d3d4d0);
	font-size: var(--rm-font-size-body-sm, .95rem);
	line-height: 1.5;
}
.remede-native-form__check input { margin-top: .22rem; }
.remede-native-form__submit { grid-column: span 6; }
.remede-native-form--inline .remede-native-form__field--full:first-child:nth-last-child(2) { grid-column: span 4; }
.remede-native-form--inline .remede-native-form__submit { grid-column: span 2; }
.remede-native-form__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}
.remede-form__provider { text-align: left; }
.remede-form__provider input:not([type="checkbox"]):not([type="radio"]),
.remede-form__provider textarea,
.remede-form__provider select {
	max-width: 100%;
}
.remede-form__empty {
	margin: 0;
	padding: 1rem 1.25rem;
	border: 1px dashed rgba(255,255,255,.22);
	color: var(--rm-text-light, #b5bab4);
	text-align: center;
}
@media (max-width: 767.98px) {
	.remede-native-form__field--half,
	.remede-native-form__field--third,
	.remede-native-form--inline .remede-native-form__field:only-of-type,
	.remede-native-form--inline .remede-native-form__submit {
		grid-column: span 6;
	}
}

/* Native Form layout refinements ---------------------------------------- */
.remede-native-form {
	max-width: 760px;
}
.remede-native-form .remede-waitlist__input:not(textarea),
.remede-native-form .remede-waitlist__button {
	height: 3.5rem;
	min-height: 3.5rem;
}
.remede-native-form .remede-waitlist__input:not(textarea) {
	padding-top: .75rem;
	padding-bottom: .75rem;
}
.remede-native-form__submit {
	display: flex;
	align-items: flex-end;
}
.remede-native-form__submit .remede-waitlist__button {
	width: 100%;
}
.remede-native-form--submit-inline .remede-native-form__submit {
	grid-column: span 2;
}
.remede-native-form--submit-inline.remede-native-form--inline .remede-native-form__field--full:first-child {
	grid-column: span 4;
}
.remede-native-form--submit-new-row .remede-native-form__submit {
	grid-column: 1 / -1;
	justify-content: center;
}
.remede-native-form--submit-new-row .remede-native-form__submit .remede-waitlist__button {
	width: auto;
	min-width: 11rem;
}
.remede-native-form__turnstile {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 1rem auto 0;
	min-height: 0;
}
.remede-native-form__turnstile--interaction-only,
.remede-native-form__turnstile--invisible {
	margin-top: .5rem;
}
.remede-native-form__turnstile--invisible {
	height: 0;
	margin-top: 0;
	overflow: visible;
}
.remede-native-form__notice {
	margin: 0 auto 1rem;
	padding: .8rem 1rem;
	max-width: 760px;
	font-size: var(--rm-font-size-body-sm, .95rem);
	border: 1px solid rgba(255,255,255,.18);
}
.remede-native-form__notice--success {
	color: var(--rm-text-lightest, #f4f4f2);
	border-color: var(--rm-accent-light, #78ad84);
}
.remede-native-form__notice--error {
	color: var(--rm-text-lighter, #d3d4d0);
}
@media (max-width: 767.98px) {
	.remede-native-form--submit-inline .remede-native-form__submit,
	.remede-native-form--submit-inline.remede-native-form--inline .remede-native-form__field--full:first-child {
		grid-column: 1 / -1;
	}
	.remede-native-form--submit-inline .remede-native-form__submit .remede-waitlist__button {
		width: 100%;
	}
}
