@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap");

.ead-root,
.ead-root *,
.ead-root *::before,
.ead-root *::after {
  box-sizing: border-box;
}

.ead-root {
  --ead-bg: #121212;
  --ead-bg-card: #1a1a1a;
  --ead-bg-secondary: #262626;
  --ead-bg-soft: #171717;
  --ead-text: #f2f2f2;
  --ead-text-soft: #cfcfcf;
  --ead-text-muted: #8c8c8c;
  --ead-primary: #8b1a1a;
  --ead-primary-light: #a32929;
  --ead-border: #2e2e2e;
  --ead-border-soft: rgba(255, 255, 255, 0.08);
  --ead-border-strong: rgba(255, 255, 255, 0.14);
  --ead-radius: 18px;
  --ead-radius-lg: 24px;
  --ead-shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.28);
  --ead-shadow-glow: 0 28px 60px rgba(0, 0, 0, 0.34);
  --ead-shadow-premium: 0 22px 60px rgba(6, 6, 8, 0.52);
  --ead-surface-card: linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(18, 18, 18, 0.94));
  --ead-surface-hero: linear-gradient(180deg, #171717 0%, #101010 100%);

  color: var(--ead-text);
  font-family: "Inter", sans-serif;
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(139, 26, 26, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(180deg, #0d0d0f 0%, #141416 40%, #101012 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  -webkit-font-smoothing: antialiased;
}

.ead-root h1,
.ead-root h2,
.ead-root h3,
.ead-root h4,
.ead-root h5,
.ead-root h6 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ead-root p {
  margin: 0;
}

.ead-root button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
}

.ead-root iframe {
  width: 100%;
  border: 0;
  display: block;
}

.ead-root svg {
  display: block;
}

.ead-root .container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ead-root .header {
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ead-root .header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ead-root .logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ead-root .logo-primary {
  color: var(--ead-primary);
}

.ead-root .logo-text {
  color: var(--ead-text);
}

.ead-root .header-subtitle {
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  color: rgba(249, 240, 240, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.ead-root .ead-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 4.75rem 0 3.75rem;
  background:
    linear-gradient(to right, rgba(7, 7, 9, 0.38) 0%, rgba(7, 7, 9, 0.12) 44%, rgba(7, 7, 9, 0.26) 100%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.08), rgba(10, 10, 12, 0.18)),
    radial-gradient(circle at 74% 20%, rgba(139, 26, 26, 0.14), transparent 24%),
    url("../assets/ead-hero-ring.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--ead-shadow-premium);
  margin-bottom: 22px;
}

.ead-root .ead-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  mix-blend-mode: screen;
  opacity: 0.34;
  z-index: 0;
}

.ead-root .ead-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 4, 6, 0.04), rgba(4, 4, 6, 0.1)),
    radial-gradient(circle at 18% 58%, rgba(0, 0, 0, 0.2), transparent 34%),
    radial-gradient(circle at 86% 54%, rgba(0, 0, 0, 0.16), transparent 28%);
  z-index: 1;
}

.ead-root .ead-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 28px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.ead-root .ead-hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding-right: 1.25rem;
}

.ead-root .ead-hero h1 {
  max-width: 11ch;
  font-family: "Inter", sans-serif;
  font-size: clamp(2.95rem, 4.7vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

.ead-root .ead-hero p {
  color: rgba(245, 243, 243, 0.9);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.55;
  max-width: 420px;
}

.ead-root .ead-hero .logo {
  margin-bottom: 1.75rem;
  font-size: clamp(1.7rem, 2vw, 2rem);
}

.ead-root .text-gradient {
  background: none;
  color: #d1343d;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 12px 24px rgba(139, 26, 26, 0.16);
}

.ead-root .stats {
  display: grid;
  gap: 12px;
  align-self: end;
  justify-self: end;
  width: min(100%, 320px);
  margin-right: -12px;
}

.ead-root .stat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ead-root .stat:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.ead-root .stat-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.78);
  flex: 0 0 auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ead-root .stat-icon svg {
  width: 20px;
  height: 20px;
}

.ead-root .stat-value {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.55rem, 1.8vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.ead-root .stat-label {
  font-size: 0.86rem;
  color: rgba(247, 241, 241, 0.84);
}

.ead-root .access-strip {
  margin-bottom: 30px;
}

.ead-root .access-box {
  position: relative;
  overflow: hidden;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(17, 17, 17, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--ead-shadow-soft);
}

.ead-root .access-box::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #b11e25 0%, #6d0e13 100%);
}

.ead-root .access-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ead-root .access-box span {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
}

.ead-root .courses-section {
  padding: 0 0 2.8rem;
  margin-top: 14px;
}

.ead-root .section-title {
  font-size: clamp(1.65rem, 2vw, 2.15rem);
  font-weight: 700;
  margin-bottom: 1.9rem;
  letter-spacing: 0.03em;
}

.ead-root .courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.ead-root .course-card {
  width: 100%;
  text-align: left;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.94), rgba(16, 16, 17, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.ead-root .course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(177, 30, 37, 0.08);
  background: linear-gradient(180deg, rgba(30, 30, 31, 0.98), rgba(16, 16, 17, 0.98));
}

.ead-root .card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 20% 20%, rgba(177, 30, 37, 0.28), transparent 26%),
    linear-gradient(135deg, #181818 0%, #151515 48%, #121212 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ead-root .emoji {
  font-size: 3.6rem;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.26));
  position: relative;
  z-index: 1;
}

