/* ═══════════════════════════════════════════════
   THE CONSCIOUS BODYBUILDER — post.css
   Styles for single.php blog post template
═══════════════════════════════════════════════ */

/* ── POST HERO ── */
.tcb-post-hero {
  background: var(--tcb-dark);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--tcb-gold);
}
.tcb-post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(184,151,90,0.07), transparent 60%);
  pointer-events: none;
}
.tcb-post-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 5.5vw, 58px);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--tcb-white);
  margin-bottom: 32px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
.tcb-post-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tcb-gold);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.tcb-post-cat a { color: var(--tcb-gold); text-decoration: none; transition: opacity 0.2s; }
.tcb-post-cat a:hover { opacity: 0.75; }
.tcb-post-cat__dot { width: 5px; height: 5px; background: var(--tcb-gold); border-radius: 50%; flex-shrink: 0; }
.tcb-post-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  position: relative;
  z-index: 1;
}
.tcb-post-author { display: flex; align-items: center; gap: 12px; }
.tcb-post-author__avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(184,151,90,0.4); flex-shrink: 0; }
.tcb-post-author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcb-post-author__name { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); display: block; }
.tcb-post-author__role { font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.06em; display: block; }
.tcb-post-date, .tcb-post-read { font-size: 11px; color: rgba(255,255,255,0.28); letter-spacing: 0.1em; text-transform: uppercase; }
.tcb-post-kw { font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 10px; border: 1px solid rgba(184,151,90,0.25); color: rgba(184,151,90,0.6); }

/* ── FEATURED IMAGE ── */
.tcb-post-hero__img { margin: 0; max-height: 520px; overflow: hidden; position: relative; }
.tcb-post-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcb-post-hero__img figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(10,10,10,0.65); padding: 10px 20px; font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; }

/* ── POST LAYOUT ── */
.tcb-post-layout { padding: 72px 0 80px; background: var(--tcb-white); }

/* ── POST CONTENT TYPOGRAPHY ── */
.tcb-post-content { font-size: 17px; line-height: 1.9; color: #2a2a2a; }
.tcb-post-content > * + * { margin-top: 22px; }

.tcb-post-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--tcb-black);
  margin-top: 52px;
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 2px solid rgba(0,0,0,0.06);
}
.tcb-post-content h2:first-child { border-top: none; margin-top: 0; }

.tcb-post-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tcb-black);
  margin-top: 40px;
  margin-bottom: 14px;
}

.tcb-post-content p { font-weight: 300; margin-bottom: 22px; }
.tcb-post-content p strong { color: var(--tcb-black); font-weight: 600; }
.tcb-post-content a { color: var(--tcb-gold-dk); text-decoration: underline; text-decoration-color: rgba(143,112,64,0.3); transition: color 0.2s; }
.tcb-post-content a:hover { color: var(--tcb-gold); }

.tcb-post-content ul,
.tcb-post-content ol { padding-left: 0; list-style: none; margin: 28px 0; }
.tcb-post-content ul li,
.tcb-post-content ol li { padding: 9px 0 9px 24px; position: relative; border-bottom: 1px solid rgba(0,0,0,0.07); font-size: 16px; font-weight: 300; color: #2e2e2e; line-height: 1.7; }
.tcb-post-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--tcb-gold); font-weight: 700; }
.tcb-post-content ol { counter-reset: ol-counter; }
.tcb-post-content ol li { counter-increment: ol-counter; }
.tcb-post-content ol li::before { content: counter(ol-counter, decimal-leading-zero); position: absolute; left: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px; color: var(--tcb-gold); letter-spacing: 0.08em; }

.tcb-post-content blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
  color: var(--tcb-gold-dk);
  border-left: 4px solid var(--tcb-gold);
  padding: 18px 0 18px 28px;
  margin: 44px 0;
  background: rgba(184,151,90,0.04);
}
.tcb-post-content blockquote cite { display: block; font-family: 'Barlow', sans-serif; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tcb-gold); margin-top: 14px; }

.tcb-post-content .wp-block-image { margin: 44px 0; }
.tcb-post-content .wp-block-image img { width: 100%; }
.tcb-post-content .wp-block-image figcaption { font-size: 12px; color: var(--tcb-muted); letter-spacing: 0.06em; text-align: center; margin-top: 10px; }

.tcb-post-content hr { border: none; border-top: 1px solid rgba(0,0,0,0.08); margin: 48px 0; }

