/* Long module names wrap naturally above the existing bottom-right icons. */
#home #tiles .tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  height: auto;
  min-height: 205px;
  padding-bottom: 100px;
}

#home #tiles .tile h3 {
  margin: 0 0 8px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

#home #tiles .tile p {
  line-height: 1.45;
  overflow-wrap: anywhere;
}

:is(#add, #finance, #creating, #cad, #activity) .box > h1,
#knowledge .k15-card > h1 {
  line-height: 1.2;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  #home #tiles .tile { min-height: 170px; }
}

@media (max-width: 560px) {
  #home #tiles .tile { min-height: 150px; }
  :is(#add, #finance, #creating, #cad, #activity) .box > h1,
  #knowledge .k15-card > h1 { font-size: 28px; }
}
