/* CSS compartilhado movido para general.style.css */
body {
    padding-top: 80px;
}

.blog-page{
    background:#f5f7fb;
}

/* TITULO */

.titulo-blog{
    font-size:36px;
    font-weight:600;
    color:#1e2a4a;
}

.banner-blog {
    background-image: url('assets/Blog/banner-blog.jpg');
    background-size: cover;      /* Faz a imagem preencher todo o elemento */
    background-position: right; /* Centraliza a imagem */
    background-repeat: no-repeat;
    border-radius: 20px;
    min-height: 300px;
    padding: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.banner-blog h2 {
   font-size: 40px;
   color: #19274e;
   width: 460px;
   font-weight: 600;
}

.banner-blog p {
   font-size: 18px;
   color: #ffffff;
   width: 500px;
}



/* CARD DESTAQUE */

.card-destaque{
    border:none;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.card-destaque img{
    border-radius:15px;
    margin:20px;
}

.card-destaque .card-body{
    padding:0 25px 25px;
}

/* TITULO POST */

.titulo-post{
    font-size:25px;
    font-weight:600;
    color:#19274E;
    margin-bottom:10px;
}

.post-meta-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    color:#6c7a92;
}

.post-meta-info{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.post-meta-item{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.post-meta-separator{
    color:#a3afc2;
}

/* RESUMO */

.resumo-post{
    font-size:15px;
    color:#6c7a92;
}

/* CARDS MENORES */

.card-post{
    border:none;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
    transition:.3s;
}

.card-post:hover{
    transform:translateY(-5px);
}

.card-post img{
    border-radius:12px;
    margin:15px;
}

.card-post .card-body{
    padding:0 18px 20px;
}

.titulo-post-card{
    font-size:16px;
    font-weight:600;
    color:#19274E;
}

.resumo-post-card{
    font-size:14px;
    color:#7c8aa5;
}

/* BOTÃO ARTIGO */

.btn-artigo{
    background:#f4b97a;
    color:#fff;
    font-size:13px;
    border-radius:8px;
    padding:6px 14px;
}

.btn-artigo:hover{
    background:#e8a964;
    color:#fff;
}

/* DATA */

.data-post{
    font-size:13px;
    color:#8fa1b8;
}

/* SIDEBAR E COMPONENTES DE BUSCA/CATEGORIAS */

.sidebar-card{
    border:none;
    border-radius:15px;
    padding: 15px;
}

.sidebar-title {
    color: #19274E;
    font-size: 1.1rem;
}

/* Campo de busca estilizado com lupa */
.custom-search-input {
    border: 1px solid #cce1ed;
    border-radius: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #ffffff;
    color: #19274E;
    transition: all 0.2s ease;
}

.custom-search-input:focus {
    border-color: #74B9DB;
    box-shadow: 0 0 0 0.2rem rgba(116, 185, 219, 0.2);
}

.custom-search-input::placeholder {
    color: #a0aec0;
}

/* Botões/pílulas de categoria */
.category-pill-item {
    background-color: #e3eff5;
    color: #1a6f9c;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.category-pill-item:hover {
    background-color: #d4e7f2;
    color: #125173;
    transform: translateX(3px);
}

.category-pill-item .category-icon {
    font-size: 1rem;
    opacity: 0.85;
}

.category-count {
    font-size: 0.9rem;
    color: #1a6f9c;
    opacity: 0.8;
    font-weight: 600;
}

/* Suporte legado para a lista antiga (caso precise em outro ponto) */
.lista-blog{
    list-style:none;
    padding:0;
}

.lista-blog li{
    margin-bottom:10px;
}

.lista-blog a{
    font-size:14px;
    color:#5d7fa3;
    text-decoration:none;
}

.lista-blog a:hover{
    color:#2b5c8a;
}

/* CARD PSICOLOGO */

.card-psicologo{
    border:2px solid #74B9DB;
    border-radius:28px;
    background:#fff;
    overflow:hidden;
    box-shadow:none;
}

.card-psicologo .card-body{
    padding:40px;
}

.autor-header{
    display:flex;
    align-items:center;
    gap:30px;
}

.foto-autor{
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.autor-info{
    flex:1;
}

.autor-info h3{
    font-size:20px;
    font-weight:700;
    color:#19274E;
    margin-bottom:5px;
}

.autor-info span{
    display:block;
    font-size:18px;
    color:#74B9DB;
    margin-bottom:8px;
}

.crp{
    margin:0;
    color:#19274E;
    font-size: 16px !important;
    font-weight:500;
}

.card-psicologo hr{
    margin:35px 0;
    border-color:#d8d8d8;
    opacity:1;
}

.descricao-autor{
    font-size: 16px !important;
    line-height:1.5;
    color:#6f6f6f;
    margin-bottom:35px;
}

.fa-calendar:before {
    margin: 0 4px;
}

/* CURTIDAS */

.post-like-inline{
    margin-left:auto;
}

.post-like-inline-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    height:40px;
    min-width:74px;
    padding:0 14px;
    border:1px solid #f2c7d5;
    border-radius:999px;
    background:#fff5f8;
    color:#c94f7c;
    font-size:14px;
    font-weight:600;
    transition:all .2s ease;
}

.post-like-inline-button:hover:not(:disabled){
    background:#ffe8ef;
    border-color:#e6a0b7;
}

.post-like-inline-button:disabled,
.post-like-inline-button.is-liked{
    background:#ffe3ec;
    border-color:#e8a9be;
    color:#b73d68;
    cursor:not-allowed;
}

.post-like-inline-icon{
    width:18px;
    height:18px;
    stroke-width:2.2;
}

.post-like-inline-button.is-liked .post-like-inline-icon,
.post-like-inline-button:disabled .post-like-inline-icon{
    fill:currentColor;
}

.post-like-inline-count{
    line-height:1;
}

.article-like-inline-alert{
    border:none;
    border-radius:14px;
}

/* COMENTÁRIOS */

.comments-section{
    margin-top:48px;
}

.comments-card{
    background:#fff;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
    padding:28px;
}

.comments-card + .comments-card{
    margin-top:24px;
}

.comments-eyebrow{
    font-size:12px;
    font-weight:600;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#74B9DB;
}

.comments-title{
    font-size:24px;
    font-weight:600;
    color:#19274E;
}

.comments-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 14px;
    border-radius:999px;
    background:#edf4fb;
    color:#2b5c8a;
    font-size:13px;
    font-weight:500;
}

.comments-label{
    color:#19274E;
    font-weight:500;
}

.comments-input{
    border:1px solid #d6e2f0;
    border-radius:12px;
    padding:12px 14px;
    color:#19274E;
    box-shadow:none;
}

.comments-input:focus{
    border-color:#74B9DB;
    box-shadow:0 0 0 0.2rem rgba(116, 185, 219, 0.2);
}

.comments-textarea{
    min-height:140px;
    resize:vertical;
}

.comments-note{
    font-size:14px;
    color:#6c7a92;
}

.comments-submit{
    width:auto;
    min-width:240px;
}

.comments-alert{
    border:none;
    border-radius:14px;
}

.comments-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.comment-item{
    padding:20px;
    border-radius:16px;
    background:#f7f9fc;
    border:1px solid #e6edf5;
}

.comment-author{
    color:#19274E;
    font-size:16px;
}

.comment-date{
    color:#7c8aa5;
    font-size:13px;
}

.comment-content{
    color:#44546f;
    line-height:1.7;
}

.comments-empty{
    color:#6c7a92;
}

/* PAGINAÇÃO */

.pagination .page-link{
    border:none;
    color:#19274E;
    border-radius:50%;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.pagination .active .page-link{
    background:#19274E;
    color:#fff;
}

/* POSTS RECENTES */
.recent-item {
    display: block;
}

.recent-item .cat-label {
    color: #74B9DB;
    font-weight: 600;
    font-size: 13px;
}

.recent-item .rec-title {
    color: #44546f;
    font-size: 13.5px;
    line-height: 1.4;
}

.recent-item:hover .rec-title {
    color: #19274E;
}

/* AJUSTE DOS CARDS MENORES NO GRID 3 COLUNAS */
.card-post img {
    height: 150px;
}

.titulo-post-card {
    font-size: 15px;
}

.resumo-post-card {
    font-size: 13px;
}



@media (max-width: 768px) {
    .offcanvas-body {
        padding: 40px 0;

 }

    .comments-card{
        padding:22px;
    }

    .post-meta-bar{
        align-items:flex-start;
    }

    .post-like-inline{
        width:100%;
        margin-left:0;
    }

    .post-like-inline-button{
        width:100%;
    }

    .comments-title{
        font-size:21px;
    }

    .comments-submit{
        width:100%;
        min-width:0;
    }

    .banner-blog {
        min-height: 220px;
        padding: 30px 20px;
        border-radius: 15px;
        background-position: 80% center; /* Ajusta o foco da imagem */
    }

    .banner-blog h2 {
        font-size: 25px;
        line-height: 1.2;
        width: 300px;
    }

    .banner-blog p {
        font-size: 14px;
        line-height: 1.5;
        width: 250px;
    }
  
  
  
  
}