/* ---- Video section (updated spacing/separation) ---- */
.idi-video-section {
    text-align: center;
    border-top: 1px solid #d6dfe9;
    border-bottom: 1px solid #d6dfe9;
    padding: 26px 0;
    margin-bottom: 40px; /* was 34px — more breathing room before Staci's row */
}
.idi-video-frame {
    max-width: 640px;       /* constrains width so it doesn't stretch full-bleed */
    margin: 0 auto;
    background: #f2f5f9;    /* light letterbox instead of black — matches page background */
}
.idi-video-frame iframe {
    border: 0;
}

/* ---- Explicit gap before first staff row ---- */
.idi-staff-row--first {
    margin-top: 8px;
}

/* ---- Course format intro image (separated module, matches video-section pattern) ---- */
.method-intro-section {
    text-align: center;
    border-top: 1px solid #d6dfe9;
    border-bottom: 1px solid #d6dfe9;
    padding: 26px 0;
    margin: 20px 0 40px 0;
}
.method-intro-section__title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 16px;
    color: #003366;
    font-size: 1.75rem;
}
.method-intro-section img {
    max-width: 250px;
    height: auto;
}

/* ==== Instructional Methods Page ==== */

/* ---- Course format intro image (separated module) ---- */
.method-intro-section {
    text-align: center;
    border-top: 1px solid #d6dfe9;
    border-bottom: 1px solid #d6dfe9;
    padding: 26px 0;
    margin: 20px 0 40px 0;
}
.method-intro-section__title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 16px;
    color: #003366;
    font-size: 1.75rem;
}
.method-intro-section img {
    max-width: 250px;
    height: auto;
}

/* ---- Tabs ---- */
.method-tabs {
    position: relative;
}
.method-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-end;
    margin: 0;
}
.method-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 150px;
    min-width: 140px;
    height: 48px;
    padding: 6px 14px;
    border: 2px solid #d7dee6;
    border-bottom-color: #003366;
    border-radius: 1px 1px 0 0;
    background: #f7f8fa;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.method-tab:hover, .method-tab:focus-visible {
    background: #eef2f6;
    color: #003366;
    outline: 3px solid rgba(0, 91, 150, 0.22);
    outline-offset: 2px;
}
.method-tab[aria-selected="true"] {
    background: #fff;
    border-bottom-color: #fff;
    color: #003366;
    font-weight: 700;
}
.method-panel {
    display: none;
    min-height: 300px;
    padding: 26px 28px;
    border: 2px solid;
    border-top-width: 3px;
    border-radius: 0 0 1px 1px;
    box-shadow: 0 5px 18px rgba(0, 27, 59, 0.09);
}
.method-panel[aria-hidden="false"] {
    display: block;
}
.method-panel-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 20px;
    padding: 0 0 14px;
    border-bottom: 1px solid;
}
.method-panel-bar {
    width: 5px;
    height: 28px;
    border-radius: 1px;
    flex: 0 0 auto;
}
.method-panel-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.method-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.method-list > li {
    position: relative;
    margin: 0 0 14px;
    padding-left: 28px;
    line-height: 1.55;
}
.method-list > li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}
.method-sublist {
    margin: 8px 0 0 8px;
    padding-left: 22px;
}
.method-note {
    display: block;
    margin-top: 5px;
    color: #5f6b78;
    font-size: 0.85rem;
    font-style: italic;
}
.method-source {
    margin: 22px 0 0;
    padding-top: 12px;
    border-top: 1px solid;
    color: #000;
    font-size: 0.75rem;
    font-style: italic;
}
.method-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
    gap: 20px;
    align-items: start;
}
.method-info-card {
    padding: 20px;
    border: 1px solid rgba(15, 42, 67, 0.14);
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.78);
}
.method-info-card h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.3;
}
.method-info-card p {
    margin: 0 0 12px;
    line-height: 1.6;
}
.method-info-card p:last-child {
    margin-bottom: 0;
}
.expectation-box {
    margin-top: 14px;
    padding: 13px 15px;
    border-left: 4px solid currentColor;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}

