:root{
  --ink:#10243a;
  --paper:#f7faf8;
  --green-primary:#1C9E4C;
  --green-dark:#147A39;
  --green-light:#EAF7EF;
  --accent:var(--green-primary);
  --line:#dce7df;
  --muted:#667085;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink);
  background:var(--paper);
}

a{color:inherit;text-decoration:none}
.container{width:min(1120px,92%);margin:auto}

.site-header{
  background:white;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:76px;
  gap:20px;
}

.brand{
  font-weight:900;
  font-size:1.28rem;
  color:var(--green-primary);
}

.nav nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.nav nav>a:not(.btn):hover{color:var(--green-primary)}

.menu-toggle{
  display:none;
  border:0;
  background:transparent;
  font-size:1.7rem;
  color:var(--green-dark);
  cursor:pointer;
}

.hero{
  padding:30px 0 0;
  background:linear-gradient(135deg,var(--green-light) 0%,#fff 67%);
  overflow:hidden;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  min-height:590px;
  gap:40px;
}

.hero-content{padding:70px 0}

.candidate-photo{
  height:590px;
  display:flex;
  justify-content:center;
  align-items:flex-end;
}

.candidate-photo img{
  width:100%;
  max-height:560px;
  object-fit:contain;
  object-position:center bottom;
  display:block;
}

h1{
  font-size:clamp(2.2rem,5vw,4.8rem);
  line-height:1.02;
  margin:.2em 0;
}

.small-h1{font-size:clamp(2rem,4vw,3.2rem)}
h2{font-size:2rem}
.page-head h1{font-size:clamp(2rem,4vw,3.4rem)}

.eyebrow{
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.78rem;
  color:var(--green-primary);
}

.hero p,.page-head p{
  font-size:1.15rem;
  color:var(--muted);
  max-width:650px;
}

.section{padding:64px 0}
.section-soft{background:var(--green-light)}

.page-head{
  padding:56px 0 24px;
  background:#fff;
  border-bottom:4px solid var(--green-light);
}

.cards{display:grid;gap:18px}
.cards.three{grid-template-columns:repeat(3,1fr)}
.cards.four{grid-template-columns:repeat(4,1fr)}

.card,.stat,.call-card,.form-shell,.mini-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:28px;
  box-shadow:0 10px 35px rgba(20,33,61,.06);
}

.card{
  transition:.2s ease;
  overflow:hidden;
}

.card:hover{
  transform:translateY(-3px);
  border-color:var(--green-primary);
}

.card-image{
  width:calc(100% + 56px);
  height:200px;
  object-fit:cover;
  margin:-28px -28px 22px;
}

.card span{
  font-size:.8rem;
  font-weight:800;
  color:var(--green-primary);
}

.card h3{font-size:1.35rem}

.stat strong{
  display:block;
  font-size:2.6rem;
  color:var(--green-primary);
}

.stat span{color:var(--muted)}

.btn{
  display:inline-block;
  border:0;
  border-radius:12px;
  padding:13px 18px;
  background:var(--green-primary);
  color:white;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}

.btn:hover{
  background:var(--green-dark);
  transform:translateY(-1px);
}

.btn-small{padding:9px 13px}

.btn.ghost{
  background:white;
  color:var(--green-primary);
  border:1px solid var(--green-primary);
}

.btn.ghost:hover{
  background:var(--green-light);
  color:var(--green-dark);
}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.form-shell{max-width:850px}
.form-shell.small{max-width:460px}

.grid{display:grid;gap:16px}
.grid.two{grid-template-columns:1fr 1fr}

label{
  display:grid;
  gap:7px;
  font-weight:700;
  margin-bottom:16px;
}

input,select,textarea{
  width:100%;
  padding:12px 13px;
  border:1px solid #cfd5df;
  border-radius:10px;
  background:white;
  font:inherit;
  transition:.2s ease;
}

input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:var(--green-primary);
  box-shadow:0 0 0 3px var(--green-light);
}

