:root {
    --hnkk-border-radius: 12px;
}

:root :where(.is-style-secondary > .wp-element-button:focus, .is-style-secondary > .wp-block-button__link:focus),
:root :where(.is-style-secondary > .wp-element-button:hover, .is-style-secondary > .wp-block-button__link:hover) {
    background-color: #f7f7f7;
}

:root :where(.wp-block-list li + li) {
    margin-block-start: var(--wp--preset--spacing--30);
}

:root :where(.is-style-hero + [class^="wp-block"]) {
    margin-block-start: 0;
}

.is-style-subtitle + .wp-block-heading {
    margin-top: 0;
}

.is-style-grouped-content > .wp-block-group:not(.is-style-light-background) {
    padding-left: 0;
    padding-right: 0;
}

.is-style-grouped-content > .wp-block-group:first-child:not(.is-style-light-background),
.is-style-light-background > :first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.is-style-grouped-content > .wp-block-group:last-child:not(.is-style-light-background),
.is-style-light-background > :last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

@media screen and (min-width: 782px) {
    .wp-block-columns.is-style-reverse-order {
        flex-direction: row-reverse;
    }
}

html,
body,
header,
main,
footer {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

.wp-block-group[id] {
    scroll-margin-top: 100px;
}

#sticky-header {
    --sticky-background-color: transparent;
    --sticky-color: #fff;
    --sticky-shadow-opacity: 0;
    --sticky-transition-duration: 0.2s;
    --sticky-transition-timing-function: ease-in-out;

    color: var(--sticky-color);
    height: 0;
    transition: color var(--sticky-transition-duration) var(--sticky-transition-timing-function);
}

#sticky-header #svg-logo path {
    transition: fill var(--sticky-transition-duration) var(--sticky-transition-timing-function);
}

body:not(.has-scrolled-past-header) #sticky-header #svg-logo path {
    fill: #fff !important;
}

.has-scrolled-past-header #sticky-header {
    --sticky-background-color: #fff;
    --sticky-color: #000;
    --sticky-shadow-opacity: 1;
}

#sticky-header header {
    background-color: var(--sticky-background-color);
    transition: background-color var(--sticky-transition-duration) var(--sticky-transition-timing-function);
    position: relative;
}

#sticky-header header::after {
    box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.1);
    content: "";
    display: block;
    opacity: var(--sticky-shadow-opacity);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 0;
    transition: opacity var(--sticky-transition-duration) var(--sticky-transition-timing-function);
}

#sticky-header #site-header {
    position: relative;
    z-index: 1;
}

.hnkk-gcal-embed {
    border-radius: var(--hnkk-border-radius);
}

.hnkk-gcal-embed iframe {
    border: none;
    max-width: 100%;
    width: 100%;
    min-height: calc( var(--wp--style--global--content-size) * 0.5625 );
}
