/*
Theme Name: The Knowlesy Academy
Theme URI: https://theknowlesyacademy.co.uk
Author: Lee Greenfield
Author URI: https://theknowlesyacademy.co.uk
Description: Premium custom theme for The Knowlesy Academy - Muay Thai & K1 Gym
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tka-theme
Tags: custom-logo, custom-menu, woocommerce, one-column, two-columns

The Knowlesy Academy - Where Champions Are Forged
*/

/* ═══════════════════════════════════════════════════════════════
   CSS VARIABLES / ROOT
   ═══════════════════════════════════════════════════════════════ */
:root {
    /* TKA Brand Colors */
    --purple: rgba(132, 44, 226, 1);
    --purple-light: #9b4dff;
    --purple-dark: #6b23b6;
    --purple-glow: rgba(132, 44, 226, 0.5);
    --black: rgba(16, 16, 16, 1);
    --pure-black: rgba(0, 0, 0, 1);
    --white: rgba(255, 255, 255, 1);
    --dark-bg: rgba(21, 21, 21, 1);
    
    /* Glass effects */
    --glass-bg: rgba(0, 0, 0, 0.4);
    --glass-bg-light: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-hover: rgba(132, 44, 226, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--pure-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ═══════════════════════════════════════════════════════════════
   VIDEO/GIF BACKGROUND WITH GRADIENT OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background img,
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.9) 100%);
    z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════
   PARTICLE SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--purple-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
    box-shadow: 0 0 10px var(--purple-glow), 0 0 20px var(--purple-glow);
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* ═══════════════════════════════════════════════════════════════
   GLOWING ORBS
   ═══════════════════════════════════════════════════════════════ */
.glow-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 15s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(132, 44, 226, 0.3);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(155, 77, 255, 0.2);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(107, 35, 182, 0.25);
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

/* ═══════════════════════════════════════════════════════════════
   GLEAM / SHINE EFFECTS
   ═══════════════════════════════════════════════════════════════ */
.gleam-border {
    position: relative;
    overflow: hidden;
}

.gleam-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), rgba(255,255,255,0.3), rgba(255,255,255,0.1), transparent);
    animation: gleamSweep 4s infinite;
    z-index: 10;
    pointer-events: none;
}

@keyframes gleamSweep {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

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

.card-gleam::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(132,44,226,0.1) 60deg, rgba(255,255,255,0.15) 90deg, rgba(132,44,226,0.1) 120deg, transparent 180deg);
    animation: rotateGleam 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card-gleam:hover::after {
    opacity: 1;
}

@keyframes rotateGleam {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.shine-text {
    position: relative;
    display: inline-block;
}

.shine-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shineMove 3s infinite;
}

@keyframes shineMove {
    0% { left: -150%; }
    50%, 100% { left: 150%; }
}

/* Sparkle effect */
.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    animation: sparkle 2s infinite;
}

.sparkle::before,
.sparkle::after {
    content: '';
    position: absolute;
    background: white;
}

.sparkle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.sparkle::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

/* ═══════════════════════════════════════════════════════════════
   GRADIENT MESH BACKGROUND
   ═══════════════════════════════════════════════════════════════ */
.gradient-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(132, 44, 226, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(155, 77, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(107, 35, 182, 0.1) 0%, transparent 40%);
    animation: meshPulse 8s ease-in-out infinite;
}

@keyframes meshPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.7; }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: transparent;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.site-logo img {
    height: 60px;
    width: auto;
    transition: all 0.4s ease;
}

.site-header.scrolled .site-logo img {
    height: 50px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--purple-light);
}

