/* ==========================================================================
   Miss Parliament Nigeria 2026 — contestant profile (white theme), v2
   Loaded only on e15_contestant_page by single-e15_contestant_page.php
   Upload to: /wp-content/themes/HelloChildTheme/mp-contestant.css

   Brand colours only (blue, red, green on white). Change the tokens just
   below and the whole page follows.

   Every declaration carries !important because the e15 plugin's own
   stylesheet overrides normal rules. Once that plugin CSS is cleaned up
   the !important flags can be dropped.
   ========================================================================== */

.mp-contestant-page {
  --mp-blue: #12348f;
  --mp-blue-deep: #0b2268;
  --mp-red: #d8232a;
  --mp-red-deep: #b51b21;
  --mp-green: #0b7a3e;
  --mp-ink: #0f1b3d;
  --mp-text: #2a3556;
  --mp-muted: #6a7494;
  --mp-line: #e6eaf4;
  --mp-soft: #f5f7fc;
  --mp-radius: 20px;
  --mp-shadow: 0 18px 40px -24px rgba(15, 27, 61, 0.3);
  --mp-ribbon: linear-gradient(
    90deg,
    #12348f 0 34%,
    #d8232a 34% 67%,
    #0b7a3e 67% 100%
  );

  background: #fff !important;
  padding-bottom: 0px !important;
}

html:has(.mp-contestant-page) {
  scroll-behavior: smooth !important;
}

/* Thin blue / red / green ribbon at the top of the page */
.mp-contestant-page::before {
  content: "" !important;
  display: block !important;
  height: 4px !important;
  background: var(--mp-ribbon) !important;
}

/* ---------- Base: Inter for all body text ---------- */
.mp-contestant-page .e15v-full-profile {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 48px 0px 0 !important;
  
}

.e15v-full-profile .e15v-profile-layout-showcase{
    padding:0px !important;
}

