/* ====== BLOG POST STYLES ====== */

/* Hero */
.post-hero {
  min-height: 460px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  padding-top: 100px;
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,30,60,0.45) 0%, rgba(10,30,60,0.88) 100%);
}
.post-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 780px;
}
.post-back {
  display: inline-block;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.post-back:hover { color: #fff; }
.post-tag {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.post-hero-content h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}
.post-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
}

/* Body layout */
.post-body { padding: 60px 0 80px; background: #f7f9fc; }
.post-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* Content */
.post-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.post-intro {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 32px;
  border-left: 4px solid var(--teal);
  padding-left: 20px;
}
.post-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 14px;
  padding-top: 4px;
}
.post-content p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.82;
  margin-bottom: 14px;
}
.post-list {
  margin: 12px 0 20px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-list li {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
}
.post-list-ol { list-style: decimal; }

/* Method cards */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}
.method-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 20px 16px;
  border: 1px solid #ddeef4;
}
.method-icon { font-size: 1.6rem; margin-bottom: 10px; }
.method-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.method-card p { font-size: 0.83rem; color: #666; line-height: 1.6; margin-bottom: 10px; }
.method-tag { font-size: 0.75rem; font-weight: 600; color: var(--teal); }

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 8px;
  font-size: 0.88rem;
}
.price-table th {
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.price-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e8f0f5;
  color: #555;
}
.price-table tr:nth-child(even) td { background: #f5fafc; }

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.stat-box {
  text-align: center;
  background: var(--light-bg);
  border-radius: 12px;
  padding: 20px 12px;
  border: 1px solid #ddeef4;
}
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--teal); line-height: 1; }
.stat-label { font-size: 0.78rem; color: #666; margin-top: 8px; line-height: 1.4; }

/* Steps */
.steps-list { display: flex; flex-direction: column; gap: 16px; margin: 20px 0 28px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--teal);
  color: #fff; font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-text { font-size: 0.9rem; color: #555; line-height: 1.7; padding-top: 6px; }

/* CTA box */
.post-cta {
  background: linear-gradient(135deg, #0a2846 0%, #1a3a5c 100%);
  border-radius: 16px;
  padding: 32px;
  margin: 36px 0 28px;
  color: #fff;
}
.post-cta h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.post-cta p { font-size: 0.9rem; color: rgba(255,255,255,0.82); }

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 90px; }
.sidebar-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.sidebar-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-bg);
}

/* Responsive */
@media (max-width: 900px) {
  .post-container { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .stat-row { grid-template-columns: repeat(3,1fr); }
  .post-content { padding: 28px 24px; }
}
@media (max-width: 580px) {
  .stat-row { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .post-hero { min-height: 360px; }
}
