.wp-block-aumet-stacked-cards {
  margin: 0;
}

.aumet-stacked-cards {
  --aumet-stacked-cards-max-width: 1320px;
  --aumet-stacked-cards-section-padding-top: 16px;
  --aumet-stacked-cards-section-padding-bottom: 96px;
  --aumet-stacked-cards-section-padding-inline: 24px;
  --aumet-stacked-cards-header-max-width: 720px;
  --aumet-stacked-cards-header-margin-bottom: 56px;
  --aumet-stacked-cards-card-width: 1240px;
  --aumet-stacked-cards-card-height: 410px;
  --aumet-stacked-cards-tablet-card-width: 1000px;
  --aumet-stacked-cards-tablet-card-height: 560px;
  --aumet-stacked-cards-mobile-card-width: 520px;
  --aumet-stacked-cards-mobile-card-height: 520px;
  --aumet-stacked-cards-card-radius: 26px;
  --aumet-stacked-cards-card-padding-block: 44px;
  --aumet-stacked-cards-card-padding-inline: 48px;
  --aumet-stacked-cards-stack-gap: 28px;
  --aumet-stacked-cards-sticky-top: 84px;
  --aumet-stacked-cards-column-gap: 36px;
  --aumet-stacked-cards-visual-column-width: 540px;
  --aumet-stacked-cards-title-max-width: 520px;
  --aumet-stacked-cards-title-size: 32px;
  --aumet-stacked-cards-title-margin-bottom: 44px;
  --aumet-stacked-cards-feature-size: 24px;
  --aumet-stacked-cards-feature-gap: 20px;
  --aumet-stacked-cards-feature-icon-size: 23px;
  --aumet-stacked-cards-feature-icon-gap: 18px;
  --aumet-stacked-cards-feature-icon-padding-top: 0px;
  --aumet-stacked-cards-feature-icon-padding-right: 0px;
  --aumet-stacked-cards-feature-icon-padding-bottom: 0px;
  --aumet-stacked-cards-feature-icon-padding-left: 0px;
  --aumet-stacked-cards-feature-icon-margin-top: 0px;
  --aumet-stacked-cards-feature-icon-margin-right: 0px;
  --aumet-stacked-cards-feature-icon-margin-bottom: 0px;
  --aumet-stacked-cards-feature-icon-margin-left: 0px;
  --aumet-stacked-cards-tablet-card-padding-block: 32px;
  --aumet-stacked-cards-tablet-card-padding-inline: 24px;
  --aumet-stacked-cards-tablet-visual-min-height: 360px;
  --aumet-stacked-cards-mobile-card-padding-block: 22px;
  --aumet-stacked-cards-mobile-card-padding-inline: 16px;
  --aumet-stacked-cards-mobile-visual-min-height: 240px;
  --aumet-stacked-cards-mobile-title-size: 24px;
  --aumet-stacked-cards-mobile-feature-size: 18px;
  --aumet-stacked-cards-mobile-breakpoint: 1024px;
  --aumet-stacked-cards-section-bg: transparent;
  --aumet-stacked-cards-card-bg: #ffffff;
  --aumet-stacked-cards-heading-color: #1d1d1f;
  --aumet-stacked-cards-subheading-color: #3c4042;
  --aumet-stacked-cards-title-color: #1d1d1f;
  --aumet-stacked-cards-feature-color: #4b4f58;
  --aumet-stacked-cards-feature-icon-color: #4b4f58;
  --aumet-stacked-cards-feature-icon-image: none;
  --aumet-stacked-cards-plate-color: #eef1f5;
  --aumet-stacked-cards-shadow-y-one: 8px;
  --aumet-stacked-cards-shadow-y-two: 1px;
  --aumet-stacked-cards-shadow-blur-one: 24px;
  --aumet-stacked-cards-shadow-blur-two: 8px;
  --aumet-stacked-cards-shadow-color-one: rgba(0, 0, 0, 0.05);
  --aumet-stacked-cards-shadow-color-two: rgba(0, 0, 0, 0.086);
  background: var(--aumet-stacked-cards-section-bg);
  color: var(--aumet-stacked-cards-feature-color);
  font-family: inherit;
}

