/* LWVlife App - Home emergency cards (3 across) + Major Life Events button and page (2026-10-20, staging) */
:root{--le-burg:#7a1f3d;--le-burg-soft:#f8eef2;--le-burg-line:#d9b3c2}

/* ---- Emergency Contacts: three side-by-side cards (911 | Village Security | Resident Services) ---- */
#h3-emg{margin-left:6px;margin-right:6px;padding-left:6px;padding-right:6px}
#h3-emg .h3-emg-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:6px}
#h3-emg .h3-emg-row .h3-call{margin-top:0;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center;text-align:center;
  gap:4px;min-height:76px;padding:8px 2px}
#h3-emg .h3-emg-row .h3-call .l{font-size:.86rem;line-height:1.2;overflow-wrap:break-word;hyphens:manual}
#h3-emg .h3-emg-row .h3-call b{display:flex;flex-direction:column;align-items:center;gap:0;font-size:1rem}
#h3-emg .h3-emg-row .h3-call b .n{font-size:clamp(13px,3.65vw,1.05rem);white-space:nowrap;letter-spacing:-.2px}
#h3-emg .h3-emg-row .h3-call.emg b .n{font-size:1.25rem}
/* stack when the screen is narrow or the text is enlarged (A+ or phone text scaling) */
@media (max-width:359px){#h3-emg .h3-emg-row{grid-template-columns:1fr}}
html.bigfs #h3-emg .h3-emg-row,#h3-emg .h3-emg-row.le-stack{grid-template-columns:1fr}
@media (max-width:359px){#h3-emg .h3-emg-row .h3-call{flex-direction:row;justify-content:space-between;min-height:56px;padding:8px 12px;text-align:left}
  #h3-emg .h3-emg-row .h3-call b{flex-direction:row;gap:2px}}
html.bigfs #h3-emg .h3-emg-row .h3-call,#h3-emg .h3-emg-row.le-stack .h3-call{flex-direction:row;flex-wrap:wrap;justify-content:space-between;min-height:56px;padding:8px 12px;text-align:left}
html.bigfs #h3-emg .h3-emg-row .h3-call b,#h3-emg .h3-emg-row.le-stack .h3-call b{flex-direction:row;gap:2px}
html.bigfs #h3-emg .h3-emg-row .h3-call b .n,#h3-emg .h3-emg-row.le-stack .h3-call b .n{font-size:1.05rem}
#h3-emg .h3-emg-row.le-stack .h3-call .l{font-size:1rem}

/* ---- Home: one full-width button directly under the three cards ---- */
#h3-life{position:relative;display:flex;align-items:center;justify-content:center;width:calc(100% - 12px);margin:8px 6px 4px;min-height:64px;padding:12px 54px;
  border:0;border-radius:14px;background:#7A1F3D;color:#fff;font:inherit;font-weight:800;font-size:1.2rem;text-align:center;cursor:pointer;line-height:1.25;
  box-shadow:0 3px 10px rgba(122,31,61,.28)}
/* 2026-10-20 r3: muted burgundy banner, white bold title centred in the whole banner; icon and arrow sit at the edges so they do not shift the title */
#h3-life .ic{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:1.35rem;line-height:1}
#h3-life .t{flex:0 1 auto;color:#fff;white-space:normal;overflow-wrap:break-word;text-shadow:0 1px 1px rgba(0,0,0,.2)}
#h3-life .chev{position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:1.6rem;line-height:1;color:#fff}
#h3-life:hover{background:#651832}
#h3-life:focus-visible{outline:4px solid #ffb300;outline-offset:2px}
html.bigfs #h3-life{width:calc(100% - 16px);margin:8px 8px 4px;padding:12px 46px;font-size:1.15rem}
html.bigfs #h3-life .ic{left:10px;font-size:1.2rem}
html.bigfs #h3-life .chev{right:12px}

/* ---- Major Life Events page ---- */
#s-life .le{padding-bottom:24px}
#s-life .le-nav{display:flex;gap:8px;margin:4px 0 10px;flex-wrap:wrap}
#s-life .le-btn{flex:1 1 9em;min-height:48px;padding:8px 12px;border-radius:12px;border:2px solid var(--le-burg-line);background:#fff;color:var(--le-burg);
  font:inherit;font-weight:800;cursor:pointer}
#s-life .le-btn:focus-visible{outline:4px solid #ffb300;outline-offset:2px}
#s-life .le-title{color:var(--le-burg);font-size:1.3rem;margin:6px 0 4px;line-height:1.3}
#s-life .le-intro{margin:0 0 10px;color:#3c4658;line-height:1.45}
#s-life .le-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
#s-life .le-item{background:#fff;border:2px solid var(--le-burg-line);border-left:6px solid var(--le-burg);border-radius:12px;padding:10px 12px}
#s-life .le-row{display:flex;gap:10px;align-items:flex-start}
#s-life .le-n{flex:0 0 auto;min-width:1.8em;height:1.8em;border-radius:50%;background:var(--le-burg);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:.9rem}
#s-life .le-h{font-weight:800;color:#1d2433;line-height:1.3;overflow-wrap:break-word;min-width:0}
#s-life .le-sub{margin:6px 0 0 2.6em;padding:0 0 0 1em;color:#1d2433;font-weight:700;line-height:1.35}
#s-life .le-sub li{margin:2px 0}
#s-life .le-prep{display:inline-block;margin:6px 0 0 2.6em;padding:2px 10px;border-radius:999px;background:#fff4e0;color:#7a4b00;border:1px solid #f0c98a;font-size:.85rem;font-weight:700}
#s-life .le-note{margin:12px 2px;color:#5b6b85;font-size:.92rem;line-height:1.4}
html.bigfs #s-life .le-sub,html.bigfs #s-life .le-prep{margin-left:0}