.check{
  display:flex;
  grid-template-columns:auto 1fr;
  align-items:start;
  font-weight:500;
}

.check input{
  width:auto;
  margin-top:4px;
}

.lookup-status{
  padding:11px 13px;
  border-radius:10px;
  margin-bottom:16px;
  display:none;
}

.lookup-status.ok{
  display:block;
  background:var(--green-light);
  color:var(--green-dark);
  border:1px solid #bfe8cf;
}

.lookup-status.warn{
  display:block;
  background:#fff4df;
  color:#8a5a00;
}

table{
  width:100%;
  border-collapse:collapse;
  background:white;
  border-radius:14px;
  overflow:hidden;
}

th,td{
  text-align:left;
  padding:12px;
  border-bottom:1px solid var(--line);
  font-size:.94rem;
  vertical-align:middle;
}

th{
  background:var(--green-light);
  color:var(--green-dark);
}

tr:hover td{background:#fafdfb}
.table-wrap{overflow:auto}

.flash-wrap{padding-top:10px}

.flash{
  padding:12px;
  border-radius:10px;
  margin:8px 0;
}

.flash.danger{background:#ffeaea}
.flash.success{background:var(--green-light);color:var(--green-dark)}

.space-top{margin-top:32px}
.muted{color:var(--muted);font-size:.9rem}
.center{text-align:center}
.content-narrow{max-width:760px}
.call-number{font-size:.85rem;color:var(--muted);font-weight:700}

.voter-photo{
  width:110px;
  height:110px;
  border-radius:16px;
  object-fit:cover;
  border:3px solid var(--green-light);
}

.thumb{
  width:48px;
  height:48px;
  border-radius:10px;
  object-fit:cover;
}

.success-icon{
  width:72px;
  height:72px;
  border-radius:50%;
  background:var(--green-light);
  color:var(--green-primary);
  display:grid;
  place-items:center;
  font-size:2rem;
  font-weight:900;
  margin:0 auto 20px;
}

.popup{
  position:fixed;
  right:24px;
  bottom:24px;
  width:min(330px,calc(100vw - 48px));
  background:white;
  border:1px solid var(--green-primary);
  box-shadow:0 18px 55px rgba(20,33,61,.18);
  border-radius:18px;
  padding:20px;
  z-index:15;
}

.popup strong{color:var(--green-primary)}

.popup button{
  position:absolute;
  right:10px;
  top:7px;
  border:0;
  background:none;
  font-size:1.5rem;
  cursor:pointer;
}

.candidate-profile{
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:50px;
  align-items:center;
}

.candidate-profile>img{
  width:100%;
  max-height:600px;
  object-fit:contain;
}

.admin-split{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:32px;
  align-items:start;
}

.mini-card{
  padding:18px;
  margin-bottom:14px;
}

.mini-card span{
  display:block;
  color:var(--green-primary);
  font-size:.8rem;
  font-weight:800;
  text-transform:uppercase;
  margin-top:4px;
}

.link-danger{
  border:0;
  background:none;
  color:#b42318;
  padding:0;
  cursor:pointer;
}

.media-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.media-preview{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  margin-top:10px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

footer{
  padding:36px 0;
  border-top:1px solid var(--line);
  background:white;
}

footer strong{color:var(--green-primary)}

@media(max-width:800px){
  .menu-toggle{display:block}

  .nav{
    padding:12px 0;
    align-items:center;
    position:relative;
  }

  .nav nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:76px;
    background:white;
    border-bottom:1px solid var(--line);
    padding:16px 4%;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .nav nav.open{display:flex}
  .nav nav a{padding:10px}

  .hero-grid,
  .cards.three,
  .cards.four,
  .grid.two,
  .candidate-profile,
  .admin-split,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero-grid{min-height:auto}

  .hero-content{
    padding:44px 0 10px;
    text-align:center;
  }

  .hero-content .actions{justify-content:center}

  .candidate-photo{
    height:360px;
  }

  .candidate-photo img{
    max-height:340px;
  }

  .media-grid{grid-template-columns:1fr}

  .popup{
    bottom:14px;
    right:14px;
  }
}

/* CAMPAIGN DASHBOARD */
.dashboard-section{padding-top:38px}

.campaign-kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.kpi-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  box-shadow:0 8px 28px rgba(20,33,61,.05);
  border-top:4px solid var(--green-primary);
}

.kpi-card span{
  display:block;
  color:var(--muted);
  font-size:.86rem;
  font-weight:700;
  margin-bottom:8px;
}

.kpi-card strong{
  display:block;
  color:var(--green-dark);
  font-size:2rem;
  line-height:1;
  margin-bottom:9px;
}

.kpi-card small{
  color:var(--muted);
  font-size:.78rem;
}

.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.dashboard-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
  box-shadow:0 10px 35px rgba(20,33,61,.05);
}

.panel-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:20px;
}

