* {
  box-sizing: border-box;
}

/* Program collage hero assets: generated object-led backgrounds, no human figures. */
.program-collage-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 68vh, 760px);
  border-radius: 1.5rem;
  background: #071c16;
  box-shadow: 0 24px 70px rgba(11, 61, 46, 0.18);
}

.program-collage-hero--fullscreen {
  min-height: calc(100dvh - 4rem);
  margin: -2.5rem calc(50% - 50vw) 2.5rem;
  border-radius: 0;
}

.program-collage-hero--fullscreen .program-collage-hero__content {
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
}

.program-collage-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.program-collage-hero__shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 26, 20, 0.9);
}

.program-collage-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 4rem);
}

.program-collage-hero__copy {
  max-width: 42rem;
  color: white;
}

.program-collage-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.375rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.program-collage-hero__title {
  margin-top: 1.5rem;
  color: white;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.program-collage-hero__description {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
}

.program-collage-hero__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.program-collage-hero__side {
  width: min(24rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.program-collage-hero__side-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.11);
  padding: 1rem 1.1rem;
  color: white;
  backdrop-filter: blur(18px);
  transition: background-color 180ms ease, transform 180ms ease;
}

.program-collage-hero__side-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.program-collage-hero__secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(14px);
}

.home-program-copy {
  color: #fff7e8;
  text-shadow: 0 2px 18px rgba(5, 13, 10, 0.72);
}

.home-program-copy p {
  color: rgba(255, 247, 232, 0.9);
}

.home-program-badge {
  background: rgba(255, 247, 232, 0.92);
  border-color: rgba(255, 95, 0, 0.48);
  color: #0b3d2e;
  text-shadow: none;
}

.home-program-chip {
  background: rgba(255, 247, 232, 0.86);
  border: 1px solid rgba(255, 247, 232, 0.48);
  color: #18392f;
  text-shadow: none;
}

.orphan-art-shell {
  background: #fbf7ef;
}

.orphan-art-card {
  position: relative;
  height: 100%;
  isolation: isolate;
  border: 1px solid rgba(11, 61, 46, 0.16);
  border-radius: 1rem;
  background:
    rgba(255, 251, 242, 0.97);
  box-shadow: 0 20px 54px rgba(11, 61, 46, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.orphan-art-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: url("/static/images/hog-orphan-collage-v2.0697f0bca8a2.jpg") center top / cover;
  opacity: 0.08;
}

.orphan-art-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 95, 0, 0.38);
  box-shadow: 0 24px 62px rgba(11, 61, 46, 0.18);
}

.orphan-art-card--priority {
  border-color: rgba(255, 95, 0, 0.34);
}

.orphan-art-card__link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: inherit;
  color: inherit;
}

.orphan-art-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: url("/static/images/hog-orphan-collage-v2.0697f0bca8a2.jpg") center / cover;
}

.orphan-art-card__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 420ms ease, filter 420ms ease;
}

.orphan-art-card:hover .orphan-art-card__media img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.04);
}

