/* ---------- Home: "Latest from HR Manage" band (wp-pages/home_news_patch.py, 2026-10-28). Divi Blog module, category
   Blog, 3 posts. Cards in the home card style; on phones the three cards become a sideways swipe strip. ---------- */
.hrm-home-news { background: var(--hrm-rail) !important; padding: 64px 0 !important; }
html.hrm-dark .hrm-home-news { background: var(--hrm-back-2) !important; }
.hrm-home-news .hrm-newshead a { color: var(--hrm-primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hrm-home-news .hrm-newshead a:hover { text-decoration: underline; }
.hrm-home-news .et_pb_blog_posts { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hrm-home-news .et_pb_blog_posts::before, .hrm-home-news .et_pb_blog_posts::after { content: none !important; }
.hrm-home-news article.et_pb_post { width: auto !important; margin: 0 !important; padding: 0 0 20px !important; float: none !important;
  display: flex; flex-direction: column; background: var(--hrm-panel); border: 1px solid var(--hrm-line); border-radius: 14px; overflow: hidden;
  transition: border-color .15s, box-shadow .15s; }
.hrm-home-news article.et_pb_post:hover { border-color: var(--hrm-primary); box-shadow: 0 12px 30px rgba(12, 24, 40, 0.10); }
.hrm-home-news .et_pb_image_container { margin: 0 0 16px !important; }
.hrm-home-news .et_pb_image_container img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 0 !important; }
.hrm-home-news .et_overlay { display: none !important; }
.hrm-page.hrm-home-news .entry-title { font-family: Outfit, Inter, sans-serif; font-size: 19px !important; line-height: 1.3; margin: 0; padding: 0 20px 6px; }
.hrm-page.hrm-home-news .entry-title a { color: var(--hrm-ink); }
.hrm-page.hrm-home-news .post-meta { padding: 0 20px; margin: 0 0 8px; font-size: 13px; color: var(--hrm-muted); }
.hrm-page.hrm-home-news .post-content { padding: 0 20px; display: flex; flex-direction: column; flex: 1; }
.hrm-page.hrm-home-news .post-content p { font-size: 15px; line-height: 1.55; color: var(--hrm-muted); margin: 0 0 12px; }
.hrm-page.hrm-home-news .more-link { margin-top: auto; color: var(--hrm-primary); font-weight: 600; font-size: 14.5px; }
@media (max-width: 980px) {
  .hrm-home-news .et_pb_blog_posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .hrm-home-news { padding: 44px 0 !important; }
  /* the swipe strip: one card and a peek of the next */
  .hrm-home-news .et_pb_blog_posts { display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 8px; scrollbar-width: thin; }
  .hrm-home-news article.et_pb_post { flex: 0 0 84%; scroll-snap-align: start; }
}
