/* Core Designs directory hero. */

.dw-core-designs-hero {
  --dw-core-designs-header-clearance: 93px;
  position: relative;
  overflow: hidden;
  margin-top: var(--dw-core-designs-header-clearance);
  min-height: 447px;
  background:
    radial-gradient(720px 390px at 72% 53%, rgba(190, 145, 255, 0.25) 0%, rgba(190, 145, 255, 0.14) 38%, transparent 76%),
    radial-gradient(820px 500px at 91% 46%, rgba(91, 190, 255, 0.18) 0%, rgba(91, 190, 255, 0.09) 42%, transparent 78%),
    linear-gradient(115deg, #ffffff 0%, #ffffff 40%, #fffbff 69%, #f9fcff 100%);
}

body.admin-bar .dw-core-designs-hero {
  margin-top: calc(var(--dw-core-designs-header-clearance) - var(--wp-admin--admin-bar--height, 32px));
}

.dw-core-designs-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 11%, rgba(255, 255, 255, 0.18) 27%, transparent 43%, transparent 88%, rgba(255, 255, 255, 0.18) 100%);
}

.dw-core-designs-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 447px;
  padding-top: 39px;
}

.dw-core-designs-hero__copy {
  position: relative;
  z-index: 10;
  width: 470px;
}

.dw-core-designs-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 0;
  margin: 0;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(110, 70, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(47, 116, 255, 0.08);
  color: var(--color-accent-violet);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}

.dw-core-designs-hero__pill-icon {
  display: inline-flex;
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 auto;
  color: var(--color-accent-violet);
}

.dw-core-designs-hero__pill-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.dw-core-designs-hero__pill-text {
  display: inline-block;
  padding-inline-end: 0.04em;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--color-accent-violet) 0%, #5a6dff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.dw-core-designs-hero__title {
  max-width: 455px;
  margin: 16px 0 19px;
  color: #0d1938;
  font-family: var(--font-heading);
  font-size: 45px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.01;
}

.dw-core-designs-hero__title span {
  color: transparent;
  background: linear-gradient(102deg, #5b36ed 4%, #318bf5 92%);
  -webkit-background-clip: text;
  background-clip: text;
}

.dw-core-designs-hero__text {
  width: 410px;
  margin: 0;
  color: #3d4b6a;
  font-size: 15.2px;
  letter-spacing: 0;
  line-height: 1.52;
}

.dw-core-designs-hero__actions {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 27px;
}

.dw-core-designs-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 42px;
  gap: 17px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #17213f;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.dw-core-designs-hero__button:hover,
.dw-core-designs-hero__button:focus-visible {
  transform: translateY(-1px);
}

.dw-core-designs-hero__button--primary {
  min-width: 173px;
  border: 0;
  background: linear-gradient(112deg, #1fa8f4 0%, #356ff6 53%, #6931ef 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 8px 19px rgba(72, 83, 239, 0.22);
  color: #ffffff;
}

.dw-core-designs-hero__button--primary:hover,
.dw-core-designs-hero__button--primary:focus-visible,
.dw-core-designs-hero__button--primary:active {
  color: #ffffff;
}

.dw-core-designs-hero__button--secondary {
  border: 1px solid #dbe0eb;
  background: rgba(255, 255, 255, 0.72);
}

.dw-core-designs-hero__button--secondary:hover,
.dw-core-designs-hero__button--secondary:focus-visible {
  border-color: #bbc3d8;
}

.dw-core-designs-hero__button-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.dw-core-designs-hero__showcase {
  --dw-core-designs-hero-card-size: min(32vw, 380px);
  position: absolute;
  z-index: 4;
  top: 50%;
  right: -25px;
  width: min(55vw, 665px);
  height: calc(var(--dw-core-designs-hero-card-size) + 8px);
  transform: translateY(-50%);
}

.dw-core-designs-hero__carousel {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.dw-core-designs-hero__carousel:active {
  cursor: grabbing;
}

.dw-core-designs-hero__carousel:focus-visible {
  outline: 3px solid rgba(49, 139, 245, 0.55);
  outline-offset: 5px;
}

.dw-core-designs-hero__carousel-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--dw-core-designs-hero-card-size);
  height: var(--dw-core-designs-hero-card-size);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.5);
  transition: all 600ms cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  -webkit-user-select: none;
  will-change: transform, opacity;
}

.dw-core-designs-hero__carousel-card.is-active {
  z-index: 50;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateX(var(--dw-core-designs-hero-spread, 118px));
}

.dw-core-designs-hero__carousel-card.is-secondary {
  z-index: 40;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(0.85);
}

.dw-core-designs-hero__carousel-card.is-tertiary {
  z-index: 30;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateX(calc(var(--dw-core-designs-hero-spread, 118px) * -1)) scale(0.7);
}