.panel-heading h2{
  font-size:1.35rem;
  margin:.25rem 0 0;
}

.panel-heading>a{
  color:var(--green-primary);
  font-weight:700;
  font-size:.9rem;
}

.bar-list{
  display:grid;
  gap:16px;
}

.bar-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:7px;
  font-size:.9rem;
}

.bar-label span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.bar-track{
  height:9px;
  background:var(--green-light);
  border-radius:999px;
  overflow:hidden;
}

.bar-fill{
  min-width:3px;
  height:100%;
  background:var(--green-primary);
  border-radius:999px;
}

.ranking-list{
  display:grid;
}

.ranking-row{
  display:grid;
  grid-template-columns:34px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

.ranking-row:last-child{border-bottom:0}

.rank-number{
  width:30px;
  height:30px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--green-light);
  color:var(--green-dark);
  font-weight:800;
}

.rank-name{
  display:grid;
  gap:3px;
}

.rank-name small{color:var(--muted)}
.rank-total{
  font-size:1.25rem;
  font-weight:900;
  color:var(--green-primary);
}

@media(max-width:1000px){
  .campaign-kpis{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:800px){
  .dashboard-grid{grid-template-columns:1fr}
}

@media(max-width:520px){
  .campaign-kpis{grid-template-columns:1fr}
}

/* POWER-BI-STYLE CAMPAIGN DASHBOARD */
.campaign-head{
  background:linear-gradient(135deg,#ffffff 0%,var(--green-light) 100%);
}

.dashboard-filters{
  display:grid;
  grid-template-columns:repeat(5,1fr) auto;
  gap:12px;
  align-items:end;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  box-shadow:0 8px 28px rgba(20,33,61,.05);
  margin-bottom:20px;
}

.dashboard-filters label{
  margin:0;
  font-size:.78rem;
  color:var(--muted);
}

.dashboard-filters input,
.dashboard-filters select{
  margin-top:6px;
  padding:10px;
}

.filter-actions{
  display:flex;
  gap:8px;
  padding-bottom:1px;
}

.kpis-power{
  grid-template-columns:repeat(6,1fr);
}

.kpi-card.hero-kpi{
  background:linear-gradient(145deg,var(--green-primary),var(--green-dark));
  border-color:transparent;
}

.kpi-card.hero-kpi span,
.kpi-card.hero-kpi strong,
.kpi-card.hero-kpi small{
  color:#fff;
}

.power-row{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:20px;
}

.power-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.power-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
  box-shadow:0 10px 35px rgba(20,33,61,.055);
  min-width:0;
}

.gauge-card{
  background:linear-gradient(180deg,#fff 0%,#fbfefc 100%);
}

.donut-wrap{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:24px;
  align-items:center;
}

.donut{
  --p:0;
  width:190px;
  aspect-ratio:1;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:conic-gradient(var(--green-primary) calc(var(--p)*1%), var(--green-light) 0);
  position:relative;
}

.donut:after{
  content:"";
  position:absolute;
  width:72%;
  height:72%;
  background:#fff;
  border-radius:50%;
}

.donut-center{
  position:relative;
  z-index:1;
  display:grid;
  text-align:center;
}

.donut-center strong{
  font-size:2rem;
  color:var(--green-dark);
}

.donut-center span{
  color:var(--muted);
  font-size:.8rem;
}

.goal-details{
  display:grid;
  gap:14px;
}

.goal-details>div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding-bottom:10px;
  border-bottom:1px solid var(--line);
}

.goal-details span{
  color:var(--muted);
}

.goal-details strong{
  color:var(--ink);
}

.dashboard-note{
  color:var(--muted);
  font-size:.88rem;
  line-height:1.5;
  background:#f8fafc;
  border-left:4px solid var(--green-primary);
  padding:10px 12px;
  border-radius:8px;
}

.scenario-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:16px;
}

