.entry-content .ynm-services-hub {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: auto;
  max-width: 100vw;
}

.ynm-services-hub,
.ynm-services-hub * {
  box-sizing: border-box;
}

.ynm-services-hub {
  --ynm-ink: #17211d; 
  --ynm-muted: #5a6861;
  --ynm-paper: #fbfbf7; 
  --ynm-sage: #8fb6a3;
  --ynm-sage-dark: #2f6f5e;
  --ynm-clay: #b9654a;
  --ynm-sky: #d7e7ee;
  --ynm-gold: #d7a84f;
  --ynm-line: rgba(23, 33, 29, 0.14);
  --ynm-shadow: 0 18px 50px rgba(21, 36, 30, 0.14);
  --ynm-stats-bridge: clamp(46px, 4.8vw, 58px);
  --ynm-stats-bridge-neg: clamp(-70px, -4.8vw, -46px);
  background: var(--ynm-paper);
  color: var(--ynm-ink);
  font-family: Sora, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

.ynm-services-hub a {
  color: inherit;
  text-decoration: none;
}

.ynm-services-hub__wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ynm-services-hub__hero {
  position: relative;
  min-height: clamp(420px, 58vh, 620px);
  display: flex;
  align-items: end;
  padding: 92px 0 clamp(144px, 11vh, 155px);
  background-image:
    linear-gradient(90deg, rgba(17, 26, 22, 0.82) 0%, rgba(17, 26, 22, 0.62) 42%, rgba(17, 26, 22, 0.2) 100%),
    var(--ynm-services-hero-image);
  background-size: cover;
  background-position: center;
}

.ynm-services-hub__hero-content {
  width: min(680px, 100%);
  color: #fff;
}

.ynm-services-hub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ynm-services-hub__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--ynm-gold);
}

.ynm-services-hub h1,
.ynm-services-hub h2,
.ynm-services-hub h3,
.ynm-services-hub p {
  margin-top: 0;
}

.ynm-services-hub__hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

.ynm-services-hub__hero p {
  max-width: 640px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.ynm-services-hub__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ynm-services-hub__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--ynm-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
} 

.ynm-services-hub .ynm-services-hub__button {
  color: #fff;
}

.ynm-services-hub__button:hover,
.ynm-services-hub__button:focus-visible {
  transform: translateY(-1px);
  color: #fff;
}

.ynm-services-hub__button--light {
  background: #fff;
  color: var(--ynm-ink);
}

.ynm-services-hub .ynm-services-hub__button--light {
  color: var(--ynm-ink);
}

.ynm-services-hub__button--light:hover,
.ynm-services-hub__button--light:focus-visible {
  color: var(--ynm-ink);
}

.ynm-services-hub__button--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.ynm-services-hub__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(840px, calc(100% - 40px));
  margin: var(--ynm-stats-bridge-neg) auto var(--ynm-stats-bridge-neg);
  padding: 0;
  position: relative;
  z-index: 3;
}

.ynm-services-hub__stat {
  border: 1px solid var(--ynm-line);
  border-radius: 8px;
  min-height: calc(var(--ynm-stats-bridge) + var(--ynm-stats-bridge));
  padding: 19px 23px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(21, 36, 30, 0.1);
}

.ynm-services-hub__stat strong {
  display: block;
  color: var(--ynm-ink);
  font-size: clamp(15px, 2.45vw, 27px); 
  line-height: 1.2;
  font-weight: 850;
}

.ynm-services-hub__stat span {
  display: block;
  margin-top: 11px;
  color: var(--ynm-muted);
  font-size: 12.5px;
  line-height: 1.48;
}

.ynm-services-hub__section {
  padding: clamp(54px, 7vw, 88px) 0;
}

.ynm-services-hub__section--tools {
  padding-top: calc(var(--ynm-stats-bridge) + clamp(42px, 5vw, 70px));
  background:
    linear-gradient(180deg, rgba(215, 231, 238, 0.72), rgba(251, 251, 247, 0) 42%),
    var(--ynm-paper);
}

.ynm-services-hub__section--library {
  border-top: 1px solid var(--ynm-line);
  border-bottom: 1px solid var(--ynm-line);
  background:
    linear-gradient(135deg, rgba(143, 182, 163, 0.28), rgba(215, 231, 238, 0.5) 48%, rgba(185, 101, 74, 0.13)),
    #f7faf7;
}

