/*
Theme Name: Catch Base Pro - Strotzbüsch (barrierefrei)
Theme URI: https://strotzbuesch.de/
Description: Child-Theme von Catch Base Pro mit Barrierefreiheits-Anpassungen (WCAG 2.2 AA / BITV 2.0 / DIN EN 301 549).
Template: catch-base-pro
Version: 1.0.2
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Text Domain: catch-base-pro
*/

/* ---- 2.4.7 Fokus deutlich sichtbar ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #0b3d91;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px #fff;
}

/* ---- 2.4.1 Skip-Link ---- */
.a11y-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100001;
	background: #fff;
	color: #000;
	padding: 12px 18px;
	font-weight: bold;
	border: 3px solid #0b3d91;
	text-decoration: underline;
}
.a11y-skip:focus {
	left: 8px;
	top: 8px;
}

/* ---- 1.4.1 / 1.4.3 Nicht nur Farbe, ausreichender Kontrast ---- */
.nav-primary ul.menu a:hover,
.nav-primary ul.menu a:focus,
.nav-primary ul.menu .current-menu-item > a,
.nav-primary ul.menu .current-menu-ancestor > a,
.nav-primary ul.menu .current_page_item > a {
	text-decoration: underline;
}
.nav-primary ul.menu .current-menu-item > a,
.nav-primary ul.menu .current_page_item > a {
	font-weight: bold;
}
.nav-footer a { color: #333; text-decoration: underline; }
.nav-footer a:hover, .nav-footer a:focus { text-decoration: none; font-weight: bold; }
.entry-content a:not(.btn):not(.button):not(.more-link),
.widget_text a,
.entry-summary a { text-decoration: underline; }

body,
.entry-content, .entry-content p, .entry-content li, .entry-content strong,
.entry-summary, .entry-summary p,
.elementor-widget-container, .elementor-widget-container strong { color: #333; }

.sidebar-primary, .sidebar-secondary { color: #1a1a1a; }
.sidebar-primary a, .sidebar-secondary a { color: #8c0d15; text-decoration: underline; }
.sidebar-primary a.btn { text-decoration: none; color: #1a1a1a; }
.sidebar-primary [class*=tribe-events-widget] time,
.sidebar-primary [class*=tribe-events-widget] span,
.sidebar-primary [class*=tribe-events-widget] p { color: #1a1a1a; }
#site-generator, #site-generator a { color: #1a1a1a; }
#site-generator a { text-decoration: underline; }
body.page-id-1025 .site-main h1, body.page-id-1025 .site-main h2, body.page-id-1025 .site-main h3,
body.page-id-1025 .site-main h4, body.page-id-1025 .site-main h5, body.page-id-1025 .site-main h6 { color: #1a1a1a; }

/* Galerie: Bildzähler und Slideshow-Punkte lesbar */
div[id^=ngg-imagebrowser] .ngg-imagebrowser-nav .counter { color: #333 !important; }
.slick-dots li button:before, .ngg-slideshow .slick-dots li button:before {
	font-size: 16px; color: #1a1a1a; opacity: .55;
}
.slick-dots li.slick-active button:before, .ngg-slideshow .slick-dots li.slick-active button:before { opacity: 1; }

/* ---- 2.5.8 Zielgroesse mindestens 24 px ---- */
.entry-content li a, .a11y-sitemap a, .widget li a, .nav-footer a,
.wp-block-file a:not(.wp-block-file__button) {
	display: inline-block;
	min-height: 24px;
	padding-top: 3px;
	padding-bottom: 3px;
	box-sizing: border-box;
}

/* ---- Bausteine ---- */
.a11y-h-small { font-size: 18px; }
/* Optik urspruenglicher Ueberschriftenebenen, nachdem die Ebenen im Inhalt korrigiert wurden (keine Spruenge) */
.entry-content .a11y-look-h3 { font-size: 24px; }
.entry-content .a11y-look-h4 { font-size: 20px; }
.entry-content .a11y-look-h5 { font-size: 18px; }
.entry-content .a11y-look-h6 { font-size: 16px; }
a.btn {
	display: inline-block;
	padding: 8px 16px;
	background: #f0f0f0;
	color: #1a1a1a;
	border: 1px solid #767676;
	border-radius: 3px;
	text-decoration: none;
	font-size: 1rem;
}
a.btn:hover, a.btn:focus { background: #e2e2e2; color: #000; text-decoration: underline; }
.a11y-slider-toggle {
	display: block;
	margin: 6px 0;
	padding: 8px 14px;
	background: #fff;
	color: #1a1a1a;
	border: 2px solid #1a1a1a;
	font-size: 1rem;
	cursor: pointer;
}
/* ---- 1.4.11 Kontrast von Bedienelementen: Ränder von Eingabefeldern und Schaltflächen mind. 3:1 ---- */
input[type=text], input[type=email], input[type=search], input[type=url], input[type=tel], input[type=number],
input[type=password], textarea, select,
input.search-submit, .search-submit,
div.wpforms-container-full .wpforms-form input[type=text],
div.wpforms-container-full .wpforms-form input[type=email],
div.wpforms-container-full .wpforms-form input[type=tel],
div.wpforms-container-full .wpforms-form input[type=url],
div.wpforms-container-full .wpforms-form input[type=number],
div.wpforms-container-full .wpforms-form textarea,
div.wpforms-container-full .wpforms-form select {
	border: 1px solid #595959 !important;
}
.a11y-required-note { margin: 0 0 1em; font-size: .95em; }
.a11y-header-search .search-submit { display: inline-block; }