/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* =========================================
   TABLE OF CONTENTS
   01. Fonts
   02. Variables
   03. Global Styles & Typography
   04. Utilities & Links
   05. Buttons
   06. Components (Hero, Feature Tabs)
   07. Third-Party Overrides (Video, YouTube Lyte, Google Translate)
   ========================================= */

/* =========================================
   01. FONTS
   ========================================= */
/* Register Local Fonts */

/* ==========================================
   GRAPHIK FONT FAMILY
   ========================================== */
@font-face {
  font-family: 'Graphik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/bootscore-child/assets/fonts/Graphik/Graphik-Regular-Web.woff2') format('woff2');
}
@font-face {
  font-family: 'Graphik';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/wp-content/themes/bootscore-child/assets/fonts/Graphik/Graphik-Medium-Web.woff2') format('woff2');
}
@font-face {
  font-family: 'Graphik';
  font-style: normal;
  font-weight: 700; /* Mapped to 700 so Bootstrap's fw-bold uses this file */
  font-display: swap;
  src: url('/wp-content/themes/bootscore-child/assets/fonts/Graphik/Graphik-Semibold-Web.woff2') format('woff2');
}

/* ==========================================
   MAGAZINE GROTESQUE FONT FAMILY
   ========================================== */
@font-face {
  font-family: 'MagazineGrotesque';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/bootscore-child/assets/fonts/MagazineGrotesque/MagazineGrotesque-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'MagazineGrotesque';
  font-style: normal;
  font-weight: 700; /* Mapped to 700 so Bootstrap's fw-bold uses this file */
  font-display: swap;
  src: url('/wp-content/themes/bootscore-child/assets/fonts/MagazineGrotesque/MagazineGrotesque-SemiBold.woff2') format('woff2');
}

/* ==========================================
   FONT AWESOME
   ========================================== */
@font-face {
  font-family: 'Font Awesome 7 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'FontAwesome';
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-solid-900.woff2') format('woff2');
}

/* ==========================================
   FONT AWESOME BRANDS (Versions 5, 6, 7)
   ========================================== */
@font-face {
  font-family: 'Font Awesome 7 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-brands-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-brands-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 5 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-brands-400.woff2') format('woff2');
}

/* ==========================================
   FONT AWESOME REGULAR (Versions 5, 6, 7)
   ========================================== */
@font-face {
  font-family: 'Font Awesome 7 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-regular-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-regular-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/wp-content/themes/bootscore/assets/fontawesome/webfonts/fa-regular-400.woff2') format('woff2');
}


/* =========================================
   02. VARIABLES
   ========================================= */
:root {
    /* Primary (Dark Blue) */
    --bs-primary: #5c6981;
    --bs-primary-rgb: 0, 108, 155;
    
    /* Secondary (Light Cyan Blue) */
    --bs-secondary: #f4b42b;
    --bs-secondary-rgb: 0, 155, 223;

    /* FONTS SWAPPED */
    --bs-body-font-family: 'Graphik', sans-serif;
    --bs-heading-font-family: 'MagazineGrotesque', sans-serif;

    /* Custom Colors */
    --wc-blue: #f4b42b;
    --wc-dark-blue: #0b1c3e;
    --wc-text-grey: #43484d;
}


/* =========================================
   03. GLOBAL STYLES & TYPOGRAPHY
   ========================================= */
/* Main Page */
#page {
    min-height: auto !important;
}

/* Native smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    --bs-body-font-size: 18px;
    top: 0 !important;
    position: static !important;
}
/* Fix horizontal overflow gap on mobile screens */
#page {
    min-height: auto !important;
    overflow-x: hidden; /* This locks the horizontal scroll safely */
}
main.site-main > p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.goog-te-banner-frame, 
  .skiptranslate, 
  .goog-te-gadget-icon,
  .VIpgJd-ZVi9od-ORHb, 
  iframe.goog-te-banner-frame {
      display: none !important;
      visibility: hidden !important;
      height: 0 !important;
      top: 0 !important;
      position: static !important;
  }
#goog-gt-tt, .goog-te-balloon-frame {
      display: none !important;
}
.goog-text-highlight {
      background: none !important;
      box-shadow: none !important;
}

