/* Course discussion — web shell */

html.edu-view-web .edu-web-content .edu-page-discuss {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-page-hero {
  margin: 0 0 18px;
  padding: 24px 28px;
  border-radius: 22px;
  border: 1px solid rgba(13, 27, 62, 0.1);
  background:
    radial-gradient(circle at 88% 8%, rgba(11, 20, 38, 0.12), transparent 44%),
    linear-gradient(155deg, #f8f9fc 0%, #fff 52%, #fafbff 100%);
  box-shadow: 0 16px 40px rgba(13, 27, 62, 0.08);
  color: #000000;
  flex-wrap: wrap;
  align-items: center;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-page-hero__back {
  background: #fff;
  border: 1px solid #e8edf5;
  color: #0B1426;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-page-hero__badge {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 20, 38, 0.18);
  color: #0B1426;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-page-hero h1 {
  color: #000000;
  font-size: 26px;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-page-hero p {
  color: #6b7280;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-page-hero__course {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-page-hero__course:hover {
  border-color: rgba(11, 20, 38, 0.22);
  color: #0B1426;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-tabs {
  padding: 0 0 16px;
  flex-wrap: wrap;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-tabs__btn--community {
  margin-inline-start: auto;
  border-color: #dbeafe;
  color: #1d4ed8;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-tabs__btn--community.is-active,
html.edu-view-web .edu-web-content .edu-page-discuss .discuss-tabs__btn--community:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  border-color: transparent;
  color: #fff;
}

html.edu-view-web .edu-web-content .edu-page-discuss .discuss-panel {
  margin: 0;
  border-radius: 20px;
  border-color: #e8edf5;
  box-shadow: 0 10px 30px rgba(13, 27, 62, 0.06);
}

html.edu-view-web .edu-web-content .edu-page-discuss {
  padding-bottom: 32px;
}

.discuss-page-hero__copy {
  flex: 1;
  min-width: 0;
}

.discuss-page-hero__course {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #D8DEE8;
  background: #fff;
  color: #152238;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.discuss-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.discuss-page-hero__back .edu-inline-icon-svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  html.edu-view-web .edu-web-content .edu-page-discuss .discuss-page-hero {
    padding: 18px 16px;
  }

  html.edu-view-web .edu-web-content .edu-page-discuss .discuss-page-hero__course {
    width: 100%;
    margin-inline-start: 0;
    justify-content: center;
  }

  html.edu-view-web .edu-web-content .edu-page-discuss .discuss-tabs__btn--community {
    margin-inline-start: 0;
  }
}
