/* The two links and their own images are usable without hover or JavaScript. */
.lg-century .lgb-deals {
  background: #121212;
  color: #faf9f7;
  padding: clamp(20px, 3vw, 48px) 0;
  margin: 0;
}
.lgb-stage {
  position: relative;
  width: min(89%, 1120px);
  margin: 0 auto;
}
.lgb-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
}
.lg-century .lgb-choice {
  display: flex;
  position: relative;
  isolation: isolate;
  align-items: center;
  justify-content: space-between;
  align-self: end;
  height: clamp(104px, 24vw, 178px);
  gap: 6px;
  padding: 0 clamp(8px, 2vw, 22px);
  color: #faf9f7;
  background: #272727;
  text-decoration: none;
  font-family: var(--lg-heading-font, "Lisanov Inter Display"), "Lisanov Manrope", sans-serif;
  font-size: clamp(16px, 3.6vw, 35px);
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.lg-century .lgb-choice::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(18 18 18 / 76%), rgb(18 18 18 / 45%));
}
.lgb-photo {
  display: block;
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lgb-arrow {
  position: relative;
  display: block;
  width: clamp(19px, 3.8vw, 52px);
  flex-shrink: 0;
  border-top: 1px solid currentColor;
}
.lgb-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: .31em;
  height: .31em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.lg-century .lgb-choice:focus-visible {
  outline: 2px solid #faf9f7;
  outline-offset: 3px;
}
@media (min-width: 700px) and (hover: hover) and (pointer: fine) {
  .lgb-stage {
    display: flex;
    align-items: center;
    min-height: 0;
    height: clamp(188px, 20vw, 296px);
    isolation: isolate;
    container-type: inline-size;
  }
  .lgb-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    width: 53%;
    height: 82%;
    border: 1px solid rgb(250 249 247 / 34%);
    background: rgb(18 18 18 / 90%);
    padding: 0 clamp(16px, 3cqi, 36px);
    box-sizing: border-box;
  }
  .lg-century .lgb-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 26%;
    position: static;
    isolation: auto;
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: .08em 0;
    background: transparent;
    color: #b4b0ab;
    font-weight: 100;
    font-size: clamp(28px, 5.5cqi, 60px);
    line-height: 1.12;
    transition: color 260ms ease;
  }
  .lg-century .lgb-choice::before {display: none}
  .lgb-choice .lgb-photo {
    inset: 0 0 auto auto;
    z-index: 0;
    width: 49%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 430ms ease;
  }
  .lgb-choice .lgb-arrow {
    width: 44%;
    transition: width 380ms cubic-bezier(.22,.7,.24,1);
  }
  .lgb-deals[data-active="sale"] [data-deal="sale"],
  .lgb-deals[data-active="rent"] [data-deal="rent"] {color: #faf9f7}
  .lgb-deals[data-active="sale"] [data-deal="sale"] .lgb-arrow,
  .lgb-deals[data-active="rent"] [data-deal="rent"] .lgb-arrow {width: 92%}
  .lgb-deals[data-active="sale"] [data-deal="sale"] .lgb-photo,
  .lgb-deals[data-active="rent"] [data-deal="rent"] .lgb-photo {opacity: 1}
}
.lg-century .lgb-deals[data-in-hero] {
  position: absolute;
  inset-inline-start: 0;
  top: var(--lgb-top);
  width: min(100%, var(--lgb-width));
  height: var(--lgb-height);
  margin: 0;
  padding: 0;
  background: transparent;
}
.lgb-deals[data-in-hero] .lgb-stage {width: 100%; height: 100%}
@media (max-width: 374px) {
  .lgb-stage {width: calc(100% - 24px)}
  .lg-century .lgb-choice {padding-inline: 8px; gap: 4px}
}
@media (prefers-reduced-motion: reduce) {
  .lg-century .lgb-choice, .lgb-choice .lgb-arrow, .lgb-choice .lgb-photo {transition: none}
}
