:root {
  --white: #fff;
  --teal: #0F4546;
  --light-teal: #9FB5B5;
  --teal-secondary: #708F8F;
  --light-grey: #E2E0E0;
  --mustard: #6B5C33;
  --light-mustard: #A69D86;
  --mustard-40: #C4BEAE;
}

.cmp-promo {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding-right: 16px;
  margin: 0 auto;
}

.cmp-promo.v2 {
  padding-left: 0;
  padding-right: 16px;
}

@media (max-width: 1300px) {
  .cmp-promo,
  .cmp-promo.v2 {
    padding-left: 16px;
  }
}

.cmp-promo.pt-30 {
  padding-top: 30px;
}

.cmp-promo.pb-30 {
  padding-bottom: 30px;
}

.cmp-promo--header_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

}

.cmp-promo--headlines_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
}

.cmp-promo--headline,
.cmp-promo--headline h1,
.cmp-promo--headline h2,
.cmp-promo--headline h3,
.cmp-promo--headline p {
  box-sizing: border-box;
  font-size: 130px;
  font-weight: 500;
  margin: 0;
  margin-block-end: 0;
  margin-block-start: 0;
  line-height: 90%;
  text-transform: uppercase;
  overflow-wrap: break-word;

}

.cmp-promo--headline:nth-child(1) {
  padding-top: 10px;

}

.cmp-promo--headlines_container h2.align-left {
  align-self: flex-start;
  text-align: left;
}

.cmp-promo--headlines_container h2.align-center {
  align-self: center;
  text-align: center;
}

.cmp-promo--headlines_container h2.align-right {
  align-self: flex-end;
  text-align: right;
}

.cmp-promo--description_container {

  display: flex;
  flex-direction: column;
}

.cmp-promo--images_container {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-end;
}

.cmp-promo--item {
  flex: 1;

  overflow: hidden;

}

.cmp-promo--item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmp-promo--item.item1 {
  flex: 2;
}

.cmp-promo--item.item2,
.cmp-promo--item.item3 {
  flex: 1;
}

.cmp-promo--item_inner-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 12px;
  /*justify-content: flex-end;  */
}

.cmp-promo--inner-container {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 420px;
}

.cmp-promo--inner-container .util-caption {
  position: absolute;
  padding: 2px 6px 0;
  bottom: 15px;
  right: 10px;
  color: #fff;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  font-size: 10px;
}

.cmp-promo--description {
  color: var(--white);
  line-height: normal;
  font-size: 24px;
  padding: 0;
}

/*colors for description  combinations V1*/
.cmp-layout-shortertext .cmp-promo--description {
  color: var(--teal);
}

.cmp-layout-longertext .cmp-promo--description {
  color: var(--light-grey);
}

.cmp-promo--description p {
  margin: 0;
}

.cmp-promo--button {
  box-sizing: border-box;
  display: block;
  padding: 0.85rem;
  font-size: 24px;
  line-height: 24px;
  background: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;

}

.mw-240 {
  max-width: 240px;
}

.mw-360 {
  max-width: 360px;
}

.mw-400 {
  max-width: 400px;
}

.cmp-promo--button.smaller {
  padding: 10px 5px;

}

[data-bg="#000"],
.bg-color--black,
.black {
  background: var(--dark-text);
}

[data-bg="#fff"],
.bg-color--white {
  background: var(--white);
}

[data-bg="#0F4546"],
.bg-color--teal,
.teal {
  background: var(--teal);
}

[data-bg="#9FB5B5"],
.bg-color--light-teal,
.light-teal {
  background: var(--light-teal);
}

[data-bg="#6B5C33"],
.bg-color--mustard,
.mustard {
  background: var(--mustard);
}

.bg-color--light-mustard,
.light-mustard {
  background: var(--light-mustard);
}

.bg-color--mustard-forty,
.mustard-forty {
  background: var(--mustard-40);
}

[data-bg="#E2E0E0"],
.bg-color--grey,
.grey {
  background: var(--light-grey);
}

.title-color--black,
.black-text {
  color: var(--dark-text);
}

.title-color--white,
.white-text {
  color: var(--white);
}

.title-color--light-teal,
.light-teal-text {
  color: var(--light-teal);
}

.title-color--teal,
.teal-text {
  color: var(--teal);
}

