/**
 * Twins Boutique Apartments — flower unit branding, property DETAIL header only.
 *
 * The card-level rules live with the card itself, in
 * `static/css/components/featured-property-glass-overlay.css` — every page that
 * renders `property_card_overlay.html` already loads that file, and a card that
 * depends on a stylesheet its host page does not import renders unstyled
 * (a full-bleed emblem, which is exactly what shipped on /properties/).
 */

.tba-collection-eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-family-body, "Poppins", sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent, #d4af37);
}

.apartments-section--tba .section-title {
  font-family: var(--font-family-heading, "Playfair Display", serif);
}

.apartments-section--tba .residence-presentation-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary, #0c2340);
  background: var(--color-accent, #d4af37);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.apartments-section--tba .residence-presentation-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Detail header */
.property-title-wrapper--tba {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1rem 1.5rem;
  align-items: start;
}

/* The lockup PNG bakes in its own wordmark, which duplicates the <h1> and is
   unreadable below ~260px. The header uses the emblem only. */
.tba-header-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.5rem;
  height: 7.5rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 35%, #123057 0%, #0c2340 55%, #0a1728 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 10px 28px rgba(12, 35, 64, 0.22), inset 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.tba-header-mark__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tba-header-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent, #d4af37);
}

.tba-header-title {
  margin-bottom: 0.25rem !important;
  font-family: var(--font-family-heading, "Playfair Display", serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tba-header-category {
  margin: 0 0 0.85rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary, #6b7280);
}

.property-header--tba .property-title-content {
  min-width: 0;
}

.tba-type-badge {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.property-header-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.property-presentation-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-primary, #0c2340);
  background: var(--color-accent, #d4af37);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.property-presentation-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.42);
  color: var(--color-primary, #0c2340);
}

@media (max-width: 767px) {
  .property-title-wrapper--tba {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tba-header-mark {
    width: 6rem;
    height: 6rem;
    margin: 0 auto;
  }

  .tba-header-category {
    border-top: none;
    padding-top: 0;
  }

  .property-header-aside {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .property-header--tba .property-location {
    justify-content: center;
  }
}

[data-theme="dark"] .tba-header-category {
  color: var(--color-dark-text-secondary, #9ca3af);
}

[data-theme="dark"] .tba-header-mark {
  border-color: rgba(212, 175, 55, 0.55);
}
