/*
Theme Name: Robson Pires v4.2
Theme URI: https://robsonpires.com.br
Author: Leandro Souto
Author URI: https://leandrosouto.com.br/
Description: Tema personalizado para o Blog do Robson Pires
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: robsonpires
Tags: blog, news, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    /* Cores principais */
    --cor-primaria: #164063;
    --cor-azul-escuro: #0a1f2f;
    --cor-primaria-escura: #1da1f2;
    --cor-secundaria: #6c757d;
    --cor-texto-escuro: #333333;
    --cor-info: #1da1f2;
    --cor-sucesso: #25d366;
    --cor-destaque: #113049;
    --cor-facebook: #3b5998;
    --cor-twitter: #1da1f2;
    --cor-whatsapp: #25d366;
    --cor-telegram: #0088cc;

    /* Cores neutras */
    --cor-escura: #222222;
    --cor-texto: #333;
    --cor-texto-clara: #495057;
    --cor-texto-secundaria: #666;
    --cor-branca: #fff;
    --cor-fundo: #f8f9fa;
    --cor-fundo-secundaria: #f9f9f9;
    --cor-fundo-terciaria: #f1f1f1;
    --cor-borda: #eee;
    --cor-borda-input: #dee2e6;
    --cor-menu-bg: #000000;
}

/* Estilos gerais */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--cor-texto);
    /* background-color: var(--cor-fundo) !important; */
    background-image: url('img/point.png');
}

h1,
h2,
h3,
h4,
.site-title,
.category-title h2,
.post-title,
.page-title {
    font-family: 'Alfa Slab One', sans-serif;
    font-weight: 400;
    color: var(--cor-destaque) !important;
}

.link {
    color: var(--cor-primaria) !important;
    text-decoration: none;
    transition: all 0.1s;
}

.link:hover {
    color: var(--cor-primaria-escura) !important;
    text-decoration: underline;
    transition: all 0.1s;
}

.bg-black {
    background-color: #000000;
}

.bg-dark-blue {
    background-color: var(--cor-destaque);
}

.bg-dark-blue-two {
    background-color: var(--cor-azul-escuro);
}

.bg-yellow {
    background-color: var(--cor-primaria) !important;
}

.more-link {
    background: var(--bs-blue);
    color: var(--cor-branca);
    padding: 18px 15px 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0;
    height: 10px;
}


.more-link::after {
    content: "LEIA MAIS";
    font-size: 16px;
}

/* Barra superior */
.top-bar {
    font-size: 0.9rem;
}

