/* LWVlife App - design integration with the original six-screen design (2026-10-19). Loaded last. */

/* ---------- Home hero: real Village photography (Clubhouse 2) ---------- */
#s-home .hero{background:#1b3a6b url(img/hero.jpg) center 55%/cover no-repeat;min-height:190px;padding-top:14px;padding-bottom:12px}
#s-home .hero .sky,#s-home .hero .hills{display:none}
#s-home .hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 45%,rgba(10,25,50,.45) 100%);z-index:0}
#s-home .hero-logo{background:rgba(255,255,255,.82);border-radius:16px;padding:2px 10px;display:inline-block;box-shadow:0 2px 8px rgba(0,0,0,.2)}
#s-home .hero-logo img{max-width:100%;height:auto}
#s-home .hero-text{background:rgba(255,255,255,.88);border-radius:999px;padding:2px 14px;display:inline-flex;align-items:center;gap:6px}
#s-home .hero-phones a{box-shadow:0 3px 10px rgba(0,0,0,.25)}

/* ---------- Home tiles: design grid (2 large + 6) ---------- */
#s-home .tiles{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:0 12px;margin-top:12px}
#s-home .tiles .tile{grid-column:span 2;min-height:96px;border-radius:16px;box-shadow:0 4px 12px rgba(20,37,74,.18);font-size:1rem;line-height:1.15;text-align:center;padding:8px 4px}
#s-home .tiles .tile.big{grid-column:span 3;min-height:110px;font-size:1.12rem}
#s-home .tiles .tile .ic{font-size:2.1rem;line-height:1}
#s-home .tiles .tile.big .ic{font-size:2.5rem}
.tile.t-red{background:linear-gradient(135deg,#e53935,#c62828)}
.tile.t-teal{background:linear-gradient(135deg,#00897b,#00695c)}
.tile.t-orange{background:linear-gradient(135deg,#fb8c00,#ef6c00)}

/* Home: compact Good Morning + tools row */
#s-home .a5-home{margin:12px 12px 0;gap:8px}
#s-home .a5-gm{min-height:64px;padding:8px 14px}
#s-home .a5-gm .sun{font-size:2rem}
#s-home .a5-row .a5-tile{min-height:64px;padding:6px 4px;font-size:.95rem}
#s-home .a5-row .a5-tile .i{font-size:1.5rem}

/* Home: slim link to Community Information (details live in Daily Living) */
#home-cinfo{display:flex;align-items:center;gap:12px;width:calc(100% - 24px);margin:12px 12px 0;min-height:64px;padding:8px 14px;border-radius:16px;border:2px solid #b2dfdb;background:#e0f2f1;color:#004d40;text-align:left;font:inherit;cursor:pointer}
#home-cinfo .ic{font-size:1.8rem}
#home-cinfo b{display:block;font-size:1.05rem}
#home-cinfo small{display:block;font-size:.9rem;color:#2e5d57;font-weight:600}
#home-cinfo .chev{margin-left:auto;font-size:1.6rem}

/* Ask Aimee banner: approved portrait, large voice button */
#s-home .aimee-banner{margin:14px 12px 4px;min-height:96px;border-radius:22px;box-shadow:0 8px 22px rgba(176,39,140,.35)}
#s-home .aimee-banner .aimee-face{width:78px;height:78px;background-image:url(aimee2w-awake.jpg?v=20261027w4);background-size:cover;background-position:center}
#s-home .aimee-banner .mic{width:62px;height:62px;font-size:1.9rem}

/* ---------- Daily Living ---------- */
.lv-top{position:relative;margin:0 -12px 12px;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end;padding:14px 16px;color:#fff;
  background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.6)),url(img/living-hero.jpg) center/cover}
.lv-top h2{margin:0;font-size:1.5rem;text-shadow:0 2px 6px rgba(0,0,0,.6)}
.lv-top p{margin:2px 0 0;font-weight:700;text-shadow:0 2px 6px rgba(0,0,0,.6)}
#living-cats{display:grid;gap:10px;margin-bottom:14px}
#living-cats .row-link{min-height:66px;border-radius:16px;font-size:1.05rem;font-weight:800;box-shadow:0 2px 8px rgba(20,37,74,.08)}
#living-cats .row-link .ic{width:48px;height:48px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-size:1.6rem;color:#fff;flex:0 0 auto}
#living-cats .lv-restaurants .ic{background:#ef6c00}#living-cats .lv-shopping .ic{background:#2e7d32}#living-cats .lv-health .ic{background:#c62828}
#living-cats .lv-transport .ic{background:#1565c0}#living-cats .lv-home .ic{background:#6a1b9a}#living-cats .lv-fun .ic{background:#e65100}
#living-cats .lv-community .ic{background:#00838f}#living-cats .lv-exchange .ic{background:#558b2f}
#s-living #cinfo-home{margin:6px 0 16px}

/* Daily Living sub-pages */
#lv-sub{padding-bottom:20px}
.lv-hero{position:relative;margin:0 -12px 12px;min-height:150px;padding:16px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;
  background:linear-gradient(135deg,var(--c),color-mix(in srgb,var(--c) 70%,#000));background-size:cover;background-position:center}
.lv-hero .lv-hico{font-size:2.6rem;line-height:1;margin-bottom:6px;text-shadow:0 2px 6px rgba(0,0,0,.35)}
.lv-hero h2{margin:0;font-size:1.55rem;text-shadow:0 2px 6px rgba(0,0,0,.5)}
.lv-hero p{margin:4px 0 0;font-weight:700;text-shadow:0 2px 6px rgba(0,0,0,.5)}
.lv-sec{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;margin:0 0 12px}
.lv-sec h3{margin:0 0 8px;font-size:1.15rem}
.lv-sec p{margin:0 0 10px}
.lv-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;margin:0 0 8px;padding:8px 14px;border-radius:14px;border:2px solid var(--line);background:#f4f7fc;color:var(--navy);font:inherit;font-weight:800;text-decoration:none;cursor:pointer;text-align:left}
.lv-btn.big{min-height:64px;background:#1b3a6b;color:#fff;border-color:#1b3a6b;font-size:1.08rem}
.lv-btn.tel{justify-content:space-between;background:#eef7ee;border-color:#c8e6c9;color:#1b5e20}
.lv-btn.tel b{font-size:1.05rem;white-space:nowrap}
.lv-btn.tel.red{background:#c62828;border-color:#c62828;color:#fff}
.lv-btn.tel.blue{background:#e3f2fd;border-color:#90caf9;color:#0d47a1}
.lv-alert{background:#fdecea;border:2px solid #ef9a9a;border-radius:16px;padding:12px;margin:0 0 12px;font-weight:800;color:#8e1b1b}
.lv-alert .lv-acts{margin-top:8px}
.lv-note{font-size:.95rem;color:var(--muted);margin:0 0 12px}
.lv-warn{background:#fff4d6;border-left:5px solid #f2b705;padding:10px 12px;border-radius:10px;font-weight:600}
.lv-back{display:block;width:100%;min-height:56px;margin-top:6px;border-radius:14px;border:2px solid var(--line);background:#fff;color:var(--navy);font:inherit;font-weight:800;cursor:pointer}

/* ---------- Events: photo thumbnails like the design ---------- */
#ev-list .item{display:grid;grid-template-columns:84px 1fr;column-gap:12px;align-items:start}
#ev-list .item>.ev-thumb{grid-row:1 / span 6;width:84px;height:84px;border-radius:12px;object-fit:cover;box-shadow:0 2px 6px rgba(0,0,0,.18)}
#ev-list .item>*:not(.ev-thumb){grid-column:2}

/* ---------- News & Weather: photo hero + thumbnails ---------- */
.news-hero{position:relative;min-height:170px;border-radius:18px;overflow:hidden;align-items:flex-end;color:#fff!important;
  background:linear-gradient(180deg,rgba(0,0,0,0) 25%,rgba(0,0,0,.65)),url(img/news-hero.jpg) center/cover!important}
.news-hero .nh-img{display:none}
.news-hero .nh-txt b{font-size:1.45rem;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.6)}
.news-hero .nh-txt small{color:#fff;font-weight:700;text-shadow:0 2px 6px rgba(0,0,0,.6)}
.news-hero .play{background:#fff;color:#1b3a6b}
#news-list .row-link .thumb{width:64px;height:64px;border-radius:12px;object-fit:cover;flex:0 0 auto}

/* ---------- Ask Aimee: large approved portrait, questions, big round voice button ---------- */
#s-aimee .aimee{display:flex;flex-direction:column}
#s-aimee .aimee-avatar{order:1;width:min(52vw,200px);height:min(58vw,225px);border-radius:24px;margin:6px auto 0;background:url(aimee2-portrait.jpg?v=20261026p1) center 15%/cover;box-shadow:0 10px 26px rgba(124,77,255,.3);border:4px solid #fff}
#s-aimee .aimee>h2{order:2;color:#c2185b;font-size:1.6rem;text-align:center;margin:10px 0 0}
#s-aimee .aimee>p.muted{order:3;text-align:center}
#s-aimee #btn-talk{order:4}
#s-aimee #ask-form{order:5}
#s-aimee #aimee-langs{order:6}
#s-aimee #chat{order:7}
#s-aimee .aimee>h3{order:8}
#s-aimee #aimee-quick{order:9}
#s-aimee #aimee-tools{order:10}
#s-aimee #aimee-favs{order:11}
#s-aimee .aimee>p.warn{order:12}
#s-aimee #family-checkin{order:13}
#s-aimee .aimee>*:not([class*="order"]){min-width:0}
#s-aimee #btn-talk{align-self:center;width:124px;height:124px;border-radius:50%;flex-direction:column;justify-content:center;gap:4px;margin:14px auto;
  background:radial-gradient(circle at 35% 30%,#e040fb,#8e24aa 70%);color:#fff;box-shadow:0 10px 26px rgba(142,36,170,.45);font-weight:900}
#s-aimee #btn-talk .mic{font-size:2.6rem;background:none;width:auto;height:auto}
#s-aimee #aimee-quick button{min-height:56px;border-radius:14px;justify-content:flex-start}
#s-aimee #aimee-quick button .ic{width:40px;height:40px;border-radius:10px;background:#e8eaf6;display:inline-flex;align-items:center;justify-content:center;font-size:1.3rem;flex:0 0 auto}

/* ---------- Inner screen header: design blue bar ---------- */
.hdr-inner{background:linear-gradient(90deg,#1565c0,#1e88e5)!important;border-bottom:0!important}
.hdr-inner,.hdr-inner *{color:#fff}
.hdr-inner .chip{background:rgba(255,255,255,.2)!important;color:#fff!important}
#ev-list .item>.actions{grid-column:1 / -1}
.news-hero{padding:14px 16px!important}
.hero-phones a b{font-size:max(.8rem,14.5px)!important}

/* 2026-10-28 Bus & Transportation: official PDF preview */
.lv-sub{margin:12px 0 8px;font-size:1.08rem;color:var(--navy)}
.lv-pdfprev{position:relative;display:block;max-height:420px;overflow:hidden;border:2px solid #90caf9;border-radius:14px;margin:0 0 8px;background:#fff}
.lv-pdfprev img{display:block;width:100%;height:auto}
.lv-pdfprev span{position:absolute;left:0;right:0;bottom:0;padding:14px 12px 10px;background:linear-gradient(transparent,rgba(13,71,161,.92) 45%);color:#fff;font-weight:800;font-size:1.05rem;text-align:center}
.lv-pdfprev:focus-visible{outline:4px solid #FFD54F;outline-offset:2px}
.lv-src{margin:6px 0 0;padding:8px 10px;border-radius:10px;background:#e8f5e9;border:1px solid #a5d6a7;color:#1b5e20;font-size:.95rem;font-weight:700}

/* 2026-10-28 health page: disclaimer at top + language tags on links */
.lv-disclaim{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#fff8e1;border:2px solid #f0c36d;color:#5d4200;font-weight:700}
.lv-lang{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:#e3f2fd;border:1px solid #90caf9;color:#0d47a1;font-size:.82rem;font-weight:800;white-space:nowrap;vertical-align:middle}

/* 2026-10-28 Drive doc M + N: Medical Directory group heading; no Share button on the Transportation page */
.lv-group{margin:4px 2px 8px;font-size:1.15rem;color:var(--navy,#1B3A6B)}
#lv-sub:has(.lv-pdfprev) .sf-share{display:none!important}
