.apis360-editorial-header {
    width: 100%;
    border-top: 1px solid #ece7df;
    border-bottom: 1px solid #ded7cc;
    background: #fff;
    color: #232323;
    font-family: Arial, Helvetica, sans-serif;
}

.apis360-editorial-header__inner {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.apis360-editorial-header__brand {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #242424 !important;
    text-align: center;
    text-decoration: none !important;
}

.apis360-editorial-header__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(35px, 5vw, 66px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.045em;
}

.apis360-editorial-header__name span {
    color: #d97706;
}

.apis360-editorial-header__claim {
    margin-top: 9px;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.apis360-editorial-header__nav {
    border-top: 1px solid #ece7df;
    overflow-x: auto;
    scrollbar-width: thin;
}

.apis360-editorial-menu {
    display: flex;
    width: max-content;
    min-width: 100%;
    min-height: 47px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 2px;
    list-style: none;
}

.apis360-editorial-menu > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.apis360-editorial-menu > li > a {
    display: block;
    padding: 15px 10px;
    color: #282828;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .025em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.apis360-editorial-menu > li > a:hover,
.apis360-editorial-menu > li.current-menu-item > a,
.apis360-editorial-menu > li.current-post-ancestor > a {
    color: #d97706;
}

/*
 * A public Directorist author profile is an APIS360 marketplace surface.
 * Keep the already approved APIS360 header above and suppress only the DBI
 * shop shell that the shared Riode installation would otherwise add below it.
 */
body.apis360-marketplace-profile > .page-wrapper > #header,
body.apis360-marketplace-profile > .page-wrapper > .breadcrumb_wrapper,
body.apis360-marketplace-profile > .page-wrapper > #footer,
body.apis360-marketplace-profile > .sticky-content-wrapper,
body.apis360-marketplace-profile .mobile-icon-bar.sticky-content {
    display: none !important;
}

@media (max-width: 900px) {
    .apis360-editorial-header__inner {
        width: min(100% - 20px, 1220px);
    }

    .apis360-editorial-header__brand {
        min-height: 90px;
    }

    .apis360-editorial-header__nav {
        margin-right: -10px;
        margin-left: -10px;
    }

    .apis360-editorial-menu {
        justify-content: flex-start;
        padding: 0 8px;
    }
}

@media (max-width: 480px) {
    .apis360-editorial-header__brand {
        min-height: 78px;
    }

    .apis360-editorial-header__name {
        font-size: 38px;
    }

    .apis360-editorial-header__claim {
        font-size: 9px;
        letter-spacing: .12em;
    }
}
