/* === Learn-Specific Styles ================================================ */
/* Shared styles are in /shared/session.css */

/* --- Sentence Banner ------------------------------------------------------ */

.sentence-banner {
  background: var(--brand-primary-light);
  border-left: 4px solid var(--brand-primary);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  width: 100%;
  max-width: 500px;
  text-align: left;
}

.sentence-banner-text {
  font-size: 0.95rem;
  font-style: italic;
  color: #333;
  margin-bottom: 4px;
}

.sentence-banner-gloss {
  font-size: 0.8rem;
  color: #888;
}

.banner-animate {
  animation: banner-slide-in 0.3s ease-out;
}

@keyframes banner-slide-in {
  0%   { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- Study Card (extends word-card with inline GIF) ----------------------- */

.study-card {
  cursor: default;
  min-height: 280px;
}

.study-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* --- Study GIF Container -------------------------------------------------- */

.study-gif-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.study-gif-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.study-gif {
  max-width: 100%;
  max-height: 320px;
  border-radius: 8px;
  object-fit: contain;
  background: #fafafa;
}

/* --- Studied Count (summary) ---------------------------------------------- */

.studied-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px;
  border-radius: 12px;
  background: #e8f5e9;
  min-width: 100px;
}

/* --- Responsive (learn-specific) ------------------------------------------ */

@media (max-width: 480px) {
  .study-gif {
    max-height: 240px;
  }

  .sentence-banner {
    padding: 10px 12px;
  }

  .study-card {
    min-height: 220px;
  }
}
