/*
Theme Name: Thryve Biz Light
Theme URI:https://thryvewp.com/themes/thryve-biz
Author: thryvewp
Author URI: https://thryvewp.com/
Description: Thryve Biz Light 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 Light 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.
Template: thryve-biz
Requires at least: 6.5
Tested up to: 7.0
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-light
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: #148b79 !important;
    color: #fff !important;
    border: 1px solid #148b79;
}

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

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

.thryve-biz-light-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-light-header-btn {
    display: none !important;
  }

  .thryve-biz-light-banner-header {
    font-size: 36px !important;
  }

  .responsive-image {
    min-height: 300px !important;
  }
}

/* thryve biz light css */

.thryve-biz-has-box-shadow{
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
/* ── Avagnina Studio custom overrides ───────────────────────────── */

/* Sticky header */
.avagnina-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid #e2e2de;
}

/* Nav links: thin weight, mono font, no underline animation on mobile */
.avagnina-header .wp-block-navigation__container a {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 400;
  color: #3d3d3d;
}
.avagnina-header .wp-block-navigation__container a:hover { color: #141414; }
.avagnina-header .wp-block-navigation__container a::after { background: #1a3a5c; }

/* Logo subtitle (site tagline in header) */
.avagnina-logo-sub {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #3d3d3d;
  line-height: 1.4;
}

/* Section labels (mono uppercase with accent line) */
.avagnina-section-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a3a5c;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avagnina-section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #1a3a5c;
  flex-shrink: 0;
}

/* Tag badges (role tags in hero) */
.avagnina-tag {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3d3d3d;
  border: 1px solid #c8c6c0;
  padding: 4px 10px;
  display: inline-block;
}

/* Service card number */
.avagnina-card-num {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: #6a6a6a;
}

/* Service card accent bar */
.avagnina-card-bar {
  width: 32px;
  height: 2px;
  background: #1a3a5c;
  margin: 12px 0 16px;
}

/* Dark section text (projects) */
.avagnina-dark-section .wp-block-heading,
.avagnina-dark-section p { color: rgba(255,255,255,.85); }

/* Project card */
.avagnina-proj-year {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  color: #8ab0d0;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.avagnina-proj-client {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  color: rgba(255,255,255,.4);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Override teal primary to blue in navigation active underline */
.wp-block-navigation__container .is-active > a,
.wp-block-navigation__container .current-menu-item > a {
  color: #1a3a5c !important;
}
.wp-block-navigation__container .is-active > a::after,
.wp-block-navigation__container .current-menu-item > a::after {
  background: #1a3a5c !important;
}

/* Remove rounded corners from all buttons globally */
.wp-block-button__link,
.wp-element-button {
  border-radius: 0 !important;
}

/* Outline button hover override */
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #1a3a5c !important;
  border-color: #1a3a5c !important;
}

/* Credential card */
.avagnina-cred {
  border: 1px solid #c8c6c0;
  padding: 16px 18px;
}
.avagnina-cred-title {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
}
.avagnina-cred-body {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10px;
  color: #6a6a6a;
  letter-spacing: 0.5px;
}

/* CTA strip */
.avagnina-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ── Footer: override colori per leggibilità su sfondo scuro ─────── */

/* Tutti i testi e paragrafi nel footer */
footer.wp-block-template-part p,
footer.wp-block-template-part li,
footer.wp-block-template-part span {
  color: rgba(255,255,255,.85);
}

/* Link generici nel footer (inclusi i paragrafi con <a>) */
footer.wp-block-template-part a,
footer.wp-block-template-part .wp-block-paragraph a {
  color: rgba(255,255,255,.85) !important;
  text-decoration: none !important;
}
footer.wp-block-template-part a:hover,
footer.wp-block-template-part .wp-block-paragraph a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Site title nel footer */
footer.wp-block-template-part .wp-block-site-title a,
footer.wp-block-template-part .wp-block-site-title a:link,
footer.wp-block-template-part .wp-block-site-title a:visited {
  color: #ffffff !important;
}
footer.wp-block-template-part .wp-block-site-title a:hover {
  color: #8ab0d0 !important;
}

/* Blocchi Navigation nel footer (salvaguardia se usati in futuro) */
footer.wp-block-template-part .wp-block-navigation a,
footer.wp-block-template-part .wp-block-navigation-item__content,
footer.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__label {
  color: rgba(255,255,255,.85) !important;
}
footer.wp-block-template-part .wp-block-navigation a:hover {
  color: #ffffff !important;
}
/* ─────────────────────────────────────────────────────────────────── */

/* ── Banner Cookie GDPR ─────────────────────────────────────────── */
#avagnina-cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,.12);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

#avagnina-cookie-banner.avagnina-cookie-banner--visible {
  display: block;
  transform: translateY(0);
}

.avagnina-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.avagnina-cookie-text {
  flex: 1;
  min-width: 260px;
  font-family: var(--wp--preset--font-family--mono, monospace);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .3px;
  color: rgba(255,255,255,.75);
  margin: 0;
}

.avagnina-cookie-link {
  color: #8ab0d0;
  text-decoration: underline;
  white-space: nowrap;
}
.avagnina-cookie-link:hover {
  color: #ffffff;
}

.avagnina-cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.avagnina-cookie-btn {
  font-family: var(--wp--preset--font-family--mono, monospace);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  padding: 9px 20px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.avagnina-cookie-btn--accept {
  background: #1a3a5c;
  color: #ffffff;
  border-color: #1a3a5c;
}
.avagnina-cookie-btn--accept:hover {
  background: #8ab0d0;
  border-color: #8ab0d0;
  color: #1a1a1a;
}

.avagnina-cookie-btn--decline {
  background: transparent;
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.25);
}
.avagnina-cookie-btn--decline:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,.7);
}

@media (max-width: 600px) {
  .avagnina-cookie-inner {
    padding: 16px 20px;
    flex-direction: column;
    gap: 14px;
  }
  .avagnina-cookie-actions {
    width: 100%;
  }
  .avagnina-cookie-btn {
    flex: 1;
    text-align: center;
  }
}
/* ─────────────────────────────────────────────────────────────────── */
