/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Harry Chappell
 * Author URI: https://www.linkedin.com/in/harry-chappell/
 * Template: blocksy
 * Text Domain: blocksy
 */


h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}


div#lights-switch-btn {
    position: relative;
    background: radial-gradient(black, grey);
    height: 50px;
    width: 50px;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px grey, 0 0 5px grey;
    overflow: hidden;
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100;
    margin: 0;
    filter: drop-shadow(0px 0px 5px black) drop-shadow(0px 0px 5px black) drop-shadow(0px 0px 5px black) drop-shadow(0px 0px 5px black);
}
div#lights-switch-btn.on {
    background: radial-gradient(black, lime);
    box-shadow: 0 0 10px lime, 0 0 5px lime;
}
.div1 {
    width: inherit;
    height: inherit;
    border-radius: inherit;
    background: black;
    transition: 0.2s;
    scale: 1;
    position: relative;
    top: 0px;
    left: 0px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0);
}
div#lights-switch-btn.primed .div1 {
    scale: 0.95;
    top: 3px;
    left: 3px;
    box-shadow: inset 0 0 20px black;
}
div#lights-switch-btn:active .div1 {
    scale: 0.85;
    top: 7px;
    left: 7px;
    box-shadow: inset 0 0 20px black;
}
div#lights-switch-btn.on.primed .div1 {
    box-shadow: inset 0 0 20px #00ff0070;
}
div#lights-switch-btn.on:active .div1 {
    box-shadow: inset 0 0 20px #00ff0070;
}
.div1:before, .div1:after {
    content: "";
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid grey;
}
.div1:before {
    height: 50%;
    width: 50%;
    border-radius: 100%;
}
div#lights-switch-btn .div1:after {
    width: 15px;
    height: 15px;
    transform: translate(-50%, -130%);
    background: #000;
    border: 0;
    content: "|";
    text-align: center;
    color: grey;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-size: 12px;
}
div#lights-switch-btn.on .div1:before {
    border: 1px solid lime;
}
div#lights-switch-btn.on .div1:after {
    color: lime;
}





p.neon:not(.lights-on),
.neon:not(.lights-on) h1,
.neon:not(.lights-on) h2,
.neon:not(.lights-on) h3,
.neon:not(.lights-on) h4,
.neon:not(.lights-on) h5,
.neon:not(.lights-on) h6,
.neon:not(.lights-on) p,
.neon:not(.lights-on) a {
    color: hsl(0deg, 0%, 10%);
}



.hcdigital-logo-container {
    aspect-ratio: 1 / 1 !important;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
@media screen and (max-width: 1000px) {
    .hcdigital-logo-container {
        height: 600px;
        width: 600px;
    }
    
}
@media screen and (max-width: 690px) {
    .hcdigital-logo-container {
        height: 300px;
        width: 300px;
    }
}
.hcdigital-logo-disk {
    position: absolute;
    width: 90%;
    height: 90%;
    background-color: hsl(0deg 0% 5%);
    box-shadow: 0 0 50px hsla(0deg, 0%, 100%, 0);
    border-radius: 50%;
    margin: 5%;
    transition: 0.3s;
    border: 3px solid hsl(0deg 0% 100% / 2%);
    border-width: 1px 3px 3px 1px;
}
.hcdigital-logo-h, .hcdigital-logo-c {
    position: absolute;
    height: 80%;
    aspect-ratio: 9/16;
    backdrop-filter: blur(5px);
    inset: 10% auto;
    border-radius: 10px;
    border-width: 1px 3px 3px 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.03);
    transition: 0.1s;
}
.hcdigital-logo-h {
    left: 10%;
    background-color: hsla(10, 100%, 10%, 0.3);
    box-shadow: 0 0 50px hsla(10, 100%, 60%, 0);
    opacity: 1;
    backdrop-filter: blur(7px);
}
.hcdigital-logo-c {
    right: 10%;
    background-color: hsla(50, 90%, 5%, 0.2);
    box-shadow: 0 0 50px hsla(50, 90%, 50%, 0);
    opacity: 1;
    border-top-left-radius: 100% 50%;
    border-bottom-left-radius: 100% 50%;
}
.hcdigital-logo-c.overlay {
    background-color: hsla(50, 90%, 50%, 0.05);
}
.hcdigital-logo-disk.lights-on {
    background-color: hsl(0deg 0% 90%);
    box-shadow: 0 0 50px hsla(0deg, 0%, 100%, 0.5);
    border-color: hsl(0deg 0% 100% / 100%);
}
.hcdigital-logo-h.lights-on {
    background-color: hsla(0, 100%, 60%, 0.8);
    box-shadow: 0 0 50px hsla(0, 100%, 60%, 1); 
    border-color: rgba(255, 255, 255, 0.2);
}
.hcdigital-logo-c.lights-on {
    background-color: hsla(50, 90%, 50%, 0.5);
    box-shadow: 0 0 50px hsla(50, 90%, 50%, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}
.hcdigital-logo-c.overlay.lights-on {
    background-color: hsla(50, 90%, 50%, 0.4);
}


@media screen and (min-width: 1000px) {
    .hcdigital-logo-container {
        cursor: pointer;
    }
    .hcdigital-logo-container > * {
        transition: 0.2s;
    }
    .hcdigital-logo-container:hover:not(:active) .hcdigital-logo-disk {
        scale: 1.05;
    }
    .hcdigital-logo-container:hover:not(:active) .hcdigital-logo-h, 
    .hcdigital-logo-container:hover:not(:active) .hcdigital-logo-c {
        scale: 1.1;
        translate: -15px;
    }
    .hcdigital-logo-container:hover:not(:active) .hcdigital-logo-c {
        translate: 15px;
    }
}
#lights-switch-btn {
    display: none !important;
}









