/*
Theme Name: Postrzelam.pl
Theme URI: https://postrzelam.pl
Description: Motyw katalogu strzelnic w Polsce - znajdz gdzie postrzelasz!
Author: Postrzelam.pl
Author URI: https://postrzelam.pl
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: postrzelam
Tags: directory, shooting-range, poland, mobile-first
*/

/* ==========================================================================
   Design System - CSS Custom Properties
   ========================================================================== */

:root {
    /* Brand Colors */
    --pstr-white: #FFFFFF;
    --pstr-red: #C8102E;
    --pstr-black: #1A1A1A;
    --pstr-gray: #F5F5F5;
    --pstr-gray-dark: #333333;

    /* Derived Colors */
    --pstr-red-hover: #A00D24;
    --pstr-red-light: rgba(200, 16, 46, 0.08);
    --pstr-border: #E0E0E0;
    --pstr-shadow: rgba(0, 0, 0, 0.08);
    --pstr-overlay: rgba(26, 26, 26, 0.7);

    /* Typography */
    --pstr-font-heading: 'Barlow Condensed', sans-serif;
    --pstr-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --pstr-fw-regular: 400;
    --pstr-fw-semibold: 600;
    --pstr-fw-bold: 700;

    /* Spacing */
    --pstr-space-xs: 4px;
    --pstr-space-sm: 8px;
    --pstr-space-md: 16px;
    --pstr-space-lg: 24px;
    --pstr-space-xl: 32px;
    --pstr-space-2xl: 48px;
    --pstr-space-3xl: 64px;
    --pstr-space-4xl: 96px;

    /* Layout */
    --pstr-radius: 8px;
    --pstr-radius-sm: 4px;
    --pstr-radius-lg: 12px;
    --pstr-radius-xl: 16px;
    --pstr-radius-full: 9999px;
    --pstr-max-width: 1200px;
    --pstr-header-height: 70px;

    /* Transitions */
    --pstr-transition: 0.2s ease;
    --pstr-transition-slow: 0.4s ease;

    /* Shadows */
    --pstr-shadow-sm: 0 1px 3px var(--pstr-shadow);
    --pstr-shadow-md: 0 4px 12px var(--pstr-shadow);
    --pstr-shadow-lg: 0 8px 24px var(--pstr-shadow);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--pstr-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--pstr-black);
    background-color: var(--pstr-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--pstr-red);
    text-decoration: none;
    transition: color var(--pstr-transition);
}

a:hover {
    color: var(--pstr-red-hover);
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    line-height: 1.2;
    color: var(--pstr-black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (min-width: 768px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
    h1 { font-size: 3.25rem; }
    h2 { font-size: 2.5rem; }
}

p {
    margin-bottom: var(--pstr-space-md);
    font-size: 1rem;
    min-font-size: 16px;
}

.pstr-text-sm { font-size: 0.875rem; }
.pstr-text-lg { font-size: 1.125rem; }
.pstr-text-xl { font-size: 1.25rem; }

/* ==========================================================================
   Layout
   ========================================================================== */

.pstr-container {
    width: 100%;
    max-width: var(--pstr-max-width);
    margin: 0 auto;
    padding: 0 var(--pstr-space-md);
}

@media (min-width: 768px) {
    .pstr-container {
        padding: 0 var(--pstr-space-lg);
    }
}

.pstr-section {
    padding: var(--pstr-space-2xl) 0;
}

@media (min-width: 768px) {
    .pstr-section {
        padding: var(--pstr-space-3xl) 0;
    }
}

@media (min-width: 1024px) {
    .pstr-section {
        padding: var(--pstr-space-4xl) 0;
    }
}

.pstr-section-title {
    text-align: center;
    margin-bottom: var(--pstr-space-xl);
}

.pstr-section-title h2 {
    margin-bottom: var(--pstr-space-sm);
}

.pstr-section-title p {
    color: var(--pstr-gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid */
.pstr-grid {
    display: grid;
    gap: var(--pstr-space-lg);
}

.pstr-grid-2 { grid-template-columns: 1fr; }
.pstr-grid-3 { grid-template-columns: 1fr; }
.pstr-grid-4 { grid-template-columns: 1fr; }
.pstr-grid-6 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
    .pstr-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .pstr-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .pstr-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pstr-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .pstr-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .pstr-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .pstr-grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .pstr-grid-6 { grid-template-columns: repeat(6, 1fr); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.pstr-top-bar {
    background-color: var(--pstr-black);
    color: var(--pstr-white);
    font-size: 0.8125rem;
    padding: var(--pstr-space-sm) 0;
    display: none;
}

@media (min-width: 768px) {
    .pstr-top-bar {
        display: block;
    }
}

.pstr-top-bar .pstr-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pstr-top-bar a {
    color: var(--pstr-white);
    margin-left: var(--pstr-space-md);
}

.pstr-top-bar a:hover {
    color: var(--pstr-red);
}

.pstr-header {
    background-color: var(--pstr-white);
    border-bottom: 2px solid var(--pstr-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--pstr-transition);
}

.pstr-header.pstr-header--scrolled {
    box-shadow: var(--pstr-shadow-lg);
}

.pstr-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--pstr-header-height);
}

/* Logo */
.pstr-logo {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pstr-logo .pstr-logo-black {
    color: var(--pstr-black);
}

.pstr-logo .pstr-logo-red {
    color: var(--pstr-red);
}

@media (min-width: 1024px) {
    .pstr-logo {
        font-size: 2rem;
    }
}

/* Main Navigation */
.pstr-nav {
    display: none;
}

@media (min-width: 1024px) {
    .pstr-nav {
        display: flex;
        align-items: center;
        gap: var(--pstr-space-xs);
    }
}

.pstr-nav a {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-semibold);
    font-size: 0.9375rem;
    color: var(--pstr-black);
    padding: var(--pstr-space-sm) var(--pstr-space-sm);
    border-radius: var(--pstr-radius-sm);
    transition: background-color var(--pstr-transition), color var(--pstr-transition);
    text-transform: uppercase;
    white-space: nowrap;
}

.pstr-nav a:hover,
.pstr-nav a.current-menu-item {
    color: var(--pstr-red);
    background-color: var(--pstr-red-light);
}

/* Hamburger Menu */
.pstr-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--pstr-space-sm);
    gap: 5px;
}

@media (min-width: 1024px) {
    .pstr-hamburger {
        display: none;
    }
}

.pstr-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--pstr-black);
    transition: transform var(--pstr-transition), opacity var(--pstr-transition);
}