/* ---- Panel color variants (Navy text for AA compliance; accent colors for bar/border/bg only) ---- */
.panel-web {
    background: #eff6fa;
    border-color: #003366;
}
.panel-web .method-panel-heading, .panel-web .method-source {
    border-color: #bdd7e8;
}
.panel-web .method-panel-bar {
    background: #003366;
}
.panel-web .method-panel-title, .panel-web .method-list > li::before, .panel-web .method-info-card h3, .panel-web .expectation-box {
    color: #003366;
}

.panel-blended {
    background: #e6f4f6;
    border-color: #008DA7;
}
.panel-blended .method-panel-heading, .panel-blended .method-source {
    border-color: #b0dce3;
}
.panel-blended .method-panel-bar {
    background: #008DA7;
}
.panel-blended .method-panel-title, .panel-blended .method-list > li::before, .panel-blended .method-info-card h3, .panel-blended .expectation-box {
    color: #003366;
}

.panel-online {
    background: #eaf4ff;
    border-color: #33A1FD;
}
.panel-online .method-panel-heading, .panel-online .method-source {
    border-color: #b8dcfd;
}
.panel-online .method-panel-bar {
    background: #33A1FD;
}
.panel-online .method-panel-title, .panel-online .method-list > li::before, .panel-online .method-info-card h3, .panel-online .expectation-box {
    color: #003366;
}

.panel-hyflex {
    background: #fdf6e3;
    border-color: #F7B32B;
}
.panel-hyflex .method-panel-heading, .panel-hyflex .method-source {
    border-color: #f7dfa0;
}
.panel-hyflex .method-panel-bar {
    background: #F7B32B;
}
.panel-hyflex .method-panel-title, .panel-hyflex .method-list > li::before, .panel-hyflex .method-info-card h3, .panel-hyflex .expectation-box {
    color: #003366;
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
    .method-info-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 620px) {
    .method-tab-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .method-tab {
        min-width: 0;
        border-radius: 1px;
        border-bottom-color: #d7dee6;
    }
    .method-panel {
        margin-top: 10px;
        border-radius: 1px;
        padding: 22px 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .method-tab {
        transition: none;
    }
}

/* Program Finder — extracted inline styles */
/* font-size values converted to rem (16px root) */

.pf-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  color: #1d1d1f;
  font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  line-height: 1.55;
  box-sizing: border-box;
}

