/* Články na homepage: dokončené nativní obrazové karty bez Bootstrap clearfix buněk. */
body.in-index #content .homepage-blog-wrapper { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 20px; align-items: stretch; width: 100%; margin: 0; padding: 0 0 40px; }
body.in-index #content .homepage-blog-wrapper:before,
body.in-index #content .homepage-blog-wrapper:after { content: none; display: none; }
body.in-index #content .homepage-blog-wrapper>.homepage-group-title { grid-column: 1/-1; margin: 0; padding: 0; color: var(--es-ink); font-size: var(--es-h2); font-weight: 700; line-height: 1.3; text-align: left; }
body.in-index #content .homepage-blog-wrapper>.news-item { display: flex; flex-direction: column; float: none; width: auto; min-width: 0; margin: 0; padding: 0; border: 1px solid var(--es-line); border-radius: 3px; background: #fff; overflow: hidden; transition: border-color .18s ease; }
body.in-index #content .homepage-blog-wrapper>.news-item>a { display: flex; flex: 1 1 auto; flex-direction: column; width: 100%; min-width: 0; height: 100%; padding: 0; color: var(--es-ink); text-decoration: none; }
body.in-index #content .homepage-blog-wrapper .image { display: block; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 3/2; margin: 0; padding: 0; overflow: hidden; background: #e9eef1; }
body.in-index #content .homepage-blog-wrapper .image img { display: block; width: 100%; max-width: 100%; height: 100%; margin: 0; aspect-ratio: 3/2; object-fit: cover; transition: transform .22s ease; }
body.in-index #content .homepage-blog-wrapper .text { display: flex; flex: 1 1 auto; flex-direction: column; align-items: stretch; min-width: 0; padding: 20px; }
body.in-index #content .homepage-blog-wrapper .title { display: block; min-height: 2.9em; margin: 0 0 12px; padding: 0; color: var(--es-ink); font: 600 18px/1.45 'Open Sans',sans-serif; overflow-wrap: anywhere; transition: color .18s ease; }
body.in-index #content .homepage-blog-wrapper .description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 18px; padding: 0; color: var(--es-muted); font: 400 14px/1.65 'Open Sans',sans-serif; }
body.in-index #content .homepage-blog-wrapper .read-article { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 38px; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--es-line); color: var(--es-action); font: 600 13px/1.5 Rubik,'Open Sans',sans-serif; letter-spacing: .035em; text-transform: uppercase; }
body.in-index #content .homepage-blog-wrapper .read-article:after { content: ''; display: block; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; background: currentColor; -webkit-mask: var(--es-icon-chevron-right) center/contain no-repeat; mask: var(--es-icon-chevron-right) center/contain no-repeat; pointer-events: none; }
body.in-index #content .homepage-blog-wrapper>.news-item:hover { border-color: #7fa8c4; }
body.in-index #content .homepage-blog-wrapper>.news-item:hover .title { color: var(--es-action); }
body.in-index #content .homepage-blog-wrapper>.news-item:hover .read-article { text-decoration: underline; text-underline-offset: 3px; }
body.in-index #content .homepage-blog-wrapper>.news-item>a:focus-visible { outline: 2px solid #245b92; outline-offset: -3px; }
body.in-index #content .homepage-blog-wrapper>.news-item>a:focus-visible .title { color: var(--es-action); }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  body.in-index #content .homepage-blog-wrapper>.news-item:hover .image img { transform: scale(1.025); }
}
@media(max-width:1199px) {
  body.in-index #content .homepage-blog-wrapper { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:599px) {
  body.in-index #content .homepage-blog-wrapper { grid-template-columns: 1fr; gap: 20px; padding-bottom: 30px; }
  body.in-index #content .homepage-blog-wrapper .text { padding: 18px; }
  body.in-index #content .homepage-blog-wrapper .title { min-height: 0; font-size: 18px; }
}
@media(prefers-reduced-motion:reduce) {
  body.in-index #content .homepage-blog-wrapper :is(.news-item,.image img,.title) { transition: none; }
}