.orphan-art-card__placeholder {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: rgba(255, 247, 232, 0.92);
  font-size: clamp(3rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.orphan-art-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.orphan-art-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.orphan-art-status,
.orphan-art-price {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.orphan-art-status {
  border: 1px solid rgba(255, 95, 0, 0.36);
  background: rgba(255, 247, 232, 0.86);
  color: #0b3d2e;
}

.orphan-art-status--funded {
  border-color: rgba(11, 61, 46, 0.22);
  background: rgba(224, 241, 231, 0.88);
}

.orphan-art-price {
  background: #0b3d2e;
  color: #fff7e8;
}

.orphan-art-card__title {
  color: #08261e;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.orphan-art-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.orphan-art-card__meta span {
  border: 1px solid rgba(11, 61, 46, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  padding: 0.45rem 0.7rem;
  color: rgba(8, 38, 30, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
}

.orphan-art-card__story {
  color: rgba(8, 38, 30, 0.72);
  font-size: 0.94rem;
  line-height: 1.65;
}

.orphan-art-progress {
  --orphan-progress: 0%;
  position: relative;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(11, 61, 46, 0.14);
}

.orphan-art-progress::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: var(--orphan-progress);
  max-width: 100%;
  height: 2px;
  background: #ff5f00;
}

.orphan-art-progress__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(8, 38, 30, 0.64);
  font-size: 0.82rem;
}

.orphan-art-progress__row strong {
  color: #08261e;
}

.orphan-art-card__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 999px;
  background: #ff5f00;
  padding: 0.85rem 1rem;
  color: white;
  font-size: 0.9rem;
  font-weight: 900;
  transition: background-color 180ms ease, transform 180ms ease;
}

.orphan-art-card:hover .orphan-art-card__cta {
  background: #e65600;
}

.orphan-art-card__cta-mark {
  display: inline-flex;
  height: 1.8rem;
  width: 1.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 180ms ease;
}

.orphan-art-card:hover .orphan-art-card__cta-mark {
  transform: translateX(2px);
}

@media (max-width: 767px) {
  .program-collage-hero {
    min-height: 560px;
    border-radius: 1.25rem;
  }

  .program-collage-hero--fullscreen {
    min-height: calc(100dvh - 4rem);
    margin-inline: calc(50% - 50vw);
    border-radius: 0;
  }

  .program-collage-hero__content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .program-collage-hero__image {
    object-position: 64% center;
  }

  .program-collage-hero__shade {
    background: rgba(5, 26, 20, 0.96);
  }

  .orphan-art-card:hover {
    transform: none;
  }
}

/* Lenis smooth scroll (JS handles scroll-behavior; see _base.html) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================
   CUSTOM POPUP NOTIFICATION
   ============================================ */

.popup-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  min-width: 300px;
  max-width: 500px;
  animation: popupSlideIn 0.3s ease-out;
}

.popup-notification.closing {
  animation: popupSlideOut 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes popupSlideOut {
  from {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
}

.popup-notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  animation: fadeIn 0.3s ease-out;
}

.popup-notification-overlay.closing {
  animation: fadeOut 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.popup-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.popup-close-btn:hover {
  background-color: #f0f0f0;
}

.popup-message {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  padding-right: 10px;
}

.popup-notification.success {
  border-left: 4px solid #10b981;
}

.popup-notification.error {
  border-left: 4px solid #ef4444;
}

.popup-notification.warning {
  border-left: 4px solid #f59e0b;
}

.popup-notification.info {
  border-left: 4px solid #3b82f6;
}

/* ============================================
   RESPONSIVE DESIGN ENHANCEMENTS
   Mobile-First Approach with Tailwind CSS
   ============================================ */

/* ============================================
   1. TYPOGRAPHY RESPONSIVE SCALING
   ============================================ */

@media (max-width: 640px) {
  h1 {
    @apply text-2xl;
  }
  h2 {
    @apply text-xl;
  }
  h3 {
    @apply text-lg;
  }
  p {
    @apply text-base leading-relaxed;
  }
}

/* ============================================
   2. CONTAINER QUERIES & PADDING
   ============================================ */

.container-responsive {
  @apply px-4 sm:px-6 lg:px-8;
}

.container-responsive-lg {
  @apply px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto;
}

.container-responsive-xl {
  @apply px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto;
}

/* ============================================
   3. GRID RESPONSIVE LAYOUTS
   ============================================ */

/* Responsive 2-column to 1-column */
.grid-responsive-2 {
  @apply grid gap-4 sm:gap-6 md:grid-cols-2;
}

/* Responsive 3-column to 1-column */
.grid-responsive-3 {
  @apply grid gap-4 sm:gap-6 md:grid-cols-2 lg:grid-cols-3;
}

/* Responsive 4-column to 1-column */
.grid-responsive-4 {
  @apply grid gap-4 sm:gap-6 md:grid-cols-2 lg:grid-cols-4;
}

/* ============================================
   4. RESPONSIVE SPACING
   ============================================ */

.spacing-responsive {
  @apply p-4 sm:p-6 md:p-8 lg:p-10;
}

.spacing-responsive-lg {
  @apply p-6 sm:p-8 md:p-12 lg:p-16;
}

.gap-responsive {
  @apply gap-4 sm:gap-6 md:gap-8 lg:gap-10;
}

/* ============================================
   5. RESPONSIVE IMAGES
   ============================================ */

.image-responsive {
  @apply w-full h-auto;
}

.image-container-responsive {
  @apply relative w-full overflow-hidden rounded-lg;
}

.image-container-responsive > img {
  @apply w-full h-full object-cover;
}

/* ============================================
   6. RESPONSIVE BUTTONS
   ============================================ */

.btn-responsive {
  @apply px-4 py-2 sm:px-5 sm:py-2.5 text-sm sm:text-base;
}

.btn-responsive-lg {
  @apply px-6 py-3 sm:px-8 sm:py-4 text-base sm:text-lg;
}

/* ============================================
   7. RESPONSIVE FLEX LAYOUTS
   ============================================ */

.flex-responsive {
  @apply flex flex-col md:flex-row;
}

.flex-responsive-centered {
  @apply flex flex-col items-center justify-center md:flex-row md:items-start;
}

.flex-wrap-responsive {
  @apply flex flex-wrap gap-2 sm:gap-3 md:gap-4;
}

/* ============================================
   8. RESPONSIVE NAVIGATION
   ============================================ */

.nav-responsive {
  @apply flex flex-col sm:flex-row items-center gap-2 sm:gap-4;
}

.nav-responsive-center {
  @apply flex flex-col sm:flex-row items-center justify-center gap-2 sm:gap-4;
}

/* ============================================
   9. RESPONSIVE CARDS
   ============================================ */

.card-responsive {
  @apply rounded-lg sm:rounded-xl border shadow-sm hover:shadow-md transition-shadow p-4 sm:p-6;
}

.card-responsive-lg {
  @apply rounded-xl sm:rounded-2xl border shadow-sm hover:shadow-lg transition-shadow p-6 sm:p-8 md:p-10;
}

/* ============================================
   10. RESPONSIVE FORMS
   ============================================ */

.form-responsive {
  @apply w-full px-3 sm:px-4 py-2 sm:py-2.5 text-sm sm:text-base;
}

.form-group-responsive {
  @apply flex flex-col gap-2 sm:gap-3 mb-4 sm:mb-6;
}

/* ============================================
   11. TOUCH-FRIENDLY ELEMENTS
   ============================================ */

/* Minimum 44x44px for mobile touch targets */
.touch-target {
  @apply min-h-[44px] min-w-[44px] flex items-center justify-center;
}

/* ============================================
   12. RESPONSIVE TEXT
   ============================================ */

.text-responsive-sm {
  @apply text-sm sm:text-base;
}

.text-responsive-base {
  @apply text-base sm:text-lg;
}

.text-responsive-lg {
  @apply text-lg sm:text-xl md:text-2xl;
}

.text-responsive-xl {
  @apply text-xl sm:text-2xl md:text-3xl lg:text-4xl;
}

.text-responsive-2xl {
  @apply text-2xl sm:text-3xl md:text-4xl lg:text-5xl;
}

/* ============================================
   13. RESPONSIVE SECTIONS
   ============================================ */

.section-responsive {
  @apply mt-8 sm:mt-12 md:mt-16 lg:mt-20;
}

.section-padding-responsive {
  @apply py-8 sm:py-12 md:py-16 lg:py-20;
}

/* ============================================
   14. VISIBILITY UTILITIES
   ============================================ */

/* Show only on mobile (< 768px) */
.show-mobile {
  display: block;
}

@media (min-width: 768px) {
  .show-mobile {
    display: none;
  }
}

/* Hide on mobile (< 768px), show on desktop (768px+) */
.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
}

/* Show only on tablet (768px - 1024px) */
.show-tablet {
  display: none;
}

@media (min-width: 768px) {
  .show-tablet {
    display: block;
  }
}

@media (min-width: 1024px) {
  .show-tablet {
    display: none;
  }
}

/* Show only on desktop (1024px+) */
.show-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .show-desktop {
    display: block;
  }
}

/* ============================================
   15. RESPONSIVE ASPECT RATIOS
   ============================================ */

.aspect-video-responsive {
  @apply aspect-video w-full;
}

.aspect-square-responsive {
  @apply aspect-square w-full;
}

/* ============================================
   16. UTILITIES FOR MOBILE OPTIMIZATION
   ============================================ */

/* Prevent text zoom on mobile when focusing input */
input,
textarea,
select {
  font-size: 16px;
}

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

/* ============================================
   17. RESPONSIVE Z-INDEX MANAGEMENT
   ============================================ */

.z-dropdown {
  @apply z-40;
}

.z-modal {
  @apply z-50;
}

.z-toast {
  @apply z-50;
}

/* ============================================
   18. OPTIMIZE FOR DIFFERENT DEVICES
   ============================================ */

/* Mobile devices (portrait) */
@media (max-width: 640px) {
  /* Stack everything vertically */
  .device-sm\:flex-col {
    @apply flex-col;
  }

  /* Reduce shadows on mobile for performance */
  .shadow-sm,
  .shadow,
  .shadow-md {
    @apply shadow-sm;
  }
}

/* ============================================
   19. HERO IMAGE OVERLAY ANIMATIONS
   ============================================ */

@keyframes hero-shine-move {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* Add a subtle moving sheen over images */
.shine-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shine-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: rgba(255,255,255,0);
  filter: blur(2px);
  transform: skewX(-15deg);
  animation: hero-shine-move 6s linear infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-dot {
  position: absolute;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.35); /* emerald-500 with opacity */
  pointer-events: none;
  animation: float-y 7s ease-in-out infinite;
}

.float-dot-sm { width: 8px; height: 8px; }
.float-dot-md { width: 12px; height: 12px; animation-duration: 8.5s; }
.float-dot-lg { width: 18px; height: 18px; animation-duration: 10s; background: rgba(203,28,141, 0.30); }

/* ============================================
   BUTTON AND LINK CTA THEME
   ============================================ */

:root {
  /* Brand theme */
  --bg-main:    #FFF8EC;
  --bg-soft:    #F3EAD8;
  --primary:    #0B3D2E;
  --primary-2:  #2F5D50;
  --accent:     #FF5F00;
  --accent-dark:#D94800;
  --text-main:  #101714;
  --text-muted: #56615C;
  --border:     #D8CDB8;
  --success:    #3A7D44;
  --urgent:     #C1121F;
  --white:      #FFFFFF;

  /* CTA aliases (kept for backward compat) */
  --hog-cta-orange:       var(--accent);
  --hog-cta-orange-hover: var(--accent-dark);
  --hog-cta-white:        var(--white);
  --hog-cta-soft:         #fff7f0;
  --hog-cta-border:       rgba(255, 95, 0, 0.28);
  --hog-cta-shadow:       rgba(255, 95, 0, 0.32);
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
}

a.ed-cta,
button.ed-cta,
a.auth-btn,
button.auth-btn,
a.sponsor-btn,
button.sponsor-btn,
a.payment-tab.active,
button.payment-tab.active,
a.campaign-payment-tab.active,
button.campaign-payment-tab.active,
a.bg-cta-500,
button.bg-cta-500,
a[class*="bg-green-"][class*="text-white"],
button[class*="bg-green-"][class*="text-white"],
a[class*="bg-emerald-"][class*="text-white"],
button[class*="bg-emerald-"][class*="text-white"],
a[class*="bg-amber-"][class*="text-white"],
button[class*="bg-amber-"][class*="text-white"],
a[class*="bg-rose-"][class*="text-white"],
button[class*="bg-rose-"][class*="text-white"],
a[class*="bg-pink-"][class*="text-white"],
button[class*="bg-pink-"][class*="text-white"],
a[class*="bg-teal-"][class*="text-white"],
button[class*="bg-teal-"][class*="text-white"],
a[class*="bg-blue-"][class*="text-white"],
button[class*="bg-blue-"][class*="text-white"],
button[data-selected="true"][data-amount],
button[data-selected="true"][data-quick-amount],
button.quick-amount-btn[data-selected="true"],
button.quick-amt-btn[data-selected="true"] {
  background: var(--hog-cta-orange) !important;
  background-image: none !important;
  border-color: var(--hog-cta-orange) !important;
  color: var(--hog-cta-white) !important;
  box-shadow: 0 14px 32px -14px var(--hog-cta-shadow) !important;
}

a.ed-cta:hover,
button.ed-cta:hover,
a.auth-btn:hover,
button.auth-btn:hover,
a.sponsor-btn:hover,
button.sponsor-btn:hover,
a.payment-tab.active:hover,
button.payment-tab.active:hover,
a.campaign-payment-tab.active:hover,
button.campaign-payment-tab.active:hover,
a.bg-cta-500:hover,
button.bg-cta-500:hover,
a[class*="bg-green-"][class*="text-white"]:hover,
button[class*="bg-green-"][class*="text-white"]:hover,
a[class*="bg-emerald-"][class*="text-white"]:hover,
button[class*="bg-emerald-"][class*="text-white"]:hover,
a[class*="bg-amber-"][class*="text-white"]:hover,
button[class*="bg-amber-"][class*="text-white"]:hover,
a[class*="bg-rose-"][class*="text-white"]:hover,
button[class*="bg-rose-"][class*="text-white"]:hover,
a[class*="bg-pink-"][class*="text-white"]:hover,
button[class*="bg-pink-"][class*="text-white"]:hover,
a[class*="bg-teal-"][class*="text-white"]:hover,
button[class*="bg-teal-"][class*="text-white"]:hover,
a[class*="bg-blue-"][class*="text-white"]:hover,
button[class*="bg-blue-"][class*="text-white"]:hover,
button[data-selected="true"][data-amount]:hover,
button[data-selected="true"][data-quick-amount]:hover,
button.quick-amount-btn[data-selected="true"]:hover,
button.quick-amt-btn[data-selected="true"]:hover {
  background: var(--hog-cta-orange-hover) !important;
  background-image: none !important;
  border-color: var(--hog-cta-orange-hover) !important;
  color: var(--hog-cta-white) !important;
}

a.cta-card,
a.family-action-card,
a.orphan-action-card,
a[class*="bg-green-50"][class*="border"],
button[class*="bg-green-50"][class*="border"],
a[class*="bg-emerald-50"][class*="border"],
button[class*="bg-emerald-50"][class*="border"] {
  background: var(--hog-cta-white) !important;
  background-image: none !important;
  border-color: var(--hog-cta-border) !important;
  color: var(--hog-cta-orange) !important;
}

a.cta-card:hover,
a.family-action-card:hover,
a.orphan-action-card:hover,
a[class*="bg-green-50"][class*="border"]:hover,
button[class*="bg-green-50"][class*="border"]:hover,
a[class*="bg-emerald-50"][class*="border"]:hover,
button[class*="bg-emerald-50"][class*="border"]:hover {
  background: var(--hog-cta-white) !important;
  border-color: var(--hog-cta-orange) !important;
  box-shadow: 0 18px 40px -24px var(--hog-cta-shadow) !important;
}

a.cta-card .cta-icon,
a.family-action-card .cta-icon,
a.orphan-action-card .cta-icon {
  background: var(--hog-cta-soft) !important;
  color: var(--hog-cta-orange) !important;
}

a.cta-card .cta-arrow,
a.family-action-card .cta-arrow,
a.orphan-action-card .cta-arrow {
  color: var(--hog-cta-orange) !important;
}

a.cta-card::before {
  background: rgba(255, 95, 0, 0.1) !important;
}

a.cta-card::after {
  box-shadow: 0 0 0 0 rgba(255, 95, 0, 0.35) !important;
}

a.sponsor-btn:hover,
button.sponsor-btn:hover {
  box-shadow: 0 14px 30px -8px var(--hog-cta-shadow) !important;
}

/* Tablets (landscape) */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Optimize grid layouts for tablets */
  .grid-responsive-3 {
    @apply md:grid-cols-2;
  }

  .grid-responsive-4 {
    @apply md:grid-cols-2;
  }
}

/* Desktop devices */
@media (min-width: 1024px) {
  /* Use full width capabilities */
  .container-responsive {
    @apply max-w-7xl mx-auto;
  }
}
