/**
 * Theme Name: Bewonder* Shopping Center 
 * Author: Bewonder*
 * Author URI: https://bewonder.co.uk
 * Template: blocksy
 * Text Domain: blocksy
 */
:root{
    /*--activeDayColor: #ffffff;*/
    /*--activeDayBackground: #000000;*/
}
@media screen and (min-width: 1700px) {
    body {
        max-width: 1600px;
        margin: auto!important;
        box-shadow: 0 0 0 9999px color-mix(in srgb, var(--theme-palette-color-4) 1%, rgba(0, 0, 0, 0));
    }
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}
h1.header-site-title {
    font: inherit;
    color: inherit;
}
.mt-auto {
    margin-top: auto;
}
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;
}


.social-links {
    display: flex;
    flex-direction: column;
}
a.social-link {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--theme-palette-color-3);
    margin-bottom: 1px;
    transition: 0.1s;
}
.social-links .text {
    color: var(--theme-palette-color-3);
}
.social-links .icon,
.social-links svg {
    height: 25px;
    width: 25px;
    fill: var(--theme-palette-color-1);
    transition: 0.1s;
}
a.social-link:hover {
    border-bottom-width: 2px;
    margin-bottom: 0px;
}
a.social-link:hover svg {
    fill: var(--theme-palette-color-4);
}


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 {
    margin-top: 2em;
}


:root {
    --theme-side-margin: calc((100vw - var(--theme-container-width)) / 2);
}
@media screen and (min-width: 1433px) {
    :root {
        --theme-side-margin: calc((100vw - var(--theme-normal-container-max-width)) / 2);
    }
}
@media screen and (min-width: 1700px) {
    :root {
        --theme-side-margin: calc((1600px - var(--theme-normal-container-max-width)) / 2);
    }
}

/* Media queries */
@media only screen and (max-width: 690px) {
	.ct-header .hours {
		font-size: 12px!important;
	}
	
	.entry-header.ct-container {
		width: 100%;
	}
}

.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: 500px;
    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: 400px;
    }
    .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: 5px 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;
    }
}

/* Opening hours */
.footer-opening_hours * {
	font-family: neulis-neue, Sans-Serif;
}

.footer-opening_hours .weekly-opening-hours .dayDiv:not(:nth-child(2)) {
	border-top: 1px solid #fff;
}

.ct-footer .wp-block-bewonder-opening-hours, .footer-opening_hours h6 {
	margin-bottom: 0px!important;
}

.footer-opening_hours h6 {
	color: #fff;
	font-size: 24px;
}

.footer-opening_hours .weekly-opening-hours .active {
	color: #B1D8B5;
	font-weight: bold;
}

.footer-opening_hours .dayDiv.active:after {
	background: transparent;
}

.footer-opening_hours .note {
	display: none;	
}

.weekly-opening-hours .note {
	text-align: center;
}

.ct-header .hours {
	font-size: 16px;
}

/* Cards */
article.whats-on:hover .wp-block-group * {
	color: #fff;
}