/*
 * Amplify — App · Tools Layout
 *
 * Purpose: Defines the final categorized Tools layout and spacing.
 * Contract: Loaded after feature styles so it owns the final Tools-page composition.
 * Dependencies: tools-base.css plus feature tool-card styles.
 * Invariants: The three category grids are canonical markup; no runtime DOM reordering is required.
 * Maintenance: Modify the effective rule here. Do not append override layers for later refinements.
 */

.tools-section-stack{
  display:grid;
  gap:48px !important;
  margin-top:34px;
}
.tool-category-section{
  display:grid;
  gap:15px !important;
}
.tool-category-head{
  display:flex !important;
  align-items:center !important;
  gap:16px !important;
  margin:0 !important;
}
.tool-category-head::after{
  content:"";
  flex:1 1 auto;
  height:1px;
  background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,.055)) !important;
}
.tool-category-eyebrow{
  margin:0 !important;
  color:rgba(255,255,255,.84) !important;
  font-size:13px !important;
  font-weight:820 !important;
  letter-spacing:.105em !important;
  line-height:1.2 !important;
  text-transform:uppercase !important;
  white-space:nowrap;
}
.tool-category-title,
.tool-category-copy{
  display:none !important;
}
.tool-category-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px !important;
  margin-top:0 !important;
}
.tool-category-grid .tool-menu-card{
  min-height:236px !important;
  padding:24px 20px 20px !important;
  border-radius:18px !important;
}
.tool-category-grid .tool-menu-card-head{gap:12px}
.tool-category-grid .tool-menu-icon{
  width:42px !important;
  height:42px !important;
  margin-bottom:20px !important;
}
.tool-category-grid .tool-menu-icon svg{width:20px !important;height:20px !important}
.tool-category-grid .tool-menu-card h3{font-size:15.5px !important;line-height:1.28 !important}
.tool-category-grid .tool-menu-card p{margin-top:9px !important;font-size:12.5px !important;line-height:1.72 !important}
.tool-category-grid .tool-menu-card-footer{padding-top:20px !important}

@media (max-width:1200px){
  .tool-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:900px){
  .tools-section-stack{gap:40px !important}
  .tool-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  .tools-section-stack{gap:34px !important;margin-top:28px}
  .tool-category-grid{grid-template-columns:1fr}
  .tool-category-grid .tool-menu-card{min-height:198px !important}
  .tool-category-eyebrow{font-size:12.5px !important}
}
