/*
Theme Name: Colorir Exclusivo
Theme URI: https://www.jogosdecolorir.com.br/
Author: Jogos de Colorir
Description: Tema exclusivo, leve e otimizado para sites de desenhos para colorir.
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');

/* Estilos básicos */
body {
  font-family: 'Comic Neue', cursive;
  background: #f0f8ff;
  color: #333;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  color: #2c3e50;
  font-weight: 700;
}

a {
  color: #2980b9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border-bottom: 2px solid #eee;
}

.site-title {
  font-size: 24px;
  color: #e74c3c;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form {
  display: flex;
  align-items: center;
}

.search-form input[type="search"] {
  padding: 8px 16px;
  border: 2px solid #ccc;
  border-radius: 30px 0 0 30px;
  outline: none;
  font-size: 16px;
}

.search-form button {
  padding: 8px 16px;
  border: 2px solid #ccc;
  border-left: none;
  background-color: #3498db;
  color: white;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.search-form button:hover {
  background-color: #2980b9;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.post-item {
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.post-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.post-item h2 {
  font-size: 18px;
  margin: 12px 0 0;
  color: #e74c3c;
}

.button-print {
  background: #f39c12;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s;
}

.button-print:hover {
  background: #e67e22;
}

.badge-em-alta {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  z-index: 2;
}

/* Responsivo */
@media (max-width: 600px) {
  .container {
    padding: 10px;
  }
  .button-print {
    width: 100%;
    padding: 14px;
  }
  .site-header {
    flex-direction: column;
    gap: 10px;
  }
}



.category-section-title {
  font-size: 24px;
  color: #2c3e50;
  margin: 30px 0 10px;
  text-align: center;
  font-weight: bold;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.category-card {
  text-align: center;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 140px;
  object-fit: cover;
}

.category-card span {
  margin-top: 8px;
  font-weight: bold;
  color: #e74c3c;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