.ead-root .card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0));
  opacity: 0.78;
}

.ead-root .card-thumb-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
}

.ead-root .card-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ead-primary), var(--ead-primary-light));
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.ead-root .check-complete {
  width: 22px;
  height: 22px;
  color: #22c55e;
}

.ead-root .check-complete svg {
  width: 22px;
  height: 22px;
}

.ead-root .card-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.18);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 2;
}

.ead-root .course-card:hover .card-play-overlay {
  opacity: 1;
}

.ead-root .play-btn-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ead-primary), var(--ead-primary-light));
  color: #fff;
  box-shadow: 0 18px 34px rgba(139, 26, 26, 0.34);
}

.ead-root .play-btn-circle svg {
  width: 26px;
  height: 26px;
}

.ead-root .card-body {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.ead-root .card-title {
  font-size: 1.22rem;
  line-height: 1.2;
}

.ead-root .card-desc {
  color: rgba(239, 234, 234, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  min-height: 58px;
}

.ead-root .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--ead-text-muted);
  font-size: 0.8rem;
}

.ead-root .progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.ead-root .progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ead-primary), var(--ead-primary-light));
  transition: width 0.25s ease;
}

.ead-root .empty-panel {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.96), rgba(16, 16, 16, 0.98));
  color: rgba(239, 234, 234, 0.82);
  line-height: 1.7;
  box-shadow: var(--ead-shadow-soft);
}

.ead-root .footer {
  border-top: 1px solid var(--ead-border);
  padding: 2rem 0 0;
  margin-top: 1rem;
}

.ead-root .footer p {
  font-family: "Oswald", sans-serif;
  font-size: 0.875rem;
  color: var(--ead-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
}

/* CURSO */
.ead-root .course-header {
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ead-border);
  margin-bottom: 16px;
}

.ead-root .course-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ead-root .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--ead-border-soft);
  background: rgba(255,255,255,0.05);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ead-root .back-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--ead-border-strong);
  transform: translateY(-1px);
}

.ead-root .back-btn svg {
  width: 16px;
  height: 16px;
}

.ead-root .divider {
  width: 1px;
  height: 18px;
  background: var(--ead-border);
}

.ead-root .course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.ead-root .video-area {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.ead-root .course-hero-box,
.ead-root .video-card,
.ead-root .sidebar-inner,
.ead-root .detail-card {
  border: 1px solid var(--ead-border);
  background: var(--ead-surface-card);
  box-shadow: var(--ead-shadow-soft);
}

.ead-root .course-hero-box {
  padding: 20px;
  border-radius: 22px;
  display: grid;
  gap: 10px;
}

.ead-root .course-hero-box p {
  color: var(--ead-text-soft);
  line-height: 1.7;
}

.ead-root .course-hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--ead-text-muted);
  font-size: 0.84rem;
}

.ead-root .video-card {
  border-radius: 22px;
  overflow: hidden;
}

.ead-root .video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.ead-root .video-player.video-embed iframe {
  width: 100%;
  height: 100%;
  background: #000;
}

.ead-root .video-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1b1b1b, #0d0d0d);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ead-root .video-empty-center {
  text-align: center;
  padding: 24px;
}

.ead-root .video-empty-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ead-text-muted);
  margin-bottom: 12px;
}

.ead-root .video-empty-icon svg {
  width: 64px;
  height: 64px;
}

.ead-root .video-empty-text {
  color: var(--ead-text-muted);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ead-root .video-info {
  padding: 16px 18px 18px;
  display: grid;
  gap: 12px;
}

.ead-root .video-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ead-root .meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.ead-root .meta-pill.primary {
  background: linear-gradient(135deg, var(--ead-primary), var(--ead-primary-light));
  color: #fff;
}

.ead-root .meta-pill.ghost {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}

.ead-root .video-info h2 {
  font-size: 1.3rem;
  line-height: 1.15;
}

.ead-root .video-info p {
  color: var(--ead-text-soft);
  line-height: 1.7;
}

.ead-root .action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ead-root .mark-done {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ead-primary), var(--ead-primary-light));
  color: #fff;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 12px 28px rgba(139, 26, 26, 0.18);
}

.ead-root .mark-done:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(176, 22, 40, 0.24);
}

.ead-root .mark-done svg {
  width: 18px;
  height: 18px;
}

.ead-root .provider-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.ead-root .detail-card {
  padding: 16px 18px;
  border-radius: 22px;
}

.ead-root .ead-detail-tabs {
  display: grid;
  gap: 12px;
}

