/* B2 specialization (roadmap) pages, from design/b2/boards/B2-Roadmap.dc.html.
   The markup is rendered at the edge by renderSpecialization() in
   functions/_lib/course-pages.ts; --tint and --deep are the specialization's colours. */
body.b2r-page{background:#F5F7FA}
.b2r{display:block;color:#3B4558;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.6;background:#F5F7FA}
.b2r a{color:#5B6B8C}
.b2r :focus-visible{outline:2px solid #1A2233;outline-offset:2px}
.b2r-in{max-width:1200px;margin:0 auto;padding:0 40px;box-sizing:border-box}
.b2r-hero .b2r-in{padding-top:32px;padding-bottom:56px}
.b2r-bc{margin-bottom:40px;font-size:14px;color:#5E6878}
.b2r-bc ol{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.b2r-bc li{display:flex;gap:8px}
.b2r-bc a{color:#5E6878;text-decoration:underline;text-decoration-color:#CFD5DE;text-underline-offset:3px}
.b2r-bc a:hover{color:#1A2233}
.b2r-top{display:flex;flex-wrap:wrap;gap:48px 64px;align-items:flex-start}
.b2r-main{flex:1 1 560px;min-width:0}
.b2r-k{margin:0 0 8px;font-size:14px;color:#5E6878}
.b2r h1{margin:0 0 18px;font-family:Newsreader,Georgia,serif;font-weight:400;font-size:60px;line-height:1.04;letter-spacing:-.022em;color:#1A2233;text-wrap:balance}
.b2r-lead{margin:0 0 28px;max-width:32em;font-size:19px;line-height:1.55;text-wrap:pretty}
.b2r-acts{display:flex;flex-wrap:wrap;gap:12px}
.b2r a.b2r-ink,.b2r a.b2r-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;padding:0 24px;border-radius:8px;text-decoration:none;font-weight:500}
.b2r a.b2r-ink{background:#1A2233;color:#FFFFFF}
.b2r a.b2r-ink:hover{background:#2A3447}
.b2r a.b2r-ghost{padding:0 20px;border:1px solid #CFD5DE;background:#FFFFFF;color:#1A2233}
.b2r a.b2r-ghost:hover{background:#F5F7FA}
.b2r-stats{margin:40px 0 0;padding-top:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(120px,100%),1fr));gap:16px 24px;border-top:1px solid #E1E5EB}
.b2r-stats>div{display:flex;flex-direction:column-reverse;justify-content:flex-end}
.b2r-stats dt{font-size:13px;color:#5E6878}
.b2r-stats dd{margin:0;font-size:22px;font-weight:500;color:#1A2233}
.b2r-order{flex:0 1 380px;min-width:0;box-sizing:border-box;padding:8px 24px 12px;border-radius:12px;background:#FFFFFF;border:1px solid #E1E5EB}
.b2r-order>p{margin:14px 0 6px;font-size:13px;font-weight:500;color:#5E6878}
.b2r-order ol{margin:0;padding:0;list-style:none}
.b2r-order a{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:baseline;padding:14px 0;border-top:1px solid #ECEFF3;color:inherit;text-decoration:none}
.b2r-order a:hover b{text-decoration:underline;text-decoration-color:#CFD5DE;text-underline-offset:3px}
.b2r-on{font-family:Newsreader,Georgia,serif;font-size:20px;color:#5E6878}
.b2r-order a>span:last-child{line-height:1.35}
.b2r-order b{display:block;font-weight:500;color:#1A2233}
.b2r-order b+span{font-size:13px;color:#5E6878}

.b2r-body{padding-bottom:72px}
.b2r-steps{margin:0;padding:0;list-style:none}
.b2r-step{display:flex;flex-wrap:wrap;gap:24px 48px;padding:40px 0;border-top:1px solid #E1E5EB;scroll-margin-top:16px}
.b2r-step:last-child{border-bottom:1px solid #E1E5EB}
.b2r-step-l{flex:1 1 280px;max-width:340px}
.b2r-n{margin:0 0 10px;font-family:Newsreader,Georgia,serif;font-size:40px;line-height:1;color:#5E6878}
.b2r-step h2{margin:0 0 10px;font-family:Newsreader,Georgia,serif;font-weight:400;font-size:28px;line-height:1.2;letter-spacing:-.01em;color:#1A2233}
.b2r-sd{margin:0 0 10px;font-size:15px;text-wrap:pretty}
.b2r-m{margin:0;font-size:13px;color:#5E6878}
.b2r-step-r{flex:999 1 560px;min-width:0}
.b2r-cards{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr));gap:32px 24px}
.b2r-card{display:block;color:inherit !important;text-decoration:none}
.b2r-img{display:block;aspect-ratio:3/2;border-radius:12px;overflow:hidden;background:var(--tint,#ECEFF3)}
.b2r-img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.b2r-card:hover .b2r-img img{transform:scale(1.03)}
.b2r-noimg{display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;text-align:center;font-family:Newsreader,Georgia,serif;font-size:20px;line-height:1.25;color:var(--deep,#1A2233)}
.b2r-cn{display:block;margin:14px 0 2px;font-size:13px;color:#5E6878}
.b2r-ct{display:block;font-weight:500;line-height:1.35;color:#1A2233}
.b2r-card:hover .b2r-ct{text-decoration:underline;text-decoration-color:#CFD5DE;text-underline-offset:3px}
.b2r-cm{display:block;margin:4px 0 0;font-size:14px;color:#5E6878}
.b2r-cf{display:block;margin:2px 0 0;font-size:14px;font-weight:500;color:#5B6B8C}
/* "Show the other N courses": a checkbox before the cards, its label after them */
.b2r-more-in{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.b2r-more-in:not(:checked)~.b2r-cards .b2r-x{display:none}
.b2r-more{display:flex;align-items:center;justify-content:center;margin-top:28px;width:100%;min-height:48px;box-sizing:border-box;border-radius:8px;border:1px solid #CFD5DE;background:#FFFFFF;color:#1A2233;font-weight:500;cursor:pointer;user-select:none}
.b2r-more:hover{background:#F5F7FA}
.b2r-more-in:focus-visible~.b2r-more{outline:2px solid #1A2233;outline-offset:2px}
.b2r-more-c,.b2r-more-in:checked~.b2r-more .b2r-more-o{display:none}
.b2r-more-in:checked~.b2r-more .b2r-more-c{display:inline}

.b2r-join{margin-top:56px;display:flex;flex-wrap:wrap;gap:24px 48px;align-items:center;justify-content:space-between;padding:32px 36px;border-radius:12px;background:#FFFFFF;border:1px solid #E1E5EB;box-shadow:0 1px 2px rgba(26,34,51,.04),0 12px 32px rgba(26,34,51,.06)}
.b2r-join>div:first-child{flex:1 1 420px;min-width:0}
.b2r-join .b2r-k{margin:0 0 4px;font-size:13px;font-weight:500}
.b2r-join h2{margin:0 0 8px;font-family:Newsreader,Georgia,serif;font-weight:400;font-size:30px;line-height:1.2;color:#1A2233}
.b2r-join p:not(.b2r-k){margin:0;font-size:15px}
.b2r-others{margin-top:48px}
.b2r-others .b2r-k{margin:0 0 12px;font-size:13px;font-weight:500}
.b2r-others ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.b2r-others a{display:inline-flex;align-items:center;gap:8px;min-height:40px;box-sizing:border-box;padding:0 14px 0 6px;border:1px solid #E1E5EB;border-radius:999px;background:#FFFFFF;color:#1A2233;text-decoration:none;font-size:14px}
.b2r-others a:hover{border-color:#CFD5DE;background:#FBFCFD}
.b2r-others a span{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:Newsreader,Georgia,serif;font-size:13px}

@media (max-width:900px){
  .b2r h1{font-size:48px}
  .b2r-order{flex-basis:100%}
  .b2r-step-l{max-width:none}
}
@media (max-width:640px){
  .b2r-in{padding:0 20px}
  .b2r-hero .b2r-in{padding-top:20px;padding-bottom:40px}
  .b2r-bc{margin-bottom:24px;font-size:13px}
  .b2r h1{font-size:38px;line-height:1.06}
  .b2r-lead{font-size:17px;margin-bottom:22px}
  .b2r-acts{display:grid;grid-template-columns:1fr 1fr}
  .b2r a.b2r-ink,.b2r a.b2r-ghost{padding:0 12px}
  .b2r-stats{margin-top:28px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .b2r-order{padding:4px 18px 8px}
  .b2r-step{padding:32px 0;gap:20px}
  .b2r-n{font-size:32px}
  .b2r-step h2{font-size:24px}
  .b2r-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
  .b2r-ct{font-size:15px}
  .b2r-cm,.b2r-cf{font-size:13px}
  .b2r-join{margin-top:40px;padding:24px 22px}
  .b2r-join h2{font-size:24px}
  .b2r-join .b2r-acts{width:100%;grid-template-columns:1fr}
}
@media (max-width:380px){.b2r-cards{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.b2r-img img{transition:none}}
