#headline-news {
  background-color: #1a5185;
  font-size: 14px;

  a {
    color: #fff;
    text-decoration: none;
  }
}

.link-primary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background-color: #1a5185;
  color: #fff;
  border-radius: 0.25rem;

  &:hover {
    background-color: #071c30;
    color: #fff;
  }
}

.home-sq-items-link-group {
  width: 90%;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));

  @media (max-width: 767px) {
    grid-template-columns: 1fr;
  }

  gap: 1rem;

  .home-sq-items-link {
    position: relative;
    text-decoration: none;
    background-color: #fff;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: left center;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    border-radius: 16px;
    border: 2px solid #9E1C1F;
    padding: 1rem 2rem;
    line-height: 1.2;
    min-height: 144px;
    color: #333;
    transition: transform 0.3s ease;
    overflow: hidden;

    h4 {
      font-size: clamp(1.3rem, 2.6vw, 2rem);
      font-weight: 700;
      color: #69B8B2;
      max-width: 60%;
    }


    @media (pointer: fine) and (hover: hover) {
      &:hover {
        transform: scale(1.05);
      }
    }
  }
}