/* ===========================================================================
   Full insights archive — every published article, newest first, revealed in
   batches. Cards are always in the DOM; .is-hidden only controls display, so
   the links stay crawlable.
   =========================================================================== */

/* Continues the .latest-insights section rather than opening a new one: same
   background and content column, no top padding and no heading of its own, so
   the two grids read as one long run of posts under
   "New from TalentoHC Insights". */
.insights-archive {
  width: 100%;
  /* Same content column as .latest-insights in insights-responsive.css, so the
     two grids line up at every width. */
  padding: 0 max(24px, calc((100vw - 1280px) / 2)) clamp(72px, 8vw, 110px);
  box-sizing: border-box;
  background: #f2f7f5;
}

/* That sheet leaves a large bottom padding under .latest-insights; with the
   archive continuing straight on, it would read as two sections. */
body.insights-page .latest-insights {
  padding-bottom: 0 !important;
}






.insights-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

/* Cards butt directly together — square corners, and a -1px margin so adjacent
   borders collapse into a single hairline instead of doubling up. */
.insights-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6e9e8;
  border-radius: 0;
  margin: 0 -1px -1px 0;
  background: #fff;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.insights-card.is-hidden {
  display: none;
}

.insights-card:hover {
  position: relative;
  z-index: 1;
  border-color: #bfe3d8;
  box-shadow: 0 12px 30px rgba(24, 33, 31, 0.1);
}

.insights-card__media {
  display: block;
  overflow: hidden;
  background: #eef2f1;
}

.insights-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 320ms ease;
}

.insights-card:hover .insights-card__media img {
  transform: scale(1.03);
}

.insights-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.insights-card__body time {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a9794;
}

.insights-card__body h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 26px;
  font-weight: 600;
}

.insights-card__body h3 a {
  color: #231f20;
  text-decoration: none;
}

.insights-card__body h3 a:hover,
.insights-card__body h3 a:focus-visible {
  color: #176c5b;
  text-decoration: underline;
}

.insights-card__body p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 23px;
  color: #5c6664;
}

.insights-card__cue {
  margin-top: auto;
  font-size: 15px;
  font-weight: 600;
  color: #176c5b;
}

.insights-archive__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin: clamp(32px, 3.5vw, 48px) auto 0;
  text-align: center;
}

.insights-archive__foot p {
  margin: 0;
  font-size: 15px;
  color: #5c6664;
}

.insights-archive__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 34px;
  border: 2px solid #3bceac;
  border-radius: 999px;
  background: #3bceac;
  color: #183f38;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.insights-archive__more:is(:hover, :focus-visible) {
  border-color: #176c5b;
  background: #176c5b;
  color: #fff;
}

.insights-archive__more[hidden] {
  display: none;
}

@media (max-width: 1000px) {
  .insights-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
}

@media (max-width: 620px) {
  .insights-archive {
    padding: 0 16px 70px;
  }
}

@media (max-width: 640px) {
  .insights-archive__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .insights-card__body {
    padding: 20px 20px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insights-card,
  .insights-card__media img {
    transition: none;
  }

  .insights-card:hover .insights-card__media img {
    transform: none;
  }
}

/* ===========================================================================
   The responsive sheet re-applies 28/24/22px gutters and rounded corners to the
   ten .latest-card items above with !important. Collapse them so both grids
   read as one flush mosaic of posts.
   =========================================================================== */
body.insights-page .latest-insights__grid{
  gap:0!important;
}
body.insights-page .latest-card{
  border-radius:0!important;
  margin:0 -1px -1px 0!important;
}
@media (max-width:980px){
  body.insights-page .latest-insights__grid{gap:0!important}
  body.insights-page .latest-card{border-radius:0!important}
}
@media (max-width:620px){
  body.insights-page .latest-insights__grid{gap:0!important}
  body.insights-page .latest-card{border-radius:0!important}
}
