/* ===== Underline on hover for h2.entry-title in .listiclesv2 ===== */
.listiclesv2 h2.entry-title:hover,
.listiclesv2 h2.entry-title a:hover {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Also underline when hovering anywhere on the article/card */
.listiclesv2 article:hover h2.entry-title,
.listiclesv2 article:hover h2.entry-title a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ===== Whitening overlay on image hover in .listiclesv2 ===== */
.listiclesv2 .kadence-post-image {
  position: relative;
  overflow: hidden; /* ensures overlay stays within image bounds */
}

/* Base overlay (invisible by default) */
.listiclesv2 .kadence-post-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0); /* fully transparent initially */
  transition: background 0.25s ease;
  pointer-events: none; /* keeps image clickable */
}

/* Light white overlay appears on hover */
.listiclesv2 article:hover .kadence-post-image::after {
  background: rgba(255, 255, 255, 0.2); /* soft white tint */
}
/* ===== Dark blue pill-style category chips inside .listiclesv2 ===== */
.listiclesv2 .kt-blocks-above-categories a {
  display: inline-block;
  background-color: #19649e; /* solid darker blue */
  color: #ffffff; /* white text */
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 9999px; /* full pill shape */
  margin: 2px 6px 2px 0;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover / focus state */
.listiclesv2 .kt-blocks-above-categories a:hover,
.listiclesv2 .kt-blocks-above-categories a:focus {
  background-color: #228fd1; /* lighter blue on hover */
  color: #ffffff; /* keep white text */
  text-decoration: none;
}