.main-navigation a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--purple);
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--purple-light);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(132, 44, 226, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(132, 44, 226, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(132, 44, 226, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--purple);
    background: rgba(132, 44, 226, 0.2);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 80px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(132, 44, 226, 0.2);
    border: 1px solid rgba(132, 44, 226, 0.4);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--purple-light);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--purple-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS (GENERAL)
   ═══════════════════════════════════════════════════════════════ */
section {
    padding: 100px 5%;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(132, 44, 226, 0.2);
    border: 1px solid rgba(132, 44, 226, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   PROGRAMS SECTION
   ═══════════════════════════════════════════════════════════════ */
.programs {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.program-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: rgba(132, 44, 226, 0.5);
    box-shadow: 0 20px 60px rgba(132, 44, 226, 0.2);
}

.program-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image {
    transform: scale(1.05);
}

.program-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.program-content {
    padding: 1.5rem;
    position: relative;
}

.program-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.program-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.program-link {
    color: var(--purple-light);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.program-link:hover {
    color: white;
    gap: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════
   TIMETABLE SECTION
   ═══════════════════════════════════════════════════════════════ */
.timetable {
    background: linear-gradient(180deg, transparent 0%, rgba(132, 44, 226, 0.05) 50%, transparent 100%);
}

.timetable-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timetable-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 2rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timetable-tab:hover {
    background: rgba(132, 44, 226, 0.2);
    border-color: rgba(132, 44, 226, 0.5);
    color: white;
}

.timetable-tab.active {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

.timetable-content {
    display: none;
}

.timetable-content.active {
    display: block;
}

.timetable-placeholder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.timetable-placeholder i {
    font-size: 4rem;
    color: var(--purple-light);
    margin-bottom: 1.5rem;
}

.timetable-placeholder h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timetable-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   LOCATIONS SECTION
   ═══════════════════════════════════════════════════════════════ */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.location-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.location-card:hover img {
    transform: scale(1.1);
}

.location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.4s ease;
}

.location-card:hover .location-overlay {
    background: linear-gradient(0deg, rgba(132, 44, 226, 0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.location-name {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.location-hours {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.location-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.location-card:hover .location-btn {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   MEMBERSHIPS SECTION
   ═══════════════════════════════════════════════════════════════ */
.memberships {
    background: linear-gradient(180deg, rgba(132, 44, 226, 0.1) 0%, transparent 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--purple);
    background: rgba(132, 44, 226, 0.1);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 1rem;
    right: -3rem;
    background: var(--purple);
    padding: 0.5rem 3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-amount {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--purple-light);
    line-height: 1;
}

.pricing-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--purple-light);
}

/* ═══════════════════════════════════════════════════════════════
   EVENTS SECTION
   ═══════════════════════════════════════════════════════════════ */
.events {
    background: linear-gradient(180deg, rgba(132, 44, 226, 0.1) 0%, transparent 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.event-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.event-card:hover {
    border-color: rgba(132, 44, 226, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.event-date {
    background: var(--purple);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-day {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.event-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.event-details {
    flex: 1;
}

.event-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--purple-light);
}

.event-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.event-meta i {
    color: var(--purple-light);
    margin-right: 0.3rem;
}

.event-info-card {
    background: rgba(132, 44, 226, 0.1);
    border: 1px solid rgba(132, 44, 226, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.event-info-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--purple-light);
}

.event-info-card h3 i {
    margin-right: 0.5rem;
}

.event-info-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-info-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.event-info-card li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.event-info-card li i {
    color: var(--purple-light);
    margin-right: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   COACHES SECTION
   ═══════════════════════════════════════════════════════════════ */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.coach-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.coach-card:hover {
    background: rgba(132, 44, 226, 0.1);
    border-color: rgba(132, 44, 226, 0.3);
    transform: translateY(-10px);
}

.coach-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid rgba(132, 44, 226, 0.5);
    box-shadow: 0 0 30px rgba(132, 44, 226, 0.3);
    transition: all 0.4s ease;
}

.coach-card:hover .coach-image {
    border-color: var(--purple);
    box-shadow: 0 0 40px rgba(132, 44, 226, 0.5);
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coach-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.coach-role {
    color: var(--purple-light);
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════════ */
.testimonials {
    background: linear-gradient(180deg, rgba(132, 44, 226, 0.05) 0%, transparent 50%, rgba(132, 44, 226, 0.05) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(132, 44, 226, 0.4);
    transform: translateY(-5px);
}

.testimonial-quote {
    color: var(--purple);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--purple-light);
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
    text-align: center;
    padding: 120px 5%;
    background: linear-gradient(180deg, transparent 0%, rgba(132, 44, 226, 0.15) 50%, transparent 100%);
}

.cta-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    padding: 80px 5% 30px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--purple-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--purple-light);
    padding-left: 5px;
}

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

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE STYLES
   ═══════════════════════════════════════════════════════════════ */
.woocommerce ul.products li.product {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.woocommerce ul.products li.product:hover {
    border-color: rgba(132, 44, 226, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Oswald', sans-serif;
    color: white;
    text-transform: uppercase;
}

.woocommerce ul.products li.product .price {
    color: var(--purple-light);
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--purple) !important;
    color: white !important;
    border-radius: 8px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--purple-light) !important;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .hero-stats {
        gap: 2rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 5%;
    }

    .hero {
        padding: 100px 5% 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 60px 5%;
    }

    .programs-grid,
    .testimonials-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .location-card {
        height: 300px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .coaches-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .timetable-tabs {
        flex-direction: column;
    }
}

/* ============================================================
   TKA UI FIXES — paste these into style.css
   ============================================================
   Two separate fixes:
   1. DROP IN button — stops text wrapping on small screens
   2. Product cards — equal height with Add to Cart aligned at bottom
   ============================================================ */


/* ============================================================
   FIX 1 — DROP IN button (header nav CTA)
   ============================================================
   Stops the button from squashing and wrapping "DROP IN" onto
   two awkward lines at narrower viewports. Also keeps it
   proportional to the rest of the nav.
   ============================================================ */

.nav-cta,
a.nav-cta,
a[href="#dropin"] {
    white-space: nowrap !important;       /* Never wrap "DROP IN" */
    flex-shrink: 0;                       /* Never squash narrower than its content */
    padding: 0.7rem 1.5rem !important;    /* Tight pill proportions */
    font-size: 0.875rem !important;
    letter-spacing: 0.08em;
    line-height: 1.2 !important;
    min-width: auto !important;
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Tighter on smaller laptop/tablet widths where space is tight */
@media (max-width: 1100px) {
    .nav-cta,
    a.nav-cta,
    a[href="#dropin"] {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.8rem !important;
    }
}

/* On phones the button typically moves into a mobile menu, but
   if it still appears in the top bar, keep it compact */
@media (max-width: 600px) {
    .nav-cta,
    a.nav-cta,
    a[href="#dropin"] {
        padding: 0.55rem 1rem !important;
        font-size: 0.75rem !important;
    }
}


/* ============================================================
   FIX 2 — Equal-height product cards, aligned buttons
   ============================================================
   Forces every product card in the shop grid to be the same
   height regardless of title length, with the Add to Cart
   button anchored at the bottom of each card.

   Works by making each card a flex column and pushing the
   button to the end with margin-top: auto.
   ============================================================ */

/* Make the grid items themselves equal height */
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: stretch;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after { display: none !important; }

/* Each product card = flex column, full height of grid row */
.woocommerce ul.products li.product,
ul.products li.product {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
    padding: 1.25rem !important;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    list-style: none;
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: rgba(132, 44, 226, 0.4);
    box-shadow: 0 12px 32px rgba(132, 44, 226, 0.25);
}

/* The product image — fixed aspect, never grows */
.woocommerce ul.products li.product a img,
ul.products li.product a img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 0 1rem 0 !important;
    flex-shrink: 0;
}

/* Title — fixed height so long names don't push the price down */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #fff !important;
    padding: 0 !important;
    margin: 0 0 0.5rem 0 !important;
    min-height: 2.7em;    /* Reserve ~2 lines of space */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price */
.woocommerce ul.products li.product .price,
ul.products li.product .price {
    color: rgba(132, 44, 226, 1) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin: 0 0 1rem 0 !important;
    display: block;
}

/* THE KEY RULE: push the Add to Cart button to the bottom of the card.
   margin-top: auto on the button absorbs all remaining vertical space,
   forcing the button down so every card's button aligns horizontally. */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
ul.products li.product .button,
ul.products li.product a.button {
    margin-top: auto !important;
    width: 100%;
    padding: 0.75rem 1rem !important;
    background: linear-gradient(135deg, rgba(132, 44, 226, 1) 0%, rgba(180, 80, 255, 1) 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 16px rgba(132, 44, 226, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: block;
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(132, 44, 226, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Rating stars (if shown) — sit between title and price */
.woocommerce ul.products li.product .star-rating,
ul.products li.product .star-rating {
    margin: 0 0 0.5rem 0 !important;
    color: rgba(255, 200, 0, 1);
    font-size: 0.85rem;
}

/* Sale flash badge on archive cards */
.woocommerce ul.products li.product .onsale,
ul.products li.product .onsale {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0.3rem 0.7rem !important;
    background: linear-gradient(135deg, rgba(132, 44, 226, 1), rgba(180, 80, 255, 1)) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(132, 44, 226, 0.4) !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.2 !important;
    z-index: 2;
}

/* Mobile: 2 columns on phones, single column under 400px */
@media (max-width: 768px) {
    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
@media (max-width: 400px) {
    .woocommerce ul.products,
    ul.products {
        grid-template-columns: 1fr;
    }
}
/* Wodify modal: mobile sizing fix 2026-11-12 */
html, body { overflow-x: clip; }
body .wodify-modal { position: fixed; inset: 0; width: auto; height: auto; }
body .wodify-modal-content { display: flex; flex-direction: column; width: min(800px, 92%); max-width: none; height: 85svh; height: 85dvh; }
body .wodify-modal-header { flex: 0 0 auto; }
body .wodify-modal iframe { flex: 1 1 auto; height: auto; min-height: 0; width: 100%; }
@media (max-width: 768px) {
    body .wodify-modal-content { width: 100%; height: 100svh; height: 100dvh; border-radius: 0; border: 0; }
    body .wodify-modal-header { padding: 0.75rem 1rem; }
    body .wodify-modal-header h3 { font-size: 1rem; }
}

/* Burnt Oak timetable 2026-11-12 */
.tka-tt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; text-align: left; }
.tka-tt-day { background: rgba(255,255,255,0.04); border: 1px solid rgba(132,44,226,0.35); border-radius: 18px; padding: 1.25rem 1.25rem 0.75rem; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(132,44,226,0.12); position: relative; overflow: hidden; }
.tka-tt-dayname { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 1.35rem; color: #fff; margin: 0 0 0.75rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(132,44,226,0.35); }
.tka-tt-dayname i { color: rgba(132,44,226,1); margin-right: 0.4rem; }
.tka-tt-list { list-style: none; margin: 0; padding: 0; }
.tka-tt-row { display: grid; grid-template-columns: 5.5rem 2.25rem 1fr; align-items: center; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.tka-tt-row:last-child { border-bottom: 0; }
.tka-tt-time { font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 500; color: #b98aff; }
.tka-tt-icon { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(132,44,226,0.25); border: 1px solid rgba(132,44,226,0.6); color: #fff; font-size: 0.9rem; }
.tka-tt-name { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; font-size: 1rem; }
.tka-tt-star { color: rgba(132,44,226,1); font-size: 0.75rem; margin-left: 0.25rem; }
.tka-tt-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.tka-tt-note { margin: 0; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.tka-tt-note i { color: rgba(132,44,226,1); margin-right: 0.35rem; }
@media (max-width: 600px) {
    .tka-tt-grid { grid-template-columns: 1fr; }
    .tka-tt-row { grid-template-columns: 4.75rem 2rem 1fr; }
    .tka-tt-footer { flex-direction: column; align-items: stretch; text-align: center; }
    .tka-tt-footer .btn { justify-content: center; }
}
/* Borehamwood timetable age tags 2026-11-12 */
.tka-tt-age { display: inline-block; margin-left: 0.35rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: rgba(132,44,226,0.2); border: 1px solid rgba(132,44,226,0.5); color: #b98aff; font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 0; text-transform: none; vertical-align: middle; white-space: nowrap; }
/* Blog 2026-11-12 */
.tka-blog, .tka-post { padding-top: 120px; min-height: 60vh; }
.tka-blog-hero { padding: 3rem 5% 1rem; }
.tka-blog-wrap { max-width: 1200px; margin: 0 auto; padding: 1rem 5% 4rem; }
.tka-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.tka-blog-card { display: flex; flex-direction: column; background: rgba(255,255,255,0.04); border: 1px solid rgba(132,44,226,0.35); border-radius: 20px; overflow: hidden; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(132,44,226,0.12); transition: transform 0.35s ease, box-shadow 0.35s ease; position: relative; }
.tka-blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(132,44,226,0.3); }
.tka-blog-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.tka-blog-img { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.tka-blog-card:hover .tka-blog-img { transform: scale(1.06); }
.tka-blog-img-fallback { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 30%, rgba(132,44,226,0.55), rgba(10,10,10,0.95) 70%); font-size: 3rem; color: rgba(255,255,255,0.85); }
.tka-blog-body { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; flex: 1; }
.tka-blog-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.tka-blog-meta i { color: rgba(132,44,226,1); margin-right: 0.3rem; }
.tka-blog-title { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; font-size: 1.4rem; line-height: 1.25; margin: 0; }
.tka-blog-title a { color: #fff; }
.tka-blog-title a:hover { color: #b98aff; }
.tka-blog-excerpt { color: rgba(255,255,255,0.75); margin: 0; flex: 1; }
.tka-blog-more { color: #b98aff; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.tka-blog-more i { transition: transform 0.3s ease; }
.tka-blog-more:hover i { transform: translateX(4px); }
.tka-blog-pagination { margin-top: 2.5rem; display: flex; justify-content: center; }
.tka-blog-pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tka-blog-pagination .page-numbers { min-width: 2.75rem; height: 2.75rem; padding: 0 0.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(132,44,226,0.35); color: #fff; }
.tka-blog-pagination .page-numbers.current, .tka-blog-pagination a.page-numbers:hover { background: rgba(132,44,226,1); border-color: rgba(132,44,226,1); }
.tka-blog-empty { max-width: 640px; margin: 0 auto; text-align: center; padding: 3rem 2rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(132,44,226,0.35); border-radius: 20px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: relative; overflow: hidden; }
.tka-blog-empty > i { font-size: 2.5rem; color: rgba(132,44,226,1); margin-bottom: 1rem; }
.tka-blog-empty h2 { font-family: 'Oswald', sans-serif; text-transform: uppercase; color: #fff; margin: 0 0 0.5rem; }
.tka-blog-empty p { color: rgba(255,255,255,0.7); margin: 0 0 1.5rem; }
.tka-post-hero { position: relative; padding: 4rem 5% 3rem; background-size: cover; background-position: center; }
.tka-post-hero.has-image { padding: 8rem 5% 3rem; }
.tka-post-hero.has-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.92) 100%); }
.tka-post-hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.tka-post-crumbs { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.tka-post-crumbs a { color: #b98aff; }
.tka-post-crumbs i { font-size: 0.65rem; }
.tka-post-title { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; color: #fff; margin: 0 0 1rem; }
.tka-post-card { max-width: 860px; margin: 0 auto; padding: 2.5rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(132,44,226,0.35); border-radius: 20px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: relative; overflow: hidden; }
.tka-post-content { color: rgba(255,255,255,0.88); font-size: 1.08rem; line-height: 1.85; }
.tka-post-content > * + * { margin-top: 1.25rem; }
.tka-post-content h2, .tka-post-content h3, .tka-post-content h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; line-height: 1.25; margin-top: 2.25rem; }
.tka-post-content h2 { font-size: 1.75rem; }
.tka-post-content h3 { font-size: 1.35rem; }
.tka-post-content a { color: #b98aff; text-decoration: underline; text-underline-offset: 3px; }
.tka-post-content ul, .tka-post-content ol { padding-left: 1.4rem; }
.tka-post-content li + li { margin-top: 0.4rem; }
.tka-post-content blockquote { border-left: 3px solid rgba(132,44,226,1); padding: 0.75rem 1.25rem; background: rgba(132,44,226,0.1); border-radius: 0 12px 12px 0; font-style: italic; }
.tka-post-content img, .tka-post-content figure { max-width: 100%; height: auto; border-radius: 14px; }
.tka-post-content figcaption { font-size: 0.85rem; color: rgba(255,255,255,0.55); text-align: center; margin-top: 0.5rem; }
.tka-post-content iframe { max-width: 100%; border-radius: 14px; }
.tka-post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.tka-post-tags a { padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(132,44,226,0.2); border: 1px solid rgba(132,44,226,0.5); color: #b98aff; font-size: 0.85rem; }
.tka-post-cta { max-width: 860px; margin: 2rem auto 0; padding: 1.75rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, rgba(132,44,226,0.3) 0%, rgba(0,0,0,0.5) 100%); border: 1px solid rgba(132,44,226,0.5); border-radius: 20px; position: relative; overflow: hidden; }
.tka-post-cta h2 { font-family: 'Oswald', sans-serif; text-transform: uppercase; color: #fff; margin: 0 0 0.25rem; font-size: 1.5rem; }
.tka-post-cta p { margin: 0; color: rgba(255,255,255,0.75); }
.tka-post-nav { max-width: 860px; margin: 2rem auto 4rem; padding: 0 5%; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
.tka-post-nav > div:last-child { text-align: right; }
.tka-post-nav a { color: #b98aff; font-weight: 600; }
.tka-post-all { padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid rgba(132,44,226,0.5); background: rgba(255,255,255,0.04); white-space: nowrap; }
@media (max-width: 600px) {
    .tka-blog-grid { grid-template-columns: 1fr; }
    .tka-post-card { padding: 1.5rem; border-radius: 16px; }
    .tka-post-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .tka-post-cta .btn { justify-content: center; }
    .tka-post-nav { grid-template-columns: 1fr; text-align: center; }
    .tka-post-nav > div:last-child { text-align: center; }
}