.social-icons a {
    font-size: 1rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Text colors */
.color-white {
    color: var(--cor-branca) !important;
}

/* Estilos para o botÃ£o do menu no mobile */
.navbar-toggler-white {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-white .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Centralizando redes sociais em mobile */
@media (max-width: 767.98px) {
    .social-icons {
        display: flex;
        justify-content: left;
        gap: 27px;
    }

    .top-bar .social-icons {
        display: flex;
        justify-content: center;
        gap: 27px;
    }
}

/* Classes para alternar cor de fundo baseado no tamanho da tela */
@media (min-width: 992px) {
    .bg-lg-body-tertiary {
        background-color: var(--cor-branca) !important;
    }
}

/* Estilo para o menu desktop */
@media (min-width: 992px) {
    .navbar {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        color: var(--cor-texto-escuro) !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--cor-primaria) !important;
    }

    .search-icon {
        color: var(--cor-branca) !important;
    }

    .navbar .container {
        position: relative;
    }
}

.search-form .form-control {
    font-size: 0.85rem;
    height: calc(1.5em + 0.5rem + 2px);
}

.search-form .btn {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
}

@media (max-width: 767.98px) {
    .search-form {
        margin-top: 0.5rem;
    }
}

/* Header */
.site-header {
    background-color: var(--cor-branca);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.site-title {
    font-size: 2.5rem;
    color: var(--cor-texto-escuro);
    padding: 1rem 0;
    margin: 0;
    letter-spacing: 1px;
}


.navbar-nav .nav-link {
    color: var(--cor-branca) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--cor-primaria) !important;
    background-color: transparent;
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Categoria */
.category-title {
    border-bottom: 2px solid var(--cor-primaria);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.category-title h2 {
    font-size: 1.75rem;
    color: var(--cor-texto-escuro);
    letter-spacing: 0.5px;
}

.category-badge {
    display: inline-block;
    background-color: var(--cor-primaria);
    color: var(--cor-escura);
    padding: 0.3rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 3px;
    font-weight: 600;
    font-family: 'Alfa Slab One', sans-serif;
    letter-spacing: 0.5px;
}

/* Posts */
.blog-post {
    background-color: var(--cor-branca);
    border-radius: 5px;
    padding: 20px;
    /* margin-bottom: 30px; */
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.blog-post:hover {
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.post-title a {
    color: var(--cor-destaque) !important;
    text-decoration: none;
}

.post-title a:hover {
    color: var(--cor-primaria);
    text-decoration: none;
}

.post-meta {
    font-size: 0.875rem;
    color: var(--cor-secundaria);
    margin-bottom: 1rem;
    display: flex;
    gap: 15px;
}

.post-date,
.post-author {
    display: inline-block;
}

.post-author {
    font-style: italic;
}

.post-image {
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.post-thumbnail {
    text-align: center;
}

.image-caption {
    font-size: 0.8rem;
    color: var(--cor-texto-secundaria);
    margin-top: 5px;
}

.post-content {
    margin-bottom: 1rem;
    border-bottom: 2px solid #007bff;
}

.post-content p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* Container responsivo para vídeos do YouTube com proporção 16:9 */
.post-content iframe[src*="youtube.com"],
.post-content iframe[src*="youtu.be"],
.page-content iframe[src*="youtube.com"],
.page-content iframe[src*="youtu.be"],
.privacy-content iframe[src*="youtube.com"],
.privacy-content iframe[src*="youtu.be"] {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}

.post-source {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.post-footer {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--cor-borda);
}

.post-comments {
    margin-top: 1rem;
}

.btn-comments {
    background-color: #e9ecef;
    color: var(--cor-texto-clara);
    border: none;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-comments:hover {
    background-color: #d4d9df;
    color: #212529;
}

/* BotÃµes de compartilhamento */
.post-share {
    display: flex;
    align-items: center;
}

.post-share span {
    margin-right: 10px;
    font-size: 0.85rem;
    color: var(--cor-secundaria);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--cor-branca);
    margin-right: 5px;
    transition: all 0.3s;
    font-size: 0.8rem;
    text-decoration: none;
}

.share-btn.facebook {
    background-color: var(--cor-facebook);
}

.share-btn.twitter {
    background-color: var(--cor-twitter);
}

.share-btn.whatsapp {
    background-color: var(--cor-whatsapp);
}

.share-btn.telegram {
    background-color: var(--cor-telegram);
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: var(--cor-branca);
    text-decoration: none;
}

@media (max-width: 575.98px) {
    .post-footer {
        flex-direction: column;
        gap: 10px;
    }

    .post-share {
        margin-top: 10px;
    }
}

/* PaginaÃ§Ã£o */
.pagination {
    margin-top: 2rem;
    justify-content: center;
}

.page-link {
    color: var(--cor-texto-escuro);
    border: 1px solid var(--cor-borda-input);
}

.page-item.active .page-link {
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

/* Sidebar */
.sidebar {
    background-color: var(--cor-branca);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-family: 'Alfa Slab One', sans-serif;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--cor-primaria);
    letter-spacing: 0.5px;
    font-weight: 400;
    color: var(--cor-texto-escuro);
}

.recent-comments .comment-item {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cor-borda);
}

.recent-comments .comment-item:last-child {
    border-bottom: none;
}

.popular-posts .popular-post-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cor-borda);

    a {
        font-weight: 600;
    }
}

.popular-posts .popular-post-item:last-child {
    border-bottom: none;
}

.post-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    background-color: var(--cor-escura);
    color: var(--cor-branca);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 10px;
    font-family: 'Alfa Slab One', sans-serif;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-tag {
    display: inline-block;
    background-color: var(--cor-fundo-terciaria);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.category-tag a {
    color: var(--cor-texto-clara);
}

.category-tag:hover {
    background-color: #e2e6ea;
}

/* Single post */
#single-post .single-post {
    background-color: var(--cor-branca);
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

#single-post img,
#single-post picture {
    border-radius: 10px;
}

.single-post .post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    color: var(--cor-texto-escuro);
}

.post-share {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cor-borda);
    display: flex;
    align-items: center;
}

.post-share span {
    margin-right: 10px;
    font-weight: 500;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: var(--cor-branca);
    margin-right: 5px;
    transition: all 0.3s;
}

.share-btn.facebook {
    background-color: var(--cor-facebook);
}

.share-btn.twitter {
    background-color: var(--cor-twitter);
}

.share-btn.whatsapp {
    background-color: var(--cor-whatsapp);
}

.share-btn.telegram {
    background-color: var(--cor-telegram);
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: var(--cor-branca);
    text-decoration: none;
}

/* Comments section */
.comments-section {
    background-color: var(--cor-branca);
    border-radius: 5px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comments-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--cor-borda);
    letter-spacing: 0.5px;
}

