.asset-board,
.asset-single {
  --asset-navy: var(--ndc-navy, #07385f);
  --asset-teal: #1b8a78;
  --asset-ink: #17324c;
  --asset-muted: #60758a;
  --asset-line: rgba(7, 56, 95, 0.12);
  --asset-line-strong: rgba(7, 56, 95, 0.18);
  --asset-soft: #f4f8fb;
  --asset-card: rgba(255, 255, 255, 0.96);
  --asset-shadow: 0 28px 70px rgba(8, 39, 67, 0.12);
  --asset-shadow-soft: 0 18px 46px rgba(8, 39, 67, 0.08);
}

.properties-hero {
  padding: 0;
}

.properties-hero .site-shell {
  width: 100%;
  max-width: none;
  padding: 0;
}

.properties-hero__panel {
  position: relative;
  display: grid;
  align-content: center;
  min-height: clamp(230px, 25vw, 360px);
  padding: clamp(34px, 5vw, 74px) max(24px, calc((100vw - var(--ndc-shell, 1180px)) / 2));
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 31, 61, 0.96) 0%, rgba(4, 43, 82, 0.9) 32%, rgba(4, 43, 82, 0.48) 64%, rgba(4, 43, 82, 0.2) 100%),
    url("/ndc-v2/wp-content/uploads/2026/06/NDC-Header.png") center center / cover no-repeat;
}

.properties-hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(11, 79, 137, 0.28) 0 28%, transparent 28% 100%),
    linear-gradient(120deg, transparent 0 46%, rgba(255, 255, 255, 0.08) 46% 48%, transparent 48% 100%);
  pointer-events: none;
}

.properties-hero__eyebrow,
.properties-hero__panel h1,
.properties-hero__desc,
.properties-hero__actions {
  position: relative;
  z-index: 1;
}

.properties-hero__eyebrow {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.36);
}

.properties-hero__panel h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 0.85;
  text-transform: uppercase;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.34);
}

.properties-hero__desc {
  max-width: 58ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.65;
}

.properties-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.properties-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.properties-hero__button:hover,
.properties-hero__button:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.28);
}

