/* ========================================
   Three feature pages: shared foundations
======================================== */
.feature-page {
  color: #6e5d5d;
  font-family: "Zen Maru Gothic", sans-serif;
}

.feature-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.feature-section {
  padding: 100px 0;
}

.feature-section--cream,
.feature-cta,
.search-main {
  background: #fbf9f5;
}

.leaf-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(24px, 2.22vw, 32px);
  line-height: 1.8;
  text-align: center;
}

.leaf-heading img {
  width: 28px;
  height: 30px;
  flex: none;
}

.section-lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
}

.section-note {
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
}

.feature-button,
.outline-feature-button {
  position: relative;
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 14px 60px;
  border-radius: 100px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.feature-button {
  color: #fff;
  background: #d44446;
}

.outline-feature-button {
  border: 1px solid #d44446;
  color: #d44446;
  background: #fff;
}

/* ========================================
   Listing / Join: hero
======================================== */
.feature-hero {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background-color: #fff;
  background-position: center;
  background-size: cover;
}

.listing-hero {
  background-image: url("assets/listing-fv-bg.webp");
}

.join-hero {
  background-image: url("assets/join-fv-bg.png");
  background-position: left center;
}

.feature-hero__label {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  white-space: nowrap;
  font-weight: 500;
}

.feature-hero__label span {
  color: rgba(212, 68, 70, 0.4);
  font-family: "Quicksand", sans-serif;
  font-size: clamp(72px, 8.33vw, 120px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.feature-hero__label strong {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}

.feature-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 510px;
  align-items: flex-start;
  margin: 0 10%;
  padding-top: 120px;
}

.feature-hero__copy {
  position: relative;
  z-index: 1;
}

.feature-hero__copy h2 {
  font-size: clamp(40px, 4.17vw, 60px);
  font-weight: 700;
  line-height: 1.4;
}

.feature-hero__copy p {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.8;
}

.feature-hero__copy .feature-button {
  margin-top: 40px;
}

.feature-hero__illustration {
  align-self: flex-end;
  object-fit: contain;
}

.listing-hero .feature-hero__inner {
  position: relative;
  flex-direction: row;
}

.listing-hero .feature-hero__illustration {
  position: absolute;
  right: 15%;
  bottom: -25px;
  width: min(46%, 546px);
}

.join-hero .feature-hero__illustration {
  position: absolute;
  right: 10%;
  bottom: -9%;
  width: min(50%, 560px);
}

/* ========================================
   Listing: problems
======================================== */
.listing-problems {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  overflow-y: visible;
}

.feature-section.feature-section--cream.listing-problems {
  padding-bottom: 0;
}

.listing-problems::after {
  position: absolute;
  z-index: 0;
  bottom: -93px;
  left: 50%;
  width: 126.32%;
  height: 335px;
  border-radius: 50%;
  background: #fbf9f5;
  content: "";
  transform: translateX(-50%);
}

.listing-problems > .feature-container {
  position: relative;
  z-index: 1;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.problem-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.problem-grid p {
  position: relative;
  display: flex;
  width: 100%;
  max-height: 130px;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border-radius: 20px;
  font-size: 18px;
  line-height: 1.8;
  background: #fff;
  filter: drop-shadow(0 3px 12px rgba(110, 90, 82, 0.08));
}

.problem-grid p::before,
.problem-grid p::after {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.problem-grid p::before {
  bottom: -14px;
  left: 9%;
  width: 45px;
  height: 30px;
}

.problem-grid p::after {
  bottom: -32px;
  left: 23%;
  width: 22px;
  height: 21px;
  box-shadow: 21px 8px 0 -5px #fff;
}

.problem-grid__text {
  display: block;
}

.problem-grid img {
  width: auto;
  height: 150px;
  margin-top: 20px;
  object-fit: contain;
}

.problem-summary {
  margin-top: 42px;
  font-size: 18px;
  font-weight: 500;
  line-height: 2.2;
  text-align: center;
}

.problem-summary mark,
.problem-grid mark,
.join-story mark,
.join-course mark,
.wanted-grid mark,
.listing-support mark {
  color: inherit;
  background: linear-gradient(transparent 68%, #fff2a9 68%);
}

.problem-summary strong {
  display: block;
  margin-top: 16px;
  font-size: 24px;
}

/* ========================================
   Listing: benefits and support
======================================== */
.listing-benefits {
  padding-top: 160px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 70px;
}

.benefit-grid article {
  position: relative;
  min-width: 0;
  min-height: 230px;
  padding: 40px;
  border-radius: 20px;
  background: #fbf9f5;
  box-shadow: var(--shadow-card-soft);
}

.benefit-grid__content {
  height: 100%;
}

.benefit-grid__text {
  width: 100%;
}

.benefit-grid__row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 14px;
}

.benefit-grid__number {
  position: absolute;
  top: 10px;
  right: -5px;
  color: rgba(212, 68, 70, 0.16);
  font-family: "Quicksand", sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 0;
}

.benefit-grid h3,
.support-grid h3 {
  font-size: clamp(18px, 1.67vw, 24px);
  line-height: 1.8;
}

.benefit-grid__image {
  display: flex;
  width: 90px;
  height: 90px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid #f2eae3;
  border-radius: 50%;
  background: #fff;
}

.benefit-grid__image img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.benefit-grid p {
  flex: 1;
  margin-top: 0;
  font-size: 18px;
  line-height: 1.8;
}

.plus-mark {
  margin: -129px 0 55px;
  color: #d44446;
  font-size: 54px;
  line-height: 1;
  text-align: center;
}

.listing-support__mobile-break {
  display: none;
}

.listing-standards__mobile-break {
  display: none;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  justify-content: center;
  gap: 40px;
  margin-top: 42px;
}

.support-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card-soft);
}

.support-grid ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 25px;
  list-style: none;
}

.support-grid li {
  position: relative;
  padding-left: 36px;
  font-size: 18px;
  line-height: 1.8;
}

.support-grid li::before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 22px;
  height: 22px;
  content: "";
  border-radius: 50%;
  background: #d44446;
}

