/* Visionary Publishers — Header (scoped .vp-*) */
.vp-header,
.vp-header * {
  box-sizing: border-box;
}
.vp-header {
  font-family: Inter, sans-serif;
  padding: 5px 0;
  background: #fff;
  position: relative;
  z-index: 1000;
  width: 100%;
}
/* Escape Elementor/theme content-width wrappers */
.elementor-widget-shortcode .vp-header,
.elementor-element .vp-header {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* Match Bootstrap 5 .container (main PHP site) */
.vp-header__inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 576px) {
  .vp-header__inner { max-width: 540px; }
}
@media (min-width: 768px) {
  .vp-header__inner { max-width: 720px; }
}
@media (min-width: 992px) {
  .vp-header__inner { max-width: 960px; }
}
@media (min-width: 1200px) {
  .vp-header__inner { max-width: 1140px; }
}
@media (min-width: 1400px) {
  .vp-header__inner { max-width: 1320px; }
}
.vp-header__brand {
  display: block;
  width: 140px;
  flex-shrink: 0;
  text-decoration: none;
}
.vp-header__brand img {
  width: 100%;
  height: auto;
  display: block;
}
.vp-header__toggler {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  padding: 10px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.vp-header__toggler span {
  display: block;
  height: 2px;
  background: #111;
  border-radius: 2px;
}
.vp-header__nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  gap: 20px;
}
.vp-header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}
.vp-header__menu > li {
  position: relative;
  list-style: none;
}
.vp-header__link,
.vp-header__dropdown-btn {
  color: #000 !important;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 15px;
  text-decoration: none !important;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}
.vp-header__link.is-active,
.vp-header__link:hover,
.vp-header__dropdown-btn:hover {
  color: #d0202a !important;
}
.vp-header__dropdown-btn i {
  font-size: 11px;
  color: #d0202a;
}
.vp-header__dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  left: 0;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 1100;
}
.vp-header__item--dropdown:hover .vp-header__dropdown,
.vp-header__item--dropdown.is-open .vp-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.vp-header__dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #333 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  border-radius: 8px;
  transition: 0.2s;
}
.vp-header__dropdown a:hover {
  background: #2e3079;
  color: #fff !important;
}
.vp-header__actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-shrink: 0;
}
.vp-header__btn {
  background: #d0202a;
  border: 1px solid #012464;
  color: #fff !important;
  padding: 13px 32px;
  text-decoration: none !important;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
  transition: 0.2s;
}
.vp-header__btn--dark {
  background: #012464;
  border-color: #012464;
}
.vp-header__btn--red {
  background: #d0202a;
}
.vp-header__btn:hover {
  opacity: 0.92;
  color: #fff !important;
}

/* Modal — matches main site Bootstrap popup (form-main + popup-img overlap) */
.vp-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}
.vp-modal.is-open {
  display: flex;
}
.vp-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1000px;
  overflow: visible;
}
.vp-modal__close {
  position: absolute;
  right: 30px;
  top: 20px;
  z-index: 5;
  background: #fff;
  color: #dd1524;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 20px;
  padding: 0 !important;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.vp-modal__body {
  position: relative;
  background-image: url("https://visionarypublishers.com/assets/images/popupbg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 50px 50px 10px;
  border: 3px solid #000;
  border-radius: 60px;
  overflow: visible;
}
.vp-modal__logo {
  text-align: center;
}
.vp-modal__logo img {
  width: 170px;
  max-width: 100%;
  height: auto;
  display: inline-block;
}
/* Bootstrap-like row: col-lg-10 + col-lg-2 */
.vp-modal__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 0;
}
.vp-modal__form-wrap {
  width: 83.333333%;
  background: #000;
  border-radius: 40px;
  text-align: center;
  padding: 50px 250px 40px 30px;
  margin-top: 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.vp-modal__form-wrap h2 {
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  margin: 0 0 10px;
  font-family: Inter, sans-serif;
}
.vp-modal__form-wrap h2 span {
  color: #dd1524;
}
.vp-modal__form label {
  display: block;
  width: 100%;
  margin: 0;
}
.vp-modal__form input,
.vp-modal__form textarea {
  width: 100%;
  background: #000 !important;
  color: #fff !important;
  border: 0;
  border-bottom: 1px solid #fff !important;
  padding: 8px;
  margin: 9px 0 !important;
  font-weight: 500;
  font-family: Inter, sans-serif;
  outline: none;
  border-radius: 0;
  box-shadow: none;
}
.vp-modal__form textarea {
  margin: 10px 0 !important;
  resize: vertical;
}
.vp-modal__form input::placeholder,
.vp-modal__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
  opacity: 1;
}
.vp-modal__submit {
  text-align: center;
  margin-top: 10px;
}
.vp-modal__btn {
  background: #d0202a;
  border: 1px solid #012464;
  color: #fff;
  padding: 13px 32px;
  text-decoration: none;
  border-radius: 100px;
  font-size: 14px;
  cursor: pointer;
  font-family: Inter, sans-serif;
}
.vp-modal__btn:hover {
  color: #fff;
}
.vp-modal__media {
  width: 16.666667%;
  position: relative;
  box-sizing: border-box;
}
.vp-modal__girl {
    position: relative;
    display: block;
    margin-left: -301px;
    width: 330%;
    max-width: 330%;
    margin-bottom: -10px;
    margin-top: 8px;
    z-index: 1;
    height: auto;
}

@media (max-width: 1112px) {
  .vp-header__link,
  .vp-header__dropdown-btn {
    font-size: 14px;
    padding: 10px 10px;
  }
  .vp-header__btn {
    padding: 14px 23px;
    font-size: 12px;
  }
}
@media (max-width: 991px) {
  .vp-header__toggler {
    display: flex;
  }
  .vp-header__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    gap: 12px;
  }
  .vp-header__nav.is-open {
    display: flex;
  }
  .vp-header__menu {
    flex-direction: column;
    align-items: stretch;
  }
  .vp-header__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 10px;
  }
  .vp-header__item--dropdown.is-open .vp-header__dropdown {
    display: block;
  }
  .vp-header__actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .vp-modal__dialog {
    max-width: 100%;
  }
  .vp-modal__body {
    border-radius: 28px;
    padding: 30px 20px 10px;
  }
  .vp-modal__close {
    right: 16px;
    top: 12px;
  }
  .vp-modal__grid {
    flex-direction: column;
  }
  .vp-modal__form-wrap {
    width: 100%;
    padding: 40px 24px 30px;
    margin-top: 24px;
  }
  .vp-modal__form-wrap h2 {
    font-size: 26px;
  }
  .vp-modal__media {
    display: none;
  }
}
