/*
Theme Name: Thryve Biz
Theme URI: https://thryvewp.com/themes/thryve-biz
Author: thryvewp
Author URI: https://thryvewp.com/
Description: Thryve Biz is a modern and versatile Full Site Editing (FSE) WordPress theme designed for businesses, consulting firms, agencies, and professional service providers. Built entirely with Gutenberg blocks, it enables easy, code-free customization while maintaining a clean design, fast performance, and fully responsive layouts. With full WooCommerce compatibility, Thryve Biz makes it simple to build corporate websites, service-based platforms, and professional online stores, making it a reliable choice for startups, growing companies, and established enterprises seeking a flexible and polished web presence.
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.0
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thryve-biz
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations,  blog, portfolio, education
*/

html {
	scroll-behavior: smooth;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    border: 1px solid #ffffff;
}

.sticky-header {
  position: sticky;
  z-index: 9;
  top: 0;
}

footer.wp-block-template-part {
  margin-top: 0;
}

.thryve-biz-no-underline a {
  text-decoration: none;
}

/* sub menu style for desktop */

@media (min-width: 599px) {
  .main-header ul.wp-block-navigation__submenu-container li {
    border-bottom: 1px solid #eee;
  }

  .main-header ul.wp-block-navigation__submenu-container {
    border-radius: 5px !important;
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
}

/* navigation link hover css */

@media (min-width: 1024px) {

  /* Navigation links */
  .wp-block-navigation__container a {
    position: relative;
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
  }

  /* Underline line */
  .wp-block-navigation__container a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--wp--preset--color--primary);
    transition: width 0.3s ease;
  }

  /* Hover underline slides from left to right */
  .wp-block-navigation__container a:hover::after {
    width: 100%;
  }

  /* Active (current page) underline */
  .wp-block-navigation__container .is-active>a::after,
  .wp-block-navigation__container .current-menu-item>a::after {
    width: 100%;
  }

  /* Optional: active link color */
  .wp-block-navigation__container .is-active>a,
  .wp-block-navigation__container .current-menu-item>a {
    color: var(--wp--preset--color--primary);
  }
}

/* pagination css */

.page-numbers {
  padding: 0 10px 10px;
  text-decoration: none;
}

.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
  text-decoration: none;
}

.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover {
  color: var(--wp--preset--color--primary);
}

.page-numbers.current,
.page-numbers:hover {
  border-bottom: 1px solid var(--wp--preset--color--primary);
}


/* sidebar css */

.wp-block-categories-list a:hover,
.wp-block-latest-posts__post-title:hover {
  color: var(--wp--preset--color--primary);
}

.wp-block-latest-posts.wp-block-latest-posts__list{
	overflow: hidden;
}

/* search css */

.wp-block-search__inside-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.wp-block-search__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #8d8d8d;
  background: transparent !important;
  padding: 8px 35px 8px 0;
  font-size: 14px;
  color: #000;
  outline: none;
  border-radius: 0 !important;
}

.wp-block-search__input::placeholder {
  color: #000;
}

.wp-block-search__button {
  position: absolute;
  right: 0;
  background: transparent !important;
  border: none;
  padding: 0 !important;
  cursor: pointer;
}

.wp-block-search__button svg {
  width: 16px;
  height: 16px;
  fill: #000;
}

/* contact us section */

.contact-us form label, 
.contact-us form input::placeholder,
.contact-us form textarea::placeholder {
	color: #ffffff;
}


.contact-us form input.wpcf7-form-control,
.contact-us form textarea {
  width: -webkit-fill-available;
  height: 30px;
  background: transparent;
  padding: 10px;
  border: 1px solid #a4a4a4;
  max-width: 100%;
  border-radius: 5px;
  margin-top: 10px;
  font-family: inherit;
  color: #ffffff;
}

.contact-us form textarea {
  height: 100px;
}

.contact-us input.wpcf7-form-control.wpcf7-submit.has-spinner {
  background: #ffffff;
  color: #000000;
  height: 50px;
  border-radius: 50px;
  cursor: pointer;
  width: 120px;
  border: none;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: inherit;
}

/* responsive style */

@media (max-width: 768px) {
  .wp-block-site-logo img {
    width: 170px;
  }

  .thryve-biz-header-btn {
    display: none !important;
  }

  .thryve-biz-banner-header {
    font-size: 36px !important;
  }

  .responsive-spacing {
    padding: 60px 20px !important;
  }

  .responsive-image {
    min-height: 300px !important;
  }

  .wp-block-button__link {
    padding: 10px 20px !important;
  }

  .thryve-biz-section-title-wrapper {
    padding-bottom: 40px !important;
  }

  .footer-wrapper {
    padding: 40px 0 !important;
  }

	.service-spacing{
		padding: 30px !important;
	}
}