/* Container do slider */
.cpf-slider-wrapper {
    margin-bottom: 2rem;
  }
  
  .cpf-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  
  .cpf-slider {
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
    will-change: transform;
  }
  
  .cpf-slide {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .cpf-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
  }
  
  .cpf-slide span {
    display: none;
  }
  
  /* Navegação do slider */
  .cpf-slider-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .cpf-prev,
  .cpf-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  /* Grid de posts */
  .cpf-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem 1rem;
    margin-top: 2rem;
  }
  
  /* Estilo dos posts */
  .cpf-post {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    height: 100%;
    background: #fff;
    border: 4px solid var(--wp--preset--color--primary, #f1c40f);
    border-radius: 0;
    overflow: visible;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1;
  }
  
  .cpf-post:hover {
    background-color: var(--wp--preset--color--primary, #f1c40f);
    color: #fff;
  }
  
  .cpf-post:hover .cpf-post-title,
  .cpf-post:hover .cpf-post-category {
    color: #fff;
  }
  
  .cpf-post:hover .cpf-post-thumb img {
    transform: scale(1.2);
  }
  
  /* Título do post */
  .cpf-post-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.25rem !important;
    text-align: center;
  }
  
  /* Categoria do post */
  .cpf-post-category {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
  }
  
  /* Botão do post */
  .cpf-post-button {
    display: flex;
    justify-content: center;
    width: 50%;
    padding: 0.5rem 1.2rem;
    background-color: var(--wp--preset--color--primary, #f1c40f);
    color: #fff;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .cpf-post-button:hover {
    background-color: #005b8c;
  }
  
  /* Imagem do post */
  .cpf-post-thumb {
    width: 100%;
    margin: -60px 0 1rem;
    overflow: visible;
    border-radius: 0.5rem;
    position: relative;
    z-index: 2;
  }
  
  .cpf-post-thumb img {
    width: auto;
    max-height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
  }
  
  /* Separador do título */
  .cpf-title-separator {
    text-align: center;
    margin: 2rem 0;
  }
  
  .cpf-title-separator h1 {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
  }
  
  .cpf-title-separator h1::before,
  .cpf-title-separator h1::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: #ccc;
    transform: translateY(-50%);
  }
  
  .cpf-title-separator h1::before {
    left: -60px;
  }
  
  .cpf-title-separator h1::after {
    right: -60px;
  }  