/* Home discovery: one searchable article collection, followed by three recommendations. */
.home-page .hero { padding: 28px 0 30px; }
.home-page .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.home-page .hero__copy { order: 0; padding: 0; }
.home-page .hero__title { font-size: clamp(32px, 3.5vw, 46px); line-height: 1.45; }
.home-page .hero__bar { display: none; }
.home-page .hero__lead { margin: 14px 0 0; line-height: 1.8; }
.home-page .hero__media { order: 1; min-height: 250px; }
.home-page .hero__caption { display: none; }

.home-page .theme-search { padding: 0 0 18px; }
.home-page .theme-search__panel { padding: 24px; background: #fff; }
.home-page .theme-search__head { margin-bottom: 16px; }
.home-page .theme-search__title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
.home-page .theme-search__head .kicker { display: none; }
.home-discovery__status { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #e7eff2; }
.home-page .ranking-filter-status { display: block; margin: 0; color: #314d5a; font-size: 16px; font-weight: 700; }
.home-discovery__reset { justify-content: center; padding: 8px 16px; border: 1px solid #ccdce3; border-radius: 8px; background: #fff; color: #23566d; }
.home-discovery__reset:hover { background: #eef6f9; }
.home-page .home-discovery__results { padding: 0 0 40px; }
.home-page .home-discovery__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-page .home-discovery__cards .card { display: flex; flex-direction: column; min-width: 0; }
.home-page .home-discovery__cards .card__media { flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 10; background: #f6f7f4; }
.home-page .home-discovery__cards .card__media img { width: 100%; height: 100%; object-fit: contain; }
.home-page .home-discovery__cards .card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 18px; }
.home-page .home-discovery__cards .card__title { margin: 6px 0 8px; font-size: 18px; line-height: 1.6; }
.home-page .home-discovery__cards .card__text { margin: 0 0 14px; font-size: 15px; line-height: 1.8; }
.home-discovery__card-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; align-self: flex-start; margin-top: auto; padding: 8px 14px; border: 1px solid #b8d0db; border-radius: 8px; background: #edf6fa; color: #23566d; font-size: 14px; font-weight: 700; line-height: 1.5; }
.home-page .home-recommendations { padding: 8px 0 40px; }
.home-page .home-recommendations .section__head { margin-bottom: 18px; }
.home-page .home-recommendations .section__title { font-size: 24px; }
.home-recommendations__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-recommendation { display: flex; flex-direction: column; padding: 22px; border: 1px solid #dce5e8; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; }
.home-recommendation__tag { color: #37667c; font-size: 13px; font-weight: 700; }
.home-recommendation h3 { margin: 8px 0; font-size: 19px; line-height: 1.6; }
.home-recommendation p { margin: 0 0 18px; font-size: 15px; line-height: 1.8; color: #52626a; }
.home-recommendation:hover { border-color: #83b1c5; }
.home-page .home-discovery__about { padding: 0 0 40px; }

@media (max-width: 980px) {
  .home-page .hero__grid { gap: 24px; }
  .home-page .home-discovery__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-recommendations__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .home-page .hero { padding: 20px 0 24px; }
  .home-page .hero__grid { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: center; }
  .home-page .hero__title { font-size: clamp(25px, 6.8vw, 30px); }
  .home-page .hero__lead { margin-top: 10px; font-size: 15px; line-height: 1.8; }
  .home-page .hero__media { min-height: 180px; border-radius: 12px; }
  .home-page .theme-search__panel { padding: 18px 16px; }
  .home-page .theme-search__title { font-size: 22px; }
  .home-page .filter-chips { flex-wrap: wrap; gap: 8px; margin-right: 0; padding: 0; overflow: visible; }
  .home-page .filter-chip { padding: 8px 12px; }
  .home-discovery__status { margin-top: 14px; }
  .home-page .home-discovery__cards { grid-template-columns: 1fr; gap: 12px; }
  .home-page .home-discovery__cards .card { display: grid; grid-template-columns: 94px minmax(0, 1fr); align-items: start; }
  .home-page .home-discovery__cards .card__media { width: 94px; aspect-ratio: 1; margin-top: 16px; }
  .home-page .home-discovery__cards .card__body { padding: 14px 14px 14px 12px; }
  .home-page .home-discovery__cards .card__tag { font-size: 12px; }
  .home-page .home-discovery__cards .card__title { margin: 4px 0 7px; font-size: 17px; line-height: 1.6; }
  .home-page .home-discovery__cards .card__text { margin-bottom: 10px; font-size: 14px; line-height: 1.75; }
  .home-discovery__card-link { min-height: 44px; padding: 8px 12px; }
  .home-recommendation { padding: 18px; }
}