/* ---- v2 content (2026-10-20): notice, PDFs, expandable sections ---- */
#s-life .le-notice{background:#fff8e6;border:2px solid #e8c77a;border-radius:12px;padding:10px 12px;margin:0 0 12px;line-height:1.45}
#s-life .le-notice b{display:block;color:#6b4300;margin-bottom:4px}
#s-life .le-notice p{margin:0;color:#3b2f17}
#s-life .le-notice .le-draft{margin-top:6px;font-size:.9rem;color:#6b4300;font-weight:700}
#s-life .le-pdfs{background:#fff;border:2px solid var(--le-burg-line);border-radius:12px;padding:10px 12px;margin:12px 0}
#s-life .le-pdfs h3{margin:0 0 4px;font-size:1.05rem;color:var(--le-burg)}
#s-life .le-pdfnote{margin:0 0 8px;font-size:.9rem;color:#5b6b85}
#s-life .le-pdfrow{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:6px 0;border-top:1px solid #f0e3e8}
#s-life .le-pdft{flex:1 1 100%;font-weight:800;color:#1d2433}
#s-life .le-pdf{flex:1 1 9em;display:flex;align-items:center;justify-content:center;min-height:48px;padding:6px 10px;border-radius:10px;border:2px solid var(--le-burg);color:var(--le-burg);font-weight:800;text-decoration:none;text-align:center}
#s-life .le-det>summary{list-style:none;cursor:pointer}
#s-life .le-det>summary::-webkit-details-marker{display:none}
#s-life .le-det>summary:focus-visible{outline:4px solid #ffb300;outline-offset:2px;border-radius:8px}
#s-life .le-chev{margin-left:auto;color:var(--le-burg);font-size:1.1rem;flex:0 0 auto;transition:transform .15s}
#s-life .le-det[open] .le-chev{transform:rotate(180deg)}
#s-life .le-i{margin:6px 0 0 2.6em;color:#3c4658;line-height:1.4}
#s-life .le-body{margin:8px 0 0;padding-top:8px;border-top:1px solid #f0e3e8}
#s-life .le-pts{margin:0 0 8px;padding-left:1.2em;line-height:1.45}
#s-life .le-pts li{margin:4px 0}
#s-life .le-subsec h4{margin:10px 0 4px;color:var(--le-burg);font-size:1rem}
#s-life .le-consult{margin:6px 0;line-height:1.4}
#s-life .le-prepline{margin:6px 0;line-height:1.5}
#s-life .le-prepline .le-prep{margin:0 4px 0 0}
#s-life .le-links ul{margin:4px 0;padding-left:1.2em}
#s-life .le-links li{margin:4px 0;overflow-wrap:anywhere}
#s-life .le-links a{color:#1b3a6b}
#s-life .le-ver{margin:4px 0 0;font-size:.85rem;color:#5b6b85}
#s-life .le-short{margin:8px 0 0;font-size:.85rem;color:#6b4300;background:#fff8e6;border-radius:8px;padding:6px 8px}
#s-life .le-tel{color:#1b3a6b;font-weight:800;white-space:nowrap}
html.bigfs #s-life .le-i{margin-left:0}

/* Remembrance music (2026-10-23): two large YouTube buttons, no autoplay */
#s-life .le-music{margin:12px 0;padding:12px;border-radius:12px;background:var(--le-burg-soft);border:2px solid var(--le-burg-line)}
#s-life .le-music h4{margin:0 0 4px;color:var(--le-burg);font-size:1.1rem}
#s-life .le-musnote{margin:0 0 8px;font-size:.95rem;color:#333}
#s-life .le-mus{display:flex;align-items:center;gap:12px;min-height:56px;margin:8px 0 0;padding:10px 12px;border-radius:12px;background:#fff;border:2px solid var(--le-burg);color:var(--le-burg);text-decoration:none}
#s-life .le-mus:focus-visible{outline:3px solid #1b3a6b;outline-offset:2px}
#s-life .le-mus-ic{flex:0 0 auto;width:2.2em;height:2.2em;border-radius:50%;background:#c4302b;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1rem}
#s-life .le-mus-t{display:flex;flex-direction:column;min-width:0}
#s-life .le-mus-t b{overflow-wrap:anywhere;line-height:1.3}
#s-life .le-mus-t span{font-weight:700;font-size:.9rem;color:#1b3a6b;margin-top:2px}