.pstr-hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.pstr-hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.pstr-hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.pstr-mobile-menu {
    display: none;
    position: fixed;
    top: var(--pstr-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--pstr-white);
    z-index: 999;
    overflow-y: auto;
    padding: var(--pstr-space-lg);
}

.pstr-mobile-menu.is-active {
    display: block;
}

.pstr-mobile-menu a {
    display: block;
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-semibold);
    font-size: 1.25rem;
    color: var(--pstr-black);
    padding: var(--pstr-space-md) 0;
    border-bottom: 1px solid var(--pstr-border);
    text-transform: uppercase;
}

.pstr-mobile-menu a:hover {
    color: var(--pstr-red);
}

.pstr-mobile-menu .pstr-btn-red {
    margin-top: var(--pstr-space-lg);
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.pstr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 24px;
    border-radius: var(--pstr-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color var(--pstr-transition), color var(--pstr-transition), border-color var(--pstr-transition), transform var(--pstr-transition);
    min-height: 48px;
    min-width: 48px;
    text-decoration: none;
    gap: var(--pstr-space-sm);
    line-height: 1.2;
}

.pstr-btn:active {
    transform: scale(0.97);
}

.pstr-btn-red {
    background-color: var(--pstr-red);
    color: var(--pstr-white);
    border-color: var(--pstr-red);
}

.pstr-btn-red:hover {
    background-color: var(--pstr-red-hover);
    border-color: var(--pstr-red-hover);
    color: var(--pstr-white);
}

.pstr-btn-black {
    background-color: var(--pstr-black);
    color: var(--pstr-white);
    border-color: var(--pstr-black);
}

.pstr-btn-black:hover {
    background-color: var(--pstr-gray-dark);
    border-color: var(--pstr-gray-dark);
    color: var(--pstr-white);
}

.pstr-btn-outline {
    background-color: transparent;
    color: var(--pstr-red);
    border-color: var(--pstr-red);
}

.pstr-btn-outline:hover {
    background-color: var(--pstr-red);
    color: var(--pstr-white);
}

.pstr-btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    min-height: 40px;
}

.pstr-btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header CTA */
.pstr-header-cta {
    display: none;
}

@media (min-width: 768px) {
    .pstr-header-cta {
        display: inline-flex;
    }
}

/* ==========================================================================
   Cards
   ========================================================================== */

.pstr-card {
    background-color: var(--pstr-white);
    border-radius: var(--pstr-radius-lg);
    border: 1px solid var(--pstr-border);
    overflow: hidden;
    transition: box-shadow var(--pstr-transition), transform var(--pstr-transition);
}

