/* Colin Sephton banner on Blog, Blog Posts and Pages */

body.blog .site-header,
body.single-post .site-header,
body.page:not(.home) .site-header {
    position: relative;
    padding-bottom: 20vw;
}

body.blog .site-header::before,
body.single-post .site-header::before,
body.page:not(.home) .site-header::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 5 / 1;
    background-image: url("https://sephtonart.com/wp-content/uploads/2026/05/cropped-IMG_7747.jpeg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Blog page heading */

body.blog .site-main::before {
    content: "Read the Latest Blog Posts";
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin: 0 0 30px;
    padding: 0;
}

@media (max-width: 768px) {
    body.blog .site-main::before {
        font-size: 28px;
    }
}

/* Blog page heading */

body.blog .site-main::before {
    content: "Read the Latest Blog Posts";
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin: 0 0 30px;
    padding: 0;
}

@media (max-width: 768px) {
    body.blog .site-main::before {
        font-size: 28px;
    }
}

/* Fixed desktop hamburger bar */

@media screen and (min-width: 1024px) {

    header#masthead > #primary-site-navigation {
        display: none !important;
    }

    header#masthead > #primary-site-navigation .top-nav-wrapper {
        display: none !important;
    }

    .super-menu.menu-offconvas-mobile-only {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 6000000;
        background: var(--superb-pixels-secondary);
    }

    .super-menu .header-content-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .super-menu a.toggle-mobile-menu {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 40px;
        padding: 10px 0;
        margin: 0;
        position: relative;
        flex-shrink: 0;
    }

    .super-menu .navigation-icon {
        position: static;
        display: inline-block;
        transform: none;
    }

    .super-menu .mob-logo-wrap {
        display: none;
    }
}

/* Desktop dropdown menu */

@media screen and (min-width: 1024px) {

    #smobile-menu {
        position: fixed !important;
        top: 60px !important;
        bottom: auto !important;
        left: 0 !important;
        width: 360px !important;
        max-width: 85vw !important;
        height: auto !important;
        max-height: calc(100vh - 60px) !important;
        box-sizing: border-box;
        overflow-x: hidden;
        overflow-y: auto;
        background: #ffffff;
        z-index: 5999998;
        transform: translateX(-110%) !important;
        display: block !important;
        transition: transform 0.3s ease;
    }

    #smobile-menu.show {
        left: 0 !important;
        transform: translateX(0) !important;
    }

    #smobile-menu.show .main-navigation {
        display: block !important;
        width: 100%;
        float: none;
        margin: 0;
    }

    #smobile-menu .content-wrap,
    #smobile-menu .primary-menu ul {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    #smobile-menu.show .main-navigation ul li {
        display: block;
        width: 100%;
    }

    #smobile-menu.show .main-navigation ul li a {
        display: block;
        padding: 12px 20px;
        text-align: left;
    }

    #smobile-menu.show .main-navigation ul ul.sub-menu,
    #smobile-menu.show .main-navigation ul ul.children {
        display: none;
    }

    #smobile-menu.show .main-navigation ul ul.sub-menu.active,
    #smobile-menu.show .main-navigation ul ul.children.active {
        display: block;
    }

    #mobile-menu-overlay {
        display: none !important;
    }
}

/* Desktop MENU label */

@media screen and (min-width: 1024px) {

    .super-menu .header-content-container::after {
        content: "MENU";
        display: inline-block;
        margin-left: 12px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1px;
        color: #333333;
        text-decoration: none;
        pointer-events: none;
        align-self: center;
        transform: translateY(-3px);
    }
}

/* Fixed mobile and tablet hamburger strip - 32px high */

@media screen and (max-width: 1023px) {

    .super-menu.menu-offconvas-mobile-only {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        z-index: 6000000 !important;
        background: var(--superb-pixels-secondary);
    }

    .super-menu .header-content-container {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
    }

    .super-menu a.toggle-mobile-menu {
        float: none !important;
        position: relative !important;
        left: -15px !important;
        right: auto !important;
        margin: 0 !important;
        width: 30px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .super-menu a.toggle-mobile-menu .navigation-icon {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
    }

    .super-menu .header-content-container::after {
        content: "MENU";
        display: inline-block;
        position: relative;
        margin-left: -3px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1px;
        color: #333333;
        pointer-events: none;
        align-self: center;
        transform: translateY(-3px);
    }
}

/* Remove sidebar from individual blog posts */

body.single-post #secondary {
    display: none !important;
}

body.single-post #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* Banner spacing on tablet */

@media screen and (max-width: 992px) {
    .bottom-header-wrapper {
        margin-top: 0 !important;
    }
}
/* Banner spacing on tablet - all pages and posts */

/* Tablet banner positioning - all pages and posts */

@media screen and (min-width: 601px) and (max-width: 992px) {
    body.blog .site-header,
    body.single-post .site-header,
    body.page .site-header {
        margin-top: 27px !important;
    }
}
/* Tablet landscape - extra clearance for fixed menu strip */

@media screen and (min-width: 601px) and (max-width: 1366px) and (orientation: landscape) {
    body.blog .site-header,
    body.single-post .site-header,
    body.page .site-header {
        margin-top: 32px !important;
    }
}
/* Move header down below fixed menu strip on mobile pages and posts */

@media screen and (max-width: 600px) {
    body.blog .site-header,
    body.single-post .site-header,
    body.page:not(.home) .site-header {
        margin-top: 32px !important;
    }
}
/* Fine-tune homepage banner position on mobile */

@media screen and (max-width: 600px) {
    body.home .bottom-header-wrapper {
        margin-top: 20px !important;
    }
}

/* Interactive trilogy book image */

.book-image-container {
  position: relative;
  width: 798px;
  max-width: 100%;
  line-height: 0;
}

.book-composite-image {
  display: block;
  width: 100%;
  height: auto;
}

.book-hotspot {
  position: absolute;
  display: block;
  cursor: pointer;
  z-index: 2;
  text-decoration: none;
}

.book-hotspot:hover {
  background: rgba(255,255,255,0.10);
  outline: 2px solid rgba(255,255,255,0.7);
}

/* Timeslayers */
.book-hotspot.timeslayers {
  left: 25.5%;
  top: 34%;
  width: 27%;
  height: 20%;
}

/* Shadowslayers */
.book-hotspot.shadowslayers {
  left: 60%;
  top: 52%;
  width: 27%;
  height: 20%;
}

/* Soulslayers */
.book-hotspot.soulslayers {
  left: 33.5%;
  top: 75%;
  width: 27%;
  height: 22%;
}

/* Hide hotspot labels */
.book-hotspot span {
  display: none !important;
}