/* INFOCHIEF / IT TOOLKITS — page-scoped final visual refinement, 2026-10-27.
   Does not change shared site header, footer, navigation or other pages. */

/* Comfortable transition from hero without the former overlapping benefits strip. */
body.toolkits-page main > section.section { padding: 62px 0 68px; }
body.toolkits-page main > section.about-hero + section.section { padding-top: 70px; }
body.toolkits-page main > section.section-soft { background: #f5f8fc; }
body.toolkits-page main > section.section .section-head {
  align-items: end; gap: 18px 26px; margin-bottom: 26px;
}
body.toolkits-page main > section.section .section-head h2 {
  color: #113960; font-size: clamp(27px,2.5vw,37px); line-height: 1.23;
  font-weight: 800; letter-spacing: -.75px;
}
body.toolkits-page .toolkits-section-intro {
  max-width: 810px; margin: 11px 0 0; color: #506780;
  font-size: 15px; line-height: 1.7; letter-spacing: 0;
}

/* Consistent five-card grids and typography. */
body.toolkits-page main .about-ecosystem-grid,
body.toolkits-page main .category-grid { gap: 16px; }
body.toolkits-page main .about-ecosystem-card,
body.toolkits-page main .category-card {
  border: 1px solid #dce7f2; border-radius: 17px; background: #fff;
  box-shadow: 0 7px 22px rgba(23,65,104,.045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.toolkits-page main .about-ecosystem-card:hover,
body.toolkits-page main .category-card:hover {
  border-color: #93b7dc; box-shadow: 0 12px 28px rgba(23,65,104,.11);
  transform: translateY(-2px);
}
body.toolkits-page main .about-ecosystem-card {
  min-width: 0; min-height: 198px; display: flex; flex-direction: column;
  align-items: flex-start; padding: 24px 22px 23px;
}
body.toolkits-page main .about-ecosystem-card > span {
  width: 58px; height: 58px; flex: 0 0 58px; margin: 0 0 20px;
  border-radius: 16px; background: linear-gradient(145deg,#eaf5ff,#dbeafe);
}
body.toolkits-page main .about-ecosystem-card strong {
  color:#113960; font-size: 19px; line-height: 1.32; font-weight: 800;
}
body.toolkits-page main .about-ecosystem-card small {
  color: #566b82; font-size: 14px; line-height: 1.56; margin-top: 10px;
}
body.toolkits-page main .category-card {
  min-width: 0; min-height: 202px; padding: 24px 22px 22px;
}
body.toolkits-page main .category-icon {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 18px;
}
body.toolkits-page main .category-card strong {
  color: #113960; font-size: 18px; line-height: 1.3; font-weight: 800;
}
body.toolkits-page main .category-card small {
  color: #566b82; font-size: 14px; line-height: 1.58; margin-top: 10px;
}

/* Featured Toolkits: three columns, balanced card contents and readable CTA. */
body.toolkits-page #featured-toolkit-title + .toolkits-section-intro { max-width: 700px; }
body.toolkits-page .toolkits-featured .course-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px;
}
body.toolkits-page .toolkits-featured .course-card {
  border:1px solid #dce7f2; border-top: 3px solid #3686c1;
  border-radius:17px; min-width:0; box-shadow:0 7px 22px rgba(23,65,104,.045);
}
body.toolkits-page .toolkits-featured .course-card:hover {
  border-color: #87b7de; border-top-color: #1167a2;
  box-shadow: 0 14px 30px rgba(23,65,104,.11); transform: translateY(-2px);
}
body.toolkits-page .toolkits-featured .course-body {
  display:flex; flex-direction:column; align-items:stretch;
  min-height:214px; padding:23px 24px 21px;
}
body.toolkits-page .toolkits-featured .course-code {
  display:inline-flex; align-self:flex-start; width:auto;
  color:#176394; background:#edf5fc; border-radius:6px;
  padding:5px 9px; font-size:10px; font-weight:850; letter-spacing:.1em;
  margin:0 0 13px;
}
body.toolkits-page .toolkits-featured .course-body h3 {
  color:#113960; font-size:20px; line-height:1.32; min-height:0; margin:0 0 10px;
}
body.toolkits-page .toolkits-featured .course-body > p:not(.course-code) {
  color:#566b82; font-size:14px; line-height:1.55; min-height:0; margin:0 0 18px;
  flex:1;
}
body.toolkits-page .toolkits-featured .course-cta {
  display:inline-flex; align-self:flex-start; margin:auto 0 0;
  font-size:13px; font-weight:750; color:#07507b;
  text-decoration:underline; text-decoration-color:transparent;
  text-underline-offset:4px; transition: text-decoration-color .2s ease;
}
body.toolkits-page .toolkits-featured .course-cta:hover,
body.toolkits-page .toolkits-featured .course-cta:focus-visible { text-decoration-color:currentColor; }
body.toolkits-page .toolkits-featured .section-head .text-link {
  display:inline-flex; flex:0 0 auto; align-items:center; font-size:13px; white-space:nowrap;
}

/* Implementation sequence reads as a coherent four-step process. */
body.toolkits-page .toolkits-implementation .cert-info-grid { gap:16px; }
body.toolkits-page .toolkits-implementation .about-ecosystem-card { min-height:190px; }
body.toolkits-page .toolkits-implementation .about-ecosystem-card > span {
  color:#07507b; font-size:25px; font-variant-numeric:tabular-nums;
}

/* Accessible navigation and smaller screens. */
body.toolkits-page main a:focus-visible {
  outline: 3px solid #ebad2b; outline-offset:3px; border-radius:4px;
}
@media(max-width:1199px) {
  body.toolkits-page main .about-ecosystem-grid,
  body.toolkits-page main .category-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  body.toolkits-page .toolkits-featured .course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.toolkits-page main > section.section { padding:54px 0 60px; }
}
@media(max-width:800px) {
  body.toolkits-page main .about-ecosystem-grid,
  body.toolkits-page main .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.toolkits-page .toolkits-implementation .cert-info-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.toolkits-page main > section.section .section-head { align-items:flex-start; flex-direction:column; }
  body.toolkits-page .toolkits-featured .section-head .text-link { display:inline-flex; }
}
@media(max-width:600px) {
  body.toolkits-page main > section.section { padding:42px 0 46px; }
  body.toolkits-page main > section.about-hero + section.section { padding-top:48px; }
  body.toolkits-page main > section.section .section-head h2 { font-size:clamp(25px,6.5vw,31px); line-height:1.25; }
  body.toolkits-page .toolkits-section-intro { font-size:14px; line-height:1.65; }
  body.toolkits-page main .about-ecosystem-grid,
  body.toolkits-page main .category-grid,
  body.toolkits-page .toolkits-featured .course-grid,
  body.toolkits-page .toolkits-implementation .cert-info-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  body.toolkits-page main .about-ecosystem-card,
  body.toolkits-page main .category-card { min-height:0; padding:20px; }
  body.toolkits-page main .about-ecosystem-card strong {font-size:18px;}
  body.toolkits-page main .category-card strong {font-size:18px;}
  body.toolkits-page .toolkits-featured .course-body { min-height:0; padding:22px; }
}
@media(prefers-reduced-motion:reduce) {
  body.toolkits-page main .about-ecosystem-card,
  body.toolkits-page main .category-card,
  body.toolkits-page .toolkits-featured .course-card { transition:none; transform:none !important; }
}
