/* ============================================================
   JV PAGE – Joint Venture Section Styles
   ============================================================ */

/* ===== JV HERO SPECIFIC ===== */
.jv-hero .mobile-banner {
    display: none;
}

/* ===== MOBILE BANNER FIX =====
   style.css globally injects homepage images via:
     .hero .slide:nth-child(1) .hero-banner { content: url("Homepage Banners Mobile 1.jpg") }
   This overrides ALL .hero sections including JV — we cancel it here,
   scoped strictly to .jv-hero so no other page is affected.
*/
@media (max-width: 768px) {
    .jv-hero .slide .hero-banner {
        content: normal; /* Reset: let the <img src> in jv.html load the correct JV image */
    }
}

/* ===== INTRO PARAGRAPH SECTION (REMOVED — content moved into banner overlay) ===== */
/* .jv-intro-section styles are no longer used */

/* ===== BANNER TEXT OVERLAY ===== */
/* Wraps the paragraph, floated on top of the handshake banner image */
.jv-banner-text-overlay {
    position: absolute;
    top: 7%;                /* Sits in the upper white region of the banner */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;   /* Let clicks pass through to image below */
}

.jv-banner-text {
    max-width: 860px;
    text-align: center;
    padding: 0 30px;
    pointer-events: auto;
}

.jv-banner-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    line-height: 1.95;
    color: #333;
    font-weight: 500;
    margin: 0;
}


/* ===== HANDSHAKE SECTION ===== */
.jv-handshake-section {
    width: 100%;
    background: #ffffff;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 5;
}

.jv-main-banner {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    margin: 0;
    background: #fff;
    position: relative; /* Required for absolute overlay child */
}


.jv-main-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.jv-main-banner .mobile-handshake {
    display: none;
}

/* ===== JOIN US SECTION ===== */
/* This section was removed in jv.html by user, but keeping styles if it returns */
.jv-join-us {
    padding: 60px 20px 100px;
    text-align: center;
    background: #ffffff;
}

.jv-join-us h2 {
    font-size: 54px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 30px;
    margin: 0;
}

.jv-join-us h2 .benton-font {
    background: linear-gradient(to right, #b48c36 0%, #ebd197 50%, #b48c36 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-size: 1.35em;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

@media (max-width: 768px) {
  /* MOBILE HERO */
  .jv-hero .desktop-banner {
    display: none !important;
  }
  .jv-hero .mobile-banner {
    display: block !important;
    width: 100%;
    height: auto !important;
  }

  /* MOBILE: disable overlay, show text as a stacked block above banner */
  .jv-banner-text-overlay {
    position: static;
    transform: none;
    width: 100%;
    display: block;
    padding: 30px 20px 20px;
    background: #ffffff;
    border-top: 3px solid #b48c36;
    pointer-events: auto;
  }

  .jv-banner-text {
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .jv-banner-text p {
    font-size: 14px;
    line-height: 1.7;
    width: 95%;
    margin: 0 auto;
  }

  /* Reset line-height so the overlay block stacks correctly on mobile */
  .jv-main-banner {
    line-height: normal;
    display: flex;
    flex-direction: column;
  }

  /* Stack order: text block on top, then banner image below */
  .jv-banner-text-overlay {
    order: 1;
  }

  .jv-main-banner .mobile-handshake {
    order: 2;
  }

  .jv-join-us {
    padding: 30px 20px 60px;
  }

  .jv-join-us h2 {
    font-size: 28px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .jv-join-us h2 .benton-font {
    font-size: 1.4em;
    width: 100%;
    margin-bottom: -10px;
  }

  /* MOBILE HANDSHAKE */
  .jv-main-banner .desktop-handshake {
    display: none !important;
  }
  
  .jv-main-banner .mobile-handshake {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}