/* Related posts */
.related-posts {
    margin-top: 2rem;
}

.related-posts a {
    text-decoration: none;
    color: var(--cor-destaque);
    font-size: 1.1rem;
    line-height: 1 !important;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.related-post-item {
    margin-bottom: 1.5rem;
}

.related-post-item img {
    margin-bottom: 0.5rem;
}

.related-post-item h4 {
    font-size: 16px !important;
    letter-spacing: 0.6px;
    font-weight: 500;
}

.related-item-meta {
    font-size: 14px;
}

/* PÃ¡gina Sobre */
.page-content {
    background-color: var(--cor-branca);
    border-radius: 5px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--cor-borda);
    letter-spacing: 0.5px;
    color: var(--cor-texto-escuro);
}

.privacy-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--cor-texto-escuro);
    letter-spacing: 0.5px;
}

.privacy-content p,
.privacy-content ul {
    margin-bottom: 1rem;
}

/* Footer - Novo design */
.site-footer {
    background-color: var(--cor-escura);
    color: var(--cor-branca);
}

.footer-main {
    background-color: var(--cor-escura);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    background-color: #222;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-title {
    color: var(--cor-branca) !important;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    position: relative;
    font-family: 'Alfa Slab One', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--cor-primaria);
}

.footer-text {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--cor-branca);
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-social .social-link.facebook {
    background-color: var(--cor-facebook);
}

.footer-social .social-link.twitter {
    background-color: var(--cor-twitter);
}

.footer-social .social-link.instagram {
    background-color: #C13584;
}

.footer-social .social-link.youtube {
    background-color: #FF0000;
}

.footer-social .social-link.telegram {
    background-color: var(--cor-telegram);
}

.footer-social .social-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    text-decoration: none;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--cor-primaria);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--cor-primaria);
    text-decoration: none;
    padding-left: 5px;
}

.footer-category-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-category-links li {
    width: 50%;
}

.footer-search-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--cor-branca);
    font-size: 0.9rem;
}

.footer-search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-search-form .btn {
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

.footer-search-form .btn:hover {
    background-color: var(--cor-primaria-escura);
    border-color: var(--cor-primaria-escura);
}

.footer-contact h5 {
    color: var(--cor-branca);
    font-family: 'Alfa Slab One', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--cor-primaria);
}

.footer-bottom-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-bottom: 0;
    padding-left: 0;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--cor-primaria);
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .copyright {
        text-align: center;
    }

    .footer-category-links li {
        width: 100%;
    }
}