.support-grid li::after {
  position: absolute;
  top: 9px;
  left: 8px;
  width: 6px;
  height: 10px;
  content: "";
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* ========================================
   Listing: standards and CTA
======================================== */
.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.standard-grid article {
  position: relative;
  padding: 38px 20px;
  border: 1px solid #f2eae3;
  border-radius: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  background: #fbf9f5;
  box-shadow: var(--shadow-card-soft);
}

.standard-grid__icon {
  position: absolute;
  top: -30px;
  left: 50%;
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f2eae3;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.standard-grid__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.feature-cta {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 80px 24px;
  text-align: center;
}

.feature-cta h2 {
  font-size: 32px;
  line-height: 1.8;
}

.feature-cta p {
  font-size: 18px;
}

/* ========================================
   Join: story
======================================== */
.join-story {
  position: relative;
  min-height: 960px;
  padding: 100px 24px;
  overflow: hidden;
  background: #fff;
}

.join-story::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    url("assets/dot-circle.svg") right -28px top -34px / 215px 224px no-repeat,
    url("assets/dot-circle.svg") left -28px top 300px / 215px 224px no-repeat,
    url("assets/dot-circle.svg") right -28px bottom 175px / 215px 224px no-repeat,
    url("assets/dot-circle.svg") left -28px bottom -38px / 215px 224px no-repeat;
}

.join-story__photos {
  position: absolute;
  inset: 0;
}

.join-story__photo {
  position: absolute;
  display: block;
  object-fit: cover;
}

.join-story__photo--toronto {
  top: 0;
  left: -14px;
  width: clamp(157px, calc(72vw - 396px), 396px);
  height: clamp(124px, calc(48.8vw - 251px), 286px);
  border-radius: 0 0 clamp(8px, calc(21.7vw - 159px), 80px);
}

.join-story__photo--canada {
  top: 20%;
  right: clamp(-5px, calc(19vw - 151px), 58px);
  width: clamp(100px, calc(52.1vw - 300px), 273px);
  height: clamp(100px, calc(52.1vw - 300px), 273px);
  border-radius: clamp(8px, calc(15.7vw - 112px), 60px);
}

.join-story__photo--childcare {
  bottom: 14%;
  left: clamp(-5px, calc(13.25vw - 107px), 39px);
  width: clamp(142px, calc(39.5vw - 161px), 273px);
  height: clamp(142px, calc(39.5vw - 161px), 273px);
  border-radius: clamp(8px, calc(15.7vw - 112px), 60px);
}

/* ========================================
   Join: story tablet image positions
======================================== */
@media (min-width: 768px) and (max-width: 1100px) {
  .join-story__photo--canada {
    top: 3%;
    right: 1%;
  }

  .join-story__photo--childcare {
    bottom: 2%;
    left: 1%;
  }
}

.join-story__photo--editor {
  right: -67px;
  bottom: 0;
  width: clamp(213px, calc(59vw - 240px), 409px);
  height: clamp(141px, calc(39.2vw - 160px), 271px);
  border-radius: clamp(8px, calc(21.7vw - 159px), 80px) 0 0;
}

.join-story__card {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 60px;
  border-radius: 20px;
  text-align: center;
  background: rgba(251, 249, 245, 0.94);
  box-shadow: 0 3px 12px rgba(110, 90, 82, 0.08);
}

.join-story__card h2 {
  font-size: 32px;
  line-height: 1.8;
}

.join-story__mobile-break {
  display: none;
}

.join-story__card h3 {
  margin-top: 35px;
  font-size: 24px;
  line-height: 1.8;
}

.join-story__card p {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.8;
}

.wanted-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.join-wanted {
  position: relative;
  z-index: 1;
  overflow-x: clip;
  overflow-y: visible;
  padding-bottom: 50px;
}

.join-wanted::after {
  position: absolute;
  right: auto;
  bottom: -65px;
  left: 50%;
  width: 122.02%;
  height: 263px;
  content: "";
  border-radius: 50%;
  background: #fbf9f5;
  transform: translateX(-50%);
}

.join-wanted .feature-container {
  position: relative;
  z-index: 1;
}

.wanted-grid article {
  padding: 28px 18px;
  border-radius: 20px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-card-soft);
}