.pstr-card:hover {
    box-shadow: var(--pstr-shadow-md);
    transform: translateY(-2px);
}

.pstr-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.pstr-card-body {
    padding: var(--pstr-space-lg);
}

.pstr-card-title {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 1.25rem;
    margin-bottom: var(--pstr-space-sm);
    text-transform: uppercase;
}

.pstr-card-meta {
    font-size: 0.875rem;
    color: var(--pstr-gray-dark);
    margin-bottom: var(--pstr-space-sm);
}

.pstr-card-excerpt {
    font-size: 0.9375rem;
    color: var(--pstr-gray-dark);
    margin-bottom: var(--pstr-space-md);
}

.pstr-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--pstr-space-md) var(--pstr-space-lg);
    border-top: 1px solid var(--pstr-border);
}

/* ==========================================================================
   Star Ratings
   ========================================================================== */

.pstr-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.pstr-star {
    width: 18px;
    height: 18px;
    color: #E0E0E0;
}

.pstr-star.is-filled {
    color: #FFB800;
}

.pstr-star.is-half {
    color: #FFB800;
}

.pstr-rating-text {
    font-weight: var(--pstr-fw-semibold);
    font-size: 0.875rem;
    margin-left: var(--pstr-space-sm);
    color: var(--pstr-gray-dark);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.pstr-form-group {
    margin-bottom: var(--pstr-space-md);
}

.pstr-form-label {
    display: block;
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-semibold);
    font-size: 0.9375rem;
    margin-bottom: var(--pstr-space-xs);
    text-transform: uppercase;
    color: var(--pstr-black);
}

.pstr-form-input,
.pstr-form-select,
.pstr-form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--pstr-font-body);
    font-size: 1rem;
    color: var(--pstr-black);
    background-color: var(--pstr-white);
    border: 2px solid var(--pstr-border);
    border-radius: var(--pstr-radius);
    transition: border-color var(--pstr-transition);
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
}

.pstr-form-input:focus,
.pstr-form-select:focus,
.pstr-form-textarea:focus {
    outline: none;
    border-color: var(--pstr-red);
}

.pstr-form-input::placeholder {
    color: #999;
}

.pstr-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.pstr-form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Search Bar */
.pstr-search-bar {
    display: flex;
    background-color: var(--pstr-white);
    border-radius: var(--pstr-radius-lg);
    overflow: hidden;
    box-shadow: var(--pstr-shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.pstr-search-bar input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--pstr-font-body);
    min-height: 56px;
    outline: none;
}

.pstr-search-bar button {
    background-color: var(--pstr-red);
    color: var(--pstr-white);
    border: none;
    padding: 16px 24px;
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    min-width: 48px;
    min-height: 48px;
    transition: background-color var(--pstr-transition);
    white-space: nowrap;
}

.pstr-search-bar button:hover {
    background-color: var(--pstr-red-hover);
}

/* Sticky Search Bar */
.pstr-sticky-search {
    position: fixed;
    top: var(--pstr-header-height);
    left: 0;
    right: 0;
    background-color: var(--pstr-white);
    border-bottom: 1px solid var(--pstr-border);
    padding: var(--pstr-space-sm) 0;
    z-index: 998;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform var(--pstr-transition), opacity var(--pstr-transition);
}

.pstr-sticky-search.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.pstr-sticky-search .pstr-search-bar {
    box-shadow: var(--pstr-shadow-sm);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.pstr-hero {
    position: relative;
    background-color: var(--pstr-black);
    color: var(--pstr-white);
    padding: var(--pstr-space-3xl) 0;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .pstr-hero {
        min-height: 500px;
        padding: var(--pstr-space-4xl) 0;
    }
}

.pstr-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.pstr-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.pstr-hero h1 {
    color: var(--pstr-white);
    margin-bottom: var(--pstr-space-md);
}

.pstr-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--pstr-space-xl);
}

