/* v298G — Home passport checker popup + smaller desktop Quick Fee Check */

/* Make the Home Quick Fee Check less visually dominant on desktop. */
@media (min-width:1025px){
  .home-page .home-conversion-hero-grid-v295G{
    grid-template-columns:minmax(0, 1fr) minmax(328px, 420px) !important;
    gap:clamp(22px,2.4vw,34px) !important;
  }
  .home-page .home-hero-side-stack-v295G,
  .home-page .home-fee-preview-card-v295G,
  .home-page .home-fee-preview-card-v289G,
  .home-page .home-fee-preview-card{
    max-width:420px !important;
  }
  .home-page .hero-plane-stage-v295G{
    height:112px !important;
  }
  .home-page .hero-plane-image-v295G{
    width:205px !important;
    right:16px !important;
    top:2px !important;
  }
  .home-page .hero-plane-wind-v295G{
    right:168px !important;
  }
  .home-page .hero-plane-wind-v295G.wind-a{top:44px !important;width:104px !important;}
  .home-page .hero-plane-wind-v295G.wind-b{top:60px !important;width:78px !important;right:176px !important;}
  .home-page .hero-plane-wind-v295G.wind-c{top:76px !important;width:58px !important;right:184px !important;}
  .home-page .hero .hero-fee-compact.home-fee-preview-card,
  .home-page .home-fee-preview-card-v295G{
    padding:16px !important;
    border-radius:22px !important;
    box-shadow:0 18px 48px rgba(5,13,31,.20) !important;
  }
  .home-page .home-fee-preview-card .compact-fee-head{
    margin-bottom:11px !important;
    gap:8px !important;
  }
  .home-page .home-fee-preview-card .compact-fee-head h2{
    font-size:22px !important;
    line-height:1.08 !important;
  }
  .home-page .home-fee-preview-card .compact-fee-head p{
    font-size:12.5px !important;
    line-height:1.35 !important;
    max-width:205px !important;
    margin-top:4px !important;
  }
  .home-page .fee-badge{
    min-height:24px !important;
    padding:4px 8px !important;
    font-size:10.5px !important;
  }
  .home-page .home-fee-preview-card .compact-fee-fields{
    gap:8px !important;
  }
  .home-page .home-fee-preview-card .compact-fee-fields label{
    font-size:11.5px !important;
    line-height:1.25 !important;
  }
  .home-page .home-fee-preview-card .compact-fee-fields select{
    min-height:38px !important;
    padding:8px 10px !important;
    border-radius:12px !important;
    font-size:13px !important;
    margin-top:5px !important;
  }
  .home-page .home-fee-preview-card .compact-fee-bottom{
    margin-top:10px !important;
    padding:10px !important;
    border-radius:15px !important;
    gap:10px !important;
  }
  .home-page .home-fee-preview-card .compact-total span{
    font-size:11.5px !important;
  }
  .home-page .home-fee-preview-card .compact-total strong{
    font-size:28px !important;
  }
  .home-page .home-fee-preview-card .compact-fee-bottom .btn{
    min-height:38px !important;
    padding:8px 15px !important;
    font-size:12.5px !important;
  }
  .home-page .compact-fee-summary{
    margin-top:8px !important;
    font-size:11.5px !important;
    line-height:1.34 !important;
  }
  .home-page .fee-note{
    margin-top:7px !important;
    font-size:11px !important;
    line-height:1.34 !important;
  }
}

/* Keep the compact passport checker tidy and let the answer appear in a popup instead of expanding the homepage. */
.home-page .home-visa-checker-box-v296G .visa-result-area{
  display:none !important;
}

.vge-visa-popup-v298G[hidden]{
  display:none !important;
}
.vge-visa-popup-v298G{
  position:fixed;
  inset:0;
  z-index:9998;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(15,23,42,.56);
  backdrop-filter:blur(6px);
}
.vge-visa-popup-card-v298G{
  width:min(100%,880px);
  max-height:min(92vh,860px);
  overflow:auto;
  border-radius:28px;
  background:#fff;
  color:#0f172a;
  border:1px solid rgba(226,232,240,.95);
  box-shadow:0 34px 90px rgba(2,8,23,.32);
}
.vge-visa-popup-head-v298G{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:18px 22px 12px;
  border-bottom:1px solid #e2e8f0;
  background:linear-gradient(180deg,#f8fbff,#fff);
}
.vge-visa-popup-head-v298G span{
  display:block;
  color:#60a5fa;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  font-weight:950;
  margin-bottom:4px;
}
.vge-visa-popup-head-v298G strong{
  display:block;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.03em;
}
.vge-visa-popup-close-v298G{
  flex:0 0 auto;
  width:38px;
  height:38px;
  border:1px solid #cbd5e1;
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.vge-visa-popup-close-v298G:hover{
  background:#f1f5f9;
}
.vge-visa-popup-body-v298G{
  padding:24px;
}
.vge-visa-popup-body-v298G .visa-result-card{
  box-shadow:none;
  border-radius:22px;
}
.vge-visa-popup-body-v298G .visa-result-card h3{
  font-size:26px;
  line-height:1.16;
  margin:6px 0 10px;
  letter-spacing:-.035em;
}
.vge-visa-popup-body-v298G .visa-result-card p{
  color:#475569;
  line-height:1.52;
}
.vge-visa-popup-body-v298G .result-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:14px 0;
}
.vge-visa-popup-body-v298G .result-grid div{
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:11px;
  background:#f8fafc;
}
.vge-visa-popup-body-v298G .result-grid span{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  margin-bottom:4px;
}
.vge-visa-popup-body-v298G .result-grid strong{
  display:block;
  color:#0f172a;
  font-size:13.5px;
  line-height:1.35;
}
.vge-visa-popup-body-v298G .hero-actions{
  margin-top:14px;
}
@media(max-width:760px){
  .vge-visa-popup-v298G{
    padding:12px;
    place-items:end center;
  }
  .vge-visa-popup-card-v298G{
    max-height:90vh;
    border-radius:24px 24px 18px 18px;
  }
  .vge-visa-popup-head-v298G,
  .vge-visa-popup-body-v298G{
    padding:18px;
  }
  .vge-visa-popup-head-v298G strong{
    font-size:20px;
  }
  .vge-visa-popup-body-v298G .visa-result-card h3{
    font-size:23px;
  }
  .vge-visa-popup-body-v298G .result-grid{
    grid-template-columns:1fr;
  }
  .vge-visa-popup-body-v298G .hero-actions{
    display:grid;
    grid-template-columns:1fr;
  }
}