.wanted-grid img {
  width: 110px;
  height: 117px;
  margin: auto;
  object-fit: contain;
}

.wanted-grid p {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.8;
}

/* ========================================
   Join: course
======================================== */
.join-course {
  position: relative;
  display: grid;
  grid-template-columns: 2.6fr 2fr;
  align-items: stretch;
}

.join-course::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(56.522% - 1px);
  width: 120px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.82) 38%, rgba(255, 255, 255, 0) 100%);
}

.join-course__copy {
  padding: 140px 2vw 100px 7vw;
}

.join-course h2 {
  font-size: 32px;
  line-height: 1.8;
}

.join-course p {
  margin-top: 28px;
  font-size: 18px;
  line-height: 2;
}

.join-course .outline-feature-button {
  margin-top: 38px;
}

.join-course > img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.join-course__mobile-break,
.join-cta__mobile-break {
  display: none;
}

/* ========================================
   Search: hero and filters
======================================== */
.search-hero {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  overflow: hidden;
  padding: 50px 24px 30px;
  background: #fff url("assets/search-hero-bg.png") bottom / cover no-repeat;
}

.search-hero .feature-hero__label {
  position: static;
  z-index: 1;
}

.search-hero > p {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1.8;
}

.search-main {
  padding: 100px 0;
}

.search-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8dfd8;
  transition: opacity .2s ease;
}

.search-filters.is-loading {
  opacity: .55;
  pointer-events: none;
}

.search-filters label,
.search-filters legend {
  font-size: 16px;
  line-height: 1.8;
}

.search-filters select {
  appearance: none;
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 50px 14px 18px;
  border: 1px solid #d9cfca;
  border-radius: 8px;
  color: #6e5d5d;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M2 2l5 5 5-5' fill='none' stroke='%23d44446' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 9px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.search-filters select:hover {
  border-color: #d44446;
  background-color: #fbf9f5;
}

.search-filters select:focus-visible {
  border-color: #d44446;
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(212, 68, 70, 0.14);
}

.search-filters select.is-customized {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.search-select {
  position: relative;
  margin-top: 8px;
}

.search-select__button {
  position: relative;
  width: 100%;
  min-height: 54px;
  padding: 14px 50px 14px 18px;
  border: 1px solid #d9cfca;
  border-radius: 8px;
  color: #6e5d5d;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-select__button::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  content: "";
  border-right: 2px solid #d44446;
  border-bottom: 2px solid #d44446;
  border-radius: 1px;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.search-select.is-open .search-select__button,
.search-select__button:focus-visible {
  border-color: #d44446;
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 68, 70, 0.14);
}

.search-select.is-open .search-select__button::after {
  transform: translateY(-20%) rotate(225deg);
}

.search-select__options {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: none;
  padding: 8px;
  border: 1px solid #e8dfd8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(110, 90, 82, 0.16);
}

.search-select.is-open .search-select__options {
  display: grid;
  gap: 2px;
}

.search-select__option {
  position: relative;
  width: 100%;
  padding: 11px 38px 11px 14px;
  border: 0;
  border-radius: 7px;
  color: #6e5d5d;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.search-select__option:hover,
.search-select__option.is-selected {
  background: #fbf9f5;
}

.search-select__option.is-selected {
  color: #d44446;
  font-weight: 700;
}

.search-select__option.is-selected::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 12px;
  content: "";
  border-right: 2px solid #d44446;
  border-bottom: 2px solid #d44446;
  transform: translateY(-60%) rotate(45deg);
}

.search-filters fieldset {
  border: 0;
}

.search-filters fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 20px 0 0;
  cursor: pointer;
}