.ynm-services-hub__section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.ynm-services-hub__label {
  display: inline-flex;
  margin-bottom: 11px;
  color: var(--ynm-clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ynm-services-hub__section h2 {
  color: var(--ynm-ink);
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: 0;
}

.ynm-services-hub__section-head p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--ynm-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ynm-services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ynm-service-card {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--ynm-line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 36, 30, 0.07);
  isolation: isolate;
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.ynm-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(150deg, rgba(143, 182, 163, 0.24), transparent 40%),
    linear-gradient(320deg, var(--ynm-card-accent, rgba(185, 101, 74, 0.18)), transparent 58%);
  opacity: 0.9;
}

.ynm-service-card:hover,
.ynm-service-card:focus-visible,
.ynm-service-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(47, 111, 94, 0.42);
  box-shadow: var(--ynm-shadow);
}

.ynm-service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.ynm-service-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ynm-ink);
  color: #fff;
}

.ynm-service-card__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ynm-service-card__meta {
  min-width: 48px;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ynm-sage-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.ynm-service-card h3 {
  min-height: 58px;
  margin-bottom: 10px;
  color: var(--ynm-ink);
  font-size: 19px;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
}

.ynm-service-card p {
  margin-bottom: 20px;
  color: var(--ynm-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ynm-service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--ynm-ink);
  font-size: 13px;
  font-weight: 900;
}

.ynm-service-card__cta::after {
  content: "";
  width: 20px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) left 50% / 17px 2px no-repeat,
    linear-gradient(45deg, transparent 45%, currentColor 46% 54%, transparent 55%) right 50% / 9px 9px no-repeat;
}

.ynm-service-stage {
  margin-top: 30px;
  border-top: 1px solid var(--ynm-line);
  padding-top: 30px;
}

.ynm-service-stage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ynm-service-stage__bar h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 40px);
}

.ynm-service-stage__close {
  flex: 0 0 auto;
  border: 1px solid var(--ynm-line);
  border-radius: 8px;
  padding: 10px 13px;
  background: #fff;
  color: var(--ynm-ink);
  font-size: 13px;
  font-weight: 900;
}

.ynm-service-stage__surface {
  border: 1px solid var(--ynm-line);
  border-radius: 8px;
  padding: 0;
  background: #fff;
  box-shadow: 0 14px 38px rgba(21, 36, 30, 0.08);
  overflow: hidden;
}