/* ── INLINE CTA (injected via PHP filter) ── */
.tcb-inline-cta {
  background: var(--tcb-black);
  padding: 48px 44px;
  margin: 52px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border-left: 4px solid var(--tcb-gold);
}
@media(max-width:700px) { .tcb-inline-cta { grid-template-columns: 1fr; } }
.tcb-inline-cta__label { font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tcb-gold); margin-bottom: 10px; display: block; }
.tcb-inline-cta__heading { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 30px; text-transform: uppercase; color: #fff; line-height: 0.95; margin-bottom: 12px; letter-spacing: 0.02em; }
.tcb-inline-cta__body { font-size: 14px !important; color: rgba(255,255,255,0.42) !important; font-weight: 300 !important; line-height: 1.6 !important; margin: 0 !important; max-width: 380px; }
.tcb-inline-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tcb-gold);
  color: var(--tcb-black);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 32px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.tcb-inline-cta__btn:hover { background: var(--tcb-gold-lt) !important; transform: translateX(3px); color: var(--tcb-black) !important; }

/* ── TAGS ── */
.tcb-post-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 52px; padding-top: 32px; border-top: 1px solid rgba(0,0,0,0.08); }
.tcb-post-tags__label { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tcb-muted); }
.tcb-post-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border: 1px solid rgba(0,0,0,0.12); color: var(--tcb-muted); transition: all 0.2s; }
.tcb-post-tag:hover { background: var(--tcb-black); color: var(--tcb-white); border-color: var(--tcb-black); }

/* ── AUTHOR BIO ── */
.tcb-post-bio {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: start;
  background: var(--tcb-dark);
  border: 1px solid var(--tcb-border);
  padding: 44px;
  margin-top: 64px;
}
@media(max-width:600px) { .tcb-post-bio { grid-template-columns: 1fr; gap: 20px; } }
.tcb-post-bio__img { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; border: 2px solid var(--tcb-gold); flex-shrink: 0; }
.tcb-post-bio__img img { width: 100%; height: 100%; object-fit: cover; }
.tcb-post-bio__name { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tcb-white); display: block; margin-bottom: 4px; }
.tcb-post-bio__role { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tcb-gold); margin-bottom: 14px; display: block; }
.tcb-post-bio__body p { font-size: 14px; color: rgba(255,255,255,0.48); font-weight: 300; line-height: 1.75; margin-bottom: 16px; }
.tcb-post-bio__link { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tcb-gold); transition: color 0.2s; }
.tcb-post-bio__link:hover { color: var(--tcb-gold-lt); }

/* ── POST NAV ── */
.tcb-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 52px; }
@media(max-width:600px) { .tcb-post-nav { grid-template-columns: 1fr; } }
.tcb-post-nav__item { background: var(--tcb-smoke); padding: 28px 32px; text-decoration: none !important; transition: background 0.2s; display: block; }
.tcb-post-nav__item:hover { background: #ece9e3; }
.tcb-post-nav__item--next { text-align: right; }
.tcb-post-nav__dir { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tcb-gold); margin-bottom: 8px; }
.tcb-post-nav__title { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--tcb-black); line-height: 1.1; }

/* ── RELATED POSTS ── */
.tcb-related { background: var(--tcb-smoke); padding: 72px 0; }
.tcb-related__title { font-family: 'Barlow Condensed', sans-serif; font-size: 44px; font-weight: 900; text-transform: uppercase; color: var(--tcb-black); margin-bottom: 44px; line-height: 0.95; }
.tcb-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
@media(max-width:768px) { .tcb-related__grid { grid-template-columns: 1fr; } }
.tcb-related__card { background: var(--tcb-white); display: block; text-decoration: none !important; transition: transform 0.25s; overflow: hidden; }
.tcb-related__card:hover { transform: translateY(-4px); }
.tcb-related__card-img { height: 180px; overflow: hidden; }
.tcb-related__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tcb-related__card:hover .tcb-related__card-img img { transform: scale(1.04); }
.tcb-related__card-body { padding: 24px 24px 28px; }
.tcb-related__cat { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tcb-gold-dk); margin-bottom: 8px; display: block; }
.tcb-related__card-title { font-family: 'Barlow Condensed', sans-serif; font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--tcb-black); line-height: 1.05; margin-bottom: 10px; }
.tcb-related__card-excerpt { font-size: 13px; color: var(--tcb-muted); font-weight: 300; line-height: 1.65; }

/* ── POST FOOTER CTA ── */
.tcb-post-cta { background: var(--tcb-gold); padding: 88px 0; text-align: center; }
.tcb-post-cta__inner { max-width: 600px; margin: 0 auto; }
.tcb-post-cta__h { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: 0.92; text-transform: uppercase; color: var(--tcb-black); margin-bottom: 24px; }
.tcb-post-cta__sub { font-size: 17px; font-weight: 300; color: rgba(0,0,0,0.5); max-width: 440px; margin: 0 auto 40px; line-height: 1.75; }
.tcb-post-cta__note { margin-top: 20px; font-size: 10px; color: rgba(0,0,0,0.3); letter-spacing: 0.1em; text-transform: uppercase; }
