/* Investor page — contact-style hero band + two columns: content left, image right.
   Mirrors template-contact.php's body layout and hero, with the contact form replaced
   by an image (set via the "Side Image" meta box). Falls back to a single full-width
   column when no image is set. Hero styling comes from global-cards.css
   (single-post-hero-section). */

.investor-main {
    background-color: #fff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Mobile Top Nav - Hidden on desktop */
.investor-mobile-nav {
    display: none;
}

.investor-mobile-menu-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
}

.investor-mobile-menu-btn:focus {
    outline: none;
    border: none;
}

.investor-mobile-menu-btn .hamburger-icon {
    display: block;
}

.investor-mobile-menu-btn .close-icon {
    display: none;
}

.investor-mobile-menu-btn.active .hamburger-icon {
    display: none;
}

.investor-mobile-menu-btn.active .close-icon {
    display: block;
}

/* Content + image columns (mirrors .contact-layout; single column when no image) */
.investor-layout {
    padding-bottom: 60px;
}

.investor-layout.has-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Right column image (in place of the contact form) — sticky on scroll,
   mirrors .single-post-featured-image on blog posts */
.investor-image {
    position: sticky;
    top: 40px;
}

.investor-image img {
    width: 100%;
    height: auto;
    display: block;
}

.investor-content {
    color: #455A5B;
    font-size: 1rem;
    line-height: 1.6;
}

.investor-content > *:first-child {
    margin-top: 0;
}

.investor-content h1,
.investor-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #173132;
    line-height: 1.3;
    margin: 2em 0 0.8em;
}

.investor-content h3 {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #173132;
    margin: 1.8em 0 0.6em;
}

.investor-content p {
    color: #455A5B;
    margin: 0 0 1.5em;
    max-width: 700px;
}

.investor-content a {
    color: #CC7E3D;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.investor-content a:hover {
    border-bottom-color: #CC7E3D;
}

.investor-content img {
    max-width: 100%;
    height: auto;
}

.investor-content ul,
.investor-content ol {
    color: #455A5B;
    margin: 0 0 1.5em;
    padding-left: 1.2em;
}

.investor-content li {
    margin-bottom: 0.5em;
}

/* Desktop: sticky sidebar + grid (mirrors the other content templates) */
@media (min-width: 901px) {
    body.page-template-template-investor .sidebar-nav {
        top: 16px;
        position: sticky;
        padding: 0;
        left: 0;
    }

    body.page-template-template-investor .site-wrapper {
        display: grid;
        gap: 16px;
        grid-template-columns: max-content 1fr;
    }
}

/* Mobile */
@media (max-width: 900px) {

    /* Hide default header menu toggle; use the in-template mobile nav instead */
    body.page-template-template-investor .mobile-menu-toggle:not(.investor-mobile-menu-btn) {
        display: none;
    }

    body.page-template-template-investor .site-wrapper {
        padding: 0 !important;
    }

    body.page-template-template-investor .main-content {
        padding: 0 16px;
    }

    .investor-layout {
        padding-bottom: 40px;
    }

    /* Stack columns on mobile (content first, image below) */
    .investor-layout.has-image {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .investor-image {
        position: static;
    }

    /* Mobile Top Nav */
    .investor-mobile-nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 24px 48px;
        justify-content: space-between;
        align-items: center;
        z-index: 1000000;
        background: transparent;
        pointer-events: none;
    }

    .investor-mobile-nav > * {
        pointer-events: auto;
    }

    .investor-mobile-logo {
        display: flex;
        align-items: center;
    }

    .investor-mobile-logo a {
        display: block;
        line-height: 0;
    }

    .investor-mobile-logo img,
    .investor-mobile-logo svg {
        height: 32px;
        width: auto;
    }

    .investor-mobile-menu-btn .hamburger-icon {
        display: block;
        width: 40px;
        height: 40px;
    }

    .investor-mobile-menu-btn .close-icon {
        display: none;
        width: 40px;
        height: 40px;
    }

    .investor-mobile-menu-btn.active .hamburger-icon {
        display: none !important;
    }

    .investor-mobile-menu-btn.active .close-icon {
        display: block !important;
    }
}
