/*
 * tl-marketing.css - Pehmeä editorial page-scoped UI: front page, the marketing
 * pages (body.page-id-N rules) and .tl-* content blocks.
 *
 * Split out of FluentSnippets snippet 36 (review finding M9, 2026-10-18) so it is
 * a cached file instead of ~130 KB inlined into every page. Printed by snippet 40
 * (40-marketing-pages-stylesheets.php) at wp_head priority 10, i.e. the exact
 * position the inline <style> used to occupy, so the cascade is unchanged.
 * Snippet 40 decides which pages load this file - see its gate notes.
 * Deploy: ./tools/deploy-theme-staging.sh, then deploy-theme-prod.sh + purge.
 */

/*
 * Public marketing-page design system: Pehmeä editorial.
 *
 * Everything in the redesigned page bodies is scoped to .tl-market or the
 * three approved page IDs. The shared Kadence chrome is intentionally global.
 */

body.home .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

body.home .entry-content-wrap {
  padding: 0;
}

body.home .entry.single-entry {
  box-shadow: none;
}

body.home .content-bg,
body.home.content-style-boxed .site {
  background: #fffdf8;
}

body.home #masthead .site-main-header-wrap,
body.home #masthead .site-main-header-wrap > .site-header-row-container-inner {
  height: auto !important;
  background-color: #fffdf8;
  background-image: none !important;
}

body.home #masthead .site-main-header-inner-wrap {
  height: auto !important;
  min-height: 98px !important;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) .entry-content-wrap {
  padding: 0;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) .entry.single-entry {
  box-shadow: none;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) .content-bg,
:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108).content-style-boxed .site {
  background: #fffdf8;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) #masthead .site-main-header-wrap,
:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) #masthead .site-main-header-wrap > .site-header-row-container-inner {
  height: auto !important;
  background-color: #fffdf8;
  background-image: none !important;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) #masthead .site-main-header-inner-wrap {
  height: auto !important;
  min-height: 98px !important;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-108) .entry-header {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(62px, 7vw, 96px) 0 clamp(34px, 4vw, 54px);
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-108) .entry-header::before {
  content: "Tietoinen luominen";
  display: block;
  margin-bottom: 1rem;
  color: #9c5f68;
  font-family: Montserrat, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-108) .entry-title {
  max-width: 14ch;
  margin: 0;
  color: #26352f;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3.2rem, 2.35rem + 3.2vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) .entry-content {
  margin: 0;
}

body.page-id-1380 .entry-header::before {
  content: "Itsetuntemus ja numerot";
  color: #527f99;
}

body.page-id-1154 .entry-header::before {
  content: "Henkilökohtainen numerologia";
  color: #527f99;
}

body.page-id-1569 .entry-header::before {
  content: "Numerologinen muutostyökalu";
  color: #527f99;
}

body.page-id-58 .entry-header::before {
  content: "Vauraus ja tietoinen luominen";
  color: #9c5f68;
}

body.page-id-1397 .entry-header::before {
  content: "Ohjattu meditaatio";
  color: #9c5f68;
}

body.page-id-108 .entry-header::before {
  content: "Onnellisuuden opas";
  color: #9c5f68;
}

.tl-market {
  --tl-paper: #f8f3e9;
  --tl-paper-clean: #fffdf8;
  --tl-forest: #284b3b;
  --tl-forest-dark: #18372b;
  --tl-sea: #527f99;
  --tl-sea-soft: #e2eef3;
  --tl-sand: #ddd1af;
  --tl-rose: #9c5f68;
  --tl-rose-soft: #efe0df;
  --tl-ink: #26352f;
  --tl-muted: #5d6d65;
  --tl-line: #c9c1ae;
  --tl-white: #fffdf8;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  color: var(--tl-ink);
  font-family: Montserrat, sans-serif;
  font-size: clamp(1rem, .97rem + .12vw, 1.075rem);
  line-height: 1.7;
  overflow: clip;
}

.tl-market *,
.tl-market *::before,
.tl-market *::after {
  box-sizing: border-box;
}

.tl-market :where(h1, h2, h3, p, ul, blockquote, figure) {
  margin-top: 0;
}

.tl-market :where(h1, h2, h3, blockquote) {
  color: inherit;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.1;
  overflow-wrap: normal;
  word-break: normal;
}

.tl-market h1 {
  max-width: 14ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.7rem, 2rem + 3.2vw, 4.5rem);
  text-wrap: balance;
}

.tl-market h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.1rem, 1.65rem + 1.8vw, 3.35rem);
  text-wrap: balance;
}

.tl-market h3 {
  margin-bottom: .75rem;
  font-size: clamp(1.65rem, 1.45rem + .7vw, 2.15rem);
}

.tl-market p:last-child,
.tl-market ul:last-child,
.tl-market figure:last-child {
  margin-bottom: 0;
}

.tl-market a:not(.tl-button) {
  color: var(--tl-forest);
  font-weight: 500;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

.tl-market a:not(.tl-button):hover {
  color: var(--tl-forest-dark);
}

.tl-market a:focus-visible,
.tl-market button:focus-visible,
.tl-market input:focus-visible {
  outline: 3px solid var(--tl-sea);
  outline-offset: 4px;
}

.tl-shell {
  width: min(1060px, calc(100% - 40px));
  margin-inline: auto;
}

.tl-section {
  padding-block: clamp(68px, 8vw, 112px);
}

.tl-eyebrow {
  margin-bottom: 1rem;
  color: var(--tl-rose);
  font-size: clamp(.84rem, .8rem + .12vw, .94rem);
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.25;
  text-transform: uppercase;
}

.tl-lead {
  max-width: 64ch;
  color: var(--tl-muted);
  font-size: clamp(1.05rem, 1rem + .28vw, 1.22rem);
}

.tl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.2rem;
  margin-top: 1.8rem;
}

.tl-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.25rem;
  border: 2px solid var(--tl-forest);
  border-radius: 999px;
  background: var(--tl-forest);
  color: var(--tl-white) !important;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.tl-button::after {
  content: "\2192";
  font-size: 1.15em;
  line-height: 1;
}

.tl-button:hover {
  border-color: var(--tl-forest-dark);
  background: var(--tl-forest-dark);
  transform: translateY(-2px);
}

.tl-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.tl-home-hero {
  position: relative;
  z-index: 1;
  padding-block: clamp(34px, 4vw, 52px) clamp(20px, 2.4vw, 36px);
  background: var(--tl-paper);
}

.tl-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.tl-hero-grid > * {
  min-width: 0;
}

.tl-hero-panel {
  grid-column: 1 / 7;
  grid-row: 1;
  align-self: start;
  z-index: 2;
  width: 100%;
  max-width: 512px;
  margin: clamp(54px, 5.5vw, 72px) 0 -64px;
  padding: clamp(30px, 3.2vw, 40px);
  background: var(--tl-paper-clean);
  box-shadow: 0 20px 50px rgba(38, 53, 47, .11);
}

.tl-hero-panel .tl-lead {
  max-width: 49ch;
  margin-bottom: 0;
  line-height: 1.62;
}

.tl-hero-panel h1 {
  max-width: 12ch;
  margin-top: 0;
  margin-bottom: 1.1rem;
  font-size: clamp(2.8rem, 2.5rem + 1.1vw, 3.45rem);
  line-height: 1.06;
}

.tl-hero-panel .tl-eyebrow {
  margin-bottom: 1rem;
}

.tl-hero-media {
  grid-column: 6 / 13;
  grid-row: 1;
  width: 100%;
  height: clamp(500px, 43vw, 590px);
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  background: var(--tl-sea-soft);
}

.tl-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 55% center;
}

@media (min-width: 1240px) {
  .tl-hero-media {
    width: calc(100% + 64px);
  }
}

@media (min-width: 901px) {
  .tl-hero-panel {
    width: calc(100% + 50px);
  }

  .tl-hero-panel .tl-actions {
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 1.45rem;
  }

  .tl-hero-panel .tl-button {
    min-height: 46px;
    padding: .7rem 1.05rem;
    font-size: .84rem;
    white-space: nowrap;
  }

  .tl-hero-panel .tl-text-link {
    font-size: .88rem;
    white-space: nowrap;
  }
}

.tl-paths {
  background: var(--tl-paper-clean);
}

.tl-paths.tl-section {
  padding-top: clamp(128px, 11vw, 156px);
}

.tl-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: end;
  margin-bottom: 2.2rem;
}

.tl-section-heading :where(h2, p) {
  margin-bottom: 0;
}

.tl-path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--tl-line);
}

.tl-path {
  min-height: 300px;
  padding: clamp(28px, 4vw, 48px);
}

.tl-path--manifestointi {
  background: var(--tl-rose-soft);
}

.tl-path--numerologia {
  background: var(--tl-sea-soft);
}

