/* Warm page surfaces with the existing FKN red, logos and typography. */
body {
  background: #f6f5f1;
}
.v13-detail {
  background: #f6f5f1;
}
.v13-detail .facts-strip {
  gap: 16px;
  padding-block: 26px;
}
.v13-detail .facts-strip > div {
  background: #fff;
  border: 1px solid #e4e3dc;
  border-radius: 8px;
  padding: 22px 24px;
  min-width: 0;
}
.v13-detail .facts-strip strong {
  line-height: 1.6;
  display: block;
}
.v13-detail .section-nav {
  background: #f6f5f1;
  border-color: #e4e3dc;
}
.v13-detail .section-nav a:hover {
  color: var(--red);
}
.v13-detail .story {
  gap: 60px;
  padding-block: 70px;
}
.v13-detail .story figure {
  background: #fff;
  border: 1px solid #e4e3dc;
  border-radius: 12px;
  overflow: hidden;
}
.v13-detail .story figure figcaption {
  padding: 0 22px 18px;
}
.v13-detail .amenities {
  background: #eeeee7;
  border: 0;
  padding-block: 66px;
}
.v13-detail .section-heading {
  align-items: flex-end;
  margin-bottom: 32px;
}
.v13-detail .section-heading h2 {
  max-width: 630px;
  margin-bottom: 10px;
}
.v13-detail .section-heading p {
  max-width: 340px;
  margin-bottom: 10px;
}
.v13-detail .amenity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.v13-detail .amenity-grid article {
  background: #fff;
  border: 1px solid #e0e2dc;
  border-radius: 10px;
  padding: 30px 26px;
  box-shadow: 0 5px 18px rgba(32, 40, 41, 0.025);
  min-width: 0;
}
.v13-detail .amenity-grid svg {
  box-sizing: content-box;
  padding: 13px;
  background: #f6f5f1;
  border: 1px solid #ecebe4;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  margin-bottom: 26px;
}
.v13-detail .amenity-grid h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.v13-detail .amenity-grid p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 0;
}
.v13-detail .apartment-types {
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.v13-detail .apartment-types article {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e0e2dc;
  border-radius: 10px;
  padding: 30px 26px;
  min-width: 0;
}
.v13-detail .apartment-types article > span {
  font-size: 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ecebe4;
  margin-bottom: 24px;
}
.v13-detail .apartment-types h3 {
  font-size: 20px;
  line-height: 1.35;
}
.v13-detail .apartment-types p {
  font-size: 14px;
}
.v13-detail .apartment-types .text-link {
  margin-top: auto;
  padding-top: 20px;
}
.v13-detail .plan-layout {
  background: #fff;
  border: 1px solid #e0e2dc;
  border-radius: 12px;
  padding: 32px;
  gap: 42px;
}
.v13-detail .plan-totals > div {
  background: #f6f5f1;
  padding: 18px;
  border-radius: 8px;
  flex: 1;
}
.v13-detail .plan-totals {
  gap: 12px;
}
.v13-detail .plan-totals strong {
  font-size: 27px;
}
.v13-detail .v13-source-facts {
  background: #eeeee7;
  border: 1px solid #e0e2dc;
  border-radius: 10px;
  padding: 30px 32px;
}
/* Neutralize legacy gallery rules: the section is a block, only thumbnails form a grid. */
.v13-detail .gallery {
  display: block;
  grid-template-columns: none;
  gap: 0;
}
.v13-detail .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 22px;
  align-items: start;
}
.v13-detail .gallery-grid > .gallery-item {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e0e2dc;
  aspect-ratio: 4/3;
  background: #eeeee7;
}
.v13-detail .gallery .gallery-item img,
.v13-detail .gallery .gallery-item img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 4/3;
  grid-row: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 0.25s ease;
}
.v13-detail .gallery-item:hover img {
  transform: scale(1.025);
}
.v13-detail .plan-layout .gallery-item img {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}
.v13-detail .gallery-item > span {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 9px 13px;
  border-radius: 4px;
  line-height: 1.4;
}
.v13-detail .cta {
  border-radius: 12px;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .v13-detail .amenity-grid,
  .v13-detail .apartment-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .v13-detail .facts-strip {
    gap: 10px;
  }
  .v13-detail .facts-strip > div {
    padding: 17px 14px;
  }
  .v13-detail .story {
    gap: 25px;
    padding-block: 40px;
  }
  .v13-detail .amenities {
    padding-block: 40px;
  }
  .v13-detail .amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .v13-detail .amenity-grid article {
    padding: 21px 16px;
  }
  .v13-detail .amenity-grid h3 {
    font-size: 17px;
  }
  .v13-detail .amenity-grid p {
    font-size: 13px;
  }
  .v13-detail .apartment-types {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .v13-detail .apartment-types article {
    padding: 25px;
  }
  .v13-detail .plan-layout {
    padding: 18px;
    gap: 25px;
  }
  .v13-detail .plan-totals strong {
    font-size: 21px;
  }
  .v13-detail .plan-totals > div {
    padding: 13px;
  }
  .v13-detail .v13-source-facts {
    padding: 24px;
  }
  .v13-detail .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .v13-detail .gallery-item > span {
    padding: 5px 7px;
    font-size: 9px;
  }
  .v13-detail .section-heading p {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v13-detail .gallery-item img {
    transition: none;
  }
  .v13-detail .gallery-item:hover img {
    transform: none;
  }
}