.dw-core-designs-hero__carousel-surface {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(30, 41, 59, 0.1);
  transition: box-shadow 500ms ease;
}

.dw-core-designs-hero__carousel-card.is-active .dw-core-designs-hero__carousel-surface {
  outline: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
}

.dw-core-designs-hero__carousel-picture,
.dw-core-designs-hero__carousel-picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.dw-core-designs-hero__carousel-picture img {
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.dw-core-designs-hero__carousel-overlay {
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.dw-core-designs-hero__carousel-card.is-secondary .dw-core-designs-hero__carousel-overlay {
  opacity: 0.25;
}

.dw-core-designs-hero__carousel-card.is-tertiary .dw-core-designs-hero__carousel-overlay {
  opacity: 0.5;
}

.dw-core-designs-features {
  padding: 10px 0 0;
  background: #ffffff;
}

.dw-core-designs-features__card {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 80px;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 25px rgba(28, 38, 81, 0.05);
}

.dw-core-designs-features__item {
  position: relative;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  min-width: 0;
  padding: 13px 14px;
}

.dw-core-designs-features__item:not(:last-child)::after {
  position: absolute;
  top: 22px;
  right: 0;
  width: 1px;
  height: 31px;
  background: #e5e8f0;
  content: "";
}

.dw-core-designs-features__icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border: 1px solid #e4defe;
  border-radius: 11px;
  background: linear-gradient(145deg, #fbfaff 0%, #f2efff 100%);
  box-shadow: inset 0 1px 0 #ffffff;
  color: #593cf1;
}

.dw-core-designs-features__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dw-core-designs-features__copy {
  min-width: 0;
  color: #65708c;
  font-size: 0.75rem;
  line-height: 1.42;
}

.dw-core-designs-features__copy strong,
.dw-core-designs-features__copy span {
  display: block;
}

.dw-core-designs-features__copy strong {
  margin-bottom: 3px;
  color: #17203c;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.dw-core-designs-intro-card {
  padding: 10px 0 0;
  background: #ffffff;
}

.dw-core-designs-intro-card__surface {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 258px;
  overflow: hidden;
  border: 1px solid #e8ebf2;
  border-radius: 11px;
  background: #ffffff;
}

.dw-core-designs-intro-card__column {
  position: relative;
  padding: 22px 24px;
}

.dw-core-designs-intro-card__column + .dw-core-designs-intro-card__column::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: #e5e8ef;
  content: "";
}

.dw-core-designs-intro-card h2 {
  margin: 0;
  color: #101b39;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.dw-core-designs-intro-card__column > p {
  max-width: 520px;
  margin: 11px 0 0;
  color: #65708c;
  font-size: 0.9rem;
  line-height: 1.55;
}

.dw-core-designs-intro-card__flow {
  display: grid;
  grid-template-columns: 100px 120px 100px;
  justify-content: center;
  gap: clamp(2rem, 4.6vw, 4.5rem);
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dw-core-designs-intro-card__flow li {
  position: relative;
  display: grid;
  justify-items: center;
  color: #27314f;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.dw-core-designs-intro-card__flow-arrow {
  position: absolute;
  top: 16px;
  left: calc(100% + 8px);
  width: clamp(2.4rem, 4vw, 4rem);
  height: 24px;
  color: #8d96ad;
  pointer-events: none;
}

.dw-core-designs-intro-card__flow-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke-width: 1.4;
}

.dw-core-designs-intro-card__flow-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  place-items: center;
  border: 1px solid #e7e2fb;
  border-radius: 50%;
  background: linear-gradient(145deg, #faf8ff, #f1eeff);
  color: #573af0;
}

.dw-core-designs-intro-card__flow-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dw-core-designs-intro-card__column--how {
  padding-left: 42px;
}

.dw-core-designs-intro-card__steps {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.dw-core-designs-intro-card__steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.dw-core-designs-intro-card__steps > li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #159ff4 0%, #4d69f5 48%, #6c31ef 100%);
  box-shadow: 0 5px 13px rgba(71, 88, 237, 0.18);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
}

.dw-core-designs-intro-card__steps h3,
.dw-core-designs-intro-card__steps p {
  margin: 0;
}

.dw-core-designs-intro-card__steps h3 {
  margin-bottom: 2px;
  color: #17203c;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.dw-core-designs-intro-card__steps p {
  color: #65708c;
  font-size: 0.9rem;
  line-height: 1.45;
}

.dw-resources-listing--core-designs {
  scroll-margin-top: 7rem;
  padding-top: 1.4rem;
}

.dw-core-designs-bespoke-callout {
  padding: 14px 0 0;
  background: #ffffff;
}

.dw-core-designs-bespoke-callout__surface {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: clamp(0.95rem, 1.8vw, 1.2rem) 0;
  border-top: 1px solid #e8ebf2;
  border-bottom: 1px solid #e8ebf2;
  text-align: center;
}

.dw-core-designs-bespoke-callout__icon {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 1.8rem;
  color: #4d69f5;
}

.dw-core-designs-bespoke-callout__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dw-core-designs-bespoke-callout p {
  max-width: 760px;
  margin: 0 auto;
  color: #53607c;
  font-size: clamp(0.84rem, 1.05vw, 0.94rem);
  line-height: 1.55;
}

.dw-core-designs-bespoke-callout a {
  color: #345df4;
  font-weight: 750;
  text-decoration-color: rgba(52, 93, 244, 0.42);
  text-underline-offset: 0.18em;
}

.dw-core-designs-bespoke-callout a:hover,
.dw-core-designs-bespoke-callout a:focus-visible {
  color: #5838ee;
  text-decoration-color: currentColor;
}

.dw-resources-page--core-designs .dw-core-design-card--directory {
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(17, 26, 51, 0.08);
  border-radius: 8px;
  background: rgba(241, 247, 255, 0.78);
  box-shadow: 0 12px 26px rgba(16, 26, 55, 0.08);
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__image-link {
  display: block;
  aspect-ratio: 1 / 1;
  line-height: 0;
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__media picture,
.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__media img {
  object-fit: cover;
  transition: transform var(--transition-base);
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__body {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 0;
  padding: clamp(0.9rem, 1.4vw, 1rem) 15px 0;
}

.dw-resources-page--core-designs .dw-core-design-card--directory {
  margin-bottom: 50px;
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__title {
  min-width: 0;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  line-height: 1.12;
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__title a {
  overflow-wrap: anywhere;
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
  margin: 0;
  color: #53607c;
  font-size: clamp(0.84rem, 1.2vw, 0.95rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__link svg {
  width: 0.95em;
  height: 0.95em;
  stroke-width: 2.2;
  transition: transform var(--transition-fast);
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__link:hover,
.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__link:focus-visible {
  color: #345df4;
}

.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__link:hover svg,
.dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__link:focus-visible svg {
  transform: translateX(2px);
}

.dw-core-design-card__overlay {
  display: none;
}

.dw-resources-page--core-designs .dw-core-designs-grid {
  column-gap: 1.15rem;
  row-gap: 0;
}

@media (hover: hover) and (pointer: fine) {
  .dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-radius: inherit;
    background: rgba(15, 24, 54, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility 0s linear var(--transition-base);
  }

  .dw-resources-page--core-designs .dw-core-design-card--directory:hover .dw-core-design-card__overlay,
  .dw-resources-page--core-designs .dw-core-design-card--directory:focus-within .dw-core-design-card__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .dw-resources-page--core-designs .dw-core-design-card--directory:hover .dw-core-design-card__media img,
  .dw-resources-page--core-designs .dw-core-design-card--directory:focus-within .dw-core-design-card__media img {
    transform: scale(1.025);
  }

  .dw-core-design-card__overlay-action {
    display: inline-flex;
    min-height: 2.7rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  }

  .dw-core-design-card__overlay-action--start {
    border-color: transparent;
    background-color: #4d69f5;
    background-image: linear-gradient(135deg, #159ff4 0%, #4d69f5 52%, #6c31ef 100%);
    background-clip: border-box;
    background-origin: border-box;
  }

  .dw-core-design-card__overlay-action--preview:hover,
  .dw-core-design-card__overlay-action--preview:focus-visible {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
  }

  .dw-core-design-card__overlay-action--start:hover,
  .dw-core-design-card__overlay-action--start:focus-visible {
    color: #ffffff;
    background-color: #5e76fa;
    background-image: linear-gradient(135deg, #2aaaf6 0%, #5e76fa 52%, #7c45f2 100%);
    transform: translateY(-1px);
  }
}

@media (max-width: 720px) {
  .dw-resources-page--core-designs .dw-core-designs-grid {
    justify-items: center;
  }

  .dw-resources-page--core-designs .dw-core-design-card--directory {
    width: min(100%, 500px);
  }

  .dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__title {
    font-size: clamp(1.32rem, 2.35vw, 1.62rem);
  }

  .dw-resources-page--core-designs .dw-core-design-card--directory .dw-core-design-card__link {
    font-size: clamp(0.88rem, 1.35vw, 1rem);
  }
}

@media (max-width: 1240px) {
  .dw-core-designs-features__card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dw-core-designs-features__item {
    padding: 15px 20px;
  }

  .dw-core-designs-features__copy {
    font-size: 0.75rem;
  }

  .dw-core-designs-features__copy strong {
    font-size: 0.8rem;
  }

  .dw-core-designs-features__item:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 960px) {
  .dw-core-designs-hero {
    margin-top: 83px;
    min-height: 0;
  }

  .dw-core-designs-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.1) 56%, rgba(255, 255, 255, 0.18) 100%);
  }

  .dw-core-designs-hero__inner {
    min-height: 0;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .dw-core-designs-hero__copy {
    display: flex;
    width: min(600px, 100%);
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-align: center;
  }

  .dw-core-designs-hero__title {
    max-width: 560px;
    margin: 18px auto 21px;
  }

  .dw-core-designs-hero__text {
    width: min(520px, 100%);
  }

  .dw-core-designs-hero__actions {
    justify-content: center;
    margin-top: 29px;
  }

  .dw-core-designs-hero__showcase {
    --dw-core-designs-hero-card-size: min(52vw, 380px);
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 665px);
    margin: 34px auto 0;
    transform: none;
  }

  .dw-core-designs-intro-card__surface {
    grid-template-columns: 1fr;
  }

  .dw-core-designs-intro-card__column {
    text-align: center;
  }

  .dw-core-designs-intro-card__column > p {
    margin-right: auto;
    margin-left: auto;
  }

  .dw-core-designs-intro-card__flow {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .dw-core-designs-intro-card__column--how {
    padding-left: 22px;
  }

  .dw-core-designs-intro-card__column + .dw-core-designs-intro-card__column::before {
    top: 0;
    right: 22px;
    bottom: auto;
    left: 22px;
    width: auto;
    height: 1px;
  }

  .dw-core-designs-intro-card__steps {
    width: min(100%, 520px);
    gap: 22px;
    margin: 20px auto 0;
  }

  .dw-core-designs-intro-card__steps li {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 9px;
    padding-bottom: 4px;
    text-align: center;
  }

  .dw-core-designs-intro-card__steps > li > span {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .dw-core-designs-intro-card__steps div {
    width: min(100%, 430px);
  }
}

@media (max-width: 820px) {
  .dw-core-designs-features__card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dw-core-designs-features__item:nth-child(3)::after {
    display: block;
  }

  .dw-core-designs-features__item:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .dw-core-designs-hero__inner {
    padding-top: 28px;
  }

  .dw-core-designs-hero__actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .dw-core-designs-hero__button {
    width: min(100%, 300px);
  }

  .dw-core-designs-hero__showcase {
    --dw-core-designs-hero-card-size: min(70vw, 350px);
  }

}

@media (max-width: 600px) {
  .dw-core-designs-features {
    padding-top: 10px;
  }

  .dw-core-designs-features__card {
    grid-template-columns: 1fr;
  }

  .dw-core-designs-features__item {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 14px;
    padding: 15px 18px;
  }

  .dw-core-designs-features__item:not(:last-child)::after,
  .dw-core-designs-features__item:nth-child(2n):not(:last-child)::after,
  .dw-core-designs-features__item:nth-child(3):not(:last-child)::after {
    display: block;
    top: auto;
    right: 18px;
    bottom: 0;
    left: 18px;
    width: auto;
    height: 1px;
  }

  .dw-core-designs-features__icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .dw-core-designs-features__icon svg {
    width: 25px;
    height: 25px;
  }

  .dw-core-designs-features__copy {
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .dw-core-designs-features__copy strong {
    font-size: 0.8rem;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .dw-core-designs-hero__title {
    font-size: clamp(1.95rem, 8.3vw, 2.25rem);
  }

  .dw-core-designs-hero__text {
    font-size: 15px;
  }

  .dw-core-designs-hero__showcase {
    --dw-core-designs-hero-card-size: min(78vw, 300px);
  }

  .dw-core-designs-intro-card {
    padding-top: 10px;
  }

  .dw-core-designs-intro-card__column {
    padding: 18px 16px;
  }

  .dw-core-designs-intro-card__column > p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .dw-core-designs-intro-card__flow li {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .dw-core-designs-intro-card__steps h3 {
    font-size: 1.1rem;
  }

  .dw-core-designs-intro-card__steps p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .dw-core-designs-intro-card__flow {
    grid-template-columns: 1fr;
    gap: 31px;
    margin-top: 20px;
  }

  .dw-core-designs-intro-card__flow-arrow {
    top: calc(100% + 5px);
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translateX(-50%) rotate(90deg);
  }

  .dw-core-designs-intro-card__column--how {
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dw-core-designs-hero__carousel-card,
  .dw-core-designs-hero__carousel-surface,
  .dw-core-designs-hero__carousel-overlay,
  .dw-core-designs-hero__button {
    transition-duration: 1ms;
  }
}
