/*
Theme Name: MasterPlan Renewal
Description: Approved MasterPlan website renewal. Existing AIOSEO, analytics and mail settings remain authoritative.
Author: MasterPlan
Template: lightning
Version: 1.0.0
Requires at least: 7.1
Requires PHP: 8.2
Text Domain: masterplan-renewal
*/


/* 2026-10-29: desktop first view. Keep approved source and mobile layout intact. */
@media (min-width: 901px) {
  body.home.mp-renewal {
    /* The approved desktop header uses a 104px border-box height. */
    --mp-home-header-height: 104px;
  }
  body.home.mp-renewal > .header {
    height: var(--mp-home-header-height);
    min-height: var(--mp-home-header-height);
  }
  body.home.mp-renewal #main > .mp-home-first-view {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--mp-home-header-height));
    min-height: calc(100svh - var(--mp-home-header-height));
  }
  body.home.mp-renewal .mp-home-first-view > .hero.hero-value {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: clamp(40px, 6svh, 88px);
    padding-block: clamp(48px, 6svh, 88px);
  }
  body.home.mp-renewal .mp-home-first-view > .hero-value > .hero-copy {
    flex: 0 0 auto;
    padding-block: 0;
  }
  body.home.mp-renewal .mp-home-first-view > .hero-value > .hero-value-services {
    flex: 0 0 auto;
    margin-top: 0;
  }
  body.home.mp-renewal .mp-home-first-view > .discipline-marketing {
    flex: 0 0 auto;
  }
}

/* 2026-10-29: quieter, consistently grouped hero service labels. */
body.home.mp-renewal #main .hero-value .hero-value-services {
  column-gap: clamp(20px, 2.1vw, 32px);
  row-gap: 28px;
}
body.home.mp-renewal #main .hero-value .hero-value-services > li {
  border-top: 0;
  padding-top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  align-content: start;
  column-gap: 10px;
}
body.home.mp-renewal #main .hero-value .hero-value-number {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin: 5px 0 0;
}
body.home.mp-renewal #main .hero-value .hero-value-services h2 {
  font-size: clamp(17.5px, 1.75vw, 23px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: -.025em;
  margin: 0;
  min-height: 3.3em;
  overflow-wrap: anywhere;
}
body.home.mp-renewal #main .hero-value .hero-service-phrase {
  display: inline;
  white-space: normal;
}
body.home.mp-renewal #main .hero-value .hero-value-services > li:nth-child(-n+2) h2 > .hero-service-phrase:nth-child(3)::before,
body.home.mp-renewal #main .hero-value .hero-value-services > li:nth-child(n+3) h2 > .hero-service-phrase:nth-child(2)::before {
  content: "\A";
  white-space: pre;
}

@media (max-width: 900px) {
  body.home.mp-renewal #main .hero-value .hero-value-services h2 {
    font-size: 21px;
  }
}
@media (max-width: 600px) {
  body.home.mp-renewal #main .hero-value .hero-value-services {
    column-gap: 20px;
    row-gap: 24px;
  }
  body.home.mp-renewal #main .hero-value .hero-value-services > li {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }
  body.home.mp-renewal #main .hero-value .hero-value-number {
    font-size: 13px;
    margin: 0;
  }
  body.home.mp-renewal #main .hero-value .hero-value-services h2 {
    font-size: clamp(15.5px, 4.3vw, 19px);
  }
}
@media (max-width: 340px) {
  body.home.mp-renewal #main .hero-value .hero-value-services {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 18px;
  }
  body.home.mp-renewal #main .hero-value .hero-value-services > li {
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 10px;
  }
  body.home.mp-renewal #main .hero-value .hero-value-number {
    margin-top: 4px;
  }
  body.home.mp-renewal #main .hero-value .hero-value-services h2 {
    font-size: 18px;
  }
}

/* 2026-10-29: slightly larger hero service numbers and labels. */