.properties-hero__button--sale {
  background: linear-gradient(135deg, #8a55ff 0%, #1dc7cb 100%);
}

.properties-hero__button--lease {
  background: linear-gradient(135deg, #7657ff 0%, #26c6ce 100%);
}

/* Clip horizontal overflow at the page-section level (properties-section class is
   unique to this page template) so carousel edge buttons don't cause page scroll */
.properties-section {
  overflow-x: hidden;
}

.asset-board {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  /* prevent grid items from expanding beyond available space */
  min-width: 0;
}

/* Every element in the grid chain must have min-width:0.
   Without it, CSS Grid's default min-width:auto lets each
   item grow to fit its content, expanding the page horizontally
   and making the carousel viewport never smaller than its grid. */
.asset-featured,
.asset-filters,
.asset-board__groups {
  min-width: 0;
}

.asset-group,
.asset-carousel,
.asset-carousel__viewport {
  min-width: 0;
}

.asset-board__head {
  max-width: 840px;
}

.asset-board__head h2 {
  margin: 0 0 12px;
  color: var(--asset-navy);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.asset-board__head p:last-child {
  margin: 0;
  color: var(--asset-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.asset-featured {
  display: grid;
  gap: 18px;
}

.asset-featured__head h3 {
  margin: 6px 0 0;
  color: var(--asset-navy);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.asset-featured__card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--asset-line);
  border-radius: 30px;
  background: var(--asset-card);
  box-shadow: var(--asset-shadow-soft);
  min-width: 0;
}

.asset-featured__media {
  position: relative;
  display: block;
  height: 400px;
  min-height: 320px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #e9f2f8, #d6e4f1);
}

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

.asset-featured__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.asset-featured__pricing {
  display: grid;
  gap: 4px;
}

.asset-featured__body h4 {
  margin: 0;
  color: var(--asset-navy);
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  line-height: 1.2;
}

.asset-featured__body h4 a {
  color: inherit;
  text-decoration: none;
}

.asset-featured__excerpt {
  margin: 0;
  color: var(--asset-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.asset-featured .asset-card__facts,
.asset-featured .asset-card__actions {
  flex-wrap: wrap;
}

.asset-filters {
  display: grid;
  grid-template-columns: 1.05fr minmax(220px, 2.5fr) 1.15fr 1fr auto;
  gap: 16px;
  align-items: stretch;
  padding: clamp(20px, 2.6vw, 28px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.96));
  min-width: 0;
}

.asset-filter {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.asset-filter label {
  color: var(--asset-navy);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  padding-left: 2px;
}

.asset-filter input,
.asset-filter select {
  width: 100%;
  margin: 0 !important;
  box-sizing: border-box;
  min-height: 45px;
  border: 1px solid rgba(7, 56, 95, 0.14);
  border-radius: 18px;
  font-size: 14px !important;
  background: #fff;
  color: var(--asset-ink);
  font: inherit;
  padding: 0 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.asset-filter input:focus,
.asset-filter select:focus {
  outline: none;
  border-color: rgba(11, 95, 145, 0.5);
  box-shadow: 0 0 0 4px rgba(11, 95, 145, 0.1);
}

.asset-filter input::placeholder {
  color: #9aa9b8;
}

.asset-filter--actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  align-self: end;
  padding-top: 18px;
  white-space: nowrap;
  min-width: 0;
}

.asset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.asset-button:hover,
.asset-button:focus-visible {
  transform: translateY(-2px);
}

.asset-button--primary {
  background: linear-gradient(135deg, #0c5d90, #20836f);
  color: #fff;
  box-shadow: 0 16px 30px rgba(12, 93, 144, 0.18);
}

.asset-button--ghost {
  border-color: rgba(7, 56, 95, 0.16);
  background: #fff;
  color: var(--asset-navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.asset-board__status p {
  margin: 0;
  color: var(--asset-muted);
  font-weight: 700;
}

.asset-board__groups {
  display: grid;
  gap: clamp(30px, 3.5vw, 44px);
}

.asset-group {
  display: grid;
  gap: 18px;
}

.asset-group__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.asset-group__head-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.asset-group__head h3 {
  margin: 0;
  color: var(--asset-navy);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.asset-group__count {
  color: var(--asset-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.asset-group__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(7, 56, 95, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--asset-navy);
  box-shadow: 0 18px 38px rgba(8, 39, 67, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.asset-group__button:hover,
.asset-group__button:focus-visible {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(11, 95, 145, 0.22);
  box-shadow: 0 22px 42px rgba(8, 39, 67, 0.18);
}

.asset-group__button:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.asset-group__button[hidden] {
  display: none;
}

.asset-carousel {
  position: relative;
  overflow: clip; /* clips card grid overflow; buttons at left/right:8px stay within bounds */
}

.asset-group__button--edge {
  position: absolute;
  top: 128px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.98);
}

.asset-group__button--prev {
  left: 8px;
}

.asset-group__button--next {
  right: 8px;
}

.asset-carousel__viewport {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 0 8px;
}

.asset-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.asset-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (24px * 4)) / 5);
  gap: clamp(20px, 1.8vw, 28px);
  align-items: start;
}

.asset-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 180ms ease;
  scroll-snap-align: start;
}

.asset-card:hover,
.asset-card:focus-within {
  transform: translateY(-4px);
}

.asset-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.88;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #e9f2f8, #d6e4f1);
  box-shadow: 0 10px 28px rgba(8, 39, 67, 0.08);
}

.asset-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.asset-card:hover .asset-card__media img {
  transform: scale(1.04);
}

.asset-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #225fc8;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(34, 95, 200, 0.12);
}

.asset-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--asset-navy);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.asset-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 10px 2px 0;
}

.asset-card__amount {
  color: #2157c8;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.1;
}

.asset-card__subprice {
  margin: -2px 0 0;
  color: var(--asset-muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
}

.asset-card__body h3 {
  margin: 0;
  color: var(--asset-navy);
  font-size: 0.84rem;
  line-height: 1.45;
}

.asset-card__body h3 a {
  color: inherit;
  text-decoration: none;
}

.asset-card__location,
.asset-card__excerpt {
  margin: 0;
  color: var(--asset-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.asset-card__location::before {
  content: "•";
  margin-right: 6px;
  color: #7a8ea2;
}

.asset-card__facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.asset-card__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #122f49;
  font-size: 0.76rem;
  font-weight: 800;
}

.asset-card__facts span::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 6px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  opacity: 0.8;
}

.asset-card__facts span:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122f49' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V20a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1V9.5'/%3E%3C/svg%3E");
}

.asset-card__facts span:last-child::before {
  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122f49' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8V4h4'/%3E%3Cpath d='M20 8V4h-4'/%3E%3Cpath d='M4 16v4h4'/%3E%3Cpath d='M20 16v4h-4'/%3E%3C/svg%3E\");
}

.asset-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
}

.asset-card .asset-button {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--asset-navy);
  font-size: 0.75rem;
  font-weight: 800;
}

.asset-card .asset-button--primary {
  color: #0c5d90;
}

.asset-card .asset-button--ghost {
  color: var(--asset-muted);
}

.asset-card .asset-button::after {
  content: "→";
  margin-left: 6px;
  transition: transform 160ms ease;
}

.asset-card:hover .asset-button::after,
.asset-card:focus-within .asset-button::after {
  transform: translateX(2px);
}

.asset-card__location::before {
  content: "\2022";
}

.asset-card__facts span:last-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122f49' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8V4h4'/%3E%3Cpath d='M20 8V4h-4'/%3E%3Cpath d='M4 16v4h4'/%3E%3Cpath d='M20 16v4h-4'/%3E%3C/svg%3E");
}

.asset-card .asset-button::after {
  content: "\2192";
}

.asset-empty {
  padding: clamp(32px, 4vw, 50px);
  border: 1px solid var(--asset-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--asset-shadow-soft);
  text-align: center;
}

.asset-empty h3,
.asset-empty p {
  margin: 0;
}

.asset-empty p {
  margin-top: 10px;
  color: var(--asset-muted);
}

/* ── Single property page ──────────────────────────────────────────────── */

.asset-single {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
}

/* Gallery / hero image */
.asset-single__gallery {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #dbe8f3, #eef5fa);
  aspect-ratio: 21 / 9;
  max-height: 460px;
  min-height: 180px;
  border: 1px solid #0a335742;
}

/* Gallery is now the first child of .asset-single__main; add spacing below it */
.asset-single__main > .asset-single__gallery {
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.asset-single__thumbs {
  height: 0px;
  opacity: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(92px, 120px);
  gap: 10px;
  margin: -4px 0 clamp(18px, 2vw, 26px);
  padding: 4px 2px 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.asset-single__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #e8f0f6;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(8, 39, 67, 0.1);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.asset-single__thumb:hover,
.asset-single__thumb:focus-visible,
.asset-single__thumb.is-active {
  border-color: var(--asset-teal);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 39, 67, 0.16);
  outline: none;
}

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

.asset-single__thumb--video {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.asset-single__thumb--video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 56, 95, 0.9), rgba(27, 138, 120, 0.78));
}

