/* Floor plans — staging layout-content-card */

.layouts {
  padding: 0;
  background: #fff;
}

.layouts .container {
  /* staging .container.floor uses default container pad */
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.layouts__head {
  text-align: center;
  width: 100%;
}

.layouts__title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 68px;
  color: #121212;
  margin: 0;
  text-align: center;
}

.layouts__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.layout-card {
  border: 1px solid #e7e7e7;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background-color 0.2s;
}

.layout-card:hover {
  background-color: #efe8dd;
}

.layout-card__media {
  width: 100%;
  height: 313px;
  background: #f3f3f3 center / cover no-repeat;
}

.layout-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

.layout-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.layout-card__name {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 135%;
  color: #000;
  margin: 0;
}

.layout-card__area {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  color: #121212;
  margin: 0;
  white-space: nowrap;
}

.layout-card__area img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.layout-card__divider {
  background-color: #e7e7e7;
  width: 100%;
  height: 1px;
}

.layout-card__spec-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.layout-card__spec-label {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: #121212;
  margin: 0;
}

.layout-card__spec {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 24px;
  color: #121212;
  margin: 0;
}

.layout-card__cta {
  align-self: stretch;
  display: flex;
  justify-content: center;
  color: #121212;
  box-shadow: inset 0 0 0 1px #e0bb7f;
  background: transparent;
  padding: 13px 12px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s;
}

.layout-card__cta:hover {
  background: transparent;
  box-shadow: 0 0 0 1px #e0bb7f;
}

@media screen and (max-width: 991px) {
  .layouts__grid {
    grid-template-columns: 1fr;
  }

  .layouts__title {
    font-size: 40px;
    line-height: 1.15;
  }
}

@media screen and (max-width: 767px) {
  .layouts__title {
    font-size: 32px;
    line-height: 1.2em;
  }

  .layout-card__body {
    padding: 16px;
  }

  .layout-card__media {
    height: 240px;
  }

  .layout-card__spec,
  .layout-card__spec-label {
    font-size: 16px;
  }

  .layout-card__top {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .layout-card__name {
    font-size: 22px;
  }

  .layout-card__area {
    margin-left: auto;
    font-size: 14px;
    line-height: 20px;
  }
}
