@charset "UTF-8";
/* ============================================================================
   Hahzarei-Mas article → "back to hub" CTA button
   Sits right after the .misuy-tldr (תקציר מהיר) box on every article that
   covers a hahzarei-mas (tax-refund) topic. Loaded only on those pages.
   ============================================================================ */

.igtax-hub-backlink {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.25rem auto 1.75rem;
  padding: 0.95rem 1.6rem;
  max-width: 540px;
  width: fit-content;
  background: linear-gradient(135deg, #0B2E4A 0%, #1E4A6E 100%);
  color: #ffffff !important;
  font-family: 'Heebo', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  border: 0;
  box-shadow: 0 8px 20px -6px rgba(11, 46, 74, 0.40),
              0 3px 8px -2px rgba(11, 46, 74, 0.20);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
  letter-spacing: -0.005em;
  -webkit-tap-highlight-color: transparent;
}

.igtax-hub-backlink:hover,
.igtax-hub-backlink:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #C9A24D 0%, #A78032 100%);
  color: #ffffff !important;
  box-shadow: 0 14px 28px -6px rgba(201, 162, 77, 0.48),
              0 4px 12px -2px rgba(201, 162, 77, 0.28);
}

.igtax-hub-backlink:focus-visible {
  outline: 3px solid #C9A24D;
  outline-offset: 3px;
}

.igtax-hub-backlink svg {
  flex-shrink: 0;
  display: block;
}

.igtax-hub-backlink .igtax-hub-backlink-text {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

/* ----- Tablet (641-1024px) ------------------------------------------------ */
@media (min-width: 641px) and (max-width: 1024px) {
  .igtax-hub-backlink {
    max-width: 460px;
    font-size: 1rem;
  }
}

/* ----- Mobile (<=640px) — fill width, comfy tap target ------------------- */
@media (max-width: 640px) {
  .igtax-hub-backlink {
    width: 100%;
    max-width: none;
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
    border-radius: 12px;
    margin: 1rem 0 1.5rem;
  }
  .igtax-hub-backlink .igtax-hub-backlink-text {
    white-space: normal;
  }
}

/* ----- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .igtax-hub-backlink {
    transition: none;
  }
  .igtax-hub-backlink:hover,
  .igtax-hub-backlink:focus-visible {
    transform: none;
  }
}
