/* v24: focused layout fix for the existing About actions and public quick-link cards.
   No data, routes, visibility conditions or colors are changed. */
.dk-public-shell .dk-route-home .dk-culture-about .dk-about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 1.1vw, 18px);
  margin-top: 4px;
}
.dk-public-shell .dk-route-home .dk-culture-about .dk-about-actions > button {
  flex: 0 1 auto;
  margin: 0 !important;
  min-height: 50px;
  white-space: normal;
  text-align: center;
}
@media (max-width: 480px) {
  .dk-public-shell .dk-route-home .dk-culture-about .dk-about-actions {
    gap: 12px;
  }
  .dk-public-shell .dk-route-home .dk-culture-about .dk-about-actions > button {
    width: 100%;
    max-width: 100%;
  }
}

/* The original seven quick links keep their text and images.
   Equal grid row tracks + a reserved caption area stop long captions
   from creating an odd-sized card. */
.dk-public-shell .dk-route-home .dk-culture-partners .grid {
  align-items: stretch !important;
  grid-auto-rows: 1fr;
}
.dk-public-shell .dk-route-home .dk-culture-partners .grid > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  height: 100%;
  min-width: 0;
  min-height: 194px;
  padding: 17px 11px !important;
  box-sizing: border-box;
  text-align: center;
}
.dk-public-shell .dk-route-home .dk-culture-partners .grid > button > div:first-child {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  margin: 0 0 10px !important;
}
.dk-public-shell .dk-route-home .dk-culture-partners .grid > button > p {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  margin: 0 !important;
  min-height: 56px;
  font-size: clamp(11px, .81vw, 13px) !important;
  line-height: 1.38 !important;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: center;
}
@media (max-width: 1100px) {
  .dk-public-shell .dk-route-home .dk-culture-partners .grid > button {
    min-height: 178px;
    padding: 14px 10px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dk-public-shell .dk-route-home .dk-culture-partners .grid > button {
    transition: none !important;
  }
}