.ynm-service-stage__surface > .ynm-wallpaper-calc,
.ynm-service-stage__surface > .ynm-paint-calc,
.ynm-service-stage__surface > .ynm-lighting-calc,
.ynm-service-stage__surface > .ynm-curtain-calc,
.ynm-service-stage__surface > .ynm-color-palette,
.ynm-service-stage__surface > .ynm-ip603010,
.ynm-service-stage__surface > .ynm-zodiac-style,
.ynm-service-stage__surface > .ynm-wall-art-planner {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ynm-service-stage--zodiac .ynm-zodiac-style {
  padding: 0;
}

.ynm-service-stage--zodiac .ynm-zis__shell {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ynm-service-stage--plant-picker .ynm-service-stage__surface {
  padding: clamp(16px, 3vw, 28px);
  overflow: visible;
}

.ynm-service-stage--interior-dna .ynm-service-stage__surface {
  overflow: visible;
}
 
.ynm-service-stage--wall-art .ynm-wall-art-planner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
}

.ynm-service-stage--wall-art .ynm-wall-art-planner__workspace,
.ynm-service-stage--palette-603010 .ynm-ip603010__preview,
.ynm-service-stage--palette-603010 .ynm-ip603010__palettes {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ynm-service-stage--palette-603010 .ynm-ip603010__layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ynm-service-stage--wall-art .ynm-wall-art-planner__head {
  padding: 22px 22px 0;
}

.ynm-service-stage--wall-art .ynm-wall-art-planner__workspace {
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  overflow: hidden;
}

.ynm-service-stage--wall-art .ynm-wall-art-planner__wall {
  min-height: clamp(360px, 50vw, 620px);
}

@media (max-width: 980px) {
  .ynm-service-stage--palette-603010 .ynm-ip603010__layout {
    grid-template-columns: 1fr;
  }
}

.ynm-library {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ynm-library__filters {
  position: sticky;
  top: 20px;
}

.ynm-library__search {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ynm-library__search input[type="search"] {
  min-width: 0;
  width: 100%;
  height: 48px;
  border: 1px solid rgba(23, 33, 29, 0.2);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ynm-ink);
  font-size: 14px;
  box-shadow: none;
}

.ynm-library__search input[type="search"]:focus {
  border-color: var(--ynm-sage-dark);
  outline: 2px solid rgba(47, 111, 94, 0.15);
}

.ynm-library__search button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--ynm-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ynm-library__group {
  margin-top: 18px;
}

.ynm-library__group-title {
  margin-bottom: 9px;
  color: rgba(23, 33, 29, 0.66);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ynm-library__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ynm-chip {
  min-height: 34px;
  border: 1px solid rgba(23, 33, 29, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ynm-ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.ynm-chip:hover,
.ynm-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 111, 94, 0.42);
}

.ynm-chip.is-active,
.ynm-chip[aria-pressed="true"] {
  border-color: var(--ynm-ink);
  background: var(--ynm-ink);
  color: #fff;
}

.ynm-library__reset {
  display: inline-flex;
  margin-top: 18px;
  border: 1px solid rgba(23, 33, 29, 0.18);
  border-radius: 8px;
  padding: 10px 13px;
  background: #fff;
  color: var(--ynm-ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.ynm-library__topline {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(23, 33, 29, 0.12);
  padding-bottom: 12px;
}

.ynm-library__count {
  color: var(--ynm-muted);
  font-size: 13px;
  font-weight: 800;
}

.ynm-library__status {
  color: var(--ynm-clay);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transition: opacity 150ms ease;
}

.ynm-library.is-loading .ynm-library__status {
  opacity: 1;
}

.ynm-library-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ynm-guide-card {
  min-height: 275px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 33, 29, 0.12);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(21, 36, 30, 0.07);
}

.ynm-guide-card__image {
  aspect-ratio: 16 / 10;
  display: block;
  background: linear-gradient(135deg, rgba(143, 182, 163, 0.35), rgba(215, 168, 79, 0.22));
  overflow: hidden;
}

.ynm-guide-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.ynm-guide-card:hover .ynm-guide-card__image img {
  transform: scale(1.035);
}

.ynm-guide-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.ynm-guide-card__kicker {
  margin-bottom: 9px;
  color: var(--ynm-clay);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ynm-guide-card h3 {
  margin-bottom: 10px;
  color: var(--ynm-ink);
  font-size: 17px;
  line-height: 1.28;
  font-weight: 850;
}

.ynm-guide-card p {
  margin-bottom: 16px;
  color: var(--ynm-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ynm-guide-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--ynm-sage-dark);
  font-size: 13px;
  font-weight: 900;
}

.ynm-library__more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.ynm-library__more button[hidden] {
  display: none;
}

.ynm-library__empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(23, 33, 29, 0.22);
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--ynm-muted);
  text-align: center;
}

@media (max-width: 1180px) {
  .ynm-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ynm-library-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .ynm-services-hub__section-head,
  .ynm-library {
    grid-template-columns: 1fr;
  }

  .ynm-library__filters {
    position: static;
  }

  .ynm-services-hub__stats {
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(420px, calc(100% - 28px));
    margin: -28px auto 0;
    margin-bottom: -28px;
    padding: 0;
  }

  .ynm-services-hub__stat {
    min-height: 0;
    padding: 14px 16px;
  }

  .ynm-services-hub__section--tools {
    padding-top: clamp(42px, 8vw, 58px);
  }
}

@media (max-width: 700px) {
  .ynm-services-hub__wrap {
    width: min(100% - 28px, 1180px);
  }

  .ynm-services-hub__hero {
    min-height: 500px;
    padding: 86px 0 72px;
    background-position: center;
  }

  .ynm-services-hub__hero h1 {
    font-size: 44px;
  }

  .ynm-services-grid,
  .ynm-library-results {
    grid-template-columns: 1fr;
  }

  .ynm-service-card {
    min-height: 218px;
  }

  .ynm-service-card h3 {
    min-height: 0;
  }

  .ynm-service-stage--wall-art .ynm-wall-art-planner__head {
    padding: 18px 16px 0;
  }

  .ynm-library__search {
    flex-direction: column;
  }

  .ynm-library__search button {
    height: 44px;
  }

  .ynm-service-stage__bar,
  .ynm-library__topline {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .ynm-service-stage--palette-603010 .ynm-ip603010 {
    padding: 12px;
  }
}

@media (max-width: 360px) {
  .ynm-service-stage--palette-603010 .ynm-ip603010__palettes {
    grid-template-columns: 1fr;
  }
}