.lm2-home {
  padding-top: 10px; /* room for absolute header */
}

.lm2-news__container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}

@media (min-width: 768px) {
  .lm2-news__container {
    padding: 64px 32px 0;
  }
}

.lm2-news__title {
  text-align: center;
  font-family: "futura-pt-light", "Futura", sans-serif !important;
  font-weight: 300 !important;
  font-size: 30px;
  line-height: 38px;
}

.lm2-news__content {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 24px;
}

@media (min-width: 1400px) {
  .lm2-news__content {
    grid-template-columns: 1fr 1fr 328px;
  }

  .property_grid {
    grid-column: span 2;
  }
}

/* Sections are direct children of .lm2-news__content (like Next) */

.latest_news,
.talent {
  background: #fff;
  padding: 16px 0;
}

@media (min-width: 768px) {
  .property_grid,
  .latest_news,
  .talent {
    border: 1px solid #dcdcdc;
  }
}
/* .property_grid__container__title {
  @media (min-width: 768px) {
    grid-column: span 2;
  }
} */
.property_grid__container__title h3,
.latest_news__title h3,
.talent__title h3 {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  text-align: center;
  font-size: 20px;
  margin: 0 0 12px 0;
}

/* Transactions (property grid) */
.property_grid {
  padding: 16px 0;
  position: relative;
}

.property_grid__container {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  align-items: stretch;
}

@media (min-width: 768px) {
  .property_grid__container {
    grid-template-columns: 1fr 1fr;
  }
}

.property_grid__container > div {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
@media (min-width: 768px) {
  .property_grid__container > div:nth-child(odd) .property_single {
    border-right: 1px solid #dcdcdc;
  }
  .property_grid__container > div:nth-child(odd) .property_single:after {
    content: "";
    background: #dcdcdc;
    width: calc(200% - 32px);
    height: 1px;
    margin-top: 16px;
    display: block;
    position: absolute;
    bottom: -16px;
    left: 16px;
  }
}

/* Matches Next's nth-child behavior */
.property_grid__container > div:nth-child(n + 2) {
  grid-column: span 2;

  @media (min-width: 768px) {
    grid-column: span 1;
  }
}

.property_single {
  background-color: #fff;
  margin: 16px 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.property_single__a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
}

.property_single__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.property_single__image {
  aspect-ratio: 1.71;
  overflow: hidden;
}

.property_single__region {
  font-family: "futura-pt", "Futura", sans-serif;
  font-weight: 500;
  height: 2lh;
}

.property_single__bottom {
  display: flex;
  justify-content: space-between;
  font-family: "Crimson Text", serif;
  color: #2f7d4a;
}

.property_grid__button_container {
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .property_grid__button_container {
    position: relative;
    margin: 16px 16px 0 0;
    right: unset;
    bottom: unset;
  }
}

/* Latest news */
.latest_news {
  padding: 16px;
  @media (min-width: 768px) {
    border-top: none;
    border-bottom: none;
  }
  @media (min-width: 1400px) {
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;

    grid-row: span 3;
    border-left: none;
  }
}

.latest_news_headline a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.latest_news_headline:last-child a {
  border-bottom: none;
}

.latest_news_headline__date {
  font-family: "Crimson Text", serif;
  color: #2f7d4a;
  font-size: 18px;
}

.latest_news_headline__title {
  font-family: "futura-pt", "Futura", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
}

.latest_news__button_container {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
}

.lm2-news__button {
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  text-decoration: none;
  font-family: "futura-pt", "Futura", sans-serif;
  font-size: 16px;
  min-width: 100px;
  line-height: 22px;
  font-weight: 500;
  background: #003154;
  color: #fff;

  &:hover {
    background: transparent;
    color: #003154;
    text-decoration: none;
  }
}
.lm2-news__button--ghost {
  border: 1px solid;
  border-color: #003154;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  text-decoration: none;
  font-family: "futura-pt", "Futura", sans-serif;
  color: #003154;
  font-size: 16px;
  min-width: 100px;
  line-height: 22px;
  font-weight: 500;
  &:hover {
    background: #003154;
    color: #fff;
    text-decoration: none;
    border: 1px solid #00315400;
    border: 1px solid white;
  }
}

.lm2-news__button--arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  text-decoration: none;
  font-family: "futura-pt", "Futura", sans-serif;
  color: #003154;
  font-size: 16px;
  min-width: 100px;
  line-height: 22px;
  font-weight: 500;
  gap: 10px;
  &:hover {
    text-decoration: none;
    background: #003154;
    color: #fff;
  }
}

.lm2-news__button--arrow::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 16px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2216%22%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M31.707%208.53a1%201%200%200%200%200-1.414L25.343.752a1%201%200%201%200-1.414%201.414l5.657%205.657-5.657%205.657a1%201%200%200%200%201.414%201.414l6.364-6.364ZM0%208.823h31v-2H0v2Z%22/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2232%22%20height%3D%2216%22%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M31.707%208.53a1%201%200%200%200%200-1.414L25.343.752a1%201%200%201%200-1.414%201.414l5.657%205.657-5.657%205.657a1%201%200%200%200%201.414%201.414l6.364-6.364ZM0%208.823h31v-2H0v2Z%22/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 100% 100%;
}

