/*
Theme Name: addtothese
Theme URI: https://addtothese.com
Description: Tema hijo de Twenty Twenty-Four para addtothese.com — sitio de listas curadas + afiliación. Replica el diseño de Figma (listicle limpio con grid de tarjetas).
Author: addtothese.com
Template: twentytwentyfour
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: addtothese
*/

/* Ajustes finos que no cubre theme.json */
.wp-block-post-template li.wp-block-post {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--wp--preset--color--base);
  box-shadow: 0 6px 18px rgba(18,23,42,0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wp-block-post-template li.wp-block-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18,23,42,0.10);
}
.wp-block-post-featured-image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
ul.wp-block-categories.att-chip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
ul.wp-block-categories.att-chip li { margin: 0; }
.att-chip a, .wp-block-categories.att-chip a {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 100px;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
  font-weight: 500;
}
.att-chip a:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
/* hide category counts for cleaner chips */
.att-chip .wp-block-categories__list-item-count, .att-chip li span { opacity: .55; }
.att-search input { border: 1px solid var(--wp--preset--color--border) !important; border-radius: 14px !important; }
