/* ==========================================================================
   Online Courses / Hybrid Programs — MOA_Final_27112026/online-courses.html, hybrid-programs.html
   Port of the "online-tools" block and "Online course page refinements" of online-courses.css /
   hybrid-programs.css (identical in both), plus hybrid-programs.css's hybrid note; final cascade with
   black-inner-banners.css. Loaded after catalog_v2.css and level_v2.css.
   The online page's own inline styles (course cards, filter bar) are in online_v2.css.
   Templates: course_manage/online_courses.html, course_manage/hybrid_programs.html.
   ========================================================================== */

/* ---------- Filter bar ---------- */
.online-tools {
  display: grid; grid-template-columns: minmax(200px, 2fr) minmax(140px, 1fr) minmax(140px, 1fr) auto; gap: 18px; align-items: end;
  margin: 36px 0; padding: 20px; border: 1px solid #ededed; border-radius: 15px; background: #fafafa;
}
.online-tools label { display: flex; flex-direction: column; gap: 9px; color: #252525; font-size: 14px; font-weight: 700; }
.online-tools input, .online-tools select {
  width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 9px; background: #fff; font: inherit; outline-color: #ee343b;
}
.online-tools input:focus, .online-tools select:focus { border-color: #ee343b; }
.online-tools + .level-results { margin-top: 32px; }
.online-reset {
  padding: 14px 18px; border: 1px solid #ee343b; border-radius: 9px; background: #fff; color: #ee343b;
  font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.online-reset:hover { background: #ee343b; color: #fff; }

/* ---------- Hero refinements ---------- */
.level-hero { position: relative; overflow: hidden; padding: 108px 0 105px; }
.level-hero .moa-container { position: relative; z-index: 1; }
.level-hero h1 { font-weight: 800; letter-spacing: -1.5px; }
.level-hero-cta { border-radius: 40px; }

/* ---------- Benefits strip (overlaps the hero) ---------- */
.online-benefits {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -42px; padding: 25px 12px; border: 1px solid #eee; border-radius: 18px; background: #fff; box-shadow: 0 15px 42px #0000000c;
}
.online-benefits div { display: flex; flex-direction: column; gap: 7px; padding: 8px 23px; border-right: 1px solid #eee; }
.online-benefits div:last-child { border: 0; }
.online-benefits strong { color: #1b1b1b; font-size: 17px; }
.online-benefits span { color: #6c6c6c; font-size: 13px; }

.level-page { padding-top: 68px; }
.catalog-card { overflow: hidden; border-radius: 14px; }
.catalog-card img { object-fit: cover; }
.catalog-actions a { transition: color .2s; }
.catalog-actions a:hover { color: #bd1821; }

/* ---------- Hybrid note ---------- */
.hybrid-note { margin: 24px 0 32px; padding: 18px 22px; border-left: 3px solid #ee343b; background: #fafafa; color: #555; }

@media (max-width: 950px) {
  .online-tools { grid-template-columns: 1fr 1fr; }
  .online-benefits { grid-template-columns: repeat(2, 1fr); }
  .online-benefits div:nth-child(2) { border-right: 0; }
}
@media (max-width: 600px) {
  .online-tools { grid-template-columns: 1fr; }
  .online-benefits { grid-template-columns: 1fr 1fr; padding: 15px 5px; }
  .online-benefits div { padding: 10px; }
  .online-benefits strong { font-size: 14px; }
  .level-hero { padding: 78px 0 85px; }
}