.title-color--secondary-teal,
.teal-secondary-teal {
  color: var(--teal-secondary);
}

.title-color--grey,
.grey-text {
  color: var(--light-grey);
}

.title-color--mustard,
.mustard-text {
  color: var(--mustard);
}

.title-color--light-mustard,
.light-mustard-text {
  color: var(--light-mustard);
}

.title-color--mustard-forty,
.mustardForty-text {
  color: var(--mustard-40);
}

.font-size--large {
  font-size: 80px;
}

.font-size--medium {
  font-size: 32px;
}

.font-size--small {
  font-size: 24px;
}

a.cmp-promo--button.white-color {
  color: var(--white);
}

.cmp-promo--mt_auto {
  margin-top: auto;
}

.cmp-promo--mb_10 {
  margin-bottom: 10px;
}

.cmp-promo--mb_20 {
  margin-bottom: 20px;
}

.cmp-promo--mb_30 {
  margin-bottom: 30px;
}

/*shorter text description width blocks*/
.cmp-promo--item.item3.flex--4 {
  flex: 4;
}

.cmp-promo--item.item3.flex--3 {
  flex: 3;
}

.cmp-promo--item.item3.flex--2 {
  flex: 2;
}

/*larger  text description width blocks*/
.cmp-layout-longertext .cmp-promo--item.item1.flex--10 {
  flex: 1 1 10%;
}

/* 20% */
.cmp-layout-longertext .cmp-promo--item.item3.flex--2 {
  flex: 1 2 20%;
}

.cmp-layout-longertext .cmp-promo--item.item3.flex--3 {
  flex: 1 1 50%
}

.cmp-layout-longertext .cmp-promo--item.item3.flex--4 {
  flex: 3 3 50%;
}

.cmp-layout-longertext .cmp-promo--item.item2.flex--20 {
  flex: 1 1 25%;
}

/*longer text variation items */

.images-longer-text.cmp-promo--images_container {
  gap: 20px;
}

.images-longer-text .cmp-promo--item.item2 {
  flex: 3;
}

.images-longer-text .cmp-promo--item.item1,
.images-longer-text .cmp-promo--item.item3 {
  flex: 2;
}

.cmp-layout-longertext .cmp-promo--item {
  flex: 1;

}

.cmp-layout-longertext .cmp-promo--item.item1 {
  flex: 1 1 20%;
}

.cmp-layout-longertext .cmp-promo--item.item2 {
  flex: 2 2 30%;
}

.cmp-layout-longertext .cmp-promo--item.item3 {
  flex: 3 3 22%;
}

