/* 
* AdmEscolar Blog - Estilos Principais
* Desenvolvido por Circuitus
*/

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

/* Estilos Gerais */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0a58ca;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header */
.top-bar {
    font-size: 0.9rem;
}

.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    max-height: 60px;
}

.search-form {
    max-width: auto;
    margin-left: auto;
}

.text-vermelho { color: #ea0f63;}

/* Navegação */
.navbar {
    padding: 0;
}

.navbar-nav .nav-link {
    padding: 1rem;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
    margin-bottom: 0;
}

/* Conteúdo Principal */
.main-content {
    min-height: 600px;
}

/* Cards de Artigos */
.card-post {
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-post .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-post .card-body {
    padding: 20px;
}

.card-post .card-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.card-post .card-text {
    color: #6c757d;
    margin-bottom: 15px;
}

.card-post .card-footer {
    background-color: transparent;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 15px 20px;
}

.card-post .post-category {
    display: inline-block;
    padding: 5px 10px;
    /* background-color: var(--primary-color); */
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.categoria-adm { background-color: var(--primary-color);}

.categoria-financa { background-color: var(--success-color);}

.categoria-tecno { background-color: var(--info-color);}

.categoria-educ { background-color: var(--warning-color);}

.card-post .post-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Sidebar */
.sidebar .card {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar .card-header {
    padding: 15px 20px;
    font-weight: 700;
}

.sidebar .list-group-item {
    padding: 15px 20px;
    border-left: none;
    border-right: none;
}

.card-body .tittle-sidebar {
    width: 50px;
    height: 5px;
    background-color: var(--primary-color);
}

/* Artigo Individual */
.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.article-meta {
    color: #6c757d;
    margin-bottom: 20px;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2, 
.article-content h3, 
.article-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

.article-content blockquote {
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 5px solid var(--primary-color);
    margin: 20px 0;
    font-style: italic;
}

.article-tags {
    margin-top: 30px;
}

.article-tags .badge {
    padding: 5px 10px;
    margin-right: 5px;
    font-size: 0.85rem;
}

/* Comentários */
.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #dee2e6;
}

.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
}

.comment:last-child {
    border-bottom: none;
}

.comment-meta {
    margin-bottom: 10px;
    color: #6c757d;
}

.comment-form {
    margin-top: 30px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

/* Paginação */
.pagination {
    margin-top: 50px;
}

.page-link {
    color: var(--primary-color);
    padding: 10px 15px;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer h5 {
    margin-bottom: 20px;
    font-weight: 700;
}

.footer .social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.9);
    color: #fff;
    padding: 15px 0;
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Formulários */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Página de Contato */
.contact-info {
    margin-bottom: 30px;
}

.contact-info i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 15px;
}

/* Página Sobre */
.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h5 {
    margin-bottom: 5px;
}

.team-member p {
    color: #6c757d;
}

/* Página de Busca */
.search-result {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #dee2e6;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result h3 {
    margin-bottom: 10px;
}

.search-result .search-meta {
    color: #6c757d;
    margin-bottom: 10px;
}

.search-highlight {
    background-color: #fff3cd;
    padding: 2px;
}

/* Página de Categoria */
.category-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-description {
    color: #6c757d;
}

/* Welcome Banner */
.welcome-banner {
    background-color: #f8f9fa;
    padding: 50px 30px;
    margin-bottom: 50px;
    border-radius: 10px;
    text-align: center;
}

.welcome-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.welcome-banner p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}