/* PropertyScoutAU — Blog Polish CSS v1 (2026-06-03) */
/* Uses same tokens as pro-polish.css */

/* ── Reading progress bar ── */
#reading-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: #3b6fd4; z-index: 9999; width: 0%;
  transition: width .1s linear;
}

/* ── Blog hero ── */
.blog-hero {
  max-width: 1160px; margin: 0 auto;
  padding: 5rem 1.5rem 3rem; text-align: center;
}
.blog-hero .eyebrow {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: #34a574; margin-bottom: 1rem;
}
.blog-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15;
  color: #e8edf5; margin-bottom: 1rem;
}
.blog-hero p {
  font-size: 1.1rem; color: #8a97ab; max-width: 580px;
  margin: 0 auto 2rem; line-height: 1.65;
}
.blog-hero .hero-ctas {
  display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap;
}
.blog-hero .hero-ctas .btn {
  padding: .65rem 1.5rem; font-size: .92rem; font-weight: 700;
  border-radius: 8px; background: #3b6fd4; color: white;
  text-decoration: none; display: inline-block;
  transition: background .15s ease;
}
.blog-hero .hero-ctas .btn:hover { background: #2d5bbf; }
.blog-hero .hero-ctas .btn-outline {
  background: transparent; border: 1px solid rgba(59,111,212,.45); color: #8a97ab;
}
.blog-hero .hero-ctas .btn-outline:hover { background: #1a2538; color: #e8edf5; }

/* ── Topic chips ── */
.blog-topic-chips {
  display: flex; gap: .5rem; flex-wrap: wrap;
  justify-content: center; padding: .5rem 0 1.25rem;
}
.blog-topic-chip {
  font-size: .76rem; font-weight: 600; color: #8a97ab;
  border: 1px solid #1e2d42; border-radius: 999px;
  padding: .3rem .85rem; cursor: default;
  transition: border-color .15s, color .15s;
}
.blog-topic-chip:hover { border-color: #3b6fd4; color: #e8edf5; }

/* ── Category badges ── */
.cat-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .2rem .65rem; border-radius: 20px; margin-bottom: .75rem;
}
.cat-suburb-analysis { background: rgba(59,111,212,.15); color: #3b6fd4; }
.cat-cashflow       { background: rgba(52,165,116,.15);  color: #34a574; }
.cat-tax            { background: rgba(212,146,42,.15);  color: #d4922a; }
.cat-comparison     { background: rgba(99,102,241,.15);  color: #818cf8; }
.cat-beginner       { background: rgba(168,85,247,.15);  color: #c084fc; }
.cat-risk           { background: rgba(239,68,68,.15);   color: #f87171; }

/* ── Blog grid ── */
.blog-grid-wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem 1rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Blog card ── */
.blog-card {
  background: #111827; border: 1px solid #1e2d42;
  border-radius: 14px; padding: 1.5rem;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.blog-card:hover { border-color: #3b6fd4; transform: translateY(-2px); text-decoration: none; }
.blog-card h2 {
  font-size: 1.02rem; font-weight: 700; line-height: 1.35;
  color: #e8edf5; margin-bottom: .5rem;
}
.blog-card .excerpt {
  color: #8a97ab; font-size: .88rem; flex: 1;
  line-height: 1.6; margin-bottom: .85rem;
}
.blog-card .card-meta {
  display: flex; justify-content: space-between;
  font-size: .78rem; color: #8a97ab;
}
.blog-card .read-more { color: #34a574; font-weight: 700; font-size: .82rem; }

/* ── Bridge / footer CTAs ── */
.blog-bridge-cta {
  background: #1a2538; border: 1px solid rgba(59,111,212,.3);
  border-radius: 14px; padding: 2.25rem 2rem; text-align: center;
  max-width: 1160px; margin: 2rem auto;
}
.blog-bridge-cta h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; color: #e8edf5; }
.blog-bridge-cta p { color: #8a97ab; margin-bottom: 1.25rem; font-size: .95rem; }
.blog-bridge-cta .cta-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.blog-bridge-cta .btn {
  padding: .62rem 1.35rem; font-size: .88rem; font-weight: 700;
  border-radius: 8px; background: #3b6fd4; color: white;
  text-decoration: none; display: inline-block;
}
.blog-bridge-cta .btn:hover { background: #2d5bbf; }
.blog-bridge-cta .btn-outline {
  background: transparent; border: 1px solid rgba(59,111,212,.45); color: #8a97ab;
}
.blog-bridge-cta .btn-outline:hover { background: rgba(59,111,212,.1); color: #e8edf5; }

.blog-footer-cta {
  background: #1a2538; border: 1px solid rgba(52,165,116,.3);
  border-radius: 14px; padding: 2.25rem 2rem; text-align: center;
  max-width: 1160px; margin: 1.5rem auto 2.5rem;
}
.blog-footer-cta h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; color: #e8edf5; }
.blog-footer-cta p { color: #8a97ab; margin-bottom: 1.25rem; font-size: .95rem; }
.blog-footer-cta .btn {
  padding: .68rem 1.75rem; font-size: .92rem; font-weight: 700;
  border-radius: 8px; background: #34a574; color: white; text-decoration: none;
}
.blog-footer-cta .btn:hover { background: #2d8c60; }

/* ── Article layout ── */
.blog-article-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem; max-width: 1160px;
  margin: 0 auto; padding: 2.5rem 1.5rem 5rem;
}
@media (max-width: 900px) {
  .blog-article-wrap { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
}

/* Breadcrumb */
.blog-breadcrumb { font-size: .82rem; color: #8a97ab; margin-bottom: 1.5rem; }
.blog-breadcrumb a { color: #8a97ab; text-decoration: none; }
.blog-breadcrumb a:hover { color: #3b6fd4; }
.blog-breadcrumb span { margin: 0 .4rem; color: rgba(255,255,255,.2); }

/* Article hero */
.blog-article-hero { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #1e2d42; }
.blog-article-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800;
  line-height: 1.2; color: #e8edf5; margin-bottom: .85rem;
}
.article-meta-row {
  display: flex; align-items: center; gap: .65rem;
  flex-wrap: wrap; font-size: .82rem; color: #8a97ab; margin-top: .75rem;
}
.meta-sep { color: rgba(255,255,255,.2); }

/* Article body */
.article-body { font-size: 1.02rem; line-height: 1.82; color: #8a97ab; }
.article-body h2 {
  font-size: 1.45rem; font-weight: 800; color: #e8edf5;
  margin: 2.5rem 0 .85rem; padding-left: .85rem;
  border-left: 3px solid #3b6fd4;
}
.article-body h3 {
  font-size: 1.12rem; font-weight: 700; color: #34a574;
  margin: 2rem 0 .65rem;
}
.article-body p { margin-bottom: 1.35rem; }
.article-body ul, .article-body ol {
  margin-bottom: 1.25rem; padding-left: 1.5rem; line-height: 1.8;
}
.article-body li { margin-bottom: .45rem; }
.article-body strong { color: #e8edf5; }
.article-body code {
  background: #111827; padding: .15rem .5rem;
  border-radius: 4px; color: #34a574; font-size: .9rem;
}
.article-body table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0; font-size: .9rem; overflow-x: auto; display: block;
}
.article-body table th {
  background: #1a2538; padding: .65rem .85rem; text-align: left;
  color: #8a97ab; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; border-bottom: 1px solid #1e2d42;
}
.article-body table td {
  padding: .65rem .85rem; border-bottom: 1px solid rgba(30,45,66,.6); color: #8a97ab;
}

/* In-article CTAs */
.mid-article-cta, .end-article-cta {
  background: #1a2538; border: 1px solid rgba(52,165,116,.3);
  border-radius: 12px; padding: 1.5rem 1.75rem; margin: 2.5rem 0;
}
.mid-article-cta h4, .end-article-cta h4 {
  font-size: 1rem; font-weight: 800; color: #e8edf5; margin-bottom: .4rem;
}
.mid-article-cta p, .end-article-cta p {
  color: #8a97ab; font-size: .88rem; margin-bottom: .85rem;
}
.article-cta-btns { display: flex; gap: .65rem; flex-wrap: wrap; }
.article-cta-btns .btn {
  display: inline-flex; padding: .52rem 1.1rem; font-size: .84rem; font-weight: 700;
  border-radius: 7px; background: #3b6fd4; color: white !important;
  text-decoration: none; border: none;
}
.article-cta-btns .btn:hover { background: #2d5bbf; }
.article-cta-btns .btn-outline {
  background: transparent; border: 1px solid rgba(59,111,212,.45); color: #8a97ab !important;
}
.article-cta-btns .btn-outline:hover { background: rgba(59,111,212,.1); color: #e8edf5 !important; }

/* Disclaimer */
.article-disclaimer {
  background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.2);
  border-radius: 10px; padding: 1.1rem 1.25rem; margin: 2.5rem 0;
  font-size: .82rem; color: rgba(248,113,113,.9); line-height: 1.6;
}

/* ── Sidebar ── */
.blog-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 90px; }
.sidebar-card {
  background: #111827; border: 1px solid #1e2d42;
  border-radius: 12px; padding: 1.25rem;
}
.sidebar-card h4 {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .09em; color: #8a97ab; margin-bottom: .85rem;
}
.sidebar-card a {
  display: block; padding: .42rem .6rem; border-radius: 7px;
  font-size: .88rem; color: #8a97ab; text-decoration: none;
  transition: background .12s, color .12s;
}
.sidebar-card a:hover { background: #1a2538; color: #e8edf5; }
#blog-toc { list-style: none; padding: 0; margin: 0; }
.toc-link {
  display: block; padding: .38rem .6rem; border-radius: 6px;
  font-size: .84rem; color: #8a97ab; text-decoration: none; cursor: pointer;
}
.toc-link:hover { background: #1a2538; color: #e8edf5; }

/* ── Related posts ── */
.related-posts { max-width: 1160px; margin: 1rem auto 3rem; padding: 0 1.5rem; }
.related-posts h3 {
  font-size: .78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: #8a97ab; margin-bottom: 1.25rem;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: #111827; border: 1px solid #1e2d42;
  border-radius: 10px; padding: 1.1rem; text-decoration: none; display: block;
  transition: border-color .2s;
}
.related-card:hover { border-color: #3b6fd4; text-decoration: none; }
.related-card h4 {
  font-size: .92rem; font-weight: 700; color: #e8edf5;
  margin: .45rem 0 .35rem; line-height: 1.3;
}
.related-card .rel-meta { font-size: .78rem; color: #8a97ab; }

/* ── Blog index disclaimer ── */
.blog-legal {
  max-width: 900px; margin: 0 auto 3rem; padding: 0 1.5rem;
  color: #8a97ab; font-size: .82rem; line-height: 1.6;
}
