/*
Theme Name: Standing Fox
Theme URI: https://standingfox.com/
Author: Vin
Author URI: https://vinagency.com
Version: 1.0.0
*/

/* 

Reset
Color
Elements
Layout
Typography
Links
Forms
Util
Components
Grid

*/

/* =Reset */

/* #wpadminbar {
display: none !important;
} */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
html,
body {
min-height: 100vh;
overscroll-behavior: none;
overflow-x: clip;
}
:focus {
outline: none;
}
:focus-visible {
outline: 1px dotted var(--color-border-medium);
outline-offset: 5px;
}
::selection {
background-color: var(--wp--preset--color--midnight-lightest);
color: #fff;
}
p:empty {
display: none;
}
img {
color: transparent;
}
@view-transition {
navigation: auto;
}

/* =Color */

:root {
--color-black: #111;
--color-background: #fff;
--color-border:#ccc;
--color-border-medium: #aaa;
--color-border-dark:#666;
--color-primary: #ccc;
--color-primary-medium: #aaa;
--color-primary-dark: #666;
--color-red: #C73532;
--color-red-dark: #992623;
}
:focus-visible {
outline: 1px dotted var(--color-border-dark);
outline-offset: 3px;
}

.bg-dark-top {
background: linear-gradient(
    to bottom,
    var(--wp--preset--color--midnight-darkest) 50%,
    transparent 50%
);
}
.bg-dark-bottom {
background: linear-gradient(
    to bottom,
    transparent 50%,
    var(--wp--preset--color--midnight-darkest) 50%
);
}
.bg-dark-bottom-66 {
background: linear-gradient(
    to bottom,
    transparent 33%,
    var(--wp--preset--color--midnight-darkest) 33%
);
}
.bg-dark-bottom-75 {
background: linear-gradient(
    to bottom,
    transparent 25%,
    var(--wp--preset--color--midnight-darkest) 25%
);
}
.bg-dark-bottom-90 {
background: linear-gradient(
    to bottom,
    transparent 10%,
    var(--wp--preset--color--midnight-darkest) 10%
);
}

/* =Elements */

html {
scrollbar-gutter: stable;
}
body {
scroll-behavior: smooth;
letter-spacing: .05em;
}
* {
margin:0;
padding:0;
box-sizing: border-box;
}
button {
background-color: transparent;
border: 0;
cursor: pointer;
padding: 0;
font-family: var(--wp--preset--font-family--mr-eaves);
text-transform: uppercase;
font-size: 16px;
letter-spacing: 0.05em;
}
a {
text-decoration-color: var(--color-border-medium);
}
a:hover,
p a:hover {
text-decoration-color: var(--color-border-dark);
}
p a:hover,
p a:where(:not(.wp-element-button)):hover {
text-decoration: underline;
text-decoration-color: var(--color-border-dark);
}
p {
text-wrap: pretty;
}
img {
max-width: 100%;
color: transparent;
}
body ul {
padding-left: 0;
}

/* =Links */

a.button,
div.button {
text-transform: uppercase;
color: var(--wp--preset--color--black);
background: transparent none;
border: 2px solid var(--wp--preset--color--primary-light);
padding-top: calc(0.6rem - 1px);
padding-bottom: calc(0.6rem - 1px);
padding-left: calc(1rem - 1px);
padding-right: calc(1rem - 1px);
transition: all 0.3s ease;
}
a.button:hover,
a.button:focus-visible,
a:hover div.button:hover,
a:focus-visible div.button {
color: var(--color-white);
background-color: var(--color-primary-dark, var(--wp--preset--color--primary-light));
border-color: var(--color-primary-dark, var(--wp--preset--color--primary-light));
transition: all 0.3s ease;
}
h2 a {
text-decoration: underline;
text-decoration-color: var(--color-border-medium);
text-decoration-thickness: 1px;
}
h2 a:hover,
h2 a:focus-visible {
text-decoration: underline;
text-decoration-color: var(--color-border-dark);
text-decoration-thickness: 1px;
}
/* override wp links underline */
/* :root :where(a:where(:not(.wp-element-button))) {
text-decoration: inherit;
} */

/* =Layout */

:root {
--wide-size: 1100px;
--gap: 30px;
--gap-tight: 15px;
--global-kb-gap-md: var(--gap);
--global-kb-spacing-md: var(--gap);
--global-kb-gap-sm: var(--gap-tight);
--global-kb-spacing-sm: var(--gap-tight);
}
@media screen and (min-width: 1500px) {
    :root {
    --wide-size: 1150px;
    }
}
@media screen and (min-width: 1800px) {
    :root {
    --wide-size: 1400px;
    }
}

