/**
 * Remove legacy Werkstatt accent red (#ef173b) site-wide.
 * Neutral ink palette matches --raphbatte-font / header grays.
 */
:root {
	--raphbatte-ink: #1f1f1f;
	--raphbatte-muted: #969696;
}

/* --- Text / links (mirrors inc/selection.php accent color rules) --- */
a:hover,
ol li:before,
ol li ol li:before,
.thb-full-menu li.menu-item-has-children.sfHover > a,
.mm-link-animation-bg-fill .thb-mobile-menu a:hover,
.mm-link-animation-bg-fill .thb-mobile-menu li.current_page_item:not(.has-hash),
.post .post-title a:hover,
.authorpage .author-content .square-icon:hover,
ol.commentlist .comment .reply a,
input[type='submit'].thb-border-style.accent,
.button.thb-border-style.accent,
.btn.thb-border-style.accent,
input[type='submit'].thb-text-style.accent,
.button.thb-text-style.accent,
.btn.thb-text-style.accent,
.more-link,
.pagination .page-numbers.current,
.pagination .page-numbers:not(.dots):hover,
.thb-portfolio .type-portfolio.style2:hover h2,
.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side .type-portfolio.active h1,
.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side .type-portfolio.active h2,
.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side .type-portfolio.active h3,
.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side .type-portfolio.active .thb-categories,
.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side.light-title .type-portfolio.active h1,
.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side.light-title .type-portfolio.active h2,
.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side.light-title .type-portfolio.active h3,
.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side.light-title .type-portfolio.active .thb-categories,
.thb-autotype .thb-autotype-entry,
.post_nav_link:hover span,
.thb-breadcrumb-holder a:hover,
.thb-counter,
.thb-counter h6,
.thb-portfolio-filter.style2 ul li a.active,
.thb-portfolio-filter.style2 ul li a:hover,
.thb-portfolio-filter.style3 ul li a.active,
.thb-portfolio-filter.style3 ul li a:hover,
.white-header .thb-full-menu > li.current-menu-item:not(.has-hash) > a,
.light-title .header:not(.hover):not(:hover) .thb-full-menu > li.current-menu-item:not(.has-hash) > a,
.disable_header_fill-on.light-title .header .thb-full-menu > li.current-menu-item:not(.has-hash) > a,
.thb-full-menu li.current-menu-item:not(.has-hash) > a,
#wrapper ol li:before,
#wrapper ol li ol li:before,
header.style3.dark .thb-full-menu > li.current-menu-item:not(.has-hash) > a,
.btn.thb-fill-style.accent,
.has-thb-accent-color,
.wp-block-button .wp-block-button__link.has-thb-accent-color,
input[type='submit'].thb-border-line-style.accent,
.button.thb-border-line-style.accent,
.btn.thb-border-line-style.accent {
	color: var(--raphbatte-ink) !important;
}

/* General link color from theme options (was accent red) */
.wpb_text_column p a,
.wpb_text_column ul a,
.wpb_text_column ol a,
.post-content p a,
.post-content ul a,
.post-content ol a,
.widget p a {
	color: var(--raphbatte-ink) !important;
}

.wpb_text_column p a:hover,
.wpb_text_column ul a:hover,
.wpb_text_column ol a:hover,
.post-content p a:hover,
.post-content ul a:hover,
.post-content ol a:hover {
	color: var(--raphbatte-ink) !important;
}

/* Portfolio + VC body links — default ink, not accent */
.single-portfolio .post-content a,
.single-portfolio .wpb_text_column a,
.portfolio-detail .post-content a,
.portfolio-detail .wpb_text_column a,
.post.style4 .post-content a,
.post.style4 .wpb_text_column a {
	color: var(--raphbatte-ink) !important;
}

.single-portfolio .wpb_text_column a:after,
.portfolio-detail .wpb_text_column a:after,
.post.style4 .wpb_text_column a:after {
	border-bottom-color: var(--raphbatte-ink) !important;
}

.single-portfolio .post-content p a:not(.btn):not(.button):after,
.portfolio-detail .post-content p a:not(.btn):not(.button):after {
	background: var(--raphbatte-ink) !important;
}

/* Inline VC / legacy content spans */
[style*='#ef173b'],
[style*='#EF173B'],
[style*='ef173b'] {
	color: var(--raphbatte-ink) !important;
}

/* --- Backgrounds (accent fills → ink) --- */
.post.style5 .blog-content:after,
.post.style6 .post-gallery,
.post.style7 .blog-content:after,
input[type='submit']:hover,
.button:not(.thb-text-style):not(.thb-border-style):not(.thb-fill-style):not(.thb-solid-border):hover,
.btn:not(.thb-text-style):not(.thb-border-style):not(.thb-fill-style):not(.thb-solid-border):not(.thb-border-line-style):hover,
.button.wc-forward,
.place-order .button,
input[type='submit'].accent,
.button.accent:not(.thb-text-style):not(.thb-border-style):not(.thb-fill-style),
.btn.accent:not(.thb-text-style):not(.thb-border-style):not(.thb-fill-style):not(.thb-solid-border):not(.thb-border-line-style),
.pagination .page-numbers.prev:before,
.pagination .page-numbers.next:after,
.thb_row_pagination li:hover,
.thb_row_pagination li.active,
.thb_row_pagination li:hover span,
.thb_row_pagination li.active span,
.thb-portfolio-filter.style3 ul li a.active:before,
.thb-portfolio-filter.style3 ul li a:hover:before,
.has-thb-accent-background-color,
.wp-block-button .wp-block-button__link.has-thb-accent-background-color {
	background-color: var(--raphbatte-ink) !important;
}

.post.style11:hover {
	background-color: rgba(31, 31, 31, 0.12) !important;
}

/* --- Borders / strokes --- */
ol li:before,
ol li ol li:before,
#wrapper ol li:before,
#wrapper ol li ol li:before,
input[type='submit'].thb-border-style.accent,
.button.thb-border-style.accent,
.btn.thb-border-style.accent,
input[type='submit'].thb-fill-style.accent,
.button.thb-fill-style.accent,
.btn.thb-fill-style.accent,
input[type='submit'].thb-text-style.accent span,
.button.thb-text-style.accent span,
.btn.thb-text-style.accent span,
.thb-portfolio .type-portfolio.thb-border-hover .portfolio-link:before,
.btn.thb-fill-style.accent,
input[type='submit'].thb-border-line-style.accent,
.button.thb-border-line-style.accent,
.btn.thb-border-line-style.accent {
	border-color: var(--raphbatte-ink) !important;
}

.thb-preloader .thb-preloader-icon-hexagon .preloader-path,
.thb-preloader .thb-preloader-icon-circle .path,
.thb-preloader .preloader-path,
.thb-preloader .path {
	stroke: var(--raphbatte-muted) !important;
}

.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side .type-portfolio.active .next svg,
.thb-list-portfolio:not(.thb-bg-grid-full) .thb-content-side.light-title .type-portfolio.active .next svg,
.btn-text.style4 .arrow svg:first-child {
	fill: var(--raphbatte-ink) !important;
}

.thb-show-all .items ul li:hover figure {
	box-shadow: 0 0 0 3px var(--raphbatte-ink) inset !important;
}
