/*
Theme Name:  NEOVANTAGE
Theme URI:   https://pixelspress.com/free-wordpress-theme/
Author:      PixelsPress, mohsinrafique
Author URI:  https://pixelspress.com
Description: Static rules driven by theme.json design tokens.
             Each rule reads from a CSS custom property WordPress emits
             from theme.json (e.g. --wp--preset--color--theme) so the
             Customizer choice flows through automatically via the
             wp_theme_json_data_theme filter wired in
             inc/theme-json-customizer.php. Hex literal in each var() is the
             theme.json static fallback — also present so misconfigured cache
             plugins that reorder global-styles-inline-css fall back to the
             default cyan instead of unsetting the property.
             Computed-color rules (hover-darken via neovantage_adjust_brightness)
             remain in neovantage_custom_styles() in inc/template-functions.php
             because theme.json cannot express derived values.
             See ADR-003 in .claude/memory/decisions.md for the design.
Version:     2.1.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neovantage
*/

/*------------------------------------------------------------------------------
# Core -> Links
------------------------------------------------------------------------------*/
a:hover,
a:focus {
	color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Core -> Typography
------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	color: var(--wp--preset--color--theme, #26c6da);
}
.text-primary {
	color: var(--wp--preset--color--theme, #26c6da);
}
.bg-primary {
	color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Components -> Pagination
------------------------------------------------------------------------------*/
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
	color: var(--wp--preset--color--theme, #26c6da);
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	background-color: var(--wp--preset--color--theme, #26c6da);
	border-color: var(--wp--preset--color--theme, #26c6da);
}
.navigation.pagination .nav-links .current {
	color: var(--wp--preset--color--theme, #26c6da);
}
#pagination .neovantage-empty:hover {
	background-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.navigation.post-navigation .nav-links a:hover,
.navigation.post-navigation .nav-links a:focus {
	color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Components -> Labels / Lists / Featured
------------------------------------------------------------------------------*/
.label-primary {
	background-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
	background-color: var(--wp--preset--color--theme, #26c6da);
	border-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
#featured {
	background: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}

/*------------------------------------------------------------------------------
# Components -> Buttons (static states only; hover lives in PHP for brightness)
------------------------------------------------------------------------------*/
.btn-primary {
	background-color: var(--wp--preset--color--theme, #26c6da);
	border-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
	background-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.btn-primary .badge {
	color: var(--wp--preset--color--theme, #26c6da);
}
.btn-link:hover,
.btn-link:focus {
	color: var(--wp--preset--color--theme, #26c6da);
}
article.entry-header h2 a {
	color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Components -> Forms
------------------------------------------------------------------------------*/
.form-control:focus {
	border-color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Components -> Comments / Widgets / Page Header (accent borders)
------------------------------------------------------------------------------*/
.comments-area .comments-title > span:before,
.comments-area .comment-reply-title > span:before {
	border-right-color: var(--wp--preset--color--theme, #26c6da);
}
.widget .widget-title > span::before {
	border-right-color: var(--wp--preset--color--theme, #26c6da);
}
.widget select:focus {
	border-color: var(--wp--preset--color--theme, #26c6da);
}
#secondary .widget .widget-title a {
	color: var(--wp--preset--color--theme, #26c6da);
}
.page-header .pre-page-title span:before {
	border-right-color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Components -> Blockquotes
------------------------------------------------------------------------------*/
blockquote,
blockquote.wp-block-quote {
	border-left-color: var(--wp--preset--color--theme, #26c6da);
}
.blockquote-reverse,
blockquote.pull-right {
	border-right-color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Blog -> Article Headings
------------------------------------------------------------------------------*/
article .entry-header .entry-title a {
	color: var(--wp--preset--color--theme, #26c6da);
}
article .entry-header h2 a {
	color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Components -> Input Group Addon
------------------------------------------------------------------------------*/
.input-group-addon {
	background-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.input-group-addon .btn-default,
.input-group-addon .btn-default:hover,
.input-group-addon .btn-default:focus {
	background-color: var(--wp--preset--color--theme, #26c6da);
	border-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}

/*------------------------------------------------------------------------------
# Blog -> Post Meta / Entry Content
------------------------------------------------------------------------------*/
.entry-categories li a {
	background-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.single .entry-content a,
.single .entry-content a:not(.carousel-control) {
	color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Components -> Breadcrumbs / Knowledge Base Search
------------------------------------------------------------------------------*/
.breadcrumb > li a:hover,
.breadcrumb > li a:focus {
	color: var(--wp--preset--color--theme, #26c6da);
}
.knowledge-base .site-header-search {
	background-color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Components -> Newsticker
------------------------------------------------------------------------------*/
.neovantage-newsticker-wrapper .neovantage-newsticker .heading {
	background: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.neovantage-newsticker-wrapper .neovantage-newsticker .control-nav span {
	background: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.neovantage-newsticker-wrapper .neovantage-newsticker .heading:after {
	border-left-color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Blog -> Tags / Related Posts / Bootstrap Carousel
------------------------------------------------------------------------------*/
.entry-terms .tags-links a:hover,
.entry-terms .tags-links a:active,
.entry-terms .tags-links a:focus {
	background: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.related-post-title > span::before,
.related-post .related-post-title > span::before {
	border-right-color: var(--wp--preset--color--theme, #26c6da);
}
.related-post .neovantage-blog-box .iq-blog-detail .entry-title a {
	color: var(--wp--preset--color--theme, #26c6da);
}
.nkb-category .nkb-category-article-list a {
	color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Blocks -> Paragraph Drop Cap
------------------------------------------------------------------------------*/
.has-drop-cap:not(:focus):first-letter {
	background: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}

/*------------------------------------------------------------------------------
# Blocks -> Search
------------------------------------------------------------------------------*/
.wp-block-search .wp-block-search__label {
	color: var(--wp--preset--color--theme, #26c6da);
}
.wp-block-search .wp-block-search__button {
	background-color: var(--wp--preset--color--theme, #26c6da);
	border-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.wp-block-search .wp-block-search__input:focus {
	border-color: var(--wp--preset--color--theme, #26c6da);
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Blocks -> Comment Form Submit (static; hover stays PHP for brightness)
------------------------------------------------------------------------------*/
#respond #submit,
.comment-form input[type="submit"],
.wp-block-post-comments-form input[type="submit"] {
	background-color: var(--wp--preset--color--theme, #26c6da);
	border-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}

/*------------------------------------------------------------------------------
# Blocks -> Pullquote
------------------------------------------------------------------------------*/
.wp-block-pullquote {
	border-top-color: var(--wp--preset--color--theme, #26c6da);
	border-bottom-color: var(--wp--preset--color--theme, #26c6da);
}
.wp-block-pullquote.is-style-solid-color {
	background-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.wp-block-pullquote.is-style-solid-color cite,
.wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation {
	color: var(--wp--preset--color--contrast, #ffffff);
	opacity: 0.85;
}

/*------------------------------------------------------------------------------
# Blocks -> File (download button; static state only — hover stays PHP)
#  Specificity 0,3,2 (with .single prefix) needed to beat
#  style.css:8048 .single .entry-content a:not(.carousel-control) which paints
#  with the theme color and would otherwise collide on link colour.
------------------------------------------------------------------------------*/
.entry-content a.wp-block-file__button,
.single .entry-content a.wp-block-file__button {
	background-color: var(--wp--preset--color--theme, #26c6da);
	border-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}

/*------------------------------------------------------------------------------
# Blocks -> Buttons (Outline + Solid; hover-darken stays PHP)
------------------------------------------------------------------------------*/
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button .wp-block-button__link.is-style-outline {
	border-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--theme, #26c6da);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus,
.wp-block-button .wp-block-button__link.is-style-outline:hover,
.wp-block-button .wp-block-button__link.is-style-outline:focus {
	background-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
	background-color: var(--wp--preset--color--theme, #26c6da);
	border-color: var(--wp--preset--color--theme, #26c6da);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color) {
	color: var(--wp--preset--color--contrast, #ffffff);
}

/*------------------------------------------------------------------------------
# Blocks -> Page-links / post-page-numbers
------------------------------------------------------------------------------*/
.page-links > a.post-page-numbers:hover,
.page-links > a.post-page-numbers:focus,
.page-links > .post-page-numbers.current {
	background-color: var(--wp--preset--color--theme, #26c6da);
	border-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}

/*------------------------------------------------------------------------------
# Blocks -> Archives / Categories / Latest Posts / Page List / RSS hover
------------------------------------------------------------------------------*/
.wp-block-archives a:hover,
.wp-block-archives a:focus,
.wp-block-categories a:hover,
.wp-block-categories a:focus,
.wp-block-latest-posts a:hover,
.wp-block-latest-posts a:focus,
.wp-block-page-list a:hover,
.wp-block-page-list a:focus,
.wp-block-rss a:hover,
.wp-block-rss a:focus {
	color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Blocks -> Calendar (today + link hover)
------------------------------------------------------------------------------*/
.wp-block-calendar table tbody td#today,
.wp-block-calendar #today {
	background-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}
.wp-block-calendar a {
	color: inherit;
}
.wp-block-calendar a:hover,
.wp-block-calendar a:focus {
	color: var(--wp--preset--color--theme, #26c6da);
}

/*------------------------------------------------------------------------------
# Blocks -> Social Links
------------------------------------------------------------------------------*/
.wp-block-social-links .wp-social-link a:hover,
.wp-block-social-links .wp-social-link a:focus {
	background-color: var(--wp--preset--color--theme, #26c6da);
	color: var(--wp--preset--color--contrast, #ffffff);
}

/*------------------------------------------------------------------------------
# Header -> Background Color
#  header-bg is intentionally a custom variable, not a palette slug — chrome
#  colour, not a swatch authors should pick from inside post content.
------------------------------------------------------------------------------*/
.site-header {
	background-color: var(--wp--custom--color--header-bg, #26c6da);
}
