/* ============================================================
   Y NSW OSHC MICROSITE - Homepage styles
   Palette: Care and Education for School Children
            (Dark Purple PMS 2603 / Mauve PMS 247)

   One stylesheet for all five homepage versions. Every colour is a
   CSS variable: to re-skin (e.g. for the REC microsite) edit ONLY
   the variables block below.

   Conventions (same as the main-site campaign pages):
   - everything is scoped under .om-page and prefixed om-
   - sizes are px (the site's Bootstrap 3 sets html to 10px)
   - no inline styles, no inline SVG; shapes and icons are CSS masks
   - empty decorative elements carry &nbsp; in the markup
   - the HOVER CONTRAST FIX block must stay the LAST rule
   ============================================================ */
.om-page {
  --om-primary: #6E298D;         /* Dark Purple - PMS 2603 */
  --om-deep: #52308B;            /* Dark Purple 75% multiply */
  --om-tint-75: #885CA2;         /* Dark Purple 75% tint */
  --om-tint-50: #A788BC;         /* Dark Purple 50% tint */
  --om-tint-25: #CCBDDB;         /* Dark Purple 25% tint */
  --om-secondary: #BB16A3;       /* Mauve - PMS 247 */
  --om-secondary-dark: #A01289;  /* Derived: mauve text on the pale mauve wash */
  --om-wash: #F6F2F9;            /* Derived pale purple wash (section backgrounds) */
  --om-wash-2: #FBEAF8;          /* Derived pale mauve wash (callout) */
  --om-line: #E6DEEE;            /* Derived card border / image placeholder */
  --om-on-dark: #F1EAF6;         /* Body text on purple */
  --om-ink: #2B2B2B;             /* Charcoal headings */
  --om-body: #55504b;            /* Muted body text */
  --om-white: #ffffff;
  --om-heading-font: Montserrat, Arial, Helvetica, sans-serif;
  --om-radius: 22px;
  --om-radius-lg: 28px;
  --om-shadow: 0 14px 36px rgba(43, 43, 43, 0.14);
  --om-shadow-soft: 0 10px 28px rgba(43, 43, 43, 0.08);
  --om-wrap: 1240px;
  --om-header-offset: 90px;      /* clears the sticky header on in-page jumps */
}

/* In-page navigation uses native scrolling; no global scroll override. */

/* ---------- Base / defensive resets ---------- */
.om-page, .om-page *, .om-page *::before, .om-page *::after { box-sizing: border-box; }
.om-page {
  display: block; width: 100%; background: var(--om-white);
  font-family: Arial, Helvetica, sans-serif; color: var(--om-body); font-size: 17px; line-height: 1.65; text-align: left;
}
/* Full-width block flow guard (see campaign pages) */
.om-page > section {
  display: block !important; width: 100% !important; max-width: 100% !important;
  float: none !important; clear: both !important; flex: 0 0 100% !important;
}
/* The editor likes to drop empty paragraphs between blocks */
.om-page p:empty { display: none; }
.om-page p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.om-page ul { margin: 0; padding: 0; list-style: none; }
.om-page li { margin: 0; padding: 0; font-size: inherit; line-height: inherit; }
/* The old microsite stylesheet sets a, span, li { font-size: 1.4em } */
.om-page .om-crumb a, .om-page .om-crumb__sep, .om-page .om-textlink, .om-page .om-req { font-size: inherit; }
.om-page img { display: block; max-width: 100%; height: auto; border: 0; }
.om-page strong { font-weight: 700; color: var(--om-ink); }
.om-page a { text-decoration: none; }
.om-page i { font-style: normal; }

.om-wrap { position: relative; max-width: var(--om-wrap); margin: 0 auto; }
.om-section { position: relative; padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 32px); }
.om-section--wash { background: var(--om-wash); }

