/* Practice Areas tiles - gold text, minimal shading */

/* Remove the solid navy background from card itself */
#practice .pa-card {
    background-color: transparent !important;
    background: transparent !important;
}

/* Give the text container a very subtle dark backdrop - just enough for gold text readability */
#practice .pa-card-front .absolute.bottom-0 {
    background: rgba(0, 0, 0, 0.35) !important;
    background-color: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

/* Replace heavy navy gradient with a lighter one */
#practice .pa-card-front > div[class*="bg-gradient"] {
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 40%, transparent 60%) !important;
    background-image: linear-gradient(to top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 40%, transparent 60%) !important;
}

/* Gold text */
#practice .pa-card-front h3 {
    color: #c9973f !important;
    font-size: clamp(16px, 2.5vw, 27px) !important;
    text-shadow:
        0 1px 2px rgba(0,0,0,0.7),
        0 0 6px rgba(0,0,0,0.4) !important;
    letter-spacing: 0.05em;
}

/* Back card text */
#practice .pa-card-back p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Mobile: Blue bar at bottom, gold text above it */
/* Mobile: Blue bar at bottom, gold text above it */
/* Mobile: Blue bar at bottom, gold text above it */
/* Mobile: Blue bar at bottom, gold text above it */
@media (max-width: 768px) {
  /* Make the card a flex column container */
  body #practice .pa-card.pa-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }

  body #practice .pa-card-inner {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Make front take up available space */
  body #practice .pa-card-front {
    position: relative !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  /* Image stays at top, relative positioning */
  body #practice .pa-card-front > img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
  }

  /* Hide the gradient overlay on mobile */
  body #practice .pa-card-front > div[class*="bg-gradient"] {
    display: none !important;
  }

  /* Gold text container - sits below image, above blue bar */
  body #practice .pa-card-front .absolute.bottom-0 {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    background: #0e2759 !important;
    background-color: #0e2759 !important;
    padding: 8px 12px 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Gold text styling */
  body #practice .pa-card-front h3 {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    font-size: clamp(16px, 4.5vw, 20px) !important;
    line-height: 1.3 !important;
  }

  /* Hide the small divider in the text container */
  body #practice .pa-card-front .absolute.bottom-0 > div {
    display: none !important;
  }

  /* Blue bar at bottom of each card via ::after */
  body #practice .pa-card.pa-card::after {
    content: '' !important;
    display: block !important;
    width: 100% !important;
    height: 18px !important;
    background: #0e2759 !important;
    flex-shrink: 0 !important;
  }
}