/**
 * Theme Name: caledoniapark.com
 * Author: Bewonder*
 * Author URI: https://bewonder.co.uk
 * Template: blocksy
 * Text Domain: blocksy
 * Version: 2.0.0
 */

:root {
    --site-max-width: 1700px;
    --theme-side-margin: max(0px, calc((100% - min(var(--theme-normal-container-max-width), var(--theme-container-width-base))) / 2));
    --swiper-pagination-bullet-horizontal-gap: 10px;
    /*activeDayColor: #ffffff;*/
    /*activeDayBackground: #000000;*/
}

@media screen and (min-width: 1700px) {
    :root {
        --theme-side-margin: max(0px, calc((var(--site-max-width) - min(var(--theme-normal-container-max-width), var(--theme-container-width-base))) / 2));
    }
    body {
        max-width: var(--site-max-width);
        margin: auto !important;
        box-shadow: 0 0 100px 0 color-mix(in srgb, var(--theme-palette-color-4) 15%, rgba(0, 0, 0, 0));
    }
}



/* body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: var(--theme-side-margin);
    background: rgb(255 0 0 / 18%);
    pointer-events: none;
    z-index: 99999;
}

body::before {
    left: max(0px, calc((100% - min(100%, var(--site-max-width))) / 2));
    border-right: 2px dashed rgb(255 0 0 / 70%);
}

body::after {
    right: max(0px, calc((100% - min(100%, var(--site-max-width))) / 2));
    border-left: 2px dashed rgb(255 0 0 / 70%);
} */

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

h1.header-site-title {
    font: inherit;
    color: inherit;
}

.mt-auto {
    margin-top: auto;
}
.d-flex {
    display: flex;
}
.g-20 {
    gap: 20px;
}
.p-15 {
    padding: 15px;
}
.justify-content-center {
    justify-content: center;
}
.bg-light {
    background: var(--theme-palette-color-5);
}

article.entry-card.store .ct-entry-content-block,
article.entry-card.type-store .ct-entry-content-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

@media screen and (max-width: 1000px) {
    #header [data-row*=top] .ct-header-text {
        width: 100%;
        margin: 0;
    }
}

div.swiper-scrollbar {
    position: relative !important;
    margin-top: 20px;
    margin-bottom: 20px;
}

article.entry-card>div {
    display: flex;
    height: 100%;
}

article.entry-card .stk-block-columns {
    display: flex;
    flex: 1;
}

article.entry-card.whats-on .stk-column-wrapper {
    display: flex;
}



body.single-store .dayDiv {
    border-bottom: 1px solid;
    padding: 13px 0;
}

body.single-store .dayDiv:has(+ .dayDiv.active) {
    border-color: rgba(0, 0, 0, 0);
}

body.single-store .dayDiv.active:after {
    left: -17px;
    right: -17px;
}

body.single-store .custom-dates h4 {
    margin-top: 2em;
}



/* 
.hero-section>figure+header.entry-header.ct-container-narrow,
.hero-section>figure+header.entry-header.ct-container {
    background: var(--theme-palette-color-5);
    display: inline-flex;
    max-width: 550px;
    padding: 1rem 1.5rem 1.5rem;
    margin: 150px 75px 75px;
    margin-left: var(--theme-side-margin);
    min-height: unset;
    text-align: left;
}

@media screen and (max-width: 999px) {
    div.hero-section[data-type=type-2]>figure {
        position: relative;
    }

    div.hero-section[data-type=type-2]>figure .ct-media-container img {
        height: 50vw;
        min-height: 200px;
        max-height: 550px;
    }

    .hero-section>figure+header.entry-header.ct-container-narrow,
    .hero-section>figure+header.entry-header.ct-container {
        margin: 0;
        max-width: unset;
        width: 100vw;
        padding: 1rem var(--theme-side-margin) 1.5rem;
    }
} */


nav.sibling-pages-nav ul {
    list-style: none;
    padding: 0 var(--theme-side-margin);
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--theme-palette-color-6);
}

nav.sibling-pages-nav li {
    flex: 1;
}

nav.sibling-pages-nav li.current:hover a {
    cursor: default;
}

