/* ============================================================
   ARTICLE-SCOPE BRAND EXTENSIONS
   (Topics not defined in site.css)
============================================================ */

:root {
  /* Strategy — planning / thinking */
  --strategy: #1e3a8a;
  --strategy-bg: #eff6ff;

  /* Interest Rates — macro economics */
  --rates: #9a3412;
  --rates-bg: #fff1e6;

  /* Local Market — community / geography */
  --local: #166534;
  --local-bg: #ecfdf5;
}

/* ============================================================
   ARTICLE LAYOUT
============================================================ */

.article-page {
  background: #ffffff;
  color: var(--nc-text, #1f2937);
}

.article-shell {
  padding: 3rem 0;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* ============================================================
   ARTICLE CONTENT
============================================================ */

.article {
  max-width: 720px;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: var(--nc-muted, #6b7280);
}

.article-header h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.article-subtitle {
  font-size: 1.125rem;
  color: var(--nc-muted, #6b7280);
  margin-bottom: 1rem;
}

.article-meta {
  font-size: 0.875rem;
  color: var(--nc-muted, #6b7280);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-content {
  font-size: 1rem;
  line-height: 1.75;
  text-align: justify;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 3rem 0 1.25rem;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul {
  margin: 0 0 1.5rem 1.25rem;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--nc-border, #e5e7eb);
  margin: 3rem 0;
}

/* ============================================================
   BLOCKQUOTES
============================================================ */

.article-content blockquote {
  border-left: 3px solid var(--nc-border, #e5e7eb);
  padding-left: 1.25rem;
  margin: 2rem 0;
  color: #374151;
}

.pull-quote {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
}

/* ============================================================
   SIDEBAR
============================================================ */

.article-sidebar {
  max-width: 320px;
}

.sidebar-card {
  border: 1px solid var(--nc-border, #e5e7eb);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: #374151;
}

/* ============================================================
   AUTHOR CARD — BRANDED
============================================================ */

.author-card {
  background: var(--band, #f8fafc);
  border-left: 3px solid var(--selling);
}

.author-profile {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-photo {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.author-name {
  font-size: 0.95rem;
  color: var(--nc-text, #1f2937);
}

.author-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--nc-muted, #6b7280);
}

.author-location {
  font-size: 0.8rem;
  color: var(--nc-muted, #6b7280);
}

.author-bio {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

.author-card .btn {
  margin-top: 0.75rem;
}

/* ============================================================
   SIDEBAR LISTS
============================================================ */

.sidebar-list {
  padding-left: 1.25rem;
}

.sidebar-list li {
  margin-bottom: 0.75rem;
}

.sidebar-links li {
  margin-bottom: 0.5rem;
}

/* ============================================================
   TOPIC TAGS — FORCED BRANDING
============================================================ */

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-sidebar .topic-tag {
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  border: 2px solid;
  text-decoration: none;
  white-space: nowrap;
}

/* Buying */
.article-sidebar .topic-buying {
  border-color: var(--buying) !important;
  background: var(--buying-bg) !important;
  color: var(--buying) !important;
}

/* Selling */
.article-sidebar .topic-selling {
  border-color: var(--selling) !important;
  background: var(--selling-bg) !important;
  color: var(--selling) !important;
}

/* Renting */
.article-sidebar .topic-renting {
  border-color: var(--renting) !important;
  background: var(--renting-bg) !important;
  color: var(--renting) !important;
}

/* Financing */
.article-sidebar .topic-financing {
  border-color: var(--financing) !important;
  background: var(--financing-bg) !important;
  color: var(--financing) !important;
}

/* Vendors */
.article-sidebar .topic-vendors {
  border-color: var(--vendors) !important;
  background: var(--vendors-bg) !important;
  color: var(--vendors) !important;
}

/* Strategy */
.article-sidebar .topic-strategy {
  border-color: var(--strategy) !important;
  background: var(--strategy-bg) !important;
  color: var(--strategy) !important;
}

/* Interest Rates */
.article-sidebar .topic-rates {
  border-color: var(--rates) !important;
  background: var(--rates-bg) !important;
  color: var(--rates) !important;
}

/* Local Market */
.article-sidebar .topic-local {
  border-color: var(--local) !important;
  background: var(--local-bg) !important;
  color: var(--local) !important;
}

/* Hover */
.article-sidebar .topic-tag:hover {
  filter: brightness(0.96);
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (min-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr 320px;
  }

  .article-sidebar {
    position: sticky;
    top: 2rem;
  }
}