/* A clear pink, white and ink hierarchy for the computer science collection. */
.cs-resources{--cs-blush:#fbeaf2;--cs-border:#d9a6bd;--cs-copy:#3f353a;--cs-pink:#ed82ad}
.cs-resources main{padding-top:30px}
.cs-resources .page-intro{padding:38px;border:1px solid var(--cs-border);border-top:5px solid var(--cs-pink);border-radius:24px;background:var(--cs-blush)}
.cs-resources .eyebrow{font-size:.8125rem;letter-spacing:.1em;color:#8f2852}
.cs-resources h1{max-width:920px;margin-top:16px}
.cs-resources .intro-copy{color:var(--cs-copy);margin-bottom:28px}
.cs-resources .area-nav{padding:22px 0 0;border-top:1px solid var(--cs-border);border-bottom:0}
.cs-resources .area-nav a{background:#fff;border-color:#bd809b;color:#242024;font-weight:600}
.cs-resources .area-nav a:first-child{background:#171317;border-color:#171317;color:#fff}
.cs-resources .portfolio-section{margin-top:36px;padding:0 0 36px;border-bottom:1px solid var(--cs-border)}
.cs-resources .section-heading{padding:28px 30px;margin-bottom:24px;border:1px solid var(--cs-border);border-radius:18px;background:var(--cs-blush)}
.cs-resources .section-heading .section-intro{margin-bottom:0;color:var(--cs-copy)}
.cs-resources .section-label{margin:0 0 12px;color:#8f2852;font-size:.8125rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.cs-resources #start .section-heading{background:#171317;border-color:#171317}
.cs-resources #start .section-heading h2{color:#fff}
.cs-resources #start .section-heading .section-label{color:#f4a6c6}
.cs-resources #start .section-heading .section-intro{color:#f1e4ea}
.cs-resources .step-list{gap:16px;margin:0}
.cs-resources .step-list li{padding:24px 20px;border:1px solid var(--cs-border);border-radius:18px;background:var(--cs-blush)}
.cs-resources .step-list li:nth-child(even){background:#fff;border-color:#b89ba8}
.cs-resources .step-list li:before{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#171317;color:#fff;font:500 1rem/1 Arial,sans-serif;margin-bottom:18px}
.cs-resources .step-list h3{color:#171317}
.cs-resources .step-list p{color:var(--cs-copy)}
.cs-resources .step-list a{font-weight:700;color:#8f2852}
.cs-resources .work-card{padding:28px;border:1px solid var(--cs-border);border-top:4px solid var(--cs-pink);border-radius:20px;background:#fff;box-shadow:0 4px 0 #f5e6ed}
.cs-resources .work-card p{color:var(--cs-copy)}
.cs-resources .kind{color:#90294f}
.cs-resources .resource-meta span{color:#392c33;border-color:#d4a6bb;background:var(--cs-blush);font-size:.875rem}
.cs-resources .work-card .source-note{color:#61505a}
.cs-resources .work-card .resource-action{margin-top:auto;border-color:#d65c8d;background:var(--cs-pink);border-radius:12px;color:#171317}
.cs-resources .source-posts{display:grid;gap:18px}
.cs-resources .source-posts li{padding:26px;border:1px solid var(--cs-border);border-left:4px solid #c65283;border-radius:18px;background:var(--cs-blush);gap:20px}
.cs-resources .source-posts li:nth-child(even){background:#fff;border-color:#bda0ad;border-left-color:#171317}
.cs-resources .source-posts h3{color:#171317;margin:12px 0 8px}
.cs-resources .source-posts p{color:var(--cs-copy)}
.cs-resources .source-posts time{display:inline-block;padding:3px 9px;border:1px solid #d4a6bb;border-radius:6px;background:#fff;color:#75485b;font-size:.8125rem;margin:0}
.cs-resources .source-posts a.resource-action{background:#fff;border-color:#ba839b;color:#171317}
.cs-resources .section-links a.resource-action{width:100%;padding:18px 22px;background:#171317;border-color:#171317;color:#fff;border-radius:16px}
.cs-resources .site-footer{padding-top:28px}
@media(hover:hover){
  .cs-resources .area-nav a:hover{background:#171317;border-color:#171317;color:#fff}
  .cs-resources .work-card .resource-action:hover,.cs-resources .source-posts a.resource-action:hover{background:#171317;border-color:#171317;color:#fff}
  .cs-resources .section-links a.resource-action:hover{background:#38232d;border-color:#38232d}
}
@media(max-width:900px){
  .cs-resources .source-posts li{grid-template-columns:1fr}
  .cs-resources .source-posts a.resource-action{justify-self:start}
}
@media(max-width:600px){
  .cs-resources .site-header{position:static}
  html:has(.cs-resources){scroll-padding-top:20px}
  .cs-resources .wrap{padding-left:20px;padding-right:20px}
  .cs-resources main{padding-top:22px}
  .cs-resources .page-intro{padding:24px 20px;border-radius:20px}
  .cs-resources h1{font-size:clamp(2rem,8.5vw,2.7rem);line-height:1.15;letter-spacing:-.055rem}
  .cs-resources .eyebrow{font-size:.75rem;letter-spacing:.06em}
  .cs-resources .intro-copy{font-size:1rem;line-height:1.75}
  .cs-resources .area-nav{gap:10px}
  .cs-resources .area-nav a{padding:10px 14px;font-size:.875rem}
  .cs-resources .portfolio-section{margin-top:26px;padding-bottom:26px}
  .cs-resources .section-heading{padding:24px 22px;border-radius:16px;margin-bottom:18px}
  .cs-resources h2{font-size:1.875rem;line-height:1.2}
  .cs-resources .step-list li{padding:22px}
  .cs-resources .work-card{padding:24px 22px;border-radius:18px}
  .cs-resources .work-card h3{font-size:1.625rem;line-height:1.25}
  .cs-resources .source-posts li{padding:22px 20px;gap:18px}
  .cs-resources .source-posts h3{font-size:1.125rem}
  .cs-resources .source-posts a.resource-action{width:100%;min-width:0}
  .cs-resources .section-links a.resource-action{padding:16px 18px}
}
