/*
Theme Name: PPRA Blank Template
Theme URI: https://example.com/ppra-blank-template
Author: Cool Side Computer Systems
Author URI: https://coolsidecomputersystems.co.za/
Description: A clean blank WordPress starter theme for PPRA with the logo included. Designed as a lightweight canvas for custom page building.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: ppra-blank-template
Tags: custom-logo, block-styles, wide-blocks, one-column, accessibility-ready
*/

:root {
  --ppra-red: #e21d2f;
  --ppra-dark: #111827;
  --ppra-muted: #6b7280;
  --ppra-border: #e5e7eb;
  --ppra-bg: #ffffff;
  --ppra-container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ppra-bg);
  color: var(--ppra-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--ppra-red); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.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;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background: #fff;
  clip: auto !important;
  clip-path: none;
  color: #000;
  display: block;
  height: auto;
  left: 1rem;
  padding: .75rem 1rem;
  position: absolute;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

.ppra-site-header {
  border-bottom: 1px solid var(--ppra-border);
  background: #fff;
}

.ppra-container {
  width: min(100% - 2rem, var(--ppra-container));
  margin-inline: auto;
}

.ppra-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ppra-brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  color: var(--ppra-dark);
}

.ppra-brand img {
  width: 145px;
  height: auto;
  display: block;
}

.ppra-site-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.ppra-primary-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ppra-primary-menu a {
  color: var(--ppra-dark);
  font-weight: 600;
}

.ppra-main {
  min-height: 65vh;
  padding: 3rem 0;
}

.ppra-entry-header {
  margin-bottom: 1.5rem;
}

.ppra-entry-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
}

.ppra-entry-content > *:first-child { margin-top: 0; }
.ppra-entry-content > *:last-child { margin-bottom: 0; }

.ppra-blank-canvas {
  min-height: 70vh;
  background: #fff;
}

.ppra-site-footer {
  border-top: 1px solid var(--ppra-border);
  background: #fff;
  color: var(--ppra-muted);
  padding: 1.5rem 0;
  font-size: .95rem;
}

.ppra-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.ppra-footer-logo {
  width: 100px;
  height: auto;
  display: block;
}

.alignwide { max-width: var(--ppra-container); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

@media (max-width: 760px) {
  .ppra-header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .ppra-primary-menu {
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
  }

  .ppra-main { padding: 2rem 0; }
}
