/* Multiple Intelligences Theory / Inservice Program
   Scoped to the Theory section so it cannot collide with the main MI page or sitewide styles.
*/
.mi-theory-page {
  max-width:1080px;
  margin:0 auto;
  padding:0 18px 42px;
  color:#163b5d;
  box-sizing:border-box;
}
.mi-theory-page, .mi-theory-page * { box-sizing:border-box; }

.mi-theory-page .site-breadcrumb {
  margin:0 0 24px;
  padding:0;
  font-size:14px;
  line-height:1.5;
  color:#71879a;
  text-align:left;
}
.mi-theory-page .site-breadcrumb a { color:#176fae; text-decoration:none; }
.mi-theory-page .site-breadcrumb a:hover { text-decoration:underline; }
.mi-theory-page .site-breadcrumb-separator { margin:0 8px; color:#a4b4c1; }

.mi-theory-page .mi-hero {
  position:relative;
  overflow:hidden;
  margin:0 0 26px;
  padding:38px 34px 40px;
  background:#eef8ff;
  border:1px solid #dceaf4;
  border-radius:12px;
  text-align:center;
  box-shadow:0 4px 14px rgba(25,70,105,.06);
}
.mi-theory-page .mi-hero:before,
.mi-theory-page .mi-hero:after {
  content:""; position:absolute; left:-8%; width:116%; height:54px;
  transform:rotate(-10deg); pointer-events:none;
}
.mi-theory-page .mi-hero:before { top:78px; background:rgba(188,222,246,.42); }
.mi-theory-page .mi-hero:after { top:122px; background:rgba(210,234,250,.62); }
.mi-theory-page .mi-hero-content { position:relative; z-index:2; }
.mi-theory-page .mi-kicker {
  margin:0 0 8px; color:#1768b3; font-size:12px; font-weight:700;
  letter-spacing:2px; text-transform:uppercase;
}
.mi-theory-page .mi-hero h1 {
  margin:0; color:#174f8e; font-size:34px; line-height:1.2; font-weight:600;
}

.mi-theory-page .mi-intro {
  max-width:820px; margin:0 auto 26px; text-align:center;
  color:#5c7891; font-size:17px; line-height:1.6;
}
.mi-theory-page .mi-content {
  background:#fff;
  border:1px solid #dbe8f2;
  border-radius:12px;
  padding:26px 28px 30px;
  box-shadow:0 4px 14px rgba(25,70,105,.06);
  line-height:1.65;
  text-align:left;
}
.mi-theory-page .mi-content h2 {
  margin:26px 0 10px; color:#174f8e; font-size:25px; line-height:1.25; font-weight:600;
}
.mi-theory-page .mi-content h2:first-child { margin-top:0; }
.mi-theory-page .mi-content h3 {
  margin:0 0 8px; color:#174f8e; font-size:19px; line-height:1.3; font-weight:600;
}
.mi-theory-page .mi-content p { margin:0 0 14px; color:#263f59; }
.mi-theory-page .mi-content ul,
.mi-theory-page .mi-content ol { margin:0 0 18px; padding-left:28px; color:#263f59; }
.mi-theory-page .mi-content li { margin:0 0 7px; }

.mi-theory-page .mi-note {
  margin:0 0 20px; padding:15px 17px;
  background:#f3f8fc; border:1px solid #dce8f1; border-radius:10px;
  color:#38556d;
}
.mi-theory-page .mi-note p:last-child { margin-bottom:0; }

.mi-theory-page .mi-grid2 {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px; margin:20px 0 24px;
}
.mi-theory-page .mi-card2 {
  border:1px solid #dbe8f2; border-radius:12px; padding:19px 20px;
  background:#fff; box-shadow:0 3px 10px rgba(25,70,105,.05);
  text-align:left;
}
.mi-theory-page .mi-card2 p:last-child { margin-bottom:0; }
.mi-theory-page .mi-card2 a {
  display:inline-flex;
  align-items:center;
  gap:9px;
  max-width:100%;
  margin-top:2px;
  padding:9px 13px;
  border:1px solid #c9e0f0;
  border-radius:8px;
  background:linear-gradient(180deg,#f7fbff 0%,#edf6fc 100%);
  color:#086eae;
  font-size:14px;
  font-weight:700;
  line-height:1.35;
  text-decoration:none;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.mi-theory-page .mi-card2 a::after { content:"→"; font-size:17px; line-height:1; }
.mi-theory-page .mi-card2 a:hover {
  border-color:#8dbfe0;
  background:#e6f3fc;
  box-shadow:0 3px 9px rgba(24,99,151,.12);
  color:#075c98;
  text-decoration:none;
  transform:translateY(-1px);
}
.mi-theory-page .mi-card2 a:focus-visible {
  outline:3px solid rgba(20,119,201,.28);
  outline-offset:2px;
}
.mi-theory-page .mi-card2:hover { border-color:#b9d8ea; box-shadow:0 6px 16px rgba(25,70,105,.08); }

.mi-theory-page table {
  width:100%; border-collapse:collapse; margin:18px 0 24px;
  font-size:15px;
}
.mi-theory-page th, .mi-theory-page td {
  padding:11px 13px; border:1px solid #dbe8f2; text-align:left; vertical-align:top;
}
.mi-theory-page th { background:#f3f8fc; color:#174f8e; font-weight:700; }
.mi-theory-page tr:nth-child(even) td { background:#fbfdfe; }

.mi-theory-page .mi-back { margin-top:26px; }
.mi-theory-page .mi-back a {
  display:inline-block; padding:9px 14px; border:1px solid #cfe1ee;
  border-radius:999px; background:#fff; color:#176fae;
  font-weight:700; text-decoration:none;
}
.mi-theory-page .mi-back a:hover { background:#f5faff; border-color:#a9cee5; text-decoration:none; }

@media (max-width:800px) {
  .mi-theory-page { padding-left:14px; padding-right:14px; }
  .mi-theory-page .mi-grid2 { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .mi-theory-page .site-breadcrumb { font-size:13px; margin-bottom:18px; }
  .mi-theory-page .mi-hero { padding:31px 18px 33px; }
  .mi-theory-page .mi-hero h1 { font-size:28px; }
  .mi-theory-page .mi-intro { font-size:15px; }
  .mi-theory-page .mi-content { padding:20px 18px 24px; }
  .mi-theory-page .mi-content h2 { font-size:22px; }
  .mi-theory-page table { display:block; overflow-x:auto; white-space:normal; }
  .mi-theory-page th, .mi-theory-page td { min-width:150px; }
}
