.pagehead {
 z-index: 999998;
}
.pagehead .pagehead-open {
 cursor: pointer;
}
.pagehead .pagehead-close {
 cursor: pointer;
}
.pagehead .pagehead-overlay {
 height: 0;
 overflow: hidden;
}
.pagehead .pagehead-overlay {
 z-index: 999999;
 position: fixed !important;
 display: flex;
 align-items: center;
 justify-content: center;
 left: 0;
 top: 0;
 width: 100%;
 max-width: unset;
 margin: 0;
 transition: all 0.3s ease-in-out 0.3s;
}
.pagehead .pagehead-overlay > .wp-block-group {
 transform: translateY(-50vh);
 transition: all 0.6s ease-in-out;
}
.pagehead:not(.is-open) .pagehead-overlay {
 height: 0 !important;
 padding: 0 !important;
}
.pagehead:not(.is-open) .pagehead-overlay > .wp-block-group {
 transform: translateY(-50vh);
}
.pagehead.is-open .pagehead-overlay {
 height: 100vh !important;
 transition: all 0.3s ease-in-out;
}
.pagehead.is-open .pagehead-overlay > .wp-block-group {
 transform: translateY(0vh);
 transition: all 0.6s ease-in-out;
}