/*
Theme Name:     newsource-hijo
Theme URI:      https://tusitio.com
Description:    Tema hijo de Newsource
Author:         Tu Nombre
Author URI:     https://tusitio.com
Template:       newsource
Version:        1.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Tags:           child theme, custom
Text Domain:    newsource-hijo
*/

/* 🔁 Reemplaza el ícono de fuego por el ícono de menú hamburguesa */
.fas.fa-fire::before {
  content: "\f0c9"; /* Unicode del ícono fa-bars */
}

.ciclos-tematicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.ciclo-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    padding: 36px 20px;
}

.ciclo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.ciclo-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2b2b2b;
}

.ciclo-count {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 18px;
}

.ciclo-button {
    display: inline-block;
    padding: 10px 22px;
    background: #44a7d1; /* azul del botón del tema */
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.ciclo-button:hover {
    background: #2f8bb2;
    transform: scale(1.03);
    color: #fff;
}

@media (max-width: 768px) {
    .ciclos-tematicos-grid {
        grid-template-columns: 1fr;
    }
}


.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
 background-color: #aee7c4; /* Verde pastel desaturado */
  color: #1EBE5A; /* Verde más intenso para contraste */
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  padding: 10px 62px;
  border-radius: 10px;
	
  transition: background 0.3s ease, transform 0.2s ease;
	border: 1.5px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-button img {
  width: 28px;
  height: 28px;
}

.whatsapp-button:hover {
  background-color: #1ebd5a;
	animation: pop 0.3s ease-in-out;
	  transform: scale(1.15);
  
}

.whatsapp-button:active {
  transform: scale(0.97);
}


.cafecito-button {
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
}

/* Animación sutil de rebote */
.cafecito-button:hover {
  
  filter: brightness(1.05);
}

/* Efecto de brillo diagonal 
.cafecito-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}
*/

.cafecito-button:hover::after {
  left: 150%;
}

.cafecito-button img {
  transition: transform 0.2s ease, filter 0.3s ease;
}

.cafecito-button:hover img {
	  transform: scale(1.12);
  animation: pop 0.3s ease-in-out;
   filter: brightness(96%); 
  filter: contrast(115%); 
filter: saturate(200%);
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1.15); }
}

.custom-tagcloud-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.custom-tagcloud-wrapper a {
  display: inline-block;
  padding: 8px 14px;
  background: #f3f3f3;
  color: #222;
  border-radius: 8px;
  font-size: 14px !important;
  text-decoration: none;
  transition: all .25s ease;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.custom-tagcloud-wrapper a:hover {
  background: #32b38c; /* verde hover */
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Si WordPress fuerza tamaños según popularidad */
.custom-tagcloud-wrapper a[style*="font-size:"] {
  line-height: 1;
}

/* Responsive */
@media (max-width: 600px) {
  .custom-tagcloud-wrapper {
    gap: 8px;
  }
  .custom-tagcloud-wrapper a {
    padding: 6px 10px;
    font-size: 13px !important;
  }
}

/* --- FIX: evitar que el header desaparezca al hacer scroll --- */
.wrapper,
.wrapper_inn {
  overflow: visible !important;
}

#header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#footer .foocol.first.p-border {
  display: none;
}