/* Cortex Property Management product page — scoped to .nd-property-page */

.nd-property-page .nd-property-section--center .nd-corp-home__section-head {
  margin-bottom: clamp(20px, 3vw, 28px);
}

.nd-property-page .nd-property-lead {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.nd-property-page .nd-property-prose-stack {
  max-width: 42rem;
  margin: clamp(16px, 2.5vw, 24px) auto 0;
  text-align: left;
}

/* Figures */
.nd-property-page .nd-property-figure {
  margin: clamp(16px, 2.5vw, 24px) auto 0;
  border-radius: var(--nd-radius-lg);
  border: 1px solid var(--nd-border);
  box-shadow: var(--nd-shadow);
  background: var(--nd-white);
  max-width: 100%;
}

.nd-property-page .nd-property-figure--wide {
  width: min(92%, 1140px);
}

.nd-property-page .nd-property-figure--xwide {
  width: 100%;
  max-width: 1180px;
  margin-top: clamp(12px, 2vw, 20px);
}

.nd-property-page .nd-property-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* Challenges — decorative accent */
.nd-property-page .nd-property-challenges {
  position: relative;
  overflow: hidden;
}

.nd-property-page .nd-property-challenges__deco {
  pointer-events: none;
  position: absolute;
  right: clamp(-20px, 2vw, 40px);
  top: clamp(48px, 10vw, 120px);
  width: min(140px, 22vw);
  height: min(140px, 22vw);
  opacity: 0.12;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none'%3E%3Cpath d='M20 100V52l16-10 16 10v48H20z' stroke='%230D7775' stroke-width='2'/%3E%3Cpath d='M52 100V40l16-10 16 10v60H52z' stroke='%230D7775' stroke-width='2'/%3E%3Cpath d='M84 100V58l12-8 12 8v42H84z' stroke='%230D7775' stroke-width='2'/%3E%3C/svg%3E");
}

/* Single row of vertical cards (scroll when needed) */
.nd-property-page .nd-property-card-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(12px, 1.5vw, 16px);
  margin-top: clamp(16px, 2.5vw, 24px);
  padding: 2px 2px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  list-style: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
}

.nd-property-page .nd-property-card-row > * {
  flex: 1 1 0;
  min-width: clamp(172px, 17vw, 210px);
  max-width: 260px;
  scroll-snap-align: start;
  align-self: stretch;
}

.nd-property-page .nd-property-pillar-grid > *,
.nd-property-page .nd-property-cap-grid > * {
  max-width: none;
}

.nd-property-page .nd-property-audience-grid > * {
  min-width: clamp(200px, 28vw, 280px);
  max-width: 360px;
}

/* Mobile / small tablet: stack cards (no sideways scroll) */
@media (max-width: 768px) {
  .nd-property-page .nd-property-card-row {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    padding-right: 0;
    gap: 12px;
  }

  .nd-property-page .nd-property-card-row > * {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

/* Shared compact vertical card */
.nd-property-page .nd-property-mini-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 100%;
  padding: 18px 16px 16px;
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius);
  background: var(--nd-white);
  text-align: left;
}

.nd-property-page .nd-property-mini-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--nd-radius);
  background: color-mix(in srgb, var(--nd-teal) 14%, transparent);
  color: var(--nd-teal);
  flex-shrink: 0;
}

.nd-property-page .nd-property-mini-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nd-property-page .nd-property-mini-card__title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--nd-heading);
  margin: 0;
  line-height: 1.3;
}

.nd-property-page .nd-property-mini-card__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--nd-body);
}

.nd-property-page .nd-property-fin-grid {
  margin-top: clamp(24px, 3.5vw, 32px);
}

/* Hover / lift (respect reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .nd-property-page .nd-property-lift-card {
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease;
  }

  .nd-property-page .nd-property-lift-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(16, 29, 43, 0.08);
    border-color: color-mix(in srgb, var(--nd-teal) 35%, var(--nd-border));
  }

  .nd-property-page .nd-property-mini-card__icon,
  .nd-property-page .nd-property-pillar__icon,
  .nd-property-page .nd-property-cap-item__icon,
  .nd-property-page .nd-property-audience-card__icon {
    transition: transform 0.22s ease, background 0.22s ease;
  }

  .nd-property-page .nd-property-lift-card:hover .nd-property-mini-card__icon,
  .nd-property-page .nd-property-lift-card:hover .nd-property-pillar__icon,
  .nd-property-page .nd-property-lift-card:hover .nd-property-cap-item__icon,
  .nd-property-page .nd-property-lift-card:hover .nd-property-audience-card__icon {
    transform: scale(1.06);
    background: color-mix(in srgb, var(--nd-teal) 20%, transparent);
  }
}

.nd-property-page .nd-property-pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 22px 20px 20px;
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius);
  border-left: 4px solid var(--nd-teal);
  background: var(--nd-white);
}

.nd-property-page .nd-property-pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--nd-radius);
  background: color-mix(in srgb, var(--nd-teal) 14%, transparent);
  color: var(--nd-teal);
  flex-shrink: 0;
}

.nd-property-page .nd-property-pillar__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nd-property-page .nd-property-pillar h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--nd-heading);
  margin: 0;
  line-height: 1.3;
}

.nd-property-page .nd-property-pillar p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--nd-body);
  flex-grow: 1;
}

.nd-property-page .nd-property-cap-item {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: 100%;
  padding: 20px 18px 18px;
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius);
  border-left: 4px solid var(--nd-teal);
  background: var(--nd-white);
}

.nd-property-page .nd-property-cap-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--nd-radius);
  background: color-mix(in srgb, var(--nd-teal) 14%, transparent);
  color: var(--nd-teal);
  flex-shrink: 0;
}

.nd-property-page .nd-property-cap-item__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nd-property-page .nd-property-cap-item h3 {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  color: var(--nd-heading);
  margin: 0;
  line-height: 1.3;
}

.nd-property-page .nd-property-cap-item p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.52;
  color: var(--nd-body);
  flex-grow: 1;
}

.nd-property-page .nd-property-lifecycle-grid {
  margin-top: clamp(24px, 3.5vw, 32px);
  padding-left: 0;
}

.nd-property-page .nd-property-stage-card {
  padding: 18px 18px 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--nd-body);
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius);
  background: var(--nd-white);
  min-height: 100%;
}

.nd-property-page .nd-property-stage-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nd-heading);
  margin: 0 0 8px;
  line-height: 1.3;
}

.nd-property-page .nd-property-stage-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.nd-property-page .nd-property-audience-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 20px;
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius);
  background: var(--nd-white);
  min-height: 100%;
}

.nd-property-page .nd-property-audience-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--nd-radius);
  background: color-mix(in srgb, var(--nd-teal) 14%, transparent);
  color: var(--nd-teal);
  flex-shrink: 0;
}

.nd-property-page .nd-property-audience-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nd-property-page .nd-property-audience-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--nd-heading);
  margin: 0;
  line-height: 1.3;
}

.nd-property-page .nd-property-audience-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.52;
  color: var(--nd-body);
  flex-grow: 1;
}

.nd-property-page .nd-container {
  overflow-x: visible;
}

.nd-property-page {
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  .nd-property-page .nd-property-lift-card:hover {
    transform: none;
    box-shadow: none;
  }
}