/**
 * Theme Name: Based
 * Theme URI: https://thriveweb.com.au
 * Author: Kurtis @ Thrive Digital
 * Author URI: https://thriveweb.com.au
 * Version: 1.0.0
 */


/*--------------------------------------------------------------
modern-normalize v3.0.1
--------------------------------------------------------------*/
*,::after,::before{box-sizing:border-box}html{font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}



/*--------------------------------------------------------------
Base
--------------------------------------------------------------*/
html {
    margin: 0 !important;
    overscroll-behavior: none;
}

@media (max-width: 992px) {
    html {
        overscroll-behavior: auto;
    }
}

body {
    background-color: var(--white);
    color: var(--black);
    font-family: var(--font-primary);
    line-height: 1.5;
}

::-moz-selection {
    background-color: var(--black);
    color: var(--white);
}
::selection {
    background-color: var(--black);
    color: var(--white);
}

hr {
    background-color: var(--grey);
    border: 0;
    height: 1px;
    margin: 40px 0;
}

ul,
ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin: 0 0 24px;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 24px 32px;
}

table {
    margin: 0 0 32px;
    width: 100%;
}

p {
    margin: 0 0 16px;
}

pre {
    background-color: var(--grey);
    color: var(--black);
    font-size: var(--14px);
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 100%;
    overflow: auto;
    padding: 24px;
}

fieldset {
    padding: 0;
    border: none;
    margin: 0 0 24px;
    width: 100%;
}

figure {
    margin: 0 0 24px;
}

.transition, a, input, button, textarea {
    transition: all 0.3s ease;
}



/*--------------------------------------------------------------
Header
--------------------------------------------------------------*/
.site-header {
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 24px;
    position: sticky;
    top: var(--announcement-bar-height);
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 30px;
}

body.admin-bar .site-header {
    top: calc(var(--announcement-bar-height) + var(--admin-bar-height));
}

@media (max-width: 600px) {
    .site-header {
        padding: 0 20px;
    }
}

/* Logo */
.site-header .site-header-logo {
    padding: 10px 0;
}

.site-header .site-header-logo svg {
    height: 60px;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .site-header .site-header-logo svg {
        height: 40px;
    }
}

/* Actions */
.site-header .site-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 992px) {
    .site-header .site-header-actions {
        display: none;
    }
}

/* Admin Bar */
#wpadminbar {
    position: sticky;
    top: 0;
}

/* Announcement Bar */
body.site-announcement-active {
    --announcement-bar-height: 40px;
}

.site-announcement {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--black);
    color: var(--white);
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

body.admin-bar .site-announcement {
    top: var(--admin-bar-height);
}

.site-announcement .site-announcement-content {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.site-announcement .site-announcement-content::-webkit-scrollbar {
    display: none;
}

.site-announcement .site-announcement-content p,
.site-announcement .site-announcement-content a {
    font-size: var(--14px);
    color: var(--white);
    margin: 0;
}

@media (max-width: 992px) {
    .site-announcement .site-announcement-content p,
    .site-announcement .site-announcement-content a {
        font-size: var(--12px);
    }
}



/*--------------------------------------------------------------
Site Navigation
--------------------------------------------------------------*/
/* Menu */
.site-navigation {
    display: block;
    margin: 0 0 0 auto;
}

.site-navigation .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 32px
}

.site-navigation .menu li {
    position: relative;
}

.site-navigation .menu li a {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 4px;
    text-decoration: none;
    line-height: 16px;
    font-size: var(--14px);
    color: var(--black);
    white-space: nowrap;
}

.site-navigation .menu li a:hover,
.site-navigation .menu li.current-menu-item > a,
.site-navigation .menu li.current-menu-ancestor > a {
    color: var(--black);
}

.site-navigation .menu li a > span {
    line-height: 0;
}

.site-navigation .menu li a > span svg {
    width: 10px;
    color: var(--black);
    transition: all 0.3s ease;
}

