      * {
        box-sizing: border-box;
      }

      body {
        font-family: sans-serif;
        margin: 20px;
        background: #fff;
        color: #000;
      }

      .job-listings {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
      }

      .job-card {
        flex: 1 1 100%; /* Default to 1 column on mobile */
        max-width: 100%;
        border: 1px solid #000;
        padding: 20px;
        border-radius: 8px;
        position: relative;
        transition: border 0.3s ease;
      }

      @media (min-width: 768px) {
        /* 2 columns for tablets and small desktops */
        .job-card {
          flex: 1 1 calc(50% - 10px);
          max-width: calc(50% - 10px);
        }
      }

      @media (min-width: 1024px) {
        /* 3 columns for larger desktops */
        .job-card {
          flex: 1 1 calc(33.333% - 13.333px); /* (100% - 2*gap)/3 */
          max-width: calc(33.333% - 13.333px);
        }
      }

      .job-tag {
        position: absolute;
        top: 15px;
        right: 15px;
        background: #f5f5f5;
        padding: 4px 8px;
        font-size: 12px;
        font-weight: bold;
        border-radius: 2px;
        z-index: 10; /* Ensure the tag is always on top */
      }

      .job-title {
        font-weight: 700;
        font-size: 1.25rem;
        margin: 0 0 10px;
        /* Add padding-right on smaller screens to prevent overlap with the tag */
      }

      /* Media query to apply padding-right to job-title on mobile */
      @media (max-width: 767px) {
        /*
             * Calculation for padding-right:
             * - `right: 15px` on .job-tag means its right edge is 15px from card edge.
             * - Estimate max width of job-tag (e.g., "Experienced" text + 8px left/right padding) is approx. 86px.
             * - So, the left edge of the tag is roughly 15px + 86px = 101px from the right edge of the card.
             * - To ensure the job title breaks 2px before the tag's left edge,
             * we need padding-right = 101px + 2px = 103px.
             * - Using 105px for a little extra buffer.
             */
        .job-title {
          padding-right: 105px; /* Adjusted for 2px clear space from job tag */
        }
      }

      .job-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
        font-size: 0.9rem;
        margin-bottom: 15px;
      }

      .job-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
      }
      @media only screen and (max-width: 640px) {
        .job-card button.sqs-block-button-element {
          width: 100% !important;
          min-width: unset !important;
          max-width: unset !important;
          display: inline-block !important;
          margin: 10px auto 0 !important;
          text-align: center !important;
        }
      }
