/* Article listing: Figma 2440:10714 and 3899:15758.
 * Pagination uses the same shared rules as the services listing. */
.articles-page > .section-wrapper--content { padding-top: var(--es-gap-btwn-headers); padding-bottom: var(--es-gap-btwn-blocks); }
.articles-page > .section-wrapper--content + .section-wrapper--content { padding-top: 0; }
.articles-page .catalog__layout.hero { display: flex; align-items: center; gap: 60px; height: 520px; padding-bottom: 80px; border-bottom: 1px solid var(--es-border-secondary,#cbc9c7); }
.articles-page .catalog__layout.hero > a { min-width: 0; margin: 0; padding: 0; text-decoration: none; border-radius: 0; }
.articles-page .catalog__layout.hero > a:first-child { display: block; flex: 1 1 0; height: 100%; overflow: hidden; border-radius: 8px; }
.articles-page .catalog__layout.hero > a:first-child img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.articles-page .catalog__layout.hero > a:last-child { display: flex; flex: 0 0 720px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 0; overflow: visible; }
.articles-page .catalog__layout.hero > a h2 { width: 100%; margin: 0; color: #000; font: 600 23px/1.2 var(--es-headers-font); letter-spacing: 0; }
.articles-page .catalog__layout.hero > a > p { width: 100%; margin: 0; color: var(--es-text-primary-80); font: 400 16px/1.4 var(--es-regular-font); }
.articles-page .catalog__layout.hero > a > p.date { width: auto; opacity: .54; }
.articles-page .catalog__layout.hero .more-button { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.articles-page .catalog__layout.hero .more-button .es-article-more__icon { display: flex; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px; height: 31px; background: #bfff00; }
.articles-page .catalog__layout.hero .more-button .es-article-more__icon img { display: block; width: 16px; max-width: 16px; height: 15px; object-fit: contain; }
.articles-page .catalog__layout.hero .more-button > span:last-child { color: var(--es-text-primary-80); font: 600 14px/normal var(--es-headers-font); text-transform: uppercase; }
.articles-page .catalog__layout.hero > a:focus-visible { outline: 2px solid var(--es-surface-accent); outline-offset: 4px; }
.articles-page .catalog__layout:not(.hero) { display: block; }
.articles-page .service-grid[data-articles-grid] { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; column-gap: var(--es-gap-grid); row-gap: 70px; }
.articles-page .article-card { display: flex; flex-direction: column; gap: 20px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; text-decoration: none; }
.articles-page .article-card .img-container { flex: 0 0 auto; width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px; }
.articles-page .article-card .img-container > img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
.articles-page .article-card .article-card__body { display: flex; flex-direction: column; gap: 8px; width: 100%; min-width: 0; margin: 0; padding: 0; }
.articles-page .article-card .article-card__date { margin: 0; color: var(--es-text-primary-80); opacity: .54; font: 400 13px/1.4 var(--es-regular-font); }
.articles-page .article-card .article-card__body h3 { margin: 0; color: #000; font: 600 18px/1.2 var(--es-headers-font); letter-spacing: 0; }
.articles-page .article-card:focus-visible { outline: 2px solid var(--es-surface-accent); outline-offset: 4px; }
@media (min-width: 993px) and (max-width: 1500px) {
  .articles-page .catalog__layout.hero { gap: 40px; }
  .articles-page .catalog__layout.hero > a:last-child { flex-basis: 42%; }
}
@media (max-width: 992px) {
  .articles-page .catalog__layout.hero { flex-direction: column; align-items: stretch; gap: 32px; height: auto; padding-bottom: 40px; }
  .articles-page .catalog__layout.hero > a:first-child { flex: 0 0 auto; height: auto; aspect-ratio: 16/9; }
  .articles-page .catalog__layout.hero > a:last-child { flex: 0 0 auto; }
  .articles-page .catalog__layout.hero > a h2 { font-size: 22px; }
  .articles-page .service-grid[data-articles-grid] { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 40px; }
}
@media (max-width: 639px) {
  .articles-page .service-grid[data-articles-grid] { grid-template-columns: minmax(0,1fr); }
}
