/* MOD QC - page sheets (Menu ... Locations). Theme red #8B0E04, hover #C4122F, brand black #231F20.
   Site-wide colour swaps (bright red, teal, stray reds -> theme red) live in qc-brand-red.css. */

:root { --mp-red: #8b0e04; --mp-red-hover: #c4122f; --mp-black: #231f20; }

/* ---------- Menu: hero CTA should be red ---------- */
.page-template-template-menuv3 .pbv2-hero__cta-button.btn--white-alt,
.page-template-template-menuv3 .pbv2-hero__cta-button.btn--white {
  background-color: var(--mp-red);
  border-color: var(--mp-red);
  color: #fff;
}
.page-template-template-menuv3 .pbv2-hero__cta-button.btn--white-alt:hover,
.page-template-template-menuv3 .pbv2-hero__cta-button.btn--white-alt:focus,
.page-template-template-menuv3 .pbv2-hero__cta-button.btn--white:hover,
.page-template-template-menuv3 .pbv2-hero__cta-button.btn--white:focus {
  background-color: var(--mp-red-hover);
  border-color: var(--mp-red-hover);
  color: #fff;
}

/* ---------- Column-layout section headings (were grey #605954) ---------- */
/* Rewards "Choose your rewards", Gift Cards "Gift Card FAQ" -> theme red */
.page-id-9744 .column-layout__headline,
.page-id-2861 .column-layout__headline { color: var(--mp-red); }
/* Careers "Why MOD?", Community "Gratitude With Attitude", Contact "Helpful Links" -> brand black */
.page-id-22 .column-layout__headline,
.page-id-50 .column-layout__headline,
.page-id-46 .column-layout__headline { color: var(--mp-black); }

/* Rewards "Choose your rewards": points label was grey and the copy oversized */
.page-id-9744 .column-layout .three-column h5 { color: var(--mp-black); font-size: 24px; }
.page-id-9744 .column-layout .three-column h3 { font-size: 20px; line-height: 1.3; }

/* ---------- Catering: CTA buttons aligned across the cards ---------- */
.catering-block .catering-block__wrap { height: 100%; }
.catering-block .catering-block__text-wrap { display: flex; flex-direction: column; flex: 1 1 auto; }
.catering-block .catering-block__button { margin-top: auto; align-self: flex-start; }
.catering-block .catering-block__body { margin-bottom: 16px; }

/* ---------- Gift Cards: FAQ options aligned (buttons on one line) ---------- */
.page-id-2861 .column-layout .three-column { display: flex; flex-direction: column; }
.page-id-2861 .column-layout .three-column > .row { flex: 1 1 auto; }
.page-id-2861 .column-layout .three-column > .row > [class*="col-"] { display: flex; flex-direction: column; }
.page-id-2861 .column-layout .three-column .btn { margin-top: auto; }

/* ---------- Allergen / Nutrition (incl. MOD Fresh) ---------- */
/* page heading in theme red (template sets an inline colour) */
.page-template-template-allergen h1,
.page-template-template-allergen-mod-fresh h1,
.page-template-template-nutrition h1,
.page-template-template-nutrition-mod-fresh h1 { color: var(--mp-red) !important; }
/* item names in the tables: Title Case, brand black */
.mp-allergen__item, .mp-nutrition__item, .mp-mfn__item,
[class*="mp-allergen"] tbody th, [class*="mp-nutrition"] tbody th, [class*="mp-mf"] tbody th {
  color: var(--mp-black);
  text-transform: capitalize;
}
/* hyperlinks bold */
.page-template-template-allergen main a:not(.btn),
.page-template-template-allergen-mod-fresh main a:not(.btn),
.page-template-template-nutrition main a:not(.btn),
.page-template-template-nutrition-mod-fresh main a:not(.btn) { font-weight: 700; }
/* legend icons = the same dots used in the table, aligned in one column */
.mp-legend { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0; }
.mp-legend__icon {
  display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background-color: var(--mp-red); border: 2px solid var(--mp-red); box-sizing: border-box;
}
.mp-legend__icon--ring { background-color: transparent; }

/* Cross-contact notice above the allergen tables: plain readable text, clearly marked, strong contrast */
.mp-allergen-note {
  margin: 24px 0 8px; padding: 16px 20px;
  border-left: 6px solid var(--mp-red); background: #f3f2ef; color: var(--mp-black);
  font-size: 18px; line-height: 1.5; font-style: normal; font-weight: 400;
}
.mp-allergen-note p { margin: 0 0 10px; }
.mp-allergen-note p:last-child { margin-bottom: 0; font-weight: 700; }
/* Delivery / last-updated / contact block below the tables */
.mp-allergen-footer { margin-top: 24px; padding-top: 16px; border-top: 1px solid #cdc5bf; color: var(--mp-black); }
.mp-allergen-footer p { margin: 0 0 10px; }

/* Open circle must stay hollow: qc-brand-red.css re-applies the red fill after the theme's
   transparent rule for .contains--never, so restore it here (loaded after qc-brand-red). */
.allergen .contains--never, .mod-fresh-salads-allergen .contains--never,
.mod-fresh-salads-nutrition .contains--never, .nutrition .contains--never,
.allergen .contains--custom, .mod-fresh-salads-allergen .contains--custom,
.mod-fresh-salads-nutrition .contains--custom, .nutrition .contains--custom { background-color: transparent; }

/* Chart key, shown once above the allergen tables */
.mp-allergen-key { margin: 16px 0 24px; color: var(--mp-black); font-size: 16px; line-height: 1.5; }
.mp-allergen-key__title { margin: 0 0 6px; font-weight: 700; }
.mp-allergen-key__list { list-style: none; margin: 0; padding: 0; }
.mp-allergen-key__list li { display: flex; align-items: center; gap: 8px; margin: 2px 0; }
.mp-allergen-key__list .mp-legend__icon { margin: 0; }
.mp-allergen-key__star { display: inline-block; width: 20px; flex: 0 0 auto; text-align: center; color: var(--mp-red); }

/* ---------- Privacy Policy ---------- */
/* list numbers / letters bold (points 4 and 6), lead-in sub headings bold */
.page-id-11774 .text-block ol > li::marker,
.page-id-11774 .text-block ul > li::marker { font-weight: 700; }
.page-id-11774 .text-block ol[type="a"] > li > i:first-child,
.page-id-11774 .text-block ol[type="a"] > li > em:first-child { font-weight: 700; }

/* ---------- Terms of Use: bullet points bold ---------- */
.page-id-4339 .text-block ol > li::marker,
.page-id-4339 .text-block ul > li::marker { font-weight: 700; }

/* ---------- Fundraiser terms (Fundraisers + Fundraiser Terms pages) ---------- */
.mp-terms .mp-terms__h {
  margin: 28px 0 10px; font-size: 18px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--mp-black);
}
.mp-terms .mp-terms__sub { padding-left: 40px; }
.mp-terms p { margin-bottom: 12px; }

/* ---------- MOD Jobs: table header distinct, states left-aligned ---------- */
.page-id-12208 main table tr:first-child td {
  background-color: var(--mp-red); color: #fff; text-align: left !important;
}
.page-id-12208 main table tr:first-child td strong { color: #fff; }
.page-id-12208 main table td { text-align: left !important; padding-left: 16px; }

/* ---------- Abbott Elementary: hero pizza moved right so it no longer overlaps the CTAs ---------- */
@media (min-width: 992px) {
  .page-id-13551 .pbv2-hero--1 {
    background-color: var(--mp-red);
    background-repeat: no-repeat !important;
    background-position: 180px 50% !important;
  }
}

/* ---------- MOD in the News: black heading -> theme red; article titles theme red ---------- */
.page-template-template-news-press main h1 { color: var(--mp-red) !important; }
.page-template-template-news-press .entry-title a { color: var(--mp-red); }
.page-template-template-news-press .entry-title a:hover,
.page-template-template-news-press .entry-title a:focus { color: var(--mp-red); text-decoration: underline; }

/* ---------- Rewards & Promo terms: body copy 18px ---------- */
.page-id-12735 .text-block__copy, .page-id-12735 .text-block .col-lg-10 > div, .page-id-12735 .text-block p { font-size: 18px; }