@media (min-width: 768px) {
    .pstr-hero p {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Counter Section
   ========================================================================== */

.pstr-counters {
    background-color: var(--pstr-gray);
    padding: var(--pstr-space-2xl) 0;
}

.pstr-counter-item {
    text-align: center;
    padding: var(--pstr-space-lg);
}

.pstr-counter-number {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 2.5rem;
    color: var(--pstr-red);
    line-height: 1;
    margin-bottom: var(--pstr-space-xs);
}

@media (min-width: 768px) {
    .pstr-counter-number {
        font-size: 3rem;
    }
}

.pstr-counter-label {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-semibold);
    font-size: 0.9375rem;
    text-transform: uppercase;
    color: var(--pstr-gray-dark);
    letter-spacing: 0.04em;
}

/* ==========================================================================
   Module Tiles
   ========================================================================== */

.pstr-module-tile {
    background-color: var(--pstr-white);
    border: 2px solid var(--pstr-border);
    border-radius: var(--pstr-radius-lg);
    padding: var(--pstr-space-xl);
    text-align: center;
    transition: border-color var(--pstr-transition), box-shadow var(--pstr-transition), transform var(--pstr-transition);
    text-decoration: none;
    display: block;
    min-height: 48px;
}

.pstr-module-tile:hover {
    border-color: var(--pstr-red);
    box-shadow: var(--pstr-shadow-md);
    transform: translateY(-2px);
}

.pstr-module-tile-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--pstr-space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--pstr-red);
    background-color: var(--pstr-red-light);
    border-radius: var(--pstr-radius);
}

.pstr-module-tile-title {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 1.125rem;
    color: var(--pstr-black);
    text-transform: uppercase;
    margin-bottom: var(--pstr-space-xs);
}

.pstr-module-tile-desc {
    font-size: 0.875rem;
    color: var(--pstr-gray-dark);
    line-height: 1.5;
}

/* ==========================================================================
   How It Works (Steps)
   ========================================================================== */

.pstr-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--pstr-space-xl);
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pstr-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pstr-step {
    text-align: center;
    padding: var(--pstr-space-lg);
}

.pstr-step-number {
    width: 56px;
    height: 56px;
    background-color: var(--pstr-red);
    color: var(--pstr-white);
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--pstr-space-md);
}

.pstr-step-title {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: var(--pstr-space-sm);
}

.pstr-step-desc {
    font-size: 0.9375rem;
    color: var(--pstr-gray-dark);
}

/* ==========================================================================
   CTA Sections
   ========================================================================== */

.pstr-cta-section {
    background-color: var(--pstr-black);
    color: var(--pstr-white);
    padding: var(--pstr-space-3xl) 0;
    text-align: center;
}

.pstr-cta-section h2 {
    color: var(--pstr-white);
    margin-bottom: var(--pstr-space-md);
}

.pstr-cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto var(--pstr-space-xl);
    font-size: 1.125rem;
}

/* ==========================================================================
   Trust Badges
   ========================================================================== */

.pstr-trust-badges {
    padding: var(--pstr-space-2xl) 0;
    background-color: var(--pstr-gray);
}

.pstr-badge-item {
    text-align: center;
    padding: var(--pstr-space-md);
}

.pstr-badge-icon {
    font-size: 2rem;
    color: var(--pstr-red);
    margin-bottom: var(--pstr-space-sm);
}

.pstr-badge-text {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-semibold);
    font-size: 0.9375rem;
    text-transform: uppercase;
    color: var(--pstr-gray-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.pstr-footer {
    background-color: var(--pstr-black);
    color: var(--pstr-white);
    padding: var(--pstr-space-3xl) 0 0;
}

.pstr-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--pstr-transition);
}

.pstr-footer a:hover {
    color: var(--pstr-red);
}

.pstr-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--pstr-space-xl);
    margin-bottom: var(--pstr-space-2xl);
}

@media (min-width: 768px) {
    .pstr-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.pstr-footer-col h4 {
    color: var(--pstr-white);
    font-size: 1.125rem;
    margin-bottom: var(--pstr-space-md);
    text-transform: uppercase;
}

.pstr-footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.pstr-footer-links li {
    margin-bottom: var(--pstr-space-sm);
}

.pstr-footer-links a {
    font-size: 0.9375rem;
    padding: var(--pstr-space-xs) 0;
    display: inline-block;
    min-height: 48px;
    line-height: 40px;
}

.pstr-footer-contact li {
    margin-bottom: var(--pstr-space-sm);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.pstr-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--pstr-space-lg) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--pstr-space-sm);
    text-align: center;
}

