/* ==========================================================================
   St. Matthew Catholic Church (stmatt-bell) — agent-maintained front-end CSS.
   One commented block per section. Linked once, from the Base outline
   (Gantry > Outline > Base outline > Page Settings > Assets > CSS), as
   /images/pub/agent-css-stmatt-bell.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section: Mass Times & Schedule
   Prefix:  mt- / sched-
   Where:   homepage particle contentarray-1243, article 537
   Ticket:  SOL-31378
   Why:     lets an editor add a heading or paragraph anywhere in this section
            and get the section's own font, colour and spacing without using
            classes or a paste-into-a-template step.
   Notes:   the values mirror the section rules in content/override-2026.css so
            the look does not change. Every rule is scoped to
            .mt-sched-container, so it is inert on every other page.
   -------------------------------------------------------------------------- */

.mt-sched-container .mt-sched-wrapper h4 {
  margin: 0 0 0.5rem;
  padding: 0;
  border: 0;
  color: #353535;
  font: 700 clamp(1.1rem, 1.65vw, 1.5rem)/1.3 var(--title-font-family);
}

.mt-sched-container .mt-sched-wrapper p {
  margin: 0;
  color: #74716e;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.55;
}

.mt-sched-container .mt-sched-wrapper p + p {
  margin-top: 0.75rem;
}

.mt-sched-container .mt-sched-wrapper a {
  color: var(--primary-color);
}

/* A paragraph typed straight into the wrapper, outside a box, still reads as
   one of the boxes: same maroon bar and indent. */
.mt-sched-container .mt-sched-wrapper > p {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
}

/* Text pasted from Word or an email carries its own colour, size and font.
   Keep it on the section's styling instead, so pasted text still matches. */
.mt-sched-container .mt-sched-wrapper p span[style],
.mt-sched-container .mt-sched-wrapper p font {
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
}

.mt-sched-container .mt-sched-wrapper div[style] {
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
}
