/*
Theme Name: Onnida Thai Massage Onepager
Author: OpenAI
Description: Maßgeschneidertes, responsives Onepager-Theme für Onnida Thai Massage in Insingen-Lohr. Ohne Page-Builder und ohne externe Schrift- oder Trackingdienste.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onnida-onepager
*/

/* WordPress-specific additions. The main visual system lives in assets/css/site.css. */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	color: #fffaf3;
	background: #2b160e;
	border-radius: 8px;
}

.admin-bar .site-header { top: 32px; }

body:not(.home) .site-header {
	position: absolute;
	background: #2b160e;
}

.page-shell {
	min-height: 72vh;
	padding: 158px 0 100px;
	background: #f5eadc;
}

.content-container { max-width: 900px; }

.content-card {
	padding: clamp(28px, 6vw, 64px);
	background: #fffaf3;
	border: 1px solid rgba(78, 43, 29, 0.14);
	border-radius: 24px;
	box-shadow: 0 24px 70px rgba(49, 23, 13, 0.1);
}

.entry-header { margin-bottom: 42px; }

.entry-header h1,
.error-card h1 {
	margin: 10px 0 0;
	font-size: clamp(2.5rem, 7vw, 4.8rem);
	letter-spacing: -0.045em;
}

.entry-header h1 a { text-decoration: none; }

.entry-content {
	color: #593b2f;
	font-size: 1.05rem;
}

.entry-content > * { max-width: 720px; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; color: #2b160e; }
.entry-content h2 { font-size: clamp(2rem, 5vw, 3rem); }
.entry-content h3 { font-size: 1.7rem; }
.entry-content a { color: #8e3f2d; text-underline-offset: 4px; }
.entry-content img, .entry-content .wp-block-image { border-radius: 16px; }
.entry-content .alignwide { max-width: 1000px; margin-left: 50%; transform: translateX(-50%); }

.error-card p:not(.section-kicker) { max-width: 580px; margin: 24px 0 30px; }

.footer-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.footer-nav ul,
.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	font-size: 0.78rem;
	list-style: none;
}

.footer-nav a { color: #674b3d; text-underline-offset: 4px; }

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
	.page-shell { padding: 126px 0 76px; }
	.footer-meta { align-items: flex-start; }
	.footer-nav ul, .footer-links { justify-content: flex-start; }
	.entry-content .alignwide { width: 100%; margin-left: 0; transform: none; }
}