.pf-hero {
  padding: 36px 24px 30px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(145deg,#ffffff 0%,#f5f7fa 58%,#eaf4ff 100%);
  border: 1px solid #e2e2e7;
  box-shadow: 0 16px 38px rgba(0,0,0,0.07);
  box-sizing: border-box;
}

.pf-hero-eyebrow {
  margin: 0 0 12px;
  color: #0066cc;
  font-size: 0.8125rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pf-hero-subtitle {
  max-width: 760px;
  margin: 16px auto 0;
  color: #6e6e73;
  font-size: 1.125rem;
  line-height: 1.5;
}

.pf-cta-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pf-btn-primary {
  display: inline-block;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #0066cc;
  color: #ffffff;
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 10px 24px rgba(0,102,204,0.22);
  box-sizing: border-box;
}

.pf-btn-secondary {
  display: inline-block;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #0066cc;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid #d2d2d7;
  box-sizing: border-box;
}

.pf-hero-disclaimer {
  max-width: 820px;
  margin: 14px auto 0;
  color: #6e6e73;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.pf-finder-panel {
  display: none;
  margin: 24px auto 0;
  padding-top: 22px;
  border-top: 1px solid #d2d2d7;
  max-width: 900px;
  text-align: left;
  box-sizing: border-box;
}

.pf-finder-title {
  margin: 0 0 6px;
  color: #1d1d1f;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.4px;
  font-weight: 750;
  text-align: center;
}

.pf-finder-desc {
  margin: 0 0 14px;
  color: #6e6e73;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
}

.pf-mode-group {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.pf-mode-btn {
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid #0066cc;
  border-radius: 999px;
  background: #0066cc;
  color: #ffffff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: bold;
  cursor: pointer;
  box-sizing: border-box;
}

.pf-mode-btn-inactive {
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid #0066cc;
  border-radius: 999px;
  background: #ffffff;
  color: #0066cc;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: bold;
  cursor: pointer;
  box-sizing: border-box;
}

.pf-search-controls {
  display: block;
}

.pf-search-label {
  display: block;
  margin: 0 0 7px;
  color: #1d1d1f;
  font-size: 0.9375rem;
  font-weight: bold;
}

.pf-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.pf-search-input {
  flex: 1 1 360px;
  min-width: 230px;
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #8e8e93;
  border-radius: 12px;
  background: #ffffff;
  color: #1d1d1f;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  box-sizing: border-box;
}

.pf-clear-btn {
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid #0066cc;
  border-radius: 999px;
  background: #ffffff;
  color: #0066cc;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: bold;
  cursor: pointer;
  box-sizing: border-box;
}

.pf-search-help {
  margin: 8px 0 0;
  color: #6e6e73;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.pf-search-status {
  margin: 9px 0 0;
  color: #1d1d1f;
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.45;
}

.pf-no-results {
  margin: 28px 0 0;
  padding: 24px;
  border: 1px solid #d2d2d7;
  border-radius: 18px;
  background: #f5f5f7;
  text-align: center;
  box-sizing: border-box;
}

.pf-no-results-title {
  margin: 0 0 8px;
  color: #1d1d1f;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 750;
}

.pf-no-results-text {
  margin: 0;
  color: #6e6e73;
  font-size: 1rem;
  line-height: 1.55;
}

.pf-section {
  margin-top: 58px;
}

.pf-section-title {
  margin: 0 0 8px;
  color: #1d1d1f;
  font-size: 2.375rem;
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 750;
}

.pf-section-desc {
  margin: 0 0 22px;
  color: #6e6e73;
  font-size: 1.0625rem;
}

.pf-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-card-item {
  flex: 1 1 360px;
  min-width: 260px;
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

.pf-card {
  width: 100%;
  margin: 0;
  border: 1px solid #d2d2d7;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.pf-card-summary {
  cursor: pointer;
  padding: 22px;
  color: #1d1d1f;
  font-weight: bold;
  line-height: 1.35;
  box-sizing: border-box;
}

.pf-card-body {
  padding: 20px 22px 24px;
  border-top: 1px solid #d2d2d7;
  box-sizing: border-box;
}

.pf-card-overview {
  margin: 0 0 20px;
  padding: 0;
  box-sizing: border-box;
}

.pf-card-label {
  margin: 0 0 6px;
  color: #1d1d1f;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4;
}

.pf-card-text {
  margin: 0 0 16px;
  color: #3a3a3c;
  font-size: 1rem;
  line-height: 1.6;
}

.pf-card-list {
  margin: 0;
  padding-left: 22px;
  color: #3a3a3c;
  font-size: 1rem;
  line-height: 1.55;
}

.pf-card-list-item {
  margin: 0 0 5px;
}

.pf-card-link {
  display: inline-block;
  color: #0066cc;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 2px;
}

.pf-visually-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pf-uc-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f5f5f7;
  box-sizing: border-box;
}

.pf-uc-title {
  margin: 0 0 8px;
  color: #1d1d1f;
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.35;
}

.pf-uc-list {
  margin: 0 0 12px;
  padding-left: 20px;
  color: #3a3a3c;
}

.pf-uc-cta {
  margin: 0;
}

.pf-uc-link {
  color: #0066cc;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}