/* Estilos específicos para a página de entrada */

/* Variáveis de cores */
:root {
    --primary-color: #0066cc;
    --primary-hover: #0055aa;
    --secondary-color: #333;
    --background-light: #f8f9fa;
    --border-color: #ddd;
    --text-color: #333;
    --text-light: #666;
    --error-color: #e74c3c;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --focus-shadow: rgba(0, 102, 204, 0.2);
}

/* Container principal */
.entry-container {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    animation: fadeIn 0.5s ease forwards;
}

/* Cabeçalho da entrada */
.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 15px;
    color: var(--text-light);
}

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

.entry-meta i {
    color: var(--primary-color);
}

/* Autor da entrada */
.entry-author {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 30px;
    background-color: var(--background-light);
    border-radius: 10px;
}

.entry-author-avatar {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.entry-author-info {
    flex: 1;
}

.entry-author-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.entry-author-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-author-name a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.entry-author-bio {
    font-size: 14px;
    color: var(--text-light);
}

/* Imagem destacada */
.entry-featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.entry-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.entry-featured-image:hover img {
    transform: scale(1.02);
}

/* Conteúdo da entrada */
.entry-content {
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
}

.entry-content p {
    margin-bottom: 25px;
}

.entry-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 35px 0 20px;
    color: var(--text-color);
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 25px 20px;
    padding-left: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    border-left: 4px solid var(--primary-color);
    background-color: var(--background-light);
    font-style: italic;
    color: var(--text-light);
    border-radius: 0 10px 10px 0;
}

/* Ações da entrada */
.entry-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.entry-likes {
    display: flex;
    align-items: center;
    gap: 10px;
}

.like-button {
    padding: 8px;
    font-size: 22px;
    border: none;
    background: none;
    color: var(--text-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.like-button:hover {
    color: var(--error-color);
    background-color: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

.entry-likes span {
    font-size: 16px;
    font-weight: 600;
}

.entry-share {
    display: flex;
    gap: 15px;
}

.entry-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    font-size: 20px;
    color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.entry-share a:hover {
    transform: translateY(-3px);
}

/* Comentários */
.entry-comments {
    margin-top: 40px;
}

.comments-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
}

.comment {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.comment-author a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-author a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.comment-date {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.comment-text {
    line-height: 1.6;
    color: var(--text-light);
}

/* Formulário de comentário */
.comment-form {
    margin-top: 30px;
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 10px;
}

.comment-form h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 15px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-shadow);
}

.comment-form button {
    padding: 12px 25px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--focus-shadow);
}

/* Responsividade */
@media (max-width: 992px) {
    .entry-container {
        padding: 30px;
    }
    
    .entry-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .entry-container {
        padding: 25px;
    }

    .entry-title {
        font-size: 24px;
    }

    .entry-content {
        font-size: 16px;
    }

    .entry-meta {
        gap: 15px;
        font-size: 14px;
    }

    .comment {
        flex-direction: column;
    }

    .comment-avatar {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .entry-container {
        padding: 20px;
        border-radius: 0;
        margin: -30px -20px 30px;
    }

    .entry-title {
        font-size: 22px;
    }
    
    .entry-author {
        padding: 12px;
    }
    
    .entry-author-avatar {
        width: 50px;
        height: 50px;
    }

    .entry-actions {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}