  /*
Theme Name: 红牛资源
Theme URI: https://frostwp.com/
Author: NewCity
Author URI: https://insidenewcity.com/
Description: 红牛资源 based on Frost. 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鈥檙e 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.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frost
*/

/* 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;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

mark {
  background: linear-gradient(
    90deg,
    var(--wp--preset--color--maroon) 0%,
    var(--wp--preset--color--maroon) 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;
}

/* -- Backgrounds -- */

.has-bkg-paintstroke {
  background: url("/wp-content/themes/vt-foundation/assets/images/bkg_75th_paintstroke.png") no-repeat center;
  background-size: auto 100%;
}

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

/* -- Buttons -- */

.wp-block-button.large .wp-block-button__link {
  font-size: var(--wp--preset--font-size--large);
  padding: 18px;
}

.wp-block-button.small .wp-block-button__link {
  font-size: var(--wp--preset--font-size--small);
  padding: 14px;
}

.wp-block-button.is-style-dark .wp-block-button__link {
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  border-color: var(--wp--preset--color--base);
}

.wp-block-button.is-style-dark .wp-block-button__link:focus,
.wp-block-button.is-style-dark .wp-block-button__link:hover {
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
}

/* Remove the default blue highlight on mobile for the search button */
.wp-block-search__button {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
  outline: none !important;
}

/* Make the search button's background light gray initially for ios devices which default to apple system blue */
:where(.wp-block-search__button) {
  background-color: #efefef;
}

/* -- Code -- */

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

/* -- Fancy Link -- */

ul.is-style-fancy-link-list {
  list-style: none;
  padding-left: 0;
  font-weight: var(--wp--custom--font-weight--semi-bold);
}
ul.is-style-fancy-link-list li a {
  text-decoration: none;
  margin-bottom: var(--wp--preset--spacing--x-small);
  display: inline-block;
}

ul.is-style-fancy-link-list li a:hover,
ul.is-style-fancy-link-list li a:focus {
  color: var(--wp--preset--color--contrast);
}

ul.is-style-fancy-link-list li a:hover:after,
ul.is-style-fancy-link-list li a:focus:after {
  background-color: var(--wp--preset--color--contrast);
}

ul.is-style-fancy-link-list li a:after {
  transition: all 0.2s ease-in-out;
  content: "";
  display: inline-block;
  width: 18px;
  height: 11px;
  -webkit-mask: url("/wp-content/themes/vt-foundation/assets/svg/icon_arrow_left.svg") no-repeat center;
  mask: url("/wp-content/themes/vt-foundation/assets/svg/icon_arrow_left.svg") no-repeat center;
  -webkit-mask-size: cover;
  mask-size: cover;
  background-color: var(--wp--preset--color--bronze);
  margin-left: 5px;
}

footer ul.is-style-fancy-link-list li a:after {
  display: none;
}

footer ul.vtf-privacy-menu {
  display: flex;
  flex-wrap: wrap;
}

footer ul.vtf-privacy-menu li:after {
  content: " 路 ";
  display: inline-block;
  margin-right: var(--wp--preset--spacing--x-small);
  margin-left: var(--wp--preset--spacing--x-small);
}

footer ul.vtf-privacy-menu li:first-child {
  margin-left: 0;
}
footer ul.vtf-privacy-menu li:last-child {
  margin-right: 0;
}
footer ul.vtf-privacy-menu li:last-child:after {
  content: "";
}

footer .has-maroon-background-color .is-style-fancy-link-list a:hover,
footer .has-maroon-background-color .is-style-fancy-link-list a:focus {
  color: var(--wp--preset--color--base);
}
footer .has-maroon-background-color .is-style-fancy-link-list a:hover:after,
footer .has-maroon-background-color .is-style-fancy-link-list a:focus:after {
  background-color: var(--wp--preset--color--base);
}

@media (max-width: 780px) {
  footer ul.vtf-privacy-menu {
    flex-direction: column;
  }
  footer .vtf-footer-dark a {
    display: inline-block;
    margin-bottom: var(--wp--preset--spacing--x-small);
  }
  footer .vtf-footer-dark .wp-block-columns {
    gap: 0;
  }
  footer ul.vtf-privacy-menu li:after {
    display: none;
  }
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
  padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content {
  padding-top: var(--wp--custom--spacing--gap);
}

.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--base);
}

/* -- Navigation Submenu -- */

.vtf-main-nav
  .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;
}