.mp-contestant-page .e15v-full-profile,
.mp-contestant-page .e15v-full-profile * {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

/* ---------- Sidebar: blue, white text, red active item ---------- */
.mp-contestant-page .e15v-full-profile .e15v-profile-nav {
  background: linear-gradient(180deg, var(--mp-blue) 0%, var(--mp-blue-deep) 100%) !important;
  border: 0 !important;
  border-radius: var(--mp-radius) !important;
  padding: 16px 12px 12px !important;
  box-shadow: 0 24px 44px -24px rgba(11, 34, 104, 0.7) !important;
  position: sticky !important;
  top: 24px !important;
  align-self: start !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-nav::before {
  content: "ON THIS PAGE" !important;
  display: block !important;
  padding: 2px 14px 14px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-nav a {
  display: block !important;
  margin: 0 0 4px !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-nav a:hover,
.mp-contestant-page .e15v-full-profile .e15v-profile-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  outline: none !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-nav a.is-active,
.mp-contestant-page .e15v-full-profile .e15v-profile-nav a.is-active:hover {
  background: var(--mp-red) !important;
  color: #fff !important;
  box-shadow: 0 12px 20px -12px rgba(216, 35, 42, 0.9) !important;
}

/* ---------- Hero card ---------- */
.mp-contestant-page .e15v-full-profile .e15v-showcase-top {
  position: relative !important;
  overflow: hidden !important;
  padding: 28px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5ff 100%) !important;
  border: 1px solid var(--mp-line) !important;
  border-radius: 24px !important;
  box-shadow: var(--mp-shadow) !important;
}

/* Faint blue / red / green rings, echoing the swoosh on the posters */
.mp-contestant-page .e15v-full-profile .e15v-showcase-top::after {
  content: "" !important;
  position: absolute !important;
  right: -130px !important;
  top: -130px !important;
  width: 300px !important;
  height: 300px !important;
  border-radius: 50% !important;
  border: 16px solid rgba(18, 52, 143, 0.06) !important;
  box-shadow: 0 0 0 16px rgba(216, 35, 42, 0.05),
    0 0 0 32px rgba(11, 122, 62, 0.05) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-main,
.mp-contestant-page .e15v-full-profile .e15v-showcase-rail {
  position: relative !important;
  z-index: 1 !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-photo img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: var(--mp-radius) !important;
  border: 4px solid #fff !important;
  box-shadow: 0 22px 40px -22px rgba(15, 27, 61, 0.5) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--mp-red) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-eyebrow::before {
  content: "" !important;
  width: 28px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: var(--mp-ribbon) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-identity h1 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 700 !important;
  font-size: clamp(30px, 4vw, 46px) !important;
  line-height: 1.08 !important;
  letter-spacing: 0.005em !important;
  text-transform: capitalize !important;
  color: var(--mp-blue-deep) !important;
  margin: 10px 0 18px !important;
}

/* Verified votes: a solid blue stat pill */
.mp-contestant-page .e15v-full-profile .e15v-showcase-votes-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 20px !important;
  background: linear-gradient(135deg, var(--mp-blue) 0%, var(--mp-blue-deep) 100%) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 28px -18px rgba(11, 34, 104, 0.8) !important;
  margin-bottom: -10px !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-votes-inline span {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-votes-inline strong {
  font-size: 30px !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums !important;
  color: #fff !important;
}

/* Photo highlights */
.mp-contestant-page .e15v-full-profile .e15v-showcase-highlights-heading {
  display: none !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 24px 0 12px !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-highlights-heading strong {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--mp-ink) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-highlights-heading a {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: var(--mp-red) !important;
  text-decoration: none !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-highlights-heading a:hover {
  text-decoration: underline !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-highlight-grid a {
  display: none !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-highlight-grid img {
  border-radius: 12px !important;
  object-fit: cover !important;
  transition: transform 0.35s ease !important;
}

.mp-contestant-page .e15v-full-profile .e15v-showcase-highlight-grid a:hover img {
  transform: scale(1.04) !important;
}

/* ---------- Right rail ---------- */
.mp-contestant-page .e15v-full-profile .e15v-rail-card {
  background: #fff !important;
  border: 1px solid var(--mp-line) !important;
  border-radius: var(--mp-radius) !important;
  padding: 22px !important;
  box-shadow: 0 14px 28px -22px rgba(15, 27, 61, 0.4) !important;
}

/* The "support" card is the call to action: solid blue with a red button */
.mp-contestant-page .e15v-full-profile .e15v-rail-support {
  background: linear-gradient(160deg, var(--mp-blue) 0%, var(--mp-blue-deep) 100%) !important;
  border: 0 !important;
  text-align: center !important;
  box-shadow: 0 24px 40px -24px rgba(11, 34, 104, 0.75) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-label {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--mp-blue) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-support .e15v-rail-label {
  color: rgba(255, 255, 255, 0.78) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-support p {
  margin: 8px 0 16px !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-vote {
  display: block !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  background: var(--mp-red) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 14px 24px -12px rgba(216, 35, 42, 0.85) !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-vote:hover {
  background: var(--mp-red-deep) !important;
  transform: translateY(-1px) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-share {
  width: 100% !important;
  margin-top: 10px !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--mp-blue) !important;
  background: transparent !important;
  color: var(--mp-blue) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-support .e15v-rail-share {
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: #fff !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-support .e15v-rail-share:hover {
  background: #fff !important;
  color: var(--mp-blue) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-images img {
  border-radius: 10px !important;
  object-fit: cover !important;
}

.mp-contestant-page .e15v-full-profile .e15v-rail-link {
  display: inline-block !important;
  margin-top: 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: var(--mp-red) !important;
  text-decoration: none !important;
}

/* ---------- Content sections ---------- */
.mp-contestant-page .e15v-full-profile .e15v-profile-section {
  background: #fff !important;
  border: 1px solid var(--mp-line) !important;
  border-radius: var(--mp-radius) !important;
  padding: 34px !important;
  margin-bottom: 22px !important;
  box-shadow: 0 16px 32px -28px rgba(15, 27, 61, 0.45) !important;
  scroll-margin-top: 24px !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-section h2 {
  position: relative !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 27px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #0b2268 !important;
  margin: 0 0 26px !important;
  padding-bottom: 14px !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-section h2::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 64px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: var(--mp-ribbon) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-section p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: var(--mp-text) !important;
}

/* Empty sections stay quiet instead of shouting with a box */
.mp-contestant-page .e15v-full-profile .e15v-empty-section {
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  font-size: 15px !important;
  font-style: italic !important;
  color: var(--mp-muted) !important;
}

/* ---------- Gallery ---------- */
.mp-contestant-page .e15v-full-profile .e15v-profile-gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 14px !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-gallery a {
  display: block !important;
  overflow: hidden !important;
  border-radius: 14px !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-gallery img {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  transition: transform 0.4s ease !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-gallery a:hover img {
  transform: scale(1.04) !important;
}

/* ---------- Vote section: the finale, solid blue with red and green glows ---------- */
.mp-contestant-page .e15v-full-profile .e15v-profile-section[id^="e15v-vote-"] {
  background: radial-gradient(520px 260px at 100% 0%, rgba(216, 35, 42, 0.4), transparent 65%),
    radial-gradient(520px 260px at 0% 100%, rgba(11, 122, 62, 0.4), transparent 65%),
    linear-gradient(135deg, var(--mp-blue) 0%, var(--mp-blue-deep) 100%) !important;
  border: 0 !important;
  box-shadow: 0 34px 60px -36px rgba(11, 34, 104, 0.85) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-section[id^="e15v-vote-"] h2 {
  text-align: center !important;
  color: #fff !important;
}

.mp-contestant-page .e15v-full-profile .e15v-profile-section[id^="e15v-vote-"] h2::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
  /* white / red / green so the underline stays visible on the blue panel */
  background: linear-gradient(90deg, #ffffff 0 34%, #d8232a 34% 67%, #1fa75a 67% 100%) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-vote-form {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 30px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.55) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-kicker {
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--mp-red) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-vote-heading h4 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--mp-blue-deep) !important;
  margin: 6px 0 22px !important;
  text-transform: none !important;
}

.mp-contestant-page .e15v-full-profile .e15v-vote-form label {
  display: block !important;
  margin-bottom: 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--mp-muted) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-vote-form input[type="email"],
.mp-contestant-page .e15v-full-profile .e15v-vote-form input[type="number"] {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin-top: 8px !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  border: 1.5px solid #d7ddee !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--mp-ink) !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.mp-contestant-page .e15v-full-profile .e15v-vote-form input[type="email"]:focus,
.mp-contestant-page .e15v-full-profile .e15v-vote-form input[type="number"]:focus {
  outline: none !important;
  border-color: var(--mp-blue) !important;
  box-shadow: 0 0 0 4px rgba(18, 52, 143, 0.14) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-vote-form .e15v-price {
  margin: 0 0 18px !important;
  padding: 14px 16px !important;
  background: var(--mp-soft) !important;
  border: 1px solid var(--mp-line) !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  color: var(--mp-muted) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-total {
  display: block !important;
  margin-top: 4px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--mp-blue) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-button {
  display: block !important;
  width: 100% !important;
  height: 54px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--mp-red) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  cursor: pointer !important;
  box-shadow: 0 16px 26px -14px rgba(216, 35, 42, 0.8) !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

.mp-contestant-page .e15v-full-profile .e15v-button:hover {
  background: var(--mp-red-deep) !important;
  transform: translateY(-1px) !important;
}

.mp-contestant-page .e15v-full-profile .e15v-vote-form .e15v-message {
  min-height: 20px !important;
  margin: 12px 0 0 !important;
  font-size: 14px !important;
  color: var(--mp-text) !important;
}








/* ---------- Full-width profile: override the plugin's fixed-width box ---------- */
body .mp-contestant-page .e15v-full-profile.e15v-profile-layout-showcase {
  position: static !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 48px 30px 80px !important;
}

@media (max-width: 1300px) {
  body .mp-contestant-page .e15v-full-profile.e15v-profile-layout-showcase {
    padding: 48px 30px 0 !important;
  }
}

@media (max-width: 900px) {
  body .mp-contestant-page .e15v-full-profile.e15v-profile-layout-showcase {
    padding: 28px 20px 0 !important;
  }
}

/* ---------- Wider sidebar (desktop and laptop only) ---------- */
@media (min-width: 901px) {
  body .mp-contestant-page .e15v-full-profile.e15v-profile-layout-showcase {
    grid-template-columns: 260px minmax(0, 1fr) !important;
  }
}


/* ---------- Tablet and mobile ---------- */
@media (max-width: 900px) {
  .mp-contestant-page .e15v-full-profile {
    padding: 28px 20px 0 !important;
  }

  /* Sidebar becomes a swipeable row of blue chips */
  .mp-contestant-page .e15v-full-profile .e15v-profile-nav {
    position: static !important;
    display: flex !important;
    gap: 6px !important;
    overflow-x: auto !important;
    padding: 10px !important;
    margin-bottom: 20px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .mp-contestant-page .e15v-full-profile .e15v-profile-nav::before {
    display: none !important;
  }

  .mp-contestant-page .e15v-full-profile .e15v-profile-nav a {
    flex: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
    padding: 10px 14px !important;
  }

  .mp-contestant-page .e15v-full-profile .e15v-showcase-top {
    padding: 18px !important;
  }

  .mp-contestant-page .e15v-full-profile .e15v-profile-section {
    padding: 24px 18px !important;
  }

  .mp-contestant-page .e15v-full-profile .e15v-vote-form {
    padding: 22px 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.mp-contestant-page) {
    scroll-behavior: auto !important;
  }

  .mp-contestant-page * {
    transition: none !important;
  }
}

/* ==========================================================================
   OPTIONAL: hide the news ticker and the "Advertise with us" banner on
   contestant pages (the logo and main menu stay). Remove the comment
   markers around the block below to switch it on.

body.single-e15_contestant_page .elementor-element-203d82c,
body.single-e15_contestant_page .elementor-element-070f981,
body.single-e15_contestant_page .elementor-element-f16c528 {
  display: none !important;
}
   ========================================================================== */