.aumet-stacked-cards__inner {
  width: 100%;
  max-width: var(--aumet-stacked-cards-max-width);
  margin-inline: auto;
  padding-block: var(--aumet-stacked-cards-section-padding-top) var(--aumet-stacked-cards-section-padding-bottom);
  padding-inline: var(--aumet-stacked-cards-section-padding-inline);
  box-sizing: border-box;
}

.aumet-stacked-cards__header {
  width: 100%;
  max-width: var(--aumet-stacked-cards-header-max-width);
  margin-inline: auto;
  margin-block-end: var(--aumet-stacked-cards-header-margin-bottom);
  text-align: center;
}

.aumet-stacked-cards__heading {
  margin: 0;
  color: var(--aumet-stacked-cards-heading-color);
  font-size: inherit;
  font-weight: 600;
  line-height: 1.05;
}

.aumet-stacked-cards__subheading {
  margin: 16px 0 0;
  color: var(--aumet-stacked-cards-subheading-color);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.45;
}

.aumet-stacked-cards__cards {
  position: relative;
}

.aumet-stacked-cards__card {
  position: sticky;
  top: var(--aumet-stacked-cards-sticky-top);
  width: min(100%, var(--aumet-stacked-cards-card-width));
  min-height: var(--aumet-stacked-cards-card-height);
  margin-inline: auto;
  margin-block-end: var(--aumet-stacked-cards-stack-gap);
  transform-origin: center top;
  will-change: transform;
}

.aumet-stacked-cards__card-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, var(--aumet-stacked-cards-visual-column-width));
  gap: var(--aumet-stacked-cards-column-gap);
  align-items: center;
  min-height: 100%;
  padding-block: var(--aumet-stacked-cards-card-padding-block);
  padding-inline: var(--aumet-stacked-cards-card-padding-inline);
  box-sizing: border-box;
  border-radius: var(--aumet-stacked-cards-card-radius);
  background: var(--aumet-stacked-cards-card-bg);
  box-shadow:
    0 var(--aumet-stacked-cards-shadow-y-one) var(--aumet-stacked-cards-shadow-blur-one) 0 var(--aumet-stacked-cards-shadow-color-one),
    0 var(--aumet-stacked-cards-shadow-y-two) var(--aumet-stacked-cards-shadow-blur-two) 0 var(--aumet-stacked-cards-shadow-color-two);
  overflow: hidden;
}

.aumet-stacked-cards__column {
  min-width: 0;
  box-sizing: border-box;
}

.aumet-stacked-cards__column--left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translate(var(--aumet-stacked-card-left-offset-x, 0px), var(--aumet-stacked-card-left-offset-y, 0px));
}

.aumet-stacked-cards__column--right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  transform: translate(var(--aumet-stacked-card-right-offset-x, 0px), var(--aumet-stacked-card-right-offset-y, 0px));
}