.site-navigation .menu li a:hover > span svg,
.site-navigation .menu li.current-menu-item > a > span svg,
.site-navigation .menu li.current-menu-ancestor > a > span svg {
    color: var(--black);
}

.site-navigation .menu .sub-menu-wrap {
    position: absolute;
    top: 16px;
    left: 50%;
    z-index: 900;
    padding: 16px 0 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    transform: translateX(-50%);
    min-width: 200px;
}

.site-navigation .menu li:hover .sub-menu-wrap {
    opacity: 1;
    pointer-events: all;
}

.site-navigation .sub-menu {
    background-color: var(--white);
    display: block;
    padding: 6px 20px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.site-navigation .sub-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(var(--black-rgb), 0.1);
}

.site-navigation .sub-menu li:last-of-type {
    margin: 0;
    border: none;
}

.site-navigation .sub-menu li a {
    white-space: normal;
    color: var(--black);
    padding: 6px 0;
    text-align: left;
    line-height: 22px;
}

@media (max-width: 992px) {
    .site-navigation .menu {
        display: none;
    }
}

/* Responsive Tray Toggle */
.responsive-tray-toggle {
    display: none;
    position: relative;
    margin: 0;
    padding: 0;
    width: 24px;
    height: 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.responsive-tray-toggle span,
.responsive-tray-toggle span:before,
.responsive-tray-toggle span:after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--black);
    transition: background-color 0s 0.2s;
}

.responsive-tray-toggle span {
    top: 7px;
}

.responsive-tray-toggle span:before,
.responsive-tray-toggle span:after {
    content: '';
    transition-duration: 0.2s, 0.2s;
    transition-delay: 0.2s, 0s;
}

.responsive-tray-toggle span:before {
    top: -7px;
    transition-property: top, transform;
}

.responsive-tray-toggle span:after {
    bottom: -7px;
    transition-property: bottom, transform;
}

body.menu-active .responsive-tray-toggle span {
    background-color: transparent;
}

body.menu-active .responsive-tray-toggle span:before {
    top: 0;
    transform: rotate(45deg);
    transition-delay: 0s, 0.2s;
}

body.menu-active .responsive-tray-toggle span:after {
    bottom: 0;
    transform: rotate(-45deg);
    transition-delay: 0s, 0.2s;
}

@media (max-width: 992px) {
    .responsive-tray-toggle {
        display: block;
    }
}



/*--------------------------------------------------------------
Responsive Tray
--------------------------------------------------------------*/
.site-responsive-tray {
    display: none;
}

@media (max-width: 992px) {
    /* Main */
    body.menu-active .site-main {
        transform: translateX(-100%);
    }
    .site-responsive-tray {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        top: calc(var(--header-height) + var(--announcement-bar-height));
        bottom: 0;
        right: 0;
        width: 100%;
        background-color: var(--white);
        z-index: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        transition: transform ease 0.3s, opacity ease 0.3s;
        pointer-events: none;
    }
    body.menu-active .site-responsive-tray {
        opacity: 1;
        pointer-events: all;
    }
    body.admin-bar .site-responsive-tray {
        top: calc(var(--header-height) + var(--announcement-bar-height) + var(--admin-bar-height));
    }
    /* Menu */
    .site-responsive-tray .menu {
        list-style: none;
        margin: 0;
        padding: 40px 0;
    }
    .site-responsive-tray .menu li {
        display: block;
        width: 100%;
    }
    .site-responsive-tray .menu li a {
        display: block;
        padding: 12px 30px;
        color: var(--black);
        font-size: var(--40px);
        line-height: 1;
        text-decoration: none;
    }
    .site-responsive-tray .menu li a:hover,
    .site-responsive-tray .menu li.current-menu-item > a,
    .site-responsive-tray .menu li.current-menu-ancestor > a {
        color: var(--black);
    }
    .site-responsive-tray .menu li.menu-item-has-children a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .site-responsive-tray .menu li.menu-item-has-children > a > span {
        position: absolute;
        right: 0;
        padding: 0 30px;
        line-height: 0;
    }
    .site-responsive-tray .menu li.menu-item-has-children > a > span svg {
        width: 16px;
    }
    .site-responsive-tray .menu li.menu-item-has-children.active > a > span svg {
        transform: rotate(180deg);
    }
    /* Sub Menu */
    .site-responsive-tray .sub-menu {
        display: none;
        padding: 0 30px 12px 50px;
    }
    .site-responsive-tray .menu li.menu-item-has-children .sub-menu li a {
        padding: 8px 0;
        justify-content: flex-start;
        line-height: 1;
        font-size: var(--20px);
    }
    /* Actions */
    .site-responsive-tray .responsive-tray-actions {
        padding: 20px 30px 80px 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 24px 12px;
    }
    .site-responsive-tray .responsive-tray-actions .button {
        width: 100%;
    }
}
@media (max-width: 600px) {
    .site-responsive-tray .menu li a {
        padding: 12px 20px;
    }
    .site-responsive-tray .menu li.menu-item-has-children > a > span {
        padding: 0 20px;
    }
    .site-responsive-tray .sub-menu {
        padding: 0 20px 12px 40px;
    }
    .site-responsive-tray .responsive-tray-actions {
        padding: 20px 20px 80px 20px;
    }
}



