/* Site fixes: Login and Account pages (Ultimate Member, plain WP
   pages, not Elementor). The floating transparent header overlaps
   the theme page-header by 120px and the white nav text is
   invisible on the white page, so the "Login" title collides with
   the header and is cut off. Give the page-header a black backdrop
   with a white title and enough top padding to clear the header:
   the header then reads white-on-black and the title sits fully
   below it. */

body.page-id-301 .page-header,
body.page-id-304 .page-header {
    background: #000000;
    padding: 160px 20px 50px;
    margin: 0;
    text-align: center;
    /* Full-width breakout: the header is transparent and its light
       logos sit over this block, so the black must span the whole
       viewport, not just the centred content column, or the AK logo
       straddles the black/white edge and the nav pill shows a white
       tail. html/body already have overflow-x: clip. */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

body.page-id-301 .page-header .entry-title,
body.page-id-304 .page-header .entry-title {
    color: #ffffff;
    font-family: 'Playfair Display', 'Bodoni Moda', Georgia, serif;
    font-size: 52px;
    line-height: 1.1;
    margin: 0;
}

@media (max-width: 600px) {
    body.page-id-301 .page-header,
    body.page-id-304 .page-header {
        padding: 140px 16px 36px;
    }

    body.page-id-301 .page-header .entry-title,
    body.page-id-304 .page-header .entry-title {
        font-size: 38px;
    }
}

/* Header auth button (replaces the static Elementor "Log-In /
   Sign-Up" button). Matches the original: black pill, white text,
   Plus Jakarta Sans 11px 600. */
.ak-cp-auth-btn {
    display: inline-block;
    background-color: #000000;
    border: 1px solid #000000;
    border-radius: 50px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 1.3em;
    padding: 15px;
    text-decoration: none;
    white-space: nowrap;
}

/* Kit link rule (.elementor-kit-13 a) is (0,1,1) and paints the
   label dark on the black pill, so the color needs (0,2,0) or
   higher, or the text is invisible until hover. */
.elementor-kit-13 a.ak-cp-auth-btn,
a.ak-cp-auth-btn {
    color: #ffffff;
}

.ak-cp-auth-btn:hover,
.ak-cp-auth-btn:focus {
    background-color: #000000;
    color: #ffffff;
}

/* Login / Account pages: the nav pill container (614fdfc) is
   transparent and its trailing end extends past the black
   page-header block onto white, reading as a separate empty
   white oval. Give it a black background on these pages so the
   whole pill reads black. */
body.page-id-301 .elementor-1366 .elementor-element.elementor-element-614fdfc,
body.page-id-304 .elementor-1366 .elementor-element.elementor-element-614fdfc {
    background-color: #000000;
}
