/* ============================================
   VELMONT - Blog Premium Styles
   ============================================ */

.blog-hero {
    padding: 180px 0 100px;
    background: linear-gradient(180deg, var(--azul-petroleo) 0%, var(--azul-profundo) 100%);
    text-align: center;
    position: relative;
}

.blog-list {
    padding: 100px 0 140px;
    background: var(--preto);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: linear-gradient(145deg, rgba(13, 27, 42, 0.5) 0%, rgba(10, 10, 10, 0.3) 100%);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
    border-radius: 16px;
}

.blog-card:hover {
    border-color: rgba(177, 152, 98, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4);
}

.blog-card-link {
    display: block;
    color: inherit;
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--transition-smooth);
    filter: brightness(0.95);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
    filter: brightness(1);
}

.blog-card-content {
    padding: 28px;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dourado);
    margin-bottom: 14px;
    padding: 6px 14px;
    background: rgba(177, 152, 98, 0.1);
    border-radius: 100px;
}

.blog-card-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 14px;
}

.blog-card-excerpt {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(249, 249, 249, 0.45);
    margin-bottom: 20px;
    font-weight: 300;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.72rem;
    color: rgba(249, 249, 249, 0.35);
    font-weight: 400;
}

.blog-loading,
.blog-empty,
.blog-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
    color: rgba(249, 249, 249, 0.4);
    font-weight: 300;
}

.nav a.active {
    color: var(--dourado);
    background: rgba(177, 152, 98, 0.1);
}

/* ============================================
   POST ARTICLE PREMIUM
   ============================================ */

.post-hero {
    position: relative;
    padding: 200px 0 100px;
    background: linear-gradient(180deg, var(--azul-petroleo) 0%, var(--azul-profundo) 100%);
    overflow: hidden;
}

.post-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.post-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.post-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dourado);
    margin-bottom: 20px;
    padding: 8px 18px;
    background: rgba(177, 152, 98, 0.1);
    border: 1px solid rgba(177, 152, 98, 0.2);
    border-radius: 100px;
}

.post-category::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--dourado);
    border-radius: 50%;
}

.post-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.post-meta {
    display: flex;
    gap: 24px;
    font-size: 0.82rem;
    color: rgba(249, 249, 249, 0.45);
    flex-wrap: wrap;
    font-weight: 400;
}

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

.post-meta span::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--dourado);
    border-radius: 50%;
}

.post-meta span:first-child::before {
    display: none;
}

.post-article {
    background: var(--preto);
}

.post-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 80px 0;
    font-size: 1.05rem;
    line-height: 2;
    color: rgba(249, 249, 249, 0.7);
    font-weight: 300;
}

.post-content h1 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--off-white);
    margin-top: 48px;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.post-content h2 {
    font-family: var(--font-title);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--dourado);
    margin-top: 48px;
    margin-bottom: 20px;
}

.post-content h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--dourado-claro);
    margin-top: 36px;
    margin-bottom: 16px;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.post-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.post-content blockquote {
    border-left: 3px solid var(--dourado);
    padding: 24px 28px;
    margin: 32px 0;
    background: rgba(177, 152, 98, 0.04);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--dourado-claro);
    font-family: var(--font-title);
    font-size: 1.1rem;
}

.post-content strong {
    color: var(--off-white);
    font-weight: 500;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
}

.post-content th,
.post-content td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(177, 152, 98, 0.1);
}

.post-content th {
    background: rgba(177, 152, 98, 0.1);
    color: var(--dourado);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 28px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 48px;
}

.post-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--dourado);
    padding: 8px 16px;
    background: rgba(177, 152, 98, 0.08);
    border: 1px solid rgba(177, 152, 98, 0.15);
    border-radius: 100px;
    transition: all 0.3s;
}

.post-tag:hover {
    background: rgba(177, 152, 98, 0.15);
    border-color: rgba(177, 152, 98, 0.3);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 48px;
}

.post-share span {
    font-size: 0.82rem;
    color: rgba(249, 249, 249, 0.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-share a {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dourado);
    padding: 10px 20px;
    border: 1px solid rgba(177, 152, 98, 0.25);
    border-radius: 8px;
    transition: all 0.3s var(--transition-smooth);
}

.post-share a:hover {
    background: var(--dourado);
    color: var(--preto);
    border-color: var(--dourado);
}

/* ============================================
   AUTHOR WIDGET PREMIUM
   ============================================ */

.author-widget {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.5) 0%, rgba(10, 10, 10, 0.3) 100%);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--dourado);
    margin-bottom: 80px;
    border-radius: 16px;
}

.author-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--dourado);
    box-shadow: 0 4px 16px rgba(177, 152, 98, 0.2);
}

.author-avatar img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    display: block;
}

.author-details {
    flex: 1;
}

.author-written {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(249, 249, 249, 0.35);
    margin-bottom: 6px;
}

.author-name {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.author-title {
    font-size: 0.78rem;
    color: var(--dourado);
    margin-bottom: 14px;
    font-weight: 500;
}

.author-bio {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(249, 249, 249, 0.5);
    font-weight: 300;
}

/* ============================================
   RELATED POSTS
   ============================================ */

.blog-related {
    padding: 100px 0 140px;
    background: linear-gradient(180deg, var(--azul-petroleo) 0%, var(--azul-profundo) 100%);
}

.blog-related .section-title {
    text-align: center;
    margin-bottom: 56px;
}

.post-loading,
.post-error {
    text-align: center;
    padding: 80px;
    color: rgba(249, 249, 249, 0.4);
    font-weight: 300;
}

/* ============================================
   BLOG RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 160px 0 70px;
    }
    
    .blog-list {
        padding: 80px 0 100px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .post-hero {
        padding: 160px 0 60px;
    }
    
    .post-content {
        padding: 60px 0;
        font-size: 1rem;
    }
    
    .post-share {
        flex-wrap: wrap;
    }
    
    .author-widget {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 24px;
    }
    
    .author-avatar {
        width: 56px;
        height: 56px;
    }
    
    .author-avatar img {
        width: 56px;
        height: 56px;
    }
    
    .blog-related {
        padding: 80px 0 100px;
    }
}