/**
 * Swindon Post - Main Stylesheet
 * Modern, responsive design for local events & business discovery platform
 */

/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
    --primary-color: #dc161b;
    --primary-dark: #b01216;
    --primary-light: #e6393d;
    --primary-color-rgb: 220, 22, 27;
    --secondary-color: #1A1A1A;
    --accent-color: #b48d00;
    --accent-light: #d4a500;
    --accent-dark: #8f7000;
    --success-color: #10b981;
    --error-color: #dc161b;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --bg-primary: #ffffff;
    --bg-secondary: #FAFAFA;
    --bg-tertiary: #F5F5F5;
    --bg-red: #dc161b;
    --border-color: #E0E0E0;
    --shadow-sm: 0 1px 3px 0 rgba(220, 22, 27, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(220, 22, 27, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(220, 22, 27, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(220, 22, 27, 0.25);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', 'Georgia', serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 { 
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

h3 { 
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h4 { 
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.875rem;
}

h5 { 
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h6 { 
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

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

.lead,
p.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

small,
.text-small {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-red {
    color: var(--primary-color) !important;
}

.text-gold {
    color: var(--accent-color) !important;
}

.text-white {
    color: #ffffff !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-error {
    color: var(--error-color) !important;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-light {
    font-weight: 300;
}

.text-normal {
    font-weight: 400;
}

.text-medium {
    font-weight: 500;
}

.text-semibold {
    font-weight: 600;
}

.text-bold {
    font-weight: 700;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-capitalize {
    text-transform: capitalize;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

a:visited {
    color: var(--primary-dark);
}

.link-secondary {
    color: var(--text-secondary);
}

.link-secondary:hover {
    color: var(--primary-color);
}

.link-gold {
    color: var(--accent-color);
}

.link-gold:hover {
    color: var(--accent-dark);
}

.link-white {
    color: #ffffff;
}

.link-white:hover {
    color: rgba(255, 255, 255, 0.8);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

li:last-child {
    margin-bottom: 0;
}

ul ul, ol ol, ul ol, ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.list-unstyled li {
    margin-bottom: 0.75rem;
}

.list-inline {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.list-inline li {
    margin-bottom: 0;
}

dl {
    margin-bottom: 1rem;
}

dt {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

dd {
    margin-bottom: 0.75rem;
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

blockquote {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-color);
    color: var(--text-secondary);
    font-style: italic;
}

blockquote p {
    margin-bottom: 0.5rem;
}

blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: normal;
}

blockquote cite::before {
    content: '— ';
}

code {
    background: var(--bg-tertiary);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.875em;
    color: var(--primary-color);
}

pre {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 2rem 0;
}

hr.hr-red {
    border-top-color: var(--primary-color);
}

hr.hr-gold {
    border-top-color: var(--accent-color);
}

mark,
.highlight {
    background: var(--accent-color);
    color: var(--text-primary);
    padding: 0.125rem 0.25rem;
    border-radius: var(--radius-sm);
}

abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}

/* ============================================
   Layout & Container
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: #ffffff;
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    border-radius: 0 0 var(--radius-md) 0;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.main-content {
    min-height: calc(100vh - 300px);
    padding: 0;
}

.main-content > .hero-section-aerial:first-child {
    margin-top: 0;
}

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

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.card-secondary {
    background: var(--bg-secondary);
}

.meta-box {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.grid-auto-sm {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-auto-lg {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.site-header {
    background: var(--bg-red);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    gap: 2rem;
    flex-wrap: nowrap;
}

.logo {
    flex-shrink: 0;
    text-align: left;
}

.logo a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
    text-decoration: none;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: normal;
    filter: brightness(1);
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.logo-the,
.logo-post {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
    opacity: 0.95;
}

.logo-swindon {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo .tagline {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-top: 0.375rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
    max-width: 500px;
    text-align: left;
}

.main-nav {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.main-nav li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.5;
}

.main-nav a:hover {
    color: #ffffff;
    opacity: 1;
}

.main-nav a.active {
    color: #ffffff;
    font-weight: 600;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
    display: block;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Submit Event link - styled as regular nav item but with subtle emphasis */
.main-nav a[href*="submit-event"] {
    font-weight: 600;
    opacity: 1;
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
    position: relative;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Breadcrumbs
   ============================================ */

.breadcrumbs {
    display: none;
    background: var(--bg-primary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.breadcrumbs.show-breadcrumbs {
    display: block;
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff !important;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-primary:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary) !important;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-accent {
    background: var(--accent-color);
    color: #ffffff;
    border: 2px solid var(--accent-color);
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-accent:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: #ffffff;
    text-decoration: none;
}

.btn-outline-gold {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline-gold:hover {
    background: var(--accent-color);
    color: #ffffff;
    text-decoration: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    letter-spacing: 0.06em;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon::before,
.btn-icon::after {
    font-size: 1.125em;
}

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

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-enhanced {
    margin-top: 0;
    padding: 7rem 0 6rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

@media (max-width: 768px) {
    .hero-enhanced {
        padding: 5rem 0 4rem;
    }
}

@media (max-width: 480px) {
    .hero-enhanced {
        padding: 4rem 0 3rem;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
}

.hero-content .hero-description,
.hero-content p,
.hero-content .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
}


.hero-quick-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}


/* ============================================
   Quick Links
   ============================================ */

.quick-links {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quick-link-card {
    border: 2px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 22, 27, 0.1), transparent);
    transition: left 0.5s;
}

.quick-link-card:hover::before {
    left: 100%;
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-width: 2px;
}

.quick-link-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.quick-link-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Events Grid & Cards
   ============================================ */

.events-grid {
    /* Extends .grid-auto-lg */
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(220, 22, 27, 0.15);
    border-width: 2px;
}

.event-card-large {
    border-radius: var(--radius-xl);
}

.event-card-large .event-image {
    height: 250px;
}

.event-card.featured {
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    position: relative;
}

.event-card.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.event-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.event-category {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.event-date {
    color: var(--text-secondary);
}

.event-content h3 {
    margin-bottom: 0.5rem;
}

.event-content h3 a {
    color: var(--text-primary);
}

.event-content h3 a:hover {
    color: var(--primary-color);
}

.event-location {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.event-price {
    color: var(--success-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.event-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex: 1;
}

/* ============================================
   Events List View
   ============================================ */

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.event-item {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.event-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.events-list-enhanced {
    gap: 1.5rem;
}

.event-item-enhanced {
    padding: 2rem 1.5rem;
    border-left: 4px solid transparent;
}

.event-item-enhanced:hover {
    border-left-color: var(--primary-color);
    transform: translateX(8px);
}

.event-date-box {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 80px;
}

.event-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    margin-bottom: 0.5rem;
}

.event-details h3 a {
    color: var(--text-primary);
}

.event-meta-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   Categories
   ============================================ */

.categories-section,
.section-categories {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.categories-grid {
    /* Extends .grid-auto */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    margin-top: 2rem;
}

.categories-grid-enhanced {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card {
    border: 2px solid var(--border-color);
    padding: 2rem 1rem;
    text-align: center;
    display: block;
}

.category-card:hover {
    transform: translateY(-6px);
    background: var(--bg-secondary);
}

.category-card-enhanced {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card-enhanced:hover::before {
    transform: scaleX(1);
}

.category-card-enhanced h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.category-link {
    display: block;
    margin-top: 0.75rem;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-card-enhanced:hover .category-link {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-dark);
    text-decoration: none;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    color: var(--primary-color);
}

.category-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.category-card-enhanced .category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    min-height: 80px;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(220, 22, 27, 0.1) 0%, rgba(220, 22, 27, 0.05) 100%);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card-enhanced .category-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg);
}

.category-card-enhanced .category-icon svg {
    position: relative;
    z-index: 1;
    stroke: currentColor;
    transition: stroke 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-enhanced:hover .category-icon {
    transform: translateY(-4px) scale(1.05);
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(220, 22, 27, 0.25);
}

.category-card-enhanced:hover .category-icon::before {
    opacity: 1;
}

.category-card-enhanced:hover .category-icon svg {
    stroke: #ffffff;
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0.5rem 0 0.75rem 0;
}

.category-card-enhanced h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.businesses-grid {
    /* Extends .grid-auto-lg */
    gap: 2rem;
    margin-top: 2rem;
}

/* .business-card extends .card - no additional styles needed */

.business-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.business-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.badge.verified {
    background: var(--success-color);
    color: white;
}

.badge.premium {
    background: var(--accent-color);
    color: white;
}

.badge.featured {
    background: var(--primary-color);
    color: white;
}

.business-category {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.business-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.business-phone {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ============================================
   Event Detail Page
   ============================================ */

.event-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.event-detail-header {
    margin-bottom: 2rem;
}

.event-category-badge {
    margin-bottom: 1rem;
}

.event-category-badge a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.event-meta-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.meta-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.meta-item strong {
    min-width: 100px;
    color: var(--text-primary);
}

.meta-item .location-map-link {
    margin-left: 0.5rem;
}

.event-image-large {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.event-image-large img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.event-detail-body {
    margin-bottom: 3rem;
}

.event-description {
    margin-bottom: 2.5rem;
}

.event-description h2,
.event-map h2 {
    margin-bottom: 1rem;
    margin-top: 0;
}

.description-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
}

.description-content p {
    margin-bottom: 1.25rem;
    margin-top: 0;
}

.description-content p:first-child {
    margin-top: 0;
}

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

.description-content p + p {
    margin-top: 1.25rem;
}

/* Event Quotes/Testimonials - Standalone quotes */
.event-quote {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(220, 22, 27, 0.08) 0%, rgba(220, 22, 27, 0.03) 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: var(--radius-lg);
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.15rem;
    line-height: 1.8;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.event-quote::before {
    content: '"';
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.15;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    font-family: Georgia, serif;
    font-weight: bold;
}

.event-quote p {
    margin: 0;
    padding-left: 2rem;
}

.event-quote a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 3px;
    padding: 0 2px;
}

.event-quote a:hover {
    color: var(--primary-dark);
    background: rgba(220, 22, 27, 0.1);
    text-decoration: none;
}

/* Event Reviews/Testimonials Section */
.event-reviews {
    margin: 3.5rem 0;
    padding: 2.5rem 0;
    background: linear-gradient(180deg, rgba(220, 22, 27, 0.05) 0%, transparent 100%);
    border-radius: var(--radius-lg);
    position: relative;
}

.event-reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.reviews-heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reviews-heading::after {
    content: '⭐';
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.event-review {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.event-review:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(220, 22, 27, 0.15);
    border-left-width: 5px;
}

.event-review:last-child {
    margin-bottom: 0;
}

.review-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
}

.review-quote::before {
    content: '"';
    font-size: 4rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-family: Georgia, serif;
    font-weight: bold;
}

.review-attribution {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: right;
    font-style: normal;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(220, 22, 27, 0.1);
}

.review-attribution::before {
    content: '— ';
    color: var(--primary-color);
    font-weight: 700;
}

/* Links within reviews */
.event-review a,
.event-quote a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 3px;
    padding: 0 2px;
}

.event-review a:hover,
.event-quote a:hover {
    color: var(--primary-dark);
    background: rgba(220, 22, 27, 0.1);
    text-decoration: none;
}

/* Venue Link */
.venue-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.venue-link:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

/* Event CTA Sections */
.event-cta-primary {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.event-cta-secondary {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.affiliate-disclaimer {
    margin-top: 1rem;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.affiliate-disclaimer small {
    display: block;
    opacity: 0.8;
}

.location-map-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.location-map-link:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

.event-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Related Events Section */
.related-events {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-events h2 {
    margin-bottom: 2rem;
    margin-top: 0;
}

/* ============================================
   Business Detail Page
   ============================================ */

.business-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.business-logo-large {
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.business-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-meta-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.business-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
}

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

.event-submission-form,
.business-claim-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-section h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.form-help {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ============================================
   Alerts
   ============================================ */

.alert {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.alert-success {
    background: #d1fae5;
    border: 1px solid var(--success-color);
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid var(--error-color);
    color: #991b1b;
}

.alert h3 {
    margin-bottom: 0.5rem;
}

.alert ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

/* ============================================
   Filters
   ============================================ */

.filters-bar {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group.filter-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.filter-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.filter-group.filter-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: 500;
}

.filter-group.filter-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

.filter-group input[type="text"],
.filter-group input[type="date"],
.filter-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-group input[type="text"]:focus,
.filter-group input[type="date"]:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 22, 27, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .filter-actions {
        grid-column: auto;
        margin-top: 0;
    }
    
    .filters-form {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
    }
}

/* ============================================
   Pagination
   ============================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.page-info {
    color: var(--text-secondary);
}

/* ============================================
   Page Headers
   ============================================ */

.page-header {
    margin-bottom: 2.5rem;
}

.page-header h1 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 2.5rem;
}

/* Page Header Section */
.page-header-section {
    padding: 2rem 0 1rem;
    background: var(--bg-primary);
    text-align: left;
}

.page-header-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
}

.page-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}


/* Section Styling */
section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-header > div {
    flex: 1;
    min-width: 250px;
}

.section-header h2 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

.view-all {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.view-all:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.section-events-today,
.section-featured,
.section-weekend,
.section-free-events,
.section-upcoming,
.section-categories,
.section-businesses {
    padding: 4rem 0;
}

/* ============================================
   No Results
   ============================================ */

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.no-results p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.site-footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 4px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.25rem;
    margin-top: 0;
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.footer-section ul li:first-child {
    margin-top: 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-attribution {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.75rem;
    line-height: 1.6;
}

.footer-attribution a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-attribution a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ============================================
   Error Pages
   ============================================ */

.error-page {
    padding: 4rem 0;
    text-align: center;
}

.error-content h1 {
    font-size: 6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-content h2 {
    margin-bottom: 1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .logo-swindon {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 45px;
        max-width: 250px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .hero-description,
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .hero-enhanced {
        padding: 4rem 0;
        margin-top: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        padding: 1rem 0;
    }
    
    .logo {
        flex: 1;
        text-align: left;
    }
    
    .logo a {
        align-items: flex-start;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .logo .tagline {
        font-size: 0.7rem;
        margin-top: 0.25rem;
        text-align: left;
    }
    
    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: var(--bg-red);
        padding: 4rem 2rem 2rem;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .main-nav a {
        display: block;
        padding: 1.25rem 0;
        width: 100%;
        font-size: 1rem;
    }
    
    /* Submit Event link in mobile menu */
    .main-nav a[href*="submit-event"] {
        margin-top: 0;
        width: auto;
        text-align: left;
        padding: 1.25rem 0;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .events-grid,
    .businesses-grid {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date-box {
        align-self: flex-start;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .hero-description,
    .hero-content p {
        font-size: 1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .filters-form {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
}

/* ============================================
   Visit London Inspired Styles
   ============================================ */

/* Hero Section with Aerial Image */
.hero-section-aerial {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-aerial-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 0;
    z-index: 2;
    pointer-events: none;
}

.hero-content .container {
    pointer-events: auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .hero-section-aerial {
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 2rem 0;
    }
}

.hero-section {
    padding: 4rem 0 3rem;
    background: var(--bg-primary);
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

/* Reduce top padding for article pages */
article.content-section {
    padding-top: 1rem;
}

.content-section.section-alt {
    background: var(--bg-secondary);
}

/* Location Tabs */
.location-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.location-tab {
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.location-tab:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.location-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

/* Event Cards - Visit London Style */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.event-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.event-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.event-card-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.event-card-cta {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Category Grid - Icon Style */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    padding: 1.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    background: var(--bg-primary);
}

.category-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.category-name {
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    color: var(--text-primary);
}

/* Venue Cards */
.venues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.venue-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venue-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.venue-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.venue-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.venue-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.venue-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.venue-card-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.venue-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .events-grid,
    .venues-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

.category-mosaic-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.category-mosaic-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-mosaic {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}

.panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
}


.panel a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.imgbox {
    position: relative;
    width: 100%;
    padding-bottom: 62.5%; /* 5:8 aspect ratio */
    overflow: hidden;
    background: var(--bg-tertiary);
}

.imgbox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.tile:hover > a > .imgbox > img,
.tile:hover a .imgbox img {
    transform: scale(1.05);
}

.mosaic .tile:not(:hover) {
    transform: none !important;
}

.mosaic .tile:not(:hover) .imgbox img {
    transform: none !important;
}

.textbox {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.3) 80%, transparent 100%);
    color: #ffffff;
    z-index: 2;
    min-height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.textbox h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.textbox .desc {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.tile-row-section {
    padding: 3rem 0;
}

.tile-row-section.section-alt {
    background: var(--bg-secondary);
}

.tile-row-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tile-row-section .section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.mosaic-four-tiles {
    margin-top: 2rem;
}

.mosaic-four-tiles .mosaic {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    isolation: isolate;
}

.tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.tile a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.tile .imgbox {
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.tile .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    color: #ffffff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    backdrop-filter: blur(1px);
}

.tile .textbox {
    padding: 1.5rem;
    background: none;
    position: relative;
}

.tile .textbox::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    pointer-events: none;
}

.tile .textbox h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 1;
}

.tile .textbox .desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.75rem 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1;
}

.tile .event-meta-tile {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
}

/* Fallback for images that fail to load */
.imgbox img.img-fallback {
    opacity: 0.3;
    filter: grayscale(100%);
}

.imgbox.has-fallback {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
}

.imgbox.has-fallback::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="50%" y="50%" text-anchor="middle" dominant-baseline="middle" font-family="Arial" font-size="14" fill="rgba(255,255,255,0.3)">No Image</text></svg>') center/50px no-repeat;
    opacity: 0.2;
}

.tile .event-meta-tile .event-date,
.tile .event-meta-tile .event-location {
    display: inline-block;
}

.tile .padding {
    height: 0.5rem;
}

@media (max-width: 768px) {
    .mosaic {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .category-mosaic {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.875rem;
    }
    
    .mosaic-four-tiles .mosaic {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .textbox {
        padding: 1rem;
    }
    
    .textbox h3 {
        font-size: 1.125rem;
    }
    
    .tile .textbox {
        padding: 1rem;
    }
    
    .tile .textbox h3 {
        font-size: 1.125rem;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .tile-row-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .mosaic {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .category-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mosaic-four-tiles .mosaic {
        grid-template-columns: 1fr;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .hero-enhanced {
        padding: 3rem 0;
        margin-top: 0;
    }
    
    .category-card-enhanced .category-icon {
        font-size: 3rem;
        min-height: 3rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content .hero-description,
    .hero-content p {
        font-size: 1rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid,
    .categories-grid-enhanced {
        grid-template-columns: 1fr;
    }
    
    .event-cta {
        flex-direction: column;
    }
    
    .event-cta .btn {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .event-card-large .event-image {
        height: 200px;
    }
    
    .category-card-enhanced .category-icon {
        width: 60px;
        height: 60px;
        min-height: 60px;
        padding: 0.875rem;
    }
    
    .category-icon svg {
        width: 100%;
        height: 100%;
    }
}

/* Tablet Responsive */
@media (min-width: 481px) and (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .events-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .categories-grid-enhanced {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .hero-enhanced {
        padding: 5rem 0;
    }
    
    .hero-quick-filters {
        flex-wrap: wrap;
    }
    
    .section-header {
        flex-direction: row;
        align-items: center;
    }
    
    .event-item,
    .event-item-enhanced {
        flex-direction: row;
        align-items: center;
    }
}


/* ============================================
   Venue Pages
   ============================================ */

.venue-detail-section {
    padding: 2rem 0 4rem;
}

/* Hero Section */
.venue-hero {
    margin-bottom: 3rem;
}

.venue-hero-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.venue-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.venue-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.venue-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.venue-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.venue-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Main Content Grid */
.venue-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.venue-main-content {
    min-width: 0;
}

.venue-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Sidebar Cards */
.venue-sidebar-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.venue-sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.venue-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.venue-contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details strong {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0.25rem 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.venue-map-compact {
    margin-top: 1rem;
}

.venue-map-compact iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
    margin-bottom: 1rem;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.event-count-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Events Grid for Venue */
.events-grid-venue {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .events-grid-venue {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Venue Sections */
.venue-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.venue-section:first-of-type {
    padding-top: 0;
    border-top: none;
}

.venue-events-section {
    border-top: none;
    padding-top: 0;
}

.venue-travel-section {
    border-top: 2px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
}

.venue-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.venue-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.directions-info,
.transport-info,
.parking-info,
.travel-info {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.travel-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.travel-info p {
    margin-bottom: 1rem;
}

.travel-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.travel-info a:hover {
    text-decoration: underline;
}

/* Travel Tabs */
.travel-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.travel-tab {
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    margin-bottom: -2px;
}

.travel-tab:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.travel-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.travel-tab-content {
    display: none;
}

.travel-tab-content.active {
    display: block;
}

/* Nearby Places */
.section-intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.nearby-places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.nearby-place-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}

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

.nearby-place-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.nearby-place-card .distance {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.nearby-place-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.view-all-link {
    text-align: center;
    margin-top: 1.5rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.no-results p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Event Booking Options */
.event-booking-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.event-booking-options .btn {
    width: 100%;
    text-align: center;
}

.event-booking-options .provider-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    margin-top: 0.25rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .event-booking-options {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .event-booking-options .btn {
        flex: 1;
        min-width: 200px;
    }
}

.travel-map,
.venue-map {
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.travel-map iframe,
.venue-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.map-link {
    text-align: center;
    margin-top: 1rem;
}

.map-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.map-link a:hover {
    text-decoration: underline;
}

.affiliate-links {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.affiliate-grid {
    /* Extends .grid-auto */
    margin-top: 1.5rem;
}

.affiliate-card {
    text-align: center;
}

.affiliate-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.affiliate-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ============================================
   Article Pages
   ============================================ */

.article-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    margin-top: 0;
}

.article-main {
    min-width: 0; /* Prevents grid overflow */
}

.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1f2937;
}

.article-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.article-meta {
    font-size: 0.875rem;
    color: #6b7280;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.article-content {
    line-height: 1.8;
    color: #374151;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-content p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.article-content ul,
.article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: #dc2626;
    text-decoration: underline;
    font-weight: 500;
}

.article-content a:hover {
    color: #b91c1c;
}

.article-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image-caption {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-left: 3px solid #dc2626;
}

.article-image-credit {
    font-style: italic;
    color: #9ca3af;
}

/* Key Information Box */
.key-information {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.key-information h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 0;
}

.key-information dl {
    margin: 0;
}

.key-information dt {
    font-weight: 600;
    color: #374151;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.key-information dt:first-child {
    margin-top: 0;
}

.key-information dd {
    margin: 0 0 0.75rem 0;
    color: #4b5563;
}

.key-information a {
    color: #dc2626;
    text-decoration: underline;
}

.key-information a[href^="tel:"] {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
}

.key-information a[href^="tel:"]:hover {
    text-decoration: underline;
}

/* Affiliate Disclaimer */
.affiliate-disclaimer {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #78350f;
}

.affiliate-disclaimer p {
    margin: 0;
}

.affiliate-disclaimer strong {
    color: #92400e;
    font-weight: 600;
}

/* Sidebar Styles */
.sidebar-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: 0;
}

.sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-links li {
    margin: 0;
    padding: 0;
}

.sidebar-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-links a:hover {
    color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-article-card {
    display: block;
}

.sidebar-article-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
}

.sidebar-article-card-content {
    padding: 1rem;
}

.sidebar-links h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    line-height: 1.3;
}

.sidebar-cta {
    display: block;
    text-align: center;
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.sidebar-cta:hover {
    text-decoration: underline;
}

/* Related Content */
.related-content {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.related-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.related-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.related-links li {
    margin: 0;
    padding: 0;
}

.related-links a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.related-links a:hover {
    background: #f3f4f6;
    color: #dc2626;
}

/* Influencer Profile Boxes */
.influencer-profile {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.influencer-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

.influencer-profile-header {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.influencer-profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.influencer-profile-title {
    flex: 1;
}

.influencer-profile h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    margin-top: 0;
    font-weight: 700;
}

.influencer-profile-username {
    margin: 0;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.influencer-profile-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.influencer-profile-content p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.influencer-profile strong {
    color: #1f2937;
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
}

.influencer-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.influencer-profile-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    background: #dc2626;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background-color 0.2s, transform 0.2s;
}

.influencer-profile-links a:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

.influencer-profile a:not(.influencer-profile-links a) {
    color: #dc2626;
    text-decoration: underline;
    font-weight: 500;
}

.influencer-youtube-embed {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.influencer-youtube-embed iframe {
    width: 100%;
    height: 315px;
    border: none;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .influencer-profile-image {
        width: 80px;
        height: 80px;
    }
    
    .influencer-profile h3 {
        font-size: 1.25rem;
    }
    
    .influencer-profile-content {
        grid-template-columns: 1fr;
    }
    
    .influencer-youtube-embed iframe {
        height: 250px;
    }
}

/* Article Cards (for listings) */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.article-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.article-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

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

.article-category {
    display: inline-block;
    background: #f3f4f6;
    color: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-card-title {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
}

.article-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-card-cta {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .article-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-sidebar {
        position: static;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .venue-info h1 {
        font-size: 2rem;
    }
    
    .venue-details-grid {
        grid-template-columns: 1fr;
    }
    
    .affiliate-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-links {
        grid-template-columns: 1fr;
    }
}
