
/* Viewpoint Support Hub */
.vp-support-hub{ width:100%; margin:0 auto; }

/* Cards */
.vp-card-grid{
  max-width:1100px;
  margin:0 auto;
  padding:30px 16px 10px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:22px;
}

.vp-card{
  background:#fff;
  border-radius:18px;
  padding:28px 26px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
  text-align:center;
  border:1px solid rgba(48,87,164,.08);

  display:flex;
  flex-direction:column;
  align-items:center;
}

.vp-card-title{
  font-size:22px;
  font-weight:800;
  color:#1f2a44;
  margin-bottom:8px;
}

.vp-card-desc{
  color:#5b667a;
  font-size:15px;
  line-height:1.4;
  margin-bottom:18px;
}

.vp-card-icon{
  width:44px;height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(48,87,164,.12);
  color:#3057a4;
  margin:0 auto 14px;
}

/* Buttons (all identical + aligned) */
.vp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 16px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  border:0;

  margin-top:auto;
  width:200px; max-width:100%;
  min-height:44px; font-size:14px;
}

.vp-btn:hover{ transform:translateY(-2px); box-shadow:0 10px 18px rgba(0,0,0,.08); }

.vp-btn-primary{
  background:#3057a4;
  color:#fff;
}

/* Contact section */
.vp-contact-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:30px 16px 10px;
}

.vp-contact-title{
  font-size:20px;
  font-weight:800;
  color:#1f2a44;
  margin:10px 0 16px;
  text-align:left;
}

.vp-contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:14px;
}

.vp-contact-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:#ffffff;
  border:1px solid rgba(48,87,164,.10);
  border-radius:14px;
  padding:16px;
  text-decoration:none;
  color:#1f2a44;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.vp-contact-item:hover{
  transform:translateY(-2px);
  background:#f6f8fd;
  box-shadow:0 10px 18px rgba(0,0,0,.06);
}

.vp-contact-icon{
  width:40px;height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(48,87,164,.12);
  color:#3057a4;
  flex:0 0 auto;
}

.vp-icon-svg{ width:20px; height:20px; display:block; }

.vp-contact-head{ font-weight:800; margin-bottom:2px; }
.vp-contact-sub{ font-size:14px; color:#51607a; line-height:1.3; }

/* Modal */
.vp-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:99999;
}
.vp-modal[aria-hidden="false"]{ display:block; }

.vp-modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(10,18,35,.55);
  backdrop-filter: blur(2px);
}

.vp-modal-panel{
  position:relative;
  width:min(980px, calc(100% - 24px));
  max-height:calc(100% - 24px);
  margin:12px auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 24px 60px rgba(0,0,0,.30);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.vp-modal-header{
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.vp-modal-title{
  font-weight:900;
  font-size:16px;
  color:#1f2a44;
}

.vp-modal-close{
  border:0;
  background:transparent;
  font-size:18px;
  cursor:pointer;
  padding:8px 10px;
  border-radius:10px;
}

.vp-modal-close:hover{ background:rgba(48,87,164,.08); }

.vp-modal-body{
  padding:0;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}

.vp-modal-iframe{
  width:100%;
  height:78vh;
  border:0;
  display:block;
}

.vp-embed-placeholder{
  padding:24px;
  text-align:center;
  color:#5b667a;
}

@media (max-width:480px){
  .vp-card{ padding:22px 18px; }
  .vp-contact-title{ text-align:center; }
}

.vp-support-hub .vp-btn{ display:inline-flex !important; }

/* HARD lock CTA width to prevent theme overrides */
.vp-support-hub a.vp-btn,
.vp-support-hub button.vp-btn{
  width:200px !important;
  max-width:200px !important;
  min-width:200px !important;
  box-sizing:border-box;
}
