/*
Theme Name: Ápice
Theme URI: ceportaria.com.br
Author: Leonardo Silva
Description: Tema customizado Ápice – básico
Version: 1.0
License: GNU General Public License v2 or later
*/

body {
    font-family: Arial, sans-serif;
    margin: 0!important;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

main#site-content {
    max-width: 1140px;
    margin: 0px auto;
    padding: 0 15px;
}

h1, h2, h3 {
    margin-top: 0;
}

article {
    margin-bottom: 40px;
    background: #fff;
    padding: 0px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pagination {
    text-align: center;
}


/* Header */

/* Blog */
/* Grid responsivo */
.custom-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    font-family: 'DM Sans', sans-serif;
}

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

@media (max-width: 768px) {
    .custom-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Bloco */
.custom-blog-block {
    display: flex;
    flex-direction: column;
    background-color: #edf3f6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.custom-blog-block:hover {
    transform: translateY(-5px);
}

/* Imagem */
.custom-blog-image {
    position: relative;
}

.custom-blog-image img {
    width: 100%;
    display: block;
}

/* Data no bottom */
.custom-blog-date {
    position: absolute;
    bottom: 0;
    left: 50px;
    background-color: #5dade2;
    color: #fff;
    font-weight: bold;
    padding: 6px 12px;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 0; /* sem cantos arredondados */
}

/* Conteúdo */
.custom-blog-content {
    padding: 20px;
}

/* Meta info */
.custom-blog-meta {
    font-size: 0.85rem;
    color: #000001;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.custom-blog-meta i {
    margin-right: 5px;
    color: #6EC1E4;
}

/* Título */
.custom-blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.custom-blog-title a {
    color: #000001;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-blog-title a:hover {
    color: #6EC1E4;
}

/* Excerpt */
.custom-blog-excerpt {
    font-size: 0.95rem;
    color: #34495e;
    margin-bottom: 15px;
}

/* Read more */
.custom-blog-readmore {
    font-weight: bold;
    font-size: 0.9rem;
    color: #000001;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-blog-readmore:hover {
    color: #6EC1E4;
    text-decoration: underline;
}
/* Single */

/* Container */
.single-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'DM Sans', sans-serif;
}

/* HERO com imagem de fundo */
.single-hero {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px 0;
}

.breadcrumb-box {
    background: #fff;
    padding: 10px 20px;
    border-radius: 15px 15px 0 0; /* arredondado só em cima */
}

.custom-breadcrumb {
    font-size: 0.9rem;
    color: #000001;
}

.custom-breadcrumb a {
    color: #6EC1E4;
    text-decoration: none;
}

.custom-breadcrumb a:hover {
    text-decoration: underline;
}

/* Imagem destacada */
.single-featured img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Categoria */
.single-category {
    font-size: 0.9rem;
    color: #000001;
    margin-bottom: 10px;
}

.single-category i {
    color: #6EC1E4;
    margin-right: 6px;
}

/* Título */
.single-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000001;
}

/* Conteúdo */
.single-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
}

/* Divisor */
.single-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

/* Redes sociais */
.single-share {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 40px;
}

.single-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 50%; /* circulo */
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single-share a:hover {
    background: #6EC1E4;
    color: #fff;
    border-color: #6EC1E4;
}

/* Sidebar */
.single-sidebar .sidebar-box {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 30px;
}

.single-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000001;
}

/* Divisor personalizado */
.sidebar-divider {
    color: #6EC1E4;
    font-weight: bold;
    margin: 10px 0 20px 0;
}

/* Lista lateral */
.single-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-sidebar ul li {
    display: flex;
    align-items: center;
}

.single-sidebar ul li a {
    flex: 1;
    display: flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}

.single-sidebar ul li a:hover {
    color: #6EC1E4;
}
.single-sidebar ul li .cat-count {
    margin-left: 10px;
    color: #6EC1E4;
    font-size: 0.85rem;
}
/* Outros posts */
.sidebar-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.sidebar-post .thumb img {
    width: 80px;
    height: auto;
    object-fit: cover;
}

.sidebar-post-info {
    display: flex;
    flex-direction: column;
}

.sidebar-post-info .comments-count {
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #000001;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-post-info .comments-count i {
    color: #6EC1E4;
}
.sidebar-post-info .comments-count span {
    font-size: 0.85rem;
}
.sidebar-post-title {
    color: #000;
    text-decoration: none;
}

.sidebar-post-title:hover {
    color: #6EC1E4;
}

/* Categorias */
.single-sidebar ul li a::after {
    content: attr(data-count);
    margin-left: auto;
    color: #6EC1E4;
    font-size: 0.85rem;
}

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

.comment-reply-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.comment-list {
    margin-bottom: 30px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
}

.comment-form textarea {
    min-height: 120px;
}

.comment-submit-btn {
    background: #6EC1E4;
    color: #fff;
    padding: 12px 25px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
}

.comment-submit-btn:hover {
    background: #000001;
}