/* Force Font Assignment */
body, p, li, a, span, input, button, .dropdown-item {
    font-family: var(--bs-body-font-family);
    color: #081126 !important;
}

/* Typography Classes */
.small, .small-400 {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}
.x-small {
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
}
strong, .strong {
    font-weight: 600 !important;
}
h2, h3, h4, h5, h6, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--bs-heading-font-family);
    font-size: 32px !important;
    color: #5c6981 !important;
}
h1, .h1 {
    font-family: var(--bs-heading-font-family);
    font-size: 48px !important;
    font-weight: 400 !important;
    color: #5c6981 !important;
}
.header-extra-oversized {
    font-family: var(--bs-heading-font-family);
    font-size: 55px !important;
    font-weight: 600 !important;
    line-height: 55px !important;
}
.header-extra {
    font-family: var(--bs-heading-font-family);
    font-size: 48px !important;
    font-weight: 600 !important;
    line-height: 48px !important;
}
.header-extra-md {
    font-family: var(--bs-heading-font-family);
    font-size: 36px !important;
    font-weight: 600 !important;
}
.header-extra-sm {
    font-family: var(--bs-heading-font-family);
    font-size: 24px !important;
    font-weight: 600 !important;
}
.display-4, .display-5 {
    color: #5c6981 !important;
}

.header-cards-thin {
    font-family: var(--bs-heading-font-family);
    font-size: 24px !important;
    font-weight: 400 !important;
    color: #5c6981 !important;
}

/* Fix WP Admin Bar Colors */
#wpadminbar a.ab-item,
#wpadminbar span.ab-label,
#wpadminbar span.ab-icon:before {
    color: #ffffff !important;
}
#wpadminbar a.ab-item:hover,
#wpadminbar .ab-item:hover span.ab-label,
#wpadminbar .ab-item:hover span.ab-icon:before {
    color: #72aee6 !important; /* Standard WordPress Blue */
}
.smart-footer-list li {
margin-bottom: 10px;
}

#desktop-nav .navbar-nav .nav-link {
    white-space: nowrap;
}

.tech-specs li {
margin-bottom: 10px;
}

/* Remove default bullets from the list */
.tech-specs ul {
    list-style-type: none;
    padding-left: 0;
}

/* Add padding to the list item to make room for the icon */
.tech-specs li {
    position: relative;
    padding-left: 1rem; 
    margin-bottom: 1rem;
    color: var(--bs-secondary-color) !important;
}

/* Inject the FontAwesome Checkmark */
.tech-specs li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #198754;
    position: absolute;
    left: -10px;
    font-size: 1rem;
}

/* =========================================
   04. UTILITIES & LINKS
   ========================================= */
