/* Updated: 1767705186 */
/**
 * TEATIA Blog Styles - COMPACTO E PROFISSIONAL
 * Design moderno para archive e single posts
 */

/* ========================================
   SINGLE POST - DESIGN COMPACTO
======================================== */
.teatia-single-post-modern {
    background: #f8f9fa;
}

/* Hero Moderno com Imagem - COMPACTO */
.post-hero-modern {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.85) 0%, rgba(123, 31, 162, 0.75) 100%);
}

.post-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.post-categories-modern {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cat-badge-modern {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.25);
}

.post-title-modern {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 20px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.post-meta-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.95;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-icon {
    font-size: 1.2rem;
}

.meta-separator {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* Hero sem imagem */
.post-hero-no-image {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    padding: 80px 20px;
    color: white;
    text-align: center;
}

.post-hero-no-image .post-title-modern {
    color: white;
}

@media (max-width: 768px) {
    .post-hero-modern {
        min-height: 400px;
    }
    
    .post-hero-content {
        padding: 60px 20px;
    }
    
    .post-meta-modern {
        flex-direction: column;
        gap: 10px;
    }
    
    .meta-separator {
        display: none;
    }
}

/* === BLOG ARCHIVE === */
.teatia-blog-archive,
.teatia-single-post {
    background: var(--color-light-gray);
    min-height: 100vh;
    padding: 40px 0;
}

/* Page Title */
.blog-content .page-title,
.single-post-content .page-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 30px 0;
    text-align: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: blob-float 20s ease-in-out infinite;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.blog-hero p {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

/* Blog Grid - Melhorado e Responsivo */
.blog-content {
    padding: 50px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

/* Blog Cards - Design Melhorado */
.blog-card-full {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.blog-card-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(156, 39, 176, 0.15);
    border-color: rgba(156, 39, 176, 0.2);
}

.blog-card-full .post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: linear-gradient(135deg, #f3e5f5 0%, #fce4ec 100%);
}

.blog-card-full .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-full:hover .post-thumbnail img {
    transform: scale(1.1);
}

.blog-card-full .post-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 14px 0;
    line-height: 1.4;
}

.post-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #9c27b0;
}

.post-excerpt {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.2);
    align-self: flex-start;
}

.read-more-btn:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35);
    background: linear-gradient(135deg, #ffca28, #fb8c00);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    background: white;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.pagination a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.pagination .current {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    color: white;
}

/* === SINGLE POST === */
.teatia-single-post {
    background: var(--color-light-gray);
    min-height: 100vh;
}

/* Single Post Hero */
.single-post-hero {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    padding: 60px 20px 40px;
    position: relative;
    overflow: hidden;
}

.single-post-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: blob-float 15s ease-in-out infinite reverse;
}

.single-post-header {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 15px;
    opacity: 0.95;
}

/* Single Post Content */
.single-post-content {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-body {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-dark);
}

.post-body h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 40px 0 20px 0;
}

.post-body h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 30px 0 15px 0;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    background: linear-gradient(135deg, #f3e5f5, #fce4ec);
    border-left: 5px solid var(--color-primary);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--color-dark);
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 30px 0;
}

.post-body a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.post-body a:hover {
    color: var(--color-primary-dark);
}

/* Post Footer */
.post-footer {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.post-tags {
    background: white;
    padding: 25px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.post-tags h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 15px 0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-list a {
    display: inline-block;
    background: linear-gradient(135deg, #f3e5f5, #fce4ec);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tags-list a:hover {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    color: white;
    transform: translateY(-2px);
}

/* Author Box */
.author-box {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 25px;
    display: flex;
    gap: 25px;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
}

.author-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 10px 0;
}

.author-info p {
    color: var(--color-gray);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Related Posts */
.related-posts {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.related-posts h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 30px 0;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Navigation */
.post-navigation {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    color: var(--color-dark);
    text-decoration: none;
    transition: all var(--transition-base);
}

.nav-previous a:hover,
.nav-next a:hover {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.nav-next a {
    justify-content: flex-end;
    text-align: right;
}

/* Responsive Design - Aprimorado */
@media (max-width: 968px) {
    .blog-hero h1,
    .single-post-title {
        font-size: 36px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .post-body {
        padding: 35px 25px;
        font-size: 16px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .post-navigation {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .blog-hero {
        padding: 60px 20px 40px;
    }
    
    .blog-hero h1,
    .single-post-title {
        font-size: 28px;
    }
    
    .blog-hero p,
    .single-post-subtitle {
        font-size: 16px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card-full .post-content {
        padding: 22px;
    }
    
    .blog-card-full .post-thumbnail {
        height: 200px;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
    
    .post-excerpt {
        font-size: 0.9rem;
    }
    
    .post-meta {
        gap: 10px;
        font-size: 0.75rem;
    }
    
    .read-more-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .post-body {
        padding: 25px 20px;
    }
    
    .post-body h2 {
        font-size: 26px;
    }
    
    .post-body h3 {
        font-size: 22px;
    }
    
    .hero-categories {
        flex-direction: column;
        gap: 12px;
    }
    
    .category-pill {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 24px;
    }
    
    .blog-content {
        padding: 30px 0;
    }
    
    .blog-card-full .post-content {
        padding: 20px;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -50px);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}
