/*
   try-class-page.css — Try a Class (page 10) full-height background wash.

   Same gradient family as the single-program hero, lightened to a pale
   mint → lavender → mint pastel so it works as a page-wide background
   behind the content bands. Applied to <main> so it spans the full page
   height as one continuous diagonal (not per-viewport), matching the
   "full height gradient" reference.

   The page's white surfaces are now rounded CARDS (not full-width bands),
   so they keep their own white background and sit as raised cards over the
   wash; the teal-50 accent band keeps its tint. The hero Cover and bottom
   CTA have their own photo / styling, so they naturally sit on top.

   Enqueued only on is_page('try-a-class') via inc/enqueue.php.
*/

body.page-id-10 main {
    background: linear-gradient(
        135deg,
        rgba(205, 236, 230, 0.92) 0%,
        rgba(228, 214, 240, 0.88) 58%,
        rgba(190, 227, 219, 0.92) 100%
    );
}

/* (Removed 2026-06-04) The page no longer has "plain white bands" — every
   white surface is now an intentional rounded card (How-a-trial-works,
   Path A, "What every family gets", Path B). The old rule force-transparented
   ALL white groups in <main> (with a #book exception), which hid the
   How-a-trial-works card. White cards now keep their own background and read
   as raised cards lifted over the wash on their own. */

/* -------------------------------------------------------------------------
   Hero Cover overlay — match the LIGHT, white-washed Programs hero
   (.mm-programs-hero::before) instead of the dark teal→charcoal→purple
   overlay it shipped with. The hero is uniquely identified by its
   min-height:600px inline style (the bottom CTA cover has min-height:0).
   Because the wash is now light, the hero's white copy is flipped to dark
   ink (eyebrow kept teal as an accent, like the Programs hero). The two
   styled buttons keep their solid teal/purple fills, so they stay readable.
   ------------------------------------------------------------------------- */
body.page-id-10 .wp-block-cover[style*="min-height:600px"] .wp-block-cover__background {
    background: linear-gradient(
        135deg,
        rgba(205, 236, 230, 0.92) 0%,
        rgba(228, 214, 240, 0.88) 58%,
        rgba(190, 227, 219, 0.92) 100%
    ) !important;
}

body.page-id-10 .wp-block-cover[style*="min-height:600px"] .has-white-color {
    color: var(--mm-ink) !important;
}

/* Eyebrow ("TRIAL VISITS") stays a teal accent, matching the Programs hero. */
body.page-id-10 .wp-block-cover[style*="min-height:600px"] p.has-small-font-size.has-white-color {
    color: var(--mm-teal-700) !important;
}