/* Utility Links */
.blue-link, .text-wc-blue { color: #5c6981 !important; }
.blue-link:hover { color: #209dd3 !important; }
.light-blue-link, .text-wc-light-blue { color: #f4b42b !important; }
.light-blue-link:hover { color: #2ab4ef !important; }
.white-link { color: #fff !important; }
.white-link:hover { color: #e4e4e4 !important; }


.opacity-75, .white-link .opacity-75, .text-white .opacity-75 {
    color: #ddd !important;
    opacity: 1 !important;
}
.white-link .opacity-75:hover, .text-white .opacity-75:hover {
    color: #ccc !important;
    opacity: 1 !important;
}


/* Product Tabs top nav hover (Dark Section) */
#v-pills-measurement-tab:hover, #v-pills-professional-tab:hover, #v-pills-workflow-tab:hover {
    color: #e4e4e4 !important;
}

.nav-link, .dropdown-menu, .nav-login {
font-weight: 500 !important;
    font-size: 14px !important;
}

.open-pdf-viewer {
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #5c6981 !important;
}

/* Bootstrap Utility Overrides */
.text-primary { color: #5c6981 !important; }
.bg-primary { background-color: #5c6981 !important; }
.bg-primary-light { background-color: #d6dbe5 !important; }
.text-secondary { color: #f4b42b !important; }
.text-gray { color: #CCC !important; }
.bg-secondary { background-color: #f4b42b !important; }
.text-bg-info { background-color: #E5F7FF !important; }
.bg-wc-dark { background-color: #000; }
.text-white, .white-text { color: #fff !important; }
.border-primary { border-color: #5c6981 !important; }
.border-secondary { border-color: #f4b42b !important; }


  /* Top Banner Styling */
  .wc-top-banner {
      background-color: #0b1c3e; /* Wirecast Dark Blue */
      color: #ffffff;
      text-align: center;
      padding: 8px 15px;
      font-size: 15px;
      font-weight: 500;
  }
  .wc-top-banner a {
      color: #f4b42b;
      text-decoration: none;
      font-weight: 700;
  }
  .wc-top-banner a:hover {
      text-decoration: underline;
  }
.wc-top-banner-gray { background-color: #5c6981; }
.wc-top-banner-gold { background-color: #f4b42b; }

/* Images */
img.reflect {
    -webkit-box-reflect: below -1px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(90%, transparent), to(rgba(250, 250, 250, .2)));
    box-shadow: 0 0 10px #ccc;
}
img.shadow {
    box-shadow: 0 0 10px #ccc;
}
.grayscale {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  opacity: 0.7; 
}
.grayscale:hover {
  filter: none;
  -webkit-filter: none;
  opacity: 1;
}

/* Icons */
.fa-small:before { font-size: 8px !important; }
.fa-large { font-size: 1.5rem !important; }
.fa-xl { font-size: 2rem !important; }
.fa-solid.fa-magnifying-glass.text-white::before { color: #fff !important; }
.icon-tap-target {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none; 
}
.icon-tap-target i { font-size: 16px; }

/* Number Counter */
@property --num {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}
div.number-count::before {
  counter-reset: my-counter var(--num);
  content: counter(my-counter);
  animation: count 10s linear infinite; 
}
@keyframes count {
  0% { --num: 0; }
  60% { --num: 66; }  
  100% { --num: 66; } 
}
div.number-count {
  display: grid;
  place-items: center;
  min-height: 100px;
  padding: 20px;
  font: 600 5rem/1 'MagazineGrotesque', sans-serif;
}
.counter-wrapper .counter {
  font-variant-numeric: tabular-nums; 
  display: inline-block; 
  text-align: right; 
}

/* =========================================
   05. BUTTONS
   ========================================= */
/* Force all pill buttons back to the theme standard square/rounded style */
a.btn.rounded-pill,
button.btn.rounded-pill,
input.btn.rounded-pill {
    border-radius: 6px !important;
}


   .btn-primary {
    border: none !important;
    color: #fff !important;
    padding: 14px 25px;
    font-weight: 600;
    background: linear-gradient(0deg, #5c6981 0%, #7485a3 100%);
}
.btn-primary:hover, .btn-primary.btn-primary-outline:hover {
    background: linear-gradient(0deg, #485266 0%, #57657c 100%);
}
.btn-primary.btn-primary-outline {
    border: none !important;
    outline: 1px solid #5c6981;
    outline-offset: 4px;
    color: #fff !important;
    padding: 14px 25px;
    font-weight: 600;
    background: linear-gradient(0deg, #5c6981 0%, #7485a3 100%);
}

.btn-light {
    color: #fff !important;
    border: none;
    padding: 14px 25px;
    font-weight: 600;
    background: linear-gradient(0deg, #f5f5f5 0%, #dcdcdc 100%);
    color: #5c6981 !important;
}
.btn-light:hover {
    background: linear-gradient(0deg, #e0e0e0 0%, #c2c2c2 100%);
}

.btn-outline-primary {
    --bs-btn-color: #5c6981;
    --bs-btn-border-color: #5c6981;
    --bs-btn-hover-color: #424c5d;
    --bs-btn-hover-bg: #eeeeee;
    --bs-btn-hover-border-color: #424c5d;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #eeeeee;
    --bs-btn-active-bg: #eeeeee;
    --bs-btn-active-border-color: #424c5d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #424c5d;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #424c5d;
    --bs-gradient: none;
    color: #5c6981 !important;
    padding: 14px 25px;
}

.btn-light-outline {
    border: none !important; /* Removed the physical border so heights match perfectly */
    outline: 1px solid #a8b4c8;
    outline-offset: 4px;
    color: #5c6981 !important;
    padding: 16px 25px;
    font-weight: 600;
}

.btn-outline-light {
    border: none !important;
    padding: 16px 25px !important;
    font-weight: 600 !important;
    outline: 1px solid #FFF; /* Changed from 2px to 1px to match the others */
    outline-offset: 4px; /* Changed from 6px to 4px to match the others */
    color: #fff !important;
}
.btn-outline-light:hover {
    outline: 1px solid #d5d5d5;
    color: #d5d5d5 !important;
    background-color: transparent !important;
}

.btn-outline-dark {
    border: none !important;
    padding: 14px 25px !important;
    font-weight: 600 !important;
    outline: 2px solid #5c6981;
    outline-offset: 6px;
    color: #5c6981 !important;
}
.btn-outline-dark:hover {
    outline: 2px solid #004461;
    color: #004461 !important;
    background-color: transparent !important;
}

.btn-dark {
    background-color: #121933;
    border-color: #121933;
}
.btn-dark:hover {
    background-color: #253469;
    border-color: #253469;
}

.btn-dark-80-trans {
    background-color: #121933cc;
    border-color: #121933cc;
}
.btn-dark-80-trans:hover {
    background-color: #253469;
    border-color: #253469;
}

.btn-wc-primary {
    background-color: var(--wc-blue);
    color: #fff;
    border: none;
    padding: 14px 25px;
    font-weight: 600;
    background: linear-gradient(0deg, #f4b42b 0%, #fdce69 100%);
}
.btn-wc-primary:hover, .btn-wc-primary.btn-wc-primary-outline:hover {
    background: linear-gradient(0deg, #fbcd6a 0%, #f9bf41 100%);
    color: #fff;
}

.btn-wc-primary.btn-wc-primary-outline {
    border: none !important;
    outline: 1px solid #f4b42b;
    outline-offset: 4px;
    padding: 14px 25px;
    font-weight: 600;
    background: linear-gradient(0deg, #f4b42b 0%, #fdce69 100%);
}

.btn-wc-secondary {
    border: none !important;
    padding: 14px 25px !important;
    font-weight: 600 !important;
    outline: 2px solid #24BDFF;
    outline-offset: 6px;
    background: linear-gradient(0deg, #24BDFF 0%, #9fe0fc 100%);
}
.btn-wc-secondary:hover {
    background: linear-gradient(0deg, #24BDFF 0%, #24BDFF 100%);
}

/* =========================================
   06. COMPONENTS 
   ========================================= */

/* Hero Section */
.hero-section {
    background: #0b1c3e;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 0; 
}

/* Feature Tabs Section */
.nav-pills-custom .nav-link {
    color: var(--wc-text-grey);
    background: transparent;
    border: none;
    text-align: center;
    padding: 20px 10px;
    opacity: 0.7;
}
.nav-pills-custom .nav-link.active {
    background: transparent;
    color: var(--wc-blue);
    opacity: 1;
    border-bottom: 3px solid var(--wc-blue);
    border-radius: 0;
}
.nav-pills-custom img.icon-default { display: block; margin: 0 auto 10px; height: 40px; }

/* Product Tabs */
.product-tabs {
    display: flex;
    flex-wrap: nowrap;
}
.product-tabs .nav-link {
    color: #5c6981;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}
.product-tabs .nav-link:hover {
    color: #18a0da;
    background-color: #E5F7FF;
}
.product-tabs .nav-link.active {
    background: linear-gradient(0deg, #00496d 0%, #5c6981 100%);
    color: #ffffff !important;
    font-weight: 600;
}
#wcProductTabContent {
    border: 1px solid #dee2e6;
    border-radius: 0 0 0.375rem 0.375rem;
}
.nav-pills .nav-link {
    background: transparent;
    transition: all 0.2s;
}
.nav-pills .nav-link:hover {
    color: #5c6981 !important;
    background-color: rgba(255,255,255,0.1);
}
.nav-pills .nav-link.active {
    background-color: #5c6981 !important;
}

/* Hover Effects mapped to standard theme classes */
  .card-hover-fx { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .card-hover-fx:hover { transform: translateY(-5px); box-shadow: 0 1rem 3rem rgba(0,0,0,.15)!important; }
  .transition-hover { transition: all 0.2s ease; }
  .transition-hover:hover { transform: translateX(5px); }
  
  /* Smooth Scroll for the Explore Features button */
  html { scroll-behavior: smooth; }




/* =========================================
   07. THIRD-PARTY OVERRIDES 
   ========================================= */

/* HTML5 Video */
video::-webkit-media-controls-panel {
    background-image: none !important;
    background-color: transparent !important;
}
video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}
video {
    -webkit-filter: brightness(100%);
    filter: brightness(100%);
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}
video[poster] { object-fit: cover; }

/* YouTube Lyte Alternative */
.lite-yt {
    background-position: center;
    background-size: cover;
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
    background-color: #000;
}
.lite-yt iframe { width: 100%; height: 100%; position: absolute; }
.play-btn {
    width: 68px; height: 48px; background-color: #212121;
    z-index: 1; opacity: 0.8; border-radius: 12%; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.play-btn:after {
    content: ""; border-style: solid; border-width: 11px 0 11px 22px;
    border-color: transparent transparent transparent #fff; position: absolute;
    top: 13px; left: 26px;
}

/* Google Translate */
.goog-te-banner-frame { display: none !important; }
.goog-te-banner-frame.skiptranslate, 
.goog-te-gadget-icon,
iframe.goog-te-menu-frame {
    display: none !important;
    visibility: hidden !important;
}
#google_translate_element { display: none !important; }
#masthead .wc-lang-menu .dropdown-item img, 
#masthead .wc-lang-btn img,
#masthead img.lang-flag {
    width: 20px !important; max-width: 20px !important; min-width: 20px !important;
    height: auto !important; display: inline-block !important; margin-right: 4px !important;
    padding: 0 !important; border: none !important; box-shadow: none !important;
}
/* Enhanced Header Dropdown Styling */
#masthead .dropdown-menu .dropdown-item { 
    font-size: 15px !important; 
    line-height: 1.5 !important; 
    padding: 12px 20px !important;
    border-bottom: 1px solid #eaeaea;
    transition: all 0.2s ease;
}
/* Removes the border from the very last item in the dropdown list */
#masthead .dropdown-menu li:last-child .dropdown-item {
    border-bottom: none;
}
#masthead .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--wc-blue) !important;
}
#masthead .wc-lang-menu { max-height: 250px !important; overflow-y: auto !important; min-width: 180px !important; }
.wc-lang-menu .dropdown-item { display: flex !important; justify-content: flex-start !important; align-items: center !important; text-align: left !important; width: 100% !important; }
.wc-lang-menu img { width: 20px !important; margin-right: 10px !important; flex-shrink: 0 !important; }
#translate-wc-dropdown .dropdown-menu[data-bs-popper] { left: -60px !important; }
.wc-lang-btn { display: inline-flex !important; align-items: center !important; gap: 6px !important; white-space: nowrap !important; }

/* Pardot Form Container Sizing */
    .pardot-form-wrapper { width: 100%; position: relative; display: block; }
    .pardot-form-wrapper iframe { width: 100%; min-height: 550px; border: none !important; overflow: hidden; }

    /* =========================================
   RESOURCES DROPDOWNS
   ========================================= */
      .custom-ts-checkbox { 
      cursor: pointer; 
      border-color: #adb5bd !important; 
      width: 18px !important; 
      height: 18px !important; 
      min-width: 18px !important;
      flex-shrink: 0 !important;
      margin: 0 !important;
  }
  .custom-ts-checkbox:checked { background-color: #64748c !important; border-color: #64748c !important; }
  .custom-ts-checkbox:focus { border-color: #64748c; box-shadow: 0 0 0 0.25rem rgba(0, 108, 155, 0.25); }


/* =========================================
   PRICING TABLE RESPONSIVE FIXES
   ========================================= */
.pricing-compare-table {
    min-width: 800px; /* Forces a clean horizontal swipe on mobile instead of squishing text */
}
.pricing-header-cell {
    min-width: 280px; /* Ensures the buy buttons never get crushed */
}

/* Highlight the Best Value Card */
#pricing .col-xl-5 .card {
    transform: scale(1.05);
    transform-origin: left center; /* Anchors the card so the left side doesn't move at all */
    margin-right: 25px; /* Adds the margin to the right side so it doesn't clip the edge */
    border: 2px solid var(--bs-secondary) !important;
    box-shadow: 0 10px 30px rgba(244, 180, 43, 0.2) !important;
    z-index: 2;
}

/* On mobile (when the cards stack), we re-center the scale so it doesn't look lopsided */
@media (max-width: 1199px) {
    #pricing .col-xl-5 .card {
        transform-origin: center center;
        margin-right: 15px;
        margin-left: 15px;
    }
}


/* Lighten heavy black logos in grayscale mode */
.grayscale.grayscale-lighten {
  opacity: 0.4; /* Lowers opacity to make black look soft gray */
}
.grayscale.grayscale-lighten:hover {
  opacity: 1; /* Snaps back to full visibility on hover */
}

/* =========================================
   CUSTOM FAQ ACCORDION
   ========================================= */
.wc-faq-accordion .accordion-button::after {
    display: none !important; /* Hides the default Bootstrap SVG arrow */
}
.wc-faq-accordion .accordion-button .faq-icon::before {
    content: "\f067"; /* FontAwesome Plus Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f4b42b;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}
.wc-faq-accordion .accordion-button:not(.collapsed) .faq-icon::before {
    content: "\f068"; /* FontAwesome Minus Icon */
    color: #f4b42b; /* Turns gold when open */
}
.accordion-button .faq-title {
    font-weight:500 !important;
}
.wc-faq-accordion .accordion-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wc-faq-accordion .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
}



/* =========================================
   Grid Pattern Banner
   ========================================= */

   /* Grid with tiles checkered background (Slate Blue Background) */
.box-grid-background-container {
    position: relative;
    background-color: #5c6981 !important; /* Your Primary Color */
    min-height: 175px;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
}

/* Wrapper with Top-Left Fade */
.box-grid-background-container .pattern-wrapper {
    position: absolute;
    inset: 0;
    -webkit-mask-image: radial-gradient(circle at 0% 0%, black 10%, transparent 75%);
    mask-image: radial-gradient(circle at 0% 0%, black 10%, transparent 75%);
    z-index: 1;
}

/* Grid Lines (Soft White) */
.box-grid-background-container .grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .5;
}

/* Grouped Tiles in Top-Left */
.box-grid-background-container .tile {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08); /* Standard tile opacity */
}

.box-grid-background-container .tile-1 { top: 0px; left: 0px; background: rgba(255, 255, 255, 0.2); }
.box-grid-background-container .tile-2 { top: 0px; left: 80px; }
.box-grid-background-container .tile-3 { top: 80px; left: 80px; background: rgba(255, 255, 255, 0.04); }
.box-grid-background-container .tile-4 { top: 40px; left: 40px; }
.box-grid-background-container .tile-5 { top: 80px; left: 0px; }

/* Content Styles */
.box-grid-background-container .relative-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

@media (min-width:1200px){
    .box-grid-background-container .tile {
        position: absolute;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.08);
    }
    .box-grid-background-container .tile-1 { top: 0px; left: 0px; background: rgba(255, 255, 255, 0.2); }
    .box-grid-background-container .tile-2 { top: 40px; left: 40px;  background: rgba(255, 255, 255, 0.1);}
    .box-grid-background-container .tile-3  { top: 120px; left: 40px;  background: rgba(255, 255, 255, 0.09);}
    .box-grid-background-container .tile-4  { top: 80px; left: 80px;  background: rgba(255, 255, 255, 0.07);}
    .box-grid-background-container .tile-5  { top: 160px; left: 160px;  background: rgba(255, 255, 255, 0.05);}
    .box-grid-background-container .tile-6  { top: 40px; left: 160px;  background: rgba(255, 255, 255, 0.05);}
}

/* =========================================
   STANDALONE GRID OVERLAY (FOR LIGHT BACKGROUNDS)
   ========================================= */
.grid-lines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    
    /* Slate Blue lines at 8% opacity */
    background-image: 
        linear-gradient(to right, rgba(92, 105, 129, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(92, 105, 129, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Fades the grid out cleanly around the edges of the section */
.grid-lines-fade {
    -webkit-mask-image: radial-gradient(circle at 30% 70%, black 20%, transparent 80%);
    mask-image: radial-gradient(circle at 30% 70%, black 20%, transparent 80%);
}


/* **************** Mobile Devices Phone *************** */
@media (max-width:576px){
    .header-extra-oversized {
    font-size: 36px !important;
    line-height: 36px !important;
}
}


/* **************** Large Devices Only *************** */
/* Premium drop shadow and borders for desktop dropdowns */
@media (min-width: 1200px) {
    #masthead .dropdown-menu {
        box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
        border: 1px solid #eaeaea !important;
        border-radius: 8px !important;
    }
}


/* =========================================
   Always-Open Tooltip (Speech Bubble Engine)
   ========================================= */

/* Base Shared Bubble Styling */
.wc-static-tooltip, 
.wc-static-tooltip-top {
    position: relative;
    background-color: #1e2124; /* Dark charcoal */
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* 1. STANDARD TOOLTIP (Sits BELOW target -> Upward Arrow) */
.wc-static-tooltip {
    margin-top: 14px; /* Space for the top arrow */
}
.wc-static-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%; /* Anchors to the top edge */
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    /* Arrow points UP: bottom border gets the color */
    border-color: transparent transparent #1e2124 transparent; 
}

/* 2. TOP TOOLTIP (Sits ABOVE target -> Downward Arrow) */
.wc-static-tooltip-top {
    margin-bottom: 14px; /* Space for the bottom arrow */
}
.wc-static-tooltip-top::after {
    content: '';
    position: absolute;
    top: 100%; /* Anchors to the bottom edge */
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    /* Arrow points DOWN: top border gets the color */
    border-color: #1e2124 transparent transparent transparent; 
}


.wc-trust-badge {
    transition: transform 0.2s ease;
}
.wc-trust-badge:hover {
    transform: scale(1.03);
}


.submit input {
    background-color: #f9ba08 !important;
    padding: 10px !important;
    font-size: 16px !important;
    border-radius: 4px !important;
    border: none !important;
}



/* ==========================================
   MODAL CLOSE BUTTON VISIBILITY FIX
   ========================================== */
.modal .btn-close-white {
    background-color: #f4b42b !important; /* Wirecast Gold */
    border-radius: 50% !important; 
    opacity: 1 !important; 
    padding: 12px !important; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important; 
    transition: transform 0.2s ease, background-color 0.2s ease !important;
    filter: none !important; /* Removes Bootstrap's white filter, turning the 'X' back to solid black */
}

.modal .btn-close-white:hover {
    transform: scale(1.1) !important; /* Pops out slightly when hovered */
    background-color: #ffc745 !important; /* Slightly brighter gold on hover */
}



/* ==========================================
   LIGHT GALLERY OVERRIDES
   ========================================== */

/* ==========================================
   LIGHT GALLERY OVERRIDES
   ========================================== */

/* Dark overlay with high-end blur effect */
.wplg-modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.7) !important; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 999999; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s ease; 
    backdrop-filter: blur(8px); /* Increased blur for more depth */
}

.wplg-modal-overlay.wplg-active { 
    opacity: 1; 
    visibility: visible; 
}

/* Wrapper and inner container matching theme card styles */
.wplg-modal-wrapper { 
    position: relative; 
    width: 95%; 
    max-width: 1200px; 
    max-height: 95vh; 
}

.wplg-modal-inner { 
    background: #1a1a1a !important; 
    border-radius: 12px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    max-height: 95vh; 
    border: 1px solid rgba(255,255,255,0.15); /* Slightly brighter border */
    box-shadow: 0 20px 50px rgba(0,0,0,0.7); 
}

/* Header styling with Graphik font and Gold accents */
.wplg-gallery-header { 
    padding: 15px 25px; 
    background: #222 !important; 
    border-bottom: 1px solid #333 !important; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.wplg-gallery-title { 
    margin: 0; 
    font-family: 'Graphik', sans-serif; 
    font-size: 18px; 
    font-weight: 600; 
    color: #f4b42b !important; 
}

.wplg-counter { 
    font-family: 'Graphik', sans-serif; 
    font-size: 14px; 
    color: #888 !important; 
    font-weight: 400; 
}

/* Gold circular close button for high visibility */
.wplg-close-btn { 
    font-size: 24px; 
    cursor: pointer; 
    color: #000 !important; 
    background: #f4b42b !important; 
    border: none; 
    width: 34px; 
    height: 34px; 
    border-radius: 50% !important;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.wplg-close-btn:hover { 
    background: #ffc745 !important; 
    transform: scale(1.1); 
}

/* Image body and zoom transition */
.wplg-slide-body { 
    padding: 20px; 
    background: #000 !important; 
    flex-grow: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    touch-action: none; 
}

.wplg-slide-body img { 
    max-width: 100%; 
    max-height: 75vh; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    cursor: zoom-in; 
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); 
    transform-origin: center center; 
}

.wplg-slide-body img.wplg-zoomed { 
    cursor: grab; 
}

/* Footer styling */
.wplg-slide-footer { 
    padding: 15px 25px; 
    background: #222; 
    border-top: 1px solid #333; 
    font-family: 'Graphik', sans-serif;
    font-size: 15px; 
    color: #eee; 
    text-align: center; 
}

/* Navigation buttons matching theme primary button style */
.wplg-navigation { 
    position: absolute; 
    top: 50%; 
    left: -30px; 
    right: -30px; 
    width: calc(100% + 60px); 
    transform: translateY(-50%); 
    display: flex; 
    justify-content: space-between; 
    pointer-events: none; 
    z-index: 5; 
}

.wplg-nav-btn { 
    pointer-events: auto; 
    background: #f4b42b !important; 
    border: none !important; 
    border-radius: 30px !important; 
    padding: 10px 25px !important; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    box-shadow: 0 6px 15px rgba(0,0,0,0.4); 
    font-family: 'Graphik', sans-serif; 
    font-weight: 600; 
    font-size: 14px; 
    color: #000 !important; 
    transition: 0.2s; 
}

.wplg-nav-btn:hover { 
    background: #ffc745 !important; 
    transform: translateY(-2px); 
}

.wplg-nav-btn:disabled { 
    opacity: 0; 
    pointer-events: none; 
} 

/* Ensures clean borders on mobile when the row stacks into a 2x2 grid */
    @media (max-width: 991px) {
        .mobile-no-border { border-right: none !important; }
        .mobile-bottom-border { border-bottom: 1px solid #dee2e6 !important; }
    }

/* Responsive overrides */
@media (max-width: 768px) {
    .wplg-navigation { 
        position: relative; 
        top: auto; 
        left: 0; 
        right: 0; 
        width: 100%; 
        transform: none; 
        padding: 15px; 
        order: 3; 
        background: #222;
        border-top: 1px solid #333;
    }
    .wplg-gallery-header { 
        flex-direction: column; 
        align-items: center; 
        gap: 10px; 
        text-align: center;
    }
}



/* ==========================================================================
   Persistent Global OS Compatibility Tab
   ========================================================================== */
.wc-os-tab {
    position: absolute;
    top: 130px; /* Positioned cleanly below the header navigation */
    left: 0;
    z-index: 1030;
    background: #64748c;
    backdrop-filter: blur(4px);
    border-color: #9babc3 !important;
    border-radius: 0 50rem 50rem 0; /* Right-side half-pill shape */
    padding: 0.5rem 0.75rem 0.5rem 0.2rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
}

/* Slate-blue icons */
.wc-os-tab .wc-os-icons i {
    color: #fff; 
    transition: color 0.2s ease;
}

/* Initially hidden text wrapper */
.wc-os-tab .wc-os-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--bs-dark);
}

/* Desktop-Only Hover Expansion */
@media (min-width: 992px) {
    .wc-os-tab:hover {
        padding-right: 1.25rem;
        background: #ffffff;
        box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.15) !important;
    }
    .wc-os-tab:hover .wc-os-icons i {
        color: var(--bs-primary); /* Icons illuminate on hover */
    }
    .wc-os-tab:hover .wc-os-text {
        max-width: 260px;
        opacity: 1;
        margin-left: 0.6rem;
    }
}


@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1400px;
    }
}




/* On page proofing system - Annotix Plugin Fix: Restore document coordinates 
html, 
body.wp-theme-bootscore {
    height: auto !important;
    overflow-x: visible !important; 
    position: relative;
}

#page.site {
    overflow-x: visible !important;
    position: relative;
}
*/