.tl-path__number {
  display: block;
  margin-bottom: clamp(28px, 5vw, 54px);
  color: var(--tl-rose);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tl-path--numerologia .tl-path__number {
  color: var(--tl-sea);
}

.tl-path p {
  max-width: 47ch;
}

.tl-story {
  background: var(--tl-paper-clean);
  color: var(--tl-ink);
}

.tl-story-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
}

.tl-story__portrait {
  aspect-ratio: 4 / 5;
  min-height: 0;
  margin: 0;
  background: var(--tl-sand);
  overflow: hidden;
}

.tl-story__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.tl-story__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 610px;
  padding: 0;
}

.tl-story__copy p {
  color: var(--tl-muted);
}

.tl-story__copy .tl-eyebrow {
  color: var(--tl-rose);
}

.tl-story blockquote {
  margin: 2rem 0 0;
  padding: clamp(24px, 3vw, 34px);
  background: var(--tl-forest);
  color: #f5e9cf;
  font-size: clamp(1.5rem, 1.3rem + .65vw, 2rem);
}

.tl-resource {
  background: #f1ead9;
}

.tl-resource-grid,
.tl-offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.tl-resource__preview,
.tl-offer__image {
  margin: 0;
}

.tl-resource__preview img {
  width: min(330px, 85%);
  display: block;
  margin-inline: auto;
  transform: rotate(2deg);
  box-shadow: 0 16px 34px rgba(76, 63, 48, .16);
}

.tl-offer {
  border-top: 1px solid var(--tl-line);
  background: var(--tl-paper-clean);
}

.tl-offer__image img {
  width: 100%;
  display: block;
  border-radius: 48% 48% 12px 12px;
}

.tl-newsletter {
  background: var(--tl-paper);
}

.tl-newsletter__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  gap: clamp(36px, 7vw, 80px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 24px;
  background: var(--tl-rose-soft);
}

.tl-newsletter__form .ff-el-group {
  margin-bottom: 1.1rem;
}

.tl-newsletter__form .ff-el-input--label label {
  color: var(--tl-ink);
  font-size: .84rem;
  font-weight: 500;
}

.tl-newsletter__form :where(input[type="text"], input[type="email"]) {
  min-height: 54px;
  border: 1px solid #aeb9b2 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--tl-ink) !important;
  font: inherit;
}

.tl-newsletter__form .ff-el-form-check-label {
  color: var(--tl-muted);
  font-size: .78rem;
  line-height: 1.5;
}

.tl-newsletter__form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: .15rem;
}

.tl-newsletter__form .ff-btn-submit {
  min-height: 50px;
  padding: .78rem 1.25rem !important;
  border: 2px solid var(--tl-forest) !important;
  border-radius: 999px !important;
  background: var(--tl-forest) !important;
  color: var(--tl-white) !important;
  font-family: inherit;
  font-weight: 500;
}

.tl-newsletter__form .ff-btn-submit:hover {
  border-color: var(--tl-forest-dark) !important;
  background: var(--tl-forest-dark) !important;
}

.tl-newsletter__privacy {
  margin-top: 1rem;
  color: var(--tl-muted);
  font-size: .76rem;
  line-height: 1.5;
}

.tl-market--manifestointi {
  background: var(--tl-paper-clean);
}

.tl-manifestointi-intro {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 7vw, 82px);
  width: min(1060px, calc(100% - 40px));
  margin-inline: auto;
  padding-bottom: clamp(64px, 8vw, 104px);
  align-items: start;
}

.tl-manifestointi-intro p {
  margin-bottom: 0;
}

.tl-manifestointi-intro p:first-child {
  color: var(--tl-forest);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.22;
}

.tl-manifestointi-intro p:last-child {
  color: var(--tl-muted);
  font-size: clamp(1.05rem, 1rem + .28vw, 1.22rem);
  font-weight: 400;
}

.tl-article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: space-between;
  gap: clamp(48px, 7vw, 92px);
  width: min(1060px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(72px, 8vw, 112px) clamp(92px, 10vw, 148px);
  border-top: 1px solid var(--tl-sand);
}

@media (min-width: 901px) {
  .tl-article-layout {
    padding-bottom: 48px;
  }
}

.tl-page-nav {
  position: sticky;
  top: 82px;
  align-self: start;
  padding-top: .35rem;
}

body:has(:is(#kadence-conversion-9904, #kadence-conversion-9988).kc-visible) .tl-page-nav {
  top: 140px;
}

@media (min-width: 1025px) and (max-width: 1099px) {

  /* 1025-1099px: the primary desktop menu (7 items) wraps to two lines, so the
   Kadence sticky header grows from 60px to ~114px. The base top:82px offset
   assumes a 60px header, so "Tällä sivulla" tucks 26px under the header here
   (staging clip reproduced 2026-08-24). Bump the sticky offset to clear the
   wrapped header. NOTE: this band tracks the current menu's wrap width — if
   menu items are added/removed, re-check where the header wraps. */

  .tl-page-nav {
    top: 138px;
  }
}

.tl-page-nav .tl-eyebrow {
  margin-bottom: 1.1rem;
}

.tl-page-nav a {
  display: block;
  padding: .72rem 0;
  border-bottom: 1px solid rgba(201, 193, 174, .7);
  color: var(--tl-muted) !important;
  font-size: .88rem;
  line-height: 1.45;
  text-decoration: none !important;
}

.tl-page-nav a:hover {
  color: var(--tl-forest) !important;
}

.tl-longform > :first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.tl-longform h2 {
  margin: clamp(68px, 8vw, 104px) 0 1.4rem;
  padding-top: clamp(52px, 6vw, 76px);
  border-top: 1px solid var(--tl-sand);
  scroll-margin-top: 90px;
}

body:has(:is(#kadence-conversion-9904, #kadence-conversion-9988).kc-visible) .tl-longform h2 {
  scroll-margin-top: 148px;
}

.tl-longform h3 {
  margin: clamp(46px, 6vw, 68px) 0 1rem;
}

.tl-longform h4 {
  margin: 2.5rem 0 .9rem;
  color: var(--tl-forest);
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
}

.tl-longform p,
.tl-longform li {
  color: var(--tl-ink);
}

.tl-longform p,
.tl-longform ul,
.tl-longform ol {
  margin-bottom: 1.45rem;
}

.tl-longform :where(ul, ol) {
  padding-left: 1.35rem;
}

.tl-longform blockquote {
  margin: clamp(38px, 5vw, 58px) 0;
  padding: clamp(28px, 4vw, 42px);
  border: 0;
  border-left: 5px solid var(--tl-rose);
  background: var(--tl-rose-soft);
  color: var(--tl-forest);
  font-size: clamp(1.35rem, 1.18rem + .65vw, 1.75rem);
}

.tl-longform blockquote p {
  margin: 0;
  color: inherit;
}

.tl-longform .wp-block-image {
  margin-block: clamp(48px, 6vw, 76px);
}

.tl-longform .wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.tl-longform .wp-block-embed-youtube {
  margin-block: clamp(48px, 6vw, 72px);
}

.tl-longform .wp-block-embed__wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--tl-forest-dark);
}

.tl-longform .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tl-shop {
  --tl-shop-paper: #fffdf8;
  --tl-shop-forest: #284b3b;
  --tl-shop-forest-dark: #18372b;
  --tl-shop-ink: #26352f;
  --tl-shop-muted: #5d6d65;
  --tl-shop-line: rgba(93, 109, 101, .24);
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: clamp(76px, 9vw, 126px) 0 clamp(82px, 9vw, 132px) -50vw;
  padding-block: clamp(72px, 8vw, 108px);
  overflow: hidden;
  color: var(--tl-shop-ink);
  font-family: Montserrat, sans-serif;
}

.tl-shop--manifestointi {
  background: linear-gradient(135deg, #f1dfdc 0%, #f8f3e9 72%);
}

.tl-shop--numerologia {
  background: linear-gradient(135deg, #dfedf2 0%, #f8f3e9 72%);
}

@media (min-width: 901px) {
  :is(.tl-market--manifestointi, .tl-market--numerologia) .tl-longform .tl-shop {
    left: calc(50% - 170px);
  }
}

.tl-shop::before {
  content: "";
  position: absolute;
  top: -190px;
  right: max(-170px, calc((100vw - 1060px) / 2 - 240px));
  width: 420px;
  height: 420px;
  border: 1px solid rgba(40, 75, 59, .12);
  border-radius: 50%;
  pointer-events: none;
}

.tl-shop__inner {
  position: relative;
  z-index: 1;
  width: min(1060px, calc(100% - 40px));
  margin-inline: auto;
}

.tl-shop__header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  margin-bottom: clamp(42px, 5vw, 62px);
  padding-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--tl-shop-line);
  align-items: end;
}

.tl-shop .tl-shop__header h2,
.tl-shop .tl-shop__header h3 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--tl-shop-ink);
  text-align: left;
}