div#test-object {
    width: 100%;
    height: 100px;
    border-radius: 100px;
}
div#test-object-2 {
    width: 500px;
    height: 500px;
    border-radius: 5000px;
}
div#test-object-3 {
    width: 250px;
    height: 250px;
    border-radius: 5px;
}
div#test-object-4 {
    width: 250px;
    height: 250px;
    border-radius: 50px;
}
.neon {
    position: relative;
}
.neon:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    backdrop-filter: blur(3px);
    background: hsla(var(--hue), 30%, 13%, 0.3);
    border: 3px solid hsla(var(--hue), 50%, 20%, 0.15);
    border-width: 1px 3px 3px 1px;
}
.neon:after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: inherit;
    z-index: -2;
    box-shadow: 0 0 50px hsla(var(--hue), 0%, 100%, 0);
    background: hsla(var(--hue), 0%, 0%, 0.7);
    border: 3px solid hsla(var(--hue), 0%, 50%, 0.1);
}

.neon.stk-block:after, 
.neon.stk-block:not(.stk--has-background-overlay):before {
    content: "" !important;
}

.neon.lights-on:before {
    backdrop-filter: blur(5px);
    background: hsla(var(--hue), var(--sat), var(--lig), 0.2);
    border-color: hsla(var(--hue), var(--sat), var(--lig), 0.15);
}
.neon.lights-on:after {
    box-shadow: 0 0 50px hsla(var(--hue), var(--sat), var(--lig), 1);
    background: hsla(var(--hue), var(--sat), var(--lig), 0.7);
    border: 3px solid hsla(var(--hue), var(--sat), var(--lig), 1);
}

.neon.white:before {
    background: hsla(0deg, 0%, 20%, 0.3);
    border-color: hsla(0deg, 0%, 30%, 0.15);
}
.neon.white:after {
    box-shadow: 0 0 50px hsla(0deg, 0%, 100%, 0);
    background: hsla(0deg, 0%, 0%, 0.7);
    border: 3px solid hsla(0deg, 0%, 50%, 0.1);
}
.neon.lights-on.white:before {
    background: hsla(0deg, 0%, 100%, 0.2);
    border-color: hsla(0deg, 0%, 100%, 0.15);
}
.neon.lights-on.white:after {
    box-shadow: 0 0 50px hsla(0deg, 0%, 100%, 1);
    background: hsla(0deg, 0%, 100%, 0.7);
    border: 3px solid hsla(0deg, 0%, 100%, 1);
}