.aumet-stacked-cards__card.has-plate-layer .aumet-stacked-cards__column--right::before {
  content: "";
  position: absolute;
  inset-inline-end: var(--aumet-stacked-card-plate-offset-x, 0px);
  inset-block-end: var(--aumet-stacked-card-plate-offset-y, 14px);
  width: min(100%, var(--aumet-stacked-card-plate-width, 560px));
  height: var(--aumet-stacked-card-plate-height, 300px);
  border-radius: var(--aumet-stacked-card-plate-radius, 34px);
  background-color: var(--aumet-stacked-card-plate-bg, var(--aumet-stacked-cards-plate-color));
  background-image: var(--aumet-stacked-card-plate-image, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: var(--aumet-stacked-card-plate-image-fit, cover);
  pointer-events: none;
  z-index: 0;
}

.aumet-stacked-cards__column--right > * {
  position: relative;
  z-index: 1;
  width: 100%;
}

.aumet-stacked-cards__title-block {
  max-width: var(--aumet-stacked-cards-title-max-width);
  margin: 0 0 var(--aumet-stacked-cards-title-margin-bottom);
  color: var(--aumet-stacked-cards-title-color);
  font-size: var(--aumet-stacked-cards-title-size);
  font-weight: 600;
  line-height: 1.2;
}

.aumet-stacked-cards__feature-list,
.aumet-stacked-cards__column--left .wp-block-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aumet-stacked-cards__feature-list li,
.aumet-stacked-cards__column--left .wp-block-list > li {
  position: relative;
  min-height: calc(
    var(--aumet-stacked-cards-feature-icon-margin-top) +
    var(--aumet-stacked-cards-feature-icon-padding-top) +
    var(--aumet-stacked-cards-feature-icon-size) +
    var(--aumet-stacked-cards-feature-icon-padding-bottom) +
    var(--aumet-stacked-cards-feature-icon-margin-bottom)
  );
  margin: 0;
  padding-inline-start: calc(
    var(--aumet-stacked-cards-feature-icon-margin-left) +
    var(--aumet-stacked-cards-feature-icon-padding-left) +
    var(--aumet-stacked-cards-feature-icon-size) +
    var(--aumet-stacked-cards-feature-icon-padding-right) +
    var(--aumet-stacked-cards-feature-icon-margin-right) +
    var(--aumet-stacked-cards-feature-icon-gap)
  );
  color: var(--aumet-stacked-cards-feature-color);
  font-size: var(--aumet-stacked-cards-feature-size);
  line-height: 1.45;
}

.aumet-stacked-cards__feature-list li + li,
.aumet-stacked-cards__column--left .wp-block-list > li + li {
  margin-block-start: var(--aumet-stacked-cards-feature-gap);
}

.aumet-stacked-cards__feature-list li::before,
.aumet-stacked-cards__column--left .wp-block-list > li::before {
  content: "";
  position: absolute;
  inset-inline-start: var(--aumet-stacked-cards-feature-icon-margin-left);
  inset-block-start: 0;
  width: calc(
    var(--aumet-stacked-cards-feature-icon-padding-left) +
    var(--aumet-stacked-cards-feature-icon-size) +
    var(--aumet-stacked-cards-feature-icon-padding-right)
  );
  height: calc(
    var(--aumet-stacked-cards-feature-icon-padding-top) +
    var(--aumet-stacked-cards-feature-icon-size) +
    var(--aumet-stacked-cards-feature-icon-padding-bottom)
  );
  background-color: transparent;
  background-image: var(--aumet-stacked-cards-feature-icon-image);
  background-repeat: no-repeat;
  background-size: var(--aumet-stacked-cards-feature-icon-size) var(--aumet-stacked-cards-feature-icon-size);
  background-position: calc(50% + ((var(--aumet-stacked-cards-feature-icon-padding-left) - var(--aumet-stacked-cards-feature-icon-padding-right)) / 2)) calc(50% + ((var(--aumet-stacked-cards-feature-icon-padding-top) - var(--aumet-stacked-cards-feature-icon-padding-bottom)) / 2));
  transform: translateY(calc(var(--aumet-stacked-cards-feature-icon-margin-top) - var(--aumet-stacked-cards-feature-icon-margin-bottom)));
}

.aumet-stacked-cards__column--right .wp-block-image,
.aumet-stacked-cards__phone-image {
  margin: 0;
}

.aumet-stacked-cards__column--right .wp-block-image img,
.aumet-stacked-cards__phone-image img,
.aumet-stacked-cards__image {
  display: block;
  width: min(100%, var(--aumet-stacked-card-phone-width, 460px));
  max-width: 100%;
  max-height: var(--aumet-stacked-card-phone-max-height, 420px);
  margin-inline-start: auto;
  margin-inline-end: auto;
  transform: translate(var(--aumet-stacked-card-phone-offset-x, 0px), var(--aumet-stacked-card-phone-offset-y, 0px));
  object-fit: contain;
  object-position: center bottom;
}

.aumet-stacked-cards__card.is-edge .aumet-stacked-cards__column--right {
  justify-content: flex-end;
}

.aumet-stacked-cards__card.is-edge .aumet-stacked-cards__column--right .wp-block-image img,
.aumet-stacked-cards__card.is-edge .aumet-stacked-cards__phone-image img,
.aumet-stacked-cards__card.is-edge .aumet-stacked-cards__image {
  margin-inline-end: auto;
}

.aumet-stacked-cards__card.is-artwork .aumet-stacked-cards__column--right .wp-block-image img,
.aumet-stacked-cards__card.is-artwork .aumet-stacked-cards__phone-image img,
.aumet-stacked-cards__card.is-artwork .aumet-stacked-cards__image {
  max-height: none;
}

.aumet-stacked-cards__image-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px dashed #cfd8e3;
  border-radius: 24px;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}

