/* ====================================================================
   Rodeo Graphics — single.css
   (single.php — individual blog post)
   ==================================================================== */

/* ARTICLE HERO */
.article-hero { background: var(--gray-900); padding: 4.5rem 5% 3.5rem; position: relative; overflow: hidden; }
.article-hero::before {
  content: ''; position: absolute; top: -80px; right: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(210,30,63,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.ah-inner { position: relative; z-index: 1; max-width: 760px; }
.ah-crumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.78rem; color: var(--gray-400); flex-wrap: wrap; }
.ah-crumb a { color: var(--gray-400); text-decoration: none; }
.ah-crumb a:hover { color: #fff; }
.ah-crumb span:not(.sep) { color: #fff; font-weight: 600; }
.ah-crumb .sep { color: #374151; }
.ah-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #f87096; background: rgba(210,30,63,0.2); border: 1px solid rgba(210,30,63,0.35); padding: 0.3rem 0.85rem; border-radius: var(--r-pill); display: inline-block; margin-bottom: 1rem; }
.article-hero h1 { font-family: 'Sora', 'Sora Fallback', sans-serif; font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: #fff; margin-bottom: 1.25rem; }
.ah-meta { display: flex; align-items: center; gap: 0.75rem; }
.ah-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
.ah-meta-text { font-size: 0.85rem; color: var(--gray-400); }
.ah-meta-text strong { color: #fff; }
.ah-divider { margin: 0 0.35rem; }

/* LAYOUT */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; padding: 3.5rem 5% 5rem; max-width: 1200px; }
.article-img { aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; background: var(--gray-100); margin-bottom: 2rem; }
.article-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ARTICLE BODY (the_content output) */
.article-body { font-size: 1rem; color: var(--gray-700, var(--gray-600)); line-height: 1.85; }
.article-body h2 { font-family: 'Sora', 'Sora Fallback', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; color: var(--gray-900); margin: 2.25rem 0 0.85rem; scroll-margin-top: 90px; }
.article-body h3 { font-family: 'Sora', 'Sora Fallback', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--gray-900); margin: 1.75rem 0 0.65rem; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.25rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body a { color: var(--red); text-decoration: underline; }
.article-body img { border-radius: var(--r-lg); margin: 1rem 0; }
.article-body blockquote,
.article-callout { background: var(--red-pale); border-left: 4px solid var(--red); border-radius: var(--r-md); padding: 1.25rem 1.5rem; margin: 1.5rem 0; font-size: 0.975rem; color: var(--gray-800); }
.article-callout a, .article-body blockquote a { font-weight: 700; }
.name-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.name-chip { font-size: 0.85rem; font-weight: 600; background: var(--gray-50); border: 1px solid var(--gray-100); padding: 0.4rem 0.9rem; border-radius: var(--r-pill); }

/* SHARE ROW */
.share-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); margin-top: 1.5rem; }
.share-label { font-size: 0.85rem; font-weight: 700; color: var(--gray-600); margin-right: 0.25rem; }
.share-btn { font-size: 0.8rem; font-weight: 600; color: var(--gray-600); border: 1.5px solid var(--gray-200); border-radius: var(--r-pill); padding: 0.4rem 0.9rem; text-decoration: none; background: var(--white); cursor: pointer; font-family: inherit; }
.share-btn:hover { border-color: var(--red); color: var(--red); }

/* RELATED POSTS */
.related-posts { margin-top: 3rem; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.rp-card { display: block; border: 1px solid var(--gray-100); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: box-shadow 0.15s, transform 0.15s; }
.rp-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.rp-img { aspect-ratio: 16/10; background: var(--gray-100); }
.rp-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-body { padding: 1rem; }
.rp-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 0.35rem; display: inline-block; }
.rp-body h4 { font-family: 'Sora', 'Sora Fallback', sans-serif; font-size: 0.95rem; font-weight: 800; color: var(--gray-900); line-height: 1.35; }

/* SIDEBAR (sticky CTA + TOC; .sidebar-widget etc. shared from blog.css) */
.article-sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 90px; }
.as-cta { background: var(--gray-900); border-radius: var(--r-lg); padding: 1.5rem; color: #fff; }
.as-cta h3 { font-family: 'Sora', 'Sora Fallback', sans-serif; font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.as-cta p { font-size: 0.85rem; color: var(--gray-400); line-height: 1.6; margin-bottom: 1.1rem; }
.as-widget { border: 1px solid var(--gray-100); border-radius: var(--r-lg); padding: 1.25rem; }
.as-title { font-family: 'Sora', 'Sora Fallback', sans-serif; font-size: 0.9rem; font-weight: 800; margin-bottom: 0.85rem; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.toc-list a { font-size: 0.85rem; color: var(--gray-600); text-decoration: none; line-height: 1.4; display: block; }
.toc-list a:hover { color: var(--red); }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr; }
}