.asset-single__thumb--video span {
  position: relative;
  z-index: 1;
}

.asset-single__gallery-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.asset-single__gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.asset-single__gallery-img:hover {
  transform: scale(1.012);
}

.asset-single__gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--asset-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.asset-single__gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
}

.asset-single__gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(16, 21, 29, 0.58);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
  transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.asset-single__gallery-nav:hover,
.asset-single__gallery-nav:focus-visible {
  background: rgba(16, 21, 29, 0.84);
  outline: none;
}

.asset-single__gallery-nav--prev {
  left: 18px;
}

.asset-single__gallery-nav--next {
  right: 18px;
}

.asset-single__gallery-nav svg,
.asset-single__gallery-status svg {
  display: block;
  flex-shrink: 0;
  fill: currentColor !important;
  pointer-events: none;
}

.asset-single__gallery-status {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.asset-single__gallery-count,
.asset-single__gallery-status-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(16, 21, 29, 0.68);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.asset-single__gallery-status-video {
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: background 160ms ease, transform 160ms ease;
}

.asset-single__gallery-status-video:hover,
.asset-single__gallery-status-video:focus-visible {
  background: rgba(16, 21, 29, 0.88);
  outline: none;
}

/* ── Video overlay (inside gallery frame) ──────────────────────────────── */

.asset-single__gallery-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  display: none; /* shown via .is-visible class */
}

.asset-single__gallery-video.is-visible {
  display: block;
}

.asset-single__gallery-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Shared style for close + fullscreen overlay buttons */
.asset-single__gallery-overlay-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.16s;
  z-index: 3;
}

.asset-single__gallery-overlay-btn:hover {
  background: rgba(0, 0, 0, 0.92);
}

/* Force SVG icons to be visible — theme styles can strip fill/color */
.asset-single__gallery-overlay-btn svg,
.asset-single__gallery-video-btn svg,
.asset-single__lightbox-close svg {
  display: block;
  flex-shrink: 0;
  fill: currentColor !important;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.asset-single__gallery-close {
  top: 12px;
  right: 12px;
}

/* Video play button (bottom-right, on top of image) */
.asset-single__gallery-video-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #dd9425;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  transition: background 0.16s;
}

