/* a11y: WCAG 1.4.3 link contrast */
a { color: #005a87; }
a:hover,
a:focus { color: #004a6f; text-decoration: underline; }

/* Siteimprove fix: avoid all-caps paragraph in payment methods */
.payment-methods p {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Siteimprove fix: links must not rely on color alone */
.readmore {
  text-decoration: underline !important;
}

/* Siteimprove fix: links must not rely on color alone */
.entry-content a {
  text-decoration: underline !important;
}

/* Ensure header rows keep borders after converting td → th */
table thead th {
  border-top: 1px solid #ccc;
}

/* Siteimprove: inline content links need a secondary identifier */
#intro-text a,
#content-main .content a,
#content-main p a,
#content-main li a,
#content-main td a {
  text-decoration: underline !important;
  text-decoration-line: underline !important;
}

/* Siteimprove: Line height is below minimum value */
#mdining-menu #mdining-menu-sidebar p {
  margin: 0;
  line-height: 1.5;
}

.promo .content p {
  line-height: 1.5;
}

/* Siteimprove: Text not included in an ARIA landmark */
#mdining-menu-sidebar fieldset {
  border: 0;
  margin: 0 0 24px 0;
  padding: 0;
  min-width: 0;
}

#mdining-menu-sidebar .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

#mdining-menu-sidebar fieldset > h5 {
  margin: 0 0 10px 0;
}

#mdining-menu-sidebar #mdining-filters > h4,
#mdining-menu-sidebar #mdining-mynutrition > h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  padding: 10px 12px;
}

#mdining-menu-sidebar #mdining-filters > h4 {
  background: #5d7dbf;
  color: #fff;
}

/* Siteimprove: Font size is fixed. */
html {
  font-size: 100%; /* ensures browser scaling works */
}

.post p,
.post strong,
.post em,
.post span {
  font-size: 1rem !important;
}

/* =========================================================
   Enhanced target size for links/buttons
   Minimum target: 44x44 (START)
   ========================================================= */

/* Top utility navigation */
.menu-header-top-menu-container .menu > li > a,
#menu-header-top-menu > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  box-sizing: border-box;
  line-height: 1.3;
}

/* Left sidebar navigation */
#contentnavlist a,
#contentnavlist .page_item > a,
#contentnavlist .children a {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  box-sizing: border-box;
  line-height: 1.3;
}

/* Preserve submenu indentation */
#contentnavlist .children a {
  padding-left: 20px;
}

/* Button-style links / CTA links */
a.button,
a.linkbtn,
.more a,
a[style*="display: flex"],
a[style*="display:flex"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-top: 12px;
  padding-bottom: 12px;
  box-sizing: border-box;
  line-height: 1.3;
}

/* =========================================================
   Enhanced target size for links/buttons
   Minimum target: 44x44 (END)
   ========================================================= */
   