/*
Theme Name: Tacticool Child Theme
Theme URI: https://tacticool.axiomthemes.com
Description: Tacticool is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AxiomThemes
Author URI: https://axiomthemes.com/
Version: 1.0.22
Tested up to: 6.9.4
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
Text Domain: tacticool
Template: tacticool
*/


/* =Child-Theme customization starts here — Azure 32 LLC Brand Colors
   Primary Blue: #5271FE | Secondary Blue: #0D55E1 | Accent Green: #A3AF81
------------------------------------------------------------ */

/* Override primary accent color (#d70000 → #5271FE) */
.scheme_default a:hover,
.scheme_default h1 a:hover,.scheme_default h2 a:hover,.scheme_default h3 a:hover,
.scheme_default h4 a:hover,.scheme_default h5 a:hover,.scheme_default h6 a:hover,
.scheme_default li a:hover { color: #5271FE; }

.scheme_default .color_style_dark a:hover,
.scheme_default .color_style_dark h1 a:hover,.scheme_default .color_style_dark h2 a:hover,
.scheme_default .color_style_dark h3 a:hover,.scheme_default .color_style_dark h4 a:hover,
.scheme_default .color_style_dark h5 a:hover,.scheme_default .color_style_dark h6 a:hover { color: #5271FE; }

/* Buttons */
.scheme_default .sc_button_default,.scheme_default .sc_button_default:hover,
.scheme_default [class*="sc_button_"].sc_button_hover_slide_left:before,
.scheme_default [class*="sc_button_"].sc_button_hover_slide_right:before,
.scheme_default [class*="sc_button_"].sc_button_hover_slide_top:before,
.scheme_default [class*="sc_button_"].sc_button_hover_slide_bottom:before { background-color: #5271FE; border-color: #5271FE; }

.scheme_default .sc_button_default:hover { background-color: #0D55E1; border-color: #0D55E1; }

/* Accent title underline / decorators */
.scheme_default .sc_item_title.sc_item_title_style_accent:before,
.scheme_default h1.sc_item_title_style_accent:before,
.scheme_default h2.sc_item_title_style_accent:before,
.scheme_default h3.sc_item_title_style_accent:before { background-color: #5271FE; }

/* Progress bars, highlights, borders */
.scheme_default [class*="color_type_"] { border-color: #5271FE; }
.scheme_default .sc_price .sc_price_item.sc_price_item_featured { border-top-color: #5271FE; }

/* Navigation active state */
.scheme_default .menu_main_nav > li.current-menu-item > a,
.scheme_default .menu_main_nav > li.current-menu-ancestor > a,
.scheme_default .menu_main_nav > li:hover > a { color: #5271FE; }

/* Icon features accent — both trx_addons prefix and direct sc_icons selectors */
.scheme_default .trx_addons_icon_type_icon .trx_addons_icon_image,
.scheme_default .trx_addons_sc_icons .trx_addons_icon_wrap { color: #5271FE; }

/* sc_icons — icon glyph and title (parent theme uses .sc_icons not .trx_addons_sc_icons) */
.scheme_default .sc_icons .sc_icons_icon { color: #5271FE; }
.scheme_default .sc_icons .sc_icons_item_title,
.scheme_default .sc_icons .sc_icons_item_title a { color: #5271FE; }
.scheme_default .sc_icons_item_description a:hover { color: #0D55E1; }

/* Services item icons (default style) */
.scheme_default .sc_services_default .sc_services_item_icon { color: #5271FE; border-color: #5271FE; }
.scheme_default .sc_services_default .sc_services_item:hover .sc_services_item_icon { color: #ffffff; background-color: #5271FE; border-color: #5271FE; }
.scheme_default .sc_services_default .sc_services_item_subtitle a { color: #5271FE; }
.scheme_default .sc_services_default .sc_services_item_subtitle a:hover { color: #0D55E1; }

/* Course price color */
.scheme_default .sc_courses_default .sc_courses_item_price,
.scheme_default .courses_single .courses_page_header > .courses_page_price { color: #5271FE; }

/* Price table icon + label + link button */
.scheme_default .sc_price_item .sc_price_item_icon { color: #5271FE; }
.scheme_default .sc_price_item .sc_price_item_label { background-color: #5271FE; }
.scheme_default .sc_price_item:hover .sc_price_item_label { background-color: #0D55E1; }
.scheme_default .sc_price_item_link { background-color: #5271FE; }
.scheme_default .sc_price_item:hover .sc_price_item_link,
.scheme_default .sc_price_item_link:hover { background-color: #0D55E1; }

/* Service hover overlay */
.scheme_default .sc_services_item_featured_hover .sc_services_item_inner:before { background-color: rgba(82,113,254,0.85); }
.scheme_dark .sc_services_item_featured_hover .sc_services_item_inner:before { background-color: rgba(82,113,254,0.9); }

/* Dark scheme — ALL buttons (sc_button_default + generic sc_button + native) */
.scheme_dark .sc_button_default,
.scheme_dark .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image),
.scheme_dark button:not(.components-button),
.scheme_dark input[type="submit"],
.scheme_dark input[type="reset"],
.scheme_dark input[type="button"],
.scheme_dark .wp-block-button__link,
.scheme_dark .theme_button,
.scheme_dark .sc_action_item_link { background-color: #5271FE !important; border-color: #5271FE !important; color: #ffffff !important; }

.scheme_dark .sc_button_default:hover,
.scheme_dark .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image):hover,
.scheme_dark button:not(.components-button):hover,
.scheme_dark input[type="submit"]:hover,
.scheme_dark .theme_button:hover { background-color: #0D55E1 !important; border-color: #0D55E1 !important; }

/* Dark scheme — narrow layout row buttons (header CTA area) */
.scheme_dark .sc_layouts_row_type_narrow .sc_button_default,
.scheme_dark .sc_layouts_row_type_narrow .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image),
.scheme_dark.sc_layouts_row_type_narrow .sc_button_default,
.scheme_dark.sc_layouts_row_type_narrow .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image) { background-color: #5271FE !important; color: #ffffff !important; }

/* Dark scheme — simple buttons */
.scheme_dark .sc_button_simple:not(.sc_button_bg_image) { color: #5271FE !important; }
.scheme_dark .sc_button_simple:not(.sc_button_bg_image):hover { color: #0D55E1 !important; }

/* Dark scheme — bordered buttons */
.scheme_dark .sc_button_bordered:not(.sc_button_bg_image),
.scheme_dark .wp-block-button.is-style-outline .wp-block-button__link { color: #5271FE !important; border-color: #5271FE !important; background: transparent !important; }
.scheme_dark .sc_button_bordered:not(.sc_button_bg_image):hover { color: #ffffff !important; background-color: #5271FE !important; }

/* Dark scheme — hover slide :before fill */
.scheme_dark [class*="sc_button_"].sc_button_hover_slide_left:before,
.scheme_dark [class*="sc_button_"].sc_button_hover_slide_right:before,
.scheme_dark [class*="sc_button_"].sc_button_hover_slide_top:before,
.scheme_dark [class*="sc_button_"].sc_button_hover_slide_bottom:before { background-color: #0D55E1 !important; }

/* Dark scheme — accent colors */
.scheme_dark .color_text_accent,
.scheme_dark .trx_addons_color_accent { color: #5271FE !important; }
.scheme_dark .trx_addons_bg_accent { background-color: #5271FE !important; }

/* Dark scheme — sc_icons */
.scheme_dark .sc_icons .sc_icons_icon { color: #5271FE; }
.scheme_dark .sc_icons .sc_icons_item_title,
.scheme_dark .sc_icons .sc_icons_item_title a { color: #5271FE; }
.scheme_dark .sc_icons_item_description a:hover { color: #0D55E1; }

/* Dark scheme — service card icons (hover-home rotating section) */
.scheme_dark .sc_services_default .sc_services_item_icon { color: #5271FE; border-color: #5271FE; }
.scheme_dark .sc_services_default .sc_services_item:hover .sc_services_item_icon { color: #ffffff; background-color: #5271FE; border-color: #5271FE; }
.scheme_dark .sc_services_hover .sc_services_item_icon,
.scheme_dark .sc_services_hover .sc_services_item_title a:hover,
.scheme_dark .sc_services_hover .sc_services_item_subtitle a:hover { color: #5271FE; }
.scheme_dark .sc_services_list .sc_services_item_icon { color: #5271FE; border-color: #5271FE; }
.scheme_dark .sc_services_tabs_simple .sc_services_item_icon { color: #5271FE; }
.scheme_dark .sc_services_tabs .sc_services_tabs_list_item .sc_services_item_icon { color: #5271FE; }
.scheme_dark .sc_services_tabs .sc_services_tabs_list_item.sc_services_tabs_list_item_active .sc_services_item_icon { color: #5271FE; }
.scheme_dark .sc_services_light .sc_services_item_icon { color: #5271FE; }

/* Replace red accent (#d70000) globally in many selectors */
.scheme_default .color_text_accent,
.scheme_default .trx_addons_color_accent { color: #5271FE !important; }
.scheme_default .trx_addons_bg_accent { background-color: #5271FE !important; }

/* Accent green for small decorative elements */
.sc_item_title_style_accent .sc_item_title_text em,
.sc_item_title_text em { color: #A3AF81; }

/* Admin bar / Top bar overrides */
.scheme_default .top_panel_fixed { background-color: #0D55E1; }

/* Override WordPress global preset CSS variables — text-link was #d70000 */
:root {
    --wp--preset--color--text-link:  #5271FE;
    --wp--preset--color--text-hover: #0D55E1;
}

/* RevSlider touch/swipe arrows */
.tacticool.sr7-arrows.sr7-touchhover,
.tacticool.sr7-leftarrow.sr7-touchhover,
.tacticool.sr7-rightarrow.sr7-touchhover { background: #5271FE !important; }

/* Base link color */
.scheme_default a { color: #5271FE; }
.scheme_default a:hover { color: #0D55E1; }

/* Simple buttons */
.scheme_default .sc_button_simple:not(.sc_button_bg_image) { color: #5271FE; }
.scheme_default .sc_button_simple:not(.sc_button_bg_image):hover { color: #0D55E1 !important; }
.scheme_default .color_style_dark .sc_button_simple:not(.sc_button_bg_image),
.scheme_default .sc_button_simple.color_style_dark:not(.sc_button_bg_image) { color: #5271FE; }
.scheme_default .color_style_dark .sc_button_simple:not(.sc_button_bg_image):hover,
.scheme_default .sc_button_simple.color_style_dark:not(.sc_button_bg_image):hover { color: #0D55E1 !important; }
.scheme_default.sidebar .sc_button_simple:not(.sc_button_bg_image) { color: #5271FE; }

/* Bordered buttons */
.scheme_default .sc_button_bordered:not(.sc_button_bg_image),
.scheme_default .wp-block-button.is-style-outline .wp-block-button__link { color: #5271FE; border-color: #5271FE; }
.scheme_default .sc_button_bordered:not(.sc_button_bg_image):hover { color: #ffffff; background-color: #5271FE; border-color: #5271FE; }
.scheme_default .sc_button_bordered.color_style_dark:not(.sc_button_bg_image):hover { color: #5271FE !important; border-color: #5271FE !important; }
.scheme_default.sidebar .sc_button_bordered:not(.sc_button_bg_image) { color: #5271FE; border-color: #5271FE; }

/* Submit / native buttons */
.scheme_default button:not(.components-button),
.scheme_default input[type="reset"],
.scheme_default input[type="submit"],
.scheme_default input[type="button"],
.scheme_default .comments_wrap .form-submit input[type="submit"],
.scheme_default .wp-block-button__link,
.scheme_default .mc4wp-form input[type="submit"],
.scheme_default .sc_button:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image),
.scheme_default .theme_button { background-color: #5271FE !important; border-color: #5271FE !important; color: #ffffff !important; }
.scheme_default button:not(.components-button):hover,
.scheme_default input[type="submit"]:hover,
.scheme_default .theme_button:hover { background-color: #0D55E1 !important; border-color: #0D55E1 !important; }

/* Form focus states */
.scheme_default input[type="text"]:focus,
.scheme_default input[type="email"]:focus,
.scheme_default input[type="tel"]:focus,
.scheme_default input[type="url"]:focus,
.scheme_default input[type="search"]:focus,
.scheme_default input[type="password"]:focus,
.scheme_default textarea:focus,
.scheme_default select:focus { color: #261e15; border-color: #5271FE !important; }

/* Placeholder on focus */
.scheme_default input:focus[placeholder]::-webkit-input-placeholder,
.scheme_default textarea:focus[placeholder]::-webkit-input-placeholder { color: #5271FE; }
.scheme_default input:focus[placeholder]::-moz-placeholder,
.scheme_default textarea:focus[placeholder]::-moz-placeholder { color: #5271FE; }
.scheme_default input:focus[placeholder]::placeholder,
.scheme_default textarea:focus[placeholder]::placeholder { color: #5271FE; }

/* List bullet accents */
.scheme_default ul > li:before { color: #5271FE; }

/* Blockquote accent */
.scheme_default blockquote:before { color: #5271FE; }
.scheme_default blockquote a { color: #5271FE; }

/* Dropdown highlight */
.scheme_default .select2-dropdown .select2-highlighted,
.scheme_default .select2-container .select2-results__option--highlighted[aria-selected] { background: #5271FE; }

/* Price item */
.scheme_default .sc_price_item_link { background-color: #5271FE; }

/* Cookie consent bar */
.scheme_default .cc-compliance .cc-btn { border-color: #5271FE !important; background-color: #5271FE !important; }

/* Search button — transparent, no background */
.sc_layouts_search .search_submit,
.search_wrap .search_submit,
.scheme_dark .sc_layouts_search .search_submit,
.scheme_dark .search_wrap .search_submit,
.scheme_default .sc_layouts_search .search_submit,
.scheme_default .search_wrap .search_submit {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* Logo sizing — constrain Azure 32 logo to header height */
.sc_layouts_logo img.logo_image,
.sc_layouts_logo .logo_image,
.menu_mobile .sc_layouts_logo img {
    max-height: 64px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* Footer logo sizing — home page (sc_layouts_logo) and inner pages (vc_custom_logo_footer) */
.footer_custom .sc_layouts_logo img.logo_image,
.footer_custom .vc_custom_logo_footer .vc_single_image-img {
    max-height: 80px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* Preloader — constrain logo image to a small centered icon */
#page_preloader {
    background-size: 160px auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Video play button — solid brand blue circle, suppress sc_button_hover_slide_left overlay */
.trx_addons_video_player.with_cover .video_hover {
    background-color: #5271FE !important;
    color: #ffffff !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    transition: background-color 0.3s ease !important;
}
.trx_addons_video_player.with_cover .video_hover:hover {
    background-color: #0D55E1 !important;
}
/* Suppress the sc_button_hover_slide_left slide overlay — it conflicts with the play icon */
.trx_addons_video_player.with_cover .video_hover:before {
    background-color: transparent !important;
    border-color: transparent !important;
    background: none !important;
}

/* =======================================================
   AZURE 32 CLIENT EDITS — ROUND 2
   ======================================================= */

/* --- GLOBAL: Brown → Accent Green #A3AF81 --- */
/* color_style_link2 (alter) elements that still render in brownish tones */
.scheme_default .color_style_link2 a,
.scheme_default .color_style_link2 h1 a,
.scheme_default .color_style_link2 h2 a,
.scheme_default .color_style_link2 h3 a,
.scheme_default .color_style_link2 h4 a,
.scheme_default .color_style_link2 h5 a,
.scheme_default .color_style_link2 h6 a { color: #A3AF81; }
.scheme_default .color_style_link2 a:hover,
.scheme_default .color_style_link2 h1 a:hover,
.scheme_default .color_style_link2 h2 a:hover,
.scheme_default .color_style_link2 h3 a:hover,
.scheme_default .color_style_link2 h4 a:hover,
.scheme_default .color_style_link2 h5 a:hover,
.scheme_default .color_style_link2 h6 a:hover { color: #8a9668; }

.scheme_dark .color_style_link2 a,
.scheme_dark .color_style_link2 h1 a,
.scheme_dark .color_style_link2 h2 a,
.scheme_dark .color_style_link2 h3 a,
.scheme_dark .color_style_link2 h4 a { color: #A3AF81; }
.scheme_dark .color_style_link2 a:hover { color: #8a9668; }

/* color_style_link3 (extra) */
.scheme_default .color_style_link3 a,
.scheme_default .color_style_link3 h1 a,
.scheme_default .color_style_link3 h2 a,
.scheme_default .color_style_link3 h3 a,
.scheme_default .color_style_link3 h4 a { color: #A3AF81; }
.scheme_default .color_style_link3 a:hover { color: #8a9668; }
.scheme_dark .color_style_link3 a,
.scheme_dark .color_style_link3 h1 a,
.scheme_dark .color_style_link3 h2 a { color: #A3AF81; }

/* RevSlider hero button hover fill color → green */
.sr7-layer .sc_button.sc_button_hover_slide_left:before { background-color: #A3AF81 !important; }

/* --- HOMEPAGE: Course cards — hide "Fundamentals" taxonomy label --- */
.sc_courses_item_categories { display: none !important; }

/* --- COURSE CARDS: Clickable price link styling --- */
.sc_courses_item_price a.sc_courses_price_link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: opacity 0.2s;
}
.sc_courses_item_price a.sc_courses_price_link:hover { opacity: 0.75; }

/* --- HOMEPAGE: Tactical Skills boxes — center content --- */
.sc_action_item_content { text-align: center !important; }
.sc_action_item_title,
.sc_action_item_description,
.sc_action_item_link { text-align: center !important; }

/* --- HOMEPAGE: Team section — normalize font styles --- */
.sc_item_subtitle { font-style: normal !important; font-weight: 400; }
.sc_item_description { font-style: normal !important; }

/* --- ABOUT US: Body text bigger --- */
.page-id-6586 .vc_column_text p,
.page-id-6586 .vc_column_text li,
.page-id-6586 .vc_column_text { font-size: 1.05em; line-height: 1.75; }

/* --- ABOUT US: Certifications as small boxes --- */
.cert-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1em 0;
}
.cert-box {
    background: #f7f5f2;
    border: 1px solid #dbd7d1;
    border-left: 3px solid #A3AF81;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 0.95em;
    font-weight: 600;
    flex: 1 1 calc(50% - 12px);
    min-width: 200px;
    box-sizing: border-box;
}

/* --- COURSES PAGE: Sheriff clearance notice styling --- */
.courses-legal-notice {
    background: #f7f5f2;
    border-left: 4px solid #A3AF81;
    padding: 24px 28px;
    border-radius: 4px;
    margin: 0 auto;
    max-width: 900px;
}
.courses-legal-notice p { margin-bottom: 1em; color: #333; line-height: 1.7; }
.courses-legal-notice p:last-child { margin-bottom: 0; }

/* --- EVENTS: Calendar event consistency --- */
/* Make single-day events render with same bar style as multi-day */
.tribe-events-calendar-month__calendar-event-tooltip-title,
.tribe-events-calendar-month__calendar-event-title { font-size: 0.85em; }
.tribe-events-calendar-month__calendar-event { background-color: #5271FE !important; border-radius: 3px; }
.tribe-events-calendar-month__calendar-event-title a { color: #fff !important; }
/* Featured multi-day bar style */
.tribe-events-calendar-month__multiday-event-bar-inner { background-color: #5271FE !important; }

/* --- FOOTER: Readable font sizes + consistent #aa9d8f color --- */

/* Navigation menu links (Quick Links, Legal) */
body .footer_custom .widget_nav_menu a,
body .footer_custom .vc_wp_custommenu a,
body .footer_custom .widget_nav_menu li,
body .footer_custom .widget_nav_menu ul,
body [id*="footer-custom"] .menu-item a {
    color: #aa9d8f !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-style: normal !important;
    line-height: 1.9 !important;
    letter-spacing: 0 !important;
}

/* General text / widget text / contact info */
body .footer_custom .vc_wp_text p,
body .footer_custom .vc_wp_text a,
body .footer_custom .widget_text p,
body .footer_custom .widget_contacts .contacts_info,
body .footer_custom .widget_contacts .contacts_info a,
body .footer_custom .widget_contacts .contacts_info span,
body .footer_custom .widget_contacts .contacts_info > div,
body .footer_custom p,
body .footer_custom span,
body .footer_custom a {
    color: #aa9d8f !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    line-height: 1.75 !important;
}

/* Section headings (QUICK LINKS, CONTACT US, LEGAL) */
body .footer_custom .widget-title,
body .footer_custom .widgettitle {
    color: #aa9d8f !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 0.75em !important;
}

/* Footer tagline / slogan text below logo */
body .footer_custom .wpb_text_column p,
body .footer_custom .wpb_wrapper p {
    color: #aa9d8f !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

/* Copyright bar */
body .footer_custom_966 .sc_layouts_copyright,
body .footer_custom .sc_layouts_copyright,
body [id*="footer-custom"] .sc_layouts_row_type_compact p,
body [id*="footer-custom"] .sc_layouts_row_type_compact {
    color: #aa9d8f !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

/* Keep AZURE 32 brand name white */
body .footer_custom strong[style*="color: #fff"],
body .footer_custom strong[style*="color:#fff"] {
    color: #ffffff !important;
}

/* =======================================================
   AZURE 32 CLIENT EDITS — ROUND 3
   ======================================================= */

/* --- COURSE CARDS: Lift price above hover mask (z-index:10) so it is clickable --- */
.sc_courses_default .sc_courses_item_info {
    position: relative;
    z-index: 12;
}
.sc_courses_item_price a.sc_courses_price_link {
    color: #5271FE;
    text-decoration: none;
    border-bottom: 1px solid rgba(82,113,254,0.4);
    transition: opacity 0.2s;
    cursor: pointer;
}
.sc_courses_item_price a.sc_courses_price_link:hover {
    opacity: 0.75;
}

/* --- COURSE CARDS: Hide empty duration meta (removes the ⊙ icon) --- */
.sc_courses_item_meta_duration:empty,
.sc_courses_item_meta_duration:empty::before,
.sc_courses_item_meta { display: none !important; }

/* --- COURSE CARDS: Override price color from theme orange (#efa758) to blue --- */
.sc_courses_default .sc_courses_item_price { color: #5271FE !important; }

/* --- SERVICE HOVER CARDS: Keep only titles (hide description on back of flip) --- */
.sc_services_item_featured_hover .sc_services_item_description,
.sc_services_hover .sc_services_item_description { display: none !important; }

/* --- "BOOK YOUR CLASS" BUTTONS → Accent Green --- */

/* 1. Header button: has class color_style_link2 which makes it brown (#6c5e3e)
      Mirror the exact selectors from __colors_default.css and __colors_dark.css to win.
      IMPORTANT: The hover-slide animation uses a `background` gradient shorthand (3-class
      specificity) that beats our background-color rules. We must override the full
      `background` property with the same selector to win. */

/* Base (non-hover) color */
.scheme_default .sc_button_default.color_style_link2,
.scheme_default .sc_button.color_style_link2:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image),
.scheme_dark .sc_button_default.color_style_link2,
.scheme_dark .sc_button.color_style_link2:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image) {
    background-color: #A3AF81 !important;
    border-color: #A3AF81 !important;
    color: #ffffff !important;
}
.scheme_default .sc_button_default.color_style_link2:hover,
.scheme_default .sc_button.color_style_link2:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image):hover,
.scheme_dark .sc_button_default.color_style_link2:hover,
.scheme_dark .sc_button.color_style_link2:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image):hover {
    background-color: #8a9668 !important;
    border-color: #8a9668 !important;
}

/* Override the hover-slide gradient.
   __colors_default.css loads AFTER child theme CSS (confirmed via page source order),
   so equal specificity loses. Adding `body` bumps specificity to 0-3-1 vs 0-3-0. */
body .scheme_default .sc_button_hover_style_link2.sc_button_hover_slide_left,
body .scheme_dark .sc_button_hover_style_link2.sc_button_hover_slide_left {
    background: linear-gradient(to right, #8a9668 50%, #A3AF81 50%) no-repeat scroll right bottom / 210% 100% #A3AF81 !important;
    border-color: #A3AF81 !important;
    color: #ffffff !important;
}
body .scheme_default .sc_button_hover_style_link2.sc_button_hover_slide_left:hover,
body .scheme_dark .sc_button_hover_style_link2.sc_button_hover_slide_left:hover {
    background-position: left bottom !important;
    border-color: #8a9668 !important;
}

/* Also bump specificity on the base color rules that __colors_default.css overrides */
body .scheme_default .sc_button_default.color_style_link2,
body .scheme_default .sc_button.color_style_link2:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image),
body .scheme_dark .sc_button_default.color_style_link2,
body .scheme_dark .sc_button.color_style_link2:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image) {
    background-color: #A3AF81 !important;
    border-color: #A3AF81 !important;
    color: #ffffff !important;
}
body .scheme_default .sc_button_default.color_style_link2:hover,
body .scheme_default .sc_button.color_style_link2:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image):hover,
body .scheme_dark .sc_button_default.color_style_link2:hover,
body .scheme_dark .sc_button.color_style_link2:not(.sc_button_simple):not(.sc_button_bordered):not(.sc_button_bg_image):hover {
    background-color: #8a9668 !important;
    border-color: #8a9668 !important;
}

/* 2. Team section "Book Your Class" (inside .widget_contacts, no color_style_link2) */
.widget_contacts .sc_button_default,
.widget_contacts .sc_button:not(.sc_button_simple):not(.sc_button_bordered),
.widget_contacts button,
.trx_widget_contacts .sc_button_default,
.trx_widget_contacts .sc_button:not(.sc_button_simple):not(.sc_button_bordered) {
    background-color: #A3AF81 !important;
    border-color: #A3AF81 !important;
    color: #ffffff !important;
}
.widget_contacts .sc_button_default:hover,
.trx_widget_contacts .sc_button_default:hover {
    background-color: #8a9668 !important;
    border-color: #8a9668 !important;
}

/* --- VIDEO PLAY BUTTON → Accent Green --- */
/* Base plugin CSS sets opacity:0 and rgba(0,0,0,0.5); override with Accent Green always visible */
.trx_addons_video_player.with_cover .video_hover,
.trx_addons_video_player .video_hover {
    background-color: #A3AF81 !important;
    opacity: 1 !important;
}
.trx_addons_video_player.with_cover .video_hover:hover,
.trx_addons_video_player .video_hover:hover {
    background-color: #8a9668 !important;
    opacity: 1 !important;
}
/* Also override video_mask background so it doesn't show brown-tinted overlay */
.trx_addons_video_player.with_cover .video_mask {
    background: rgba(163, 175, 129, 0.15) !important;
}

/* --- CCW ACTION BOXES: Center content and shrink button to 50% width --- */
.sc_action_item_content {
    text-align: center !important;
}
.sc_action_item_title,
.sc_action_item_description {
    text-align: center !important;
}
.sc_action_item_link_wrap {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
}
.sc_action_item .sc_action_item_link {
    width: 50% !important;
    max-width: 50% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* --- HERO SLIDER: Both buttons same filled style on all slides --- */
/* Remove any remnant simple/outline style from RevSlider buttons */
.top_panel .sc_button.sc_button_simple {
    background-color: #5271FE !important;
    border-color: #5271FE !important;
    color: #ffffff !important;
    border: none !important;
}

/* --- COURSE CARDS: Hide the icon-only more-link button (⊕ target icon next to price) --- */
.sc_courses_item .more-link.sc_button_with_icon:not([class*="sc_button_default"]) {
    display: none !important;
}
/* Make price link styled clearly as a link */
.sc_courses_item_price a.sc_courses_price_link {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 20;
}

/* --- EVENTS CALENDAR: Consistent blue background + white text for ALL event types --- */

/* Single-day event chips */
.tribe-events-calendar-month__calendar-event,
.tribe-events-calendar-month__calendar-event-wrapper,
.tribe-events-calendar-month__calendar-event--featured,
.tribe-events-calendar-month__calendar-event--starts-on-this-day,
.tribe-events-calendar-month__calendar-event--ends-on-this-day {
    background-color: #5271FE !important;
    border-radius: 3px !important;
}

/* Multi-day event bar */
.tribe-events-calendar-month__multiday-event-bar-inner {
    background-color: #5271FE !important;
    border-radius: 3px !important;
}

/* White text for ALL event title and datetime elements (single-day AND multi-day) */
.tribe-events-calendar-month__calendar-event-datetime,
.tribe-events-calendar-month__calendar-event-datetime *,
.tribe-events-calendar-month__calendar-event-datetime time,
.tribe-events-calendar-month__calendar-event-title,
.tribe-events-calendar-month__calendar-event-title *,
.tribe-events-calendar-month__calendar-event-title-link,
.tribe-events-calendar-month__multiday-event-bar-title,
.tribe-events-calendar-month__multiday-event-bar-inner * {
    color: #ffffff !important;
}

/* Multi-day event bar: flex column so time/title/date stack on separate lines.
   Font/color on time and title come from TEC's own classes (matching single-day cards). */
.azure32-multiday-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 4px 8px !important;
    gap: 0 !important;
    width: 100%;
    box-sizing: border-box;
}
/* Date line (line 3) — styled like the time line */
.azure32-multiday-date {
    font-size: var(--tec-font-size-0, 0.75em);
    font-weight: 400;
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    line-height: var(--tec-line-height-2, 1.4);
}
/* Ensure all text inside the bar is white — only the ROW divs are block, not inline children */
.azure32-multiday-inner .tribe-events-calendar-month__calendar-event-datetime {
    display: block !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: #ffffff !important;
}
/* Keep <time> and <span> separator inline so the time reads on one line */
.azure32-multiday-inner .tribe-events-calendar-month__calendar-event-datetime time,
.azure32-multiday-inner .tribe-events-calendar-month__calendar-event-datetime span {
    display: inline !important;
    color: #ffffff !important;
}
/* Title row — match the single-day weight (400, not bold) */
.azure32-multiday-inner .tribe-events-calendar-month__calendar-event-title {
    display: block !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    color: #ffffff !important;
    font-weight: 400 !important;
}