/* Responsividade */
@media (max-width: 991.98px) {
    .sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .site-title {
        font-size: 2rem;
    }

    .single-post .post-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* Acordeon de comentÃ¡rios */
.comments-toggle-section {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.comments-toggle-btn {
    border-color: var(--cor-primaria);
    color: var(--cor-primaria);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.comments-toggle-btn:hover {
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
    color: var(--cor-branca);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(22, 64, 99, 0.2);
}

.comments-toggle-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(22, 64, 99, 0.25);
}

.comments-accordion {
    margin-top: 1rem;
}

.comments-card {
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    background-color: var(--cor-fundo-secundaria);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.comments-card .comments-area {
    margin-top: 0;
}

.comments-card .comment-respond {
    background-color: var(--cor-branca);
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* AnimaÃ§Ã£o suave para o acordeon */
.comments-accordion.collapsing {
    transition: height 0.35s ease;
}

/* FormulÃ¡rio de comentÃ¡rios na home */
.home-comment-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.home-comment-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-primaria-escura));
}

.home-comment-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.home-comment-form h5 {
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: var(--cor-texto-escuro);
    font-family: 'Alfa Slab One', sans-serif;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-comment-form h5::before {
    content: 'ðŸ’¬';
    font-size: 1.1rem;
}

.home-comment-form textarea {
    font-size: 0.95rem;
    resize: vertical;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background: white;
    min-height: 80px;
    font-family: inherit;
}

.home-comment-form textarea:focus {
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 0.2rem rgba(22, 64, 99, 0.15);
    background: white;
    outline: none;
}

.home-comment-form textarea::placeholder {
    color: #6c757d;
    font-style: italic;
}

.home-comment-form input {
    font-size: 0.95rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    background: white;
}

.home-comment-form input:focus {
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 0.2rem rgba(22, 64, 99, 0.15);
    background: white;
    outline: none;
}

.home-comment-form .btn-primary {
    background: linear-gradient(45deg, var(--cor-primaria), var(--cor-primaria-escura));
    border: none;
    color: var(--cor-branca) !important;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(22, 64, 99, 0.3);
    position: relative;
    overflow: hidden;
}

.home-comment-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.home-comment-form .btn-primary:hover::before {
    left: 100%;
}

.home-comment-form .btn-primary:hover {
    background: linear-gradient(45deg, var(--cor-primaria-escura), #0d4f73);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 64, 99, 0.4);
}

.home-comment-form .btn-primary:active {
    transform: translateY(0);
}

.home-comment-form .btn-link {
    color: var(--cor-texto-escuro);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-comment-form .btn-link:hover {
    text-decoration: underline;
    color: var(--cor-primaria);
}

/* Link para rolar até os comentários */
.comments-scroll-link {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.comments-scroll-link:hover {
    color: var(--cor-secundaria);
    text-decoration: underline;
}

.home-comment-form .form-submit {
    margin-top: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .home-comment-form {
        padding: 15px;
        margin: 15px 0;
    }

    .home-comment-form h5 {
        font-size: 1.1rem;
    }

    .home-comment-form textarea,
    .home-comment-form input {
        font-size: 16px;
        /* Previne zoom no iOS */
    }
}

/* BotÃµes */
.btn-primary {
    background-color: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

.btn-primary:hover {
    background-color: var(--cor-primaria-escura);
    border-color: var(--cor-primaria-escura);
}

/* Ajustes para contraste */
.category-badge span {
    font-weight: 600;
}

.home-comment-form .btn-primary,
.comment-form .btn-primary {
    color: var(--cor-branca);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: none;
    transition: all 0.3s;
}

/* Ajustes globais para melhorar o contraste */
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--cor-primaria-escura);
    border-color: var(--cor-primaria-escura);
    transition: all 0.3s;
}

/* Dropdown menu */
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-escura);
}

/* PaginaÃ§Ã£o */
.page-item.active .page-link {
    color: var(--cor-escura);
    font-weight: 600;
}

/* Ajustes gerais */
::selection {
    background-color: var(--cor-primaria);
    color: var(--cor-branca);
}

.form-control:focus {
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 0.25rem rgba(255, 192, 0, 0.25);
}

/* Mensagens de sucesso */
.alert-success {
    background-color: rgba(255, 192, 0, 0.2);
    border-color: rgba(255, 192, 0, 0.5);
    color: var(--cor-escura);
}

.footer-social .social-link:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    text-decoration: none;
    background-color: var(--cor-primaria);
    color: var(--cor-escura);
}

/* SeÃ§Ã£o Autor */
.author-section {
    border-radius: 6px;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.author-bio p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--cor-texto);
    text-align: justify;
}

.author-details-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.author-details-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    padding-left: 10px;
    border-left: 3px solid var(--cor-primaria);
}

.author-contact .contact-title {
    font-family: 'Alfa Slab One', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--cor-texto-escuro);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.author-contact .contact-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: var(--cor-primaria);
}

.author-contact-list {
    list-style: none;
    padding-left: 0;
}