.tl-shop .tl-shop__header h2 {
  max-width: 10ch;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.65rem, 2.1rem + 1.9vw, 3.85rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
}

.tl-shop .tl-shop__header h3 {
  max-width: 42ch;
  justify-self: end;
  color: var(--tl-shop-muted);
  font-family: Montserrat, sans-serif;
  font-size: clamp(1rem, .94rem + .22vw, 1.12rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
}

.tl-shop .wc-block-grid {
  margin: 0;
}

.tl-shop .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  margin: 0 !important;
  padding: 0 !important;
}

.tl-shop .wc-block-grid__product {
  display: flex !important;
  grid-column: span 2;
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid rgba(93, 109, 101, .16) !important;
  border-radius: 18px;
  background: var(--tl-shop-paper) !important;
  box-shadow: 0 12px 34px rgba(38, 53, 47, .07);
  text-align: left;
  transition: box-shadow .2s ease, transform .2s ease;
}

.tl-shop--manifestointi .wc-block-grid__product:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}

.tl-shop--manifestointi .wc-block-grid__product:nth-child(5):last-child {
  grid-column: 4 / span 2;
}

.tl-shop .wc-block-grid__product:hover {
  box-shadow: 0 20px 46px rgba(38, 53, 47, .13);
  transform: translateY(-4px);
}

.tl-shop .wc-block-grid__product-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e4d9;
}

.tl-shop .wc-block-grid__product-link img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform .35s ease;
}

.tl-shop .wc-block-grid__product:hover .wc-block-grid__product-link img {
  transform: scale(1.025);
}

.tl-shop .product-details {
  display: flex;
  min-height: 172px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px !important;
  background: transparent !important;
}

.tl-shop .wc-block-grid__product-title-link {
  color: var(--tl-shop-ink) !important;
  text-decoration: none !important;
}

.tl-shop .wc-block-grid__product-title {
  margin: 0;
  color: var(--tl-shop-ink);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.25rem, 1.15rem + .25vw, 1.42rem);
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1.24;
  text-align: left;
}

.tl-shop .wc-block-grid__product-add-to-cart {
  margin: auto 0 0 !important;
  padding-top: 1.35rem;
}

body.home .entry-content #fluentform_5 button.ff-btn-submit,
body.page-id-1380 .entry-content #fluentform_1 button.ff-btn-submit,
body.page-id-1380 .entry-content a.kb-button,
body.page-id-1576 .entry-content .wc-block-grid__product-add-to-cart a.wp-block-button__link,
body.page-id-1380 .entry-content .wc-block-grid__product-add-to-cart a.wp-block-button__link {
  display: inline-flex !important;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.25rem !important;
  border: 2px solid var(--tl-shop-forest, #284b3b) !important;
  border-radius: 999px !important;
  background: var(--tl-shop-forest, #284b3b) !important;
  color: #fffdf8 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: .92rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

body.home .entry-content #fluentform_5 button.ff-btn-submit:hover,
body.page-id-1380 .entry-content #fluentform_1 button.ff-btn-submit:hover,
body.page-id-1380 .entry-content a.kb-button:hover,
body.page-id-1576 .entry-content .wc-block-grid__product-add-to-cart a.wp-block-button__link:hover,
body.page-id-1380 .entry-content .wc-block-grid__product-add-to-cart a.wp-block-button__link:hover {
  border-color: var(--tl-shop-forest-dark, #18372b) !important;
  background: var(--tl-shop-forest-dark, #18372b) !important;
  color: #fffdf8 !important;
  transform: translateY(-2px);
}

/* Editorial author close for the Manifestointi and Numerologia hubs. */

.tl-signature {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: clamp(78px, 9vw, 126px) 0 0 -50vw;
  color: #26352f;
  font-family: Montserrat, sans-serif;
}

@media (min-width: 901px) {
  :is(.tl-market--manifestointi, .tl-market--numerologia) .tl-longform .tl-signature {
    left: calc(50% - 170px);
  }
}

.tl-signature__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, .72fr);
  width: min(1060px, calc(100% - 40px));
  min-height: 450px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #e1d6c2;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 14px 38px rgba(38, 53, 47, .08);
}

.tl-signature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 76px);
}

.tl-signature--manifestointi .tl-signature__copy {
  background: #efe0df;
}

.tl-signature--numerologia .tl-signature__copy {
  background: #dfedf2;
}

.tl-longform .tl-signature__eyebrow {
  margin: 0 0 18px;
  color: #8c5660;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tl-signature--numerologia .tl-signature__eyebrow {
  color: #527f99;
}

.tl-longform .tl-signature__quote {
  max-width: 15ch;
  margin: 0 0 34px;
  padding: 0;
  border: 0;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.45rem, 2rem + 2vw, 3.65rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
  scroll-margin-top: 0;
  text-wrap: balance;
}

.tl-longform .tl-signature__identity {
  margin: 0;
  color: #26352f;
  font-size: .94rem;
  line-height: 1.7;
}

.tl-signature__identity strong,
.tl-signature__identity span {
  display: block;
}

.tl-signature__identity strong {
  color: #284b3b;
  font-size: 1.05rem;
  font-weight: 600;
}

.tl-longform .tl-signature__link {
  width: fit-content;
  min-height: 44px;
  margin-top: 22px;
  padding-block: 10px;
  color: #284b3b !important;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: underline !important;
  text-decoration-thickness: .08em !important;
  text-underline-offset: .24em;
}

.tl-signature__portrait {
  position: relative;
  min-width: 0;
  min-height: 360px;
  margin: 0;
  background: #fffdf8;
}

.tl-signature__portrait::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid #ddd1af;
  border-radius: 48% 48% 14px 14px;
}

.tl-signature--numerologia .tl-signature__portrait::before {
  border-color: #b7d2df;
  border-radius: 50% 50% 18px 18px;
}

.tl-signature__portrait img {
  position: absolute;
  inset: 44px 38px 0;
  display: block;
  width: calc(100% - 76px);
  height: calc(100% - 44px);
  border-radius: 48% 48% 0 0;
  object-fit: cover;
  object-position: center 22%;
}

.tl-signature--numerologia .tl-signature__portrait img {
  border-radius: 50% 50% 0 0;
}

.tl-longform .tl-signature__fineprint {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 13px 24px 0;
  color: #6a756f;
  font-size: .7rem;
  line-height: 1.5;
  text-align: center;
}

.tl-market--numerologia {
  background: var(--tl-paper-clean);
}

.tl-numerologia-intro {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
  padding-bottom: clamp(68px, 8vw, 108px);
}

.tl-numerologia-intro h2 {
  margin-bottom: 1.5rem;
  color: var(--tl-forest) !important;
  font-size: clamp(2.5rem, 2rem + 1.8vw, 3.65rem);
}

.tl-numerologia-intro h3 {
  margin: clamp(42px, 5vw, 62px) 0 1rem;
}

.tl-numerologia-intro p {
  margin-bottom: 1.45rem;
}

.tl-numerologia-intro blockquote {
  margin: clamp(36px, 5vw, 56px) 0;
  padding: clamp(28px, 4vw, 42px);
  border: 0;
  border-left: 5px solid var(--tl-sea);
  background: var(--tl-sea-soft);
  color: var(--tl-forest);
  font-size: clamp(1.35rem, 1.18rem + .65vw, 1.75rem);
}

.tl-numerologia-intro blockquote p {
  margin: 0;
}

.tl-market--numerologia #fluentform_1 {
  margin-block: clamp(42px, 5vw, 64px);
  padding: clamp(26px, 4vw, 42px);
  border-radius: 20px;
  background: var(--tl-sea-soft);
}

.tl-market--numerologia #fluentform_1 fieldset {
  min-inline-size: 0;
}

.tl-market--numerologia #fluentform_1 label {
  color: var(--tl-ink);
  font-size: .9rem;
  font-weight: 600;
}

.tl-market--numerologia #fluentform_1 :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: 52px;
  border: 1px solid var(--tl-line);
  border-radius: 10px;
  background: var(--tl-paper-clean);
  color: var(--tl-ink);
}

.tl-market--numerologia #fluentform_1 .ff-btn-submit {
  min-height: 50px;
  padding: .8rem 1.35rem;
  border: 2px solid var(--tl-forest);
  border-radius: 999px;
  background: var(--tl-forest);
  color: var(--tl-white);
  font-weight: 500;
}

.tl-market--numerologia #fluentform_1 .ff-btn-submit:hover {
  border-color: var(--tl-forest-dark);
  background: var(--tl-forest-dark);
}

.tl-market--numerologia .kb-button {
  min-height: 48px;
  padding: .75rem 1.2rem;
  border: 2px solid var(--tl-forest) !important;
  border-radius: 999px !important;
  background: var(--tl-forest) !important;
  color: var(--tl-white) !important;
}

