/*
Theme Name: Polanki
Theme URI: https://github.com/jpwadz/polanki-site
Description: Block child theme of Twenty Twenty-Five for polanki.org, the Polish Women's Cultural Club of Milwaukee. Colours, typography, layout, the site-wide header and footer, and the starter patterns are defined here in git; page content is edited by Polanki volunteers in WordPress.
Author: Polanki, Inc. site repository
Author URI: https://polanki.org/
Template: twentytwentyfive
Version: 0.1.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: polanki
Update URI: https://github.com/jpwadz/polanki-site
Tags: one-column, custom-colors, custom-logo, full-site-editing, block-patterns, block-styles, accessibility-ready
*/

/*
 * Almost everything visual is in theme.json (colours, type, spacing, buttons,
 * navigation). This file holds only what theme.json cannot express.
 *
 * "Tested up to: 7.1" = WordPress 7.1.2, the current release on 2026-09-30
 * (https://api.wordpress.org/core/version-check/1.7/). "Template:
 * twentytwentyfive" = Twenty Twenty-Five 1.5, the newest default theme on
 * wordpress.org on 2026-09-30 (no Twenty Twenty-Six exists yet:
 * https://api.wordpress.org/themes/info/1.2/?action=theme_information&request[slug]=twentytwentysix
 * returns 404).
 *
 * "Update URI" points at this repository so WordPress never offers a
 * wordpress.org theme that happens to be named "polanki" as an "update"
 * (themes honour the header since WordPress 6.1:
 * https://developer.wordpress.org/reference/functions/wp_update_themes/).
 * Deploys from git are the only update path for this theme.
 */

/* Header: a thin red rule under the white header band. */
.polanki-header {
	border-bottom: 3px solid var(--wp--preset--color--polanki-red);
}

/* Navigation: give menu items enough tap area for older visitors on phones. */
.polanki-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.35em 0;
}

/* Footer: quieter links, still underlined for clarity. */
.polanki-footer a {
	color: var(--wp--preset--color--contrast);
}

.polanki-footer a:hover,
.polanki-footer a:focus {
	color: var(--wp--preset--color--polanki-red);
}

/* Social icons in the footer should pick up the red on hover only. */
.polanki-footer .wp-block-social-links .wp-social-link:hover {
	transform: none;
}

/* Hero: keep the welcome band readable on small screens. */
.polanki-hero .wp-block-buttons {
	row-gap: 0.75rem;
}

/* Skip link is provided by WordPress core; make its focus ring match. */
.skip-link.screen-reader-text:focus {
	outline: 2px solid var(--wp--preset--color--polanki-red-deep);
	outline-offset: 2px;
}