nav.sibling-pages-nav a {
    min-height: 35px;
    height: 100%;
    width: 100%;
    padding: 10px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--theme-palette-color-3);
    font-weight: 500;
    position: relative;
    transition: all 0.2s;
    text-align: center;
}

nav.sibling-pages-nav li:not(.current) a:hover {
    color: var(--theme-palette-color-1);
}

nav.sibling-pages-nav a:before,
nav.sibling-pages-nav a:after {
    content: "";
    position: absolute;
    inset: 100% auto 0;
    height: 2px;
    width: 0%;
    background: var(--theme-palette-color-1);
    transition: inherit;
}

nav.sibling-pages-nav li.current a:before {
    background: var(--theme-palette-color-3);
    width: 100%;
    opacity: 1;
    transition: 0.1s;
}

nav.sibling-pages-nav li:not(.current) a:hover:after {
    width: 100%;
}

@media screen and (max-width: 689px) {
    nav.sibling-pages-nav ul {
        padding: 0;
    }

    nav.sibling-pages-nav li.current {
        display: none;
    }
}


.dayDiv+.note {
    margin-top: 1em;
}

.store-filters {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

@media screen and (min-width: 1000px) {
    .store-filters {
        gap: 30px;
        flex-direction: row;
    }
}

ul.store-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.store-links-item {
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid var(--theme-link-initial-color)!important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-links-item * {
    gap: 10px;
    display: flex;
}

.store-links-item a {
    line-height: 1;
}

.store-links-item a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.store-contact-icon {
    padding-right: 5px;
}

.negative-rounded-corners {
    --outside-radius: 10px;
    position: relative !important;
    overflow: visible !important;
    z-index: 1;
}

.negative-rounded-corners>.stk-column-wrapper,
.negative-rounded-corners>.stk-column-wrapper>.stk-inner-blocks {
    overflow: visible !important;
}

.negative-rounded-corners::before,
.negative-rounded-corners::after,
.stk-block.negative-rounded-corners::before,
.stk-block.negative-rounded-corners::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    width: var(--outside-radius) !important;
    height: var(--outside-radius) !important;
    background: inherit !important;
    pointer-events: none !important;
    visibility: visible !important;
    z-index: 2 !important;
}

.negative-rounded-corners::before,
.stk-block.negative-rounded-corners::before {
    left: calc(var(--outside-radius) * -1) !important;
    -webkit-mask: radial-gradient(circle at 0 0,
            transparent var(--outside-radius),
            #000 calc(var(--outside-radius) + 1px)) !important;
    mask: radial-gradient(circle at 0 0,
            transparent var(--outside-radius),
            #000 calc(var(--outside-radius) + 1px)) !important;
}

.negative-rounded-corners::after,
.stk-block.negative-rounded-corners::after {
    right: calc(var(--outside-radius) * -1) !important;
    -webkit-mask: radial-gradient(circle at 100% 0,
            transparent var(--outside-radius),
            #000 calc(var(--outside-radius) + 1px)) !important;
    mask: radial-gradient(circle at 100% 0,
            transparent var(--outside-radius),
            #000 calc(var(--outside-radius) + 1px)) !important;
}

.negative-middle-cutout-top,
.negative-middle-cutout-bottom {
    --cutout-radius: 24px;
    position: relative !important;
    overflow: visible !important;
    z-index: 1;
}

.negative-middle-cutout-top::before,
.negative-middle-cutout-bottom::after,
.stk-block.negative-middle-cutout-top::before,
.stk-block.negative-middle-cutout-bottom::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    width: calc(var(--cutout-radius) * 2) !important;
    height: var(--cutout-radius) !important;
    background: inherit !important;
    pointer-events: none !important;
    visibility: visible !important;
    z-index: 2 !important;
    transform: translateX(-50%) !important;
}

.negative-middle-cutout-top::before,
.stk-block.negative-middle-cutout-top::before {
    bottom: 100% !important;
    -webkit-mask: radial-gradient(circle at 50% 100%,
            transparent var(--cutout-radius),
            #000 calc(var(--cutout-radius) + 1px)) !important;
    mask: radial-gradient(circle at 50% 100%,
            transparent var(--cutout-radius),
            #000 calc(var(--cutout-radius) + 1px)) !important;
}

.negative-middle-cutout-bottom::after,
.stk-block.negative-middle-cutout-bottom::after {
    top: 100% !important;
    -webkit-mask: radial-gradient(circle at 50% 0,
            transparent var(--cutout-radius),
            #000 calc(var(--cutout-radius) + 1px)) !important;
    mask: radial-gradient(circle at 50% 0,
            transparent var(--cutout-radius),
            #000 calc(var(--cutout-radius) + 1px)) !important;
}

@media screen and (min-width: 1000px) {
    .hero>.stk-row:before {
        content: " ";
        background: linear-gradient(to bottom, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 0%) 100%);
        position: absolute;
        z-index: 2;
        left: 0;
        right: 0;
        top: 0;
        height: 200px;
    }
}
.hero-section[data-type="type-2"]:before {
    content: " ";
    background: linear-gradient(to top, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 0%) 100%);
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    height: 300px;

}
.hero-side-dark > .stk-row:after,
.hero>.stk-row:after,
.hero-section[data-type="type-2"]:after {
    content: " ";
    background: rgb(0 0 0 / 50%);
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    bottom: 0;
    border-right: 5px solid var(--theme-palette-color-8);
    width: var(--theme-side-margin);
    transition: all 0.3s ease-out;
}
.hero-side-light > .stk-row:after {
    content: " ";
    background: rgb(255 255 255 / 50%);
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    bottom: 0;
    border-right: 5px solid var(--theme-palette-color-8);
    width: var(--theme-side-margin);
    transition: all 0.3s ease-out;
}
[data-header*="type-1"] .ct-header [data-row*="top"] {
    z-index: 0;
    height: 0;
}

[data-header*="type-1"] .ct-header [data-row*="top"] [data-items="primary"] ,
[data-header*="type-1"] .ct-header [data-row*="top"] [data-items="primary"] .ct-container {
    position: absolute;
    display: block;
    height:0;
}

[data-device="desktop"] .site-branding {
    position: relative;
    width:0;
    top: 80px;
    left: calc(0px - var(--theme-side-margin));
    transform-origin: bottom left;
    transform: rotate(90deg);
    transition: all 0.3s ease-out;
}
body.home [data-device="desktop"] .site-branding {
    left:0;
}

[data-device="desktop"] .ct-sticky-container{
    height: 60px!important;
}

@media screen and (min-width: 1000px) {
    body.home[data-header="type-1:sticky:shrink"] .site-branding {
        top: 130px;
        left: calc(0px - var(--theme-side-margin));
        -webkit-filter: invert(1);
        filter: invert(1);
    }



    body.home[data-header="type-1:sticky"] [data-hook-id="118"] {
        display: none;
    }
    /* header [data-hook-id="118"] {
        margin-left:-20px!important;
    } */

    .hero>.stk-row:after {
        content: " ";
        background: rgb(0 0 0 / 50%);
        position: absolute;
        z-index: 2;
        left: 0;
        top: 0;
        bottom: 0;
        border-right: 5px solid var(--theme-palette-color-8);
        width: var(--theme-side-margin);
        transition: all 0.3s ease-out;
    }

    body[data-header="type-1:sticky:shrink"] .hero>.stk-row:after {
        border-right: 5px solid var(--theme-palette-color-4);
        left: calc(var(--theme-side-margin) * -1);
        background: rgb(0 0 0 / 100%);
    }
}

.hero-section[data-type="type-2"] header.ct-container{
    padding-left:50px!important;
}
.hero-section[data-type="type-2"] header.ct-container .page-title,
.hero-section[data-type="type-2"] header.ct-container .page-description {
    max-width: 500px;
}
[data-header*="type-1"] .ct-header [data-row*="top"] {
    --height: 0 !important;
}

.ct-query-template-default.is-layout-flow{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.wp-block-blocksy-tax-query .wp-block-term.is-layout-flow {
    display: flex;
    align-items: center;
    background: var(--theme-palette-color-6);
    padding: 14px;
    line-height: 1;
    gap: 10px;
    margin:0;
    flex-wrap: wrap;
}
.wp-block-blocksy-tax-query .wp-block-term.is-layout-flow .ct-dynamic-media { 
    margin: 0;
}
.mapcore-multimarkers-legend{
    padding-left: 30px;
    padding-right: 30px;
}