.author-contact-list li {
    margin-bottom: 8px;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.author-contact-list li i {
    color: var(--cor-primaria);
    width: 20px;
    text-align: center;
}

.author-contact-list a {
    color: var(--cor-texto);
    transition: all 0.3s;
}

.author-contact-list a:hover {
    color: var(--cor-primaria-escura);
}

/* Estilos para o menu desktop */
.desktop-top-bar {
    color: var(--cor-escura) !important;
}

.desktop-header {
    background-image: url("img/bg-header.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.mobile-header {
    background-image: url("img/bg-header.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon-desktop {
    color: var(--cor-branca);
    font-size: 1rem;
    transition: all 0.3s;
}

.social-icon-desktop:hover {
    color: var(--cor-primaria);
    text-decoration: none;
    transform: translateY(-2px);
}

.desktop-header .navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.desktop-header .navbar-nav {
    margin: 0 auto;
}

.desktop-header .nav-link {
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    transition: all 0.3s;
}

.desktop-header .nav-link:hover,
.desktop-header .nav-link.active {
    color: var(--cor-branca) !important;
    text-decoration: none;
}



/* Social Icons Header */
.social-icons-header {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.social-icon-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--cor-destaque);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.social-icon-header.facebook {
    background: #1877f2;
}

.social-icon-header.twitter {
    background: #1da1f2;
}

.social-icon-header.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon-header.youtube {
    background: #ff0000;
}

.social-icon-header.telegram {
    background: #0088cc;
}

/* Custom Comments Styles */
.comment-body {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    transition: all 0.3s ease;
}

.comment-body:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #007bff !important;
}

.comment-author-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.comment-text {
    line-height: 1.6;
    color: #495057;
    margin-top: 8px;
}

.comment-actions {
    border-top: 1px solid #e9ecef;
    padding-top: 10px;
}

.reply-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.reply-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .children {
    margin-left: 30px;
    margin-top: 15px;
    border-left: 3px solid #007bff;
    padding-left: 20px;
}

.comment-date i {
    color: #6c757d;
}

.comment-number {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .comment-list .children {
        margin-left: 15px;
        padding-left: 10px;
    }

    .comment-meta .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .comment-date {
        margin-top: 5px;
    }
}

/* Custom Comment Form Styles */
.comment-respond {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    margin-top: 30px;
}

.comment-reply-title {
    color: var(--cor-destaque);
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.comment-author-info .comment-author-name {
    color: var(--cor-destaque) !important;
    font-weight: 600 !important;
}

.comments-title {
    font-size: 1.3rem;
    color: var(--cor-destaque);
}

.custom-input-field {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.custom-input-field:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    background: white;
}

.custom-comment-field {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
    min-height: 120px;
}

.custom-comment-field:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    background: white;
}

.custom-submit-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.custom-submit-btn:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.form-label {
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label i {
    color: #007bff;
}

.text-danger {
    color: #dc3545 !important;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .comment-respond {
        padding: 20px !important;
        margin: 20px 0;
    }

    .custom-input-field,
    .custom-comment-field {
        font-size: 16px;
        /* Previne zoom no iOS */
    }

    .comment-reply-title {
        font-size: 1.3rem;
    }
}

/* Search Form Customization */
.search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.search-form .input-group-text {
    background: rgba(255, 255, 255, 0.95);
}

.search-form .btn:hover {
    background: linear-gradient(45deg, #0056b3, #004085) !important;
    transform: scale(1.05);
}

/* Estilos para o widget de calendÃ¡rio */
.calendar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.calendar-widget table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.calendar-widget caption {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #495057;
    text-align: center;
    caption-side: top;
}

.calendar-widget th {
    background-color: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 0.25rem;
    border: 1px solid #dee2e6;
    font-size: 0.8rem;
}

.calendar-widget td {
    text-align: center;
    padding: 0.5rem 0.25rem;
    border: 1px solid #dee2e6;
    vertical-align: middle;
    position: relative;
}

.calendar-widget td a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.calendar-widget td a:hover {
    background-color: #0d6efd;
    color: #fff;
    transform: scale(1.1);
}

.calendar-widget td.pad {
    color: #adb5bd;
    background-color: #f8f9fa;
}

.calendar-widget #today {
    background-color: #e3f2fd;
    font-weight: 600;
    color: #1976d2;
}

.calendar-widget #prev,
.calendar-widget #next {
    font-weight: 600;
}

.calendar-widget #prev a,
.calendar-widget #next a {
    color: #6c757d;
    font-size: 0.9rem;
}

.calendar-widget #prev a:hover,
.calendar-widget #next a:hover {
    color: #0d6efd;
    background-color: transparent;
}

/* Responsividade para o calendÃ¡rio */
@media (max-width: 768px) {
    .calendar-widget {
        padding: 0.75rem;
    }

    .calendar-widget table {
        font-size: 0.8rem;
    }

    .calendar-widget th,
    .calendar-widget td {
        padding: 0.375rem 0.125rem;
    }
}