

/* ============================================================
   MEDC - blog.css
   Estilos dos artigos do blog. O chrome (header/nav/footer)
   vem de base.css.
   ============================================================ */
body {
    padding-top: 70px;
}

.footer {
    margin-top: 100px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-container {
        padding: 0 20px;
    }
}

/* Article Header */
.header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #1a1a1a;
    padding: 60px 20px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,82,204,0.1);
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,82,204,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta {
    font-size: 0.95em;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.post-author-header {
    font-weight: 600;
    color: #0052CC;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-content {
    background: white;
    padding: 0 50px 60px;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
}

.post-content h2 {
    font-size: 1.9em;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 50px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: #0052CC;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 22px;
    color: #1a1a1a;
    font-size: 1.05em;
}

.post-content ul, .post-content ol {
    margin-left: 30px;
    margin-bottom: 25px;
}

.post-content li {
    margin-bottom: 14px;
    color: #1a1a1a;
}

.post-image {
    width: 100vw;
    height: 450px;
    margin: 0 calc(-50vw + 50%);
    margin-bottom: 50px;
    object-fit: cover;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.callout {
    background: linear-gradient(135deg, #f8fafc 0%, rgba(0,82,204,0.05) 100%);
    padding: 24px 28px;
    margin: 30px 0;
    border-left: 5px solid #0052CC;
}

.callout p {
    margin-bottom: 0;
    color: #334155;
}

.series-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 40px;
}

.series-nav span, .series-nav a {
    font-size: 0.85em;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    text-decoration: none;
}

.series-nav .current {
    background: linear-gradient(135deg, #0052CC, #2684FF);
    color: #fff;
}

.series-nav a {
    background: #eef4ff;
    color: #0052CC;
    transition: background 0.3s ease;
}

.series-nav a:hover {
    background: #dbe7ff;
}

.author-box {
    padding: 40px;
    border-radius: 0;
    margin: 60px 0;
    border-left: 5px solid #0052CC;
    border-top: 1px solid rgba(0,82,204,0.2);
    border-bottom: 1px solid rgba(0,82,204,0.2);
}

.author-box h4 {
    color: #0052CC;
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 700;
}

.author-box p {
    color: #64748b;
    line-height: 1.7;
}

.related-posts {
    background: white;
    padding: 40px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.related-posts h3 {
    color: #0052CC;
    margin-bottom: 25px;
}

.related-post {
    padding: 15px;
    margin-bottom: 15px;
    border-left: 3px solid #0052CC;
    background: #f9faff;
}

.related-post a {
    color: #0052CC;
    text-decoration: none;
    font-weight: 600;
}

.related-post a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .post-content {
        padding: 0 24px 50px;
    }

    .header h1 {
        font-size: 1.9rem;
    }
}
