/*
Theme Name: VirtualGolfMansion
Theme URI: https://virtualgolfmansion.com
Author: Kenny Nyhus Fadil
Author URI: https://virtualgolfmansion.com
Description: A WordPress theme for home golf simulator builders. Dark clubhouse aesthetic with fairway green and gold accents for honest gear guides.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: virtualgolfmansion
Tags: dark, custom-menu, featured-images, threaded-comments
*/

/* ===================================
   CSS VARIABLES / DESIGN TOKENS
   =================================== */
:root {
    /* Colors */
    --golf-night: #0b0f0b;
    --golf-clubhouse: #151310;
    --golf-walnut: #1c1813;
    --golf-gold: #e0b04b;
    --golf-gold-hover: #c2933a;
    --golf-fairway: #4ade80;
    --golf-fairway-hover: #22c55e;
    --golf-cream: #f0e6c8;
    --golf-stone: #a39e8f;
    --golf-linen: #faf8f2;
    
    /* Typography */
    --font-display: 'Playfair Display', 'Lora', serif;
    --font-heading: 'Lora', 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Shadows */
    --golf-shadow-gold: 0 0 15px rgba(224, 176, 75, 0.4);
    --golf-shadow-green: 0 0 15px rgba(74, 222, 128, 0.4);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* Border radius */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
}

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--golf-linen);
    background-color: var(--golf-night);
    overflow-x: hidden;
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--golf-linen);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

.font-display {
    font-family: var(--font-display);
}

.font-heading {
    font-family: var(--font-heading);
}

.font-mono {
    font-family: var(--font-mono);
}

.text-gradient {
    background: linear-gradient(135deg, var(--golf-gold), #c2933a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   LAYOUT UTILITIES
   =================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

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

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

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform var(--transition-base);
}

.site-logo:hover {
    transform: scale(1.02);
}

.site-logo:hover .logo-icon {
    transform: scale(1.1);
}

.logo-icon {
    color: var(--golf-gold);
    transition: transform var(--transition-base);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-text-sub {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--golf-stone);
    letter-spacing: 0.2em;
    line-height: 1;
    transition: color var(--transition-base);
}

.site-logo:hover .logo-text-sub {
    color: var(--golf-fairway);
}

/* Desktop Navigation */
.main-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--golf-linen);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--golf-gold);
}

.nav-link.active {
    border-bottom-color: var(--golf-gold);
}

.nav-link svg {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--golf-linen);
    transition: color var(--transition-base);
}

.mobile-menu-toggle:hover {
    color: var(--golf-gold);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--golf-clubhouse);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.mobile-nav.is-open {
    display: block;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link.active {
    background: rgba(224, 176, 75, 0.2);
    color: var(--golf-gold);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
    transform: skewX(-10deg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transform: skewX(10deg);
}

.btn-sm {
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
}

.btn-md {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--golf-gold);
    color: white;
    box-shadow: var(--golf-shadow-gold);
}

.btn-primary:hover {
    background: var(--golf-gold-hover);
    transform: skewX(-10deg) translateY(-2px);
}

.btn-secondary {
    background: var(--golf-fairway);
    color: black;
    box-shadow: var(--golf-shadow-green);
}

.btn-secondary:hover {
    background: var(--golf-fairway-hover);
    transform: skewX(-10deg) translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--golf-fairway);
    border-color: var(--golf-fairway);
}

.btn-outline:hover {
    background: rgba(74, 222, 128, 0.1);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--golf-stone);
}

.btn-ghost:hover {
    color: var(--golf-linen);
}

/* ===================================
   CARDS
   =================================== */
.card {
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid transparent;
    padding: 1.5rem;
    transition: all var(--transition-slow);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-accent-red:hover {
    border-left-color: var(--golf-gold);
}

.card-accent-cyan:hover {
    border-left-color: var(--golf-fairway);
}

.card-accent-yellow:hover {
    border-left-color: var(--golf-cream);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-icon {
    padding: 0.75rem;
    border-radius: var(--radius-sm);
}

.card-icon-green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.card-icon-red {
    background: rgba(224, 176, 75, 0.1);
    color: var(--golf-gold);
}

.card-icon-yellow {
    background: rgba(240, 230, 200, 0.1);
    color: var(--golf-cream);
}

.card-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--golf-stone);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.875rem;
    color: var(--golf-stone);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: gap var(--transition-base);
}

.card-link:hover {
    gap: 1rem;
}

.card-link-green {
    color: #22c55e;
}

.card-link-red {
    color: var(--golf-gold);
}

