/**
 * post-page.css — shared styles for SmartMowBot blog post pages
 * Used by: every HTML file carrying <meta name="post_article" content="true">
 * Do NOT inline these per page — they belong here.
 *
 * What deliberately stays inline in each article's own <style> (ERP post_optimizer
 * greps the HTML for these literally):
 *   - .article-content img { ... }
 *   - .toc-nav / .toc-nav.expanded max-height rules
 *   - .blog-hero background-image url(...)   (per-article hero photo)
 *
 * SmartMowBot palette:
 *   #16A34A — turf green, primary brand color
 *   #15803D — deep green, small text on white + hover states
 *   #1F2937 — ground, ink and dark surfaces      #111827 — deepest
 *   #FACC15 — CTA yellow (filled backgrounds only, never text on white)
 *   #EAB308 — CTA hover     #E2E5DE — line     #F5F7F4 — wash     #6B7280 — muted
 * Fonts: Archivo (headings/labels) + Inter (body)
 */

/* Breadcrumb + author/date strip (post_optimizer breadcrumb Template B) */
.article-meta-wrap {
    padding: 1.25rem 0 0.5rem;
}
.article-meta .breadcrumb {
    background: transparent;
}
.article-meta a { text-decoration: none; }
.article-meta a:hover { color: #15803D !important; }

/* Sidebar CTA card — dark ground band with the turf glow used across the site */
.sidebar-cta {
    background:
      radial-gradient(120% 80% at 0% 0%, rgba(22, 163, 74, 0.30), transparent 60%),
      linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: #fff;
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    text-align: center;
}
.sidebar-cta h4 {
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
    color: #F9FAFB;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}
.sidebar-cta p {
    color: #E5E7EB;
    font-size: 0.92rem;
    margin: 0 0 1rem;
    line-height: 1.55;
}
.sidebar-cta .btn-primary {
    background: #FACC15;
    border-color: #FACC15;
    color: #1F2937;
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    border-radius: 8px;
}
.sidebar-cta .btn-primary:hover {
    background: #EAB308;
    border-color: #EAB308;
    color: #1F2937;
}

/* Secondary sidebar CTA card (tier-2 offer, sits under the inquiry form) */
.post-cta {
    background: #fff;
    border: 1px solid #E2E5DE;
    border-left: 3px solid #16A34A;
    border-radius: 10px;
    padding: 1.35rem 1.25rem;
    margin-bottom: 1.5rem;
}
.post-cta h4 {
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: #1F2937;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.post-cta p {
    font-size: 0.9rem;
    color: #4B5563;
    line-height: 1.55;
    margin: 0 0 1rem;
}
.post-cta .btn {
    display: inline-block;
    background: #FACC15;
    color: #1F2937;
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.post-cta .btn:hover {
    background: #EAB308;
    color: #1F2937;
    transform: translateY(-2px);
}

/* YouTube / Vimeo embed — responsive 16:9 wrapper */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin: 1.75rem 0;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.14);
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Author card at article end */
.author-card {
    background: #F5F7F4;
    border-left: 4px solid #16A34A;
    padding: 1.25rem 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.author-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.12);
}
.author-card-name {
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    color: #1F2937;
    margin: 0;
}
.author-card-name a { color: inherit; text-decoration: none; }
.author-card-name a:hover { color: #15803D; text-decoration: underline; }
.author-card-meta {
    font-size: 0.9rem;
    color: #6B7280;
    margin: 0.25rem 0 0;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .author-card { flex-direction: column; text-align: center; }
}
