/* ===== Layout ===== */
/* ================= LearnCenter Header ================= */

.lc-header {
  width: 100%;
  background: #F9F3DD;
  padding: 12px 0;
  border-bottom: 1px solid #D8D5C4;
}

.lc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lc-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lc-logo {
  width: 48px;        /* 🔑 THIS fixes the giant logo */
  height: 48px;
  object-fit: contain;
}

.lc-app-name {
  font-size: 20px;
  font-weight: 700;
  color: #2A2356;
}

.lc-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lc-nav a {
  text-decoration: none;
  font-size: 15px;
  color: #2A2356;
  font-weight: 500;
}

.lc-nav a:hover {
  text-decoration: underline;
}

.lc-signout-btn {
  background: #2F9E73;
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
}

.lc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.lc-intro h1 {
  margin-bottom: 8px;
}

.lc-intro p {
  color: #666;
}

/* ===== Category ===== */
/* Category divider */
.lc-category:not(:first-of-type) {
  position: relative;
  margin-top: 12px;
  padding-top: 24px;
}

.lc-category:not(:first-of-type)::before {
  content: "";
  display: block;
  width: 100%;             
  height: 3px;              
  background: linear-gradient(
    90deg,
    #4f6ef7,
    #7b8cff
  );

  border-radius: 999px;
  margin-bottom: 12px;
}

/* ===== Grid ===== */
.lc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .lc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .lc-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Card ===== */
.lc-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.lc-card.placeholder {
  border: 2px dashed #dcdcdc;
  background: #fafafa;
  box-shadow: none;
}
  .lc-card.placeholder .lc-card-image {
  opacity: 0.85;
}
  
.lc-card.placeholder h3 {
  color: #666;
}
/* ===== Image ===== */
.lc-card-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ===== Body ===== */
.lc-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lc-card-body h3 {
  font-size: 16px;
  margin: 0;
}

.lc-desc {
  font-size: 14px;
  color: #555;
}

.lc-desc.muted {
  color: #888;
}

/* ===== Actions ===== */
.lc-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.lc-btn {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  text-align: center;
}

.lc-btn.primary {
  background: #4f6ef7;
  color: #fff;
}

.lc-btn.disabled {
  background: #e5e5e5;
  color: #999;
  cursor: not-allowed;
}

/* ===============================
   Course Detail Page
   =============================== */

.lc-course-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

/* ===== Hero Section ===== */

.lc-course-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.lc-course-hero-text h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.lc-course-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 24px;
}

.lc-course-hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ===== Buttons ===== */

.lc-btn-primary,
.lc-btn-secondary {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
}

.lc-btn-primary {
  background: #4f6ef7;
  color: #fff;
}

.lc-btn-primary:hover {
  background: #3f5ce0;
}

.lc-btn-secondary {
  background: #f1f3f7;
  color: #333;
  margin-right: 12px;
}

.lc-btn-secondary:hover {
  background: #e6e9f2;
}

/* ===== Content Sections ===== */

.lc-course-section {
  margin-bottom: 56px;
}

.lc-course-section h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

/* ===== Learn List ===== */

.lc-learn-list {
  list-style: disc;
  padding-left: 20px;
  color: #444;
}

.lc-learn-list li {
  margin-bottom: 10px;
}

/* ===== Note ===== */

.lc-course-note {
  background: #fafafa;
  border-left: 4px solid #4f6ef7;
  padding: 16px 20px;
  color: #666;
  font-size: 14px;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .lc-course-hero {
    grid-template-columns: 1fr;
  }

  .lc-course-hero-text h1 {
    font-size: 30px;
  }
 
}

   /* Hide coming-soon placeholder cards */
.lc-card.placeholder {
  display: none;
}