.header-search-form {
	pointer-events: none;
	/* opacity: 0;
	-webkit-transition: opacity 0.15s ease;
	-o-transition: opacity 0.15s ease;
	transition: opacity 0.15s ease; */
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: #fff;
	z-index: 10;
	display: none;
	padding: 1.5rem;
	overflow-y: auto;
}
.header-search-form.open {
	pointer-events: auto;
	/* opacity: 1; */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-box;
	display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            -webkit-justify-content: center;
               -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            -webkit-align-items: flex-start;
               -moz-box-align: start;
            align-items: flex-start;
	-ms-flex-wrap: wrap;
	    -webkit-flex-wrap: wrap;
	        flex-wrap: wrap;
}

body.admin-bar .header-search-form {
	top: 32px;
}

.header-search-form .header-nav-search {
	position: relative;
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 65%;
	        -webkit-flex: 1 1 65%;
	           -moz-box-flex: 1;
	        flex: 1 1 65%;
}
.header-search-form .header-nav-search [type="text"] {
	width: 100%;
    font-size: var(--txt-xl);
    font-style: italic;
    padding: 0.75em 0.75em 0.75em 2em;
    border-color: var(--base-3);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
            -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
         box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    background-position: 0.5em center;
    background-repeat: no-repeat;
    -moz-background-size: 1em;
         background-size: 1em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='icon icon-tabler icon-tabler-search' width='24' height='24' viewBox='0 0 24 24' stroke-width='2' stroke='%23aaa' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0' /%3E%3Cpath d='M21 21l-6 -6' /%3E%3C/svg%3E");
}

.header-search-form .header-nav-posts {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 100%;
	        -webkit-flex: 1 1 100%;
	           -moz-box-flex: 1;
	        flex: 1 1 100%;
	margin-top: 60px;
}

.header-search-form .header-nav-posts h4 {
	font-style: italic;
	text-align: left;
}

.header-nav-posts-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -ms-flex-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
            flex-wrap: nowrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            -webkit-justify-content: space-between;
               -moz-box-pack: justify;
            justify-content: space-between;
    list-style: none;
	margin: 0;
    padding: 0;
    gap: 1rem;
}
.header-nav-posts-list li {
	-webkit-box-flex: 0;
	    -ms-flex: 0 1 25%;
	        -webkit-flex: 0 1 25%;
	           -moz-box-flex: 0;
	        flex: 0 1 25%;
}
.header-nav-posts-list li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            -webkit-justify-content: center;
               -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            -webkit-align-items: center;
               -moz-box-align: center;
            align-items: center;
    position: relative;
    height: 100%;
    text-align: center;
    padding: 1.5rem 1rem;
	text-decoration: none;
	font-style: italic;
	font-size: var(--txt-l);
	-webkit-border-radius: 0.25rem;
	   -moz-border-radius: 0.25rem;
	        border-radius: 0.25rem;
	overflow: hidden;
	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
	        -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
	     box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.header-nav-posts-list li a:after {
	content: '';
	background-color: rgba(0, 0, 0, 0.6);
	position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.header-nav-posts-list li span {
	position: relative;
	z-index: 1;
}
.header-nav-posts-list li img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.header-search-form-close {
    background: transparent !important;
    border: 0;
    -webkit-box-shadow: none;
            -moz-box-shadow: none;
         box-shadow: none;
    color: var(--text) !important;
    font-size: 3rem;
    font-weight: 300;
    padding: 0;
    line-height: 1;
    position: absolute;
    top: 5px;
    right: 30px;
    z-index: 1;
}
.header-search-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 60px;
}
.header-nav-category {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 35%;
    -webkit-flex: 1 1 35%;
       -moz-box-flex: 1;
            flex: 1 1 35%;
}
.header-nav-category .header-search-category {
    width: 95%;
    font-size: var(--txt-xl);
    font-style: italic;
    padding: 0.75em;
    border-color: var(--base-3);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
         box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    color: var(--text);
}
.header-search-wrap h4 {
    width: 100%;
    font-style: italic;
}
@media (max-width: 900px) {
	.header-nav-posts-list {
		-ms-flex-wrap: wrap;
		    -webkit-flex-wrap: wrap;
		        flex-wrap: wrap;
	}
	.header-nav-posts-list li {
		-ms-flex-preferred-size: calc( 50% - 0.5rem );
		    -webkit-flex-basis: -webkit-calc( 50% - 0.5rem );
		        flex-basis: -moz-calc( 50% - 0.5rem );
		        flex-basis: calc( 50% - 0.5rem );
		max-width: -webkit-calc( 50% - 0.5rem );
		max-width: -moz-calc( 50% - 0.5rem );
		max-width: calc( 50% - 0.5rem );
	}
	.header-nav-category, .header-search-form .header-nav-search {
	    -webkit-box-flex: 1;
	    -webkit-flex: 1 1 100%;
	       -moz-box-flex: 1;
	        -ms-flex: 1 1 100%;
	            flex: 1 1 100%;
	}
	.header-nav-category .header-search-category {
	    width: 100%;
	    margin-bottom: 15px;
	}
}