.scenario-card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
}

.scenario-card>span{
  display:block;
  color:var(--muted);
  font-size:.8rem;
  font-weight:700;
}

.scenario-card>strong{
  display:block;
  font-size:1.6rem;
  color:var(--green-dark);
  margin:6px 0;
}

.scenario-card small{
  color:var(--muted);
  font-size:.74rem;
}

.scenario-track{
  height:7px;
  border-radius:999px;
  background:var(--green-light);
  overflow:hidden;
  margin-top:12px;
}

.scenario-track>div{
  height:100%;
  background:var(--green-primary);
  border-radius:999px;
}

.dashboard-canvas{
  width:100%;
  display:block;
}

.coordinator-cards{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}

.coordinator-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  position:relative;
}

.coordinator-rank{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--green-light);
  color:var(--green-dark);
  font-weight:900;
}

.coordinator-info{
  min-width:0;
}

.coordinator-info strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.coordinator-info span,
.coordinator-confirmed span{
  display:block;
  color:var(--muted);
  font-size:.72rem;
}

.coordinator-confirmed{
  grid-column:1/-1;
  padding-top:8px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.coordinator-confirmed strong{
  color:var(--green-primary);
}

@media(max-width:1200px){
  .dashboard-filters{grid-template-columns:repeat(3,1fr)}
  .kpis-power{grid-template-columns:repeat(3,1fr)}
  .coordinator-cards{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:900px){
  .power-row,.power-grid{grid-template-columns:1fr}
  .donut-wrap{grid-template-columns:1fr;justify-items:center}
  .goal-details{width:100%}
}

@media(max-width:700px){
  .dashboard-filters{grid-template-columns:1fr 1fr}
  .filter-actions{grid-column:1/-1}
  .kpis-power{grid-template-columns:repeat(2,1fr)}
  .scenario-grid{grid-template-columns:1fr}
  .coordinator-cards{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:480px){
  .dashboard-filters{grid-template-columns:1fr}
  .kpis-power{grid-template-columns:1fr}
  .coordinator-cards{grid-template-columns:1fr}
}



.demo-banner{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  align-items:flex-start;
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:14px;
  padding:14px 16px;
  color:#9a3412;
}
.demo-banner strong{font-size:.88rem}
.demo-banner span{font-size:.86rem;line-height:1.45}

.demo-legend{
  display:grid;
  gap:8px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.demo-legend>div{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:.86rem;
}
.demo-legend span{color:var(--muted)}
.demo-legend strong{color:var(--ink)}


/* User & territorial team administration */
.admin-user-form select,
.admin-user-form input,
.reset-form input { width:100%; }

.hierarchy-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:18px;
  border-radius:14px;
  background:var(--soft, #f4faf6);
  min-height:250px;
}
.hierarchy-box span{color:var(--primary, #1c9e4c);font-weight:800}

.role-pill,
.status-pill{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  font-size:.76rem;
  font-weight:700;
}
.role-pill{background:#eef6f0;color:#176b37}
.status-on{background:#e7f8ed;color:#15753b}
.status-off{background:#f5f5f5;color:#6b7280}

.action-stack{display:grid;gap:8px;min-width:170px}
.reset-form{display:flex;gap:6px}
.reset-form input{min-width:115px;padding:8px 9px}
.inline-input{display:flex;gap:7px;align-items:center}
.inline-input input{flex:1}

@media(max-width:700px){
  .reset-form{flex-direction:column}
  .inline-input{align-items:stretch}
}

.cleanup-demo-form{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.cleanup-demo-form input{flex:1 1 280px}


/* Responsive YouTube videos */
.video-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #0b1726;
  margin-bottom: 14px;
}
.video-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-embed-small{
  max-width: 520px;
  margin-top: 12px;
}
.role-save-btn{
  padding: 5px 9px;
  font-size: 12px;
  line-height: 1.1;
}


.social-footer-links a{
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.social-footer-links a:hover{
  text-decoration: underline;
}


/* Large featured video on the home page */
.home-video-section{
  padding-top: 34px;
  padding-bottom: 46px;
}
.home-video-description{
  max-width: 820px;
  margin-bottom: 18px;
}
.home-video-frame{
  width: 100%;
  max-width: 1100px;
  margin: 18px auto 0;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.home-video-frame iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
@media (max-width: 700px){
  .home-video-frame{
    border-radius: 12px;
  }
}


/* Home media card */
.home-media-section{
  padding-top: 38px;
  padding-bottom: 50px;
}
.media-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:18px;
}
.home-media-card{
  background:#fff;
  border:1px solid rgba(20,55,45,.12);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 16px 42px rgba(26,55,44,.10);
}
.home-media-video{
  width:100%;
  aspect-ratio:16/9;
  background:#0d1117;
}
.home-media-video iframe{
  width:100%;
  height:100%;
  display:block;
  border:0;
}
.home-media-copy{
  padding:20px 22px 24px;
}
.home-media-copy h3{
  margin:6px 0 8px;
}
.home-media-copy p{
  margin:0;
  max-width:900px;
}
.media-source{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#159447;
}
@media (max-width:700px){
  .home-media-card{
    border-radius:14px;
  }
  .home-media-copy{
    padding:16px;
  }
}


.home-media-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:360px;
  background:linear-gradient(135deg, #153f31, #1b7047);
}
.media-placeholder-content{
  max-width:620px;
  padding:36px;
  text-align:center;
  color:#fff;
}
.media-placeholder-content strong{
  display:block;
  font-size:1.35rem;
  margin:10px 0 6px;
}
.media-placeholder-content p{
  margin:0;
  opacity:.88;
}
.media-play-icon{
  display:inline-flex;
  width:64px;
  height:64px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  font-size:1.5rem;
  padding-left:4px;
}
@media (max-width:700px){
  .home-media-placeholder{
    min-height:220px;
  }
}


/* Home popup / modal */
body.popup-open{
  overflow:hidden;
}
.popup-settings-card{
  margin-top:24px;
}
.home-popup-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.68);
  opacity:0;
  visibility:hidden;
  transition:opacity .22s ease, visibility .22s ease;
}
.home-popup-overlay.is-visible{
  opacity:1;
  visibility:visible;
}
.home-popup-modal{
  position:relative;
  width:min(920px, 96vw);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(0,0,0,.35);
}
.home-popup-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:rgba(0,0,0,.7);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.home-popup-title{
  padding:22px 64px 16px 22px;
  font-size:1.3rem;
  font-weight:700;
}
.home-popup-image img{
  display:block;
  width:100%;
  height:auto;
  max-height:78vh;
  object-fit:contain;
}
.home-popup-video{
  width:100%;
  aspect-ratio:16/9;
  background:#000;
}
.home-popup-video iframe{
  width:100%;
  height:100%;
  display:block;
  border:0;
}
@media (max-width:700px){
  .home-popup-overlay{
    padding:12px;
  }
  .home-popup-modal{
    width:100%;
    border-radius:14px;
  }
  .home-popup-close{
    top:8px;
    right:8px;
    width:38px;
    height:38px;
  }
}
