/* ==========================================================================
   Estilos específicos do Blog Go Up
   ========================================================================== */

/* Hero do Blog */
.blog-hero {
    padding: 8rem 1.5rem 4rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-surface));
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top center, rgba(37, 211, 102, 0.05), transparent 60%);
    pointer-events: none;
}

.blog-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.blog-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Card do Blog */
.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-img-wrapper {
    overflow: hidden;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
}

.blog-card:hover .blog-title {
    color: var(--accent-primary);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: 0.85rem;
    color: #6b7280;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* Paginação */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0 5rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.page-btn.active {
    background: var(--accent-primary);
    color: var(--bg-dark);
    border-color: var(--accent-primary);
}

/* ==========================================================================
   Estilos de Leitura do Post (modelo-post.html)
   ========================================================================== */

.post-header {
    padding: 8rem 1.5rem 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.post-header .blog-category {
    font-size: 0.9rem;
}

.post-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin: 1rem 0;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
}

.post-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.post-cover {
    width: 100%;
    max-width: 1000px;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin: 0 auto 3rem;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Área do Texto (onde o usuário escreve o conteúdo) */
.post-content {
    max-width: 760px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e5e7eb;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 1rem;
    font-family: 'Outfit', sans-serif;
    color: #fff;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #fff;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.post-content a {
    color: var(--accent-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.post-content a:hover {
    color: #fff;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.post-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--text-muted);
    margin: 2rem 0;
    font-size: 1.25rem;
}

.post-footer {
    max-width: 760px;
    margin: 0 auto 5rem;
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