.lm2-transaction-detail__article .lm2-news__button {
  height: 40px;
  font-size: 14px;
}

/* Talents */
.talent {
  padding: 0 16px 16px;

  @media (min-width: 1400px) {
    border-top: none;
    grid-column: span 2;
  }
}

.talent__title {
  padding-top: 8px;
}
.talent__content {
  display: flex;
  flex-direction: column;

  @media (min-width: 1440px) {
    flex-flow: wrap;
    flex: 0 0 33.33%;
    padding: 0;
  }
}

.talent_single {
  border-bottom: 1px solid #dcdcdc;
  width: 100%;
  height: auto;
  margin-top: 20px;
  padding: 16px 0;
  @media (min-width: 1440px) {
    border-bottom: none;
    border-right: 1px solid #dcdcdc;
    width: 33.33%;
    padding: 0 16px;
  }
}
.talent_single:last-of-type {
  @media (min-width: 768px) {
    border-bottom: none;
  }
}
.talent_single:nth-child(3n) {
  @media (min-width: 1440px) {
    border-right: none;
  }
}

.talent_single__a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.talent_single__thumbnail {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 99999px;
  overflow: hidden;
  background: #eee;
}

.talent_single__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.talent_single__content__title {
  font-family: "futura-pt", "Futura", sans-serif;
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 20px !important;
}

.talent_single__content__excerpt {
  display: block;
  font-family: "Crimson Text", serif;
  font-size: 16px;
  line-height: 20px;
  margin-top: 6px;
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.lm2-articles__container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 16px 64px;
}

@media (min-width: 768px) {
  .lm2-articles__container {
    padding: 0 32px;
  }
}

.lm2-articles__title {
  text-align: center;
  font-family: "Crimson Text", serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 38px;
}

@media (min-width: 576px) {
  .lm2-articles__title {
    font-size: 32px;
    line-height: 40px;
  }
}

.lm2-articles__content {
  border: 1px solid #dcdcdc;
  background: #fff;
}

.lm2-articles__grid {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .lm2-articles__grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }
}

.lm2-articles__item {
  padding: 16px 0;
  border-bottom: 1px solid #dcdcdc;
  background: #fff;
}

@media (min-width: 768px) {
  .lm2-articles__item {
    padding-left: 16px;
    height: 103px;
  }

  .lm2-articles__item:nth-last-child(-n + 3) {
    border-bottom: none;
  }
}

.lm2-articles__item:last-child {
  border-bottom: none;
}

.lm2-articles__link {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-start;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.lm2-articles__thumb {
  width: 70px;
  height: 70px;
  min-width: 70px;
}

.lm2-articles__thumb img {
  object-fit: cover;
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 99999px;
  display: block;
}

.lm2-articles__item_content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 16px;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .lm2-articles__item_content {
    border-right: 1px solid #dcdcdc;
  }
  .lm2-articles__item:nth-child(3n) .lm2-articles__item_content {
    border-right: none;
  }
}

