: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;
}

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

#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);
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
}

.hnkk-gcal-embed iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
}
