/*
Theme Name: Holcombe Hockey Club
Theme URI: https://holcombe.hockey
Author: Holcombe HC
Author URI: https://holcombe.hockey
Description: Official WordPress theme for Holcombe Hockey Club, Rochester, Kent. A mobile-first, club-red design with a sticky multi-level navigation, dark mode, parallax hero, sponsor management, Customizer-driven club details and a self-hosted Leaflet club-location map. Integrates with the Hockey GMS Feed plugin for fixtures, results and league tables. Ported from the club's static site design.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: holcombe
Tags: sports, two-columns, custom-menu, custom-logo, featured-images, footer-widgets, block-styles, dark-mode, sticky-post

This theme's presentational styles live in css/main.css (enqueued from functions.php).
This file only carries the required theme header plus a handful of WordPress-specific
rules (alignments, comments, editor output) that the static site never needed.
*/

/* ---------- WordPress core alignment / caption helpers ---------- */
.alignleft   { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide   { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull   { width: 100%; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .35rem; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

.sticky, .gallery-caption, .bypostauthor { /* keep core theme-check happy */ }

/* ---------- Editor content wrapper (page.php / single.php) ---------- */
.page-content {
  padding: 2rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.page-content .entry-content > * { max-width: 820px; }
.page-content .entry-content > .alignwide,
.page-content .entry-content > .alignfull,
.page-content .entry-content > figure { max-width: none; }
.page-content .entry-content h2 { margin-top: 2rem; }
.page-content .entry-content h3 { margin-top: 1.5rem; }
.page-content .entry-content ul,
.page-content .entry-content ol { margin: 0 0 1rem 1.25rem; padding-left: 1rem; list-style: revert; }
.page-content .entry-content img { border-radius: var(--radius); }

.page-hero {
  background: var(--black);
  color: #fff;
  padding: 3rem var(--gutter);
  text-align: center;
}
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { margin: .5rem 0 0; color: rgba(255,255,255,.85); }

/* ---------- Pagination (archive / posts index) ---------- */
.pagination {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center;
  padding: 2rem var(--gutter);
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding: 0 .6rem;
  border-radius: 6px; border: 1px solid var(--border);
  color: var(--ink); font-weight: 600;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--red); color: #fff; border-color: var(--red); text-decoration: none; }

/* ---------- Comments (kept minimal — most club pages won't use them) ---------- */
.comments-area { max-width: 820px; margin: 2rem auto; padding: 0 var(--gutter); }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--border); }

/* ---------- Footer widget areas ---------- */
.footer-col .widget { margin-bottom: 1.5rem; }
.footer-col .widget-title {
  color: var(--red); font-size: 1rem; letter-spacing: .04em;
  text-transform: uppercase; margin: 0 0 1rem;
}
.footer-col .widget ul { list-style: none; margin: 0; padding: 0; }
.footer-col .widget li { margin-bottom: .5rem; font-size: .9rem; }
