/*
Theme Name:        Patrick Kullmann
Theme URI:         https://www.patrick-kullmann.de/
Author:            Patrick Kullmann
Description:       Schlankes Block-Theme für die offizielle Profilseite von Patrick Kullmann. IBM Plex lokal eingebunden (keine Verbindung zu Google), strukturierte Daten (Schema.org Person), Mastodon-Verifizierung per rel="me" und automatisches Stand-Datum.
Requires at least: 6.6
Tested up to:      7.1
Requires PHP:      8.1
Version:           1.0.0
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       pk-theme
*/

.wp-site-blocks { overflow-x: clip; }
.skip-link.screen-reader-text:focus { background: #fff; color: #121417; padding: 12px 16px; z-index: 100000; }

/* Kopfbereich */
.pk-header { background: #fff; border-bottom: 1px solid var(--wp--preset--color--line); }

/* Überzeile mit Haken: „Offizielle Seite · Stand …“ */
.pk-stand { font-family: var(--wp--preset--font-family--mono); font-size: 0.8125rem !important; color: var(--wp--preset--color--muted); display: flex; align-items: center; gap: 8px; }
.pk-stand::before, .pk-profil a::before {
	content: ""; flex: none; width: 18px; height: 18px; background: var(--wp--preset--color--verified);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Kleine Mono-Beschriftungen */
.pk-mono { font-family: var(--wp--preset--font-family--mono); font-size: 0.8125rem !important; color: var(--wp--preset--color--muted); }
.pk-label { font-family: var(--wp--preset--font-family--mono); font-size: 0.8125rem !important; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }

/* Karten */
.wp-block-group.is-style-karte { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 1.25rem 1.4rem; }

/* „Auf einen Blick“ */
.pk-fakt p { margin: 0; }
.pk-fakt p:first-child { font-size: 0.8125rem; color: var(--wp--preset--color--muted); }
.pk-fakt p + p { font-weight: 600; margin-top: 4px; }

/* Profile */
.pk-profil { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; }
.pk-profil p { margin: 0; }
.pk-profil a { display: flex; align-items: center; gap: 14px; padding: 16px 20px; min-height: 44px; text-decoration: none; }
.pk-profil a::before { width: 20px; height: 20px; }
.pk-profil a:hover { color: inherit; }
.pk-profil:hover { border-color: var(--wp--preset--color--accent); }
.pk-profil strong { display: block; }
.pk-profil .pk-handle { display: block; font-family: var(--wp--preset--font-family--mono); font-size: 0.8125rem; color: var(--wp--preset--color--muted); font-weight: 400; }

/* Buttons: umrandet */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; }

/* Porträt */
.wp-block-image.is-style-portraet img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; width: 100%; }
.wp-block-image.is-style-portraet figcaption { font-family: var(--wp--preset--font-family--mono); font-size: 0.75rem; color: var(--wp--preset--color--muted); text-align: left; margin-top: 8px; }

/* Rechtstexte lesbar halten */
.pk-rechtstext h2 { font-size: 1.375rem; margin-top: 2.5rem; }
