/*
 Theme Name: Read Child — Pelotapasto (Lista con miniaturas) v2
 Theme URI: https://www.pelotapasto.org/
 Description: Child theme for Read (ThemeForest, Pixelwars). Search results rendered as a vertical list with thumbnails.
 Author: Rodrigo + ChatGPT
 Author URI: https://www.pelotapasto.org/
 Template: read
 Version: 1.0.1
 Text Domain: read-child
*/

/* --------- Lista con miniaturas --------- */
:root { --content-max: 1080px; --thumb: 140px; --gap: 16px; }

.site-main.search,
.search-results-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.search-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 18px;
}

.search-list .result {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding-bottom: 16px;
}

.result .thumb {
  flex: 0 0 var(--thumb);
  width: var(--thumb);
  height: var(--thumb);
  overflow: hidden;
  border-radius: 8px;
  background: #f4f4f4;
}
.result .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.result .content {
  flex: 1 1 auto;
  min-width: 0;
}

.result .entry-title {
  font-size: 1.15rem;
  margin: 0 0 .35rem;
  line-height: 1.25;
}
.result .entry-title a { text-decoration: none; }

.result .entry-meta { opacity: .8; font-size: .92em; margin-bottom: .4rem; }

.result .entry-summary { margin: .25rem 0 0; }

.read-more { display: inline-block; margin-top: .4rem; }

@media (max-width: 520px) {
  :root { --thumb: 96px; }
}