.asset-single__gallery-video-btn:hover {
  background: #c2811f;
}

/* ── Lightbox ──────────────────────────────────────────────────────────── */

.asset-single__lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.asset-single__lightbox.is-open {
  display: flex;
}

.asset-single__lightbox-img {
  max-width: min(90vw, 1280px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.asset-single__lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 1;
}

.asset-single__lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.asset-single__lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Two-column layout (main + sidebar) */
.asset-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
}

.asset-single__main {
  display: grid;
  gap: 0;
  min-width: 0;
}

.asset-single__sidebar {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 110px;
  min-width: 0;
}

.asset-single__agent-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--asset-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--asset-shadow-soft);
}

.asset-single__agent-head {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.asset-single__agent-head img {
  width: 70px;
  height: auto;
}

.asset-single__agent-head p,
.asset-single__agent-head span {
  margin: 0;
}

.asset-single__agent-head p {
  color: var(--asset-navy);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
}

.asset-single__agent-head span {
  color: var(--asset-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.asset-single__agent-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--asset-line);
  border-radius: 14px;
  background: var(--asset-soft);
}

.asset-single__agent-number strong {
  color: var(--asset-navy);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.asset-single__agent-number button,
.asset-single__lead-form button,
.asset-single__number-dialog button[type="submit"] {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: #dd8a12;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.asset-single__agent-number button {
  padding: 0 12px;
  background: transparent;
  color: #dd8a12;
  font-size: 0.76rem;
}

.asset-single__agent-number button:hover,
.asset-single__lead-form button:hover,
.asset-single__number-dialog button[type="submit"]:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
}

.asset-single__agent-number button:disabled,
.asset-single__lead-form button:disabled,
.asset-single__number-dialog button[type="submit"]:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.asset-single__lead-form,
.asset-single__number-dialog form {
  display: grid;
  gap: 10px;
}

.asset-single__lead-form label,
.asset-single__number-dialog label {
  display: grid;
  gap: 5px;
  color: var(--asset-navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.asset-single__lead-form input,
.asset-single__lead-form textarea,
.asset-single__number-dialog input {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid var(--asset-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--asset-ink);
  font: inherit;
  padding: 10px 12px;
}

.asset-single__lead-form textarea {
  min-height: 96px;
  resize: vertical;
}

.asset-single__lead-form input:focus,
.asset-single__lead-form textarea:focus,
.asset-single__number-dialog input:focus {
  outline: none;
  border-color: rgba(11, 95, 145, 0.52);
  box-shadow: 0 0 0 4px rgba(11, 95, 145, 0.1);
}

.asset-single__lead-note,
.asset-single__number-note,
.asset-single__lead-disclaimer,
.asset-single__lead-status {
  margin: 0;
  color: var(--asset-muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.asset-single__lead-status {
  min-height: 1em;
  font-weight: 800;
}

.asset-single__lead-status.is-success {
  color: #207247;
}

.asset-single__lead-status.is-error {
  color: #b42318;
}

.asset-single__agent-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.asset-single__agent-alt span {
  grid-column: 1 / -1;
  color: var(--asset-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.asset-single__agent-alt a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--asset-line);
  border-radius: 12px;
  color: var(--asset-navy);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.asset-single__number-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 22, 33, 0.56);
  backdrop-filter: blur(4px);
}

.asset-single__number-modal.is-open {
  display: flex;
}

.asset-single__number-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 26px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.asset-single__number-dialog h3 {
  margin: 0 0 14px;
  color: var(--asset-ink);
  font-size: 1.3rem;
}

.asset-single__number-dialog > p {
  margin: 0 0 14px;
  color: var(--asset-ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.asset-single__number-dialog button[type="submit"] {
  width: 100%;
  min-height: 50px;
}

.asset-single__number-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--asset-ink);
  cursor: pointer;
}

/* Header: type pill / title / price / location — clean, no card */
.asset-single__header {
  display: grid;
  gap: 7px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--asset-line);
}

.asset-single__type-pill {
  margin: 0;
  color: var(--asset-teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.asset-single__title {
  margin: 0;
  color: var(--asset-navy);
  font-size: clamp(0.98rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}

.asset-single__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.asset-single__pricing {
  color: #0b63b7;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 900;
  margin: 0;
}

.asset-single__price-per {
  margin: 0;
  color: var(--asset-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.asset-single__location-line {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--asset-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.asset-single__location-line svg {
  flex-shrink: 0;
  color: var(--asset-teal);
}

/* Quick specs strip — inline, no chip cards */
.asset-single__quickspecs {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--asset-line);
}

.asset-single__quickspec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.asset-single__quickspec span {
  color: var(--asset-muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.asset-single__quickspec strong {
  color: var(--asset-navy);
  font-size: 0.86rem;
  font-weight: 700;
}

/* Content sections — thin divider only, NO card borders/backgrounds */
.asset-single__section {
  display: grid;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--asset-line);
}

.asset-single__section h3 {
  margin: 0;
  color: var(--asset-navy);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.asset-single__landmark {
  margin: 0;
  color: var(--asset-ink);
  font-size: 0.86rem;
}

/* Sidebar: price card — KEEPS card styling */
.asset-single__price-card {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  border: 1px solid var(--asset-line);
  border-radius: 20px;
  background: var(--asset-card);
  box-shadow: var(--asset-shadow-soft);
  border-top: 3px solid var(--asset-navy);
}

.asset-single__price-area {
  margin: 0;
  color: var(--asset-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

/* Sidebar: inquiry card — KEEPS card styling */
.asset-single__inquiry {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--asset-line);
  border-radius: 20px;
  background: var(--asset-card);
  box-shadow: var(--asset-shadow-soft);
}

.asset-single__inquiry h3 {
  margin: 0;
  color: var(--asset-navy);
  font-size: 0.88rem;
}

.asset-single__inquiry-label {
  margin: 0;
  color: var(--asset-teal);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.asset-single__inquiry > p,
.asset-location__copy p,
.asset-single__file p {
  margin: 0;
  font-size: 0.84rem;
}

.asset-single__contact-copy,
.asset-single__description {
  color: var(--asset-ink);
  font-size: 0.86rem;
  line-height: 1.72;
}

.asset-single__contact-copy > :first-child,
.asset-single__description > :first-child {
  margin-top: 0;
}

.asset-single__contact-copy > :last-child,
.asset-single__description > :last-child {
  margin-bottom: 0;
}

.asset-single__inquiry-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.asset-single__section--contact {
  border-bottom: none;
}

.asset-single__contact-note {
  margin: 0;
  color: var(--asset-ink);
  font-size: 0.86rem;
  line-height: 1.65;
}

.asset-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--asset-line);
  border-radius: 12px;
  overflow: hidden;
}

.asset-specs__item {
  display: grid;
  gap: 4px;
  padding: 11px 14px;
  border-right: 1px solid var(--asset-line);
  border-bottom: 1px solid var(--asset-line);
  background: none;
}

.asset-specs__item:nth-child(even) {
  border-right: none;
}

/* Remove bottom border from last row */
.asset-specs__item:last-child,
.asset-specs__item:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

/* Odd-count last item spans both columns */
.asset-specs__item:last-child:nth-child(odd) {
  grid-column: span 2;
  border-right: none;
}

.asset-specs__item span {
  color: var(--asset-muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.asset-specs__item strong {
  color: var(--asset-navy);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.asset-single__video iframe,
.asset-single__video video,
.asset-location__map iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 24px;
}

.asset-single__video iframe,
.asset-single__video video {
  min-height: 420px;
}

.asset-location {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}

.asset-location__copy {
  display: grid;
  gap: 12px;
}

.asset-location__map iframe {
  min-height: 360px;
  background: #e6edf3;
}

.asset-single__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border: 1px solid var(--asset-line);
  border-radius: 24px;
  background: var(--asset-soft);
}

.asset-single__file-title {
  color: var(--asset-navy);
  font-weight: 900;
}

.asset-single__file-name {
  color: var(--asset-muted);
}

.asset-single__pdf-shell {
  overflow: hidden;
  border: 1px solid var(--asset-line-strong);
  border-radius: 24px;
  background: #1f2933;
}

.asset-single__pdf {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #1f2933;
}

@media (max-width: 1180px) {
  .asset-featured__card {
    grid-template-columns: 1fr;
  }

  .asset-featured__media {
    min-height: 260px;
  }

  .asset-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-filter--keyword,
  .asset-filter--actions {
    grid-column: auto;
  }

  .asset-grid {
    grid-auto-columns: calc((100% - (24px * 2)) / 3);
  }

  /* Single property: collapse two-column layout */
  .asset-single__layout {
    grid-template-columns: 1fr;
  }

  .asset-single__sidebar {
    position: static;
    top: auto;
    /* sidebar goes below gallery+content on narrow screens */
    order: 2;
  }

  .asset-single__gallery {
    aspect-ratio: 16 / 7;
  }

  .asset-single__gallery-nav {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .asset-single__gallery-nav--prev {
    left: 12px;
  }

  .asset-single__gallery-nav--next {
    right: 12px;
  }

  .asset-single__gallery-status {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .asset-single__gallery-count,
  .asset-single__gallery-status-video {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.78rem;
  }

  .asset-location {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .asset-featured__card {
    padding: 20px;
    gap: 20px;
  }

  .asset-featured__media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  /* viewport units are reliable in overflow containers; show exactly 2 cards */
  .asset-grid {
    grid-auto-columns: calc((100vw - 72px - 20px) / 2);
  }

}

/* ── Tablet: filter stacks to 1 col, featured media gets aspect-ratio ── */
@media (max-width: 880px) {
  .asset-filters {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .asset-filter--actions {
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 0;
    white-space: normal;
  }

  .asset-featured__card {
    grid-template-columns: 1fr;
  }

  .asset-featured__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: 320px;
  }
}

@media (max-width: 760px) {
  .properties-hero__panel {
    min-height: 260px;
    padding: 82px 24px 32px;
  }

  .single-hero {
      padding: 88px 0 22px;
  }

  .properties-hero__eyebrow {
    margin-bottom: 8px;
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .properties-hero__panel h1 {
    font-size: clamp(2.55rem, 13vw, 3.9rem);
    line-height: 0.92;
  }

  .properties-hero__button {
    min-width: 118px;
    min-height: 44px;
    padding: 0 22px;
    font-size: 0.8rem;
  }

  .asset-board {
    gap: 24px;
  }

  /* Mandatory snap ensures touch-swipe locks to one card at a time */
  .asset-carousel__viewport {
    scroll-snap-type: x mandatory;
  }

  .asset-featured__card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    gap: 18px;
    border-radius: 22px;
    overflow: hidden;
    min-width: 0;
  }

  .asset-featured__media {
    min-height: 0;
    max-height: 260px;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    width: 100%;
    overflow: hidden;
  }

  .asset-featured__media img {
    object-position: center top;
  }

  .asset-featured__body {
    width: 100%;
    min-width: 0;
  }

  .asset-filters {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
  }

  /* Use viewport units — percentage doesn't resolve correctly inside
     overflow-x:auto scroll containers, causing multiple cards to show */
  .asset-grid {
    grid-auto-columns: calc(100vw - 72px);
  }

  .asset-group__button {
    width: 52px;
    height: 52px;
  }

  .asset-group__button--edge {
    /* centre vertically inside the card image (aspect-ratio 1/0.88) */
    top: calc((100vw - 72px) * 0.44);
    transform: translateY(-50%);
  }

  .asset-group__button--prev {
    left: 0;
  }

  .asset-group__button--next {
    right: 0;
  }

  /* keep button centred on hover/focus — don't let translateY(-2px) override the -50% */
  .asset-group__button--edge:hover,
  .asset-group__button--edge:focus-visible {
    transform: translateY(-50%) scale(1.02);
  }

  .asset-filter--actions,
  .asset-card__actions,
  .asset-single__inquiry-actions,
  .asset-single__file {
    flex-direction: column;
    align-items: stretch;
  }

  /* Single property mobile */
  .asset-single__gallery {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .asset-single__gallery-nav {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .asset-single__gallery-nav--prev {
    left: 10px;
  }

  .asset-single__gallery-nav--next {
    right: 10px;
  }

  .asset-single__gallery-status {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }

  .asset-single__gallery-count,
  .asset-single__gallery-status-video {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 0.74rem;
  }

  .asset-single__quickspecs {
    gap: 14px;
  }

  .asset-filter--actions {
    padding-top: 0;
    white-space: normal;
  }

  .asset-board .asset-button,
  .asset-single .asset-button {
    width: 100%;
  }

  .asset-card__body,
  .asset-single__inquiry {
    padding-left: 16px;
    padding-right: 16px;
  }

  .asset-featured__body h4 {
    font-size: 1.1rem;
  }

  .asset-featured__excerpt {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .asset-single__video iframe,
  .asset-single__video video,
  .asset-location__map iframe,
  .asset-single__pdf {
    min-height: 320px;
  }

  .asset-group__head {
    align-items: center;
  }

  .asset-group__head-meta {
    width: 100%;
    justify-content: space-between;
  }
}
