/*
	Theme Name: Turnverein
	Theme URI: https://sacramentoturnverein.com
	Description: Custom WordPress theme for Sacramento Turn Verein.
	Version: 1.5.0
	Author: Sacramento Turn Verein
	Author URI: https://sacramentoturnverein.com
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 8.1
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: turnverein
	Tags: custom-menu, featured-images, threaded-comments, translation-ready

	Copyright 2026 Sacramento Turn Verein
*/

/* WordPress Required Alignment & Formatting Classes */
.aligncenter { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.alignright { float: right; margin-left: 20px; margin-bottom: 20px; }
.alignleft { float: left; margin-right: 20px; margin-bottom: 20px; }

.wp-caption { max-width: 100%; padding: 5px; background: #f2f2f2; border: 1px solid #ccc; text-align: center; }
.wp-caption img { max-width: 100%; height: auto; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: #666; font-style: italic; margin-top: 5px; }

.sticky { background-color: #fff9e6; }
.bypostauthor { font-weight: bold; }

.page-links {
    clear: both;
    margin: 20px 0;
    font-weight: bold;
}

.page-links a,
.page-links > span {
    display: inline-block;
    padding: 5px 10px;
    margin-right: 5px;
    border: 1px solid #ccc;
    background: #fff;
    color: #04366f;
    text-decoration: none;
}

.page-links > span {
    background: #04366f;
    color: #fff;
    border-color: #04366f;
}

/* Text meant only for screen readers */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/*------------------------------------*\
    PRINT STYLES
\*------------------------------------*/

@media print {
	*,
	*:before,
	*:after {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	/* Hide non-printable layout & navigation elements */
	header,
	nav,
	aside,
	footer,
	.sidebar,
	.metaslider,
	.sub-header,
	.button,
	.buy-tickets,
	.return-to-calendar {
		display: none !important;
	}

	body {
		font-size: 12pt;
		line-height: 1.5;
		background: #fff !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre, 
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group;
	}

	tr, 
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}

	@page {
		margin: 1cm;
	}
}