/*
  Agent-maintained stylesheet — scsv-west.solutiosoftware.com
  (St. Clare & St. Vincent de Paul, Westerly RI)

  Loaded by: Gantry Page Settings > Assets > CSS on every outline that serves a
  site-1 page (#15 Site Home, #17 Site Outline / Base, #19 Site Sponsors,
  #20 Site Grid), row "Agent CSS (scsv-west)", priority 0 so it loads after
  content/override.css (priority 1). This site keeps a local copy of the asset
  rows on each primary outline, so a new row must be added to all four.

  One commented block per change. Append; do not rewrite the file.
  Every rule is scoped to a section/component class, never to a page or menu item id.
  The Gantry asset row owns this file's ?v= cache token — re-upsert the row on
  every overwrite of the file.

  Scope note: body carries `site-1` on every parish page, plus `site-1-home` on
  the home page and `site-1-sub` on subpages. override.css changes the mass-times
  block from a two-column row (home) to a stacked column (subpages), so anything
  that touches that block's alignment must be scoped to site-1-home.
*/

/* ---------------------------------------------------------------
   HEADER — solid background, no image  (all pages)
   Supersedes content/override.css -> .site-1 #g-navigation
     background: url('/images/template/header.png') 50% 50% no-repeat; background-size: cover;
   (in both the min-width and max-width 50.99rem blocks).
   #g-navigation > .g-container keeps its rgba(--primary-rgb,.95) overlay; over the same
   solid colour the two tones are identical, so the header reads as one flat panel.
   --------------------------------------------------------------- */
html body.site-1 #g-navigation {
    background: var(--primary-color) !important;
    background-image: none !important;
}

/* ---------------------------------------------------------------
   HOME — Sunday 8:30am line centred on the "St. Clare Weekend Mass" heading
   .mass-times-block-content is the display:flex row (override.css, >= 50.99rem) that
   holds .mass-times-title and .mass-times-content. Centring its children puts the
   mass-time paragraph on the optical centre of the script heading instead of at the top.
   HOME ONLY: on site-1-sub the same container is a column, where align-items would
   centre the text horizontally — which is not wanted there.
   --------------------------------------------------------------- */
html body.site-1-home .mass-times-wrapper .mass-times-block-content {
    align-items: center;
}

/* ---------------------------------------------------------------
   HOME — mass times: remove the paragraph's trailing margin
   The kit gives <p> a 1.3rem bottom margin, so .mass-times-content measured taller than
   its text: the box centred while "Sunday: 8:30am" itself sat ~10px high. Dropping the
   last paragraph's bottom margin makes the text the thing that centres. HOME ONLY, for
   the same reason as the rule above.
   --------------------------------------------------------------- */
html body.site-1-home .mass-times-wrapper .mass-times-content > p:last-child {
    margin-bottom: 0;
}