.vtf-main-nav > ul > .wp-block-navigation-item__content,
.vtf-main-nav > li > .wp-block-navigation-item__content {
  text-transform: uppercase;
}

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

@media (max-width: 782px) {
  footer.site-footer .wp-block-columns .has-text-align-center,
  footer.site-footer .wp-block-columns .has-text-align-right {
    text-align: left;
  }
}

.vtf-main-nav button.wp-block-navigation__responsive-container-open,
.vtf-main-nav button.wp-block-navigation__responsive-container-close {
  color: var(--wp--preset--color--base);
  background-color: #b88d6f;
  border-radius: 50px;
}

.vtf-main-nav .wp-block-navigation__responsive-container-close svg,
.vtf-main-nav .wp-block-navigation__responsive-container-open svg {
  width: 40px;
  height: 40px;
}

.vtf-main-nav
  .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content {
  padding-top: 100px;
}

.site-header figure + .wp-block-group {
  margin-left: auto;
}

header.site-header:after {
  content: "";
  display: block;
  max-width: 100%;
  height: 12px;
  background: linear-gradient(
    90deg,
    #e0bc9b -1.21%,
    #e0bc9b 4.85%,
    #b17f58 25.06%,
    #e0bc9b 55.37%,
    #b17f58 81.64%,
    #c99a79 113.97%,
    #af8263 142.26%,
    #ddba99 170.55%,
    #aa8263 200.86%
  );
}

@media (max-width: 1270px) {
  .vtf-home-page-hero .wp-block-media-text {
    grid-template-columns: 100%;
  }
  .vtf-home-page-hero .wp-block-media-text__content {
    grid-column: 1;
    grid-row: 1;
  }
  .vtf-home-page-hero .wp-block-media-text__media {
    grid-column: 1;
    grid-row: 2;
  }
}

.vtf-main-nav.wp-block-navigation {
  gap: 0;
}
.vtf-main-nav > li.wp-block-navigation-item {
  padding-bottom: 11px;
}
.vtf-main-nav > li.wp-block-navigation-item:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background: #dfe2e2;
  margin-right: 15px;
  margin-left: 15px;
}
.vtf-main-nav > li.wp-block-navigation-item:first-child:before {
  display: none;
}

@media (max-width: 1370px) {
  .vtf-main-nav > li.wp-block-navigation-item {
    margin-right: 15px;
    margin-left: 15px;
  }

  .vtf-main-nav > li.wp-block-navigation-item:before {
    display: none;
  }
}

.vtf-main-nav > li.wp-block-navigation-item a:hover,
.vtf-main-nav > li.wp-block-navigation-item button:focus {
  color: #283e39;
  stroke: #283e39;
}

.vtf-main-nav > li.wp-block-navigation-item li.wp-block-navigation-item a:hover,
.vtf-main-nav > li.wp-block-navigation-item li.wp-block-navgation-item a:focus {
  color: #283e39;
}

.vtf-main-nav.wp-block-navigation
  .wp-block-navigation__container
  .has-child
  .wp-block-navigation__submenu-container {
  padding: 20px;
  border-top: 4px solid #dfe2e2;
  transition: all 0s linear;
}
.vtf-main-nav.wp-block-navigation
  .wp-block-navigation__container
  .has-child
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item {
  margin-top: var(--wp--preset--spacing--small);
}

.vtf-main-nav.wp-block-navigation
  .wp-block-navigation__container
  .has-child
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item:first-child {
  margin-top: 0;
}
.vtf-main-nav .wp-block-navigation .wp-block-navigation__submenu-icon {
  width: 1em;
  height: 1em;
}
.vtf-main-nav .wp-block-navigation .wp-block-navigation__submenu-icon svg {
  width: 1em;
  height: 1em;
  margin-top: 0;
}

.nav-icon-search a:after,
.nav-icon-portal a:after {
  transition: all 0.2s ease-in-out;
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  -webkit-mask: url("/wp-content/themes/vt-foundation/assets/svg/icon_search.svg") no-repeat center;
  mask: url("/wp-content/themes/vt-foundation/assets/svg/icon_search.svg") no-repeat center;
  -webkit-mask-size: cover;
  mask-size: cover;
  background-color: var(--wp--preset--color--bronze);
  margin-left: 5px;
}
.nav-icon-portal a,
.nav-icon-search a {
  text-decoration: none;
}
.nav-icon-portal a:hover,
.nav-icon-portal a:focus,
.nav-icon-search a:hover,
.nav-icon-search a:focus {
  text-decoration: underline;
}

