/* Theme 0.2.4: Municipality card component, separate coat and accessible label. */
body.home .hi-home-modern-section--municipalities .hi-municipality-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  column-gap: 12px !important;
  row-gap: 12px !important;
}
body.home .hi-home-modern-section--municipalities .hi-municipality-grid > .hi-municipality-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 134px !important;
  padding: 16px 12px 18px !important;
  height: auto !important;
  text-align: center !important;
}
body.home .hi-home-modern-section--municipalities .hi-municipality-card::before {
  content: none !important;
  display: none !important;
  background: none !important;
}
body.home .hi-home-modern-section--municipalities .hi-municipality-card__coat {
  display: block !important;
  flex: none !important;
  position: static !important;
  z-index: 1 !important;
  width: 48px !important;
  height: 54px !important;
  margin: 0 auto !important;
  background-image: var(--hi-municipality-coat,none) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  opacity: 1 !important;
  filter: none !important;
}
body.home .hi-home-modern-section--municipalities .hi-municipality-card__name {
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  color: #123148 !important;
  font-size: clamp(.83rem,.8rem + .14vw,.95rem) !important;
  line-height: 1.28 !important;
  font-weight: 800 !important;
  overflow-wrap: normal !important;
  hyphens: auto !important;
}
body.home .hi-home-modern-section--municipalities .hi-municipality-card__arrow {
  right: 9px !important;
  bottom: 9px !important;
}
/* Larger readable texts inside event cards without changing the 4-up grid. */
body.home .hi-home-modern-section--events .hi-home-event-showcase__body h3 {
  font-size: clamp(.88rem,.81rem + .15vw,1rem) !important;
  line-height: 1.3 !important;
}
body.home .hi-home-modern-section--events .hi-home-event-showcase__body {
  font-size: .84rem !important;
  line-height: 1.45 !important;
}
@media (max-width: 900px) {
  body.home .hi-home-modern-section--municipalities .hi-municipality-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 560px) {
  body.home .hi-home-modern-section--municipalities .hi-municipality-grid > .hi-municipality-card {
    min-height: 126px !important;
    padding: 13px 10px 16px !important;
  }
  body.home .hi-home-modern-section--municipalities .hi-municipality-card__coat {
    width: 42px !important;
    height: 48px !important;
  }
}
