/* LCYDC website: shared header, menus and footer. Each page adds its own stylesheet from /site/css/. */
:root {
  --purple: #330066; --purple-soft: #ece6f3; --orange: #e89320; --orange-soft: #fbe9d2;
  --navy: #0c3c60; --blue: #39729b; --blue-soft: #d1e0eb; --grey: #e8ebef; --text: #333b45;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 16px/1.6 'Open Sans', system-ui, sans-serif; }
img { max-width: 100%; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================= header ================= */
.hd { position: relative; z-index: 20; background: #fff; box-shadow: 0 2px 10px rgba(12,60,96,.08); }
.hd a { text-decoration: none; }
.hd-util { background: var(--navy); background-image: radial-gradient(ellipse at 85% 0%, rgba(57,114,155,.6) 0%, transparent 60%); color: #dbe6f0; font-size: 13px; }
.hd-util-in, .hd-main-in, .hd-nav-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hd-util-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.hd-util a { color: #fff; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.hd-util a:hover { color: #f5b45c; }
.hd-util svg { width: 14px; height: 14px; fill: #f5b45c; }
.hd-util-r { display: flex; gap: 18px; align-items: center; }

.hd-main-in { display: flex; align-items: center; gap: 16px; min-height: 84px; }
.hd-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hd-brand img { width: 74px; height: 58px; object-fit: contain; flex: none; }
.hd-name { font: 700 21px/1.2 'Raleway', sans-serif; color: var(--purple); }
.hd-name small { display: block; font: 600 11px 'Open Sans', sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: var(--orange); margin-bottom: 3px; }
.hd-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.hd-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; border-radius: 999px; padding: 9px 20px; border: 2px solid var(--orange); color: var(--purple); background: #fff; transition: background .2s, color .2s; white-space: nowrap; }
.hd-btn:hover { background: var(--orange); color: #fff; }
.hd-btn.solid { background: var(--orange); color: #fff; }
.hd-btn.solid:hover { background: #cf7f14; border-color: #cf7f14; }
.hd-btn svg { width: 15px; height: 15px; fill: currentColor; }

.hd-nav { border-top: 1px solid #eef0f3; }
.hd-nav-in { display: flex; justify-content: center; }
.hd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.hd-nav li { position: relative; }
.hd-nav a, .hd-nav button { display: flex; align-items: center; gap: 4px; padding: 13px 9px; font: 600 14px 'Raleway', sans-serif; color: var(--purple); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.hd-nav a:hover, .hd-nav button:hover { color: var(--orange); }
.hd-nav .cur > a, .hd-nav .cur > button { box-shadow: inset 0 -3px 0 var(--orange); }
.hd-nav button svg { width: 12px; height: 12px; fill: currentColor; transition: transform .2s; }
.hd-sub { position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; border-radius: 0 0 10px 10px; border-top: 3px solid var(--orange);
  box-shadow: 0 14px 30px rgba(12,60,96,.16); padding: 6px 0; display: none !important; flex-direction: column; }
.hd-nav li:hover > .hd-sub, .hd-nav li:focus-within > .hd-sub, .hd-nav li.open > .hd-sub { display: flex !important; }
.hd-nav li:hover > button svg, .hd-nav li.open > button svg { transform: rotate(180deg); }
.hd-sub a { padding: 10px 18px; font: 600 14px 'Open Sans', sans-serif; color: var(--navy); }
.hd-sub a:hover, .hd-sub .cur a { background: var(--purple-soft); color: var(--purple); }
.hd-bar { height: 4px; background: linear-gradient(90deg, var(--purple), var(--orange)); }

.hd-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--purple-soft); cursor: pointer; align-items: center; justify-content: center; flex: none; }
.hd-burger svg { width: 24px; height: 24px; fill: var(--purple); }

/* ================= mobile menu (opens from the left) ================= */
.mm-shade { position: fixed; inset: 0; background: rgba(12, 20, 40, .5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 49; }
.mm { position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 50; transform: translateX(-102%); transition: transform .28s ease;
  display: flex; flex-direction: column; overflow-y: auto; font-family: 'Open Sans', sans-serif; visibility: hidden; transition: transform .28s ease, visibility .28s; }
body.mm-open { overflow: hidden; }
body.mm-open .mm { transform: none; visibility: visible; box-shadow: 8px 0 30px rgba(0,0,0,.2); }
body.mm-open .mm-shade { opacity: 1; visibility: visible; }
.mm a { text-decoration: none; }
.mm-top { background: var(--navy); background-image: radial-gradient(ellipse at 85% 0%, rgba(57,114,155,.6) 0%, transparent 60%); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.mm-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.mm-close svg { width: 18px; height: 18px; fill: #fff; }
.mm-logo { width: 54px; height: 42px; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.mm-logo img { width: 44px; height: 34px; object-fit: contain; }
.mm-name { color: #fff; font: 700 14.5px/1.3 'Raleway', sans-serif; }
.mm-name small { display: block; font: 600 10px 'Open Sans', sans-serif; letter-spacing: 1.3px; text-transform: uppercase; color: #f5b45c; margin-bottom: 2px; }
.mm-bar { height: 4px; background: linear-gradient(90deg, var(--purple), var(--orange)); flex: none; }
.mm-list { list-style: none; margin: 0; padding: 4px 0; flex: 1; }
.mm-list > li { border-bottom: 1px solid #eef0f3; }
.mm-link { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; font: 600 16px 'Raleway', sans-serif; color: var(--purple); }
.mm-link:active, .mm-link:hover { background: var(--purple-soft); }
.mm-link.cur { background: var(--purple-soft); box-shadow: inset 4px 0 0 var(--orange); }
.mm-link svg { width: 14px; height: 14px; fill: var(--orange); opacity: .6; flex: none; }
.mm-sub { list-style: none; margin: 0; padding: 0; background: #f7f8fa; border-top: 1px solid #eef0f3; }
.mm-sub li + li { border-top: 1px solid #eef0f3; }
.mm-sub .mm-link { padding: 10px 20px 10px 36px; font: 600 14px 'Open Sans', sans-serif; color: var(--navy); }
.mm-group { display: block; padding: 12px 20px 10px; font: 600 16px 'Raleway', sans-serif; color: var(--purple); }
.mm-group small { font: 600 10px 'Open Sans', sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange); margin-left: 6px; }
.mm-foot { padding: 14px 16px 18px; border-top: 1px solid #eef0f3; display: flex; gap: 10px; }
.mm-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 999px; padding: 11px 8px; font: 600 13.5px 'Open Sans', sans-serif; white-space: nowrap; }
.mm-btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.mm-call { background: var(--orange); color: #fff; }
.mm-fb { border: 2px solid var(--orange); color: var(--purple); }

/* ================= footer ================= */
.ft { font-family: 'Open Sans', sans-serif; color: #333b45; background: #fff; }
.ft a { color: inherit; text-decoration: none; }
.ft-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ft-eyebrow { margin: 0; font-weight: 600; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--orange); }
.ft-partners { padding: 34px 0 30px; text-align: center; border-top: 1px solid #eceef1; }
.ft-logos { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 38px; }
.ft-logos a, .ft-logos span { display: flex; align-items: center; height: 80px; transition: transform .2s ease, opacity .2s ease; }
.ft-logos a:hover { transform: translateY(-2px); opacity: .85; }
.ft-logos img { display: block; max-height: 72px; max-width: 160px; width: auto; height: auto; }
.ft-main { background: linear-gradient(180deg, #f7f3fb 0%, #fbf9fd 100%); border-top: 5px solid var(--purple); padding: 48px 0 40px; }
.ft-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.ft-brand img { width: 120px; height: auto; display: block; margin-bottom: 14px; }
.ft-brand h2 { margin: 0; font: 700 20px/1.3 'Raleway', sans-serif; color: var(--purple); }
.ft-brand h2::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--orange); margin-top: 12px; }
.ft-info { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.ft-info a, .ft-info p { margin: 0; display: inline-flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--navy); }
.ft-info a:hover { color: var(--purple); text-decoration: underline; }
.ft-info svg { width: 16px; height: 16px; flex: none; fill: var(--orange); margin-top: 3px; }
.ft-social { margin-top: 18px; display: flex; gap: 10px; }
.ft-social a { width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(12,60,96,.06), 0 6px 14px rgba(12,60,96,.08); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.ft-social svg { fill: var(--purple); width: 18px; height: 18px; }
.ft-social a:hover { background: var(--orange); }
.ft-social a:hover svg { fill: #fff; }
.ft-col h3 { margin: 0 0 14px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ft-col a { font-size: 15px; color: var(--navy); transition: color .15s ease; }
.ft-col a:hover { color: var(--purple); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.ft-feedback { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--purple) !important; background: #fff; border: 2px solid var(--orange); border-radius: 999px; padding: 7px 16px; transition: background .2s ease, color .2s ease; }
.ft-feedback:hover { background: var(--orange); color: #fff !important; text-decoration: none !important; }
.ft-feedback svg { width: 15px; height: 15px; fill: currentColor; }
.ft-bottom { background: var(--purple); color: rgba(255,255,255,.85); font-size: 13px; padding: 14px 0; }
.ft-bottom .ft-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }

/* ================= employee-pages password ================= */
.gate { background: var(--grey); padding: 72px 20px; }
.gate-card { max-width: 460px; margin: 0 auto; background: #fff; border-radius: 12px; border-top: 5px solid var(--purple); box-shadow: 0 2px 4px rgba(12,60,96,.06), 0 10px 24px rgba(12,60,96,.10); padding: 34px 32px 30px; text-align: center; }
.gate-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--purple-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.gate-icon svg { width: 28px; height: 28px; fill: var(--purple); }
.gate h1 { margin: 0; font: 700 28px/1.2 'Raleway', sans-serif; color: var(--purple); }
.gate p { margin: 10px 0 20px; color: #5b6573; font-size: 15px; }
.gate input { width: 100%; font: 16px 'Open Sans', sans-serif; border: 1.5px solid #d8dde4; border-radius: 10px; padding: 12px 14px; }
.gate input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-soft); }
.gate button { margin-top: 14px; width: 100%; font: 600 16px 'Open Sans', sans-serif; color: #fff; background: var(--orange); border: 0; border-radius: 999px; padding: 12px; cursor: pointer; }
.gate button:hover { background: #cf7f14; }
.gate .err { color: #b42318; font-weight: 600; font-size: 14px; margin: 0 0 12px; }

@media (max-width: 1100px) {
  .hd-util, .hd-nav, .hd-cta .hd-btn:not(.solid) { display: none; }
  .hd-burger { display: inline-flex; }
  .hd-main-in { min-height: 72px; gap: 12px; padding: 0 16px; }
  .hd-brand img { width: 56px; height: 44px; }
  .hd-name { font-size: 17px; }
}
@media (max-width: 900px) {
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hd-cta { display: none; }
  .hd-name { font-size: 15.5px; }
  .hd-name small { font-size: 10px; letter-spacing: 1.2px; }
  .ft-wrap { padding: 0 18px; }
  .ft-logos { gap: 14px 26px; }
  .ft-logos a, .ft-logos span { height: 60px; }
  .ft-logos img { max-height: 54px; max-width: 120px; }
  .ft-cols { gap: 30px 20px; }
  .ft-bottom .ft-wrap { justify-content: center; text-align: center; }
  .gate { padding: 44px 14px; }
  .gate-card { padding: 28px 20px 24px; }
}
@media print {
  .hd, .ft, .mm, .mm-shade { display: none !important; }
}

/* ================= home page banner ================= */
.hero { position: relative; color: #fff; text-align: center; background: var(--navy) url(/files/home-hero-volunteers.jpg) center 35% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,60,96,.78) 0%, rgba(51,0,102,.72) 100%); }
.hero-in { position: relative; max-width: 960px; margin: 0 auto; padding: 96px 24px 92px; }
.hero-eyebrow { margin: 0 0 14px; font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #f5b45c; }
.hero h1 { margin: 0; font: 800 54px/1.1 'Raleway', sans-serif; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero h1::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--orange); margin: 22px auto 0; }
.hero-lines { margin: 22px 0 0; font: 600 20px/1.6 'Raleway', sans-serif; color: #e9eef5; }
.hero-lines span { white-space: nowrap; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-btn { display: inline-flex; align-items: center; font-weight: 600; font-size: 16px; text-decoration: none; color: #fff; border: 2px solid #fff; border-radius: 999px; padding: 12px 28px; transition: background .2s, color .2s, border-color .2s; }
.hero-btn:hover { background: #fff; color: var(--purple); }
.hero-btn.solid { background: var(--orange); border-color: var(--orange); }
.hero-btn.solid:hover { background: #cf7f14; border-color: #cf7f14; color: #fff; }
@media (max-width: 600px) {
  .hero-in { padding: 64px 16px 60px; }
  .hero h1 { font-size: 34px; }
  .hero-lines { font-size: 16.5px; }
  .hero-lines span { white-space: normal; display: block; }
}

/* ================= newsletter / calendar pages: one-image preview, no-image placeholder ================= */
.lcydc-feature-pages.one { grid-template-columns: 1fr; max-width: 360px; justify-self: center; width: 100%; }
.pub-noimg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; min-height: 220px;
  background: linear-gradient(160deg, #f7f3fb, #e8ebef); color: #330066; font: 700 16px 'Raleway', sans-serif; text-align: center; padding: 16px; border-radius: 6px; }
.pub-noimg.tall { min-height: 420px; }
.pub-noimg svg { width: 44px; height: 44px; fill: #e89320; }
.pub-empty { text-align: center; color: #5b6573; font-size: 16px; padding: 20px 0; }