@media (min-width: 768px) {
    .pstr-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.pstr-footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.pstr-footer-bottom-links {
    display: flex;
    gap: var(--pstr-space-md);
}

.pstr-footer-bottom-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

/* Footer CTA */
.pstr-footer-cta {
    background-color: var(--pstr-red);
    text-align: center;
    padding: var(--pstr-space-xl) 0;
    margin-top: var(--pstr-space-2xl);
}

.pstr-footer-cta h3 {
    color: var(--pstr-white);
    margin-bottom: var(--pstr-space-md);
}

/* ==========================================================================
   Page & Content Styles
   ========================================================================== */

.pstr-content {
    padding: var(--pstr-space-2xl) 0;
    min-height: 60vh;
}

.pstr-content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.pstr-entry-header {
    margin-bottom: var(--pstr-space-xl);
}

.pstr-entry-content {
    font-size: 1rem;
    line-height: 1.8;
}

.pstr-entry-content p {
    margin-bottom: var(--pstr-space-md);
}

.pstr-entry-content h2,
.pstr-entry-content h3,
.pstr-entry-content h4 {
    margin-top: var(--pstr-space-xl);
    margin-bottom: var(--pstr-space-md);
}

.pstr-entry-content ul,
.pstr-entry-content ol {
    margin-bottom: var(--pstr-space-md);
    padding-left: var(--pstr-space-xl);
}

.pstr-entry-content ul {
    list-style: disc;
}

.pstr-entry-content ol {
    list-style: decimal;
}

.pstr-entry-content li {
    margin-bottom: var(--pstr-space-sm);
}

.pstr-entry-content img {
    border-radius: var(--pstr-radius);
    margin: var(--pstr-space-lg) 0;
}

.pstr-entry-content blockquote {
    border-left: 4px solid var(--pstr-red);
    padding: var(--pstr-space-md) var(--pstr-space-lg);
    margin: var(--pstr-space-lg) 0;
    background-color: var(--pstr-gray);
    border-radius: 0 var(--pstr-radius) var(--pstr-radius) 0;
    font-style: italic;
}

/* Archive */
.pstr-archive-header {
    background-color: var(--pstr-gray);
    padding: var(--pstr-space-2xl) 0;
    margin-bottom: var(--pstr-space-xl);
}

.pstr-archive-header h1 {
    margin-bottom: var(--pstr-space-sm);
}

.pstr-archive-header p {
    color: var(--pstr-gray-dark);
}

/* Pagination */
.pstr-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--pstr-space-sm);
    margin-top: var(--pstr-space-2xl);
}

.pstr-pagination a,
.pstr-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: var(--pstr-space-sm) var(--pstr-space-md);
    border-radius: var(--pstr-radius);
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 0.9375rem;
    border: 2px solid var(--pstr-border);
    color: var(--pstr-black);
    transition: background-color var(--pstr-transition), color var(--pstr-transition), border-color var(--pstr-transition);
}

.pstr-pagination a:hover {
    border-color: var(--pstr-red);
    color: var(--pstr-red);
}

.pstr-pagination .current {
    background-color: var(--pstr-red);
    border-color: var(--pstr-red);
    color: var(--pstr-white);
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.pstr-404 {
    text-align: center;
    padding: var(--pstr-space-4xl) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.pstr-404-code {
    font-family: var(--pstr-font-heading);
    font-weight: var(--pstr-fw-bold);
    font-size: 6rem;
    color: var(--pstr-red);
    line-height: 1;
    margin-bottom: var(--pstr-space-md);
}

@media (min-width: 768px) {
    .pstr-404-code {
        font-size: 8rem;
    }
}

.pstr-404 h1 {
    margin-bottom: var(--pstr-space-md);
}

.pstr-404 p {
    font-size: 1.125rem;
    color: var(--pstr-gray-dark);
    max-width: 500px;
    margin: 0 auto var(--pstr-space-xl);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.pstr-text-center { text-align: center; }
.pstr-text-left { text-align: left; }
.pstr-text-right { text-align: right; }
.pstr-text-red { color: var(--pstr-red); }
.pstr-text-white { color: var(--pstr-white); }
.pstr-bg-gray { background-color: var(--pstr-gray); }
.pstr-bg-black { background-color: var(--pstr-black); }
.pstr-bg-red { background-color: var(--pstr-red); }
.pstr-mt-sm { margin-top: var(--pstr-space-sm); }
.pstr-mt-md { margin-top: var(--pstr-space-md); }
.pstr-mt-lg { margin-top: var(--pstr-space-lg); }
.pstr-mt-xl { margin-top: var(--pstr-space-xl); }
.pstr-mb-sm { margin-bottom: var(--pstr-space-sm); }
.pstr-mb-md { margin-bottom: var(--pstr-space-md); }
.pstr-mb-lg { margin-bottom: var(--pstr-space-lg); }
.pstr-mb-xl { margin-bottom: var(--pstr-space-xl); }
.pstr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   Responsive Visibility
   ========================================================================== */

.pstr-hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .pstr-hide-mobile {
        display: block;
    }
    .pstr-hide-tablet {
        display: none;
    }
}

@media (min-width: 1024px) {
    .pstr-hide-desktop {
        display: none;
    }
}
