/* Four-pillar catalog and static course programs. No portal styles are changed. */
.catalog-heading { max-width: 800px; margin-inline: auto; }
.catalog-heading > p:last-child { max-width: 730px; margin-inline: auto; }
.pillar-navigation { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 38px 0 30px; }
.pillar-navigation a { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 17px; border: 1px solid #e2d6fa; border-radius: 18px; background: #ffffffdb; font-size: 15px; line-height: 1.25; font-weight: 900; box-shadow: 0 4px 16px #7f55b208; }
.pillar-navigation a:hover { background: #f7f0ff; border-color: #ae83e2; }
.pillar-navigation small { display: block; font-size: 10px; font-weight: 800; color: #6d5486; margin-bottom: 5px; letter-spacing: .7px; }
.pillar-navigation b { margin-left: auto; font-size: 20px; font-weight: 400; }
.pillar-icon { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; flex-shrink: 0; color: #6b20b7; border-radius: 13px; background: #f0e6ff; }
.pillar-icon svg { width: 32px; height: 32px; }
.pillar-icon svg, .catalog-symbol svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.connection { --course-tint: #fbe5f4; --course-wash: #f2e6ff; --course-accent: #94357f; }
.thinking { --course-tint: #fff1c3; --course-wash: #eee5ff; --course-accent: #74511d; }
.technology { --course-tint: #d6f7ff; --course-wash: #e8e4ff; --course-accent: #176581; }
.pillar-navigation .connection .pillar-icon { background: #fbe5f4; color: #94357f; }
.pillar-navigation .thinking .pillar-icon { background: #fff1c3; color: #74511d; }
.pillar-navigation .technology .pillar-icon { background: #d6f7ff; color: #176581; }
.course-copy > h3 { font-size: clamp(35px,4vw,53px); line-height: 1.04; margin: 14px 0 17px; letter-spacing: -1.3px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; margin-top: 28px; }
.catalog-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e5dcf4; border-radius: 26px; background: #fff; box-shadow: 0 10px 30px #7650ae0c; scroll-margin-top: 110px; }
.catalog-art { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 190px; padding: 24px; gap: 13px; overflow: hidden; text-align: center; background: linear-gradient(135deg,var(--course-tint),var(--course-wash)); }
.catalog-art::before, .catalog-art::after { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; border: 1px solid #ffffffb0; border-radius: 50%; transform: rotate(-25deg) scaleY(.5); }
.catalog-art::after { transform: rotate(25deg) scaleY(.5); width: 295px; height: 295px; }
.catalog-art-number { position: absolute; top: 14px; right: 19px; font-size: 13px; font-weight: 900; color: var(--course-accent); }
.catalog-symbol { display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; flex-shrink: 0; color: var(--course-accent); background: #ffffffc7; border: 2px solid #fff; border-radius: 24px; box-shadow: 0 9px 20px #64539d15; }
.catalog-symbol svg { width: 50px; height: 50px; }
.catalog-art-caption { max-width: 250px; color: #4d247c; font-size: 17px; line-height: 1.3; font-weight: 900; }
.catalog-card-body { padding: 27px 25px 25px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.catalog-card-body > .eyebrow { color: #6b398d; font-size: 10px; line-height: 1.6; letter-spacing: .65px; min-height: 32px; }
.catalog-card-body > h3 { font-size: 27px; line-height: 1.12; letter-spacing: -.6px; margin-top: 12px; margin-bottom: 15px; }
.catalog-description { color: #5b4777; font-size: 14px; line-height: 1.65; }
.catalog-card .course-facts { margin-top: 21px; margin-bottom: auto; }
.catalog-card .course-facts span, .program-main .course-facts span { background: #f4edfd; color: #634383; font-size: 10px; }
.catalog-status { display: flex; align-items: baseline; gap: 7px; font-size: 11px; line-height: 1.65; color: #684c85; font-weight: 800; margin-top: 22px; }
.catalog-card .button { margin-top: 16px; width: 100%; justify-content: space-between; font-size: 14px; min-height: 47px; }
.outcomes { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.outcome h3 { font-size: 21px; }
.outcome p { font-size: 14px; }
.rose { background: #fbe5f4; color: #94357f; }
.course-program-page { background: radial-gradient(ellipse at 85% 10%,var(--course-tint),transparent 45%),linear-gradient(120deg,#fcfaff,#edf7ff); }
.program-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; border-bottom: 1px solid #ddd4ee; }
.program-back { color: #61269d; font-size: 14px; font-weight: 800; padding: 12px 0 12px 12px; }
.program-back:hover { text-decoration: underline; }
.program-main { max-width: 1120px; }
.program-hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 65px; align-items: center; padding-block: 65px 50px; }
.program-hero .eyebrow { font-size: 11px; letter-spacing: 1px; }
.program-hero h1 { font-size: clamp(34px,4vw,54px); line-height: 1.08; letter-spacing: -1.4px; margin-top: 18px; }
.program-description { font-size: 19px; line-height: 1.55; color: #543c75; margin-top: 23px; }
.program-hero .button { font-size: 16px; margin-top: 22px; }
.program-story { padding: 35px; border: 1.5px solid #fff; border-radius: 28px; background: linear-gradient(135deg,#ffffffde,var(--course-tint)); box-shadow: 0 9px 35px #8475b215; }
.program-story > .catalog-symbol { margin-bottom: 28px; }
.program-story h2 { font-size: 29px; line-height: 1.16; margin-top: 10px; letter-spacing: -.6px; }
.program-story > p:last-child { font-size: 15px; line-height: 1.7; color: #5c4779; margin-top: 18px; }
.program-practice { padding: 28px 32px; border: 1px solid #e0d5f2; background: #ffffffc4; border-radius: 22px; }
.program-practice h2 { font-size: 22px; }
.program-practice > ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; list-style: none; margin-top: 21px; }
.program-practice li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 800; line-height: 1.5; }
.program-practice li > span { color: #087b8f; }
.program-practice > p { color: #655279; font-size: 13px; line-height: 1.7; border-top: 1px solid #e8e0f0; padding-top: 19px; margin-top: 22px; }
.program-syllabus { max-width: 850px; margin: 65px auto 0; scroll-margin-top: 30px; }
.program-section-heading { margin-bottom: 32px; }
.program-section-heading h2 { font-size: 34px; line-height: 1.15; margin-top: 15px; }
.program-section-heading > p:last-child { max-width: 650px; font-size: 15px; line-height: 1.7; color: #67507d; margin-top: 19px; }
.program-intro, .program-chapter { margin-top: 13px; border: 1px solid #ddd1ef; background: #fffffff0; border-radius: 18px; overflow: hidden; }
.program-intro { margin-bottom: 26px; border-color: #b7e1ef; background: #f3fcff; }
.program-syllabus summary { padding: 22px 25px; gap: 18px; }
.program-syllabus summary:hover { background: #f6f0ff88; }
.program-syllabus summary > span:not(.chapter-number) { color: #4d187d; font-size: 18px; font-weight: 900; flex-shrink: 1; }
.program-syllabus summary small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .3px; color: #795a95; margin-bottom: 6px; }
.program-syllabus summary > .chapter-number { font-size: 15px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #6b20b7; background: #f0e7ff; }
.program-syllabus summary > b { color: #6e329e; padding-left: 8px; flex-shrink: 0; }
.program-syllabus details:not([open]) > summary > b { transform: none; }
.chapter-body { padding: 0 27px 27px; }
.chapter-introduction { color: #624875; font-size: 14px; line-height: 1.75; padding: 8px 0 23px; }
.program-mission { padding-top: 23px; border-top: 1px solid #e9e1f1; }
.program-mission + .program-mission { margin-top: 25px; }
.program-mission h3 { font-size: 20px; line-height: 1.3; margin-top: 7px; }
.mission-number { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #7e439b; font-weight: 900; }
.mission-description { color: #554665; font-size: 14px; line-height: 1.8; }
.mission-description p, .mission-description ul, .mission-description ol { margin-top: 12px; }
.mission-description ul, .mission-description ol { padding-left: 21px; }
.mission-description li + li { margin-top: 7px; }
.program-intro .chapter-body { font-size: 14px; }
.program-ending { margin: 65px 0; padding: 35px; background: linear-gradient(120deg,#efe1ff,#def5ff); border: 1px solid #fff; border-radius: 26px; text-align: center; }
.program-ending h2 { font-size: 29px; line-height: 1.2; }
.program-ending p { font-size: 15px; color: #66507e; margin-top: 16px; }
.program-ending .button { margin-top: 24px; }
.program-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px 36px; font-size: 12px; color: #634d7e; border-top: 1px solid #ddd4ee; }
.program-footer a { font-weight: 800; }
@media(max-width:1100px) {
  .pillar-navigation { gap: 10px; }
  .pillar-navigation a { gap: 9px; padding: 13px 10px; font-size: 13px; }
  .pillar-icon { width: 36px; height: 36px; }
  .pillar-icon svg { width: 28px; height: 28px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); }
  .catalog-art { min-height: 260px; }
  .catalog-card-body > .eyebrow { min-height: 0; }
  .catalog-card-body > h3 { font-size: 29px; }
  .catalog-card .button { width: auto; gap: 35px; }
  .outcomes { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .program-hero { gap: 35px; padding-top: 45px; }
  .program-story { padding: 25px; }
  .program-practice > ul { gap: 17px; }
}
@media(max-width:850px) {
  .pillar-navigation { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pillar-navigation a { padding: 16px; font-size: 14px; }
  .course-copy > h3 { font-size: 35px; }
  .program-hero { gap: 25px; }
  .program-hero h1 { font-size: 38px; }
  .program-description { font-size: 17px; }
  .program-story h2 { font-size: 25px; }
  .program-practice { padding: 25px; }
  .program-practice > ul { grid-template-columns: 1fr; gap: 12px; }
}
@media(max-width:680px) {
  .catalog-heading { text-align: left; }
  .pillar-navigation { gap: 10px; margin-block: 27px 24px; }
  .pillar-navigation a { padding: 12px 10px; font-size: 12px; gap: 8px; }
  .pillar-navigation b { display: none; }
  .pillar-navigation small { font-size: 8px; }
  .pillar-icon { width: 33px; height: 36px; border-radius: 10px; }
  .pillar-icon svg { width: 26px; height: 26px; }
  .course-copy > h3 { font-size: 38px; }
  .catalog-grid { gap: 21px; margin-top: 24px; }
  .catalog-card { display: flex; border-radius: 24px; }
  .catalog-art { min-height: 180px; }
  .catalog-card-body { padding: 25px 23px; }
  .catalog-card-body > h3 { font-size: 29px; }
  .catalog-card-body > .eyebrow { font-size: 10px; }
  .catalog-card .button { width: 100%; }
  .outcomes { grid-template-columns: 1fr; }
  .outcome h3 { font-size: 23px; }
  .outcome p { font-size: 15px; }
  .program-header { padding-block: 17px; gap: 15px; }
  .program-header .brand { gap: 10px; font-size: 17px; }
  .program-header .logo { width: 96px; }
  .program-header .brand-divider { height: 22px; }
  .program-back { font-size: 11px; max-width: 94px; text-align: right; line-height: 1.5; }
  .program-hero { grid-template-columns: 1fr; padding-block: 36px 25px; gap: 26px; }
  .program-hero h1 { font-size: 37px; letter-spacing: -.9px; }
  .program-hero .eyebrow { font-size: 10px; line-height: 1.6; }
  .program-description { font-size: 17px; margin-top: 19px; }
  .program-hero .course-facts { gap: 6px; }
  .program-hero .button { width: 100%; justify-content: space-between; font-size: 15px; }
  .program-story { padding: 25px; }
  .program-story > .catalog-symbol { width: 61px; height: 61px; border-radius: 18px; margin-bottom: 20px; }
  .program-story .catalog-symbol svg { width: 40px; height: 40px; }
  .program-practice { padding: 24px; }
  .program-practice h2 { font-size: 21px; }
  .program-syllabus { margin-top: 42px; }
  .program-section-heading h2 { font-size: 29px; }
  .program-syllabus summary { padding: 20px 17px; gap: 12px; }
  .program-syllabus summary > span:not(.chapter-number) { font-size: 16px; }
  .program-syllabus summary > .chapter-number { width: 31px; height: 34px; font-size: 13px; border-radius: 9px; }
  .program-syllabus summary small { font-size: 9px; }
  .chapter-body { padding: 0 20px 23px; }
  .program-mission h3 { font-size: 19px; }
  .program-ending { margin-block: 40px; padding: 28px 23px; }
  .program-ending h2 { font-size: 27px; }
  .program-ending .button { font-size: 14px; width: 100%; gap: 12px; }
  .program-footer { flex-direction: column; gap: 13px; font-size: 11px; padding-bottom: 28px; }
}
@media(max-width:360px) {
  .pillar-navigation a { padding: 11px 9px; gap: 6px; font-size: 11px; }
  .catalog-card-body { padding-inline: 20px; }
  .catalog-card-body > h3 { font-size: 27px; }
  .program-header .logo { width: 84px; }
  .program-header .brand { font-size: 15px; gap: 8px; }
  .program-back { font-size: 10px; }
  .program-hero h1 { font-size: 33px; }
  .program-ending .button { font-size: 12px; padding-inline: 13px; }
}

/* Illustrated covers share native proportions and readable, live pillar labels. */
.course-cover { position: relative; width: 100%; min-width: 0; margin: 0; background: #eee6fb; }
.course-cover-image { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.course-pillar-label { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 28px); padding: 9px 13px; border: 1px solid #fff; border-radius: 40px; background: #fffffff5; color: #52138b; font-size: 12px; line-height: 1.3; font-weight: 900; box-shadow: 0 3px 14px #50347821; }
.course-pillar-label svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.course-visual > .course-pillar-label { top: 13px; left: 13px; }
.course-visual .course-cover { overflow: hidden; border-radius: 23px; }
/* Supplied covers already contain their titles: keep live badges below the art. */
.course-cover > .course-pillar-label { position: static; width: max-content; max-width: calc(100% - 32px); margin: 12px 16px; }
.program-story-with-cover { padding: 0; overflow: hidden; }
.program-story-copy { padding: 27px 29px 30px; }
.program-story-copy > p:last-child { color: #5c4779; font-size: 15px; line-height: 1.7; margin-top: 18px; }
@media(max-width:1100px) {
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-card { display: flex; }
  .catalog-card .button { width: 100%; }
  .program-story-with-cover { padding: 0; }
  .program-story-copy { padding: 23px; }
  .program-story .course-pillar-label { font-size: 11px; gap: 6px; padding: 8px 11px; }
}
@media(max-width:680px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .program-story-with-cover { padding: 0; }
  .course-pillar-label, .program-story .course-pillar-label { font-size: 11px; padding: 8px 12px; }
  .program-story-copy { padding: 24px; }
}