.search-filters input {
  width: 18px;
  height: 18px;
  accent-color: #d44446;
  cursor: pointer;
}

.search-count {
  margin-top: 28px;
  font-size: 18px;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.search-load-more {
  position: relative;
  display: block;
  min-width: 240px;
  min-height: 58px;
  margin: 48px auto 0;
  padding: 14px 52px;
  border: 1px solid #6e5d5d;
  border-radius: 999px;
  color: #6e5d5d;
  font-size: 18px;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
}

.search-load-more::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .search-load-more:hover {
    color: #fff;
    background-image: linear-gradient(#6e5d5d, #6e5d5d);
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 1;
    animation: cta-fill 0.25s ease forwards;
  }

  .search-load-more:hover::after {
    transform: translateY(calc(-50% + 4px)) rotate(90deg);
  }
}

.search-load-more[hidden] {
  display: none;
}

.search-results__empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border-radius: 16px;
  text-align: center;
  background: #fff;
}

.search-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 82px minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  padding: 28px 48px 28px 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(110, 90, 82, 0.08);
}

.search-card::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 10px;
  height: 10px;
  content: "";
  border-top: 3px solid #6e5d5d;
  border-right: 3px solid #6e5d5d;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) {
  .search-card:hover {
    box-shadow: 0 10px 24px rgba(110, 90, 82, 0.16);
    opacity: 1;
    transform: translateY(-3px);
  }
}

.search-card__profile {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.search-card__profile > img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.search-card__identity {
  min-width: 0;
}

.search-card h2 {
  font-size: 20px;
  line-height: 1.5;
}

.search-card__job {
  margin-top: 4px;
  font-size: 15px;
}

.search-tags {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
}

.search-tags span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 1px 8px;
  border-radius: 100px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  background: #f4efeb;
}

.search-card__description {
  grid-column: 1 / -1;
  font-size: 15px;
  line-height: 1.7;
}

.search-card__methods {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.search-card strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d44446;
  font-size: 16px;
}

.search-card__method-icon {
  width: 35px;
  height: auto;
  object-fit: contain;
}

.search-card__method-icon--store {
  width: 25px;
}

/* ========================================
   Search: contact
======================================== */
.search-contact {
  padding: 100px 0;
}

.search-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 560px));
  justify-content: center;
  gap: 35px;
  margin-top: 40px;
}

.search-contact__grid article {
  padding: 40px;
  border-radius: 20px;
  background: #fbf9f5;
  box-shadow: var(--shadow-card-soft);
}

.search-contact__grid h3 {
  font-size: 24px;
}

.search-contact__body {
  display: flex;
  align-items: center;
  gap: 24px;
}

.search-contact__grid img {
  width: clamp(110px, 11.11vw, 160px);
  height: clamp(110px, 11.11vw, 160px);
  border-radius: 50%;
  object-fit: cover;
}

.search-contact__grid p {
  flex: 1;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.8;
}

.search-contact__grid a {
  margin: 40px auto 0;
  color: #6e5d5d;
  border-color: #6e5d5d;
  font-size: 20px;
  font-weight: 700;
  background: transparent;
}

