/* ===== POST DETAIL PAGE ===== */

/* — Post Hero — */
.post-hero{
  padding:160px 0 60px;
  background:radial-gradient(circle at 10% 20%,rgba(86,137,255,.25),transparent 40%),
             radial-gradient(circle at 80% 0,rgba(232,255,100,.2),transparent 45%),
             var(--indigo);
  color:#fff;
  position:relative;overflow:hidden;
}
.post-hero .section-label{color:var(--chartreuse)}
.post-hero .section-label::before{background:var(--chartreuse)}
.post-hero .post-tag{
  display:inline-block;padding:5px 16px;border-radius:20px;
  font-size:12px;font-weight:500;
  background:rgba(232,255,100,.15);color:var(--chartreuse);
  margin-bottom:20px;
}
.post-hero h1{
  font-weight:800;font-size:clamp(30px,4.5vw,48px);
  line-height:1.12;max-width:720px;margin-bottom:20px;
}
.post-hero .post-meta{
  font-size:14px;font-weight:300;color:rgba(255,255,255,.5);
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
}
.post-hero .post-meta span{
  display:inline-flex;align-items:center;gap:6px;
}

/* — Post Body — */
.post-body{
  background:var(--white);padding:80px 0 100px;
}
.post-body .container{
  max-width:760px;
}
.post-content h2{
  font-weight:800;font-size:clamp(22px,3vw,30px);
  color:var(--indigo);margin:48px 0 18px;line-height:1.2;
}
.post-content h2:first-child{margin-top:0}
.post-content h3{
  font-weight:700;font-size:clamp(18px,2.5vw,22px);
  color:var(--indigo);margin:36px 0 14px;line-height:1.25;
}
.post-content p{
  font-size:17px;font-weight:300;line-height:1.85;
  color:rgba(20,20,64,.65);margin-bottom:22px;
}
.post-content p strong{
  font-weight:500;color:var(--indigo);
}
.post-content ul,.post-content ol{
  margin:0 0 22px 18px;display:flex;flex-direction:column;gap:10px;
}
.post-content li{
  font-size:16px;font-weight:300;line-height:1.75;
  color:rgba(20,20,64,.6);
}
.post-content blockquote{
  margin:32px 0;padding:20px 28px;
  border-left:4px solid var(--system-blue);
  background:rgba(38,55,244,.04);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
}
.post-content blockquote p{
  font-size:17px;font-weight:400;font-style:italic;
  color:var(--indigo);margin-bottom:0;
}

/* — Pull Quote — */
.post-pullquote{
  margin:48px 0;padding:36px 32px;
  background:linear-gradient(135deg,rgba(38,55,244,.06),rgba(86,137,255,.04));
  border:1px solid rgba(38,55,244,.1);
  border-radius:var(--radius);
  text-align:center;
  position:relative;overflow:hidden;
}
.post-pullquote::before{
  content:'';position:absolute;top:-1px;right:-1px;
  width:32px;height:32px;
  border-top:2.5px solid var(--system-blue);border-right:2.5px solid var(--system-blue);
  border-top-right-radius:var(--radius);
  opacity:.35;
}
.post-pullquote p{
  font-family:var(--font-heading);font-weight:700;
  font-size:clamp(18px,2.5vw,22px);line-height:1.4;
  color:var(--indigo);margin-bottom:0;
  position:relative;
}

/* — Back Link — */
.post-back{
  display:inline-flex;align-items:center;gap:8px;
  font-size:14px;font-weight:500;color:rgba(255,255,255,.6);
  transition:color .2s,gap .2s;margin-bottom:24px;
}
.post-back:hover{color:var(--chartreuse);gap:12px}
.post-back .arrow{transition:transform .2s}
.post-back:hover .arrow{transform:translateX(-3px)}

/* — Bottom Nav — */
.post-bottom-nav{
  margin-top:64px;padding-top:32px;
  border-top:1px solid rgba(20,20,64,.08);
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:16px;
}
.post-bottom-nav a{
  font-size:14px;font-weight:500;color:var(--system-blue);
  display:inline-flex;align-items:center;gap:6px;
  transition:gap .3s;
}
.post-bottom-nav a:hover{gap:12px}

/* — Data Tables — */
.post-table{
  width:100%;border-collapse:collapse;
  margin:24px 0 32px;font-size:15px;
  border:1px solid rgba(20,20,64,.1);
  border-radius:var(--radius-sm);overflow:hidden;
}
.post-table thead{
  background:var(--indigo);color:#fff;
}
.post-table th{
  padding:14px 18px;font-weight:600;
  text-align:left;font-size:14px;
  letter-spacing:.02em;
}
.post-table td{
  padding:14px 18px;
  border-bottom:1px solid rgba(20,20,64,.06);
  color:rgba(20,20,64,.65);font-weight:300;
  line-height:1.55;vertical-align:top;
}
.post-table td strong{
  font-weight:500;color:var(--indigo);
}
.post-table tbody tr:last-child td{border-bottom:none}
.post-table tbody tr:nth-child(even){
  background:rgba(20,20,64,.02);
}

/* — Responsive — */
@media(max-width:640px){
  .post-hero{padding:120px 0 48px}
  .post-body{padding:48px 0 64px}
  .post-pullquote{padding:24px 20px}
  .post-table{font-size:13px}
  .post-table th,.post-table td{padding:10px 12px}
}