/* ---------- Type ---------- */
.om-kicker {
  font-family: var(--om-heading-font); font-weight: 800; font-size: 13px; line-height: 1.4;
  letter-spacing: 2px; text-transform: uppercase; color: var(--om-secondary); margin: 0 0 14px;
}
.om-kicker--light { font-weight: 700; color: var(--om-tint-25); }
.om-page .om-h1, .om-page .om-h2, .om-page .om-h3 {
  font-family: var(--om-heading-font); font-weight: 800; color: var(--om-ink);
  margin: 0; padding: 0; text-transform: none; text-align: inherit;
}
.om-page .om-h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -1px; color: var(--om-white); }
.om-page .om-h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -0.5px; }
.om-page .om-h2--light { color: var(--om-white); }
.om-page .om-h3 { font-size: 21px; line-height: 1.2; letter-spacing: 0; }
.om-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.om-head--wide { max-width: 800px; margin-bottom: 52px; }
.om-page .om-head p { margin-top: 16px; font-size: 18px; }

/* ---------- Icons (CSS masks; colour follows the text colour) ---------- */
.om-ico {
  display: inline-block; flex: none; width: 18px; height: 18px; overflow: hidden;
  font-size: 0; line-height: 0; vertical-align: middle; background-color: currentColor;
  -webkit-mask: var(--om-ico) center / contain no-repeat; mask: var(--om-ico) center / contain no-repeat;
}
.om-ico--clock { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.om-ico--pin { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.om-ico--phone { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.om-ico--arrow { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); }
.om-ico--down { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cpolyline points='19 12 12 19 5 12'/%3E%3C/svg%3E"); }
.om-ico--external { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='7' y1='17' x2='17' y2='7'/%3E%3Cpolyline points='7 7 17 7 17 17'/%3E%3C/svg%3E"); }
.om-ico--calendar { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
.om-ico--sunrise { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 18a5 5 0 0 0-10 0'/%3E%3Cline x1='12' y1='2' x2='12' y2='9'/%3E%3Cline x1='4.22' y1='10.22' x2='5.64' y2='11.64'/%3E%3Cline x1='1' y1='18' x2='3' y2='18'/%3E%3Cline x1='21' y1='18' x2='23' y2='18'/%3E%3Cline x1='18.36' y1='11.64' x2='19.78' y2='10.22'/%3E%3Cline x1='23' y1='22' x2='1' y2='22'/%3E%3Cpolyline points='8 6 12 2 16 6'/%3E%3C/svg%3E"); }
.om-ico--compass { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/%3E%3C/svg%3E"); }
.om-ico--users { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.om-ico--dollar { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E"); }
.om-ico--home { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
.om-ico--user-check { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpolyline points='17 11 19 13 23 9'/%3E%3C/svg%3E"); }
.om-ico--heart { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }
.om-ico--award { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E"); }
.om-ico--shield { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.om-ico--star { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E"); }
.om-ico--facebook { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E"); }
.om-ico--instagram { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E"); }
.om-ico--youtube { --om-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z'/%3E%3Cpolygon points='9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02'/%3E%3C/svg%3E"); }
.om-page { --om-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* ---------- Rounded triangles (CSS masks; colour from the palette variables) ---------- */
.om-tri {
  position: absolute; pointer-events: none; overflow: hidden; font-size: 0; line-height: 0;
  background-color: var(--om-deep);
  -webkit-mask: var(--om-tri-shape) center / contain no-repeat; mask: var(--om-tri-shape) center / contain no-repeat;
}
.om-page { --om-tri-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92' fill='black' stroke='black' stroke-width='18' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M50 12 L88 80 L12 80 Z'/%3E%3C/svg%3E"); }
.om-tri--primary { background-color: var(--om-primary); }
.om-tri--secondary { background-color: var(--om-secondary); }
.om-tri--tint-50 { background-color: var(--om-tint-50); }
.om-tri--tint-25 { background-color: var(--om-tint-25); }

/* ---------- Buttons and links ---------- */
.om-page a.om-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 8px 30px; border-radius: 999px; border: 2px solid var(--om-primary);
  background: var(--om-primary); color: var(--om-white);
  font-family: var(--om-heading-font); font-weight: 700; font-size: 16px; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.om-page a.om-btn--sm { min-height: 44px; padding: 6px 22px; font-size: 15px; gap: 8px; }
.om-page a.om-btn--sm .om-ico { width: 16px; height: 16px; }
.om-page a.om-btn--outline { background: transparent; color: var(--om-primary); }
.om-page a.om-btn--light { background: var(--om-white); border-color: var(--om-white); color: var(--om-primary); }
.om-page a.om-btn--light-deep { background: var(--om-white); border-color: var(--om-white); color: var(--om-deep); }
.om-page a.om-btn--outline-light { background: transparent; border-color: var(--om-white); color: var(--om-white); }
.om-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.om-page a.om-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--om-heading-font); font-weight: 700; font-size: 15px; line-height: 1.3;
  color: var(--om-primary); text-decoration: none;
}
.om-page a.om-link .om-ico { width: 16px; height: 16px; }
.om-page a.om-textlink { color: var(--om-primary); font-weight: 700; text-decoration: underline; overflow-wrap: anywhere; font-size: 16px; }
.om-page a.om-textlink[href^="tel:"] { white-space: nowrap; }

/* ---------- Photos ---------- */
.om-photo { position: relative; overflow: hidden; border-radius: var(--om-radius-lg); background: var(--om-line); aspect-ratio: 4 / 3; }
.om-photo--3x2 { aspect-ratio: 3 / 2; border-radius: var(--om-radius); background: var(--om-tint-25); }
.om-photo--16x10 { aspect-ratio: 16 / 10; border-radius: 0; background: var(--om-tint-25); }
.om-photo--promo { aspect-ratio: 1200 / 630; border-radius: 18px; background: var(--om-tint-25); }
.om-page .om-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* ============================================================
   HERO
   ============================================================ */
.om-hero {
  position: relative; overflow: hidden; background: var(--om-primary);
  padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 32px) 168px;
}
.om-hero__grid { display: grid; grid-template-columns: minmax(0, 608fr) minmax(0, 568fr); gap: 48px 64px; align-items: center; }
.om-hero__text { grid-column: 1; grid-row: 1; min-width: 0; }
.om-hero__media { grid-column: 2; grid-row: 1; min-width: 0; position: relative; }
.om-hero .om-kicker { margin-bottom: 18px; }
.om-page .om-hero__lead { margin-top: 24px; max-width: 560px; font-size: 19px; line-height: 1.65; color: var(--om-on-dark); }
.om-hero .om-btn-row { margin-top: 34px; }
.om-hero .om-photo { background: var(--om-tint-25); }
.om-hero__tri--1 { width: 520px; height: 478px; right: -150px; top: -170px; transform: rotate(18deg); opacity: 0.55; }
.om-hero__tri--2 { width: 300px; height: 276px; left: -110px; bottom: -70px; transform: rotate(-24deg); opacity: 0.5; }
.om-hero__tri--3 { width: 46px; height: 42px; left: 46%; top: 54px; transform: rotate(34deg); }
.om-hero__tri--4 { width: 190px; height: 175px; right: -44px; top: -52px; transform: rotate(16deg); }
.om-hero__tri--5 { width: 110px; height: 101px; left: -40px; bottom: -34px; transform: rotate(-22deg); }

/* ============================================================
   OPENING HOURS / LOCATION / CONTACT STRIP
   ============================================================ */
.om-strip { position: relative; z-index: 2; padding: 0 clamp(20px, 4vw, 32px); }
.om-strip__card {
  max-width: var(--om-wrap); margin: -104px auto 0; background: var(--om-white);
  border-radius: var(--om-radius); box-shadow: var(--om-shadow); padding: clamp(22px, 3vw, 38px);
  display: grid; grid-template-columns: minmax(0, 572fr) minmax(0, 217fr) minmax(0, 287fr); gap: 32px 44px;
}
.om-strip__hours { grid-column: 1; grid-row: 1; min-width: 0; }
.om-strip__find { grid-column: 2; grid-row: 1; min-width: 0; }
.om-strip__contact { grid-column: 3; grid-row: 1; min-width: 0; }
.om-strip__label {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-family: var(--om-heading-font); font-weight: 800; font-size: 13px; line-height: 1.4;
  letter-spacing: 2px; text-transform: uppercase; color: var(--om-primary);
}
.om-page .om-strip__text { font-size: 16px; line-height: 1.6; color: var(--om-ink); }
.om-page .om-strip__text + .om-strip__text { margin-top: 12px; }
.om-strip__find .om-link { margin-top: 4px; }

.om-hours { display: flex; flex-wrap: wrap; gap: 14px; }
.om-hours__tile { flex: 1 1 200px; min-width: 0; background: var(--om-wash); border-radius: 16px; padding: 18px 20px; }
.om-hours__tile--wide { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.om-hours__info { flex: 1 1 190px; min-width: 0; }
.om-hours__name { font-family: var(--om-heading-font); font-weight: 700; font-size: 15px; line-height: 1.5; color: var(--om-ink); }
.om-hours__days { font-size: 14px; line-height: 1.6; color: var(--om-body); margin-top: 2px; }
.om-hours__time { font-family: var(--om-heading-font); font-weight: 800; font-size: 20px; line-height: 1.2; color: var(--om-primary); margin-top: 10px; }
.om-hours__cta {
  flex: 1 1 260px; min-width: 0; background: var(--om-white); border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.om-hours__cta-text { font-size: 15px; line-height: 1.4; font-weight: 700; color: var(--om-ink); }

/* ============================================================
   PROMOTION SLOT (optional - remove the whole section when not running)
   ============================================================ */
.om-promo { padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 32px) 0; }
.om-promo__card {
  max-width: var(--om-wrap); margin: 0 auto; background: var(--om-wash); border-radius: var(--om-radius-lg);
  padding: clamp(16px, 2vw, 22px);
  display: grid; grid-template-columns: minmax(0, 584fr) minmax(0, 564fr); gap: 24px 48px; align-items: center;
}
.om-promo__media { grid-column: 1; grid-row: 1; min-width: 0; }
.om-promo__body { grid-column: 2; grid-row: 1; min-width: 0; padding: 8px clamp(4px, 2vw, 28px) 8px 4px; }
.om-promo__pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--om-secondary); color: var(--om-white);
  font-family: var(--om-heading-font); font-weight: 700; font-size: 13px; line-height: 1.5; letter-spacing: 0.5px;
}
.om-promo__pill .om-ico { width: 15px; height: 15px; }
.om-page .om-promo__title { margin-top: 16px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.5px; }
.om-page .om-promo__body p { margin-top: 12px; max-width: 520px; }
.om-promo .om-btn-row { gap: 12px; margin-top: 24px; }
.om-promo .om-btn { padding-left: 28px; padding-right: 28px; }

/* ============================================================
   WHAT WE OFFER (service cards) + no-Vacation-Care callout
   ============================================================ */
.om-services { scroll-margin-top: var(--om-header-offset); }
.om-cards { display: flex; flex-wrap: wrap; gap: 24px; }
.om-card {
  flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column;
  background: var(--om-white); border: 1px solid var(--om-line); border-radius: var(--om-radius); padding: 28px;
}
.om-chip {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 60px; height: 60px; border-radius: 18px; background: var(--om-primary); color: var(--om-white);
}
.om-chip .om-ico { width: 28px; height: 28px; }
.om-chip--secondary { background: var(--om-secondary); }
.om-page .om-card .om-h3 { margin-top: 22px; }
.om-page .om-card p { flex-grow: 1; margin: 12px 0 24px; font-size: 16px; line-height: 1.6; }
.om-card .om-link { align-self: flex-start; }

.om-callout {
  position: relative; overflow: hidden; margin-top: clamp(32px, 4vw, 48px);
  background: var(--om-wash-2); border-radius: var(--om-radius); padding: clamp(24px, 3vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px;
}
.om-callout__tri { width: 180px; height: 166px; right: -56px; top: -70px; transform: rotate(22deg); opacity: 0.35; }
.om-callout .om-chip { position: relative; }
.om-callout__text { position: relative; flex: 3 1 380px; min-width: 0; }
.om-page .om-callout__title { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: 0; }
.om-page .om-callout__text p { margin-top: 8px; font-size: 17px; }
.om-callout__actions { position: relative; flex: 1 1 280px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.om-callout .om-btn { padding-left: 26px; padding-right: 26px; }

/* ============================================================
   WHY CHOOSE THE Y
   ============================================================ */
.om-why__grid { display: grid; grid-template-columns: minmax(0, 698fr) minmax(0, 478fr); gap: 48px 64px; align-items: stretch; }
.om-why__main { grid-column: 1; grid-row: 1; min-width: 0; }
.om-why__panel { grid-column: 2; grid-row: 1; min-width: 0; }
.om-page .om-why__intro { margin-top: 18px; max-width: 640px; font-size: 18px; }
.om-reasons { display: flex; flex-wrap: wrap; gap: 28px 36px; margin-top: 36px; }
.om-reason { flex: 1 1 250px; min-width: 0; display: flex; gap: 16px; }
.om-reason__icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px; background: var(--om-white); color: var(--om-primary);
}
.om-reason__icon .om-ico { width: 24px; height: 24px; }
.om-reason__body { min-width: 0; }
.om-page .om-reason .om-h3 { font-size: 18px; line-height: 1.25; }
.om-page .om-reason p { margin-top: 6px; font-size: 16px; line-height: 1.6; }

.om-why__panel {
  position: relative; overflow: hidden; background: var(--om-primary); color: var(--om-white);
  border-radius: var(--om-radius-lg); padding: clamp(28px, 3vw, 44px);
}
.om-why__tri { width: 220px; height: 202px; right: -70px; bottom: -64px; transform: rotate(-16deg); }
.om-why__panel-inner { position: relative; }
.om-why__panel .om-kicker { margin: 0; }
.om-stats { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.om-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.om-stat--last { padding-bottom: 0; border-bottom: 0; }
.om-stat__num { min-width: 110px; font-family: var(--om-heading-font); font-weight: 800; font-size: 46px; line-height: 1; color: var(--om-white); }
.om-stat__label { font-size: 17px; line-height: 1.4; color: var(--om-white); }
.om-page .om-why__note { margin-top: 28px; max-width: 340px; font-size: 15px; line-height: 1.6; color: var(--om-on-dark); }
.om-page .om-why__note .om-why__more a { color: var(--om-white); font-weight: bold; text-decoration: underline; }

/* ============================================================
   CHILD SAFETY AND ENRICHING EXPERIENCES
   ============================================================ */
.om-safety { background: var(--om-white); overflow: hidden; } /* contains the photo triangles on narrow screens */
.om-split { display: grid; grid-template-columns: minmax(0, 558fr) minmax(0, 618fr); gap: 40px 64px; align-items: center; }
.om-split__media { grid-column: 1; grid-row: 1; min-width: 0; position: relative; }
.om-split__body { grid-column: 2; grid-row: 1; min-width: 0; }
.om-split--flip { grid-template-columns: minmax(0, 618fr) minmax(0, 558fr); margin-top: clamp(48px, 6vw, 84px); }
.om-split--flip .om-split__media { grid-column: 2; }
.om-split--flip .om-split__body { grid-column: 1; }
.om-split__tri--1 { width: 120px; height: 110px; left: -34px; top: -38px; transform: rotate(-18deg); }
.om-split__tri--2 { width: 130px; height: 120px; right: -36px; bottom: -40px; transform: rotate(20deg); }
.om-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--om-wash); color: var(--om-primary);
  font-family: var(--om-heading-font); font-weight: 700; font-size: 13px; line-height: 1.5;
}
.om-tag .om-ico { width: 16px; height: 16px; }
.om-tag--secondary { background: var(--om-wash-2); color: var(--om-secondary-dark); }
.om-page .om-split .om-h3 { margin-top: 16px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.om-page .om-split__body > p { margin-top: 14px; }
.om-page .om-checks { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.om-page .om-checks li { position: relative; padding-left: 40px; }
.om-page .om-checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--om-primary);
}
.om-page .om-checks li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 14px; height: 14px; background-color: var(--om-white);
  -webkit-mask: var(--om-check) center / contain no-repeat; mask: var(--om-check) center / contain no-repeat;
}
.om-page .om-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.om-page .om-chips li {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--om-tint-25);
  color: var(--om-deep); font-weight: 700; font-size: 15px; line-height: 1.65;
}

/* ============================================================
   CHILD CARE SUBSIDY
   ============================================================ */
.om-ccs { padding-top: 0; }
.om-ccs__card {
  position: relative; overflow: hidden; background: var(--om-deep); border-radius: var(--om-radius-lg);
  padding: clamp(28px, 4vw, 56px);
  display: grid; grid-template-columns: minmax(0, 643fr) minmax(0, 429fr); gap: 36px 56px; align-items: center;
}
.om-ccs__tri { width: 260px; height: 239px; left: -90px; bottom: -110px; transform: rotate(24deg); opacity: 0.6; }
.om-ccs__body { grid-column: 1; grid-row: 1; min-width: 0; position: relative; }
.om-ccs__media { grid-column: 2; grid-row: 1; min-width: 0; position: relative; }
.om-page .om-ccs__body p { margin-top: 18px; max-width: 620px; font-size: 18px; color: var(--om-on-dark); }
.om-page .om-ccs__body p + p { margin-top: 14px; }

/* ============================================================
   READ OUR STORIES
   ============================================================ */
.om-stories__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 40px; }
.om-stories__intro { flex: 1 1 420px; min-width: 0; }
.om-page .om-stories__intro p { margin-top: 14px; font-size: 18px; }
.om-story {
  position: relative; flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  background: var(--om-white); border-radius: var(--om-radius); box-shadow: var(--om-shadow-soft);
}
.om-story__body { display: flex; flex-direction: column; flex-grow: 1; padding: 24px 26px 22px; }
.om-story__date {
  font-family: var(--om-heading-font); font-weight: 700; font-size: 13px; line-height: 1.5;
  letter-spacing: 1px; text-transform: uppercase; color: var(--om-primary);
}
.om-page .om-story .om-h3 { flex-grow: 1; margin: 10px 0 18px; font-size: 19px; line-height: 1.3; }
.om-story .om-link { align-self: flex-start; }
/* whole card is clickable through its "Read story" link */
.om-story .om-link::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }

/* ============================================================
   SOCIALS STRIP
   ============================================================ */
.om-socials { position: relative; overflow: hidden; background: var(--om-primary); padding: clamp(48px, 6vw, 76px) clamp(20px, 4vw, 32px); }
.om-socials__tri--1 { width: 340px; height: 313px; right: -110px; top: -130px; transform: rotate(18deg); opacity: 0.55; }
.om-socials__tri--2 { width: 220px; height: 202px; left: -80px; bottom: -90px; transform: rotate(-24deg); opacity: 0.5; }
.om-socials__grid { display: grid; grid-template-columns: minmax(0, 419fr) minmax(0, 757fr); gap: 32px 56px; align-items: center; }
.om-socials__intro { grid-column: 1; grid-row: 1; min-width: 0; }
.om-socials__list { grid-column: 2; grid-row: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.om-page .om-socials .om-h2 { font-size: clamp(28px, 3vw, 38px); }
.om-page .om-socials__intro p { margin-top: 14px; max-width: 420px; font-size: 17px; color: var(--om-on-dark); }
.om-social {
  position: relative; flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 18px;
  background: var(--om-white); border-radius: var(--om-radius); padding: 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.om-social__top { display: flex; align-items: center; justify-content: space-between; color: var(--om-primary); }
.om-social__icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; border-radius: 16px; background: var(--om-wash); color: var(--om-primary);
}
.om-social__icon .om-ico { width: 26px; height: 26px; }
.om-social__top > .om-ico { width: 20px; height: 20px; }
.om-social__text { min-width: 0; }
.om-social__name { font-family: var(--om-heading-font); font-weight: 800; font-size: 19px; line-height: 1.2; color: var(--om-ink); }
.om-social__handle { margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--om-body); }
.om-page a.om-social__link {
  margin-top: auto; font-family: var(--om-heading-font); font-weight: 700; font-size: 15px; line-height: 1.3;
  color: var(--om-primary); text-decoration: none;
}
/* whole card is clickable through its link */
.om-social__link::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: var(--om-radius); }
.om-social:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .om-strip__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .om-strip__hours { grid-column: 1 / -1; grid-row: 1; }
  .om-strip__find { grid-column: 1; grid-row: 2; }
  .om-strip__contact { grid-column: 2; grid-row: 2; }
}
@media (max-width: 980px) {
  .om-why__grid, .om-socials__grid { grid-template-columns: minmax(0, 1fr); }
  .om-why__main, .om-socials__intro { grid-column: 1; grid-row: 1; }
  .om-why__panel, .om-socials__list { grid-column: 1; grid-row: 2; }
}
@media (max-width: 900px) {
  .om-hero { padding-bottom: 150px; }
  .om-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .om-hero__text { grid-column: 1; grid-row: 1; }
  .om-hero__media { grid-column: 1; grid-row: 2; max-width: 620px; }
  .om-hero__tri--3 { display: none; }
  .om-hero__tri--4 { width: 130px; height: 120px; right: -26px; top: -36px; }
  .om-hero__tri--5 { width: 80px; height: 74px; left: -22px; bottom: -24px; }
}
@media (max-width: 860px) {
  .om-promo__card, .om-ccs__card { grid-template-columns: minmax(0, 1fr); }
  .om-promo__media, .om-ccs__body { grid-column: 1; grid-row: 1; }
  .om-promo__body, .om-ccs__media { grid-column: 1; grid-row: 2; }
  .om-promo__body { padding: 0 6px 10px; }
  .om-split, .om-split--flip { grid-template-columns: minmax(0, 1fr); }
  .om-split__media, .om-split--flip .om-split__media { grid-column: 1; grid-row: 1; }
  .om-split__body, .om-split--flip .om-split__body { grid-column: 1; grid-row: 2; }
  .om-split__tri--1 { width: 84px; height: 77px; left: -18px; top: -24px; }
  .om-split__tri--2 { width: 90px; height: 83px; right: -18px; bottom: -24px; }
}
@media (max-width: 640px) {
  .om-page { font-size: 16px; }
  .om-strip__card { grid-template-columns: minmax(0, 1fr); margin-top: -96px; }
  .om-strip__hours { grid-column: 1; grid-row: 1; }
  .om-strip__find { grid-column: 1; grid-row: 2; }
  .om-strip__contact { grid-column: 1; grid-row: 3; }
  .om-page .om-hero__lead { font-size: 17px; }
  .om-page .om-head p, .om-page .om-why__intro, .om-page .om-ccs__body p, .om-page .om-stories__intro p { font-size: 17px; }
  .om-card { padding: 24px; }
  .om-stat__num { min-width: 92px; font-size: 40px; }
  .om-page .om-btn-row .om-btn, .om-callout__actions .om-btn { flex: 1 1 auto; }
}

/* Integration safeguards: rich text, incomplete media, and keyboard access. */
.om-page { overflow-wrap: anywhere; }
.om-page .om-hero__lead > * + *, .om-page .om-richtext > * + * { margin-top: 14px; }
.om-page .om-richtext ul:not(.om-checks):not(.om-chips), .om-page .om-hero__lead ul { list-style: disc; padding-left: 24px; }
.om-page .om-richtext ol, .om-page .om-hero__lead ol { list-style: decimal; padding-left: 24px; }
.om-page .om-hero__lead strong { color: inherit; }
.om-hero__grid--text-only, .om-why__grid--text-only, .om-promo__card--text-only,
.om-split--text-only { grid-template-columns: minmax(0, 1fr); }
.om-promo__card--text-only .om-promo__body, .om-split--text-only .om-split__body { grid-column: 1; grid-row: 1; }
.om-page .om-stat:last-child { padding-bottom: 0; border-bottom: 0; }
.om-page .om-photo--promo img { object-fit: contain; }
.om-page .om-story:focus-within, .om-page .om-social:focus-within { outline: 3px solid var(--om-secondary); outline-offset: 4px; }
.om-page .om-split__body > .om-richtext, .om-page .om-promo__body > .om-richtext { margin-top: 14px; }
/* Links typed into hero text, and the stats panel's Learn more link */
.om-page .om-hero__lead a, .om-page .om-subhero__lead a, .om-page .om-why__more a,
.om-page .om-hero__lead a *, .om-page .om-subhero__lead a * {
  color: var(--om-white) !important; font-weight: 700 !important; text-decoration: underline;
  transition: opacity 0.15s ease;
}
.om-page .om-why__more { margin-top: 13px; }
@media (prefers-reduced-motion: reduce) {
  .om-page *, .om-page *::before, .om-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .om-page .om-social:hover { transform: none; }
}
/* ============================================================
   HOVER CONTRAST FIX - KEEP THIS BLOCK LAST
   The site sets a:hover { color: #1d1d1e !important }, so every
   link state declares background AND colour together.
   ============================================================ */
.om-page a.om-btn:hover, .om-page a.om-btn:focus {
  background: var(--om-deep) !important; border-color: var(--om-deep) !important; color: var(--om-white) !important; text-decoration: none !important;
}
.om-page a.om-btn--outline:hover, .om-page a.om-btn--outline:focus {
  background: var(--om-primary) !important; border-color: var(--om-primary) !important; color: var(--om-white) !important;
}
.om-page a.om-btn--light:hover, .om-page a.om-btn--light:focus,
.om-page a.om-btn--light-deep:hover, .om-page a.om-btn--light-deep:focus {
  background: var(--om-tint-25) !important; border-color: var(--om-tint-25) !important; color: var(--om-deep) !important;
}
.om-page a.om-btn--outline-light:hover, .om-page a.om-btn--outline-light:focus {
  background: var(--om-white) !important; border-color: var(--om-white) !important; color: var(--om-primary) !important;
}
.om-page a.om-link:hover, .om-page a.om-link:focus,
.om-page a.om-textlink:hover, .om-page a.om-textlink:focus,
.om-page a.om-social__link:hover, .om-page a.om-social__link:focus {
  background: transparent !important; color: var(--om-deep) !important; text-decoration: underline !important;
}
.om-page a:focus-visible { outline: 3px solid var(--om-secondary); outline-offset: 3px; }
.om-hero a:focus-visible, .om-ccs a:focus-visible, .om-socials a.om-btn:focus-visible { outline-color: var(--om-white); }
.om-page .om-hero__lead a:hover, .om-page .om-hero__lead a:focus,
.om-page .om-subhero__lead a:hover, .om-page .om-subhero__lead a:focus,
.om-page .om-why__more a:hover, .om-page .om-why__more a:focus {
  background: transparent !important; color: var(--om-white) !important; text-decoration: none !important; opacity: 0.85;
}