/*--------------------------------------------------------------
General
--------------------------------------------------------------*/
/* Main */
.site-main {
    background-color: var(--white);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* 404 Not Found */
.page-error404 .error404-main {
    padding: 200px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .page-error404 .error404-main {
        padding: 120px 0;
    }
}



/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
/* Main */
.site-footer .site-footer-main {
    background-color: var(--black);
    padding: 80px 0;
    text-align: center;
}

.site-footer .site-footer-main h1 {
    color: var(--white);
}

.site-footer .site-footer-main ul {
    color: var(--white);
}

@media (max-width: 768px) {
    .site-footer .site-footer-main {
        padding: 48px 0;
    }
}

/* Socials */
.site-footer .site-footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 40px 0 0;
}

.site-footer .site-footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--black);
    border-radius: 100%;
    transition: all 0.3s ease;
    font-size: var(--20px);
}

.site-footer .site-footer-socials a:hover {
    background-color: var(--pink);
    color: var(--white);
}

/* Bottom */
.site-footer .site-footer-bottom {
    background-color: var(--black);
    color: var(--white);
    font-size: var(--14px);
}

.site-footer .site-footer-bottom-row {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 24px 0;
}

.site-footer .site-footer-bottom .site-footer-bottom-menu {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-footer .site-footer-bottom .site-footer-bottom-menu > a {
    color: var(--white);
    text-decoration: underline;
    white-space: nowrap;
    border-right: 1px solid var(--white);
    padding: 0 6px 0 0;
    line-height: 1;
}

.site-footer .site-footer-bottom .site-footer-bottom-menu > a:last-of-type {
    border-right: none;
    padding: 0;
}

.site-footer .site-footer-bottom .site-footer-bottom-menu > a:hover {
    color: var(--pink);
}

.site-footer .site-footer-bottom .site-footer-copyright {
    flex: 1;
    text-align: center;
}

.site-footer .site-footer-bottom .site-footer-credits {
    flex: 1;
    text-align: right;
}

.site-footer .site-footer-bottom .site-footer-credits a {
    color: var(--white);
    text-decoration: underline;
}

.site-footer .site-footer-bottom .site-footer-credits a:hover {
    color: var(--pink);
}

@media (max-width: 768px) {
    .site-footer .site-footer-bottom-row {
        gap: 12px;
    }
    .site-footer .site-footer-bottom .site-footer-copyright {
        flex: 100%;
    }
    .site-footer .site-footer-bottom .site-footer-bottom-menu {
        flex: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .site-footer .site-footer-bottom .site-footer-credits {
        flex: 100%;
        text-align: center;
    }
}