/*
Theme Name: Frost
Theme URI: https://frostwp.com/
Author: WP Engine
Author URI: https://wpengine.com/
Description: With its clean, minimal design and powerful feature set, Frost enables agencies to build stylish and sophisticated WordPress websites. Frost is a masterpiece of design and functionality. It features a range of valuable patterns, including hero and portfolio sections, prominent call-to-action buttons, and customer testimonials. Whether you’re building a website for your business, personal brand, or creative project, Frost is perfect for anyone looking to launch quickly and efficiently.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frost

Frost WordPress Theme, (C) 2022-2023 WP Engine.
Frost is distributed under the terms of the GNU GPL.
*/

/* Defaults
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type='button'],
input[type='submit'],
textarea:focus,
.wp-element-button {
    transition: all 0.2s ease-in-out;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
    text-decoration-thickness: 1px;
    line-break: anywhere;
}

.wp-block-post-title a {
    line-break: auto !important;
    text-decoration: none;
}

a:focus,
a:hover {
    opacity: 0.75;
}

.wp-element-button:hover {
    opacity: 0.75;
}

li > a:hover {
    opacity: 0.75;
}

b,
strong,
th {
    font-weight: var(--wp--custom--font-weight--medium);
}

mark {
    background: linear-gradient(
        90deg,
        var(--wp--preset--color--primary) 0%,
        var(--wp--preset--color--primary) 100%
    );
    background-position: 0 85%;
    background-repeat: repeat-x;
    background-size: 100% 15%;
}

/* Forms
--------------------------------------------- */

input,
select,
textarea {
    background-color: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--contrast);
    border-radius: 0;
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--font-weight--light);
    line-height: var(--wp--custom--line-height--body);
    padding: 10px 20px;
    width: 100%;
}

input:focus,
textarea:focus {
    background-color: var(--wp--preset--color--neutral);
    outline: none;
}

input[type='checkbox'],
input[type='image'],
input[type='radio'] {
    width: auto;
}

input[type='button'],
input[type='email'],
input[type='search'],
input[type='submit'],
input[type='text'],
textarea {
    -webkit-appearance: none;
}

::placeholder {
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--small);
    opacity: 0.5;
}

.ginput_container_fileupload input {
    font-size: 16px;
}

.gform_button {
    cursor: pointer;
    background-color: var(--wp--preset--color--primary);
    border-radius: 5px;
    border-width: 0;
    color: var(--wp--preset--color--black);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--x-small);
    font-weight: var(--wp--custom--font-weight--regular);
    line-height: inherit;
    padding-top: 15px;
    padding-right: 30px;
    padding-bottom: 15px;
    padding-left: 30px;
    text-decoration: none;
}

.gform_button:hover {
    opacity: 0.75;
}

/* Blocks
---------------------------------------------------------------------------- */

/* Custom
--------------------------------------------- */

@media (max-width: 781px) {
    .section-image-height {
        min-height: 300px !important;
    }
}

/* Carousel
--------------------------------------------- */

.glide__slides :not(.glide__slide--active) {
    opacity: 0.75;
    padding: 30px;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
}

.glide__slide.glide__slide--active img {
    opacity: 1;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
}

.glide__arrows {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: 50%;
}

@media (max-width: 900px) {
    .glide__arrows {
        top: 100%;
    }
}

.glide__arrow {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
}

.glide__arrow > svg {
    width: 60px;
}

@media (max-width: 900px) {
    .glide__arrow > svg {
        width: 40px;
    }

    .glide__arrow--left {
        position: absolute;
        left: -20px;
        bottom: -24px;
    }

    .glide__arrow--right {
        position: absolute;
        right: -20px;
        bottom: -24px;
    }
}

/* Code
--------------------------------------------- */

*:not(.wp-block-code) > code {
    background-color: var(--wp--preset--color--neutral);
    font-size: var(--wp--preset--font-size--small);
    padding: 5px 8px;
}

.is-reusable {
    max-width: 1200px !important;
}

.is-layout-constrained * + * {
    margin-block-start: 0 !important;
}

.is-style-columns-reverse {
    flex-direction: row-reverse;
}

.wp-block-columns {
    margin-bottom: 0 !important;
}

@media (max-width: 780px) {
    .is-style-columns-reverse {
        flex-direction: column !important;
    }

    .is-style-columns-half-mobile:not(.is-not-stacked-on-mobile)
        > .wp-block-column {
        flex-basis: 50% !important;
    }
}

/* Group
--------------------------------------------- */

.wp-block-group.is-style-shadow-light {
    box-shadow: var(--wp--preset--shadow--light);
}

.wp-block-group.is-style-shadow-solid {
    box-shadow: var(--wp--preset--shadow--shadow);
}

/* Image
--------------------------------------------- */

.wp-block-image.is-style-shadow-light img {
    box-shadow: var(--wp--preset--shadow--light);
}

.wp-block-image.is-style-shadow-solid img {
    box-shadow: var(--wp--preset--shadow--solid);
}

/* List
--------------------------------------------- */

.is-style-no-disc {
    list-style-type: none;
    padding-left: 0;
}

/* Navigation
--------------------------------------------- */

.wp-block-navigation__responsive-container.is-menu-open {
    padding-bottom: 30px;
    padding-top: 30px;
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
    border: 1px solid currentColor;
    padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
    color: var(--wp--preset--color--primary);
}

.wp-block-pages-list__item__link:hover {
    color: var(--wp--preset--color--primary) !important;
}

/* Navigation Submenu
--------------------------------------------- */

.wp-block-navigation:not(.has-background)
    .wp-block-navigation__submenu-container {
    background-color: var(--wp--preset--color--contrast);
    border: var(--wp--preset--color--contrast);
    color: var(--wp--preset--color--base);
    padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
    padding: 2px 10px;
}

/* Quote
--------------------------------------------- */

.wp-block-quote.is-style-shadow-light {
    box-shadow: var(--wp--preset--shadow--light);
}

.wp-block-quote.is-style-shadow-solid {
    box-shadow: var(--wp--preset--shadow--solid);
}