.card-link-yellow {
    color: var(--golf-cream);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--golf-night), rgba(10, 10, 10, 0.8), transparent);
}

.hero-overlay-blue {
    position: absolute;
    inset: 0;
    background: rgba(30, 64, 175, 0.1);
    mix-blend-mode: overlay;
}

.hero-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--golf-gold);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: skewX(-10deg);
    box-shadow: var(--golf-shadow-gold);
    margin-bottom: 1rem;
}

.hero-badge-inner {
    display: block;
    transform: skewX(10deg);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--golf-stone);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

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

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* ===================================
   SKILL PATHS SECTION
   =================================== */
.skill-paths {
    position: relative;
    padding: 5rem 0;
    background: var(--golf-clubhouse);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-paths-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: -8rem;
    position: relative;
    z-index: 20;
}

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

.skill-card {
    background: var(--golf-walnut);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   GUIDES SECTION
   =================================== */
.guides-section {
    position: relative;
    padding: 6rem 0;
    background: var(--golf-night);
}

.guides-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
    opacity: 0.02;
    pointer-events: none;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.section-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.section-title-line {
    width: 5rem;
    height: 4px;
    background: var(--golf-gold);
    transform: skewX(-20deg);
}

/* Guide Cards */
.guide-card {
    cursor: pointer;
    transition: transform var(--transition-slow);
}

.guide-card:hover {
    transform: translateY(-4px);
}

.guide-card-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all var(--transition-slow);
}

.guide-card:hover .guide-card-image img {
    opacity: 1;
    transform: scale(1.1);
}

.guide-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}

.category-builds {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.5);
}

.category-launch-monitors {
    background: rgba(224, 176, 75, 0.2);
    color: var(--golf-gold);
    border-color: rgba(224, 176, 75, 0.5);
}

.category-mats {
    background: rgba(74, 222, 128, 0.2);
    color: var(--golf-fairway);
    border-color: rgba(74, 222, 128, 0.5);
}

.category-enclosures {
    background: rgba(240, 230, 200, 0.2);
    color: var(--golf-cream);
    border-color: rgba(240, 230, 200, 0.5);
}

.category-software {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.5);
}

.category-projectors {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
    border-color: rgba(251, 146, 60, 0.5);
}

.guide-card-content {
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    padding: 1.5rem;
}

.guide-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    transition: color var(--transition-base);
}

.guide-card:hover .guide-card-title {
    color: var(--golf-gold);
}

.guide-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--golf-stone);
}

.guide-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===================================
   COMPARISON/DATABASE SECTION
   =================================== */
.comparison-section {
    padding: 6rem 0;
    background: var(--golf-clubhouse);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.comparison-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(224, 176, 75, 0.05), transparent);
    pointer-events: none;
}

.comparison-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .comparison-content {
        flex-direction: row;
        align-items: center;
    }
}

.comparison-text {
    flex: 1;
}

.comparison-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.comparison-text > p {
    font-size: 1.125rem;
    color: var(--golf-stone);
    margin-bottom: 2rem;
}

.comparison-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.comparison-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comparison-feature::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--golf-fairway);
    border-radius: 50%;
    flex-shrink: 0;
}

.comparison-visual {
    flex: 1;
    width: 100%;
}

.database-preview {
    background: var(--golf-night);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.database-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--golf-clubhouse);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.database-preview-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--golf-fairway);
}

.database-preview-dots {
    display: flex;
    gap: 0.25rem;
}

