/* ==========================================================================
   /course-plus-portal/ (templates/accounts/course_plus_portal.html): live's Course Plus portal, its own teal
   colour, as a signed-out visitor sees it (inactive buttons in grey, as live greys them).
   ========================================================================== */
.page-course-plus { --c-cplus: #28827d; }

.cplus-hero { background: var(--c-cplus); color: var(--c-white); }
.cplus-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}
.cplus-hero__text { flex: 0 1 50%; }
.cplus-hero__text h1 { margin: 0 0 20px; font-size: 48px; line-height: 1.1; font-weight: var(--fw-extrabold); }
.cplus-hero__text p { max-width: 700px; margin: 0 0 30px; color: #dff4f3; font-size: 16px; line-height: 1.6; }
.cplus-hero__login { flex: 0 1 34%; }
.cplus-hero__login h2 { margin: 0 0 20px; font-size: 20px; font-weight: var(--fw-semibold); }
.cplus-login { display: flex; flex-direction: column; gap: 10px; }
.cplus-login input { padding: 10px; border: 0; border-radius: 6px; font: inherit; font-size: 14px; }
.cplus-login input:disabled { background: rgba(255, 255, 255, 0.85); cursor: not-allowed; }
.cplus-hero__icons { display: flex; justify-content: space-between; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.cplus-hero__icons li { flex: 1 1 0; text-align: center; font-size: 15px; line-height: 1.2; }
.cplus-hero__icons img { display: block; width: 50px; height: 50px; margin: 0 auto 8px; padding: 8px; border: 1px solid var(--c-white); border-radius: 50%; }

.cplus-button {
  display: inline-block;
  padding: 12px 28px;
  border: 0;
  border-radius: 6px;
  background: #f37021;
  color: var(--c-white);
  font: inherit;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  cursor: pointer;
}
.cplus-button:hover { background: #d45e1a; color: var(--c-white); }
.cplus-button:disabled { background: lightgrey; color: #000; cursor: not-allowed; opacity: 0.8; }

.cplus-sections { max-width: var(--content-width); margin: 0 auto; padding: 40px var(--gutter); }
.cplus-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 6px;
  background: var(--c-white);
  box-shadow: 0 0 5px lightgrey;
}
.cplus-box__icon { flex: 0 0 170px; width: 170px; height: auto; margin: 0 40px; object-fit: contain; }  /* live: 170px in 250px */
.cplus-box__body { display: flex; flex-direction: column; gap: 10px; }
.cplus-box__body h2 { margin: 0; color: var(--c-cplus); font-weight: var(--fw-bold); }
.cplus-box__body p { margin: 0; }
.cplus-box__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cplus-box__buttons .cplus-button:only-child { width: 300px; max-width: 100%; }

@media (max-width: 900px) {
  .cplus-hero__inner { flex-direction: column; align-items: stretch; padding: 32px 20px 48px; text-align: center; }
  .cplus-hero__text h1 { font-size: 36px; }
  .cplus-hero__text p { margin-inline: auto; }
}
@media (max-width: 760px) {
  .cplus-hero__text .cplus-button { display: none; }  /* no ACCESS NOW on mobile (owner, 2026-12-03) */
  .cplus-hero__text p { margin-bottom: 0; }
  .cplus-hero__login h2 { display: none; }  /* nor "Sign in to access your digital learning" (owner, 2026-12-03) */
  .cplus-box { flex-direction: column; text-align: center; }
  .cplus-box__icon { display: none; }
  .cplus-box__buttons { justify-content: center; }
  .cplus-hero__icons { flex-wrap: wrap; }
  .cplus-hero__icons li { flex: 0 0 45%; }
}
