/* ==========================================================================
   COLDWELL BANKER WHITE WINGS — LEGAL & PRIVACY STYLES (privacy-policy.css)
   Scoped styling strictly for privacy-policy.php
   ========================================================================== */

.cb-legal {
  width: 100%;
  background-color: var(--bg-body);
  color: var(--text-main);
  padding-bottom: 5rem;
}

.cb-legal__container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .cb-legal__container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 1. Breadcrumbs */
.cb-legal__breadcrumbs {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
}

.cb-legal__crumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cb-legal__crumb-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cb-legal__crumb-link:hover {
  color: var(--primary);
}

.cb-legal__crumb-separator {
  color: var(--border-strong);
  user-select: none;
}

.cb-legal__crumb-item--current {
  color: var(--primary);
  font-weight: 500;
}

/* 2. Hero Header */
.cb-legal__hero {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-muted) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.cb-legal__hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .cb-legal__hero-title {
    font-size: 3rem;
  }
}

.cb-legal__hero-title-accent {
  color: var(--accent);
  font-weight: 400;
}

.cb-legal__hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .cb-legal__hero-subtitle {
    font-size: 1.125rem;
  }
}

.cb-legal__meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.cb-legal__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cb-legal__meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.cb-legal__meta-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* 3. Main Reading Content Layout */
.cb-legal__body-section {
  padding-top: 3.5rem;
}

.cb-legal__content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.cb-legal__article {
  scroll-margin-top: 7rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cb-legal__article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cb-legal__article-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .cb-legal__article-title {
    font-size: 1.5rem;
  }
}

.cb-legal__article p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1.25rem;
}

.cb-legal__article p:last-child {
  margin-bottom: 0;
}

.cb-legal__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cb-legal__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #334155;
}

.cb-legal__list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: var(--accent);
}