/*
Theme Name: Thryvewp Business
Theme URI: https://thryvewp.com/themes/thryvewp-business
Author: thryvewp
Author URI: https://thryvewp.com/
Description: Thryvewp Business is a modern and flexible Full Site Editing (FSE) WordPress theme designed for businesses, firms, consulting agencies, and professional services. It is fully compatible with WooCommerce and built with Gutenberg blocks for seamless customization. The theme offers a clean design, fast performance, and responsive layouts, making it ideal for corporate websites, startups, and online stores.
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.0
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thryvewp-business
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
*/

.has-highlited > * {
    padding: 10px 7px;
    border-radius: 5px;
}

.sticky-header {
    position: sticky;
    z-index: 9;
    top: 0;
}

.about-us-section > img,
.about-us-section .has-black-background-color {
    border-radius: 8px;
}

.about-us-section {
    overflow: visible;
}

.wp-block-button__link {
    transition: all 0.3s;
}

.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--button-hover-bg) !important;
    color: var(--wp--preset--color--button-hover-text-color) !important;
}

.faq-section details {
    border-radius: 5px;
}

.news-article-box .wp-block-post-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

footer.wp-block-template-part {
    margin-top: 0;
}

/* contact us section */

.contact-us form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.contact-us form textarea {
    width: 100%;
    max-height: 150px;
    background: #eee;
    padding: 10px;
    border: 1px solid #eee;
    max-width: 360px;
}
.contact-us form input.wpcf7-form-control {
    width: 100%;
    height: 30px;
    background: #eee;
    padding: 10px;
    border: 1px solid #eee;
    max-width: 360px;
}

.contact-us input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #000;
    color: #fff;
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
    width: 150px;
}


/* sidebar*/

ul.wp-block-latest-posts__list.wp-block-latest-posts li {
    margin-bottom: 20px;
}
ul.wp-block-latest-posts__list.wp-block-latest-posts li .wp-block-latest-posts__post-title {
    font-weight: 600;
}

@media (max-width: 720px) {
    #main-header .wp-block-social-links,
    #main-header .header-button {
        display: none;
    }
}


/* sub menu style for desktop */

@media (min-width: 920px) {

    .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;
        border: 0 !important;
        overflow: hidden !important;
    }


}