main {
min-height: calc(100svh - var(--header-height-default));
}

/* =Typography */

body,
button {
letter-spacing: 0.025em;
}

h2.size-2 {
font-size: 24px;
}
h3.size-2 {
font-size: 1rem;
}
p {
margin-bottom: 1em;
}
h1, h2, h3 {
font-weight:normal;
}
h1 {
margin-top: 0;
margin-bottom: 1em;
}
h1.spacing-tight {
margin-bottom: .5em;
}
h2,
:root body :where(.is-layout-constrained) > h2 {
margin-block-start: 1em;
margin-block-end: 1em;
}
h2.spacing-tight {
margin-bottom: 0.5em;
}
h3 {
margin-top: 1em;
margin-bottom: 1em;
}
h2 + h3 {
margin-top: -1em;
}
p {
letter-spacing: .025em;
}
@media screen and (max-width:640px) {
    :root {
    --wp--preset--font-size--medium: 20px;
    }
}
@media screen and (min-width:1660px) {
    :root {
    --wp--preset--font-size--medium: 20px;
    }
}
.text-balance {
text-wrap: balance;
}

/* =Forms */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
width: 100%;
padding: .5rem;
font-size: var(--wp--preset--font-size--medium);
background-color: var(--wp--preset--color--midnight-lightest);
color: var(--wp--preset--color--gray-light);
border: 1px solid var(--wp--preset--color--midnight-light);
}
.form-required {
color: var(--color-red);
}
label {
text-transform: uppercase;
letter-spacing: .05em;
font-size: var(--wp--preset--font-size--small);
}


/* =Util */

.hide {
display: none;
}

.img-66vh,
.img-66vh img {
max-height: 66vh;
width: auto;
}
.img-50vh,
.img-50vh img {
max-height: 50vh;
width: auto;
}

/* =Components */

/* Posts */

.wp-block-post-title {
text-wrap: balance;
}

/* Complianz */

:root {
--cmplz_title_font_size: 24px !important;
--cmplz_button_border_radius: 0 !important;
--cmplz_button_font_size: 16px !important;
--cmplz_text_font_size: 16px !important;
--cmplz_text_line_height: 1.5em;
}
body .cmplz-cookiebanner {
max-width: 100%;
width: 900px;
z-index: 99;
margin: 0;
}
body .cmplz-header {
padding-bottom: 15px;
}
body .cmplz-cookiebanner .cmplz-close {
height: 40px;
width: 40px;
padding: 10px;
}
body .cmplz-cookiebanner .cmplz-close svg {
height: 20px;
width: 20px;
}
body .cmplz-cookiebanner .cmplz-close:hover {
line-height: 20px;
}
body .cmplz-cookiebanner .cmplz-buttons {
font-weight: bold;
}
body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
min-height: 0;
}
body .cmplz-cookiebanner {
grid-gap: 0;
}
body .cmplz-cookiebanner .cmplz-message,
body .cmplz-links a {
font-family: var(--wp--preset--font-family--mr-eaves);
padding-right: 20px;
}
body .cmplz-cookiebanner .cmplz-message {
margin-bottom: 15px;
}
body.cmplz-cookiebanner.cmplz-categories-type-view-preferences .cmplz-buttons, 
body .cmplz-cookiebanner.cmplz-categories-type-no .cmplz-buttons {
flex-direction: column;
}
@media screen and (min-width: 1024px) {
    body .cmplz-cookiebanner {
    left: 50%;
    transform: translateX(-50%);
    }
}
@media screen and (max-height: 400px) {
    body .cmplz-cookiebanner {
    zoom: 1;
    height: auto;
    }
}


/* Kadence Galleries */

/* .kb-gallery-item-link img {
transform: scale(1.00);
transition: all 0.3s ease;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.kb-gallery-item-link:hover img,
.kb-gallery-item-link:focus-visible img {
transform: scale(1.01);
transition: all 0.3s ease;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
} */

/* Kadence Gallery Lightbox */

