/**
 * Theme Name:     DFD Ronneby Child
 * Author:         Danielle Marshall
 * Template:       dfd-ronneby
 * Text Domain:    dfd-ronneby-child
 * Description:    Child theme for Ronneby
 */

/**
/* Footer widget menus: force single-column vertical list */
#footer .widget_nav_menu .menu {
  display: block !important;          /* cancel flex/rows */
  column-count: 1 !important;         /* cancel CSS multi-columns */
  column-gap: 0 !important;
  margin: 0;
  padding: 0;
}

/* Each item on its own line (override mega-menu floats/widths/heights) */
#footer .widget_nav_menu .menu > li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
  height: auto !important;            /* overrides inline height */
  min-height: 0 !important;           /* overrides inline min-height */
  margin: 0 0 8px 0;
}

/* Make links full-width and tidy spacing */
#footer .widget_nav_menu .menu > li > a {
  display: block;
  padding: 4px 0;
  text-decoration: none;
}

/* Safety: if the UL was turned into flex, stack vertically */
#footer .widget_nav_menu .menu {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

/* Optional: remove bullets if theme shows them */
#footer .widget_nav_menu .menu { list-style: none; }
/* Footer widget menus: single column with tight spacing */

/* 1) Kill any inline fixed heights from mega-menu equaliser */
#footer .widget_nav_menu .menu > li[style],
#footer .widget_nav_menu .menu > li.mega-menu-item {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

/* 2) Force normal block layout, no floats, no multi-columns */
#footer .widget_nav_menu .menu {
  display: block !important;
  column-count: 1 !important;
  column-gap: 0 !important;
  margin: 0;
  padding: 0;
}
#footer .widget_nav_menu .menu > li {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 0 6px 0 !important;    /* adjust spacing here */
  padding: 0 !important;
}

/* 3) Make links compact and full-width */
#footer .widget_nav_menu .menu > li > a {
  display: block !important;
  padding: 4px 0 !important;       /* tweak to taste */
  line-height: 1.4 !important;     /* reduces tall rows */
  text-decoration: none;
  white-space: normal !important;
}

/* 4) If UL/LIs were turned into flex, stack and cancel stretch */
#footer .widget_nav_menu .menu {
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
}
#footer .widget_nav_menu .menu > li,
#f
