/* Reset básico e configurações globais */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Site main */
.site-main {
    padding: 40px 0;
}

/* Remover decorations */

.quick-grid a {
    text-decoration: none;
    color: inherit;
}

.services-grid a {
    text-decoration: none;
    color: inherit;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.breadcrumbs a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #005a87;
    text-decoration: underline;
}

.breadcrumbs .current {
    color: #666;
    font-weight: 500;
}

/* Layout principal com sidebar */
.post-sidebar-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* Conteúdo do post */
.post-content-wrapper {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Article */
article {
    padding: 40px;
}

/* Header do post */
.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.entry-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
    z-index: 1;
}

.archive-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 20px;
    margin-left: 20px;
    line-height: 1.2;
}

.archive-header-post {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.archive-title-post {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 10px;
    margin-left: 10px;
}

.archive-title-post a {
    text-decoration: none;
    color: inherit;
}

/* Conteúdo do post */
.entry-content {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.entry-content h2 {
    font-size: 2rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.entry-content blockquote {
    border-left: 4px solid #007cba;
    padding-left: 20px;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.entry-content ul,
.entry-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: #007cba;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.entry-content a:hover {
    color: #005a87;
    border-bottom-color: #005a87;
}

/* Paginação de páginas */
.page-links {
    margin: 2rem 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background-color: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.page-links a:hover {
    background-color: #005a87;
}

/* Footer do post */
.entry-footer {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.cat-links,
.tags-links {
    margin-bottom: 10px;
}

.cat-links a,
.tags-links a {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px 4px 2px 0;
    background-color: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.cat-links a:hover,
.tags-links a:hover {
    background-color: #005a87;
}

/* Meta informações */
.entry-meta {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px;
    background-color: #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    color: #666;
}

.entry-meta-archive {
    margin-top: 10px;
    margin-left: 10px;
}

/* Botões de compartilhamento */
.social-share-buttons {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-top: 3px solid #007cba;
}

.social-share-buttons h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.3rem;
}

.share-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: #fff;
    border: none;
    cursor: pointer;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.facebook:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.twitter:hover {
    background-color: #0d95e8;
    transform: translateY(-2px);
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.linkedin:hover {
    background-color: #005885;
    transform: translateY(-2px);
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.whatsapp:hover {
    background-color: #20bc5a;
    transform: translateY(-2px);
}

.post-div-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: white !important;
    background-color: #7fb2d1;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 120px;
}

.post-btn:hover {
    background-color: #0b7ec5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.post-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Navegação entre posts */
.post-navigation {
    margin: 40px 0;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-previous,
.nav-next {
    flex: 1;
    max-width: 48%;
}

.nav-next {
    text-align: right;
}

.nav-links a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.nav-links a:hover {
    background-color: #f8f9fa;
    border-color: #007cba;
}

.nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
    color: #2c3e50;
}

/* Sidebar */
.sidebar {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar p {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

/* Comentários */
.comments-area {
    margin-top: 40px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Página não encontrada */
.no-content {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.no-content h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.no-content p {
    color: #666;
    font-size: 1.1rem;
}

/* Para estilo dos botões internos das páginas */

.services {
    padding: 5rem 0;
    background-color: #f5faff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Estilo para o widget da sidebar */
#block-3.widget_recent_entries {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

/* Lista de posts */
.wp-block-latest-posts__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Cada item da lista */
.wp-block-latest-posts__list li {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    transition: transform 0.2s ease;
}

.wp-block-latest-posts__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wp-block-latest-posts__list li:hover {
    transform: translateY(-2px);
}

/* Imagem em destaque */
.wp-block-latest-posts__featured-image {
    margin-bottom: 15px;
}

.wp-block-latest-posts__featured-image img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.wp-block-latest-posts__featured-image img:hover {
    transform: scale(1.05);
}

/* Título do post */
.wp-block-latest-posts__post-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.wp-block-latest-posts__post-title:hover {
    color: #3498db;
    text-decoration: none;
}

/* Data do post */
.wp-block-latest-posts__post-date {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Excerpt do post */
.wp-block-latest-posts__post-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-top: 10px;
}


/* Responsividade */
@media (max-width: 768px) {
    #block-3.widget_recent_entries {
        padding: 15px;
        margin-bottom: 20px;
    }

    .wp-block-latest-posts__list li {
        padding: 15px 0;
    }

    .wp-block-latest-posts__featured-image img {
        width: 100px;
        height: 100px;
    }

    .wp-block-latest-posts__post-title {
        font-size: 15px;
    }

    .wp-block-latest-posts__post-excerpt {
        font-size: 13px;
    }
}

/* Estilo para cada elemento details */
details {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

details:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

details[open] {
    border-color: #3498db;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.15);
}

/* Estilo para o summary (pergunta) */
summary.perguntas {
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    border: none;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

summary.perguntas:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #3498db;
}

details[open] summary.perguntas {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

/* Ícone de seta customizado */
summary.perguntas::after {
    content: "▼";
    font-size: 12px;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

details[open] summary.perguntas::after {
    transform: rotate(180deg);
}

/* Remove o marcador padrão do summary */
summary.perguntas::-webkit-details-marker {
    display: none;
}

summary.perguntas::marker {
    display: none;
}

/* Estilo para o conteúdo da resposta */
.info {
    padding: 20px;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info p {
    margin: 0 0 12px 0;
    color: #555;
    line-height: 1.6;
    font-size: 14px;
}

.info p:last-child {
    margin-bottom: 0;
}

/* Destaque para texto em negrito */
.info b {
    color: #2c3e50;
    font-weight: 600;
}

/* Estilo para links (quando houver) */
.info a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .faq-container {
        padding: 15px;
    }

    summary.perguntas {
        padding: 15px 18px;
        font-size: 15px;
    }

    .info {
        padding: 15px;
    }

    .info p {
        font-size: 13px;
    }
}

/* Estilo para o summary (título da seção) */
summary.quem {
    padding: 20px 25px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: white;
    border: none;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

summary.quem:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
}

/* Ícone de seta customizado */
summary.quem::after {
    content: "▼";
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

details[open] summary.quem::after {
    transform: rotate(180deg);
}

/* Remove o marcador padrão do summary */
summary.quem::-webkit-details-marker {
    display: none;
}

summary.quem::marker {
    display: none;
}

/* Container para as personalidades */
.personalidades {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    animation: slideIn 0.4s ease;
}

.personalidades:last-child {
    border-bottom: none;
}

.personalidades:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Estilo para as imagens de perfil */
.personalidades img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.personalidades:hover img {
    border-color: #3498db;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Informações da personalidade */
.personalidades .info {
    flex: 1;
    animation: none;
    /* Remove a animação fadeIn do CSS anterior */
}

.personalidades .info p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.personalidades .info p:last-child {
    margin-bottom: 0;
}

/* Nome da pessoa */
.personalidades .info b {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

/* Cargo/função */
.personalidades .info p:not(:has(b)) {
    color: #7f8c8d;
    font-size: 14px;
    font-style: italic;
}

/* Alternativa para navegadores que não suportam :has() */
.personalidades .info p:last-child {
    color: #7f8c8d;
    font-size: 14px;
    font-style: italic;
}

/* Responsividade */
@media (max-width: 768px) {
    .team-container {
        padding: 15px;
    }

    summary.quem {
        padding: 18px 20px;
        font-size: 16px;
    }

    .personalidades {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
    }

    .personalidades img {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .personalidades .info b {
        font-size: 15px;
    }

    .personalidades .info p:last-child {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .personalidades {
        padding: 12px 15px;
    }

    .personalidades img {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .personalidades .info b {
        font-size: 14px;
    }

    .personalidades .info p:last-child {
        font-size: 12px;
    }
}

/* Responsividade Geral */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .post-sidebar-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sidebar {
        position: static;
        order: 2;
    }

    .post-content-wrapper {
        order: 1;
    }

    article {
        padding: 25px;
    }

    .entry-title {
        font-size: 2rem;
    }

    .entry-content {
        font-size: 1rem;
    }

    .share-links {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .nav-previous,
    .nav-next {
        max-width: 100%;
        text-align: center;
    }

    .breadcrumbs {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .site-main {
        padding: 20px 0;
    }

    .entry-title {
        font-size: 1.8rem;
    }

    .social-share-buttons,
    .entry-footer,
    .entry-meta {
        padding: 15px;
    }

    .sidebar {
        padding: 20px;
    }
}