.ead-root .ead-detail-tab-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ead-root .ead-detail-tab-btn {
  padding: 9px 12px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ead-text-soft);
  font-weight: 700;
}

.ead-root .ead-detail-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--ead-border-strong);
}

.ead-root .ead-detail-tab-panel {
  display: none;
}

.ead-root .ead-detail-tab-panel.active {
  display: block;
}

.ead-root .ead-detail-box {
  padding: 16px 18px;
  border-top: 1px solid var(--ead-border-strong);
  background: #f5f5f5;
  color: #141821;
  line-height: 1.75;
  min-height: 140px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}

.ead-root .sidebar {
  width: 100%;
}

.ead-root .sidebar-inner {
  padding: 16px;
  border-radius: 22px;
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.ead-root .sidebar-title {
  font-size: 1.2rem;
}

.ead-root .sidebar-subtitle {
  color: var(--ead-text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.ead-root .lesson-list {
  display: grid;
  gap: 12px;
}

.ead-root .week-group {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ead-border-soft);
  background: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.ead-root .week-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  text-align: left;
  background: linear-gradient(180deg, #f5f5f5 0%, #ececec 100%);
  color: #131722;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ead-root .week-toggle-left {
  display: grid;
  gap: 4px;
}

.ead-root .week-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ead-primary), var(--ead-primary-light));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.ead-root .week-meta {
  font-size: 1rem;
  color: var(--ead-primary);
  font-weight: 800;
}

.ead-root .week-count {
  color: #505a6d;
  font-size: 0.78rem;
}

.ead-root .week-chevron {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  color: #1a2436;
}

.ead-root .week-chevron svg {
  width: 18px;
  height: 18px;
}

.ead-root .week-group.open .week-chevron {
  transform: rotate(180deg);
}

.ead-root .week-panel {
  display: none;
  background: linear-gradient(180deg, #05070c 0%, #0a0d14 100%);
}

.ead-root .week-group.open .week-panel {
  display: block;
}

.ead-root .week-summary,
.ead-root .week-notes {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.ead-root .week-summary strong,
.ead-root .week-notes strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.92rem;
}

.ead-root .week-summary p,
.ead-root .week-notes p {
  color: #d2d8e3;
  font-size: 0.9rem;
  line-height: 1.7;
}

.ead-root .week-lessons {
  display: grid;
  background: linear-gradient(180deg, #05070c 0%, #0a0d14 100%);
}

.ead-root .lesson-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: left;
  background: transparent;
  transition: background 0.18s ease;
}

.ead-root .lesson-item:hover,
.ead-root .lesson-item.active {
  background: rgba(255,255,255,0.04);
}

.ead-root .lesson-item.active {
  box-shadow: inset 3px 0 0 var(--ead-primary-light);
}

.ead-root .lesson-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ead-root .lesson-icon svg {
  width: 22px;
  height: 22px;
}

.ead-root .lesson-content {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ead-root .lesson-title {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
}

.ead-root .lesson-duration {
  font-size: 0.82rem;
  color: #f4f7fb;
  white-space: nowrap;
  flex: 0 0 auto;
}

.ead-root .lesson-empty {
  padding: 14px 16px;
  color: var(--ead-text-soft);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.ead-root .animate-fade-in {
  animation: eadFadeIn 0.5s ease-out both;
  opacity: 0;
}

@keyframes eadFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ead-root .course-card:focus-visible,
.ead-root .back-btn:focus-visible,
.ead-root .week-toggle:focus-visible,
.ead-root .lesson-item:focus-visible,
.ead-root .mark-done:focus-visible,
.ead-root .ead-detail-tab-btn:focus-visible {
  outline: 2px solid rgba(163, 41, 41, 0.9);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .ead-root .course-layout {
    grid-template-columns: 1fr;
  }

  .ead-root .sidebar-inner {
    position: static;
    max-height: none;
  }
}

@media (max-width: 980px) {
  .ead-root .ead-hero-content {
    grid-template-columns: 1fr;
  }

  .ead-root .ead-hero {
    padding: 3.2rem 0 2.7rem;
    background-position: center top;
  }

  .ead-root .ead-hero h1 {
    max-width: 12ch;
  }

  .ead-root .stats {
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 760px) {
  .ead-root {
    padding: 12px;
    border-radius: 22px;
  }

  .ead-root .container {
    padding: 0 1rem;
  }

  .ead-root .header-subtitle {
    display: none;
  }

  .ead-root .ead-hero {
    padding: 2.6rem 0 2.2rem;
    border-radius: 24px;
    background-position: center top;
  }

  .ead-root .ead-hero::before {
    opacity: 0.42;
  }

  .ead-root .ead-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3rem);
    max-width: 10ch;
  }

  .ead-root .ead-hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .ead-root .courses-grid {
    grid-template-columns: 1fr;
  }

  .ead-root .stat {
    min-height: 88px;
    padding: 18px;
  }

  .ead-root .access-box span {
    font-size: 1.05rem;
  }

  .ead-root .lesson-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .ead-root .video-info h2 {
    font-size: 1.15rem;
  }
}
