/* Estilos personalizados para o blog */
.blog-article {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.blog-image-container {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Proporção 5:3 */
    overflow: hidden;
    border-radius: 0.5rem;
}

.blog-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 0.5rem;
}

.blog-article:hover .blog-image {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #00A859;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/*.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}*/

.blog-meta {
    display: flex;
    align-items: center;
    color: #6B7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003366; /* gti-blue-primary */
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.blog-excerpt {
    color: #6B7280; /* gray-500 */
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    color: #1E40AF; /* blue-aux */
    font-weight: 600;
    margin-top: auto;
    transition: all 0.2s ease;
}

.blog-link:hover {
    color: #1E3A8A; /* blue-aux darker */
    text-decoration: underline;
}

.blog-link svg {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.blog-link:hover svg {
    transform: translateX(3px);
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.post-body * {
    color: inherit !important;
    font-family: 'Poppins', sans-serif !important;
}

.post-body {
    color: #ffffff;
}

    .post-body * {
        color: inherit !important;
    }

/** Estilo para os parágrafos dentro do corpo do post */
.post-body p {
    color: #6b7280; /* text-gray-500 */
    margin-bottom: 1rem; /* mb-4 */
    font-weight: 400; /* font-normal */
    display: -webkit-box; /* line-clamp-3 */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
