
.course-hero {
  background:
    linear-gradient(135deg, rgba(31, 41, 55, 0.92), rgba(31, 41, 55, 0.78)),
    radial-gradient(circle at top left, rgba(239, 64, 68, 0.32), transparent 38%);
  color: #fff;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.hero-text {
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 850px;
  margin-bottom: 0;
}

.hero-chip,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0.2rem 0.35rem 0.2rem 0;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.info-card,
.student-card,
.summary-card,
.schedule-card,
.book-card,
.week-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 1.15rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  height: 100%;
}

.summary-card,
.schedule-card,
.week-card {
  padding: 1.35rem;
}

.info-card .card-body,
.student-card .card-body,
.book-card .card-body {
  padding: 1.25rem;
}

.metric-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ibero-red);
  line-height: 1;
}

.metric-label {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.mini-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--navy-soft);
}

.soft-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--text-soft);
}

.soft-list li + li {
  margin-top: 0.38rem;
}

.accent-box {
  background: var(--soft-gray);
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 1rem 1.05rem;
}

.student-card {
  min-height: 210px;
}

.student-card .card-body {
  min-height: 210px;
}

.student-semester {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(239, 64, 68, 0.1);
  color: #b42326;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.student-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.1rem;
}

.schedule-toolbar {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.schedule-search {
  max-width: 380px;
  width: 100%;
}

.week-card + .week-card {
  margin-top: 1rem;
}

.week-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.week-title-wrap {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
}

.week-index {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(239, 64, 68, 0.12);
  color: #b42326;
  font-size: 0.95rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.week-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.week-range {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.session-item {
  border: 1px solid var(--border-soft);
  border-radius: 0.95rem;
  padding: 0.95rem;
  background: #fbfbfc;
  height: 100%;
}

.session-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ibero-red);
  margin-bottom: 0.35rem;
}

.session-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.session-meta .badge {
  font-weight: 600;
}

.session-description {
  color: var(--text-soft);
  margin-bottom: 0.85rem;
  line-height: 1.4;
  min-height: 4.4rem;
}

.schedule-empty {
  display: none;
  padding: 1rem 1.15rem;
  border: 1px dashed #c7ccd4;
  border-radius: 1rem;
  color: var(--text-soft);
  background: #fafafa;
}

.book-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.book-card p {
  color: var(--text-soft);
  margin-bottom: 0;
}

@media (max-width: 991.98px) {

  .schedule-toolbar {
    align-items: stretch;
  }

  .schedule-search {
    max-width: none;
  }

  .week-header {
    align-items: flex-start;
  }
}
