/* ============================================================
   Home Sweet Eclectic: articles and pages. Loaded on singular views only.
   Playful edges (mixed-voice headline, room pill, wavy-edged hero frame with a sticker,
   candy-stripe side accent, numbered pill jump list, outlined numerals, arched figures)
   around a calm reading column: cream serif on near-black, about 68 characters, generous
   leading. Inside the column readability wins over every effect.
   Posts come from three eras (Elementor-built, raw HTML with inline <style>, newer clean
   HTML). Per-post <style> blocks and font links are neutralised at render time, so these
   rules are the only typography: they must make all three eras look the same.
   ============================================================ */

/* ---- Side accent: candy stripes down the right edge, checker down the left (wide screens) ---- */
.single,
.page-article {
  position: relative;
}
.single-accent {
  display: none;
}
@media (min-width: 80rem) {
  .single-accent {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: clamp(1.75rem, 2.6vw, 3rem);
    background: repeating-linear-gradient(-45deg, var(--pink) 0 14px, var(--fuchsia) 0 28px);
    pointer-events: none;
  }
  .single::before,
  .page-article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5rem;
    height: 22rem;
    background: conic-gradient(var(--pink) 0 25%, var(--night) 0 50%, var(--pink) 0 75%, var(--night) 0) 0 0 / 1.5rem 1.5rem;
    pointer-events: none;
  }
}

/* ---- Post header ---- */
.single-header {
  max-width: 72rem;
  padding-top: var(--space-4);
  padding-bottom: var(--space-3);
}
.single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0 0 var(--space-2);
}
.single-meta__time {
  color: var(--cream-2);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.single-title {
  font-size: clamp(2.35rem, 1.2rem + 4.6vw, 5.75rem);
  line-height: 1.1; /* room for the didone italic's long descenders (p, y, g) above the next line */
  letter-spacing: -0.02em;
}
.single-title .t-italic {
  letter-spacing: -0.03em;
}
/* The leading numeral drops through two lines of the headline */
.single-title .t-num {
  float: left;
  margin: 0.02em 0.06em -0.1em 0;
  font-size: 2.35em;
  line-height: 0.82;
}
.single-byline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: var(--space-3);
}
.single-byline-row .single-byline {
  margin: 0;
}
.single-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  margin: var(--space-3) 0 0;
  color: var(--cream);
  font-size: var(--text-base);
}
.single-byline a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  color: var(--mustard);
  font-weight: 600;
  text-decoration: none;
}
.single-byline a:hover {
  color: var(--mustard-2);
  text-decoration: underline;
}
.single-byline__sep {
  width: 0.5rem;
  height: 0.5rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--pink);
  color: transparent;
}