.database-preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.database-preview-dots span:nth-child(1) { background: #ef4444; }
.database-preview-dots span:nth-child(2) { background: #eab308; }
.database-preview-dots span:nth-child(3) { background: #22c55e; }

.database-preview-content {
    padding: 1.5rem;
}

.database-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.database-preview-row:last-child {
    border-bottom: none;
}

.preview-placeholder {
    height: 1rem;
    border-radius: var(--radius-sm);
    animation: pulse 2s infinite;
}

.preview-placeholder-1 {
    width: 33%;
    background: rgba(255, 255, 255, 0.1);
}

.preview-placeholder-2 {
    width: 25%;
    background: rgba(255, 255, 255, 0.05);
}

.preview-placeholder-3 {
    width: 16%;
    background: rgba(224, 176, 75, 0.2);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===================================
   TOOLS SECTION
   =================================== */
.tools-section {
    padding: 5rem 0;
    background: var(--golf-night);
}

.tools-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.tool-card {
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.tool-card:hover {
    border-color: rgba(224, 176, 75, 0.5);
}

.tool-card-icon {
    color: var(--golf-fairway);
    margin-bottom: 1rem;
    transition: transform var(--transition-base);
}

.tool-card:hover .tool-card-icon {
    transform: scale(1.1);
}

.tool-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.875rem;
    color: var(--golf-stone);
}

/* ===================================
   NEWSLETTER SECTION
   =================================== */
.newsletter-section {
    padding: 5rem 0;
    background: var(--golf-gold);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.newsletter-content {
    position: relative;
    z-index: 10;
    max-width: 32rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
}

.newsletter-content > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: var(--font-mono);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: white;
}

.newsletter-button {
    background: white;
    color: var(--golf-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    transform: skewX(-10deg);
    transition: background var(--transition-base);
}

.newsletter-button:hover {
    background: #f1f1f1;
}

.newsletter-button-inner {
    display: block;
    transform: skewX(10deg);
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background: var(--golf-clubhouse);
    border-top: 4px solid var(--golf-gold);
    position: relative;
}

.footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo3RDE3RDc3RDIzRTYxMUVBODFERDk2NDg4NEE2REIxRSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo3RDE3RDc3RTIzRTYxMUVBODFERDk2NDg4NEE2REIxRSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjdEMTdENzdCMjNFNjExRUE4MUREOTY0ODg0QTZEQjFFIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjdEMTdENzdDMjNFNjExRUE4MUREOTY0ODg0QTZEQjFFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Pj8npAAAAB9JREFUeNpiZGBg+A/EjCQCSgxDgIA12Bj+AzEUwgAEGAA3ThDn/q3g7gAAAABJRU5ErkJggg==");
    opacity: 0.5;
}

.footer-content {
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand svg {
    color: var(--golf-stone);
}

.footer-brand span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--golf-stone);
    line-height: 1.6;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-size: 0.875rem;
    color: var(--golf-stone);
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: var(--golf-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--golf-stone);
}

/* ===================================
   MAIN CONTENT AREA
   =================================== */
.site-main {
    flex-grow: 1;
    padding-top: 80px;
}

/* ===================================
   PAGE TEMPLATES
   =================================== */
.page-header {
    background: var(--golf-clubhouse);
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--golf-stone);
    max-width: 42rem;
}

.page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 48rem;
    margin: 0 auto;
}

/* Prose Styling */
.prose {
    color: var(--golf-stone);
    line-height: 1.8;
}

.prose h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--golf-linen);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--golf-linen);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose strong {
    color: var(--golf-linen);
    font-weight: 600;
}

.prose a {
    color: var(--golf-fairway);
    text-decoration: underline;
}

.prose a:hover {
    color: var(--golf-linen);
}

/* Callout Box */
.callout {
    background: var(--golf-clubhouse);
    border-left: 4px solid var(--golf-gold);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.callout-warning {
    border-left-color: var(--golf-cream);
    background: rgba(240, 230, 200, 0.05);
}

.callout h2 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.callout p:last-child {
    margin-bottom: 0;
}

/* ===================================
   ABOUT PAGE
   =================================== */
.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.about-section h2 svg {
    flex-shrink: 0;
}

.about-methodology {
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.about-methodology::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 120px;
    height: 120px;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-closing {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-closing p:first-child {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--golf-linen);
}

.about-closing p:last-child {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--golf-stone);
    margin-top: 0.5rem;
}

/* ===================================
   WHEELS/COMPARISON PAGE
   =================================== */
.database-filters {
    background: var(--golf-clubhouse);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    border-radius: var(--radius-sm);
}

.filters-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .filters-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.search-wrapper {
    position: relative;
    width: 100%;
}

@media (min-width: 768px) {
    .search-wrapper {
        width: 33%;
    }
}

.search-wrapper svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--golf-stone);
}

.search-input {
    width: 100%;
    background: var(--golf-night);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    color: var(--golf-linen);
}

.search-input:focus {
    outline: none;
    border-color: var(--golf-fairway);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    color: var(--golf-stone);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.filter-btn:hover {
    color: var(--golf-linen);
}

.filter-btn.active {
    background: var(--golf-fairway);
    color: black;
}

/* Data Table */
.data-table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--golf-stone);
    cursor: pointer;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.data-table th:hover {
    color: var(--golf-linen);
}

.data-table th svg {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25rem;
}

.data-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--transition-base);
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.data-table td {
    padding: 1rem;
}

.product-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--golf-linen);
    transition: color var(--transition-base);
}

