.news-post-list {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(326px, 1fr));
  gap:7em 6em;
}

/* News loop article title on top page news section */
h3.entry-title, h2.entry-title {
    font-family: "Inter", sans-serif;
    line-height: 1.3;
    font-size: 22px;
    margin-top: 1.18181818em;
    margin-bottom: 0em;
    font-weight: 600;
    }

h3.entry-title a, h2.entry-title a {
    color: #002661;
}

.entry-meta {
    margin-top: 2.5em;
    margin-bottom: 2em;
}

.entry-meta-top{
    margin-top: 2em;
    margin-bottom: 1em;
}

span.meta-cats a {
    background: #5499C3;
    text-decoration: none;
    font-weight: 700;
    border-radius: 17px;
    color: white;
    padding: 12px 24px;
    font-size: 12px;
    margin-right: 0.5em;
    margin-top: 1em;
}
    
span.meta-cats-top a {
    padding: 8px 18px;
}

time.entry-date.published {
    font-weight: bold;
}

a.excerpt {
    display: block;
    text-decoration: unset;
}

a.excerpt:hover {
    color: currentColor;
}

a.excerpt, a.excerpt p, a.excerpt + p {
    text-decoration: none;
    margin-top: 1.5em;
    font-weight: 500;
    letter-spacing: 0.025em;
    line-height: 1.5;
}

.entry-image-link img {
  transition: transform 0.4s ease;
  transform-origin: center center; /* zoom from center */
}

.entry-image-link img:hover {
    transform: scale(1.05); 
  }


@media only screen and (min-width: 993px) {
  /* News loop article title on top page news section */
  h3.entry-title, h2.entry-title {
    font-family: "Inter", sans-serif;
    font-size: 22px;
    line-height: 1.3em;
    margin-top: 0.92857143em;
    font-weight: 600;
  }
  h3.entry-title a, h2.entry-title a {
  color: #002661;
  }

}

h2.entry-title a {
    background-image: linear-gradient(transparent 60%, #c2d9e6 60%);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
}

h2.entry-title a:hover {
    background-size: 100% 100%;
  }



/* category buttons */

/* Container */
.cat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 2rem 0;
    justify-content: center;
    margin-bottom: 90px;
    margin-top: 30px;
  }
  
  /* Button links (inverted base) */
  .cat-buttons .cat-btn {
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    line-height: 1;
    height: 61px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1em 1.5em;
    font-size: 0.9rem;
    line-height: 1.4;
    border: 1px solid #002661;   /* brand navy border */
    border-radius: 9999px;       /* pill */
    background-color: #002661;   /* brand navy fill */
    color: #fff;                 /* white text */
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 3px solid #002661; 
  }
  
  /* Hover/focus: invert to white background / brand text */
  .cat-buttons .cat-btn:hover,
  .cat-buttons .cat-btn:focus-visible {
    background-color: #fff;
    color: #002661;
    outline: none;
    border: 3px solid #002661; 
  }
  
  /* Active state: stronger emphasis (slightly darker or bold) */
  .cat-buttons .cat-btn.is-active,
  .cat-buttons .cat-btn[aria-current="page"] {
    background-color: white;   /* optional: your orange accent */
    border: 3px solid #002661; 
    color: #002661;
    font-weight:bold;
  }
  
  /* Accessibility: focus ring */
  .cat-buttons .cat-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(0,38,97,0.3);
  }
  