.lm2-articles__item_title {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lm2-articles__item_excerpt {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding-top: 6px;
}

@media (min-width: 768px) {
  .lm2-articles__item_excerpt {
    line-clamp: 3;
    -webkit-line-clamp: 3;
  }
}

.lm2-news__button--ghost {
  background: transparent;
  color: #003154;
  border: 1px solid #003154;
}

.lm2-banner__container,
.lm2-hero__container,
.lm2-platforms__container {
  max-width: 1248px;
  margin: 0 auto;
  padding: 32px 16px;
}

.lm2-littre__container {
  max-width: 1184px;
  margin: 0 auto;
  padding: 32px 16px;
}

@media (min-width: 768px) {
  .lm2-banner__container,
  .lm2-littre__container,
  .lm2-platforms__container {
    padding: 64px 0px 64px 0px;
  }
}

@media (min-width: 768px) {
  .lm2-hero__container {
    padding: 64px 32px 64px 32px;
  }
}

.lm2-banner__link {
  display: block;
}

.lm2-banner__link img {
  width: 100%;
  max-width: 769px;
  max-height: 136px;
  margin: 0 auto;
  display: block;
}

.lm2-littre {
  background: #f5f6f7;
}

.lm2-littre__platforms__title,
.lm2-platforms__title {
  text-align: center;
  font-family: "Crimson Text", serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 38px;
  margin: 0 0 32px;
}

.nowrap {
  white-space: nowrap;
}

.lm2-littre__platforms__list {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;

  @media (min-width: 720px) {
    grid-template-columns: 1fr 1fr;
  }
  @media (min-width: 960px) {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.lm2-littre__single_platform {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 16px;
}

.lm2-littre__single_platform:not(:last-child) {
  @media (min-width: 960px) {
    border-right: 1px solid #dcdcdc;
  }
}

.lm2-littre__single_platform__image {
  aspect-ratio: 0.71 / 1;
  overflow: hidden;
  max-width: 432px;
}

.lm2-littre__single_platform__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lm2-littre__single_platform__container {
  flex-grow: 1;
}

.lm2-littre__single_platform__container .h_small {
  font-family: "crimson-text", "Crimson Text", serif;
  font-weight: 500 !important;
  font-size: 24px !important;
  line-height: 32px !important;
}

.lm2-hero {
  background: #f5f6f7;
}

.lm2-hero__hero {
  display: flex;
  flex-direction: column;
  @media (min-width: 960px) {
    flex-direction: row;
    gap: 64px;
  }
}
.lm2-hero__container {
  gap: 24px;

  /* display: grid;
  grid-template-columns: 1fr;
  gap: 24px; */
}

@media (min-width: 992px) {
  .lm2-hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.lm2-hero__image {
  flex-grow: 1;
  flex-basis: 0;
}
.lm2-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.lm2-hero__content {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0;
  display: flex;
  flex-grow: 1;
  flex-basis: 0;
}
.lm2-hero__content h2,
.lm2-hero__content h4 {
  font-family: "Crimson Text", serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 40px;
  margin: 0 0 16px;
  @media (min-width: 720px) {
    font-size: 32px;
  }
}

.lm2-hero__text {
  font-family: "Crimson Text", serif;
  text-wrap: pretty;
  font-size: 16px;
}

.lm2-hero__content p {
  margin: 0;
  font-family: "Crimson Text", serif;
  font-size: 16px;
  line-height: 24px;
}

.lm2-hero__content p:empty {
  display: none;
}

.lm2-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.lm2-platforms {
  background: #f5f6f7;
}

.lm2-platforms__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1184px;
  margin: 0 auto;
  @media (min-width: 720px) {
    grid-template-columns: 1fr 1fr;
    margin: 0 0 0 32px;
  }
  @media (min-width: 960px) {
    display: flex;
    flex-direction: row;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
  }
}

.lm2-platforms__single_platform {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
  @media (min-width: 960px) {
    /* border-right: 1px solid #dcdcdc; */
    padding-right: 16px;
    flex-grow: 1;
    flex-basis: 0;
  }
}

.lm2-platforms__single_platform:not(:last-child) {
  @media (min-width: 960px) {
    border-right: 1px solid #dcdcdc;
    padding-right: 16px;
  }
}

.lm2-platforms__single_platform:last-child {
  border-bottom: none;
  padding-bottom: 0;
  @media (min-width: 960px) {
    margin-right: 0;
    padding-right: 0;
  }
}

@media (min-width: 960px) {
  .lm2-platforms__single_platform {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.lm2-platforms__single_platform__image {
  aspect-ratio: 0.71 / 1;
  overflow: hidden;
  max-width: 432px;
}

.lm2-platforms__single_platform__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lm2-platforms__single_platform__logo {
  max-width: 432px;
}

.lm2-platforms__single_platform__logo img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
}

.lm2-platforms__single_platform__container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 2;
  font-family: "crimson-text", "Crimson Text", serif !important;
  font-weight: 500 !important;
  font-size: 24px !important;
}

.lm2-platforms__single_platform__mobile_expand {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 11px;
  font-family: "futura-pt", "Futura", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  cursor: pointer;
}

/* Mobile/tablet (<= 959px): each item expands independently */
.lm2-platforms__single_platform__details {
  display: none;
  font-family: "Crimson Text", serif;
  font-size: 18px;
  line-height: 26px;
}

.lm2-platforms__single_platform.is-expanded
  .lm2-platforms__single_platform__details {
  display: block;
}

.lm2-platforms__single_platform__mobile_expand svg {
  transition: transform 150ms ease;
}

.lm2-platforms__single_platform.is-expanded
  .lm2-platforms__single_platform__mobile_expand
  svg {
  transform: rotate(180deg);
}

.lm2-platforms__single_platform__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lm2-platforms__expand_button {
  margin: 35px auto 0;
  display: none;
  gap: 6px;
  align-items: center;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  font-family: "futura-pt", "Futura", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
}

@media (min-width: 960px) {
  .lm2-platforms__expand_button {
    display: flex;
  }

  .lm2-platforms__single_platform__details {
    display: none; /* stays closed without JS, matches collapsed state */
  }

  .lm2-platforms__single_platform__mobile_expand {
    display: none;
  }
}

@media (min-width: 960px) {
  .lm2-platforms__list.is-expanded .lm2-platforms__single_platform__details {
    display: block;
  }

  .lm2-platforms__expand_button svg {
    transition: transform 150ms ease;
    transform: rotate(180deg);
  }

  .lm2-platforms__expand_button.is-expanded svg {
    transform: rotate(0deg);
  }
}

.lm2-quote {
  padding: 64px 32px;
  background-size: cover;
  background-position: center;
}

.lm2-quote__quote {
  max-width: 769px;
  margin: 0 auto;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  @media (min-width: 1440px) {
    padding: 48px;
    gap: 32px;
  }
}

.lm2-quote__quote p {
  margin: 0;
  text-align: center;
  font-family: "Crimson Text", serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
}