.tl-market--numerologia .wp-block-kadence-rowlayout .kt-row-column-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Numerologia service pages: preserve the existing copy and SEO structure,
 * while bringing their long-form presentation into the editorial system. */

:is(body.page-id-1154, body.page-id-1569) .entry-content {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
  padding-bottom: clamp(88px, 10vw, 148px);
  color: #26352f;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1rem, .97rem + .12vw, 1.075rem);
  line-height: 1.72;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content > p:first-child {
  margin: 0 0 clamp(30px, 4vw, 44px);
  padding: clamp(28px, 4vw, 42px);
  border-left: 5px solid #527f99;
  background: #e2eef3;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 1.23rem + .7vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.28;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content > p:nth-child(2) {
  margin-bottom: 1.35rem;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.35rem, 1.18rem + .55vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1.34;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content > p:nth-child(3) {
  color: #5d6d65;
  font-size: clamp(1.05rem, 1rem + .22vw, 1.18rem);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content :where(h2, h3, h4) {
  color: #26352f;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.1;
  text-wrap: balance;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content h2 {
  margin: clamp(70px, 8vw, 104px) 0 1.35rem;
  padding-top: clamp(48px, 6vw, 70px);
  border-top: 1px solid #ddd1af;
  font-size: clamp(2.15rem, 1.72rem + 1.5vw, 3.15rem);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content h3 {
  margin: clamp(44px, 6vw, 66px) 0 1rem;
  font-size: clamp(1.65rem, 1.42rem + .7vw, 2.12rem);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content h4 {
  margin: 2.8rem 0 1rem;
  color: #527f99;
  font-size: clamp(1.35rem, 1.2rem + .45vw, 1.65rem);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content :where(p, ul) {
  margin-bottom: 1.45rem;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content ul {
  padding-left: 1.3rem;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content li {
  margin-bottom: .55rem;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content a:not(.wp-block-button__link) {
  color: #284b3b;
  font-weight: 500;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content .wp-block-spacer {
  height: clamp(18px, 3vw, 30px) !important;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content :where(.wp-block-buttons, .kb-buttons-wrap) {
  margin-block: clamp(30px, 4vw, 46px);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content :is(.wp-block-button__link, .kb-button),
:is(body.page-id-1154, body.page-id-1569) .entry-content .wc-block-grid__product-add-to-cart .wp-block-button__link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.35rem !important;
  border: 2px solid #284b3b !important;
  border-radius: 999px !important;
  background: #284b3b !important;
  color: #fffdf8 !important;
  font-family: Montserrat, sans-serif;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content :is(.wp-block-button__link, .kb-button):hover,
:is(body.page-id-1154, body.page-id-1569) .entry-content .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
  border-color: #18372b !important;
  background: #18372b !important;
  transform: translateY(-2px);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content .wp-block-image {
  margin-block: clamp(48px, 6vw, 76px);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content .wp-block-image:has(.wp-image-1800),
:is(body.page-id-1154, body.page-id-1569) .entry-content .wp-block-image:has(.wp-image-1802) {
  width: min(900px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content .wp-block-image:has(.wp-image-1800) img,
:is(body.page-id-1154, body.page-id-1569) .entry-content .wp-block-image:has(.wp-image-1802) img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(38, 53, 47, .1);
}

/* Numerologia (page 1380) alphabet reference chart — cap its native 1024px width
   so it reads as an inline reference, not a full-column hero. Matched by filename
   stem, not the wp-image-* id: the attachment id differs across envs
   (prod 30284 .avif, staging 30289 .png). */

body.page-id-1380 .entry-content img[src*="Numerologiset_aakkoset_tarkennettu"] {
  display: block;
  width: min(600px, 100%);
  height: auto;
  margin-inline: auto;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content .wp-image-7420 {
  width: min(320px, 82vw);
  height: auto;
  aspect-ratio: 4 / 5;
  content: url('/wp-content/uploads/2026/08/tuulia-helmisola-homepage-20260824.jpg');
  object-fit: cover;
  object-position: center top;
  border-radius: 48% 48% 14px 14px;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content .wc-block-grid {
  width: min(900px, calc(100vw - 40px));
  max-width: none;
  margin: clamp(42px, 6vw, 68px) 0 clamp(54px, 7vw, 82px) 50%;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 22px;
  background: linear-gradient(135deg, #dfedf2 0%, #f8f3e9 72%);
  transform: translateX(-50%);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content .wc-block-grid__products {
  justify-content: center;
  margin: 0 !important;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content .wc-block-grid__product {
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  overflow: hidden;
  border: 1px solid rgba(93, 109, 101, .16) !important;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 14px 36px rgba(38, 53, 47, .08);
}

:is(body.page-id-1154, body.page-id-1569) .entry-content .wc-block-grid__product-title {
  color: #26352f;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.35rem, 1.2rem + .4vw, 1.62rem);
  font-weight: 500;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content :where(a, button):focus-visible {
  outline: 3px solid #527f99;
  outline-offset: 4px;
}

/* Tuulia Helmisola: portrait-led editorial profile. */

body.page-id-108 .entry-content {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: 0 clamp(52px, 7vw, 92px);
  width: min(1060px, calc(100% - 40px));
  margin-inline: auto;
  padding-bottom: clamp(92px, 10vw, 148px);
  color: #26352f;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1rem, .97rem + .12vw, 1.075rem);
  line-height: 1.72;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) #primary > .content-container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

:is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) article.single-entry {
  width: 100%;
}

body.page-id-108 .entry-content > p {
  grid-column: 2;
  margin: 0 0 1.45rem;
}

body.page-id-108 .entry-content > p:first-child {
  margin-bottom: clamp(34px, 5vw, 52px);
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.55rem, 1.3rem + .8vw, 2.08rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.3;
}

body.page-id-108 .entry-content > p:nth-child(2)::before,
body.page-id-108 .entry-content > p:nth-child(7)::before {
  display: block;
  margin-bottom: 1rem;
  color: #9c5f68;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.page-id-108 .entry-content > p:nth-child(2)::before {
  content: "Tausta ja osaaminen";
}

body.page-id-108 .entry-content > p:nth-child(7)::before {
  content: "Työskentelytapani";
  margin-top: clamp(42px, 6vw, 68px);
  padding-top: clamp(42px, 6vw, 62px);
  border-top: 1px solid #ddd1af;
}

body.page-id-108 .entry-content > p:nth-child(10) {
  margin-top: clamp(38px, 5vw, 56px);
  padding: clamp(28px, 4vw, 40px);
  background: #284b3b;
  color: #fffdf8;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.55rem, 1.32rem + .72vw, 2rem);
  font-weight: 500;
  hyphens: none;
  letter-spacing: -.02em;
  line-height: 1.32;
  overflow-wrap: normal;
  word-break: normal;
}

body.page-id-108 .entry-content > p:nth-child(10)::before {
  content: "Tuulian motto";
  display: block;
  margin-bottom: .85rem;
  color: #ddd1af;
  font-family: Montserrat, sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.page-id-108 .entry-content > .wp-block-image {
  position: sticky;
  top: 82px;
  grid-column: 1;
  grid-row: 1 / span 10;
  width: 100%;
  margin: 0;
  align-self: start;
}

body:has(#kadence-conversion-9904.kc-visible).page-id-108 .entry-content > .wp-block-image {
  top: 140px;
}

body.page-id-108 .entry-content > .wp-block-image::after {
  content: "Lempeä, maanläheinen ja tasavertainen kanssakulkija";
  display: block;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid #ddd1af;
  color: #5d6d65;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.55;
}

body.page-id-108 .entry-content .wp-image-7420 {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  content: url('/wp-content/uploads/2026/08/tuulia-helmisola-homepage-20260824.jpg');
  object-fit: cover;
  object-position: center top;
  border-radius: 48% 48% 14px 14px;
  box-shadow: 0 18px 46px rgba(38, 53, 47, .1);
}

body.page-id-108 .entry-content a {
  color: #284b3b;
  font-weight: 500;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

body.page-id-108 .entry-content a:focus-visible {
  outline: 3px solid #9c5f68;
  outline-offset: 4px;
}

/* Manifestointi service pages: warm editorial counterpart to Numerologia. */

:is(body.page-id-58, body.page-id-1397) .entry-content {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
  padding-bottom: clamp(88px, 10vw, 148px);
  color: #26352f;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1rem, .97rem + .12vw, 1.075rem);
  line-height: 1.72;
}

:is(body.page-id-58, body.page-id-1397) .entry-content > p:first-child {
  margin: 0 0 clamp(30px, 4vw, 44px);
  padding: clamp(28px, 4vw, 42px);
  border-left: 5px solid #9c5f68;
  background: #efe0df;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 1.23rem + .7vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.28;
}

:is(body.page-id-58, body.page-id-1397) .entry-content > p:nth-child(2) {
  margin-bottom: 1.35rem;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.35rem, 1.18rem + .55vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1.34;
}

:is(body.page-id-58, body.page-id-1397) .entry-content > p:nth-child(3) {
  color: #5d6d65;
  font-size: clamp(1.05rem, 1rem + .22vw, 1.18rem);
}

:is(body.page-id-58, body.page-id-1397) .entry-content :where(h2, h3, h4) {
  color: #26352f;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.1;
  text-wrap: balance;
}

:is(body.page-id-58, body.page-id-1397) .entry-content h2 {
  margin: clamp(70px, 8vw, 104px) 0 1.35rem;
  padding-top: clamp(48px, 6vw, 70px);
  border-top: 1px solid #ddd1af;
  font-size: clamp(2.15rem, 1.72rem + 1.5vw, 3.15rem);
}

:is(body.page-id-58, body.page-id-1397) .entry-content h3 {
  margin: clamp(44px, 6vw, 66px) 0 1rem;
  font-size: clamp(1.65rem, 1.42rem + .7vw, 2.12rem);
}

:is(body.page-id-58, body.page-id-1397) .entry-content h4 {
  margin: 2.8rem 0 1rem;
  color: #9c5f68;
  font-size: clamp(1.35rem, 1.2rem + .45vw, 1.65rem);
}

:is(body.page-id-58, body.page-id-1397) .entry-content :where(p, ul) {
  margin-bottom: 1.45rem;
}

:is(body.page-id-58, body.page-id-1397) .entry-content ul {
  padding-left: 1.3rem;
}

:is(body.page-id-58, body.page-id-1397) .entry-content li {
  margin-bottom: .55rem;
}

:is(body.page-id-58, body.page-id-1397) .entry-content a:not(.wp-block-button__link, .kb-button) {
  color: #284b3b;
  font-weight: 500;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-spacer {
  height: clamp(18px, 3vw, 30px) !important;
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-buttons,
:is(body.page-id-58, body.page-id-1397) .entry-content .kb-buttons-wrap {
  margin-block: clamp(30px, 4vw, 46px);
  justify-content: center;
}

:is(body.page-id-58, body.page-id-1397) .entry-content :where(.wp-block-button__link, .kb-button),
:is(body.page-id-58, body.page-id-1397) .entry-content .wc-block-grid__product-add-to-cart .wp-block-button__link {
  display: inline-flex !important;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.35rem !important;
  border: 2px solid #284b3b !important;
  border-radius: 999px !important;
  background: #284b3b !important;
  color: #fffdf8 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: .92rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

:is(body.page-id-58, body.page-id-1397) .entry-content :where(.wp-block-button__link, .kb-button):hover,
:is(body.page-id-58, body.page-id-1397) .entry-content .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
  border-color: #18372b !important;
  background: #18372b !important;
  transform: translateY(-2px);
}

:is(body.page-id-58, body.page-id-1397) .entry-content blockquote {
  margin: clamp(36px, 5vw, 58px) 0;
  padding: clamp(28px, 4vw, 42px);
  border: 0;
  border-left: 5px solid #9c5f68;
  background: #efe0df;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.25rem, 1.12rem + .45vw, 1.58rem);
  line-height: 1.48;
}

:is(body.page-id-58, body.page-id-1397) .entry-content blockquote p:last-child {
  margin-bottom: 0;
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-image {
  margin-block: clamp(48px, 6vw, 76px);
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-image:not(:has(.wp-image-7420)) {
  width: min(900px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-image:not(:has(.wp-image-7420)) img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(38, 53, 47, .1);
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-image-7420 {
  width: min(320px, 82vw);
  height: auto;
  aspect-ratio: 4 / 5;
  content: url('/wp-content/uploads/2026/08/tuulia-helmisola-homepage-20260824.jpg');
  object-fit: cover;
  object-position: center top;
  border-radius: 48% 48% 14px 14px;
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-kadence-rowlayout .kt-row-column-wrap,
:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-kadence-column .kt-inside-inner-col {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-kadence-rowlayout:has(.wc-block-grid) {
  width: min(900px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-kadence-rowlayout:has(.wc-block-grid) .kt-row-column-wrap {
  grid-template-columns: 1fr !important;
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wc-block-grid {
  width: min(900px, calc(100vw - 40px));
  max-width: none;
  margin: clamp(42px, 6vw, 68px) 0 clamp(54px, 7vw, 82px) 50%;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 22px;
  background: linear-gradient(135deg, #f1dfdc 0%, #f8f3e9 72%);
  transform: translateX(-50%);
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wp-block-kadence-rowlayout:has(.wc-block-grid) .wc-block-grid {
  width: 100%;
  margin: 0;
  transform: none;
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wc-block-grid__products {
  justify-content: center;
  gap: 24px;
  margin: 0 !important;
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wc-block-grid__product {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(93, 109, 101, .16) !important;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 14px 36px rgba(38, 53, 47, .08);
}

:is(body.page-id-58, body.page-id-1397) .entry-content .wc-block-grid__product-title {
  color: #26352f;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.3rem, 1.18rem + .35vw, 1.55rem);
  font-weight: 500;
}

:is(body.page-id-58, body.page-id-1397) .entry-content :where(a, button):focus-visible {
  outline: 3px solid #9c5f68;
  outline-offset: 4px;
}

/* Compact author/contact close on the four legacy service and sales pages.
 * Their source copy remains untouched; the final portrait and adjacent contact
 * paragraphs are composed into one editorial panel by their stable page IDs. */

:is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) {
  position: relative;
  width: min(900px, calc(100vw - 40px));
  max-width: none;
  height: 300px;
  margin: clamp(78px, 9vw, 118px) 0 0 50%;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(221, 209, 175, .72);
  border-radius: 22px;
  background: #dfedf2;
  box-shadow: 0 14px 38px rgba(38, 53, 47, .07);
  transform: translateX(-50%);
}

:is(body.page-id-58, body.page-id-1397) .entry-content > .wp-block-image:has(.wp-image-7420) {
  background: #efe0df;
}

body.page-id-58 .entry-content > .wp-block-image:has(.wp-image-7420) {
  height: 326px;
}

:is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420)::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  width: 226px;
  height: calc(100% - 48px);
  border: 1px solid rgba(40, 75, 59, .16);
  border-radius: 48% 48% 14px 14px;
  pointer-events: none;
}

:is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420)::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 32px;
  width: 194px;
  height: 236px;
  border-radius: 48% 48% 0 0;
  background: url('/wp-content/uploads/2026/08/tuulia-helmisola-homepage-20260824-1016x1024.jpg') center 20% / cover no-repeat;
  pointer-events: none;
}

body.page-id-58 .entry-content > .wp-block-image:has(.wp-image-7420)::after {
  height: 262px;
}

:is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) > figure {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%);
}

:is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) .wp-image-7420 {
  display: block;
  width: 1px;
  height: 1px;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 48% 48% 0 0;
  box-shadow: none;
}

:is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) + p {
  position: relative;
  z-index: 2;
  width: min(430px, calc(100% - 286px));
  margin: -222px 34px .3rem auto;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.55rem, 1.35rem + .6vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-align: left;
}

body.page-id-58 .entry-content > .wp-block-image:has(.wp-image-7420) + p {
  margin-top: -248px;
  color: #8c5660;
  font-family: Montserrat, sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

:is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) + p ~ p {
  position: relative;
  z-index: 2;
  width: min(430px, calc(100% - 286px));
  margin: 0 34px .35rem auto;
  color: #5d6d65;
  font-size: .86rem;
  line-height: 1.55;
  text-align: left;
}

body.page-id-58 .entry-content > .wp-block-image:has(.wp-image-7420) + p + p {
  margin-bottom: .45rem;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.55rem, 1.35rem + .6vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
}

:is(body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) + p + p + p,
body.page-id-1397 .entry-content > .wp-block-image:has(.wp-image-7420) + p + p,
body.page-id-58 .entry-content > .wp-block-image:has(.wp-image-7420) + p + p + p + p + p {
  margin-bottom: 100px;
  color: #6a756f;
  font-size: .7rem;
}

body.page-id-58 .entry-content > .wp-block-image:has(.wp-image-7420) + p + p + p + p + p + p:empty {
  display: none;
}

/* ---- Featured single-product offer cards -------------------------------
 * These handpicked-products blocks are configured as 2 columns but each holds
 * a single product, so the card used to sit in the left grid track with the
 * whole right track showing as empty gradient ("huge empty background"). We
 * replace the box-in-a-box (a card floating inside a near-identical gradient
 * panel) with ONE clean offer card. Layout differs by image:
 *   - 1569 + 1397 use a horizontal split (photo left, details right); their
 *     photos are plain 4:3 and crop cleanly.
 *   - 1154's photo has baked-in text ("NUMEROLOGIA ..."), so it stays a
 *     vertical card (full-width image on top, uncropped) to preserve the text.
 * Gated to the single-product case (:has(:only-child)) where it matters, so a
 * future 2nd product falls back to the wide per-page grid above. Scoped to
 * 1154/1569/1397; Manifestointi (58) left as-is. Placed after the per-page grid
 * rules so it wins by source order. (verified on staging 2026-08-25) */

/* Shared card frame + details. */

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) {
  max-width: none;
  padding: 0;
  border: 1px solid rgba(221, 209, 175, .6);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 24px 60px rgba(38, 53, 47, .11);
  overflow: hidden;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__products {
  display: block !important;
  padding: 0 !important;
  list-style: none;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
  text-align: left;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-link {
  display: block;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-link img {
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 0;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .product-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .5rem;
  padding: clamp(26px, 3.2vw, 42px) !important;
  background: #fffdf8 !important;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .product-details::before {
  content: "Tuote";
  color: #527f99;
  font-family: Montserrat, sans-serif;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* 1569 is a bundle of two services, so it earns a "package" label. */

body.page-id-1569 .entry-content .product-details::before {
  content: "Tuotepaketti";
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-title-link {
  text-decoration: none;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-title {
  margin: 0;
  color: #26352f;
  font-size: clamp(1.5rem, 1.28rem + .7vw, 1.95rem);
  line-height: 1.16;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-price {
  margin: .15rem 0 .35rem;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.5rem, 1.3rem + .5vw, 1.85rem);
  font-weight: 500;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-price .woocommerce-price-suffix {
  display: block;
  margin-top: .15rem;
  color: #5d6d65;
  font-family: Montserrat, sans-serif;
  font-size: .75rem;
  font-weight: 400;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-add-to-cart {
  width: 100%;
  margin-top: .7rem !important;
  padding-top: 0;
}

:is(body.page-id-1154, body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-add-to-cart .wp-block-button__link {
  width: 100%;
}

/* Horizontal split — plain photos (1569, 1397). */

:is(body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) {
  width: min(760px, calc(100vw - 40px));
}

:is(body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product {
  display: grid !important;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
}

:is(body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-link {
  height: 100%;
  min-height: 240px;
}

:is(body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-link img {
  height: 100%;
  object-fit: cover;
}

/* Vertical — text-bearing photo kept whole (1154). */

body.page-id-1154 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) {
  width: min(560px, calc(100vw - 40px));
}

body.page-id-1154 .entry-content .wc-block-grid__product-link img {
  height: auto;
}

@media (max-width: 640px) {
  :is(body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) {
    width: min(440px, calc(100vw - 40px));
  }

  :is(body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product {
    grid-template-columns: 1fr;
  }

  :is(body.page-id-1569, body.page-id-1397) .entry-content .wc-block-grid__product-link {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ---- Page 58 (Luo rahaa / manifestointi) single-product offer card ------
 * Same clean offer card as 1154/1569/1397, but page 58 carries TWO handpicked
 * blocks: the single "Tilaa manifestointi verkkokurssi tästä" product (Block A)
 * AND a 2-product block below it. The shared offer-card rules above are NOT
 * gated to :only-child, so applying them here would also flatten the 2-product
 * block — which is why 58 was left as-is originally. So every rule below is
 * scoped THROUGH .wc-block-grid:has(.wc-block-grid__product:only-child): only
 * the single-product block becomes a card; the 2-product block keeps the wide
 * rose grid above. The Luo rahaa photo has baked-in text, so — like 1154 — it
 * stays a VERTICAL card (full-width image on top, uncropped). Eyebrow uses the
 * rose accent to match the manifestointi palette. (added 2026-08-25) */

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) {
  width: min(560px, calc(100vw - 40px));
  max-width: none;
  /* The card lives in a Kadence column wider than the card, so centre it
     within that column (the row itself is already page-centred). */
  margin-inline: auto;
  padding: 0;
  border: 1px solid rgba(221, 209, 175, .6);
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 24px 60px rgba(38, 53, 47, .11);
  overflow: hidden;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__products {
  display: block !important;
  padding: 0 !important;
  list-style: none;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__product {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
  text-align: left;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__product-link {
  display: block;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__product-link img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .product-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .5rem;
  padding: clamp(26px, 3.2vw, 42px) !important;
  background: #fffdf8 !important;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .product-details::before {
  content: "Tuote";
  color: #9c5f68;
  font-family: Montserrat, sans-serif;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__product-title-link {
  text-decoration: none;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__product-title {
  margin: 0;
  color: #26352f;
  font-size: clamp(1.5rem, 1.28rem + .7vw, 1.95rem);
  line-height: 1.16;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__product-price {
  margin: .15rem 0 .35rem;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.5rem, 1.3rem + .5vw, 1.85rem);
  font-weight: 500;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__product-price .woocommerce-price-suffix {
  display: block;
  margin-top: .15rem;
  color: #5d6d65;
  font-family: Montserrat, sans-serif;
  font-size: .75rem;
  font-weight: 400;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__product-add-to-cart {
  width: 100%;
  margin-top: .7rem !important;
  padding-top: 0;
}

body.page-id-58 .entry-content .wc-block-grid:has(.wc-block-grid__product:only-child) .wc-block-grid__product-add-to-cart .wp-block-button__link {
  width: 100%;
}

/* ---- Page 58 second (2-product) handpicked block -----------------------
 * WooCommerce lays this out as a 3-column grid holding only 2 products, so the
 * empty third column showed as blank rose space, and the two cards were unequal
 * height with the CTAs floating at different levels (the source photos aren't
 * the same aspect). Give it a clean, equal-height 2-up card grid: exactly two
 * columns, images cropped to a uniform 4:3, and the CTA pinned to the bottom of
 * each card. Scoped with :not(:has(:only-child)) so ONLY the multi-product grid
 * is touched — the single-product offer card above keeps its vertical layout.
 * Drop the rose gradient panel too (no box-in-a-box): the two cards sit clean
 * on the page like the single offer card above. (added 2026-08-25) */

body.page-id-58 .entry-content .wc-block-grid:not(:has(.wc-block-grid__product:only-child)) {
  width: min(760px, calc(100vw - 40px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.page-id-58 .entry-content .wc-block-grid:not(:has(.wc-block-grid__product:only-child)) .wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px;
}

body.page-id-58 .entry-content .wc-block-grid:not(:has(.wc-block-grid__product:only-child)) .wc-block-grid__product {
  display: flex !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  flex-direction: column;
  overflow: hidden;
}

body.page-id-58 .entry-content .wc-block-grid:not(:has(.wc-block-grid__product:only-child)) .wc-block-grid__product-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

body.page-id-58 .entry-content .wc-block-grid:not(:has(.wc-block-grid__product:only-child)) .wc-block-grid__product-link img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  object-fit: cover;
}

body.page-id-58 .entry-content .wc-block-grid:not(:has(.wc-block-grid__product:only-child)) .product-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.4vw, 28px) !important;
  background: #fffdf8 !important;
}

body.page-id-58 .entry-content .wc-block-grid:not(:has(.wc-block-grid__product:only-child)) .wc-block-grid__product-add-to-cart {
  width: 100%;
  margin-top: auto !important;
  padding-top: 1.1rem;
}

body.page-id-58 .entry-content .wc-block-grid:not(:has(.wc-block-grid__product:only-child)) .wc-block-grid__product-add-to-cart .wp-block-button__link {
  width: 100%;
}

@media (max-width: 640px) {
  body.page-id-58 .entry-content .wc-block-grid:not(:has(.wc-block-grid__product:only-child)) .wc-block-grid__products {
    grid-template-columns: 1fr !important;
  }
}

/* The Great Invocation is intentionally quieter and more ceremonial. */

body.page-id-6801 .entry-content {
  width: min(760px, calc(100% - 40px));
  margin: clamp(58px, 7vw, 92px) auto clamp(90px, 10vw, 144px);
  padding: clamp(38px, 6vw, 74px);
  border: 1px solid rgba(156, 95, 104, .18);
  border-radius: 28px;
  background: linear-gradient(150deg, #fffdf8 0%, #f8f3e9 62%, #efe0df 100%);
  box-shadow: 0 22px 54px rgba(38, 53, 47, .08);
  color: #26352f;
  font-family: Montserrat, sans-serif;
  line-height: 1.75;
  text-align: center;
}

body.page-id-6801 .entry-content > h1 {
  max-width: 12ch;
  margin: 0 auto clamp(42px, 6vw, 64px);
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3rem, 2.25rem + 2.7vw, 4.55rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}

body.page-id-6801 .entry-content > h1::before {
  content: "Valoa ja hyvyyttä maailmaan";
  display: block;
  margin-bottom: 1rem;
  color: #9c5f68;
  font-family: Montserrat, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.page-id-6801 .entry-content > p {
  margin-bottom: .55rem;
  color: #3f5149;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.16rem, 1.06rem + .32vw, 1.38rem);
  line-height: 1.58;
}

body.page-id-6801 .entry-content > p:empty {
  display: none;
}

body.page-id-6801 .entry-content .wp-block-spacer {
  height: clamp(16px, 3vw, 28px) !important;
}

body.page-id-6801 .entry-content h4 {
  max-width: 42ch;
  margin: clamp(58px, 8vw, 88px) auto 1.5rem;
  padding-top: clamp(48px, 6vw, 68px);
  border-top: 1px solid #ddd1af;
  color: #26352f;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 1.25rem + .65vw, 1.9rem);
  font-weight: 500;
  line-height: 1.3;
}

body.page-id-6801 .entry-content .wp-block-image {
  margin-block: clamp(32px, 5vw, 54px);
}

body.page-id-6801 .entry-content .wp-block-image img {
  width: min(520px, 100%);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(38, 53, 47, .13);
  transition: transform .2s ease, box-shadow .2s ease;
}

body.page-id-6801 .entry-content .wp-block-image a:hover img {
  box-shadow: 0 24px 52px rgba(38, 53, 47, .18);
  transform: translateY(-3px);
}

body.page-id-6801 .entry-content > h3 {
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: clamp(28px, 4vw, 40px);
  background: #284b3b;
  color: #fffdf8;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 1.25rem + .65vw, 1.9rem);
  font-weight: 500;
  line-height: 1.38;
}

body.page-id-6801 .entry-content a:focus-visible {
  outline: 3px solid #9c5f68;
  outline-offset: 5px;
}

/* Contact page: editorial guidance beside a focused form card. */

body.page-id-93 .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

body.page-id-93 .entry-content-wrap {
  padding: 0;
}

body.page-id-93 #primary > .content-container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

body.page-id-93 .entry.single-entry {
  width: 100%;
  box-shadow: none;
}

body.page-id-93 .content-bg,
body.page-id-93.content-style-boxed .site {
  background: #fffdf8;
}

body.page-id-93 .entry-header {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(66px, 7vw, 94px) 0 clamp(42px, 5vw, 64px);
}

body.page-id-93 .entry-header::before {
  content: "Ota rohkeasti yhteyttä";
  display: block;
  margin-bottom: 1rem;
  color: #9c5f68;
  font-family: Montserrat, sans-serif;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body.page-id-93 .entry-title {
  max-width: 12ch;
  margin: 0;
  color: #26352f;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(3.25rem, 2.4rem + 3.1vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}

body.page-id-93 .entry-content {
  margin: 0;
}

body.page-id-93 .tl-contact {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none !important;
  padding: 0 0 clamp(96px, 11vw, 154px);
  color: #26352f;
  font-family: Montserrat, sans-serif;
}

body.page-id-93 .tl-contact::before {
  position: absolute;
  top: 10%;
  right: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #e8f1f3;
  content: "";
  pointer-events: none;
}

body.page-id-93 .tl-contact__layout {
  position: relative;
  z-index: 1;
  width: min(1060px, calc(100% - 40px));
  max-width: 1060px !important;
  margin: 0 auto;
}

body.page-id-93 .tl-contact__layout > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

body.page-id-93 .tl-contact__aside {
  padding-top: clamp(30px, 4vw, 52px);
}

body.page-id-93 .tl-contact__eyebrow {
  margin: 0 0 1rem;
  color: #9c5f68;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.page-id-93 .tl-contact__aside h2,
body.page-id-93 .tl-contact__form-card h2 {
  margin: 0;
  color: #284b3b;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.025em;
  text-wrap: balance;
}

body.page-id-93 .tl-contact__aside h2 {
  max-width: 12ch;
  font-size: clamp(2.25rem, 1.85rem + 1.45vw, 3.15rem);
  line-height: 1.08;
}

body.page-id-93 .tl-contact__lead {
  max-width: 38ch;
  margin: 1.65rem 0 0;
  color: #52635b;
  font-size: 1.03rem;
  line-height: 1.72;
}

body.page-id-93 .tl-contact__topics {
  display: grid;
  gap: .85rem;
  margin: 2rem 0 0;
  padding: 1.8rem 0 0;
  border-top: 1px solid #ddd1af;
  list-style: none;
}

body.page-id-93 .tl-contact__topics li {
  position: relative;
  margin: 0;
  padding-left: 1.45rem;
  color: #3f5149;
  font-size: .94rem;
  line-height: 1.55;
}

body.page-id-93 .tl-contact__topics li::before {
  position: absolute;
  top: .48em;
  left: 0;
  width: .52rem;
  height: .52rem;
  border-radius: 50%;
  background: #c98c94;
  content: "";
}

body.page-id-93 .tl-contact__form-card {
  width: 100%;
  max-width: none !important;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(156, 95, 104, .16);
  border-radius: 28px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 24px 62px rgba(38, 53, 47, .1);
}

body.page-id-93 .tl-contact__form-card h2 {
  font-size: clamp(2rem, 1.72rem + 1vw, 2.65rem);
  line-height: 1.12;
}

body.page-id-93 .tl-contact__form-card > p:not(.tl-contact__eyebrow) {
  max-width: 44ch;
  margin: 1rem 0 2rem;
  color: #5d6d65;
  font-size: .96rem;
  line-height: 1.65;
}

body.page-id-93 #fluentform_6 .ff-el-group {
  margin-bottom: 1.2rem;
}

body.page-id-93 #fluentform_6 label {
  margin-bottom: .48rem;
  color: #284b3b;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .025em;
}

body.page-id-93 #fluentform_6 :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  border: 1px solid #d8d0c4;
  border-radius: 12px;
  background: #fffdf8;
  color: #26352f;
  font-family: Montserrat, sans-serif;
  font-size: .96rem;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

body.page-id-93 #fluentform_6 input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 54px;
  padding: .85rem 1rem;
}

body.page-id-93 #fluentform_6 textarea {
  min-height: 150px;
  padding: .9rem 1rem;
  resize: vertical;
}

body.page-id-93 #fluentform_6 :where(input, select, textarea):focus {
  border-color: #527f99;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(82, 127, 153, .16);
  outline: 0;
}

body.page-id-93 #fluentform_6 .ff-btn-submit {
  min-height: 52px;
  padding: .85rem 1.7rem;
  border: 1px solid #284b3b !important;
  border-radius: 999px;
  background: #284b3b !important;
  color: #fffdf8 !important;
  font-family: Montserrat, sans-serif;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .045em;
  box-shadow: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

body.page-id-93 #fluentform_6 .ff-btn-submit:hover {
  border-color: #18372b !important;
  background: #18372b !important;
  transform: translateY(-1px);
}

body.page-id-93 #fluentform_6 :where(input, select, textarea, button):focus-visible {
  outline: 3px solid #9c5f68;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  body.page-id-93 .tl-contact__layout > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  body.page-id-93 .tl-contact__aside {
    padding-top: 0;
  }

  body.page-id-93 .tl-contact__aside h2,
  body.page-id-93 .tl-contact__lead {
    max-width: 32ch;
  }
}

@media (max-width: 767px) {
  body.page-id-93 .entry-header,
  body.page-id-93 .tl-contact__layout {
    width: min(100% - 32px, 1060px);
  }

  body.page-id-93 .entry-header {
    padding-block: 52px 38px;
  }

  body.page-id-93 .entry-title {
    font-size: clamp(2rem, 8.5vw, 2.125rem);
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  body.page-id-93 .tl-contact {
    padding-bottom: 92px;
  }

  body.page-id-93 .tl-contact__form-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  body.page-id-93 #fluentform_6 .ff-t-container {
    display: block;
  }

  body.page-id-93 #fluentform_6 .ff-t-cell {
    width: 100%;
  }
}

/* num-ilm (9889) and manif-ilm (9725) webinar sign-up landing pages and the
   numerologinen-tulkinta order form (30034): bring the Fluent Form submit
   button into the site-standard forest-green editorial palette instead of the
   teal theme default. */

body.page-id-9889 .fluentform .ff-btn-submit,
body.page-id-9889 .fluentform .ff-btn.ff-btn-submit:not(.ff_btn_no_style),
body.page-id-9725 .fluentform .ff-btn-submit,
body.page-id-9725 .fluentform .ff-btn.ff-btn-submit:not(.ff_btn_no_style),
body.page-id-30034 .fluentform .ff-btn-submit,
body.page-id-30034 .fluentform .ff-btn.ff-btn-submit:not(.ff_btn_no_style) {
  min-height: 50px;
  padding: .78rem 1.3rem !important;
  border: 2px solid #284b3b !important;
  border-radius: 999px !important;
  background: #284b3b !important;
  color: #fffdf8 !important;
  font-weight: 600;
}

body.page-id-9889 .fluentform .ff-btn-submit:hover,
body.page-id-9889 .fluentform .ff-btn.ff-btn-submit:not(.ff_btn_no_style):hover,
body.page-id-9725 .fluentform .ff-btn-submit:hover,
body.page-id-9725 .fluentform .ff-btn.ff-btn-submit:not(.ff_btn_no_style):hover,
body.page-id-30034 .fluentform .ff-btn-submit:hover,
body.page-id-30034 .fluentform .ff-btn.ff-btn-submit:not(.ff_btn_no_style):hover {
  border-color: #18372b !important;
  background: #18372b !important;
  color: #fffdf8 !important;
}

@media (max-width: 900px) {
  .tl-shop .wc-block-grid__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl-shop .wc-block-grid__product,
  .tl-shop--manifestointi .wc-block-grid__product:nth-child(4):nth-last-child(2),
  .tl-shop--manifestointi .wc-block-grid__product:nth-child(5):last-child {
    grid-column: auto;
  }

  .tl-section-heading,
  .tl-resource-grid,
  .tl-offer-grid,
  .tl-newsletter__panel {
    grid-template-columns: 1fr;
  }

  .tl-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .tl-hero-panel {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    margin: 0;
  }

  .tl-hero-media {
    grid-column: 1;
    grid-row: 2;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-top: 0;
  }

  .tl-paths.tl-section {
    padding-top: 88px;
  }

  .tl-manifestointi-intro {
    grid-template-columns: 1fr;
  }

  .tl-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tl-page-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .tl-page-nav .tl-eyebrow {
    grid-column: 1 / -1;
  }

  .tl-story-grid {
    grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
    gap: 40px;
  }

  .tl-resource__preview {
    grid-row: 1;
  }

  .tl-resource__preview img {
    width: min(280px, 76%);
  }

  .tl-offer__image img {
    width: min(560px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .tl-signature {
    margin-top: 68px;
  }

  .tl-signature__panel {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 1060px);
    min-height: 0;
    border-radius: 20px;
  }

  .tl-signature__copy {
    padding: 40px 26px 34px;
  }

  .tl-longform .tl-signature__quote {
    max-width: none;
    margin-bottom: 26px;
    font-size: 1.625rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .tl-signature__portrait {
    min-height: 315px;
  }

  .tl-signature__portrait::before {
    inset: 24px 34px;
  }

  .tl-signature__portrait img {
    inset: 38px 46px 0;
    width: calc(100% - 92px);
    height: calc(100% - 38px);
  }

  .tl-longform .tl-signature__fineprint {
    width: min(100% - 32px, 1060px);
    padding-inline: 18px;
    font-size: .75rem;
  }

  .tl-path__number {
    font-size: .75rem;
  }

  :is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) {
    width: 100%;
    height: 286px;
    margin: 68px 0 0;
    padding: 28px;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: none;
    transform: none;
  }

  body.page-id-58 .entry-content > .wp-block-image:has(.wp-image-7420) {
    height: 286px;
  }

  :is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420)::before {
    top: 20px;
    left: 50%;
    width: 226px;
    height: calc(100% - 20px);
    transform: translateX(-50%);
  }

  :is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420)::after,
  body.page-id-58 .entry-content > .wp-block-image:has(.wp-image-7420)::after {
    top: 28px;
    left: 50%;
    width: 194px;
    height: 230px;
    transform: translateX(-50%);
  }

  :is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) + p,
  :is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) + p ~ p {
    width: 100%;
    margin: 0 !important;
    padding: 3px 24px;
    border-inline: 1px solid rgba(221, 209, 175, .72);
    background: #dfedf2;
    text-align: center;
  }

  :is(body.page-id-58, body.page-id-1397) .entry-content > .wp-block-image:has(.wp-image-7420) + p,
  :is(body.page-id-58, body.page-id-1397) .entry-content > .wp-block-image:has(.wp-image-7420) + p ~ p {
    background: #efe0df;
  }

  :is(body.page-id-58, body.page-id-1397, body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) + p {
    padding-top: 28px;
  }

  :is(body.page-id-1154, body.page-id-1569) .entry-content > .wp-block-image:has(.wp-image-7420) + p + p + p,
  body.page-id-1397 .entry-content > .wp-block-image:has(.wp-image-7420) + p + p,
  body.page-id-58 .entry-content > .wp-block-image:has(.wp-image-7420) + p + p + p + p + p {
    margin-bottom: 72px !important;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(221, 209, 175, .72);
    border-radius: 0 0 20px 20px;
    font-size: .75rem;
  }

  .tl-shop {
    margin-block: 68px 82px;
    padding-block: 58px 72px;
  }

  .tl-shop__inner {
    width: min(100% - 32px, 1060px);
  }

  .tl-shop__header {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .tl-shop .tl-shop__header h2 {
    max-width: none;
    font-size: clamp(2rem, 8.5vw, 2.125rem);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .tl-shop .tl-shop__header h3 {
    max-width: 34ch;
    justify-self: start;
  }

  .tl-shop .wc-block-grid__products {
    grid-template-columns: 1fr;
  }

  .tl-shop .product-details {
    min-height: 0;
  }

  :is(.tl-shop, .entry-content) .wc-block-grid__product-title-link {
    display: flex;
    min-height: 44px;
    flex-direction: column;
    justify-content: center;
  }

  :is(body.page-id-58, body.page-id-1397) .entry-content .wc-block-grid__products {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  :is(body.page-id-58, body.page-id-1397) .entry-content .wc-block-grid__product {
    width: 100% !important;
    max-width: none !important;
  }

  body.page-id-108 .entry-content {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 720px);
  }

  body.page-id-108 .entry-content > p {
    grid-column: 1;
  }

  body.page-id-108 .entry-content > p:first-child {
    order: -2;
  }

  body.page-id-108 .entry-content > .wp-block-image {
    position: static;
    grid-column: 1;
    grid-row: auto;
    width: min(420px, 100%);
    margin: 0 auto clamp(48px, 8vw, 68px);
    order: -1;
  }

  :is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) .entry-header {
    width: min(100% - 32px, 1060px);
    padding-block: 52px 34px;
  }

  :is(body.page-id-1576, body.page-id-1380, body.page-id-1154, body.page-id-1569, body.page-id-58, body.page-id-1397, body.page-id-6801, body.page-id-108) .entry-title {
    max-width: none;
    font-family: Fraunces, Georgia, serif;
    font-size: clamp(2rem, 8.5vw, 2.125rem);
    font-weight: 500;
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  /* The prayer page uses a content heading instead of Kadence's entry title. */
  body.page-id-6801 .entry-content > h1 {
    font-size: clamp(2rem, 8.5vw, 2.125rem);
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .tl-shell {
    width: min(100% - 32px, 1060px);
  }

  .tl-market h1 {
    max-width: none;
    font-size: clamp(2rem, 8.5vw, 2.125rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .tl-home-hero {
    padding-block: 48px 64px;
  }

  .tl-hero-panel {
    max-width: 600px;
    padding: clamp(30px, 6vw, 44px);
    background: var(--tl-paper-clean);
    box-shadow: 0 16px 38px rgba(38, 53, 47, .09);
  }

  .tl-paths.tl-section {
    padding-top: 68px;
  }

  .tl-manifestointi-intro,
  .tl-numerologia-intro,
  .tl-article-layout {
    width: min(100% - 32px, 1060px);
  }

  .tl-manifestointi-intro {
    gap: 24px;
    padding-bottom: 58px;
  }

  .tl-article-layout {
    gap: 54px;
    padding-block: 58px 92px;
  }

  .tl-page-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Large Gutenberg quotes otherwise enlarge their paragraphs a second time. */
  .tl-longform blockquote,
  .tl-numerologia-intro blockquote {
    padding: 24px 20px;
    font-size: 1.375rem;
    line-height: 1.45;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  :is(.tl-longform, .tl-numerologia-intro) blockquote p,
  :is(.tl-longform, .tl-numerologia-intro) blockquote.wp-block-quote p {
    font-size: inherit;
    line-height: inherit;
  }

  :is(body.page-id-58, body.page-id-1154, body.page-id-1569) .entry-content :is(.wp-block-buttons, .kb-buttons-wrap, .wp-block-button) {
    max-width: 100%;
  }

  :is(body.page-id-58, body.page-id-1154, body.page-id-1569) .entry-content :is(.wp-block-button__link, .kb-button) {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    padding-inline: 1rem !important;
    font-size: .92rem !important;
    line-height: 1.4 !important;
    text-align: center;
    text-transform: none !important;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .tl-longform h2 {
    margin-top: 64px;
    padding-top: 48px;
  }

  .tl-path-grid,
  .tl-story-grid {
    grid-template-columns: 1fr;
  }

  .tl-path {
    min-height: 0;
  }

  .tl-story__portrait {
    min-height: 330px;
  }

  .tl-story__portrait img {
    object-position: center 18%;
  }

  .tl-story__copy {
    padding: 48px 20px 58px;
  }

  .tl-newsletter__panel {
    padding: 28px 20px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tl-market *,
  .tl-market *::before,
  .tl-market *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
