/* CRM Fisio — Blog (público) */

.blog-hero h1 {
    color: #1a202c;
}

.blog-content {
    line-height: 1.8;
    color: #2d3748;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 2.2em;
    margin-bottom: 0.6em;
    color: #1a202c;
    font-weight: 700;
}

.blog-content h2 { font-size: 1.75rem; }
.blog-content h3 { font-size: 1.4rem; }
.blog-content h4 { font-size: 1.2rem; }

.blog-content p {
    margin-bottom: 1.2em;
}

.blog-content a {
    color: #00b8a9;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.blog-content a:hover {
    color: #007e74;
}

.blog-content ul,
.blog-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.blog-content ul li,
.blog-content ol li {
    margin-bottom: 0.4em;
}

.blog-content blockquote {
    border-left: 4px solid #00b8a9;
    padding: 0.5em 1.2em;
    margin: 1.6em 0;
    background: #f0fdfa;
    color: #2d3748;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-content code {
    background: #f1f5f9;
    color: #be123c;
    padding: 0.15em 0.35em;
    border-radius: 4px;
    font-size: 0.9em;
}

.blog-content pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 1.2em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.blog-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.blog-content th,
.blog-content td {
    border: 1px solid #e2e8f0;
    padding: 0.6em 0.9em;
    text-align: left;
}

.blog-content th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Pagination — pinta el activo en color de marca */
.pagination .page-item.active .page-link {
    background-color: #00b8a9;
    border-color: #00b8a9;
}

.pagination .page-link {
    color: #00b8a9;
}

.pagination .page-link:hover {
    color: #007e74;
    background-color: #f0fdfa;
}