/* 50/50 variation items */
.cmp-promo-fifty-fifty.cmp-promo--header_container {

  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.cmp-promo-fifty-fifty .cmp-promo--headlines_container {

  flex: 0 0 62%;

}

.cmp-promo-fifty-fifty .cmp-promo--headlines_container.flex--100,
.flex--100 {
  flex: 0 0 100%;
}

.cmp-promo-fifty-fifty .cmp-promo--description_container {
  box-sizing: border-box;
  flex: 0 0 calc(38% - 20px);
  margin-left: 20px;
  align-items: flex-start; /*this could be authorable*/

}

.cmp-promo-fifty-fifty .cmp-promo--description_container p {
  color: var(--light-grey);
}

.cmp-promo-fifty-fifty.cmp-promo--images_container {
  box-sizing: border-box;
  display: flex;
  gap: 30px;
}

.cmp-promo-fifty-fifty .cmp-promo--inner-container {
  flex: 1;
  max-height: 420px;
  overflow: hidden;
}

.cmp-promo-fifty-fifty .cmp-promo--inner-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/*ONLY TEXT*/

.cmp-promo--only-description_container {
  display: flex;
  max-width: 50%;
}

.cmp-promo--header_container.only-text .cmp-promo--headline h1,
.cmp-promo--header_container.only-text .cmp-promo--headline h2,
.cmp-promo--header_container.only-text .cmp-promo--headline h3,
.cmp-promo--header_container.only-text .cmp-promo--headline p {
  font-size: clamp(80px, 32px, 24px);
}

.cmp-promo--only-description_container .only-description,
.cmp-promo--only-description_container .only-description p {
  font-size: 24px;
  margin: 0;
  line-height: 1.4;
  color: #222;
}

.fifty-width {
  max-width: 51%;
}

.seventyfive-width {
  max-width: 75%;
}

.hundred-width {
  max-width: 100%;
}

.cmp-promo--header_container.only-text .cmp-promo--headlines_container {
  margin-bottom: 30px;
}

@media screen and (max-width: 960px) {
  .cmp-promo {
    padding: 30px 16px;
  }

  .cmp-promo.v2 .cmp-promo--headline h1,
  .cmp-promo.v2 .cmp-promo--headline h2,
  .cmp-promo.v2 .cmp-promo--headline h3,
  .cmp-promo.v2 .cmp-promo--headline p {
    font-size: 13vw;
  }

  .cmp-layout-longertext .cmp-promo--item.item1,
  .cmp-layout-longertext .cmp-promo--item.item1.flex--10,
  .cmp-layout-longertext .cmp-promo--item.item2.flex--20,
  .cmp-promo--item.item1,
  .cmp-promo--item.item2 {
    flex: 1 0 50%; /* Each item takes 50% of the container width */
  }

  .cmp-layout-longertext .cmp-promo--item.item3.flex--4,
  .cmp-promo--item.item3.flex--2,
  .cmp-promo--item.item3.flex--3,
  .cmp-promo--item.item3.flex--4,
  .cmp-promo--item.item3 {
    flex: 1 0 100%; /* Third item takes full width */
  }

  /*50/50 LAYOUT */
  .cmp-promo-fifty-fifty.cmp-promo--header_container {
    margin-bottom: 30px;
    flex-direction: column;
  }

  .cmp-promo-fifty-fifty.cmp-promo--images_container {
    flex-direction: column;
    gap: 20px;
  }

  .cmp-promo-fifty-fifty .cmp-promo--inner-container {
    width: 100%;
    flex: none;
    margin-right: 0;
    margin-bottom: 0
  }

  /* ONLY TEXT*/
  .cmp-promo--only-description_container {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .cmp-promo--inner-container {
    height: auto;

  }

  .cmp-promo--headlines_container .cmp-promo--headline,
  .cmp-promo--headlines_container .cmp-promo--headline h1,
  .cmp-promo--headlines_container .cmp-promo--headline h2,
  .cmp-promo--headlines_container .cmp-promo--headline h3,
  .cmp-promo--headlines_container .cmp-promo--headline p {
    font-size: 11.111vw;
  }

}

/*V2 */
.cmp-promo--headline.font-size--large > * {
  font-size: 80px;
}

.cmp-promo--headline.font-size--medium > * {
  font-size: 32px;
}

.cmp-promo--headline.font-size--small > * {
  font-size: 24px;
}

.cmp-layout-shortertext .cmp-promo--description.v2,
.cmp-layout-shortertext .cmp-promo--description.v2 h1,
.cmp-layout-shortertext .cmp-promo--description.v2 h2,
.cmp-layout-shortertext .cmp-promo--description.v2 h3,
.cmp-layout-shortertext .cmp-promo--description.v2 p {
  color: inherit;

}

.cmp-layout-longertext .cmp-promo--description.v2 h1,
.cmp-layout-longertext .cmp-promo--description.v2 h2,
.cmp-layout-longertext .cmp-promo--description.v2 h3,
.cmp-layout-longertext .cmp-promo--description.v2 p {
  color: inherit;

}

.cmp-layout-shortertext .cmp-promo--description.v2 h1,
.cmp-layout-shortertext .cmp-promo--description.v2 h2,
.cmp-layout-shortertext .cmp-promo--description.v2 h3,
.cmp-layout-shortertext .cmp-promo--description.v2 p,
.cmp-layout-longertext .cmp-promo--description.v2 h1,
.cmp-layout-longertext .cmp-promo--description.v2 h2,
.cmp-layout-longertext .cmp-promo--description.v2 h3,
.cmp-layout-longertext .cmp-promo--description.v2 p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.cmp-promo.v2 .cmp-promo--headline {
  width: 100%;
}

.cmp-promo {
  position: relative;
}

.cmp-promo__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cmp-promo--header_container,
.cmp-promo--images_container,
.cmp-promo--description_container {
  position: relative;
  z-index: 1;
}