.nav-icon-portal a:after {
  -webkit-mask: url("/wp-content/themes/vt-foundation/assets/svg/icon_login.svg") no-repeat center;
  mask: url("/wp-content/themes/vt-foundation/assets/svg/icon_login.svg") no-repeat center;
  width: 14px;
  height: 12px;
}

footer .nav-icon-portal a:after {
  background-color: var(--wp--preset--color--bronze-100);
}

.vtf-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--wp--preset--color--bronze-200);
}

.vtf-icon img {
  padding: 15px;
  width: 30px;
  height: 30px;
}

.vtf-feature-boxes {
  .wp-block-column {
    .wp-block-heading {
      font-size: var(--wp--preset--font-size--max-35);
    }
    p {
      font-size: var(--wp--preset--font-size--medium);
    }
  }
}

@media (max-width: 960px) {
  .vtf-feature-two-thirds.wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column,
  .vtf-feature-fifty-fifty.wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column,
  .vtf-feature-boxes
    .wp-block-columns:not(.is-not-stacked-on-mobile)
    > .wp-block-column {
    flex-basis: 100% !important;
  }
  .vtf-feature-boxes .wp-block-columns,
  .vtf-feature-fifty-fifty.wp-block-columns,
  .vtf-feature-two-thirds.wp-block-columns {
    flex-wrap: wrap !important;
  }
}

.vtf-fast-facts .wp-block-column {
  border-left: 2px solid #d0d5d3;
}
.vtf-fast-facts .wp-block-column:first-child {
  border-left: none;
}

.vtf-fast-facts .wp-block-columns + .wp-block-columns {
  padding-top: 0 !important;
}
@media (max-width: 782px) {
  .vtf-fast-facts .wp-block-columns + .wp-block-columns {
    margin-top: calc(var(--wp--preset--spacing--x-small) * -1) !important;
  }

  .vtf-fast-facts .wp-block-column:last-child {
    border-bottom: none;
  }

  .vtf-fast-facts
    .wp-block-columns
    + .wp-block-columns
    .wp-block-column:last-child {
    border-bottom: none;
  }

  .vtf-fast-facts
    .wp-block-columns
    + .wp-block-columns
    .wp-block-column:first-child {
    border-top: 2px solid #d0d5d3;
  }
}

@media (max-width: 782px) {
  .vtf-fast-facts .wp-block-column {
    border-bottom: 2px solid #d0d5d3;
    border-left: none;
  }
  .vtf-fast-facts .wp-block-column:first-child {
    border-left: none;
  }
  .vtf-fast-facts .wp-block-column h2 {
    margin-top: var(--wp--preset--spacing--medium);
  }
}

@media (max-width: 600px) {
  header p.nav-icon-portal {
    display: none;
  }
  header nav.vtf-main-nav {
    margin-top: 0;
  }
  .vtf-main-nav > li.wp-block-navigation-item:before {
    display: none;
  }
}

/* -- Media & Text -- */

@media (min-width: 600px) and (max-width: 1024px) {
  .has-white-to-bronze-gradient-background
    + .wp-block-cover__inner-container
    .wp-block-media-text__content
    .wp-block-heading:first-of-type {
    margin-top: calc(10% + 30px);
  }
}

@media (max-width: 600px) {
  .has-white-to-bronze-gradient-background {
    --wp--preset--gradient--white-to-bronze: linear-gradient(
      180deg,
      #f4eeea 10%,
      #decabc 100%
    );
  }
  .wp-block-media-text.is-style-mobile-reverse .wp-block-media-text__media {
    grid-row: 2;
  }
  .wp-block-media-text.is-style-mobile-reverse .wp-block-media-text__content {
    grid-row: 1;
  }
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {
  /* -- Utility -- */

  .is-style-hidden-mobile {
    display: none !important;
  }
}

@media only screen and (max-width: 782px) {
  /* -- Columns -- */

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

@media only screen and (min-width: 1270px) {
  .vtf-main-nav {
    display: flex !important;
  }
  .vtf-main-nav.vtf-main-nav-mobile {
    display: none !important;
  }

  .vtf-hidden-desktop {
    display: none !important;
  }
}

@media only screen and (max-width: 1270px) {
  .vtf-main-nav.vtf-main-nav-mobile {
    display: flex !important;
  }
  .vtf-main-nav {
    display: none !important;
  }

  header p.nav-icon-portal,
  header p.nav-icon-search {
    display: none;
  }
  header nav.vtf-main-nav {
    margin-top: 0;
  }
}
