/*
 * Styling Ponty Apply button
 * Styling Share Icons
*/

/* Wrapper around the Ponty button */
.ponty-apply-wrapper {
  display: flex;
  justify-content: center;
}

/* Style the Ponty widget container */
.ponty-apply-wrapper a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wp--preset--color--primary-3);
  color: var(--wp--preset--color--primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover/focus: darker */
.ponty-apply-wrapper .pnty-widget:hover,
.ponty-apply-wrapper .pnty-widget:focus {
  filter: brightness(0.85);
}

/* Ensure inner content inherits styles */
.ponty-apply-wrapper .pnty-widget * {
  color: inherit;
  font-family: inherit;
  font-weight: inherit;
}

/* Mobile: center button */
@media (max-width: 768px) {
  .ponty-apply-wrapper {
      justify-content: center;
  }
}

  .pnty-share-btn .pnty-share-btn__item--twitter,
  .pnty-share-btn .pnty-share-btn__item--gplus {
    display: none;
  }

  .pnty-share-btn {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .pnty-share-btn .pnty-share-btn__items {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
  }

  .pnty-share-btn .share-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
  }

  .pnty-share-btn .share-icons a {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s;
  }

  .pnty-share-btn .share-icons a:hover {
    transform: scale(1.1);
  }

  .pnty-share-btn::before {
    content: "Share this job";
    display: block;
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: var(--wp--preset--font-family--default);
    font-weight: 400;
    font-size: var(--wp--preset--font-size--medium);
  }
