/* Shared blog styles — monochrome to match the e-ink look of the main site */

.content-page {
    background: #fff;
    padding: 3rem 0 2rem;
    min-height: 100vh;
}

.content-page .container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.breadcrumbs {
    font-size: 0.875rem;
    color: var(--gray-500, #737373);
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: var(--gray-600, #525252);
    text-decoration: none;
}

.breadcrumbs a:hover { text-decoration: underline; }

.content-page h1 {
    font-size: 2.4rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #111;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--gray-500, #737373);
    margin-bottom: 2rem;
}

.content-page .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}

/* Answer-first summary box (helps featured snippets + AI answers) */
.tldr {
    border: 2px solid #111;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 0 0 2.5rem;
    background: var(--gray-100, #f5f5f5);
}

.tldr-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #111;
}

.tldr p:last-child,
.tldr ul:last-child { margin-bottom: 0; }

.content-page h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #111;
    font-weight: 700;
}

.content-page h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #222;
    font-weight: 600;
}

.content-page p {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    color: #333;
}

.content-page ul,
.content-page ol {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #333;
}

.content-page li { margin-bottom: 0.5rem; }

.content-page strong { color: #111; font-weight: 600; }

.content-page code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.95em;
    background: var(--gray-100, #f5f5f5);
    border: 1px solid var(--gray-200, #e5e5e5);
    border-radius: 4px;
    padding: 0.1em 0.35em;
}

.content-page article a:not(.btn),
.content-page .container > p a,
.content-page li a,
.content-page td a,
.content-page .note a {
    color: #111;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.content-page a:not(.btn):hover { text-decoration-thickness: 2px; }

/* Tables scroll on small screens instead of overflowing the page */
.table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    -webkit-overflow-scrolling: touch;
}

.content-page table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 520px;
}

.content-page table th,
.content-page table td {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--gray-200, #e5e5e5);
    text-align: left;
    vertical-align: top;
}

.content-page table th {
    background: var(--gray-100, #f5f5f5);
    font-weight: 600;
    color: #111;
}

.note {
    border-left: 4px solid #111;
    padding: 0.75rem 1rem;
    margin: 1.5rem 0;
    background: var(--gray-100, #f5f5f5);
}

.note p { margin-bottom: 0.5rem; }
.note p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-block h3 {
    margin-top: 1.75rem;
    font-size: 1.15rem;
}

/* Product CTA */
.cta-box {
    background: #111;
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3.5rem 0 2rem;
}

.cta-box h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.cta-box .btn {
    background: #fff;
    color: #111;
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}

.cta-box .btn:hover { opacity: 0.9; }

.cta-inline {
    border: 1px solid var(--gray-300, #d4d4d4);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 2rem 0;
    font-size: 1rem;
}

/* Related posts */
.related {
    border-top: 1px solid var(--gray-200, #e5e5e5);
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.related h2 {
    font-size: 1.25rem;
    margin-top: 0;
}

.related ul { list-style: none; padding-left: 0; }

/* Feature grid used in older posts */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--gray-100, #f5f5f5);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200, #e5e5e5);
}

.feature-card h3 { margin-top: 0; font-size: 1.1rem; }

/* Blog index */
.blog-section-title {
    font-size: 0.8rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500, #737373) !important;
    margin-top: 2.5rem !important;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1rem 0 2rem;
}

.blog-card {
    border: 1px solid var(--gray-200, #e5e5e5);
    border-radius: 8px;
    padding: 1.25rem;
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.15rem !important;
    margin: 0 0 0.5rem !important;
}

.blog-card a { color: #111; text-decoration: none; }
.blog-card a:hover { text-decoration: underline; }

.blog-card p {
    font-size: 0.98rem !important;
    margin-bottom: 0 !important;
    color: #555 !important;
}

@media (max-width: 768px) {
    .content-page { padding-top: 2rem; }
    .content-page h1 { font-size: 1.9rem; }
    .content-page .lead { font-size: 1.05rem; }
    .content-page h2 { font-size: 1.45rem; }
    .content-page h3 { font-size: 1.15rem; }
    .content-page p,
    .content-page ul,
    .content-page ol { font-size: 1rem; }
    .cta-box { padding: 2rem 1.25rem; }
    .cta-box h2 { font-size: 1.4rem; }
}
