.learning-paths[hidden],.learning-path-panel[hidden]{display:none!important}
.learning-paths{background:#edf7ee;color:#163f34;scroll-margin-top:110px}
.learning-paths h2{color:#17624d;font-size:clamp(30px,4vw,46px);line-height:1.15;letter-spacing:-.03em;margin:8px 0 28px}
.learning-path-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.learning-path-card{appearance:none;display:flex;flex-direction:column;padding:0;margin:0;width:100%;height:100%;min-width:0;text-align:left;font:inherit;color:#163f34;background:#fff;border:1px solid #c8dfcd;border-radius:22px;overflow:hidden;cursor:pointer;box-shadow:0 8px 24px #163f3408}
.learning-path-card:hover,.learning-path-card[aria-expanded="true"]{border-color:#17624d;box-shadow:0 8px 24px #163f3414}
.learning-path-card:focus-visible,.learning-path-close:focus-visible{outline:3px solid #17624d;outline-offset:4px}
.learning-path-photo{display:block;width:100%;aspect-ratio:16/7;flex-shrink:0;overflow:hidden;background:#dcebe0}
.learning-path-photo img{display:block;width:100%;height:100%;object-fit:cover}
.learning-path-copy{display:flex;flex:1;flex-direction:column;padding:24px;gap:12px}
.learning-path-kicker{color:var(--g,#2fac81);font-size:var(--heine-text-label,.8125rem);font-weight:650;letter-spacing:.07em;text-transform:uppercase}
.learning-path-title{color:#17624d;font-size:22px;font-weight:650;line-height:1.2}
.learning-path-text{color:var(--mut,#6d827a);font-size:var(--heine-text-card,1rem);line-height:1.5;max-width:43ch}
.learning-path-action{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:18px;margin-top:auto;color:#17624d;font-size:var(--heine-text-card,1rem);font-weight:650}
[data-path-icon]{font-size:26px;font-weight:400;line-height:1}
.learning-path-panel{scroll-margin-top:110px}
.learning-path-close{display:block;margin:28px 0 0;border:1px solid #b9d9bd;border-radius:999px;background:#fff;color:#17624d;padding:12px 20px;font:inherit;font-weight:700;cursor:pointer}
@media(max-width:760px){.learning-path-cards{grid-template-columns:1fr;gap:18px}.learning-path-copy{padding:20px}.learning-path-photo{aspect-ratio:16/6}}

/* 2.0.257: Shared type hierarchy for both learning paths. */
.heine-learning-v100 .learning-path-card{color:var(--ink);border-color:var(--line)}
.heine-learning-v100 .learning-path-title{letter-spacing:-.025em}
.heine-learning-v100 .heine-family h2{font-size:clamp(30px,3.1vw,46px);line-height:1.15;letter-spacing:-.03em;font-weight:650}
.heine-learning-v100 .heine-family-card h3{font-size:18px;line-height:1.25;font-weight:650}
.heine-learning-v100 .heine-family-more>summary{font-size:var(--heine-text-card,1rem);font-weight:650}
.heine-learning-v100 .heine-family-keyfacts span{font-size:var(--heine-text-note,.875rem);color:var(--mut)}
.heine-learning-v100 .heine-family-intro,
.heine-learning-v100 .heine-family-card ul{color:var(--mut)}
@layer heine-typography {
 main.heine-learning-v100 .learning-path-text,
 main.heine-learning-v100 .learning-path-action,
 main.heine-learning-v100 .heine-family-more>summary,
 main.heine-learning-v100 .learning-pl-details summary,
 main.heine-learning-v100 .learning-pl-service-details summary{font-size:var(--heine-text-card,1rem)!important;line-height:1.5!important;font-weight:650}
 main.heine-learning-v100 .learning-path-text{font-weight:400}
}
@media(max-width:760px){.heine-learning-v100 .learning-path-title{font-size:20px}}

/* 2.0.258: Compact shared buttons and a single row of SoL actions. */
.heine-learning-v100 .learning-sol-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}
.heine-learning-v100 .learning-sol-actions .learning-sol-video-link{margin:0!important}
.heine-learning-v100 .learning-sol-actions .learning-sol-toggle{margin:0;background:var(--mint,#eef8f4)}
.heine-learning-v100 .learning-sol-toggle b{font-size:20px;line-height:1;font-weight:500}
.heine-learning-v100 #learning-sol-explanation[hidden]{display:none!important}
.heine-learning-v100 #learning-sol-explanation:not([hidden])>.learning-sol-card-grid{display:grid}
.heine-learning-v100 .learning-path-close.heine-ui-pill{display:inline-flex;width:max-content;max-width:100%;min-height:36px;padding:6px 12px;margin:22px 0 0;font-size:14px;line-height:1.5;font-weight:500}

/* 2.0.259: Match the career cards shown directly above these learning paths. */
.heine-learning-v100 .learning-path-copy{gap:0}
.heine-learning-v100 .learning-path-kicker{color:var(--learn-green,#2fac81);font-size:var(--heine-text-label,.8125rem);line-height:1.45;font-weight:950;letter-spacing:.1em}
.heine-learning-v100 .learning-path-title{color:var(--learn-deep,#17624d);font-size:20px;font-weight:700;line-height:1.18;letter-spacing:normal;margin:5px 0 6px;overflow-wrap:anywhere}
.heine-learning-v100 .learning-path-text{max-width:none;color:var(--mut,#6d827a);margin:0;overflow-wrap:anywhere}
@layer heine-typography {
 main.heine-learning-v100 .learning-path-text{font-size:var(--heine-text-card,1rem)!important;line-height:1.5!important;font-weight:400}
 @media(max-width:760px){
  html body .learning-mobile-edited .learning-path-text{font-size:16px!important;line-height:1.55!important}
 }
}
@media(max-width:760px){.heine-learning-v100 .learning-path-title{font-size:16px!important;margin:3px 0 4px}}

/* 2.0.265: A coherent family contact footer and a full-width SoL explanation. */
.heine-learning-v100 .heine-family-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-top:24px;padding-top:20px;border-top:1px solid #bdd7c6}
.heine-learning-v100 .heine-family-footer .heine-family-contact{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:0}
.heine-learning-v100 .heine-family-footer .heine-family-contact-label{margin:0;color:var(--gd);font-weight:600}
.heine-learning-v100 .heine-family-footer .learning-path-close.heine-ui-pill{margin:0;flex-shrink:0}
.heine-learning-v100 #learning-sol-explanation{margin-top:26px}
.heine-learning-v100 #learning-sol-explanation .learning-sol-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}
@media(max-width:1000px){.heine-learning-v100 #learning-sol-explanation .learning-sol-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.heine-learning-v100 #learning-sol-explanation .learning-sol-card-grid{grid-template-columns:1fr}.heine-learning-v100 .heine-family-footer{align-items:flex-start}.heine-learning-v100 .heine-family-footer .heine-family-contact{flex-direction:column;align-items:flex-start}}

/* Confirmed desktop layout for Lernen & Wege; mobile remains separate. */
@layer heine-mobile-rules{
@media(min-width:901px){
html body .heine-learning-page .wrap{width:min(1180px,calc(100% - 64px))!important;max-width:1180px!important;margin-inline:auto!important}
html body .heine-learning-page .section{padding:48px 0!important}
html body .heine-learning-page h1{font-size:clamp(44px,5.7vw,82px)!important;line-height:1.08!important;text-wrap:balance}
html body .heine-learning-page h2{font-size:clamp(36px,3.5vw,50px)!important;line-height:1.15!important}
html body .heine-learning-page h3{font-size:24px!important;line-height:1.25!important}
html body .heine-learning-page p{font-size:16px!important;line-height:1.6!important}
html body .heine-learning-page .learning-hero-intro{font-size:18px!important}
html body .heine-learning-page .learning-path-title{font-size:24px!important;line-height:1.25!important}
html body .heine-learning-page .learning-path-text{font-size:16px!important;line-height:1.6!important}
html body .heine-learning-page .learning-career-card,html body .heine-learning-page .learning-sol-card,html body .heine-learning-page .learning-path-card,html body .heine-learning-page .heine-learning-stage-panel{border-radius:20px!important;min-width:0}
html body .heine-learning-page .learning-career-card>div:last-child,html body .heine-learning-page .learning-sol-card,html body .heine-learning-page .heine-learning-stage-panel{padding:24px!important}
html body .heine-learning-page .heine-learning-stage-panel>.tag{font-size:16px!important;line-height:1.4!important;font-weight:700!important;margin-bottom:12px!important}
html body .heine-learning-page .learning-sol-slider-stage{aspect-ratio:4/3!important;height:auto!important;border-radius:20px!important;overflow:hidden}
html body .heine-learning-page .learning-sol-slide{height:100%!important}
html body .heine-learning-page .learning-sol-slide img{width:100%!important;height:100%!important;object-fit:cover!important}
html body .heine-learning-page .learning-sol-slider{min-width:0}
html body .heine-learning-page .learning-career-visual{aspect-ratio:4/3!important;height:auto!important;overflow:hidden}
html body .heine-learning-page .learning-career-visual img{width:100%!important;height:100%!important;object-fit:cover!important}
html body .heine-learning-page .seal-card .learning-career-visual img{object-fit:contain!important;object-position:center!important;transform:none!important;padding:24px!important;box-sizing:border-box!important}
html body:has(.heine-learning-page) .footer-compact-row{width:min(1180px,calc(100% - 64px))!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:16px!important}
html body:has(.heine-learning-page) .footer-compact-school{display:flex!important;flex-direction:row!important;align-items:center!important;gap:16px!important;white-space:nowrap!important}
html body:has(.heine-learning-page) .footer-compact-identity{font-size:12px!important}
html body:has(.heine-learning-page) .footer-compact-contact{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:12px!important;font-size:11px!important;white-space:nowrap!important}
html body:has(.heine-learning-page) .footer-compact-nav{display:flex!important;flex-wrap:nowrap!important;white-space:nowrap!important;margin-left:auto!important;gap:12px!important}
html body:has(.heine-learning-page) .footer-compact-nav a,html body:has(.heine-learning-page) .footer-compact-nav button{font-size:12px!important}
html body:has(.heine-learning-page) .footer-social{flex-shrink:0;white-space:nowrap!important}
}
@media(min-width:901px) and (max-width:1279px){html body:has(.heine-learning-page) .footer-compact-contact{display:none!important}}
@media(min-width:901px) and (max-width:1100px){
html body .heine-learning-page .learning-sol-head.has-photo{grid-template-columns:1fr!important;gap:24px!important}
html body .heine-learning-page .learning-sol-slider{width:min(640px,100%)!important;margin-inline:auto!important}
html body .heine-learning-page .learning-career-showcase{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
html body .heine-learning-page .internships-card{grid-column:1/-1!important}
}
}