.aumet-stacked-cards__inspector-note {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
}

.editor-styles-wrapper .aumet-stacked-cards__cards > .block-editor-inner-blocks,
.block-editor-page .aumet-stacked-cards__cards > .block-editor-inner-blocks {
  display: block;
}

.editor-styles-wrapper .aumet-stacked-cards__cards > .block-editor-inner-blocks > .block-editor-block-list__layout,
.block-editor-page .aumet-stacked-cards__cards > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: grid;
  gap: var(--aumet-stacked-cards-stack-gap);
}

.editor-styles-wrapper .aumet-stacked-cards__card,
.block-editor-page .aumet-stacked-cards__card {
  position: relative;
  top: auto;
  margin-block-end: 0;
  transform: none !important;
}

.editor-styles-wrapper .aumet-stacked-cards__card-shell > .block-editor-inner-blocks,
.block-editor-page .aumet-stacked-cards__card-shell > .block-editor-inner-blocks,
.editor-styles-wrapper .aumet-stacked-cards__card-shell > .block-editor-inner-blocks > .block-editor-block-list__layout,
.block-editor-page .aumet-stacked-cards__card-shell > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: contents;
}

@media (max-width: 1200px) {
  .aumet-stacked-cards__heading {
    font-size: inherit;
  }

  .aumet-stacked-cards__card-shell {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 460px);
    gap: 28px;
    padding-inline: 36px;
  }
}

@media (max-width: 1024px) {
  .aumet-stacked-cards__card {
    width: min(100%, var(--aumet-stacked-cards-tablet-card-width));
    min-height: var(--aumet-stacked-cards-tablet-card-height);
  }

  .aumet-stacked-cards__card-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 100%;
    padding-block: var(--aumet-stacked-cards-tablet-card-padding-block);
    padding-inline: var(--aumet-stacked-cards-tablet-card-padding-inline);
  }

  .aumet-stacked-cards__column--right {
    min-height: var(--aumet-stacked-cards-tablet-visual-min-height);
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .aumet-stacked-cards__inner {
    padding-inline: 16px;
    padding-block-end: 72px;
  }

  .aumet-stacked-cards__header {
    margin-block-end: 32px;
  }

  .aumet-stacked-cards__heading {
    font-size: inherit;
  }

  .aumet-stacked-cards__subheading {
    margin-top: 12px;
    font-size: 16px;
  }

  .aumet-stacked-cards__card {
    width: min(100%, var(--aumet-stacked-cards-mobile-card-width));
    min-height: var(--aumet-stacked-cards-mobile-card-height);
  }

  .aumet-stacked-cards__card-shell {
    gap: 35px;
    padding-block: var(--aumet-stacked-cards-mobile-card-padding-block);
    padding-inline: var(--aumet-stacked-cards-mobile-card-padding-inline);
  }

  .aumet-stacked-cards__title-block {
    margin-bottom: 22px;
    font-size: inherit;
  }

  .aumet-stacked-cards__feature-list li,
  .aumet-stacked-cards__column--left .wp-block-list > li {
    font-size: inherit;
  }

  .aumet-stacked-cards__column--right {
    min-height: var(--aumet-stacked-cards-mobile-visual-min-height);
  }
}


/* Hide the Default Header */
	.aumet-stacked-cards__header {
		display: none;
	}

@media (max-width: 767px) {
	.aumet-stacked-cards__title-block {
		padding-bottom: 30px !important;
	}

	.aumet-stacked-cards__feature-list li, .aumet-stacked-cards__column--left .wp-block-list > li {
		font-size: 14px;
	}

	.aumet-stacked-cards__title-block {
		font-size: 17px;
	}

	.aumet-stacked-cards {
		--aumet-stacked-cards-sticky-top: 75px !important; 
	}
}