/* Duplicate .neon styles for #header [data-row*=boxed] > .ct-container */
#header [data-row*=boxed] > .ct-container{
    position: relative;
}
#header [data-row*=boxed] > .ct-container:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    backdrop-filter: blur(3px);
    background: hsla(var(--hue), 30%, 13%, 0.3);
    border: 3px solid hsla(var(--hue), 50%, 20%, 0.15);
    border-width: 1px 3px 3px 1px;
}
#header [data-row*=boxed] > .ct-container:after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: inherit;
    z-index: -2;
    box-shadow: 0 0 50px hsla(var(--hue), 0%, 100%, 0);
    background: hsla(var(--hue), 0%, 0%, 0.7);
    border: 3px solid hsla(var(--hue), 0%, 50%, 0.1);
}
body.lights-on #header [data-row*=boxed] > .ct-container:before {
    backdrop-filter: blur(5px);
    background: hsla(var(--hue), 50%, 100%, 0.2);
    border-color: hsla(var(--hue), 50%, 100%, 0.15);
}
body.lights-on #header [data-row*=boxed] > .ct-container:after {
    box-shadow: 0 0 50px hsla(var(--hue), 100%, 50%, 1);
    background: hsla(var(--hue), 50%, 50%, 0.7);
    border: 3px solid hsla(var(--hue), 100%, 50%, 1);
}
#header [data-row*=boxed] > .ct-container:before {
    background: hsla(0deg, 0%, 20%, 0.3);
    border-color: hsla(0deg, 0%, 30%, 0.15);
}
#header [data-row*=boxed] > .ct-container:after {
    box-shadow: 0 0 50px hsla(0deg, 0%, 100%, 0);
    background: hsla(0deg, 0%, 0%, 0.7);
    border: 3px solid hsla(0deg, 0%, 50%, 0.1);
}
body.lights-on #header [data-row*=boxed] > .ct-container:before {
    background: hsla(0deg, 0%, 100%, 0.2);
    border-color: hsla(0deg, 0%, 100%, 0.15);
}
body.lights-on #header [data-row*=boxed] > .ct-container:after {
    box-shadow: 0 0 50px hsla(0deg, 0%, 100%, 1);
    background: hsla(0deg, 0%, 100%, 0.7);
    border: 3px solid hsla(0deg, 0%, 100%, 1);
}


[data-prefix="website_single"] .hero-section[data-type="type-2"] {
    background-color: hsl(var(--hue), var(--sat), var(--lig));
    background-color: rgba(0, 0, 0, 0);
    margin: 135px 15px 0;
    border-radius: 10px;
    padding-top: 35px;
}
[data-prefix="website_single"] .entry-header .page-title {
    --theme-heading-color: var(--contrast);
}
[data-prefix="website_single"] .entry-header .entry-meta {
    --theme-text-color: var(--contrast);
    --theme-link-hover-color: var(--contrast);
}


div#wheel-player {
    background: linear-gradient(black, white, black) ;
}




.stk-block-button.neon a,
.stk-block-button.neon.lights-on a {
    background-color: unset !important;
}
.stk-block-button.neon.lights-on:after {
    /* background: hsla(var(--hue), var(--sat), var(--lig), 0.7) !important; */
    animation: neonPulse 2s infinite; /* full cycle: 2s = 1s dim + 1s bright */
    transition: 2s !important;
}
.stk-block-button.neon.lights-on:hover:after {
    background: hsla(var(--hue), var(--sat), var(--lig), 1) !important;
    /* animation: neonPulse 2s infinite; full cycle: 2s = 1s dim + 1s bright */
}

@keyframes neonPulse {
  0%   { background: hsla(var(--hue), var(--sat), var(--lig), 0.7); }
  50%  { background: hsla(var(--hue), var(--sat), var(--lig), 0.9); }
  100% { background: hsla(var(--hue), var(--sat), var(--lig), 0.7); }
}



#offcanvas .ct-panel-inner {
    background-color: hsla(21deg, 97%, 58%, 0.5) !important;
    backdrop-filter: blur(6px);
    border: 5px solid hsla(21deg, 97%, 58%, 0.4);
    border-width: 1px 4px 4px 1px;
    border-bottom: 2px solid hsla(21deg, 97%, 58%, 0.4) !important;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    box-shadow: 0 0 50px hsla(21deg, 97%, 58%, 0.8);
}
#offcanvas .ct-panel-inner:before {
    content: "";
    position: absolute;
    z-index: -1;
    border: inherit;
    inset: 8px;
    border-width: 5px;
    border-radius: 5px;
    background: hsla(21deg, 97%, 58%, 0.8);
    box-shadow: 0 0 5px hsla(21deg, 97%, 58%, 1), 0 0 5px hsla(21deg, 97%, 58%, 1);
    filter: blur(3px);
}



.website-custom-card {
    /* height: 100%; */
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 1em;
    flex-grow: 1;
    width: clamp(240px, calc((100% - (15px * 4)) / 5), 500px);
    width: clamp(240px, 10%, 500px);
    order: var(--order);
}
.website-custom-card:not(:active):hover {
    scale: 1.02;
}
.website-custom-card h3 {
    color: inherit;
    line-height: 1;
    margin: 0;
}
.website-custom-card span.read-more,
.website-custom-card span.link-directly {
    margin-top: auto;
    background: #0000004d;
    color: white;
    display: inline-flex;
    width: fit-content;
    border-radius: 10px;
    padding: 0 1em;
    height: 40px;
    align-items: center;
}
.website-custom-card .excerpt {
    margin-bottom: 1.5em;
}
.website-custom-card .metadata {
    display: flex;
    gap: 5px;
}