/* JBARS 2026 SIMPLIFICATION LAYER
   Preserves the existing JBARS header, font system, aqua/teal palette and components.
   This layer removes clutter and makes the existing site feel current without redesigning it. */

:root{--jbars-aqua:#C5E3E5;--jbars-aqua-deep:#B8D5D7;--jbars-teal:#167C80;--jbars-navy:#0D3335;--jbars-gold:#D9A83F}

/* THE HEADER IS NOT REDESIGNED. Keep it exactly as the existing site built it. */

/* One compact, full-width banner. It replaces the existing page hero image rather than adding another banner. */
.jbars-home-hero{padding-top:94px!important;background:var(--jbars-aqua)!important}
.jbars-home-hero>img{display:block!important;width:100%!important;height:320px!important;max-height:none!important;object-fit:cover!important;object-position:center 58%!important}
.jbars-home-hero>div{padding:14px 20px!important}

.jbars-page-banner{min-height:300px!important;padding-top:120px!important;padding-bottom:55px!important}
.jbars-page-banner>img{height:100%!important;object-fit:cover!important;object-position:center 58%!important}

/* Custom page headers (What We Do / similar) use the same banner without creating a second block. */
.jbars-custom-page-hero{min-height:300px!important}
.jbars-custom-page-hero img{object-fit:cover!important;object-position:center 58%!important}

/* Reduce visual repetition on the homepage. The information remains available on the dedicated pages. */
.jbars-hide-clutter{display:none!important}

/* Hope feature */
.jbars-hope-feature{background:var(--jbars-aqua);padding:62px 20px}
.jbars-hope-wrap{max-width:1280px;margin:auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:46px;align-items:center}
.jbars-hope-main{width:100%;height:440px;object-fit:cover;border-radius:28px;box-shadow:0 18px 45px rgba(0,0,0,.15)}
.jbars-hope-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.jbars-hope-thumbs img{width:100%;height:105px;object-fit:cover;border-radius:14px}
.jbars-hope-copy .eyebrow{display:block;color:var(--jbars-teal);font-size:13px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.jbars-hope-copy h2{font-family:"Londrina Solid","Source Sans 3",sans-serif;font-size:clamp(42px,5vw,66px);line-height:.92;margin:10px 0 16px;color:#111}
.jbars-hope-copy .quote{font-size:24px;font-weight:700;line-height:1.25;color:var(--jbars-navy)}
.jbars-hope-copy p{font-size:18px;line-height:1.65;color:#111}
.jbars-hope-button{display:inline-flex;margin-top:18px;padding:12px 22px;border-radius:999px;background:var(--jbars-teal);color:#fff!important;font-weight:800}

/* Stories page: Hope is the featured story; the existing story grid stays underneath for future additions. */
.jbars-stories-feature{max-width:1280px;margin:0 auto 40px;padding:0 20px}
.jbars-stories-feature-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:38px;align-items:center;background:var(--jbars-aqua);padding:30px;border-radius:28px}
.jbars-stories-feature-card img{width:100%;height:330px;object-fit:cover;border-radius:20px}
.jbars-stories-feature-card h2{font-family:"Londrina Solid","Source Sans 3",sans-serif;font-size:clamp(40px,5vw,60px);line-height:.92;margin:8px 0 14px}
.jbars-stories-feature-card p{font-size:18px;line-height:1.6;margin:0 0 14px}
.jbars-story-full{max-width:920px;margin:25px auto 0;padding:30px;background:#fff;border-radius:24px;border:1px solid rgba(0,0,0,.10)}
.jbars-story-full h3{font-family:"Londrina Solid","Source Sans 3",sans-serif;font-size:48px;line-height:.95;margin:0 0 10px}
.jbars-story-full .author{font-weight:800;color:var(--jbars-teal);margin-bottom:24px}
.jbars-story-full p{font-size:18px;line-height:1.75;margin:0 0 17px;color:#222}
.jbars-story-gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:20px 0 28px}
.jbars-story-gallery img{width:100%;height:150px;object-fit:cover;border-radius:12px}

/* Make the existing stories page cleaner by removing search/category controls. The story list remains. */
.jbars-stories-controls-hidden{display:none!important}

/* Compact action strip — four things people can actually do. */
.jbars-action-strip{background:var(--jbars-aqua-deep);padding:48px 20px}
.jbars-action-wrap{max-width:1280px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.jbars-action{background:#fff;border-radius:20px;padding:24px;text-align:center;box-shadow:0 8px 22px rgba(13,51,53,.08)}
.jbars-action h3{font-family:"Londrina Solid","Source Sans 3",sans-serif;font-size:32px;line-height:.95;margin:0 0 8px}
.jbars-action p{margin:0;font-size:15px}
.jbars-action a{display:inline-flex;margin-top:15px;border-radius:999px;padding:10px 17px;background:var(--jbars-teal);color:#fff!important;font-weight:800}

@media(max-width:900px){.jbars-hope-wrap,.jbars-stories-feature-card{grid-template-columns:1fr}.jbars-action-wrap{grid-template-columns:repeat(2,1fr)}.jbars-home-hero>img{height:290px!important}.jbars-page-banner,.jbars-custom-page-hero{min-height:270px!important}}
@media(max-width:640px){.jbars-home-hero{padding-top:74px!important}.jbars-home-hero>img{height:210px!important}.jbars-page-banner,.jbars-custom-page-hero{min-height:230px!important;padding-top:105px!important}.jbars-hope-feature{padding:42px 14px}.jbars-hope-main{height:330px}.jbars-hope-thumbs img{height:82px}.jbars-action-wrap{grid-template-columns:1fr}.jbars-story-gallery{grid-template-columns:repeat(2,1fr)}.jbars-story-gallery img{height:130px}.jbars-story-full{padding:22px}.jbars-story-full h3{font-size:42px}}


/* Banner contrast fix: keep the requested white text, but darken the photo behind it
   so every page title remains readable on phones and desktops. */
.jbars-page-banner>img,
.jbars-home-hero>img{
  filter:brightness(.58) saturate(.92)!important;
}
.jbars-page-banner h1,
.jbars-page-banner h2,
.jbars-page-banner p,
.jbars-page-banner span,
.jbars-page-banner a,
.jbars-home-hero h1,
.jbars-home-hero h2,
.jbars-home-hero p,
.jbars-home-hero span{
  color:#fff!important;
  text-shadow:0 2px 10px rgba(0,0,0,.72);
}
.jbars-page-banner>div,
.jbars-home-hero>div{
  position:relative;
  z-index:3;
}
.jbars-page-banner>div:before,
.jbars-home-hero>div:before{
  content:"";
  position:absolute;
  left:-24px;
  top:-18px;
  bottom:-18px;
  width:min(720px,92vw);
  background:linear-gradient(90deg,rgba(8,43,45,.70),rgba(8,43,45,.18),transparent);
  border-radius:22px;
  z-index:-1;
  pointer-events:none;
}


/* About page: shift from a board-members page to a people-powered JBARS team story. */
.jbars-hide-original-about-people{display:none!important}
.jbars-about-people{background:var(--jbars-aqua,#C5E3E5);padding:70px 20px}
.jbars-about-wrap{max-width:1180px;margin:0 auto}
.jbars-about-intro{max-width:850px;margin:0 auto 42px;text-align:center}
.jbars-about-eyebrow{display:block;color:#167C80;font-size:13px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.jbars-about-intro h2{font-family:"Londrina Solid","Source Sans 3",sans-serif;font-size:clamp(44px,5vw,68px);line-height:.9;margin:9px 0 18px;color:#111}
.jbars-about-intro p{font-size:18px;line-height:1.65;color:#111;margin:0 0 14px}
.jbars-about-team{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.jbars-person{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 10px 28px rgba(13,51,53,.10);border:1px solid rgba(13,51,53,.10)}
.jbars-person>img,.jbars-person-placeholder{width:100%;height:300px;object-fit:cover;object-position:center top}
.jbars-person-placeholder{display:grid;place-items:center;background:#B8D5D7;color:#0D3335;font-family:"Londrina Solid","Source Sans 3",sans-serif;font-size:32px;line-height:.9;text-align:center;letter-spacing:.04em}
.jbars-person-body{padding:24px}
.jbars-person-body h3{font-family:"Londrina Solid","Source Sans 3",sans-serif;font-size:38px;line-height:.92;margin:0 0 7px;color:#111}
.jbars-person-body>span{display:block;color:#167C80;font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;margin-bottom:14px}
.jbars-person-body p{font-size:16px;line-height:1.6;margin:0 0 12px;color:#222}
.jbars-about-closing{max-width:950px;margin:34px auto 0;padding:28px 32px;background:rgba(255,255,255,.72);border-radius:22px;text-align:center}
.jbars-about-closing p{font-size:18px;line-height:1.6;margin:0 0 12px;color:#111}
@media(max-width:760px){.jbars-about-team{grid-template-columns:1fr}.jbars-about-people{padding:48px 14px}.jbars-person>img,.jbars-person-placeholder{height:270px}.jbars-person-body{padding:20px}.jbars-about-closing{padding:22px 18px}}

/* SIMPLIFY: Hope is a single feature on Home; full gallery/story belongs on Stories. */
.jbars-hope-thumbs{display:none!important}
.jbars-hope-feature{padding:56px 20px!important}
.jbars-hope-main{max-height:430px!important;object-fit:cover!important}
/* Keep the site airy: no giant duplicated story cards. */
.jbars-hide-clutter{display:none!important}

/* FINAL BANNER READABILITY: white type stays white; image is darkened underneath it. */
.jbars-page-banner::after,
.jbars-home-hero::after{
  content:"";
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:linear-gradient(90deg,rgba(6,31,33,.82) 0%,rgba(6,31,33,.60) 45%,rgba(6,31,33,.22) 100%)!important;
  pointer-events:none!important;
}
.jbars-page-banner img,.jbars-home-hero img{filter:brightness(.72) saturate(.9)!important}
.jbars-page-banner>*:not(img),.jbars-home-hero>*:not(img){position:relative;z-index:3!important}
.jbars-page-banner h1,.jbars-page-banner h2,.jbars-page-banner p,
.jbars-page-banner span,.jbars-home-hero h1,.jbars-home-hero h2,
.jbars-home-hero p,.jbars-home-hero span{color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,.75)!important}

/* Keep the new cross-links subordinate: they belong inside the relevant sections, not the main nav. */
.jbars-impact-links,.jbars-what-links{padding:45px 20px;background:#C5E3E5}
.jbars-impact-links>div,.jbars-what-links>div{max-width:1000px;margin:0 auto;text-align:center}
.jbars-impact-links span{display:block;text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:12px;color:#167C80}
.jbars-impact-links h2{font-family:"Londrina Solid","Source Sans 3",sans-serif;font-size:48px;line-height:.95;margin:7px 0 12px}
.jbars-impact-links p{font-size:18px;margin:0 0 20px}
.jbars-impact-links a{display:inline-flex;background:#167C80;color:#fff;padding:12px 22px;border-radius:999px;font-weight:800}
.jbars-subnav-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:16px;text-align:left!important}
.jbars-subnav-grid a{background:#fff;border-radius:20px;padding:22px;box-shadow:0 8px 22px rgba(13,51,53,.08)}
.jbars-subnav-grid strong{display:block;font-family:"Londrina Solid","Source Sans 3",sans-serif;font-size:32px;line-height:.95;color:#0D3335;margin-bottom:8px}
.jbars-subnav-grid span{font-size:16px;line-height:1.45;color:#222}
@media(max-width:700px){.jbars-subnav-grid{grid-template-columns:1fr!important}}

/* Single header CTA: DONATE is the only emphasized action in the primary navigation. */
header nav a:last-of-type{
  background:#111!important;
  color:#fff!important;
  padding-left:18px!important;
  padding-right:18px!important;
}
header nav a:last-of-type:hover{
  background:#167C80!important;
  color:#fff!important;
}