/* ---- Hero: a photograph in a wavy emerald frame, with a sticker ---- */
.single-hero {
  position: relative;
  max-width: 1200px;
  margin-block: var(--space-2) var(--space-5);
}
.single-hero__frame {
  /* One closed outline (inc/template-tags.php hse_wave_frame_path): the same path clips the
     photo and draws its emerald stroke, so edge and stroke meet cleanly at every corner.
     The frame has a fixed shape (16:9, 4:3 on phones) and the photo covers it. */
  position: relative;
  aspect-ratio: 16 / 9;
}
.single-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  background: var(--night-3);
  clip-path: url(#hse-hero-wave-lg);
}
.single-hero__outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.single-hero__outline--sm .single-hero__stroke {
  visibility: hidden; /* never display:none: the clip paths inside must stay resolvable */
}
.single-hero__stroke {
  fill: none;
  stroke: var(--emerald);
  stroke-width: 5px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
@media (max-width: 40rem) {
  .single-hero__frame {
    aspect-ratio: 4 / 3;
  }
  .single-hero__img {
    clip-path: url(#hse-hero-wave-sm);
  }
  .single-hero__outline--lg .single-hero__stroke {
    visibility: hidden;
  }
  .single-hero__outline--sm .single-hero__stroke {
    visibility: visible;
  }
  .single-hero__stroke {
    stroke-width: 3.5px;
  }
}
.single-hero__sticker {
  position: absolute;
  right: clamp(1rem, 4vw, 3.5rem);
  bottom: clamp(-1.25rem, -2vw, -0.5rem);
  --tilt: -9deg;
  font-size: clamp(1.1rem, 0.8rem + 1.4vw, 2.1rem);
}

/* ---- Jump list: a panel of numbered pills ---- */
.post-toc {
  max-width: var(--measure);
  margin: 0 auto var(--space-5);
  padding: var(--space-3);
  border: 2px solid var(--emerald);
  border-radius: var(--radius-lg);
  background: var(--night-2);
}
.post-toc--lead {
  max-width: 62rem;
}
.post-toc__title {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--mustard);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.post-toc__list {
  display: grid;
  gap: 0.55rem var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.post-toc__list li {
  counter-increment: toc;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--touch);
  padding: 0.25rem 0.9rem 0.25rem 0.3rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.post-toc__list li::before {
  content: counter(toc);
  display: grid;
  flex: none;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--pink);
  color: var(--night);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
}
.post-toc__list li:hover {
  border-color: var(--pink);
}
.post-toc__list a {
  flex: 1;
  padding-block: 0.4rem;
  color: var(--cream);
  font-family: var(--f-read);
  font-size: var(--text-base);
  line-height: 1.35;
  text-decoration: none;
}
.post__body .post-toc__list {
  margin: 0;
  padding: 0;
}
.post__body .post-toc__list li {
  margin: 0;
  padding: 0.25rem 0.9rem 0.25rem 0.3rem;
}
.post__body .post-toc__list a {
  text-decoration: none;
}
.post-toc__list a:hover {
  color: var(--pink);
}
@media (min-width: 48rem) {
  .post-toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- Body text: one measure, one rhythm for every era ---- */
.post__body {
  color: var(--cream);
  font-family: var(--f-read);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.75;
}
.post__body > *,
.post__body > .hse-post > * {
  width: min(100% - 2 * var(--gutter), var(--measure));
  max-width: none;
  margin-inline: auto;
}
.post__body > :is(figure, .wp-block-image, .wp-block-table, table, .alignwide),
.post__body > .hse-post > :is(figure, .wp-block-image, .wp-block-table, table, .alignwide) {
  width: min(100% - 2 * var(--gutter), 56rem);
}
.post__body > :is(.alignfull, .wp-block-cover) {
  width: auto;
  max-width: 100%;
}
.post__body > .hse-post {
  width: auto;
  margin-inline: 0;
}
.hse-post {
  /* legacy wrapper: its own width, background and font are neutralised */
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
  font-family: inherit !important;
  color: inherit !important;
}
.post__body p,
.post__body li {
  font-family: var(--f-read);
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.post__body p {
  margin-bottom: 1.3em;
}
.post__body strong,
.post__body b {
  color: var(--cream);
  font-weight: 400;
  background: linear-gradient(transparent 62%, rgba(244, 114, 182, 0.35) 0);
}
.post__body em,
.post__body i {
  font-style: italic;
}
.post__body a {
  color: var(--pink);
  text-decoration: underline;
  text-decoration-color: rgba(244, 114, 182, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.post__body a:hover {
  color: var(--bubble);
  text-decoration-color: currentColor;
}
.post__body a:not([href]) {
  color: inherit;
  text-decoration: none;
}
.post__body h2,
.post__body h3,
.post__body h4,
.post__body .elementor-heading-title {
  font-family: var(--f-head);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: var(--leading-snug);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.post__body h2 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
}
.post__body h3 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}
.post__body h4 {
  margin-top: var(--space-3);
  margin-bottom: var(--space-1);
  font-size: var(--text-md);
}
.post__body h1 {
  /* a second H1 inside stored content is shown as an H2 */
  margin-top: var(--space-5);
  font-size: var(--text-xl);
}

/* ---- Numbered items: a groovy heading behind a big outlined numeral ---- */
.post__body [data-num] {
  position: relative;
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  color: var(--mustard);
  font-family: var(--f-groovy);
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  font-variant-numeric: lining-nums;
}
.post__body [data-num]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 18rem);
  height: 0.7rem;
  background: var(--pink);
  -webkit-mask: var(--squiggle) 0 50% / 1.4rem 0.7rem repeat-x;
  mask: var(--squiggle) 0 50% / 1.4rem 0.7rem repeat-x;
}
.post__body p[data-num] {
  font-family: var(--f-groovy);
  color: var(--mustard);
  line-height: 1.12;
}
.post__body [data-num] > strong {
  font-weight: 400;
  color: inherit;
  background: none;
}
.hse-numeral {
  display: block;
  margin-bottom: 0.1em;
  color: transparent;
  -webkit-text-stroke: 2px var(--pink);
  font-family: var(--f-didone);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4.5rem, 2.6rem + 6.5vw, 10.5rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
}
@supports not (-webkit-text-stroke: 2px red) {
  .hse-numeral {
    color: var(--pink);
  }
}
@media (min-width: 64rem) {
  .post__body [data-num] .hse-numeral {
    position: absolute;
    top: 0;
    right: 100%;
    margin: 0 var(--space-3) 0 0;
    text-align: right;
  }
}
.hse-idea {
  margin: var(--space-3) auto var(--space-4);
  padding: var(--space-3);
  border-radius: var(--radius);
  background: var(--night-2);
}

/* ---- Lists, quotes, rules, code ---- */
.post__body ul,
.post__body ol {
  padding-left: 1.4em;
  margin-bottom: 1.3em;
}
.post__body li {
  margin-bottom: 0.45em;
  padding-left: 0.2em;
}
.post__body ol {
  font-variant-numeric: tabular-nums;
}
.post__body li::marker {
  color: var(--pink);
}
.post__body blockquote {
  position: relative;
  margin-block: var(--space-4);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--plum);
  color: var(--cream);
  font-family: var(--f-didone);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.35;
}
.post__body blockquote::before {
  content: "";
  position: absolute;
  top: var(--space-3);
  bottom: var(--space-3);
  left: var(--space-2);
  width: 0.5rem;
  border-radius: 999px;
  background: var(--pink);
}
.post__body blockquote p {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.post__body blockquote > :last-child {
  margin-bottom: 0;
}
.post__body hr,
.post__body .wp-block-separator {
  width: 9rem;
  height: 0.8rem;
  margin: var(--space-5) auto;
  border: 0;
  background: var(--pink);
  -webkit-mask: var(--squiggle) 0 50% / 1.6rem 0.8rem repeat-x;
  mask: var(--squiggle) 0 50% / 1.6rem 0.8rem repeat-x;
}
.post__body code {
  padding: 0.1em 0.35em;
  border-radius: 0.3em;
  background: var(--night-3);
  font-size: 0.9em;
}

/* ---- Figures: arched windows and rounded panels, captions in the interface face ---- */
.post__body img {
  max-width: 100%;
  height: auto;
}
.post__body figure {
  margin-block: var(--space-4);
}
.post__body figure img,
.post__body .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  background: var(--night-3);
}
.post__body img[style] {
  /* inline sizes from old posts must not break the column */
  max-width: 100% !important;
  height: auto !important;
}
.post__body figcaption,
.post__body .wp-element-caption {
  margin-top: 0.7rem;
  color: var(--cream-2);
  font-family: var(--f-ui);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Figure inserted directly after a section heading (new idea sections): an arch, a pill window, alternating */
.post__body .hse-idea-figure {
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
}
.post__body .hse-idea-figure img {
  max-height: 80vh;
  object-fit: cover;
  border-radius: 46% 46% 1.25rem 1.25rem / 34% 34% 1.25rem 1.25rem;
  outline: 3px solid var(--pink);
  outline-offset: 6px;
}
.post__body [data-num]:nth-of-type(even) + .hse-idea-figure img,
.post__body .hse-idea-figure:nth-of-type(even) img {
  border-radius: 2.5rem;
  outline-color: var(--mustard);
}

/* Older eras: the picture right after a numbered heading gets the same arch window */
.post__body [data-num] + :is(p, figure, div) img {
  border-radius: 46% 46% 1.25rem 1.25rem / 34% 34% 1.25rem 1.25rem;
  outline: 3px solid var(--pink);
  outline-offset: 6px;
}
.post__body p > img {
  border-radius: 1.25rem;
}

/* ---- Tables (old posts) ---- */
.post__body table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin-block: var(--space-4);
  font-size: var(--text-sm);
}
.post__body th,
.post__body td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-family: var(--f-ui);
  font-size: inherit;
  line-height: 1.5;
  color: var(--cream-2);
}
.post__body th {
  color: var(--mustard);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* ---- Elementor-built content ----
   Posts: Elementor's stylesheet is not loaded, so its root becomes the same reading column
   as every other post (measure, gutters, image sizing) and every container inside it is
   flattened to a plain block. Pages built with Elementor keep Elementor's own CSS and get a
   wide centred column. */
.post__body--post > .elementor {
  width: min(100% - 2 * var(--gutter), var(--measure));
  max-width: none;
  margin-inline: auto;
}
.page-article .entry-content > .elementor {
  width: min(100% - 2 * var(--gutter), 62rem);
  margin-inline: auto;
}
.post__body--post .elementor :is(.elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap, .elementor-widget, .elementor-widget-container, .elementor-element, .e-con, .e-con-inner) {
  display: block;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  --padding-top: 0;
  --padding-bottom: 0;
  --padding-left: 0;
  --padding-right: 0;
}
.post__body .elementor img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
.post__body .elementor :is(p, h2, h3, h4, ul, ol, blockquote, figure, table) {
  width: auto;
  max-width: 100%;
  margin-inline: 0;
}
.post__body .elementor :is(p, ul, ol) {
  margin-bottom: 1.35em;
}
.post__body .elementor-invisible {
  visibility: visible;
}
.post__body .hse-product-price {
  color: var(--ecc-gold);
}
.post__body iframe,
.post__body video,
.post__body embed {
  max-width: 100%;
}

/* ---- FAQ blocks, affiliate disclosure ---- */
.post__body details {
  margin-bottom: 0.6rem;
  padding: 0 1.1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
}
.post__body details[open] {
  border-color: var(--pink);
}
.post__body summary {
  min-height: var(--touch);
  padding-block: 0.7rem;
  color: var(--cream);
  font-family: var(--f-head);
  font-size: var(--text-md);
  cursor: pointer;
}
.post__body summary::marker {
  color: var(--pink);
}
.hse-disclosure {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: var(--space-4);
  padding: 0.8rem 1.4rem 0.8rem 1rem;
  border: 2px solid var(--mustard);
  border-radius: 1.75rem;
  color: var(--cream);
  font-family: var(--f-read);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.hse-disclosure::before {
  content: "";
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--mustard);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c.6 6 4.4 10.4 11 11-6.6.6-10.4 5-11 11-.6-6-4.4-10.4-11-11 6.6-.6 10.4-5 11-11Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c.6 6 4.4 10.4 11 11-6.6.6-10.4 5-11 11-.6-6-4.4-10.4-11-11 6.6-.6 10.4-5 11-11Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.post__body p.hse-disclosure {
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

/* ---- After the body ---- */
.single-after {
  padding-block: var(--space-5) 0;
}
.more-in {
  padding-block: var(--space-section) 0;
}
.more-in__title {
  margin-bottom: var(--space-4);
  color: var(--pink);
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
}
.more-in__all {
  margin-top: var(--space-4);
}
.hse-grid--four > li {
  grid-column: span 12;
}
@media (min-width: 40rem) {
  .hse-grid--four > li {
    grid-column: span 6;
  }
}
@media (min-width: 64rem) {
  .hse-grid--four > li {
    grid-column: span 3;
  }
  .hse-grid--four > li:nth-child(3n + 2) {
    margin-top: 0;
  }
  .hse-grid--four > li:nth-child(even) {
    margin-top: var(--space-4);
  }
}
.single-nav {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-section);
  padding-block: 0 var(--space-section);
}
.single-nav__item {
  display: block;
  min-height: var(--touch);
  padding: var(--space-3);
  border: 2px solid var(--pink);
  border-radius: var(--radius-lg);
  color: var(--cream);
  text-decoration: none;
  transition: transform var(--dur-normal) var(--ease-pop), background-color var(--dur-fast);
}
.single-nav__dir {
  color: var(--mustard);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.single-nav__title {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--f-head);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
}
.single-nav__item:hover {
  color: var(--cream);
  background: var(--night-2);
  transform: rotate(-1deg);
}
.single-nav__item--next {
  text-align: left;
}
@media (min-width: 48rem) {
  .single-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .single-nav__item--next {
    grid-column: 2;
    text-align: right;
  }
}
@media (prefers-reduced-motion: reduce) {
  .single-nav__item:hover {
    transform: none;
  }
}

/* ---- Plain pages (About, Offerings, Contact, Privacy) ---- */
.page-article__head {
  max-width: 72rem;
  padding-block: var(--space-4) var(--space-3);
}
.page-article__title {
  font-size: var(--text-3xl);
  line-height: 1.08;
}
.page-article .entry-content {
  padding-bottom: var(--space-section);
}
/* Media inside page builder content never exceed their box, and full-bleed blocks never
   exceed the viewport (QA4 /offerings/). */
.page-article .entry-content :is(img, video, iframe, svg) {
  max-width: 100%;
}
.page-article .entry-content > :is(.alignfull, .wp-block-cover) {
  max-width: 100%;
}
/* Running text on builder pages keeps the reading measure even inside a wide layout */
.page-article .entry-content :is(p, li) {
  max-width: var(--measure);
}

/* ---- Pages built with Elementor + The Plus Addons (Contact) ----
   Plugin CSS sets pink fields, a blue button and a gradient banner with !important-level
   specificity, so these rules are scoped under .page-article and use !important deliberately. */
html body .page-article .elementor .elementor-element:is(.elementor-widget-heading, .elementor-widget-tp-contact-form-7, .elementor-widget-image),
html body .page-article .elementor .elementor-element:is(.elementor-widget-heading, .elementor-widget-tp-contact-form-7, .elementor-widget-image) > .elementor-widget-container,
.page-article :is(.elementor-widget-heading, .elementor-widget-tp-contact-form-7, .elementor-widget-image) > .elementor-widget-container {
  background: none !important;
  background-image: none !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.page-article .elementor-widget-heading .elementor-heading-title {
  margin: 0 0 var(--space-3) !important;
  padding: 0 !important;
  background: none !important;
  color: var(--ecc-gold) !important;
  font-family: var(--ecc-label) !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
  letter-spacing: var(--tracking-label) !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}
.page-article .elementor-widget-image img {
  max-width: 100% !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.page-article .theplus-contact-form,
.page-article .theplus-contact-form .wpcf7,
.page-article .theplus-contact-form form {
  width: 100% !important;
  max-width: 40rem;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  text-align: left !important;
}
.page-article .wpcf7 label {
  display: block !important;
  margin: 0 0 0.45rem !important;
  padding: 0 !important;
  background: none !important;
  color: var(--ecc-ink) !important;
  font-family: var(--ecc-body) !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  text-align: left !important;
}
.page-article .wpcf7 p {
  margin: 0 0 1.25rem;
}
.page-article .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select) {
  display: block;
  width: 100% !important;
  min-height: var(--touch);
  margin: 0.45rem 0 0 !important;
  padding: 0.7rem 0.9rem !important;
  border: 2px solid var(--ecc-line-strong) !important;
  border-radius: 1.4rem !important;
  background: var(--ecc-bg1) !important;
  box-shadow: none !important;
  color: var(--ecc-ink) !important;
  font-family: var(--ecc-body) !important;
  font-size: var(--text-base) !important;
  font-weight: 400 !important;
}
.page-article .wpcf7 textarea {
  min-height: 9rem;
}
.page-article .wpcf7 :is(input, textarea, select):focus-visible {
  outline: 2px solid var(--ecc-gold3) !important;
  outline-offset: 2px !important;
  border-color: var(--ecc-gold3) !important;
}
.page-article .wpcf7 input[type="submit"] {
  display: inline-flex;
  width: auto !important;
  min-height: var(--touch);
  padding: 0.7rem 1.6rem !important;
  border: 2px solid var(--ecc-gold) !important;
  border-radius: 999px !important;
  background: var(--ecc-gold) !important;
  box-shadow: none !important;
  color: var(--ecc-bg) !important;
  font-family: var(--ecc-label) !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  letter-spacing: var(--tracking-label) !important;
  text-transform: uppercase !important;
  cursor: pointer;
}
.page-article .wpcf7 input[type="submit"]:hover {
  background: var(--ecc-gold3) !important;
  border-color: var(--ecc-gold3) !important;
}
.page-article .wpcf7-not-valid-tip,
.page-article .wpcf7-response-output {
  margin: 0.5rem 0 0 !important;
  color: var(--ecc-ink) !important;
  font-size: var(--text-sm);
}
.page-article .wpcf7-response-output {
  padding: 0.7rem 0.9rem !important;
  border: 1px solid var(--ecc-hairline-warm) !important;
}

/* ---- About (page 118): Spectra container markup pasted into a text widget ----
   Spectra's own layout CSS is left alone everywhere else (Offerings relies on it). Only the
   About page needs help: a nested container or info box sized to its content (an image
   105 px wide) squeezes the text next to it into a one-word column. */
.page-article .elementor-118 .wp-block-uagb-container > .wp-block-uagb-container,
.page-article .elementor-118 .wp-block-uagb-container > .wp-block-uagb-info-box {
  flex: 1 1 14rem;
  width: auto;
  min-width: 0;
}
.page-article .elementor-118 .wp-block-uagb-container {
  column-gap: var(--space-3) !important;
}
/* wpautop turned the whitespace between pasted blocks into empty paragraphs inside the flex rows */
.page-article .elementor-118 .wp-block-uagb-container > p,
.page-article .elementor-118 .uagb-container-inner-blocks-wrap > p {
  display: none;
}
/* Core values: a heading block above three equal columns instead of four squeezed ones */
.page-article .elementor-118 .wp-block-uagb-container:has(> div:nth-of-type(4)) {
  flex-wrap: wrap;
}
.page-article .elementor-118 .wp-block-uagb-container > div:first-of-type:nth-last-of-type(4) {
  flex: 1 1 100%;
  margin-bottom: var(--space-3);
}
/* Phones and small tablets: every About row stacks, full width (QA5: the core values snaked
   at 1-3 characters per line at 375) */
@media (max-width: 47.99rem) {
  .page-article .elementor-118 .wp-block-uagb-container,
  .page-article .elementor-118 .uagb-container-inner-blocks-wrap {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }
  .page-article .elementor-118 .wp-block-uagb-container > *,
  .page-article .elementor-118 .uagb-container-inner-blocks-wrap > * {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }
}
.page-article .elementor-118 .uagb-heading-text,
.page-article .elementor-118 .uagb-desc-text {
  text-align: left !important;
}

/* Stored privacy page: its tiny 7px label is raised to the label size and given a passing
   colour (QA4: it measured 2.52:1). */
.page-article .pp-contact-label {
  color: var(--cream-2) !important;
  font-size: var(--text-xs) !important;
  letter-spacing: var(--tracking-label) !important;
}

/* Stored "Shop this look" boxes (2026 posts) set their small print in #6A5848 on #150E0A
   (2.8:1). The theme lifts that one inline colour to a passing tint. */
.post__body [style*="color:#6A5848" i],
.post__body [style*="color: #6A5848" i] {
  color: var(--cream-2) !important;
}

/* ---- 1.8.1: pages speak the system (QA5 5E/5F) ---- */
/* Reading size on every stored page (privacy stored 14 px text), plain solid links, no
   highlighter band on bold words (it read as a dotted underline). */
.page-article .entry-content :is(p, li) {
  font-size: max(1.0625rem, 1em) !important;
  line-height: 1.7;
}
.page-article .entry-content a {
  text-decoration-line: underline !important;
  text-decoration-style: solid !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 0.2em;
  border-bottom: 0 !important;
}
.page-article .post__body :is(strong, b) {
  background: none;
  font-weight: 600;
}
/* Spectra and core buttons ("Get started", "Get inspired") become the system's pills */
.page-article .entry-content :is(.wp-block-button__link, .uagb-infobox-cta-link, .uagb-buttons-repeater, .wp-block-uagb-buttons-child a) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 0.6rem 1.5rem !important;
  border: 2px solid var(--night) !important;
  border-radius: 999px !important;
  background: var(--pink) !important;
  color: var(--night) !important;
  font-family: var(--f-ui) !important;
  font-weight: 600 !important;
  font-size: var(--text-sm) !important;
  letter-spacing: 0.04em !important;
  text-decoration-line: none !important;
  text-transform: uppercase;
  transition: transform var(--dur-normal) var(--ease-pop), background-color var(--dur-fast);
}
.page-article .entry-content :is(.wp-block-button__link, .uagb-infobox-cta-link, .uagb-buttons-repeater, .wp-block-uagb-buttons-child a) * {
  color: inherit !important;
  font: inherit !important;
}
.page-article .entry-content :is(.wp-block-button__link, .uagb-infobox-cta-link, .uagb-buttons-repeater, .wp-block-uagb-buttons-child a):hover {
  background: var(--bubble) !important;
  transform: rotate(-3deg);
}
/* Contact (page 228): the duplicate "Get in touch" heading widget goes (the page title is
   the heading); photo and form stack in one comfortable column. */
.page-article .elementor-228 .elementor-element-3a65cce {
  display: none !important;
}
.page-article .elementor-228 .e-con-inner {
  flex-direction: column !important;
  align-items: stretch !important;
  max-width: 44rem !important;
  margin-inline: auto !important;
}
.page-article .elementor-228 .elementor-widget-image img {
  width: 100% !important;
  border-radius: 46% 46% var(--radius) var(--radius) / 30% 30% var(--radius) var(--radius) !important;
}
.page-article .elementor-228 .theplus-contact-form,
.page-article .elementor-228 .theplus-contact-form form {
  max-width: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .page-article .entry-content :is(.wp-block-button__link, .uagb-infobox-cta-link, .uagb-buttons-repeater, .wp-block-uagb-buttons-child a):hover {
    transform: none;
  }
}
.page-article .elementor-228 .elementor-widget-tp-contact-form-7,
.page-article .elementor-228 .elementor-widget-tp-contact-form-7 > .elementor-widget-container,
.page-article .elementor-228 .theplus-contact-form .wpcf7 {
  width: 100% !important;
  max-width: 100% !important;
  --container-widget-width: 100%;
}