/* ========================================
   Contact: tablet
======================================== */
@media (max-width: 1018px) {
  .search-contact__grid {
    grid-template-columns: minmax(0, 600px);
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   Narrow desktop
======================================== */
@media (max-width: 1204px) {
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 800px;
    margin: 40px auto;
  }
}

/* ========================================
   Tablet
======================================== */
@media (max-width: 980px) {
  .feature-hero__label strong {
    display: none;
  }

  .wanted-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standard-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .search-card {
    padding: 28px 48px 28px 24px;
  }

  .search-card > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }

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

  .support-grid article,
  .support-grid h3,
  .support-grid ul {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* ========================================
   Smartphone
======================================== */
@media (max-width: 767px) {
  .feature-container {
    width: min(100% - 48px, 520px);
  }

  .feature-section {
    padding: 60px 0;
  }

  .leaf-heading {
    align-items: flex-start;
    font-size: 24px;
    line-height: 1.65;
  }

  .leaf-heading img {
    width: 22px;
    height: 24px;
    margin-top: 7px;
  }

  .listing-page .leaf-heading {
    gap: 8px;
    letter-spacing: 0;
    align-items: flex-start;
    text-align: left;
  }

  .listing-benefits .leaf-heading {
    justify-content: flex-start;
    white-space: nowrap;
  }

  .listing-benefits {
    padding-top: 60px;
  }

  .listing-standards .leaf-heading {
    justify-content: center;
    text-align: center;
  }

  .section-lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .section-note {
    font-size: 16px;
  }

  .listing-support .leaf-heading {
    justify-content: flex-start;
    text-align: left;
  }

  .listing-support .section-lead {
    text-align: left;
  }

  .listing-support__mobile-break {
    display: block;
  }

  .listing-standards__mobile-break {
    display: block;
  }

  .feature-button,
  .outline-feature-button {
    width: 100%;
    min-height: 54px;
    padding: 16px 40px;
    font-size: 18px;
  }

  .feature-hero {
    min-height: 486px;
  }

  .listing-hero {
    background-image: url("assets/listing-fv-bg.webp");
    background-position: center bottom;
  }

  .join-hero {
    min-height: 450px;
    max-height: 464px;
    background-image: url("assets/join-fv-bg-sp.png?v=20260804");
    background-position: left bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }

  .feature-hero__label {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }

  .feature-hero__label span {
    font-size: 38px;
    line-height: 1.2;
  }

  .feature-hero__label strong {
    display: block;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
  }

  .feature-hero__inner {
    display: block;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    margin: 0;
    padding: 100px 24px 0;
  }

  .feature-hero__copy h2 {
    font-size: 28px;
    line-height: 1.4;
  }

  .join-hero .feature-hero__copy h2 br {
    display: none;
  }

  .feature-hero__copy p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.6;
  }

  .feature-hero__copy .feature-button {
    margin-top: 14px;
  }

  .feature-hero__illustration,
  .listing-hero .feature-hero__illustration,
  .join-hero .feature-hero__illustration {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 338px;
    max-width: calc(100% - 37px);
    height: 225px;
    max-height: none;
  }

  .listing-hero .feature-hero__illustration {
    right: -8px;
    bottom: -8%;
    width: 380px;
    max-width: none;
    height: 260px;
  }

  .join-hero .feature-hero__illustration {
    right: 2%;
    bottom: 3%;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    justify-items: center;
  }

  .listing-problems {
    overflow: hidden;
    margin-bottom: 0;
    background: #fff;
  }

  .listing-problems::before {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 134px;
    left: 0;
    content: "";
    background: #fbf9f5;
  }

  .listing-problems::after {
    bottom: 20px;
    width: 168%;
    height: 229px;
    border-radius: 50%;
  }

  .listing-problems > .feature-container {
    padding-bottom: 50px;
  }

  .problem-grid article {
    width: 280px;
  }

  .problem-grid p {
    width: 280px;
    min-height: 112px;
    max-height: none;
    padding: 20px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
  }

  .problem-grid img {
    width: 129px;
    height: 150px;
    margin-top: 20px;
  }

  .problem-summary {
    font-size: 15px;
    line-height: 2;
  }

  .problem-summary br {
    display: none;
  }

  .problem-summary strong {
    font-size: 20px;
  }

  .benefit-grid,
  .support-grid,
  .standard-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .benefit-grid {
    margin-top: 20px;
  }

  .benefit-grid article {
    min-height: auto;
    padding: 38px 24px;
    border-radius: 8px;
  }

  .benefit-grid__row {
    gap: 14px;
  }

  .benefit-grid h3 {
    font-size: 18px;
  }

  .support-grid h3 {
    font-size: 20px;
  }

  .benefit-grid p,
  .support-grid li {
    font-size: 15px;
  }

  .support-grid {
    margin-top: 32px;
  }

  .support-grid article {
    padding: 30px 20px;
    border-radius: 8px;
  }

  .plus-mark {
    margin-top: -89px;
  }

  .standard-grid article {
    padding: 40px 20px 20px;
    border-radius: 8px;
    font-size: 18px;
  }

  .feature-cta {
    min-height: 300px;
  }

  .feature-cta h2 {
    font-size: 24px;
  }

  .feature-cta p {
    font-size: 16px;
  }

  .join-story {
    min-height: auto;
    padding: 100px 24px 180px;
  }

  .join-story::before {
    background:
      url("assets/dot-circle.svg") right -16px top -6px / 61px auto no-repeat,
      url("assets/dot-circle.svg") left -16px top 100px / 80px auto no-repeat,
      url("assets/dot-circle.svg") right -23px bottom 108px / 72px auto no-repeat,
      url("assets/dot-circle.svg") left -3px bottom -5px / 96px auto no-repeat;
  }

  .join-story__photo {
    border-radius: 8px;
  }

  .join-story__photo--toronto {
    top: -8px;
    left: -11px;
    width: 157px;
    height: 124px;
  }

  .join-story__photo--canada {
    top: 29px;
    right: -5px;
    width: 100px;
    height: 100px;
  }

  .join-story__photo--childcare {
    bottom: 40px;
    left: -11px;
    width: 142px;
    height: 142px;
  }

  .join-story__photo--editor {
    right: -42px;
    bottom: -10px;
    width: 213px;
    height: 141px;
  }

  .join-story__card {
    padding: 24px;
    border-radius: 8px;
  }

  .join-story__card h2 {
    font-size: 20px;
  }

  .join-story__mobile-break {
    display: inline;
  }

  .join-story__card h3 {
    font-size: 18px;
  }

  .join-story__card p {
    font-size: 16px;
    line-height: 1.6;
  }

  .join-story__card p br {
    display: none;
  }

  .wanted-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wanted-grid article {
    width: 240px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
  }

  .wanted-grid img {
    width: 110px;
    height: 117px;
  }

  .wanted-grid p {
    font-size: 16px;
    line-height: 1.6;
  }

  .join-wanted {
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 50px;
    background: #fff;
  }

  .join-wanted::before {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 134px;
    left: 0;
    content: "";
    background: #fbf9f5;
  }

  .join-wanted .leaf-heading {
    justify-content: flex-start;
    text-align: left;
  }

  .join-wanted::after {
    right: auto;
    bottom: 0;
    left: 50%;
    width: 168%;
    height: 229px;
    border-radius: 50%;
    transform: translateX(-50%);
  }

  .join-course {
    display: flex;
    flex-direction: column;
  }

  .join-course::after {
    display: none;
  }

  .join-course__copy {
    padding: 70px 20px;
  }

  .join-course h2 {
    font-size: 24px;
  }

  .join-course__mobile-break,
  .join-cta__mobile-break {
    display: block;
  }

  .join-course p {
    font-size: 15px;
  }

  .join-course > img {
    min-height: 300px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 80px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 80px);
  }

  .search-hero {
    min-height: 244px;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    overflow: hidden;
    padding: 40px;
  }

  .search-hero .feature-hero__label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  .search-hero > p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
  }

  .search-main {
    padding: 60px 0;
  }

  .search-filters {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .search-filters select {
    height: 52px;
    padding: 0 48px 0 15px;
    border-radius: 6px;
  }

  .search-results {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .search-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px;
    border-radius: 8px;
    text-align: center;
  }

  .search-card__profile {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .search-card__profile > img {
    width: 72px;
    height: 72px;
  }

  .search-card h2 {
    font-size: 19px;
    line-height: 1.5;
  }

  .search-card__job {
    font-size: 14px;
    line-height: 1.6;
  }

  .search-tags {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    margin-top: 0;
  }

  .search-card__description {
    display: block;
    overflow: visible;
    width: 100%;
    grid-column: 1 / -1;
    align-self: stretch;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  .search-card__methods {
    width: 100%;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
  }

  .search-card strong {
    gap: 5px;
    font-size: 14px;
    white-space: nowrap;
  }

  .search-card__method-icon--online {
    width: 22px;
  }

  .search-card__method-icon--store {
    width: 18px;
  }

  .search-card::after {
    top: 50%;
    right: 10px;
    width: 8px;
    height: 8px;
    border-width: 2px 2px 0 0;
  }

  .search-contact {
    padding: 70px 0;
  }

  .search-contact__grid {
    gap: 24px;
  }

  .search-contact__grid article {
    padding: 24px;
  }

  .search-contact__body {
    gap: 10px;
  }

  .search-contact__grid h3 {
    font-size: 20px;
  }

  .search-contact__grid img {
    width: 80px;
    height: 80px;
    flex: none;
  }

  .search-contact__grid p {
    min-width: 0;
    margin-top: 8px;
    font-size: 16px;
  }

  .search-contact__grid a {
    margin-top: 20px;
    font-size: 18px;
  }
}
