/* ==========================================================================
   Blog-specific styles — loaded AFTER /assets/style.css
   Uses the same orange/amber brand palette as the homepage.
   Does not touch .site-nav, footer, or any existing homepage classes.
   ========================================================================== */

.blog-hero {
  background: #0F172A;
  padding: 64px 24px 56px;
  text-align: center;
}
.blog-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 14px;
}
.blog-hero p {
  color: #94A3B8;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.blog-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-section {
  padding: 56px 0 72px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(15,23,42,.12);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-date {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FF6A2B;
  margin-bottom: 10px;
}
.blog-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0 0 10px;
}
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { color: #FF6A2B; }
.blog-card p {
  font-size: .9rem;
  color: #475569;
  margin: 0 0 18px;
  flex: 1;
}
.blog-card-link {
  font-size: .88rem;
  font-weight: 700;
  color: #FF6A2B;
  text-decoration: none;
}
.blog-card-link:hover { text-decoration: underline; }

.blog-empty {
  text-align: center;
  padding: 80px 20px;
  color: #94A3B8;
}

/* Single post */
.post-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 0;
}
.post-back {
  font-size: .88rem;
  color: #64748B;
  text-decoration: none;
}
.post-back:hover { color: #FF6A2B; }
.post-date {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FF6A2B;
  margin-top: 24px;
}
.post-title {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin: 10px 0 28px;
}
.post-featured-img {
  max-width: 920px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.post-featured-img img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.post-content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 72px;
}
.post-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0F172A;
  margin: 2em 0 .6em;
}
.post-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin: 1.6em 0 .5em;
}
.post-content p { color: #334155; line-height: 1.75; margin: 0 0 1.2em; }
.post-content ul, .post-content ol { color: #334155; line-height: 1.75; margin: 0 0 1.2em; padding-left: 1.4em; }
.post-content li { margin-bottom: .4em; }
.post-content a { color: #FF6A2B; text-decoration: underline; }
.post-content strong { color: #0F172A; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; }
.post-content th, .post-content td { border: 1px solid #E2E8F0; padding: 10px 14px; text-align: left; }
.post-content th { background: #F8FAFC; font-weight: 700; color: #0F172A; }

.post-cta {
  margin-top: 48px;
  padding: 28px;
  background: #FFF7ED;
  border: 1px solid #FFE3C4;
  border-radius: 18px;
  text-align: center;
}
.post-cta p:first-child { font-weight: 700; color: #0F172A; margin: 0 0 6px; }
.post-cta p { color: #64748B; margin: 0 0 18px; font-size: .92rem; }
.post-cta a {
  display: inline-block;
  background: #FF6A2B;
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.post-cta a:hover { background: #E85A1F; }
