/*
Theme Name: Thryve Click
Theme URI: https://thryvewp.com/themes/thryve-click
Author: thryvewp
Author URI: https://thryvewp.com/
Description: Thryve Click is a modern Full Site Editing (FSE) WordPress theme built for businesses, corporations, agencies, and service providers. Featuring a clean, professional design, fast performance, and fully responsive layouts, it offers effortless customization through Gutenberg blocks without requiring coding skills. With WooCommerce compatibility, Thryve Click is ideal for corporate websites, service-based businesses, and online stores, providing a flexible and scalable foundation for businesses of all sizes.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thryve-click
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--black);
  color: var(--wp--preset--color--white);
  border: 1px solid #000000;
}

.sticky-header {
  position: sticky;
  z-index: 9;
  top: 0;
}

footer.wp-block-template-part {
  margin-top: 0;
}

.thryve-click-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;
}

/* additonal css */

footer a, .thryve-has-no-underline a {
	text-decoration: none !important;
}

.thryve-has-box-shadow{
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* responsive styles */

@media (max-width: 768px){
	
	.thryve-no-mobile{
		display: none !important;
	}
	.thryve-res-img{
		min-height: 250px !important;
	}
  .custom-logo-link img{
    width: 150px !important;
  }
}
