/* Prime Mark Legal — brand overrides */

/* All buttons turn brand gold on hover/focus */
.button-round:hover,
.button-round:focus,
.button-round:active,
.global-btn:hover,
.global-btn:focus,
.header-btn a:hover,
.header-btn .button-round:hover,
.form-submit-btn:hover,
.form-submit-btn:focus,
.contactformsubmit:hover,
.leadformsubmit:hover,
.ratingLeadForm:hover,
.read-more:hover,
.readMore:hover,
.btn:hover,
.btn:focus,
button[type="submit"]:hover,
input[type="submit"]:hover {
    background-color: #b8924e !important;
    border-color: #b8924e !important;
    color: #fff !important;
}

/* ── Equal-height pricing cards with scrollable feature list ── */
.pricing-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-item .pricing-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 22rem;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #b8924e rgba(27, 39, 64, .08);
}
.pricing-item .pricing-body::-webkit-scrollbar {
    width: 7px;
}
.pricing-item .pricing-body::-webkit-scrollbar-track {
    background: rgba(27, 39, 64, .08);
    border-radius: 6px;
}
.pricing-item .pricing-body::-webkit-scrollbar-thumb {
    background: #b8924e;
    border-radius: 6px;
}
.pricing-item .pricing-footer {
    margin-top: auto;
}

/* ── Circular background behind the logo-icon badge (.aboutImg) ── */
.aboutImg span {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(184, 146, 78, .45);
    box-shadow: 0 10px 26px rgba(27, 39, 64, .18);
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 4rem;
    bottom: 1.5rem;
    margin: 0;
    z-index: 4;
    overflow: hidden;
}
.aboutImg > img {
    position: relative;
    z-index: 1;
}
.aboutImg span img {
    width: 78px !important;
    height: auto;
}

@media (max-width: 767px) {
    .aboutImg span { width: 100px; height: 100px; left: 3.25rem; bottom: 1rem; }
    .aboutImg span img { width: 60px !important; }
}

/* ── Fix: Bootstrap adds data-bs-popper="static" on click, forcing left:0 and
   pushing hover-style dropdowns to the far left. Restore the under-toggle
   position (the mega ".large" menu keeps its full-width left:0). ── */
@media (min-width: 1200px) {
    .bottom-header .navbar-nav .dropdown-menu[data-bs-popper]:not(.large) {
        left: auto !important;
        right: auto !important;
    }
}

/* ── Mobile header: solid white bar with dark menu icon ── */
@media (max-width: 1199.98px) {
    #masthead .bottom-header {
        background: #fff !important;
        box-shadow: 0 2px 12px rgba(27, 39, 64, .10);
    }
    #masthead .navbar-toggler .fa-bars {
        color: #1b2740 !important;
    }
    #masthead .navbar-collapse {
        background: #fff;
        border-top: 1px solid rgba(27, 39, 64, .08);
        padding: 8px 12px;
    }
    #masthead .navbar-nav .nav-link {
        color: #1b2740 !important;
    }
}
