
.wehear-si{
  --si-primary:#F15A24;--si-black:#111;--si-white:#fff;--si-soft:#FFF4EE;
  --si-border:#E7E7E7;--si-page-bg:#fff;
  background:var(--si-page-bg);color:var(--si-black);font-family:inherit;
}
.wehear-si *{box-sizing:border-box}
.wehear-si a{text-decoration:none}
.si-hero{
  min-height:500px;border-radius:26px;overflow:hidden;position:relative;
  background:#111 var(--si-hero-image) center/cover no-repeat;
  display:flex;align-items:center;
}
.si-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.52),rgba(0,0,0,.12))}
.si-hero-content{position:relative;z-index:2;color:#fff;max-width:650px;padding:70px}
.si-kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--si-primary);text-transform:uppercase}
.si-hero h1{font-size:clamp(44px,5vw,72px);line-height:1;letter-spacing:-2.5px;margin:13px 0 20px;color:#fff;font-weight:800}
.si-hero p{font-size:18px;line-height:1.65;color:#e8e8e8;max-width:570px;margin:0}
.si-section-head{margin:70px 0 30px}
.si-section-head h2{font-size:40px;line-height:1.05;letter-spacing:-1.4px;margin:8px 0 10px}
.si-section-head p{color:#666;max-width:680px;line-height:1.6;margin:0}
.si-partner-grid{display:grid;gap:22px}
.si-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.si-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.si-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.si-card{background:var(--si-white);border:1px solid var(--si-border);border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,.045)}
.si-partner-card{padding:24px;display:flex;flex-direction:column;min-width:0}
.si-logo-box{height:110px;display:flex;align-items:center;justify-content:center;margin-bottom:15px}
.si-logo-box img{max-width:150px;max-height:100px;object-fit:contain}
.si-logo-box span{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:var(--si-soft);color:var(--si-primary);font-weight:800;font-size:24px}
.si-partner-card h3{font-size:21px;margin:0 0 8px}
.si-card-description{font-size:14px;line-height:1.55;color:#666;min-height:45px;margin:0 0 12px}
.si-card-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--si-border);padding:15px 0;margin-top:auto}
.si-card-metrics strong{display:block;font-size:22px;line-height:1.1}
.si-card-metrics span{display:block;font-size:11px;color:#777;margin-top:4px}
.si-button{appearance:none;border:1px solid var(--si-primary);border-radius:9px;background:var(--si-primary);color:#fff;padding:12px 16px;font:inherit;font-size:13px;font-weight:800;line-height:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:.18s}
.si-button:hover{background:var(--si-black);border-color:var(--si-black);color:#fff}
.si-partner-card .si-button{width:100%}
.si-empty{border:1px dashed var(--si-border);border-radius:16px;padding:40px;text-align:center;color:#666}
.wehear-si-template{max-width:1400px;margin:0 auto;padding:30px 20px}
.si-partner-intro{
  min-height:330px;border-radius:24px;overflow:hidden;position:relative;
  background:#111 var(--si-cover) center/cover no-repeat;color:#fff;
}
.si-cover-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.55),rgba(0,0,0,.12))}
.si-partner-intro-inner{position:relative;z-index:2;min-height:330px;padding:45px;display:grid;grid-template-columns:110px minmax(0,1fr) 300px;gap:28px;align-items:center}
.si-partner-logo{width:100px;height:100px;border-radius:15px;background:#fff;display:grid;place-items:center;padding:10px}
.si-partner-logo img{max-width:100%;max-height:100%;object-fit:contain}
.si-partner-intro h1{font-size:46px;letter-spacing:-1.5px;line-height:1.05;margin:8px 0;color:#fff}
.si-partner-intro p{color:#ddd;line-height:1.55;margin:0;max-width:550px}
.si-partner-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.si-partner-metrics div{padding:16px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);border-radius:12px}
.si-partner-metrics strong{display:block;font-size:25px;color:#fff}
.si-partner-metrics span{display:block;color:#ddd;font-size:11px;margin-top:4px}
.si-overview{max-width:850px;padding:50px 5px 5px;color:#333;line-height:1.7;font-size:16px}
.si-overview .si-kicker{display:block;margin-bottom:10px}
.si-partner-section-head{margin-top:55px}
.si-beneficiary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.si-beneficiary-card img,.si-no-photo{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.si-no-photo{display:grid;place-items:center;background:var(--si-soft);color:var(--si-primary);font-size:13px;font-weight:800;letter-spacing:2px}
.si-beneficiary-body{padding:18px}
.si-beneficiary-body h3{font-size:19px;margin:0 0 6px}
.si-device{font-weight:800;color:var(--si-primary);font-size:13px;margin:0 0 8px}
.si-story{font-size:13px;line-height:1.55;color:#666}
.si-story p:last-child{margin-bottom:0}
.si-video-button{width:100%;margin-top:13px}
.si-load-more{display:flex;margin:28px auto 0;min-width:170px}
.si-hidden-beneficiary{display:none}
.si-video-modal{
  display:none;
  position:fixed;
  z-index:999999;
  inset:0;
  background:rgba(0,0,0,.82);
  align-items:center;
  justify-content:center;
  padding:22px;
}
.si-video-modal.open{display:flex}
.si-video-dialog{
  width:min(920px,95vw);
  max-height:calc(100vh - 44px);
  background:#000;
  border-radius:14px;
  overflow:hidden;
  position:relative;
  box-shadow:0 20px 70px rgba(0,0,0,.45);
}
.si-video-dialog iframe{
  width:100%;
  aspect-ratio:16/9;
  display:block;
  border:0;
}
.si-video-dialog.si-video-dialog-portrait{
  width:min(430px,88vw);
}
.si-video-dialog.si-video-dialog-portrait iframe{
  aspect-ratio:9/16;
}
.si-video-dialog.si-video-dialog-landscape{
  width:min(920px,95vw);
}
.si-video-close{
  position:absolute;
  right:10px;
  top:10px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:#111;
  font-size:25px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}
.si-video-is-open,
.si-video-is-open body{
  overflow:hidden;
}
@media(max-width:1050px){
 .si-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))}
 .si-beneficiary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .si-partner-intro-inner{grid-template-columns:100px 1fr}
 .si-partner-metrics{grid-column:1/-1}
}
@media(max-width:720px){
 .si-hero{min-height:500px;border-radius:18px}
 .si-hero-content{padding:30px}
 .si-hero-shade{background:linear-gradient(0deg,rgba(0,0,0,.94),rgba(0,0,0,.2))}
 .si-hero h1{font-size:44px}
 .si-section-head{margin-top:45px}
 .si-section-head h2{font-size:34px}
 .si-cols-2,.si-cols-3,.si-cols-4,.si-beneficiary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .si-partner-intro-inner{grid-template-columns:1fr;padding:28px;min-height:420px}
 .si-partner-intro{min-height:420px}
 .si-partner-intro h1{font-size:36px}
 .si-partner-metrics{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
 .si-cols-2,.si-cols-3,.si-cols-4,.si-beneficiary-grid{grid-template-columns:1fr}
 .si-hero-content{padding:24px}
 .si-hero h1{font-size:38px}
}

/* v3.1 layout corrections */
.wehear-si.si-directory-page{
  width:100%;
  max-width:none;
  padding:0;
}
.si-directory-heading{
  width:min(1400px, calc(100% - 48px));
  margin:0 auto 30px;
  padding:0;
}
.si-directory-heading h1{
  font-size:42px;
  line-height:1.05;
  letter-spacing:-1.5px;
  margin:0 0 10px;
}
.si-directory-heading p{
  color:#666;
  max-width:720px;
  margin:0;
  line-height:1.6;
}
.si-directory-page .si-partner-grid{
  width:min(1400px, calc(100% - 48px));
  margin:0 auto;
}
.wehear-si-template{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
}
.wehear-si-template .si-partner-page{
  width:100%;
  min-height:100vh;
}
.si-partner-page{
  width:min(1580px, calc(100% - 48px));
  margin:0 auto;
}
.si-partner-intro{
  width:100%;
  border-radius:24px;
  min-height:390px;
}
.si-partner-intro-inner{
  width:calc(100% - 80px);
  max-width:1500px;
  margin:0 auto;
  min-height:390px;
}
.si-partner-page .si-overview,
.si-partner-page .si-section-head,
.si-partner-page .si-beneficiary-grid{
  width:100%;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}
.si-partner-page .si-overview{
  padding-left:0;
  padding-right:0;
}
.si-partner-page .si-partner-section-head{
  margin-top:55px;
}
.si-partner-page .si-beneficiary-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.si-partner-page .si-load-more{
  margin-left:auto;
  margin-right:auto;
}
.si-email{
  color:#777;
  font-size:12px;
  margin:5px 0 0;
  word-break:break-word;
}
@media(max-width:720px){
  .si-directory-heading,
  .si-directory-page .si-partner-grid{
    width:calc(100% - 32px);
  }

  .si-partner-page{
    width:calc(100% - 24px);
  }

  .si-partner-intro{
    min-height:500px;
    border-radius:18px;
  }

  .si-partner-intro-inner{
    width:calc(100% - 40px);
    min-height:500px;
    padding:28px 0;
    grid-template-columns:1fr;
    align-content:center;
  }

  .si-partner-logo{
    width:82px;
    height:82px;
  }

  .si-partner-intro h1{
    font-size:36px;
    line-height:1.05;
  }

  .si-partner-metrics{
    grid-column:auto;
    grid-template-columns:1fr 1fr;
  }

  .si-partner-page .si-overview,
  .si-partner-page .si-section-head,
  .si-partner-page .si-beneficiary-grid{
    width:100%;
  }

  .si-partner-page .si-overview{
    padding-top:34px;
  }

  .si-partner-page .si-partner-section-head{
    margin-top:40px;
  }
}
@media(max-width:520px){
  .si-partner-page{
    width:calc(100% - 20px);
  }

  .si-partner-intro{
    min-height:540px;
  }

  .si-partner-intro-inner{
    width:calc(100% - 32px);
    min-height:540px;
  }

  .si-partner-metrics{
    grid-template-columns:1fr;
  }

  .si-partner-metrics div{
    padding:13px;
  }

  .si-partner-intro h1{
    font-size:32px;
  }

  .si-partner-page .si-beneficiary-grid{
    grid-template-columns:1fr;
  }

  .si-beneficiary-card{
    width:100%;
  }

  .si-beneficiary-card img,
  .si-no-photo{
    aspect-ratio:4/3;
  }

  .si-section-head h2{
    font-size:31px;
  }

  .si-directory-heading h1{
    font-size:34px;
  }
}

@media(min-width:721px) and (max-width:1100px){
  .si-partner-page{
    width:calc(100% - 36px);
  }
  .si-partner-page .si-beneficiary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* v3.3 — final responsive width system */
.wehear-si-template{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

.wehear-si-template .si-partner-page{
  display:block;
  width:calc(100% - 48px) !important;
  max-width:1580px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding:0 !important;
}

.wehear-si-template .si-partner-intro{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  border-radius:24px !important;
}

.wehear-si-template .si-partner-intro-inner{
  width:calc(100% - 80px) !important;
  max-width:1500px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.wehear-si-template .si-overview,
.wehear-si-template .si-partner-section-head,
.wehear-si-template .si-beneficiary-grid{
  width:100% !important;
  max-width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.wehear-si-template .si-beneficiary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}

.wehear-si-template .si-load-more{
  display:flex;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Main CSR directory: 4 desktop / 3 tablet / 1 phone */
.si-directory-page .si-partner-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}

@media (min-width:721px) and (max-width:1200px){
  .si-directory-page .si-partner-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }

  .wehear-si-template .si-partner-page{
    width:calc(100% - 36px) !important;
  }

  .wehear-si-template .si-beneficiary-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

@media (max-width:720px){
  .si-directory-page .si-partner-grid{
    grid-template-columns:1fr !important;
  }

  .wehear-si-template .si-partner-page{
    width:calc(100% - 24px) !important;
  }

  .wehear-si-template .si-partner-intro{
    border-radius:18px !important;
  }

  .wehear-si-template .si-partner-intro-inner{
    width:calc(100% - 40px) !important;
    min-height:500px;
  }

  .wehear-si-template .si-beneficiary-grid{
    grid-template-columns:1fr !important;
  }

  .wehear-si-template .si-partner-metrics{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:480px){
  .wehear-si-template .si-partner-page{
    width:calc(100% - 16px) !important;
  }

  .wehear-si-template .si-partner-intro-inner{
    width:calc(100% - 28px) !important;
  }

  .wehear-si-template .si-partner-metrics{
    grid-template-columns:1fr !important;
  }
}

/* v3.4 — responsive partner hero + compact impact section */
.wehear-si-template .si-partner-page{
  padding-bottom:50px !important;
}

.wehear-si-template .si-partner-intro{
  overflow:hidden !important;
  background-position:center center !important;
  background-size:cover !important;
}

.wehear-si-template .si-partner-intro-inner{
  padding-top:42px;
  padding-bottom:42px;
}

.wehear-si-template .si-overview{
  width:calc(100% - 48px) !important;
  max-width:1400px !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

.wehear-si-template .si-partner-section-head{
  width:calc(100% - 48px) !important;
  max-width:1400px !important;
  margin-top:46px !important;
  margin-bottom:22px !important;
}

.wehear-si-template .si-beneficiary-grid,
.wehear-si-template .si-empty{
  width:calc(100% - 48px) !important;
  max-width:1400px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.wehear-si-template .si-beneficiary-grid{
  gap:18px !important;
}

.wehear-si-template .si-empty{
  padding:28px 22px !important;
  border-radius:14px !important;
}

/* Tablet */
@media (min-width:721px) and (max-width:1100px){
  .wehear-si-template .si-partner-intro{
    min-height:360px !important;
  }

  .wehear-si-template .si-partner-intro-inner{
    width:calc(100% - 56px) !important;
    min-height:360px !important;
    padding-top:32px !important;
    padding-bottom:32px !important;
  }

  .wehear-si-template .si-partner-section-head,
  .wehear-si-template .si-overview,
  .wehear-si-template .si-beneficiary-grid,
  .wehear-si-template .si-empty{
    width:calc(100% - 56px) !important;
  }
}

/* Phone */
@media (max-width:720px){
  .wehear-si-template .si-partner-page{
    width:calc(100% - 24px) !important;
    padding-bottom:30px !important;
  }

  .wehear-si-template .si-partner-intro{
    min-height:390px !important;
    height:auto !important;
    background-position:center center !important;
    background-size:cover !important;
    border-radius:16px !important;
  }

  .wehear-si-template .si-partner-intro-inner{
    width:calc(100% - 32px) !important;
    min-height:390px !important;
    padding:28px 0 !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    align-content:center !important;
    gap:16px !important;
  }

  .wehear-si-template .si-partner-logo{
    width:72px !important;
    height:72px !important;
  }

  .wehear-si-template .si-partner-intro h1{
    font-size:32px !important;
    margin:6px 0 !important;
  }

  .wehear-si-template .si-partner-intro p{
    font-size:14px !important;
  }

  .wehear-si-template .si-partner-metrics{
    grid-column:auto !important;
    width:100% !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .wehear-si-template .si-partner-metrics div{
    padding:12px !important;
  }

  .wehear-si-template .si-partner-metrics strong{
    font-size:20px !important;
  }

  .wehear-si-template .si-partner-section-head{
    width:calc(100% - 28px) !important;
    margin-top:36px !important;
    margin-bottom:18px !important;
  }

  .wehear-si-template .si-partner-section-head h2{
    font-size:32px !important;
  }

  .wehear-si-template .si-partner-section-head p{
    font-size:14px !important;
  }

  .wehear-si-template .si-overview,
  .wehear-si-template .si-beneficiary-grid,
  .wehear-si-template .si-empty{
    width:calc(100% - 28px) !important;
  }

  .wehear-si-template .si-beneficiary-grid{
    gap:14px !important;
  }

  .wehear-si-template .si-empty{
    padding:22px 16px !important;
    font-size:13px !important;
  }
}

/* Small phone */
@media (max-width:480px){
  .wehear-si-template .si-partner-page{
    width:calc(100% - 16px) !important;
  }

  .wehear-si-template .si-partner-intro{
    min-height:430px !important;
  }

  .wehear-si-template .si-partner-intro-inner{
    width:calc(100% - 26px) !important;
    min-height:430px !important;
  }

  .wehear-si-template .si-partner-metrics{
    grid-template-columns:1fr 1fr !important;
  }

  .wehear-si-template .si-partner-metrics span{
    font-size:10px !important;
  }

  .wehear-si-template .si-partner-section-head,
  .wehear-si-template .si-overview,
  .wehear-si-template .si-beneficiary-grid,
  .wehear-si-template .si-empty{
    width:calc(100% - 20px) !important;
  }
}

/* v3.5 — break out of narrow theme/Elementor content wrapper */
.wehear-si-template{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  padding:0 !important;
}

.wehear-si-template .si-partner-page{
  width:calc(100vw - 80px) !important;
  max-width:1580px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.wehear-si-template .si-partner-intro{
  width:100% !important;
}

.wehear-si-template .si-partner-section-head,
.wehear-si-template .si-overview,
.wehear-si-template .si-beneficiary-grid,
.wehear-si-template .si-empty{
  width:100% !important;
  max-width:100% !important;
}

@media(max-width:1650px) and (min-width:721px){
  .wehear-si-template .si-partner-page{
    width:calc(100vw - 64px) !important;
  }
}

@media(max-width:720px){
  .wehear-si-template{
    width:100vw !important;
    max-width:100vw !important;
  }

  .wehear-si-template .si-partner-page{
    width:calc(100vw - 24px) !important;
    max-width:none !important;
  }

  .wehear-si-template .si-partner-intro{
    width:100% !important;
  }

  .wehear-si-template .si-partner-section-head,
  .wehear-si-template .si-overview,
  .wehear-si-template .si-beneficiary-grid,
  .wehear-si-template .si-empty{
    width:calc(100% - 28px) !important;
    max-width:none !important;
  }
}

@media(max-width:480px){
  .wehear-si-template .si-partner-page{
    width:calc(100vw - 16px) !important;
  }

  .wehear-si-template .si-partner-section-head,
  .wehear-si-template .si-overview,
  .wehear-si-template .si-beneficiary-grid,
  .wehear-si-template .si-empty{
    width:calc(100% - 20px) !important;
  }
}

/* v3.6 — centered beneficiary cards + clean video modal */
.wehear-si-template .si-beneficiary-grid.si-beneficiary-count-1{
  grid-template-columns:minmax(280px,380px) !important;
  justify-content:center !important;
}
.wehear-si-template .si-beneficiary-grid.si-beneficiary-count-2{
  grid-template-columns:repeat(2,minmax(280px,380px)) !important;
  justify-content:center !important;
}
.wehear-si-template .si-beneficiary-grid.si-beneficiary-count-3{
  grid-template-columns:repeat(3,minmax(240px,380px)) !important;
  justify-content:center !important;
}
.wehear-si-template .si-beneficiary-grid.si-beneficiary-count-4{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}

.wehear-si-template .si-video-modal{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100vh !important;
  padding:24px !important;
  display:none;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(0,0,0,.78) !important;
  z-index:2147483000 !important;
}
.wehear-si-template .si-video-modal.open{display:flex !important}
.wehear-si-template .si-video-dialog{
  position:relative !important;
  width:min(900px,92vw) !important;
  max-height:88vh !important;
  margin:0 auto !important;
  overflow:visible !important;
  border-radius:12px !important;
  background:#000 !important;
}
.wehear-si-template .si-video-dialog iframe{
  display:block !important;
  width:100% !important;
  aspect-ratio:16/9 !important;
  border:0 !important;
  border-radius:12px !important;
}
.wehear-si-template .si-video-close{
  position:absolute !important;
  top:-18px !important;
  right:-18px !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  min-height:42px !important;
  padding:0 !important;
  border:2px solid #111 !important;
  border-radius:50% !important;
  background:#fff !important;
  color:#111 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-family:Arial,sans-serif !important;
  font-size:27px !important;
  line-height:1 !important;
  cursor:pointer !important;
  box-shadow:0 5px 18px rgba(0,0,0,.35) !important;
  z-index:5 !important;
}
.wehear-si-template .si-video-close:hover{
  background:var(--si-primary) !important;
  color:#fff !important;
  border-color:var(--si-primary) !important;
}

@media(max-width:1100px) and (min-width:721px){
  .wehear-si-template .si-beneficiary-grid.si-beneficiary-count-4{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  .wehear-si-template .si-beneficiary-grid.si-beneficiary-count-3{
    grid-template-columns:repeat(3,minmax(220px,340px)) !important;
  }
}
@media(max-width:720px){
  .wehear-si-template .si-beneficiary-grid.si-beneficiary-count-1{
    grid-template-columns:minmax(0,420px) !important;
  }
  .wehear-si-template .si-beneficiary-grid.si-beneficiary-count-2,
  .wehear-si-template .si-beneficiary-grid.si-beneficiary-count-3,
  .wehear-si-template .si-beneficiary-grid.si-beneficiary-count-4{
    grid-template-columns:1fr !important;
  }
  .wehear-si-template .si-video-modal{padding:16px !important}
  .wehear-si-template .si-video-dialog{width:100% !important}
  .wehear-si-template .si-video-close{
    top:-14px !important;
    right:-8px !important;
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
    min-height:38px !important;
    font-size:24px !important;
  }
}

/* v3.7 — 80% centered content area for the partner page */
.wehear-si-template .si-partner-page{
  width:80% !important;
  max-width:1580px !important;
  min-width:0 !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.wehear-si-template .si-partner-intro{
  width:100% !important;
  max-width:none !important;
}

.wehear-si-template .si-partner-section-head,
.wehear-si-template .si-overview,
.wehear-si-template .si-beneficiary-grid,
.wehear-si-template .si-empty{
  width:100% !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Keep the content comfortable on medium screens */
@media (max-width:1200px) and (min-width:721px){
  .wehear-si-template .si-partner-page{
    width:88% !important;
  }
}

/* Mobile: use almost the full screen, but keep clear side breathing room */
@media (max-width:720px){
  .wehear-si-template .si-partner-page{
    width:calc(100% - 32px) !important;
    max-width:none !important;
  }

  .wehear-si-template .si-partner-section-head,
  .wehear-si-template .si-overview,
  .wehear-si-template .si-beneficiary-grid,
  .wehear-si-template .si-empty{
    width:100% !important;
  }
}

@media (max-width:480px){
  .wehear-si-template .si-partner-page{
    width:calc(100% - 24px) !important;
  }
}

/* v3.8 typography controls */
.wehear-si .si-directory-heading .si-kicker{font-size:var(--si-main-kicker-size) !important;}
.wehear-si .si-directory-heading h1{font-size:var(--si-main-title-size) !important;}
.wehear-si .si-directory-heading p{font-size:var(--si-main-text-size) !important;}
.wehear-si .si-directory-page .si-button{font-size:var(--si-main-button-size) !important;}
.wehear-si .si-partner-section-head .si-kicker{font-size:var(--si-impact-kicker-size) !important;}
.wehear-si .si-partner-section-head h2{font-size:var(--si-impact-title-size) !important;}
.wehear-si .si-partner-section-head p{font-size:var(--si-impact-text-size) !important;}

/* v3.9 — beneficiary presentation */
.wehear-si-template .si-beneficiary-grid.si-beneficiary-count-1{
  grid-template-columns:minmax(280px,380px) !important;
  justify-content:center !important;
}
.wehear-si-template .si-beneficiary-grid.si-beneficiary-count-2{
  grid-template-columns:repeat(2,minmax(280px,380px)) !important;
  justify-content:center !important;
}
.wehear-si-template .si-beneficiary-grid.si-beneficiary-count-3{
  grid-template-columns:repeat(3,minmax(240px,380px)) !important;
  justify-content:center !important;
}

.wehear-si-template .si-beneficiary-card-body{
  display:flex !important;
  flex-direction:column !important;
}
.wehear-si-template .si-beneficiary-card-body h3{order:1 !important;}
.wehear-si-template .si-beneficiary-card-body .si-story,
.wehear-si-template .si-beneficiary-card-body .si-beneficiary-story{order:2 !important;}
.wehear-si-template .si-beneficiary-card-body .si-video-trigger-wrap,
.wehear-si-template .si-beneficiary-card-body .si-watch,
.wehear-si-template .si-beneficiary-card-body a.si-watch{order:3 !important;}

@media(max-width:720px){
  .wehear-si-template .si-beneficiary-grid.si-beneficiary-count-1,
  .wehear-si-template .si-beneficiary-grid.si-beneficiary-count-2,
  .wehear-si-template .si-beneficiary-grid.si-beneficiary-count-3{
    grid-template-columns:1fr !important;
  }
}

/* v3.10 — tighter Lives Impacted typography */
.wehear-si-template .si-partner-section-head{
  margin-top:46px !important;
  margin-bottom:14px !important;
}
.wehear-si-template .si-partner-section-head .si-kicker{
  margin-bottom:8px !important;
}
.wehear-si-template .si-partner-section-head h2{
  margin-top:0 !important;
  margin-bottom:10px !important;
}
.wehear-si-template .si-partner-section-head p{
  margin-top:0 !important;
  margin-bottom:0 !important;
}
@media(max-width:720px){
  .wehear-si-template .si-partner-section-head{
    margin-top:32px !important;
    margin-bottom:12px !important;
  }
  .wehear-si-template .si-partner-section-head .si-kicker{
    margin-bottom:6px !important;
  }
  .wehear-si-template .si-partner-section-head h2{
    margin-bottom:8px !important;
  }
}

/* v3.11 — final CSR Partner routing + impact spacing */
.wehear-si-template .si-partner-section-head{
  margin-top:40px !important;
  margin-bottom:12px !important;
}
.wehear-si-template .si-partner-section-head .si-kicker{
  display:block !important;
  margin-bottom:6px !important;
}
.wehear-si-template .si-partner-section-head h2{
  margin:0 0 8px !important;
}
.wehear-si-template .si-partner-section-head p{
  margin:0 !important;
  line-height:1.55 !important;
}

.wehear-si-template .si-beneficiary-body{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
}
.wehear-si-template .si-beneficiary-body h3{
  order:1 !important;
}
.wehear-si-template .si-beneficiary-body .si-story{
  order:2 !important;
  margin-top:7px !important;
}
.wehear-si-template .si-beneficiary-body .si-video-button{
  order:3 !important;
  margin-top:14px !important;
}

/* v3.12 — 15px breathing room below the site header on individual CSR pages */
.wehear-si-template .si-partner-page{
  padding-top:15px !important;
}

@media (max-width:720px){
  .wehear-si-template .si-partner-page{
    padding-top:15px !important;
  }
}

/* v3.13 — slightly more compact beneficiary / Watch Story cards */
.wehear-si-template .si-beneficiary-grid{
  gap:24px !important;
}

.wehear-si-template .si-beneficiary-card{
  max-width:340px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.wehear-si-template .si-beneficiary-card > img,
.wehear-si-template .si-beneficiary-card .si-no-photo{
  height:270px !important;
  object-fit:cover !important;
}

.wehear-si-template .si-beneficiary-body{
  padding:18px !important;
}

.wehear-si-template .si-beneficiary-body h3{
  margin-bottom:6px !important;
}

.wehear-si-template .si-beneficiary-body .si-story{
  line-height:1.5 !important;
}

.wehear-si-template .si-beneficiary-body .si-video-button{
  min-height:44px !important;
  padding:10px 16px !important;
  }

@media(max-width:720px){
  .wehear-si-template .si-beneficiary-card{
    max-width:330px !important;
  }

  .wehear-si-template .si-beneficiary-card > img,
  .wehear-si-template .si-beneficiary-card .si-no-photo{
    height:245px !important;
  }
}

/* v3.14 — public partner hero shows Lives Impacted only */
.wehear-si-template .si-partner-metrics > div:has(span){
  /* Individual metric visibility is controlled by markup. */
}
.wehear-si-template .si-partner-metrics > div.si-devices-donated,
.wehear-si-template .si-partner-metrics .devices-donated{
  display:none !important;
}

/* v3.15 — partner backend Lives Impacted is the only hero metric */
.wehear-si-template .si-partner-metrics .si-lives-metric{
  display:flex !important;
  flex-direction:column !important;
}

/* v3.16 — responsive CSR partner cover images */
.wehear-si-template .si-partner-intro{
  background-image:var(--si-cover) !important;
  background-size:cover !important;
  background-position:center center !important;
}

@media (min-width:721px) and (max-width:1200px){
  .wehear-si-template .si-partner-intro{
    background-image:var(--si-cover-tablet, var(--si-cover)) !important;
  }
}

@media (max-width:720px){
  .wehear-si-template .si-partner-intro{
    background-image:var(--si-cover-mobile, var(--si-cover)) !important;
    background-position:center center !important;
  }
}

/* v3.17 — refined individual CSR partner spacing */
.wehear-si-template .si-partner-page{
  padding-top:15px !important;
}

/* Reduce the large gap above the Lives Impacted section and
   add balanced breathing room below its description. */
.wehear-si-template .si-partner-page .si-partner-section-head{
  margin-top:28px !important;
  margin-bottom:28px !important;
}

.wehear-si-template .si-partner-page .si-partner-section-head .si-kicker{
  margin-bottom:7px !important;
}

.wehear-si-template .si-partner-page .si-partner-section-head h2{
  margin-top:0 !important;
  margin-bottom:9px !important;
}

.wehear-si-template .si-partner-page .si-partner-section-head p{
  margin:0 !important;
  line-height:1.55 !important;
}

@media(max-width:720px){
  .wehear-si-template .si-partner-page .si-partner-section-head{
    margin-top:24px !important;
    margin-bottom:24px !important;
  }
}

/* v3.18 typography controls */
.wehear-si-template .si-partner-section-head .si-kicker{font-family:var(--si-kicker-font)!important;font-size:var(--si-kicker-size)!important}
.wehear-si-template .si-partner-section-head h2{font-family:var(--si-title-font)!important;font-size:var(--si-title-size)!important}
.wehear-si-template .si-partner-section-head p{font-family:var(--si-desc-font)!important;font-size:var(--si-desc-size)!important}
.wehear-si-template .si-beneficiary-body h3{font-family:var(--si-card-name-font)!important;font-size:var(--si-card-name-size)!important}
.wehear-si-template .si-beneficiary-body .si-story{font-family:var(--si-card-story-font)!important;font-size:var(--si-card-story-size)!important}
.wehear-si-template .si-beneficiary-body .si-video-button{font-family:var(--si-button-font)!important;font-size:var(--si-button-size)!important}
.wehear-si-template .si-partner-metrics strong{font-family:var(--si-metric-number-font)!important;font-size:var(--si-metric-number-size)!important}
.wehear-si-template .si-partner-metrics span{font-family:var(--si-metric-label-font)!important;font-size:var(--si-metric-label-size)!important}

/* v3.19 — FIX: typography controls target the actual .wehear-si wrapper */
.wehear-si .si-partner-section-head .si-kicker{
  font-family:var(--si-kicker-font,inherit)!important;
  font-size:var(--si-kicker-size,11px)!important;
}
.wehear-si .si-partner-section-head h2{
  font-family:var(--si-title-font,inherit)!important;
  font-size:var(--si-title-size,40px)!important;
}
.wehear-si .si-partner-section-head p{
  font-family:var(--si-desc-font,inherit)!important;
  font-size:var(--si-desc-size,18px)!important;
}
.wehear-si .si-beneficiary-body h3{
  font-family:var(--si-card-name-font,inherit)!important;
  font-size:var(--si-card-name-size,19px)!important;
}
.wehear-si .si-beneficiary-body .si-story,
.wehear-si .si-beneficiary-body .si-story p{
  font-family:var(--si-card-story-font,inherit)!important;
  font-size:var(--si-card-story-size,13px)!important;
}
.wehear-si .si-beneficiary-body .si-video-button{
  font-family:var(--si-button-font,inherit)!important;
  font-size:var(--si-button-size,14px)!important;
}
.wehear-si .si-partner-metrics .si-lives-metric strong{
  font-family:var(--si-metric-number-font,inherit)!important;
  font-size:var(--si-metric-number-size,25px)!important;
}
.wehear-si .si-partner-metrics .si-lives-metric span{
  font-family:var(--si-metric-label-font,inherit)!important;
  font-size:var(--si-metric-label-size,11px)!important;
}

/* v3.19 — hero typography controls */
.wehear-si .si-partner-intro .si-kicker{
  font-family:var(--si-hero-kicker-font,inherit)!important;
  font-size:var(--si-hero-kicker-size,11px)!important;
}
.wehear-si .si-partner-intro h1{
  font-family:var(--si-hero-title-font,inherit)!important;
  font-size:var(--si-hero-title-size,46px)!important;
}
.wehear-si .si-partner-intro .si-partner-copy p{
  font-family:var(--si-hero-tagline-font,inherit)!important;
  font-size:var(--si-hero-tagline-size,18px)!important;
}

/* v3.21 */
@media (max-width:767px){
  .wehear-si .si-partner-card{
    margin-left:15px!important;
    margin-right:15px!important;
    width:calc(100% - 30px)!important;
    box-sizing:border-box!important;
  }
}

/* v3.23 visual cleanup */
.wehear-si .si-directory-heading{padding-left:0;padding-right:0}
.wehear-si .si-partner-card .si-card-description{line-height:1.45}
.wehear-si .si-partner-card .si-card-metrics{margin-top:18px}
.wehear-si .si-partner-card .si-button{margin-top:18px}
@media(max-width:767px){
  .wehear-si .si-directory-heading{
    width:calc(100% - 30px)!important;
    margin-left:15px!important;
    margin-right:15px!important;
  }
  .wehear-si .si-directory-page .si-partner-grid{
    width:calc(100% - 30px)!important;
    margin-left:15px!important;
    margin-right:15px!important;
  }
  .wehear-si .si-directory-heading h1{line-height:1.18!important;letter-spacing:-.3px!important}
  .wehear-si .si-directory-heading p{line-height:1.5!important}
}

/* v3.24 typography override: no inline font sizes, responsive controls are authoritative */
.wehear-si .si-directory-heading .si-kicker,
.wehear-si .si-directory-heading h1,
.wehear-si .si-directory-heading p,
.wehear-si .si-partner-card h3,
.wehear-si .si-partner-card .si-card-description,
.wehear-si .si-partner-card .si-card-metrics strong,
.wehear-si .si-partner-card .si-card-metrics span,
.wehear-si .si-partner-card .si-button,
.wehear-si .si-partner-intro .si-kicker,
.wehear-si .si-partner-intro h1,
.wehear-si .si-partner-intro p,
.wehear-si .si-partner-intro .si-lives-metric strong,
.wehear-si .si-partner-intro .si-lives-metric span,
.wehear-si .si-partner-section-head .si-kicker,
.wehear-si .si-partner-section-head h2,
.wehear-si .si-partner-section-head p,
.wehear-si .si-beneficiary-body h3,
.wehear-si .si-beneficiary-body .si-story,
.wehear-si .si-beneficiary-body .si-story p,
.wehear-si .si-beneficiary-body .si-video-button{
  box-sizing:border-box;
}
.wehear-si .si-beneficiary-card > img{
  padding:14px!important;
  object-fit:contain!important;
  background:#fff;
}
@media(max-width:767px){
  .wehear-si .si-beneficiary-card > img{
    padding:12px!important;
  }
  .wehear-si .si-beneficiary-body{
    padding:14px 16px 18px!important;
  }
  .wehear-si .si-partner-section-head{
    padding-left:0!important;
    padding-right:0!important;
  }
}

/* v3.25 video modal behavior */
.wehear-si-video-modal,
.wehear-si-modal{
  align-items:center!important;
  justify-content:center!important;
}
.wehear-si-video-modal .si-video-modal-content,
.wehear-si-modal .si-video-modal-content,
.wehear-si-video-modal .si-video-content,
.wehear-si-modal .si-video-content{
  position:relative!important;
  margin:auto!important;
  max-width:calc(100vw - 32px)!important;
  max-height:calc(100vh - 32px)!important;
  overflow:hidden!important;
}

/* Landscape/default video */
.wehear-si-video-modal iframe,
.wehear-si-modal iframe,
.wehear-si-video-modal video,
.wehear-si-modal video{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  max-height:calc(100vh - 48px)!important;
  border:0!important;
}

/* Portrait YouTube/mobile video: narrow, tall modal */
@media (max-width:767px){
  .wehear-si-video-modal .si-video-modal-content,
  .wehear-si-modal .si-video-modal-content,
  .wehear-si-video-modal .si-video-content,
  .wehear-si-modal .si-video-content{
    width:min(92vw, 430px)!important;
    max-width:92vw!important;
    max-height:calc(100vh - 24px)!important;
    border-radius:12px!important;
  }

  .wehear-si-video-modal iframe,
  .wehear-si-modal iframe{
    width:100%!important;
    height:auto!important;
    aspect-ratio:16/9;
  }

  /* JS can add this class when a portrait source is detected. */
  .wehear-si-video-modal.si-video-portrait .si-video-modal-content,
  .wehear-si-modal.si-video-portrait .si-video-modal-content{
    width:min(92vw, 430px)!important;
    height:min(86vh, 760px)!important;
    max-height:calc(100vh - 24px)!important;
  }
  .wehear-si-video-modal.si-video-portrait iframe,
  .wehear-si-modal.si-video-portrait iframe{
    height:100%!important;
    aspect-ratio:9/16!important;
    object-fit:contain!important;
  }

  .wehear-si-video-modal.si-video-landscape .si-video-modal-content,
  .wehear-si-modal.si-video-landscape .si-video-modal-content{
    width:min(94vw, 900px)!important;
    height:auto!important;
  }
}

/* Close button remains the ONLY explicit close control. */
.wehear-si-video-modal .wehear-si-video-close,
.wehear-si-video-modal .wehear-si-modal-close,
.wehear-si-modal .wehear-si-video-close,
.wehear-si-modal .wehear-si-modal-close{
  z-index:50!important;
  cursor:pointer!important;
}


/* v3.26 — typography authority guard
   The PHP-rendered responsive typography block is intentionally printed
   after frontend.css on individual CSR pages. These selectors only set
   family/box behavior; they do not hard-code font sizes. */
.wehear-si .si-directory-heading .si-kicker,
.wehear-si .si-directory-heading h1,
.wehear-si .si-directory-heading p,
.wehear-si .si-partner-card h3,
.wehear-si .si-partner-card .si-card-description,
.wehear-si .si-partner-card .si-card-metrics strong,
.wehear-si .si-partner-card .si-card-metrics span,
.wehear-si .si-partner-card .si-button,
.wehear-si .si-partner-intro .si-kicker,
.wehear-si .si-partner-intro h1,
.wehear-si .si-partner-intro p,
.wehear-si .si-partner-intro .si-lives-metric strong,
.wehear-si .si-partner-intro .si-lives-metric span,
.wehear-si .si-partner-section-head .si-kicker,
.wehear-si .si-partner-section-head h2,
.wehear-si .si-partner-section-head p,
.wehear-si .si-beneficiary-body h3,
.wehear-si .si-beneficiary-body .si-story,
.wehear-si .si-beneficiary-body .si-story p,
.wehear-si .si-beneficiary-body .si-video-button{
  box-sizing:border-box;
}


/* v3.27 — YouTube Shorts / portrait video modal */
.si-video-modal{
  touch-action:auto;
}
.si-video-dialog{
  flex:0 1 auto;
}
@media(max-width:600px){
  .si-video-modal{padding:12px}
  .si-video-dialog.si-video-dialog-landscape{
    width:calc(100vw - 24px);
    max-width:920px;
  }
  .si-video-dialog.si-video-dialog-portrait{
    width:min(390px,calc(100vw - 24px));
    max-height:calc(100vh - 24px);
  }
  .si-video-dialog.si-video-dialog-portrait iframe{
    width:100%;
    height:auto;
    aspect-ratio:9/16;
  }
  .si-video-close{
    right:8px;
    top:8px;
    width:40px;
    height:40px;
  }
}

/* v3.29 — native dialog video modal: direct trigger, no dependency on delegated click handling */
.wehear-si-template dialog.si-video-modal{
  position:fixed!important; inset:0!important; width:100vw!important; height:100vh!important; max-width:none!important; max-height:none!important;
  margin:0!important; padding:24px!important; border:0!important; background:rgba(0,0,0,.78)!important;
  align-items:center!important; justify-content:center!important; z-index:2147483647!important;
}
.wehear-si-template dialog.si-video-modal:not([open]){display:none!important}
.wehear-si-template dialog.si-video-modal[open]{display:flex!important}
.wehear-si-template dialog.si-video-modal::backdrop{background:rgba(0,0,0,.78)!important}
.wehear-si-template .si-video-dialog{position:relative!important;width:min(900px,92vw)!important;max-height:88vh!important;background:#000!important;border-radius:12px!important;overflow:visible!important}
.wehear-si-template .si-video-dialog iframe{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;border:0!important;border-radius:12px!important}
.wehear-si-template .si-video-dialog.si-video-dialog-portrait{width:min(430px,88vw)!important}
.wehear-si-template .si-video-dialog.si-video-dialog-portrait iframe{aspect-ratio:9/16!important;height:auto!important}
.wehear-si-template .si-video-close{z-index:2147483647!important;pointer-events:auto!important;cursor:pointer!important}
.wehear-si-template .si-video-button{position:relative!important;z-index:5!important;pointer-events:auto!important;cursor:pointer!important}
@media(max-width:767px){
 .wehear-si-template dialog.si-video-modal{padding:12px!important}
 .wehear-si-template .si-video-dialog{width:94vw!important;max-height:90vh!important}
 .wehear-si-template .si-video-dialog.si-video-dialog-portrait{width:min(92vw,430px)!important;max-height:92vh!important}
}

/* v3.30 — compact CSR partner directory cards (desktop/tablet/mobile) */
.si-directory-page .si-partner-grid{
  align-items:stretch;
  row-gap:22px !important;
  column-gap:22px !important;
}

.si-directory-page .si-partner-card{
  padding:20px !important;
  min-height:0 !important;
  height:auto !important;
}

.si-directory-page .si-partner-card .si-logo-box{
  height:82px !important;
  margin-bottom:14px !important;
}

.si-directory-page .si-partner-card .si-logo-box img{
  max-width:125px !important;
  max-height:76px !important;
}

.si-directory-page .si-partner-card .si-logo-box span{
  width:62px !important;
  height:62px !important;
  font-size:22px !important;
}

.si-directory-page .si-partner-card h3{
  font-size:20px !important;
  line-height:1.2 !important;
  margin:0 0 6px !important;
}

.si-directory-page .si-partner-card .si-card-description{
  min-height:0 !important;
  margin:0 0 10px !important;
  font-size:14px !important;
  line-height:1.45 !important;
}

.si-directory-page .si-partner-card .si-card-metrics{
  padding:12px 0 !important;
  margin-top:4px !important;
  gap:8px !important;
}

.si-directory-page .si-partner-card .si-card-metrics strong{
  font-size:22px !important;
}

.si-directory-page .si-partner-card .si-card-metrics span{
  font-size:11px !important;
  line-height:1.3 !important;
}

.si-directory-page .si-partner-card .si-button{
  margin-top:2px !important;
  padding:11px 14px !important;
  min-height:40px !important;
}

/* Tablet */
@media (min-width:721px) and (max-width:1050px){
  .si-directory-page .si-partner-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:20px !important;
  }

  .si-directory-page .si-partner-card{
    padding:18px !important;
  }

  .si-directory-page .si-partner-card .si-logo-box{
    height:78px !important;
  }
}

/* Mobile */
@media (max-width:720px){
  .si-directory-page .si-partner-grid{
    grid-template-columns:1fr !important;
    width:calc(100% - 30px) !important;
    gap:18px !important;
  }

  .si-directory-page .si-partner-card{
    width:100% !important;
    padding:18px !important;
    border-radius:16px !important;
  }

  .si-directory-page .si-partner-card .si-logo-box{
    height:90px !important;
    margin-bottom:12px !important;
  }

  .si-directory-page .si-partner-card .si-logo-box img{
    max-width:145px !important;
    max-height:82px !important;
  }

  .si-directory-page .si-partner-card h3{
    font-size:20px !important;
  }

  .si-directory-page .si-partner-card .si-card-description{
    font-size:14px !important;
  }
}

/* Small phones */
@media (max-width:480px){
  .si-directory-page .si-partner-grid{
    width:calc(100% - 30px) !important;
  }

  .si-directory-page .si-partner-card{
    padding:16px !important;
  }

  .si-directory-page .si-partner-card .si-logo-box{
    height:82px !important;
  }
}


/* v3.31 — final CSR directory card sizing */
.wehear-si.si-directory-page .si-partner-grid{
    align-items:start !important;
}

.wehear-si.si-directory-page .si-partner-card{
    align-self:start !important;
    height:auto !important;
    min-height:0 !important;
    padding:18px !important;
}

.wehear-si.si-directory-page .si-partner-card .si-logo-box{
    height:76px !important;
    margin-bottom:10px !important;
}

.wehear-si.si-directory-page .si-partner-card .si-logo-box img{
    max-width:125px !important;
    max-height:68px !important;
}

.wehear-si.si-directory-page .si-partner-card h3{
    margin:0 0 5px !important;
    line-height:1.2 !important;
}

.wehear-si.si-directory-page .si-partner-card .si-card-description{
    min-height:0 !important;
    margin:0 0 8px !important;
    line-height:1.4 !important;
}

.wehear-si.si-directory-page .si-partner-card .si-card-metrics{
    margin-top:4px !important;
    padding:10px 0 !important;
}

.wehear-si.si-directory-page .si-partner-card .si-button{
    margin-top:2px !important;
    padding:10px 14px !important;
    min-height:38px !important;
}

@media (min-width:721px) and (max-width:1200px){
    .wehear-si.si-directory-page .si-partner-grid{
        align-items:start !important;
        gap:18px !important;
    }
    .wehear-si.si-directory-page .si-partner-card{
        padding:16px !important;
    }
}

@media (max-width:720px){
    .wehear-si.si-directory-page .si-partner-grid{
        align-items:start !important;
        width:calc(100% - 30px) !important;
        margin-left:15px !important;
        margin-right:15px !important;
        gap:16px !important;
    }

    .wehear-si.si-directory-page .si-partner-card{
        align-self:start !important;
        width:100% !important;
        padding:16px !important;
    }

    .wehear-si.si-directory-page .si-partner-card .si-logo-box{
        height:78px !important;
        margin-bottom:9px !important;
    }
}

@media (max-width:480px){
    .wehear-si.si-directory-page .si-partner-card{
        padding:15px !important;
    }
}

/* v3.31 — never let theme/router styles make the partner link look like a JS button */
.wehear-si .si-partner-impact-link{
    cursor:pointer !important;
    text-decoration:none !important;
}


/* v3.32 video lifecycle / navigation safety */
.wehear-si .si-video-modal[open]{z-index:2147483000!important;}
.wehear-si .si-video-close{pointer-events:auto!important;cursor:pointer!important;}