.data-table tbody tr:hover .product-name {
    color: var(--golf-fairway);
}

.mechanism-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.mechanism-dd {
    background: rgba(224, 176, 75, 0.2);
    color: var(--golf-gold);
}

.mechanism-belt,
.mechanism-gear {
    background: rgba(255, 255, 255, 0.1);
    color: var(--golf-stone);
}

.torque-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.torque-bar-bg {
    width: 6rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.torque-bar-fill {
    height: 100%;
    background: var(--golf-fairway);
}

.torque-value {
    font-family: var(--font-mono);
    white-space: nowrap;
}

.platform-badges {
    display: flex;
    gap: 0.5rem;
}

.platform-badge {
    font-size: 0.625rem;
    padding: 0.125rem 0.25rem;
    border-radius: var(--radius-sm);
}

.platform-pc {
    background: rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

.platform-ps {
    background: rgba(30, 58, 138, 0.4);
    color: #60a5fa;
}

.platform-xbox {
    background: rgba(20, 83, 45, 0.4);
    color: #4ade80;
}

.price {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--golf-linen);
}

.no-results {
    text-align: center;
    padding: 5rem 0;
    color: var(--golf-stone);
}

/* ===================================
   SIM BUILDS PAGE
   =================================== */
.category-filters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .category-filters {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-filter-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    transition: all var(--transition-base);
}

.category-filter-btn:hover {
    border-color: var(--golf-gold);
}

.category-filter-btn svg {
    color: var(--golf-stone);
    transition: color var(--transition-base);
}

.category-filter-btn:hover svg {
    color: var(--golf-linen);
}

.category-filter-btn span {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.builds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.build-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 768px) {
    .build-card {
        flex-direction: row;
    }
}

.build-card-image {
    width: 100%;
    height: 12rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .build-card-image {
        width: 33%;
        height: auto;
    }
}

.build-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    border-radius: var(--radius-sm);
}

.build-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

.build-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.budget-badge {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 1px solid;
}

.budget-low {
    border-color: #22c55e;
    color: #22c55e;
}

.budget-mid {
    border-color: var(--golf-cream);
    color: var(--golf-cream);
}

.budget-high {
    border-color: var(--golf-gold);
    color: var(--golf-gold);
}

.build-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--golf-stone);
}

.build-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.build-card-desc {
    font-size: 0.875rem;
    color: var(--golf-stone);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.build-card-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--golf-cream);
    transition: color var(--transition-base);
}

.build-card-link:hover {
    color: var(--golf-linen);
}

/* ===================================
   TOOLS PAGE
   =================================== */
.tools-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .tools-content {
        grid-template-columns: 1fr 1fr;
    }
}

.fov-calculator {
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
}

.fov-calculator h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.fov-calculator h2 svg {
    color: var(--golf-fairway);
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--golf-stone);
    margin-bottom: 0.5rem;
}

.input-group label span:last-child {
    color: var(--golf-fairway);
}

.range-input {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.range-input::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--golf-fairway);
    border-radius: 50%;
    cursor: pointer;
}

.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--golf-fairway);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.ratio-buttons {
    display: flex;
    gap: 0.5rem;
}

.ratio-btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--golf-stone);
    transition: all var(--transition-base);
}

.ratio-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.ratio-btn.active {
    background: rgba(74, 222, 128, 0.2);
    border-color: var(--golf-fairway);
    color: var(--golf-fairway);
}

.fov-result {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    margin-top: 2rem;
    overflow: hidden;
}

.fov-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--golf-fairway), transparent);
    opacity: 0.5;
}

.fov-result-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--golf-stone);
    margin-bottom: 0.5rem;
}

.fov-result-value {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--golf-linen);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.fov-result-hint {
    font-size: 0.75rem;
    color: var(--golf-stone);
    opacity: 0.6;
}

.fov-explainer {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.5);
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #fbbf24;
}

.fov-explainer strong {
    color: #fbbf24;
}

.tools-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tools-info-card {
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
}

.tools-info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.tools-info-card h3 svg {
    color: var(--golf-gold);
}

.measurement-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.measurement-step {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--golf-stone);
}

.measurement-step strong {
    color: var(--golf-linen);
}

.planner-card {
    position: relative;
    overflow: hidden;
}

.planner-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.1;
}

.planner-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.planner-card p {
    font-size: 0.875rem;
    color: var(--golf-stone);
    margin-bottom: 1.5rem;
}

/* ===================================
   BLOG / POSTS
   =================================== */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.post-card {
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-card-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all var(--transition-slow);
}

