.cpc-hero {
  position: relative;
  z-index: 10;
  padding-bottom: 5rem;
  margin-bottom: 3rem;
}

.cpc-hero::after {
  content: "";
  display: block;
  width: 100%;
  height: 8.5rem;
  background: #f6f1ef;
  bottom: 0;
  left: 0;
  position: absolute;
  top: auto;
  z-index: -1;
}

.cpc-hero__container {
  padding-right: var(--wp--style--root--padding-right, 1.5rem);
  padding-left: var(--wp--style--root--padding-left, 1.5rem);
}

.cpc-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: var(--wp--style--global--content-size, 1200px);
}

@media (min-width: 768px) {
  .cpc-hero__inner {
    flex-direction: row;
    gap: 3.75rem;
  }
}

.cpc-hero__column {
  display: flex;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .cpc-hero__column {
    width: 50%;
  }
}

.cpc-hero__column.left {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.cpc-hero__post-type {
  padding: 4px 8px;
  background-color: #2e2d2b;
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}

.cpc-hero__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #2e2d2b;
}

.cpc-hero__subtitle {
  font-size: 18px;
  box-shadow: 5px 0 0 #5fbca2, -5px 0 0 #5fbca2;
  font-weight: bold;
  line-height: 150%;
  background-color: #5fbca2;
  display: inline;
  padding: 0;
  margin: 0;
}

.cpc-hero__column.right img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .cpc-hero__column.right img {
    aspect-ratio: 4 / 3;
  }
}
