/* HERO SPLIT 1 */
.mcg-campaign-page .hero-split {
  background: #dce9e8;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/*
 * Campaign heroes are intentionally edge-to-edge. This must be more specific
 * than common.css's `.hero-split > .hero-inner` 1240px container rule.
 */
.mcg-campaign-page .hero-split > .hero-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 440px;
  position: relative;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}
.hero-left {
  background: #dce9e8;
  padding: 50px 36px 50px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-left h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero-left p {
  font-size: 13px;
  color: #3a3a3e;
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 290px;
}
.btn-pill {
  background: var(--purple);
  color: #fff;
  padding: 6px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.btn-pill--arrow {
  gap: 30px;
  justify-content: space-between;
}

.hero-left .btn-pill {
  align-self: flex-start;
  margin-top: 14px;
}

.hero-2-right .btn-pill {
  align-self: flex-start;
}
.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-text {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 10;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
/* HERO SPLIT 2 - green left + white right */
.hero-split-2 {
  display: grid;
  grid-template-columns: 380px 1fr;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.hero-2-right {
  padding: 50px 50px 50px 50px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-2-right h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero-2-right .lead {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a22;
  margin-bottom: 10px;
}
.hero-2-right p {
  font-size: 13px;
  color: #3a3a3e;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 480px;
}
.arrow-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.arrow-circle img {
  width: 18px;
  height: 18px;
  display: block;
}

/* PROCESS SECTION */
.process {
  background: #eef3f5;
  padding: 60px 0 100px;
}

.mcg-campaign-page .process,
body.page-template-template-mcgowans-campaign .process,
body.page-template-template-mcgowans-campaign-php .process {
  position: relative;
  overflow: hidden;
  padding-bottom: 170px;
}

.mcg-campaign-page .process > .container,
body.page-template-template-mcgowans-campaign .process > .container,
body.page-template-template-mcgowans-campaign-php .process > .container {
  position: relative;
  z-index: 2;
}

.mcg-campaign-page .process::after,
body.page-template-template-mcgowans-campaign .process::after,
body.page-template-template-mcgowans-campaign-php .process::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: #fff;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 1;
}

.process-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 60px;
}
.process-left h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.process-left p {
  font-size: 13px;
  color: #3a3a3e;
  line-height: 1.65;
  max-width: 380px;
}
.video-frame {
  aspect-ratio: 1.6/1;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Process steps with curved line */
.process-steps {
  position: relative;
  isolation: isolate;
}
.step-line {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.step-line .line-top,
.step-line .line-drop,
.step-line .line-bottom {
  position: absolute;
}
.step-line .line-top {
  top: 0;
  left: 0;
  width: calc(-20px + 45%);
  height: calc(-25px + 100%);
  margin-top: -90px;
  border-top-right-radius: 20px;
  border-top: 1px dotted #9aa1aa;
  border-right: 1px dotted #9aa1aa;
}

.step-line .line-bottom {
  top: 25%;
  left: calc(-20px + 45%);
  width: 50%;
  height: 20px;
  margin-top: -20px;
  border-bottom-left-radius: 20px;
  border-bottom: 1px dotted #9aa1aa;
  border-left: 1px dotted #9aa1aa;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}
.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-up {
  margin-top: -120px;
}
.step-circle {
  width: 60px;
  height: 60px;
  background: var(--purple);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  /* hex-like */
  clip-path: polygon(
    0 28%,
    0 72%,
    30% 100%,
    50% 86%,
    70% 100%,
    100% 72%,
    100% 28%,
    70% 0,
    50% 14%,
    30% 0
  );
  border-radius: 0;
}
.step.teal .step-circle {
  background: var(--teal);
}

/* Campaign page: custom step-circle sequence colors */
body.page-template-template-mcgowans-campaign
  .process-steps
  .steps-grid
  > .step:nth-child(2)
  .step-circle,
body.page-template-template-mcgowans-campaign-php
  .process-steps
  .steps-grid
  > .step:nth-child(2)
  .step-circle {
  background: #9e90dd;
}

body.page-template-template-mcgowans-campaign
  .process-steps
  .steps-grid
  > .step:nth-child(3)
  .step-circle,
body.page-template-template-mcgowans-campaign-php
  .process-steps
  .steps-grid
  > .step:nth-child(3)
  .step-circle {
  background: #8da8d2;
}

body.page-template-template-mcgowans-campaign
  .process-steps
  .steps-grid
  > .step:nth-child(4)
  .step-circle,
body.page-template-template-mcgowans-campaign-php
  .process-steps
  .steps-grid
  > .step:nth-child(4)
  .step-circle {
  background: #7bc1c6;
}

body.page-template-template-mcgowans-campaign
  .process-steps
  .steps-grid
  > .step:nth-child(5)
  .step-circle,
body.page-template-template-mcgowans-campaign-php
  .process-steps
  .steps-grid
  > .step:nth-child(5)
  .step-circle {
  background: #0c9592;
}

.step-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a22;
  line-height: 1.3;
}
.step-name {
  font-size: 10px;
  color: #5a5a60;
  margin-top: 2px;
}
/* MOCKED UP */
.mockup-section {
  background: #fff;
}

.mockup-section h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.mockup-section > .container > p {
  font-size: 13px;
  font-weight: 600;
  color: #3a3a3e;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 520px;
}
/* NEED EXAMPLES */
.examples-wrap {
  background: #f3f4f6;
  padding: 50px 0;
  text-align: center;
}
.examples-wrap > .container {
  padding-left: 32px !important;
  padding-right: 32px !important;
}
.examples-wrap h2 {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.examples-wrap > p {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #3a3a3e;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.ex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 840px;
  margin: 0 auto 26px;
}
.ex-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dcdde0;
  text-align: center;
}
.ex-img {
  aspect-ratio: 1.6/1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ex-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ex-card-label {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
}
.ex-card-label .nav-arr {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: var(--purple);
  -webkit-mask: url("../svg/arrow-right-white.svg") center / contain no-repeat;
  mask: url("../svg/arrow-right-white.svg") center / contain no-repeat;
}
.ex-card-label .nav-arr--left {
  transform: scaleX(-1);
}
/* PIONEERING */
.pioneering {
  margin: 0 auto;
  text-align: center;
  background: #f3f4f6;
}

.pioneering h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}
.pioneering > .container > p {
  font-size: 13px;
  color: #3a3a3e;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.video-large {
  aspect-ratio: 1.9/1;
  max-width: 780px;
  margin: 0 auto 50px;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.feature {
  text-align: center;
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--teal);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(
    0 28%,
    0 72%,
    30% 100%,
    50% 86%,
    70% 100%,
    100% 72%,
    100% 28%,
    70% 0,
    50% 14%,
    30% 0
  );
}
.feature-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  display: block;
}
.feature-text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}
/* MACHINES */
.machines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.machine {
  text-align: left;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
}
.machine-img {
  height: 120px;
  border-radius: 6px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.machine h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}
.machine p {
  font-size: 11px;
  color: #3a3a3e;
  line-height: 1.5;
  text-align: center;
}
.machines-cta-wrap {
  text-align: center;
  padding: 40px 0 30px;
}
/* SUSTAINABILITY */
.sustain {
  text-align: center;
  background-size: 100%;
  position: relative;
  overflow: hidden;
}

.sustain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(243, 244, 246, 1) 0%,
    rgba(243, 244, 246, 1) 40%,
    rgba(255, 255, 255, 0.5) 70%,
    rgba(255, 255, 255, 0.08) 100%
  );
  pointer-events: none;
}

.sustain > .container {
  position: relative;
  z-index: 1;
}

.sustain h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  margin-top: 0;
}
.sustain h2 .green-emph {
  color: #0c9592;
  font-weight: 700;
}
.sustain p {
  font-size: 13px;
  color: #1a1a22;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 80px;
}
/* PACKAGING PARTNER + FAQ */
.partner-faq {
  padding: 60px 0 80px;
  background: #fff;
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}
.partner-grid h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}
.partner-grid > div:first-child > p {
  font-size: 13px;
  color: #3a3a3e;
  line-height: 1.65;
  margin-bottom: 20px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid #e5e7ea;
  padding: 14px 4px;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.faq-icon {
  color: var(--purple);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.mcg-campaign-page .partner-faq .faq-icon,
body.page-template-template-mcgowans-campaign .partner-faq .faq-icon,
body.page-template-template-mcgowans-campaign-php .partner-faq .faq-icon {
  display: none;
}

.mcg-campaign-page .partner-faq .faq-q::after,
body.page-template-template-mcgowans-campaign .partner-faq .faq-q::after,
body.page-template-template-mcgowans-campaign-php .partner-faq .faq-q::after {
  content: "";
  width: 14px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
  margin-left: 12px;
  background-color: var(--purple);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 18' fill='none'%3E%3Cpath d='M3 3L14 15L25 3' stroke='black' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 18' fill='none'%3E%3Cpath d='M3 3L14 15L25 3' stroke='black' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 12px;
  color: #4a4a50;
  line-height: 1.6;
  padding-right: 24px;
  transition:
    max-height 0.3s ease,
    opacity 0.25s ease,
    margin-top 0.25s ease;
}
.faq-item.is-open .faq-a {
  max-height: 180px;
  opacity: 1;
  margin-top: 10px;
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.mcg-campaign-page .partner-faq .faq-item.is-open .faq-icon,
body.page-template-template-mcgowans-campaign .partner-faq .faq-item.is-open .faq-icon,
body.page-template-template-mcgowans-campaign-php .partner-faq .faq-item.is-open .faq-icon {
  transform: none;
  -webkit-mask: url("../svg/faq-close-orange.svg") center / contain no-repeat;
  mask: url("../svg/faq-close-orange.svg") center / contain no-repeat;
}

.mcg-campaign-page .partner-faq .faq-item.is-open .faq-q::after,
body.page-template-template-mcgowans-campaign .partner-faq .faq-item.is-open .faq-q::after,
body.page-template-template-mcgowans-campaign-php .partner-faq .faq-item.is-open .faq-q::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 4L20 20' stroke='black' stroke-width='3' stroke-linecap='square'/%3E%3Cpath d='M20 4L4 20' stroke='black' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 4L20 20' stroke='black' stroke-width='3' stroke-linecap='square'/%3E%3Cpath d='M20 4L4 20' stroke='black' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 1024px) {
  .hero-split,
  .hero-split-2 {
    grid-template-columns: 1fr;
  }
  .process-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .step-up {
    margin-top: 0;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ex-grid {
    grid-template-columns: 1fr;
  }
  .features-row {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .machines-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 768px) {
  .hero-left h1 {
    font-size: 28px;
  }
  .partner-grid h2,
  .sustain h2,
  .pioneering h2 {
    font-size: 22px;
  }
  .line-bottom,
  .line-top {
    display: none;
  }

  .mcg-campaign-page .process,
  body.page-template-template-mcgowans-campaign .process,
  body.page-template-template-mcgowans-campaign-php .process {
    padding-bottom: 130px;
  }

  .mcg-campaign-page .process::after,
  body.page-template-template-mcgowans-campaign .process::after,
  body.page-template-template-mcgowans-campaign-php .process::after {
    height: 90px;
  }

  .examples-wrap {
    padding: 36px 0;
  }
  .examples-wrap > .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

.workshop {
  display: none !important;
}

.wpb_row {
  margin-bottom: 0 !important;
}
