/* HR factory – News-Übersicht (home.php / Beitragsseite) */

.hrf-news-root {
  color: #0A1B33;
  background: #fff;
  line-height: 1.55;
  overflow-x: clip;
}

.hrf-news-hero {
  padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 48px) clamp(12px, 2vw, 24px);
  background: #fff;
}

.hrf-news-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.hrf-news-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: #5A6B85;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.hrf-news-breadcrumb a {
  color: #5A6B85;
  text-decoration: none;
}

.hrf-news-breadcrumb a:hover {
  color: #F84F48;
}

.hrf-news-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  background: #EAF0FA;
  color: #01408D;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
}

.hrf-news-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #01408D;
  text-wrap: pretty;
}

.hrf-news-lead {
  margin: clamp(16px, 2.2vw, 24px) 0 0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: #2E3B4E;
  max-width: 36em;
  text-wrap: pretty;
}

.hrf-news-list {
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px) clamp(64px, 8vw, 112px);
}

.hrf-news-list__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.hrf-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 28px);
}

.hrf-news-card {
  margin: 0;
  background: #fff;
  border: 1px solid #E4E9F2;
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hrf-news-card:hover {
  transform: translateY(-4px);
  border-color: #CAD6EA;
  box-shadow: 0 22px 48px rgba(1, 43, 94, 0.12);
}

.hrf-news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hrf-news-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #EAF0F8;
  overflow: hidden;
}

.hrf-news-card__media-accent {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 46%;
  height: 52%;
  background: #FAD0C3;
  border-radius: 22px 22px 0 22px;
  z-index: 0;
  pointer-events: none;
}

.hrf-news-card__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hrf-news-card__placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #01408D;
  background: linear-gradient(145deg, #EAF0FA 0%, #D6E2F5 100%);
}

.hrf-news-card__placeholder svg {
  width: 72px;
  height: auto;
  opacity: 0.55;
}

.hrf-news-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  flex: 1;
}

.hrf-news-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hrf-news-card__tag {
  display: inline-block;
  background: #EAF0FA;
  color: #01408D;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.hrf-news-card__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #01408D;
  text-wrap: pretty;
}

.hrf-news-card__teaser {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: #3A4658;
  flex: 1;
}

.hrf-news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #E4E9F2;
  font-size: 14px;
  color: #5A6B85;
}

.hrf-news-card__cta {
  font-weight: 700;
  color: #01408D;
  white-space: nowrap;
}

.hrf-news-card:hover .hrf-news-card__cta {
  color: #F84F48;
}

.hrf-news-empty {
  margin: 0;
  padding: 48px 0;
  text-align: center;
  color: #5A6B85;
  font-size: 18px;
}

.hrf-news-pagination-wrap {
  margin-top: clamp(36px, 5vw, 56px);
}

.hrf-news-pagination-wrap .nav-links,
.hrf-news-pagination-wrap .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.hrf-news-pagination-wrap a,
.hrf-news-pagination-wrap .current,
.hrf-news-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #E4E9F2;
  background: #fff;
  color: #01408D;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.hrf-news-pagination-wrap .current {
  background: #01408D;
  border-color: #01408D;
  color: #fff;
}

.hrf-news-pagination-wrap a:hover {
  border-color: #01408D;
  color: #F84F48;
}

@media (max-width: 980px) {
  .hrf-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hrf-news-grid {
    grid-template-columns: 1fr;
  }

  .hrf-news-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hrf-news-card {
    transition: none;
  }

  .hrf-news-card:hover {
    transform: none;
  }
}
