/*
Theme Name: JPFC Pro
Theme URI: [https://example.com/jpfc-pro](https://example.com/jpfc-pro)
Author: MaTSuBa
Author URI: [https://matsuba.com.br](https://matsuba.com.br)
Description: Tema oficial do Jardim Paulista FC, com cores azul, vermelho e branco. Layout moderno, responsivo e otimizado para jogos, patrocinadores e notícias.
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.0.0
License: GPL-2.0-or-later
License URI: [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html)
Text Domain: jpfc-pro
Tags: full-site-editing, sports, football, blog, one-column, custom-colors, custom-spacing, wide-blocks, accessibility-ready
*/
/* =========================
   Reset básico
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}
/* =========================
   Header e Menu
========================= */
header {
    background-color: #555; /* Cinza */
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.site-logo img {
    max-height: 150px;
    height: auto;
    width: auto;
    transition: max-height 0.3s ease;
}
@media (max-width: 768px) {
    .site-logo img {
        max-height: 92px; /* reduz para 50px no celular */
        width: auto;
        height: auto;
    }
}
.main-menu {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    list-style: none;
    position: relative;
    flex-direction: row; /* Garantindo linha no desktop */
}
@media (min-width: 900px) {
    .main-menu {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    .main-menu ul.sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 180px;
        background-color: #003366;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 6px 12px rgba(0,0,0,0.16);
        padding: 0.7rem 0;
        z-index: 100;
        list-style: none;
    }
    .main-menu ul.sub-menu li {
        width: 100%;
    }
    .main-menu ul.sub-menu a {
        background: none;
        color: #fff;
        padding: 0.5rem 1rem;
        font-weight: 500;
        text-transform: none;
        white-space: nowrap;
        border-radius: 4px;
        display: block;
        transition: background 0.25s, color 0.25s;
    }
    .main-menu ul.sub-menu a:hover,
    .main-menu ul.sub-menu a:focus {
        background-color: #ff0000;
        color: #fff;
    }
}
.main-menu > li {
    position: relative;
}
.main-menu a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff0000; /* vermelho JPFC */
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.main-menu a:hover,
.main-menu a:focus {
    background-color: #003366; /* azul JPFC */
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}
.main-menu li.menu-item-has-children > a::after {
    content: " ▼";
    font-size: 0.7em;
    margin-left: 6px;
}
/* =========================
   Responsividade do menu
========================= */
/*@media (max-width: 768px) {
    .main-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .main-menu ul.sub-menu {
        position: static;
        box-shadow: none;
        border-radius: 0 0 8px 8px;
        padding: 0.2rem 0 0.2rem 1rem;
        display: none;
    }
    .main-menu li.menu-item-has-children:focus-within > ul.sub-menu,
    .main-menu li.menu-item-has-children:hover > ul.sub-menu {
        display: block;
    }
}

*/

@media (max-width: 768px) {
  nav.main-menu {
    top: 1px; /* sobe o menu para ficar logo abaixo do botão */
    width: 160px; /* reduz largura do menu para compactar */
    max-height: calc(100vh - 20px); /* ajusta altura para não passar da tela */
    padding-top: 0 !important; /* mantém leve espaçamento interno */
    border-radius: 8px 0 0 8px; /* cantos arredondados esquerda-topo */
    background-color: #222;
    box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.38);
    z-index: 1200;
  }
  .menu-toggle {
    font-size: 12px; /* reduz tamanho do ícone */
    top: 2px; /* ajusta posição vertical do botão */
    right: 8px; /* deixa próximo da borda */
  }
nav.main-menu ul {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
nav.main-menu ul li:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
}







/* =========================
   Container principal
========================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem;
}
/* =========================
   Grid responsivo de publicações
========================= */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .grid.md-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .grid.lg-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* =========================
   Posts / Archive / Home
========================= */
.front-page-article,
.archive-article {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.front-page-article:hover,
.archive-article:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
    border-color: #ff0000;
}
.front-page-article img,
.archive-article img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.front-page-article:hover img,
.archive-article:hover img {
    transform: scale(1.05);
}
.front-page-article h2,
.archive-article h2 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.front-page-article:hover h2,
.archive-article:hover h2 {
    color: #ff0000;
}
.front-page-article p,
.archive-article p {
    color: #555;
}
.front-page-article .post-meta,
.archive-article .post-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}
.button-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ff0000, #d90000);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}
.button-cta:hover {
    background: linear-gradient(135deg, #003366, #001f4d);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
/* =========================
   Paginação estilizada
========================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    list-style: none;    /* Remove os bullets */
    padding-left: 0;     /* Remove recuo padrão */
}
.pagination li {
    list-style: none;    /* Remove os bullets dos itens */
    margin: 0;
    padding: 0;
    display: inline-block; /* Exibe os itens em linha */
}
/* Exemplo de botões da paginação - ajuste cores conforme seu tema */
.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff0000; /* vermelho JPFC */
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 2px;
}
.pagination a:hover,
.pagination a:focus {
    background-color: #003366; /* azul JPFC */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.pagination .current,
.pagination span.current {
    background-color: #003366; /* azul JPFC */
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* =========================
   Single Post / Page
========================= */
.single-article,
.page-article {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.single-article img,
.page-article img,
.prose img,
.entry-content img,
.wp-block-image img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 16px auto !important;
    border-radius: 8px;
    object-fit: cover;
}
.single-article h1,
.page-article h1 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1rem;
}
.single-article p,
.page-article p {
    color: #555;
    line-height: 1.8;
}
/* =========================
   Footer
========================= */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}
/* =========================
   CPT Jogadores
========================= */
.jogador-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.jogador-card:hover {
    border-color: #ff0000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.jogador-card img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
}
.jogador-card h3 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 0.5rem;
}
.jogador-card p {
    color: #555;
}
/* =========================
   Acessibilidade e melhorias
========================= */
/* Foco visível para navegação por teclado */
a:focus, button:focus {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}
/* ----------- Modificações e melhorias ----------- */
/* Adiciona espaçamento extra entre cards nas grades grandes */
@media (min-width: 1400px) {
    .grid.lg-grid {
        gap: 2rem;
    }
}
/* Torna botões mais acessíveis em hover/focus */
.button-cta:focus {
    outline: 2px solid #003366;
    outline-offset: 2px;
}
/* ----------- Melhor contraste, responsividade e consistência ----------- */
/* Small mobile: reduz padding para melhor encaixe */
@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
    }
    .front-page-article img,
    .archive-article img {
        height: 120px;
    }
    .single-article,
    .page-article {
        padding: 1rem;
    }
}
/* =========================
   Estilização específica para posts em blocos JPFC Pro
========================= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.jpfc-post-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,51,102,0.08);
    padding: 1.4rem 1.2rem;
    border: 2px solid #003366;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.jpfc-post-block:hover {
    border-color: #ff0000;
    box-shadow: 0 12px 32px rgba(0,51,102,0.18);
    transform: translateY(-7px) scale(1.02);
}
.jpfc-thumb img {
    border-radius: 7px;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(255,0,0,0.07);
}
.jpfc-title {
    color: #003366;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
    transition: color 0.3s;
}
.jpfc-post-block:hover .jpfc-title {
    color: #ff0000;
}
.jpfc-content {
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1rem;
}
.jpfc-btn {
    background: linear-gradient(90deg, #ff0000 50%, #003366 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.7px;
    border-radius: 8px;
    margin-top: auto;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 2px 8px rgba(0,51,102,0.07);
    transition: background 0.3s, box-shadow 0.3s;
}
.jpfc-btn:hover {
    background: linear-gradient(90deg, #003366 50%, #ff0000 100%);
    box-shadow: 0 6px 18px rgba(255,0,0,0.18);
}
/* Responsivo para posts */
@media (max-width: 700px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .jpfc-thumb img {
        height: 140px;
    }
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    list-style: none;    /* Remove os bullets */
    padding-left: 0;     /* Remove recuo padrão */
}
.pagination li {
    list-style: none;    /* Remove os bullets dos itens */
    margin: 0;
    padding: 0;
    display: inline-block; /* Exibe os itens em linha */
}
/* Exemplo de botões da paginação - ajuste cores conforme seu tema */
.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff0000; /* vermelho JPFC */
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 2px;
}
.pagination a:hover,
.pagination a:focus {
    background-color: #003366; /* azul JPFC */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.pagination .current,
.pagination span.current {
    background-color: #003366; /* azul JPFC */
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* Banner CSS */
/* Área dos banners no header */
.header-banners {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.header-banners .banner {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* Cada slide dentro do banner */
.header-banners .banner .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.header-banners .banner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* CSS Footer */
.footer-widgets {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 30px 20px;
  background: #222;
  color: #fff;
}
.footer-column {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 350px;
  box-sizing: border-box;
}
.footer-widget-title {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #fff;
}
.footer-widgets .footer-widget {
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .footer-widgets { flex-direction: column; gap: 18px; text-align: center; }
  .footer-column { max-width: none; min-width: 0; }
}
/* CSS Links Redes Sociais */
.social-links {
  display: flex;
  flex-direction: column; /* um abaixo do outro */
  gap: 10px;
  margin: 20px 0;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #fff; /* texto branco */
  background: #b30000; /* fundo vermelho do JPFC */
  padding: 8px 12px;
  border-radius: 10px;
  transition: 0.3s;
}
.social-links a:hover {
  background: #000066; /* muda para azul no hover */
  transform: scale(1.05);
}
.social-links img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
/*
Tema JPFC Pro - Correções para responsividade de single.php
*/
/* Mantém todo reset e base que você já tem */
/* =========================
   Reset básico
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}
/* Container máximo e padrão */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem;
}
/* Posts Single e Page */
.single-article,
.page-article {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
/* Imagens no post */
.single-article img,
.page-article img,
.prose img,
.entry-content img,
.wp-block-image img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 16px auto !important;
    border-radius: 8px;
    object-fit: cover;
}
/* Títulos do post */
.single-article h1,
.page-article h1 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1rem;
}
/* Texto do post */
.single-article p,
.page-article p {
    color: #555;
    line-height: 1.8;
}
/* =========================
   Footer
========================= */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}
/* =========================
   CPT Jogadores
========================= */
.jogador-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.jogador-card:hover {
    border-color: #ff0000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.jogador-card img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
}
.jogador-card h3 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 0.5rem;
}
.jogador-card p {
    color: #555;
}
/* =========================
   Acessibilidade e melhorias
========================= */
/* Foco visível para navegação por teclado */
a:focus, button:focus {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}
/* ----------- Modificações e melhorias ----------- */
/* Adiciona espaçamento extra entre cards nas grades grandes */
@media (min-width: 1400px) {
    .grid.lg-grid {
        gap: 2rem;
    }
}
/* Torna botões mais acessíveis em hover/focus */
.button-cta:focus {
    outline: 2px solid #003366;
    outline-offset: 2px;
}
/* ----------- Melhor contraste, responsividade e consistência ----------- */
/* Small mobile: reduz padding para melhor encaixe */
@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
    }
    .front-page-article img,
    .archive-article img {
        height: 120px;
    }
    .single-article,
    .page-article {
        padding: 1rem;
    }
}
/* =========================
   Estilização específica para posts em blocos JPFC Pro
========================= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.jpfc-post-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,51,102,0.08);
    padding: 1.4rem 1.2rem;
    border: 2px solid #003366;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.jpfc-post-block:hover {
    border-color: #ff0000;
    box-shadow: 0 12px 32px rgba(0,51,102,0.18);
    transform: translateY(-7px) scale(1.02);
}
.jpfc-thumb img {
    border-radius: 7px;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(255,0,0,0.07);
}
.jpfc-title {
    color: #003366;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
    transition: color 0.3s;
}
.jpfc-post-block:hover .jpfc-title {
    color: #ff0000;
}
.jpfc-content {
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1rem;
}
.jpfc-btn {
    background: linear-gradient(90deg, #ff0000 50%, #003366 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.7px;
    border-radius: 8px;
    margin-top: auto;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 2px 8px rgba(0,51,102,0.07);
    transition: background 0.3s, box-shadow 0.3s;
}
.jpfc-btn:hover {
    background: linear-gradient(90deg, #003366 50%, #ff0000 100%);
    box-shadow: 0 6px 18px rgba(255,0,0,0.18);
}
/* Responsivo para posts */
@media (max-width: 700px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .jpfc-thumb img {
        height: 140px;
    }
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    list-style: none;    /* Remove os bullets */
    padding-left: 0;     /* Remove recuo padrão */
}
.pagination li {
    list-style: none;    /* Remove os bullets dos itens */
    margin: 0;
    padding: 0;
    display: inline-block; /* Exibe os itens em linha */
}
/* Exemplo de botões da paginação - ajuste cores conforme seu tema */
.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff0000; /* vermelho JPFC */
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 2px;
}
.pagination a:hover,
.pagination a:focus {
    background-color: #003366; /* azul JPFC */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.pagination .current,
.pagination span.current {
    background-color: #003366; /* azul JPFC */
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* Banner CSS */
/* Área dos banners no header */
.header-banners {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.header-banners .banner {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* Cada slide dentro do banner */
.header-banners .banner .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.header-banners .banner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* CSS Footer */
.footer-widgets {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 30px 20px;
  background: #222;
  color: #fff;
}
.footer-column {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 350px;
  box-sizing: border-box;
}
.footer-widget-title {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #fff;
}
.footer-widgets .footer-widget {
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .footer-widgets { flex-direction: column; gap: 18px; text-align: center; }
  .footer-column { max-width: none; min-width: 0; }
}
/* CSS Links Redes Sociais */
.social-links {
  display: flex;
  flex-direction: column; /* um abaixo do outro */
  gap: 10px;
  margin: 20px 0;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #fff; /* texto branco */
  background: #b30000; /* fundo vermelho do JPFC */
  padding: 8px 12px;
  border-radius: 10px;
  transition: 0.3s;
}
.social-links a:hover {
  background: #000066; /* muda para azul no hover */
  transform: scale(1.05);
}
.social-links img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
/*
Tema JPFC Pro - Correções para responsividade de single.php
*/
/* Mantém todo reset e base que você já tem */
/* =========================
   Reset básico
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}
/* Container máximo e padrão */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem;
}
/* Posts Single e Page */
.single-article,
.page-article {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
/* Imagens no post */
.single-article img,
.page-article img,
.prose img,
.entry-content img,
.wp-block-image img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 16px auto !important;
    border-radius: 8px;
    object-fit: cover;
}
/* Títulos do post */
.single-article h1,
.page-article h1 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1rem;
}
/* Texto do post */
.single-article p,
.page-article p {
    color: #555;
    line-height: 1.8;
}
/* =========================
   Footer
========================= */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}
/* =========================
   CPT Jogadores
========================= */
.jogador-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.jogador-card:hover {
    border-color: #ff0000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.jogador-card img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
}
.jogador-card h3 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 0.5rem;
}
.jogador-card p {
    color: #555;
}
/* =========================
   Acessibilidade e melhorias
========================= */
/* Foco visível para navegação por teclado */
a:focus, button:focus {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}
/* ----------- Modificações e melhorias ----------- */
/* Adiciona espaçamento extra entre cards nas grades grandes */
@media (min-width: 1400px) {
    .grid.lg-grid {
        gap: 2rem;
    }
}
/* Torna botões mais acessíveis em hover/focus */
.button-cta:focus {
    outline: 2px solid #003366;
    outline-offset: 2px;
}
/* ----------- Melhor contraste, responsividade e consistência ----------- */
/* Small mobile: reduz padding para melhor encaixe */
@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
    }
    .front-page-article img,
    .archive-article img {
        height: 120px;
    }
    .single-article,
    .page-article {
        padding: 1rem;
    }
}
/* =========================
   Estilização específica para posts em blocos JPFC Pro
========================= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.jpfc-post-block {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,51,102,0.08);
    padding: 1.4rem 1.2rem;
    border: 2px solid #003366;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.jpfc-post-block:hover {
    border-color: #ff0000;
    box-shadow: 0 12px 32px rgba(0,51,102,0.18);
    transform: translateY(-7px) scale(1.02);
}
.jpfc-thumb img {
    border-radius: 7px;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(255,0,0,0.07);
}
.jpfc-title {
    color: #003366;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
    transition: color 0.3s;
}
.jpfc-post-block:hover .jpfc-title {
    color: #ff0000;
}
.jpfc-content {
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1rem;
}
.jpfc-btn {
    background: linear-gradient(90deg, #ff0000 50%, #003366 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.7px;
    border-radius: 8px;
    margin-top: auto;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 2px 8px rgba(0,51,102,0.07);
    transition: background 0.3s, box-shadow 0.3s;
}
.jpfc-btn:hover {
    background: linear-gradient(90deg, #003366 50%, #ff0000 100%);
    box-shadow: 0 6px 18px rgba(255,0,0,0.18);
}
/* Responsivo para posts */
@media (max-width: 700px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .jpfc-thumb img {
        height: 140px;
    }
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    list-style: none;    /* Remove os bullets */
    padding-left: 0;     /* Remove recuo padrão */
}
.pagination li {
    list-style: none;    /* Remove os bullets dos itens */
    margin: 0;
    padding: 0;
    display: inline-block; /* Exibe os itens em linha */
}
/* Exemplo de botões da paginação - ajuste cores conforme seu tema */
.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ff0000; /* vermelho JPFC */
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 2px;
}
.pagination a:hover,
.pagination a:focus {
    background-color: #003366; /* azul JPFC */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.pagination .current,
.pagination span.current {
    background-color: #003366; /* azul JPFC */
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* Banner CSS */
/* Área dos banners no header */
.header-banners {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.header-banners .banner {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* Cada slide dentro do banner */
.header-banners .banner .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.header-banners .banner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* CSS Footer */
.footer-widgets {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 30px 20px;
  background: #222;
  color: #fff;
}
.footer-column {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 350px;
  box-sizing: border-box;
}
.footer-widget-title {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #fff;
}
.footer-widgets .footer-widget {
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .footer-widgets { flex-direction: column; gap: 18px; text-align: center; }
  .footer-column { max-width: none; min-width: 0; }
}
/* CSS Links Redes Sociais */
.social-links {
  display: flex;
  flex-direction: column; /* um abaixo do outro */
  gap: 10px;
  margin: 20px 0;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #fff; /* texto branco */
  background: #b30000; /* fundo vermelho do JPFC */
  padding: 8px 12px;
  border-radius: 10px;
  transition: 0.3s;
}
.social-links a:hover {
  background: #000066; /* muda para azul no hover */
  transform: scale(1.05);
}
.social-links img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}


/* CSS Next Previous*/
.post-navigation {
  max-width: 720px;
  margin: 2rem auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  background: linear-gradient(90deg, #d10000 0%, #ff0000 100%);
  color: #ffffff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 7px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.45);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover,
.post-navigation .nav-previous a:focus,
.post-navigation .nav-next a:focus {
  background: linear-gradient(90deg, #002f6c 0%, #001f4d 100%);
  box-shadow: 0 4px 16px rgba(0, 31, 77, 0.65);
  outline: none;
}

.post-navigation .nav-previous a {
  /* esquerda */
  text-align: left;
}

.post-navigation .nav-next a {
  /* direita */
  text-align: right;
}


.edit-post-link {
    margin-top: 1rem;
    font-size: 0.9rem;
}
.edit-post-link a {
    color: #ff0000;
    font-weight: bold;
    text-decoration: none;
}
.edit-post-link a:hover {
    text-decoration: underline;
}

.edit-link a {
    background: #ff0000;
    color: #fff !important;
    padding: 0.5em 1em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}
.edit-link a:hover, .edit-link a:focus {
    background: #003366;
    color: #fff !important;
}
