.left-image-right-text-section {
  background-color: rgb(var(--color-background));
}

/* Layout: image position (left or right) */
.left-image-right-text__inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 80px;
  padding: 60px 0;
}

.image-position--right .left-image-right-text__inner {
  flex-direction: row-reverse;
}

/* Column ratio: image vs content */
.column-ratio--1_2 .left-image-right-text__image {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  width: 33.333%;
}
.column-ratio--1_2 .left-image-right-text__content {
  flex: 0 0 66.666%;
  max-width: 66.666%;
  width: 66.666%;
}

.column-ratio--1_1 .left-image-right-text__image {
  flex: 0 0 50%;
  max-width: 50%;
  width: 50%;
}
.column-ratio--1_1 .left-image-right-text__content {
  flex: 0 0 50%;
  max-width: 50%;
  width: 50%;
}

.column-ratio--2_1 .left-image-right-text__image {
  flex: 0 0 66.666%;
  max-width: 66.666%;
  width: 66.666%;
}
.column-ratio--2_1 .left-image-right-text__content {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  width: 33.333%;
}

.column-ratio--2_3 .left-image-right-text__image {
  flex: 0 0 60%;
  max-width: 60%;
  width: 60%;
}
.column-ratio--2_3 .left-image-right-text__content {
  flex: 0 0 40%;
  max-width: 40%;
  width: 40%;
}

.left-image-right-text__image img,
.left-image-right-text__image-img,
.left-image-right-text__placeholder {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.left-image-right-text__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-right: 20px;
}

.left-image-right-text__title {
  margin: 0 0 32px 0;
  font-size: 56px;
  font-weight: 300;
  line-height: 1.05;
  color: rgb(var(--color-foreground));
  letter-spacing: 0.01em;
}

.left-image-right-text__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: rgb(var(--color-foreground));
  opacity: 0.85;
  max-width: 480px;
}

.left-image-right-text__description p {
  margin: 0 0 12px 0;
}

.left-image-right-text__button-wrapper {
  padding:  0 0 48px;
  width: 100%;
}

/* Custom button (not using system .button to avoid color overrides) */
.left-image-right-text__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 36px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
  box-shadow: none;
  border: 1.5px solid transparent;
}

/* Primary: matches widget — #f7f3ef default, #CFC4BB hover, no border */
.left-image-right-text__button--primary {
  color: rgb(var(--color-foreground));
  background-color: #f7f3ef;
  border-color: transparent;
}
.left-image-right-text__button--primary:hover {
  color: rgb(var(--color-foreground));
  background-color: #CFC4BB;
  border-color: transparent;
}

/* Secondary: filled background */
.left-image-right-text__button--secondary {
  color: rgb(var(--color-background));
  background-color: rgb(var(--color-foreground));
  border-color: rgb(var(--color-foreground));
}
.left-image-right-text__button--secondary:hover {
  color: rgb(var(--color-foreground));
  background-color: transparent;
}

/* Link: underline */
.left-image-right-text__button--link {
  color: rgb(var(--color-foreground));
  background-color: transparent;
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 6px;
  padding-inline: 1px;
}
.left-image-right-text__button--link:hover {
  opacity: 0.7;
}

/* Full width modifier */
.left-image-right-text__button--fill {
  width: 100%;
  display: flex;
}

@media (max-width: 959px) {
  .left-image-right-text__inner,
  .image-position--right .left-image-right-text__inner {
    flex-direction: column;
    gap: 32px;
    padding: 96px 0 48px;
  }

  .left-image-right-text__image,
  .left-image-right-text__content,
  .column-ratio--1_2 .left-image-right-text__image,
  .column-ratio--1_2 .left-image-right-text__content,
  .column-ratio--1_1 .left-image-right-text__image,
  .column-ratio--1_1 .left-image-right-text__content,
  .column-ratio--2_1 .left-image-right-text__image,
  .column-ratio--2_1 .left-image-right-text__content,
  .column-ratio--2_3 .left-image-right-text__image,
  .column-ratio--2_3 .left-image-right-text__content {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding-right: 0;
  }

  .left-image-right-text__title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .left-image-right-text__description {
    font-size: 14px;
  }

  .left-image-right-text__button {
    padding: 18px 24px;
    font-size: 11px;
  }
}
