:root {
    --white: #ffffff;
    --grey-100: #e9e9f0;
    --grey-80: #d6d6e2;
    --grey-60: #a6a6b8;
    --grey-50: #9a9aa2;
    --grey-40: #545966;
    --grey-20: #202225;
    --grey-0: #141517;
    --black: #000000;
    --blue: #0066ff;
    --red: #e04545;
    --green: #05c46b;

    --search-background: var(--white);
    --search-text: var(--black);
    --search-placeholder: #111111;

    /* this is default styles before we begin to implement dark mode/light mode */
    --background-body: var(--grey-0);
    --background-t1: var(--grey-20);
    --background-t2: var(--grey-40);

    --text-primary: var(--white);
    --text-secondary: var(--grey-50);

    --text-invert: var(--black);
}

/* @media (prefers-color-scheme: light) {
    :root {
        --background-body: var(--grey-100);
        --background-t1: var(--grey-80);
        --background-t2: var(--grey-60);

        --text-primary: var(--black);
        --text-secondary: var(--grey-50);

        --text-invert: var(--white);
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --background-body: var(--grey-0);
        --background-t1: var(--grey-20);
        --background-t2: var(--grey-40);

        --text-primary: var(--white);
        --text-secondary: var(--grey-50);

        --text-invert: var(--black);
    }
} */

/* Header */

.menu-item svg {
    margin-right: 4px;
}

.menu-item.menu-beta::after {
    content: "BETA";
    position: absolute;
    display: block;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    padding: 5px 10px 4px 10px;
    border-radius: 12px;
    line-height: 1;
    font-size: 80%;
    font-weight: 600;
    background-color: #0066ff;!important;
    color: #fff;
    box-shadow: 0px 5px 10px rgb(0 102 255);!important;
}

/* Colour Palette on single-poster.php */

.poster__palette {
    display: flex;
    width: 100%;
    margin: 8px 0;
}

.poster__palette-swatch-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: auto;
    height: 24px;
    cursor: pointer;
}

.poster__palette-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: auto;
    height: 24px;
    cursor: pointer;
}

.poster__palette-swatch-wrapper:first-of-type .poster__palette-swatch {
    border-radius: 6px 0 0 6px;
}

.poster__palette-swatch-wrapper:last-of-type .poster__palette-swatch {
    border-radius: 0 6px 6px 0;
}

.poster__palette-swatch::after {
    content: "\f002";
    display: block;
    width: 12px;
    height: 12px;
    color: #fff;
    font-size: 80%;
    font-family: FontAwesome;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.2s;
}

.poster__palette-swatch:hover::after {
    opacity: 1;
}



/* Poster card styles */

.poster-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25%;
    transition: all 0.2s;
    overflow: unset;
}

@media only screen and (max-width: 768px) {
    .poster-card {
        width: 100%;
    }
}

@media only screen and (min-width: 769px) {
    .poster-card:hover {
        transform: scale(1.02);
    }
}

.poster-card__link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.poster-card__link::after {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    top: 6px;
    left: 6px;
    border-radius: 8px;
    opacity: 0;
    background: rgba(0,0,0,.3);
    background: linear-gradient(0deg,rgba(0,0,0,1) 0%,rgba(0,0,0,0) 60%);
    transition: all 0.2s;
}

.poster-card__link_pro {
    display: block;
    border-radius: 0px;
    overflow: hidden;
}

.poster-card:hover .poster-card__link::after {
    opacity: 1;
}

.poster-card__image {
    display: block;
    width: 100%;
    height: auto;
}

.poster-card__overlay {
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 24px 18px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
}

.poster-card:hover .poster-card__link + .poster-card__overlay {
    opacity: 1;
    pointer-events: all;
}

.poster-card__info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.poster-card__title {
    font-weight: 600;
    margin-bottom: 6px;
    max-width: 92%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poster-card__user {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.poster-card.ip-box img.avatar,
.poster-card__user .avatar {
    margin-right: 5px!important;
}

.poster-card__user a:first-of-type {
    max-width: 60%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.poster-card__user .badge-user--pro {
    font-size: 10px;
    transform: translateY(1px);
    padding: 4px 6px;
}

.poster-card__controls {
    position: absolute;
    display: block;
    bottom: 19px;
    right: 18px;
}

.poster-card__editor {
    position: absolute;
    top: 19px;
    right: 18px;
    display: flex;
    flex-direction: row;
    gap: 6px;
}

@media only screen and (min-width: 768px) {
    .poster-card__editor {
        opacity: 0;
        pointer-events: none;
        transition: all 0.2s;
    }

    .poster-card:hover .poster-card__editor {
        opacity: 1;
        pointer-events: all;
    }
}
/* Poster Card Palette */

.poster-card__palette {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    z-index: 1;
}

.poster-card__swatch {
    display: block;
    flex-grow: 1;
    height: 16px;
    border-radius: 5px;
    transition: all 0.15s;
}

.poster-card__swatch[href*="posterspy"]:hover {
    transform: scale(1.05);
}

/* Loader */

.loader {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    margin: 24px auto;
}

.loader svg {
    fill: #fff;
    animation: loader 1.5s linear infinite;
}

@keyframes loader {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Artists Grid */

.explore__artists-grid {
    display: flex;
    gap: 12px;
    justify-content: start;
    flex-wrap: wrap;
}

/* Colour Card */