.post-card:hover .post-card-image img {
    opacity: 1;
    transform: scale(1.05);
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color var(--transition-base);
}

.post-card:hover .post-card-title {
    color: var(--golf-gold);
}

.post-card-excerpt {
    font-size: 0.875rem;
    color: var(--golf-stone);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--golf-stone);
}

/* Single Post */
.single-post {
    padding: 4rem 0;
}

.post-header {
    max-width: 48rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.post-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.post-category {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    background: rgba(224, 176, 75, 0.2);
    color: var(--golf-gold);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.post-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--golf-stone);
}

.post-featured-image {
    max-width: 64rem;
    margin: 0 auto 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    max-width: 48rem;
    margin: 0 auto;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--golf-stone);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.post-tag:hover {
    background: rgba(74, 222, 128, 0.2);
    color: var(--golf-fairway);
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-posts h2 {
    margin-bottom: 2rem;
}

/* ===================================
   PAGINATION
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--golf-stone);
    transition: all var(--transition-base);
}

.pagination a:hover {
    border-color: var(--golf-fairway);
    color: var(--golf-fairway);
}

.pagination .current {
    background: var(--golf-gold);
    border-color: var(--golf-gold);
    color: white;
}

/* ===================================
   COMMENTS
   =================================== */
.comments-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-title {
    margin-bottom: 2rem;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comment {
    background: var(--golf-clubhouse);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-meta {
    flex: 1;
}

.comment-author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--golf-linen);
}

.comment-date {
    font-size: 0.75rem;
    color: var(--golf-stone);
}

.comment-content {
    color: var(--golf-stone);
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--golf-fairway);
    transition: color var(--transition-base);
}

.comment-reply-link:hover {
    color: var(--golf-linen);
}

.comment .children {
    margin-top: 2rem;
    padding-left: 2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

/* Comment Form */
.comment-respond {
    margin-top: 3rem;
}

.comment-respond h3 {
    margin-bottom: 1.5rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-form label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--golf-stone);
    margin-bottom: 0.25rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--golf-night);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--golf-linen);
    transition: border-color var(--transition-base);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--golf-fairway);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--golf-stone);
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
}

/* ===================================
   404 PAGE
   =================================== */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1rem;
}

.error-404-content h1 {
    font-size: 8rem;
    font-weight: 900;
    color: var(--golf-gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-404-content p {
    color: var(--golf-stone);
    margin-bottom: 2rem;
}

/* ===================================
   WIDGET STYLES
   =================================== */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--golf-gold);
}

/* ===================================
   SCREEN READER TEXT
   =================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--golf-clubhouse);
    clip: auto !important;
    display: block;
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ===================================
   WORDPRESS CORE STYLES
   =================================== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--golf-stone);
    text-align: center;
    padding: 0.5rem 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    border-radius: var(--radius-sm);
}

/* Sticky Post */
.sticky .post-card {
    border-left: 4px solid var(--golf-gold);
}

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Article Alignment Fixes */
.post-header {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.post-title {
    font-size: 2rem !important;
    max-width: 48rem;
    line-height: 1.2;
    margin: 0 auto 1.5rem;
}

.post-featured-image {
    max-width: 48rem;
    margin: 2rem auto;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-width: 48rem;
    object-fit: cover;
    display: block;
}

.single-post .container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.post-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* 2026-06-13 fix: force dark text inside builder light-bg callout boxes (invisible on dark themes) */
[style*="background:#f3faf6"],[style*="background:#fbf8f0"],[style*="background:#fff"]{color:#1a1a1a !important}

/* SF_ALIGN_FIX 2026-06-13 */
.single-post-content{margin-left:auto !important;margin-right:auto !important}
.single-post-featured-image{margin-left:auto !important;margin-right:auto !important;max-width:48rem !important}

/* SF_DISCLOSURE_NORMAL 2026-06-14 — affiliate disclosures render as NORMAL body text: no box, no border/background/padding, no fade, normal size & colour. */
.affiliate-disclosure,
[style*="#f7f7f7"]{ color: var(--color-text-secondary, inherit) !important; background: none !important; border: none !important; padding: 0 !important; margin: 1rem 0 !important; font-size: inherit !important; opacity: 1 !important; border-radius: 0 !important; }
.affiliate-disclosure *,
[style*="#f7f7f7"] *{ color: var(--color-text-secondary, inherit) !important; opacity: 1 !important; }
.affiliate-disclosure a,
[style*="#f7f7f7"] a{ color: #58a6ff !important; text-decoration: underline; }
