/* BlogdePelis: una portada centrada en descubrir películas. */
.bdp-home-refresh #bdpp-auto-home { display: none !important; }
.bdp-home-refresh .bdp-home-recents [hidden],
.bdp-home-refresh .bdp-home-ad [hidden] { display: none !important; }
.bdp-home-recents { padding-top: 38px; }
.bdp-home-recents .section-heading { align-items: center; }
.bdp-home-recents .section-heading__icon { width: 48px; height: 48px; }
.bdp-home-kicker {
  display: block; margin-bottom: 5px; color: #ff6977;
  font-size: .75rem; font-weight: 800; letter-spacing: .12em;
}
.bdp-home-recents .section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.bdp-home-recents .section-heading__title p,
.bdp-home-games .section-heading__title p,
.bdp-home-recommendations .section-heading__title p {
  display: block; font-size: .875rem; line-height: 1.55;
}
.bdp-home-recents .view-all,
.bdp-home-games .view-all,
.bdp-home-recommendations .view-all {
  padding: 9px 16px; min-height: 42px; font-size: .875rem; line-height: 1.4; text-align: center;
}
.bdp-recents-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 20px; padding: 2px 1px 5px;
}
.bdp-recents-grid .bdp-card[hidden] { display: none !important; }
.bdp-recents-grid .bdp-card__image {
  border-color: rgba(255,255,255,.15); border-radius: 15px;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.bdp-recents-grid .bdp-card h3,
.bdp-community-strip .bdp-card h3 {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  min-height: 2.8em; margin: 12px 1px 5px; overflow: hidden;
  font-size: .9375rem; line-height: 1.4; white-space: normal;
}
.bdp-recents-grid .bdp-card__meta { font-size: .8125rem; }
.bdp-recents-more { display: flex; justify-content: center; padding-top: 22px; }
.bdp-recents-more .button {
  border: 1px solid rgba(255,255,255,.16); background: #16191f;
  color: #e8e9ec; cursor: pointer;
}
.bdp-recents-more .button:hover,
.bdp-recents-more .button:focus-visible { border-color: var(--red-bright); background: #21151a; }

.bdp-home-ad {
  width: min(100%, var(--shell)); margin: 0 auto; padding: 0 28px;
  min-height: 0; box-sizing: border-box;
}
.bdp-home-ad.is-filled { margin-top: 34px; }
/* Un único banner entre los filtros y las fichas, también en categorías paginadas. */
.catalog-shell > .bdp-home-ad { width: 100%; margin: 0; padding: 0; }
.catalog-shell > .bdp-home-ad.is-filled { margin: 4px 0 28px; }
.catalog-shell > .bdp-home-ad [hidden] { display: none !important; }
.bdp-home-ad__label {
  display: block; margin-bottom: 8px; color: #999da6;
  text-align: center; font-size: .75rem; line-height: 1.4;
}
.bdp-home-ad__content { max-width: 100%; overflow: hidden; text-align: center; }
.bdp-home-ad__content > ins { display: block; max-width: 100%; text-decoration: none; }
.bdp-home-ad__content iframe,
.bdp-home-ad__content img { max-width: 100%; }
.bdp-home-ad__content img { height: auto; }

.bdp-home-games__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bdp-home-game {
  min-width: 0; min-height: 132px; padding: 22px;
  display: flex; align-items: center; gap: 20px;
  border: 1px solid rgba(255,83,101,.24); border-radius: 16px;
  background: linear-gradient(110deg, rgba(117,16,35,.25), #14171d 60%);
  transition: border-color .2s ease, background .2s ease;
}
.bdp-home-game:hover { border-color: #e83951; background-color: #1c161d; }
.bdp-home-game__symbol {
  flex: 0 0 58px; width: 58px; height: 66px; display: grid; place-items: center;
  color: #ff596d; font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1;
}
.bdp-home-game__copy { flex: 1; min-width: 0; }
.bdp-home-game__copy small { display: block; color: #f69daa; font-size: .75rem; font-weight: 800; letter-spacing: .035em; }
.bdp-home-game__copy strong { display: block; margin: 5px 0; color: #fff; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.35; }
.bdp-home-game__copy > span { display: block; color: #b7bbc4; font-size: .875rem; line-height: 1.5; }
.bdp-home-game__action {
  flex: 0 0 auto; padding: 9px 16px; border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px; color: #fff; font-size: .875rem; font-weight: 800;
}
.bdp-home-game--trivia { background: linear-gradient(110deg, rgba(43,66,100,.27), #14171d 60%); border-color: rgba(135,167,211,.23); }
.bdp-home-game--trivia .bdp-home-game__symbol { color: #a8c5f6; }
.bdp-home-game--trivia .bdp-home-game__copy small { color: #aec6ec; }
.bdp-home-game--trivia:hover { border-color: #a8c5f6; }

.bdp-community-item { min-width: 0; }
.bdp-community-votes { display: grid; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.11); }
.bdp-community-votes strong { color: #f9b3bc; font-size: .8125rem; line-height: 1.4; }
.bdp-community-votes span { color: #a6abb5; font-size: .75rem; line-height: 1.4; }
.bdp-home-recommendations .card-strip { padding-bottom: 16px; }

@media (max-width: 1180px) {
  .bdp-recents-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bdp-home-game { padding: 18px; gap: 12px; }
  .bdp-home-game__symbol { flex-basis: 44px; width: 44px; font-size: 2.6rem; }
}
@media (max-width: 900px) {
  .bdp-recents-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
  .bdp-home-game__action { display: none; }
  .bdp-home-game__copy strong { font-size: 1.0625rem; }
}
@media (max-width: 700px) {
  .bdp-home-recents { padding-top: 28px; }
  .bdp-home-recents .section-heading,
  .bdp-home-recommendations .section-heading { flex-wrap: wrap; gap: 12px; }
  .bdp-home-recents .section-heading__title { gap: 10px; }
  .bdp-home-recents .section-heading__icon { width: 38px; height: 38px; }
  .bdp-home-recents .section-heading h2 { font-size: 1.6rem; }
  .bdp-home-recents .section-heading__title p,
  .bdp-home-games .section-heading__title p,
  .bdp-home-recommendations .section-heading__title p { font-size: .8125rem; }
  .bdp-home-kicker { font-size: .6875rem; letter-spacing: .09em; }
  .bdp-home-ad { padding-inline: 15px; }
  .bdp-home-games__grid { grid-template-columns: 1fr; gap: 12px; }
  .bdp-home-game { min-height: 108px; padding: 16px; gap: 14px; }
  .bdp-home-game__action { display: block; padding: 8px 12px; }
  .bdp-home-game__symbol { height: 54px; }
  .bdp-home-games .section-heading { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 620px) {
  .bdp-recents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 13px; }
  .bdp-recents-grid .bdp-card h3 { font-size: .875rem; }
  .bdp-home-game__action { display: none; }
  .bdp-home-game__copy small { font-size: .6875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bdp-home-game { transition: none; }
}
