.PageGrid {
  background: var(--page-background) center / cover no-repeat;
  padding: var(--section-desktop-padding);

  @media (max-width: 960px) {
    padding: var(--section-tablet-padding);
  }

  h2 {
    max-width: 720px;
    margin: 0 auto 30px;
    padding: 0 20px;
    font-weight: 700;
    text-align: center;
  }

  .PageGridWrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 60px;
    max-width: 1390px;
    width: 100%;
    margin: 0 auto;
    text-align: center;

    @media (max-width: 1200px) {
      gap: 30px;
    }

    .PageGridText {
      align-self: center;
      margin: 0 auto;

      @media (max-width: 960px) {
        margin-bottom: 40px;
        max-width: 100%;
      }

      p {
        font-size: 16px;
        line-height: 25px;
        font-weight: 400;
        color: #444;

        &:first-of-type {
          margin-top: 0;
        }

        &:last-of-type {
          margin-bottom: 0;
        }

        b,
        strong {
          font-weight: 700;
          color: #F15C31 !important;
        }
      }
    }

    /* Grid container */
    .PageGridElements {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns by default */
      gap: 30px; /* space between grid items */
      max-width: 1390px;
    }

    /* Tablet: 2 columns */
    @media (max-width: 1024px) {
      .PageGridElements {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    /* Mobile: 1 column */
    @media (max-width: 640px) {
      .PageGridElements {
        grid-template-columns: 1fr;
      }
    }

    /* Each card */
    .PageGridElement {
      background: #fff;
      border: 1px solid #444;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      position: relative;
      
      .top_tag {
        background: #45555f;
        padding: 10px;
        position: absolute;
        top: 0px;
        right: 0px;
        color: #FFF;
        text-align: center;
        font-size: 11px;
        font-weight: 600;
        line-height: 120%;
        letter-spacing: 3.19px;
        text-transform: uppercase;
⁨
      }
      
    }

    /* Image inside the card */
    .PageGridElement > img {
      width: 100%;
      height: 200px !important;
      display: block;
      object-fit: cover;
    }

    /* Content area inside the card */
    .PageGridElementContent {
      padding: 30px 50px 150px 50px; /* top = 30px, rest = 50px */
      text-align: left;
      gap: 20px;
      display: flex;
      flex-direction: column;
    }

    /* Optional niceties */
    .PageGridElementContent h3 {
      margin: 0;
      padding: 0;
      color: #F15C31;
      font-size: 30px;
      font-style: normal;
      font-weight: 600;
      line-height: 120%;
      
      a {
        color: #F15C31;
        
        &:hover {
          color: #000;
        }
      }
    }

    .PageGridElementContent p {
      margin: 0;
      padding: 0;
    }

    a.global_button {
      position: absolute;
      bottom: 50px;
      left: 50px;
    }

  }
}