.glightbox-container .gnext {
right: 0;
}
.glightbox-container .gprev {
left: 0;
}
.glightbox-container .gnext svg,
.glightbox-container .gprev svg {
display: none;
}
.glightbox-container .gclose svg {  
display: none;
}
.glightbox-container button.gclose::after,
.glightbox-container button.gnext::after,
.glightbox-container button.gprev::after {
font-family: 'Times New Roman', Times, serif;
color: #111;
font-size: 1.25rem;
/* color: var(--wp--preset--color--xxxxx); */
}
.glightbox-container button:hover.gclose::after,
.glightbox-container button:hover.gnext::after,
.glightbox-container button:hover.gprev::after,
.glightbox-container button:focus.gclose::after,
.glightbox-container button:focus.gnext::after,
.glightbox-container button:focus.gprev::after  {
color: #111;
/* color: var(--wp--preset--color--xxxxx); */
}
.glightbox-container button.gclose::after {
content: "\00D7";
display: block;
font-size: 2rem;
}
.glightbox-container button.gnext::after {
content: "\2192";
display: block;
}
.glightbox-container button.gprev::after {
content: "\2190";
display: block;
}
body .glightbox-kadence-dark {
background-color: #fff !important;
/* --glightbox-main-color: var(--wp--preset--color--cream) !important; */
}
body .goverlay {
background-color: #fff !important;
/* background-color: var(--wp--preset--color--cream) !important; */
}
body .glightbox-container .gclose {
top:0;
right:0;
padding-top: 10px;
padding-bottom: 10px;
}
body .glightbox-container .gclose, 
body .glightbox-container .gnext, 
body .glightbox-container .gprev {
background-color: transparent !important;
width: 50px;
text-align: center;
}
.glightbox-container .gslider {
padding: 60px;
}
body .glightbox-container .gslide-media {
box-shadow: none;
/* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); */
}
/* body .gbtn.focused {
outline-color: var(--wp--preset--color--xxxxx);
} */
body .gslide-image img {
max-height: calc(100vh - 80px);
}


/* categories menu */

:root :where(.wp-block-query-title span) {
font-style: normal;
}
.wp-block-categories-list {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
}
.wp-block-categories-list a {
text-transform: uppercase;
font-size: var(--wp--preset--font-size--small);
letter-spacing: 0.1em;
text-decoration-color: transparent;
text-underline-offset: 0.5em;
transition: all .35s ease;
}
.wp-block-categories-list a:hover,
.wp-block-categories-list a:focus-visible,
.current-cat a {
color: #fff;
text-decoration: underline;
text-decoration-color: var(--wp--preset--color--gold);
transition: all .35s ease;
}


/* posts block */

.wp-block-post h2 a {
text-decoration: underline;
/* text-decoration-color: var(--color-border-medium); */
text-decoration-thickness: 1px;
}
.wp-block-post h2 a:hover,
.wp-block-post h2 a:focus-visible {
text-decoration: underline;
/* text-decoration-color: var(--color-border-dark); */
text-decoration-thickness: 1px;
}
.post.type-post > figure {
padding-bottom: 0 !important;
}


/* search */

.wp-block-search__label {
position: absolute;
top: -10000px;
left: -10000px;
}

/* contact form 7 */

body .wpcf7 form.sent .wpcf7-response-output {
border-color: var(--color-primary-dark);
}

/* image block captions */

:root :where(.wp-element-caption, 
.wp-block-audio figcaption, 
.wp-block-embed figcaption, 
.wp-block-gallery figcaption, 
.wp-block-image figcaption, 
.wp-block-table figcaption, 
.wp-block-video figcaption) {
font-size: 1rem !important;
}

/* buttons */

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
background-color: var(--color-primary-dark);
}
button,
input[type="submit"] {
background-color: var(--wp--preset--color--gold);
border: 2px solid var(--wp--preset--color--gold);
border-radius: 0;
padding: 0.6em 1rem;
font-size: var(--wp--preset--font-size--small);
font-weight: 700;
text-transform: uppercase;
letter-spacing: .1em;
cursor: pointer;
transition: all .3s ease;
}
button:hover,
input[type="submit"]:hover,
button:focus-visible,
input[type="submit"]:focus-visible,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus-visible {
border-color: var(--wp--preset--color--gold-light);
background-color: var(--wp--preset--color--gold-light);
transition: all .3s ease;
}

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background) {
background-color: transparent;
color: var(--wp--preset--color--base);
border-color:  var(--wp--preset--color--gray-dark);
}
/* .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background):hover {
background-color: var(--wp--preset--color--contrast-2, var(--wp--preset--color--contrast, transparent));
color: var(--wp--preset--color--base);
border-color: var(--wp--preset--color--contrast-2, var(--wp--preset--color--contrast, currentColor));
} */
    