/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-clr: #0284c7;
    --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-clr: #e2e8f0;
    --border-style: 1px solid var(--border-clr);
    --radius: 12px;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: #f1f5f9;
    line-height: 1.5;
}


.left-content-column h2 {
        margin-top:12px;
    margin-bottom:8px;
}

/* ==========================================================================
   2. GLOBAL PREMIUM HEADER & NAVIGATION
   ========================================================================== */
.global-header {
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.utility-row {
    height: 75px;
    border-bottom: 1px solid var(--border-clr);
}

.logo-link-container {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: height 0.2s ease;
}

/* Desktop Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: var(--border-style);
    border-radius: 50px;
    padding: 4px 6px 4px 16px;
    width: 100%;
    max-width: 450px;
    margin: 0 20px;
}

.search-bar input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
}

.search-bar button {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.search-bar button:hover {
    opacity: 0.9;
}

/* Mobile Search Utility Panel (Hidden on Desktop) */
.mobile-search-wrapper { 
    display: none !important; 
    background: #ffffff; 
    padding: 12px 16px; 
    border-bottom: 1px solid #e2e8f0;
}

/* Header Action Links & Structural Wrappers */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-persistent-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

.header-actions a:hover {
    color: var(--primary-clr);
}

/* Default Button Style for Desktop */
.btn-cta {
    background: var(--primary-gradient);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
    font-weight: 600;
    text-decoration: none;
}

/* Mobile Functional Controls */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-search-trigger {
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
}

.hamburger-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Main Navigation Row Components */
.main-navigation-bar {
    background: #ffffff;
    border-bottom: var(--border-style);
}

.nav-links-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.nav-item {
    display: block;
    padding: 14px 0;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-item:hover {
    color: var(--primary-clr);
    border-bottom-color: var(--primary-clr);
}

/* ==========================================================================
   3. MAIN GRID LAYOUT FRAMEWORK & HOMEPAGE COUPLING
   ========================================================================== */
.main-layout-container {
    max-width: var(--max-width);
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.primary-feed {
    display: flex;
    flex-direction: column;
    gap: 30px; 
}

.section-block {
    background: #ffffff;
    border-radius: var(--radius);
    border: var(--border-style);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
}




.view-all {
    color: var(--primary-clr);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.view-all:hover {
    text-decoration: underline;
}

/* ==========================================================================
   4. CONTENT & EDITORIAL COMPONENTS
   ========================================================================== */
h2,
.editorial-title,
.listing-section-title {
    color: #0F2042 !important;
}

.editorial-subtitle {
    font-size: 18px;
    font-weight: 800;
    margin: 24px 0 8px 0;
    color: #0B5334;
}

.ad-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-muted);
}

.category-label {
    color: var(--primary-clr);
    background: #f0f9ff;
}

.feature-image-wrap {
    height: 380px;
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-layout-base {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}

.editorial-p-spacer {
    margin-bottom: 16px;
}

.editorial-p-final {
    margin-bottom: 24px;
}

.editorial-list, .editorial-list-spaced {
    margin: 0 0 24px 20px;
    padding: 0;
}

.editorial-list li {
    margin-bottom: 8px;
}

.editorial-list-spaced li {
    margin-bottom: 12px;
}

.editorial-link {
    color: var(--primary-clr);
    font-weight: 700;
    text-decoration: none;
}

.editorial-link:hover {
    text-decoration: underline;
}

.listing-section-title {
    font-size: 24px;
    font-weight: 800;
    margin: 40px 0 20px 0;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}

/* Tag Clouds */
.tag-cloud-spacing {
    margin-bottom: 35px;
    text-align: left;
    border-top: 1px solid var(--border-clr);
    border-bottom: 1px solid var(--border-clr);
    padding: 20px 0;
}

.tag-cloud-title {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 6px 8px 0;
    text-decoration: none;
}

.tag-styled {
    background: #e2e8f0;
    color: #334155;
}

/* Directory Category Matrix Grid */
.directory-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.matrix-item {
    background: var(--bg-light);
    border: var(--border-style);
    border-radius: var(--radius);
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 18px;
    transition: all 0.2s ease-in-out;
}

.matrix-item p {
    font-size: 13px;
    margin-top: 8px;
    color: #334155;
    font-weight: 600;
}

.matrix-item:hover {
    background: #ffffff;
    border-color: var(--primary-clr);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}


/* Premium Address Link Badge */
.address-link-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f0fdf4; /* Soft, premium light green background */
    color: #16a34a;            /* Clean dark green text matching your premium accents */
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 50px;       /* Pill shape */
    border: 1px solid #bbf7d0; /* Soft border boundary */
    margin-bottom: 8px;       /* Adds space to move it away from the block below */
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* Hover state interaction */
.address-link-badge:hover {
    background-color: #dcfce7; /* Slightly darker green shift on hover */
    color: #15803d !important; /* Force color continuity over standard link overrides */
    border-color: #86efac;
    transform: translateY(-1px); /* Delicate lifting animation */
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
}

/* Active click state */
.address-link-badge:active {
    transform: translateY(0);
}




/* ==========================================================================
   5. WHAT'S ON CARD GRID COMPONENT
   ========================================================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.event-card {
    background: #ffffff;
    border: var(--border-style);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-card .card-image-placeholder {
    height: 140px;
    background: #e2e8f0;
    position: relative;
    width: 100%;
}

.fallback-img-block {
    background: #cbd5e1;
    width: 100%;
    height: 100%;
}

.date-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffffff;
    color: var(--text-main);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text-main);
}




.venue-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.card-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    background: var(--bg-light);
    color: var(--primary-clr);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.card-btn:hover {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.section-margin-bottom {
    margin-bottom: 40px;
}

.price-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 8px; /* Adds a gap to the right of each tag */
    margin-bottom: 12px;
}

.price-tag.free {
    background: #dcfce7;
    color: #16a34a;
}

/* AdSense Stream Micro-Tuning Wrappers */
.adsense-mid-grid {
    margin: 30px 0;
}

.adsense-notice-box {
    background: #f8fafc;
    text-align: center;
    color: #94a3b8;
    font-size: 11px;
    padding: 15px;
    border-radius: var(--radius);
    border: 1px dashed var(--border-clr);
    font-weight: 600;
}

.adsense-mid-grid.tight-ad-wrapper {
    margin: 10px 0 !important;
    padding: 0 !important;
    overflow: hidden;
    max-height: 95px;
}

.tight-ad-wrapper ins.adsbygoogle,
.tight-ad-wrapper iframe {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ==========================================================================
   6. INTERACTIVE FAQ ACCORDION RULES
   ========================================================================== */
.faq-accordion-container {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border: var(--border-style);
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 6px;
    border-left: 4px solid #2e7d32;
}

.faq-summary {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
    user-select: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.accordion-icon {
    transition: transform 0.2s ease;
    font-weight: 400;
    color: #94a3b8;
    font-size: 12px;
}

.faq-content {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    background: #ffffff;
}

.faq-accordion-container details[open] summary {
    background: #f8fafc !important;
}

.faq-accordion-container details[open] .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary-clr) !important;
}

/* ==========================================================================
   7. MAP & LOCATIONAL ASSETS
   ========================================================================== */
.map-heading {
    font-size: 20px;
    font-weight: 800;
    margin: 30px 0 15px 0;
    color: var(--text-main);
}

.map-wrapper-box {
    height: 350px;
    width: 100%;
    border: var(--border-style);
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 700;
    font-size: 15px;
}

/* ==========================================================================
   8. SIDEBAR NOTICEBOARD & SYSTEM WIDGETS
   ========================================================================== */
.sidebar-noticeboard {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background: #ffffff;
    border-radius: var(--radius);
    border: var(--border-style);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.widget h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

.weather-alert {
    background: #fff9db;
    color: #f59f00;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.bullet-notices {
    list-style: none;
}

.bullet-notices li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.bullet-notices li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.bullet-notices a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.bullet-notices a:hover {
    color: var(--primary-clr);
}

.list-margin-bottom {
    margin-bottom: 14px;
}

.small-link-text {
    font-size: 13px;
    color: var(--primary-clr);
    text-decoration: none;
    font-weight: 700;
}

.small-link-text:hover {
    text-decoration: underline;
}

.community-cta-box {
    background: #f0f7ff;
    border-color: #b9ddff;
    text-align: center;
}

.community-label {
    color: #1d4ed8;
    background: #dbeafe;
}

.margin-top-heading {
    margin-top: 8px;
}

.sidebar-cta-btn {
    display: block;
    width: 100%;
    margin: 16px 0 0 0;
    background: var(--primary-gradient);
    box-shadow: none;
    text-align: center;
}

/* Spotlight Custom Sidebar Components */
.spotlight-item-layout {
    font-size: 13px;
    line-height: 1.4;
}

.spotlight-item-layout br {
    display: none;
}

.spotlight-item-layout .ad-label {
    margin-bottom: 6px;
}

.spotlight-date {
    color: #64748b;
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
}

.spotlight-image-container {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    margin: 12px 0;
}

.spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-label-green {
    color: #16a34a;
    background: #dcfce7;
}

.community-label-purple {
    color: #7c3aed;
    background: #f3e8ff;
}

/* ==========================================================================
   9. PREMIUM HERO SECTION & BANNER INNER IMAGES
   ========================================================================== */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    width: 100%;
}

/* This targets the badge specifically inside the hero inner anchor */
.hero-image-wrapper .date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    
    /* UI Branding Styles */ 
    background: #ffffff;
    color: #000000;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.hero-banner-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.hero-banner-img:hover {
    transform: scale(1.01);
}
   
.hero-section {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.3)), 
                url('img/basingstoke.jpg') center/cover no-repeat !important;
    padding: 90px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    background: rgba(15, 23, 42, 0.8) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 40px 50px;
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 850px;
    margin: 0 auto;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 19px;
    color: #e2e8f0;
    margin-bottom: 28px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.hero-content .trending-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-content .tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* ==========================================================================
   10. FOOTER UTILITIES LAYOUT
   ========================================================================== */
.community-noticeboard {
    background: #0f172a;
    color: #94a3b8;
    margin-top: 60px;
    border-top: 4px solid var(--primary-clr);
}

.sub-footer-legal {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
}

.legal-links a:hover {
    color: #ffffff;
}

.copyright-text {
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #94a3b8; /* Matches your current legal links gray */
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

/* Custom branding brand colors on hover */
.social-icon.facebook:hover {
    color: #1877f2 !important; /* Facebook Blue */
    transform: translateY(-1px);
}

.social-icon.twitter-x:hover {
    color: #ffffff !important; /* X White/Black contrast against dark footer bg */
    transform: translateY(-1px);
}



/* ==========================================================================
   11. COMPREHENSIVE RESPONSIVE MEDIA QUERIES
   ========================================================================== */



/* ==========================================================================
   DESKTOP BASE PROTECTION DECORATORS
   ========================================================================== */
.category-accordion-toggle {
    display: none; /* Guaranteed hidden rule outside mobile media queries */
}



/* ==========================================================================
   12. CATEGORY NAVIGATION BUTTONS
   ========================================================================== */
/* Container wrapper styling (Apply to whatever parent element holds these buttons if needed) */
.button-container-class {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

/* The modern replacement for button1 */
.category-nav-btn {
    display: inline-block;
    background: #ffffff;
    color: var(--text-main, #0f172a);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--border-clr, #e2e8f0);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease-in-out;
    text-align: center;
}

/* Hover state: lifts up slightly and matches your primary blue theme */
.category-nav-btn:hover {
    background: #ffffff;
    color: var(--primary-clr, #0284c7) !important;
    border-color: var(--primary-clr, #0284c7);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

/* Active press state */
.category-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}


/* Container defaults for desktop */
.category-nav-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 2rem auto; /* Keep the 2rem bottom margin exclusively on the outer wrapper */
    max-width: var(--max-width);
    clear: both;
}

/* Stripped down inner container to prevent layout double-margins */
.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}


.hero-image-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    width: 100%;
}

.hero-banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

/* Optional subtle hover interaction */
.hero-banner-img:hover {
    transform: scale(1.01);
}



  
/* Responsive Centered Video Block */
.video-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 2rem auto; /* Centers the block and provides top/bottom spacing */
}

.video-container {
    width: 100%;
    max-width: 800px; /* Limits the maximum width so it doesn't get too massive on desktop */
    position: relative;
    aspect-ratio: 16 / 9; /* Maintains modern responsive widescreen proportions */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
  
  
/* ==========================================================================
   TICKET & EVENT LINKS WITH TOP SPACING
   ========================================================================== */

/* Ticket Button Container Spacing */
.button--ticket {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-clr); /* Your site's branding blue */
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 6px;
    border: 1px solid #0369a1;
    
    /* Spacing fixes */
    margin-top: 1.5rem;    /* Pushes it down away from the text/image above */
    margin-bottom: 0.5rem; /* Balanced bottom margin */
    
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.15);
}

/* Hover State */
.button--ticket:hover {
    background-color: #0369a1;
    border-color: #0284c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* Active Click State */
.button--ticket:active {
    transform: translateY(0);
}

/* Event Website Paragraph Spacing Adjustment */
p:has(.buttont), 
.left-content-column p {
    margin-top: 1rem; /* Ensures text-based paragraphs and website links have standard separation */
}

/* Event Website Text Link Styling */
.buttont {
    color: var(--primary-clr);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #bae6fd;
    transition: all 0.2s ease;
}

.buttont:hover {
    color: #0369a1;
    border-bottom-style: solid;
}
  
  
/* 1. The Container: Handles the layout and the exact gap size */
.price-tag-row {
    display: inline-flex; /* Changed to inline-flex to collapse any extra width */
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;             /* Control your horizontal/vertical gap here (e.g., 6px or 8px) */
    align-items: center;
    width: auto;          /* Prevents the container from taking up 100% width */
}

/* 2. The Tags: Strip out competing margins and alignments */
.price-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin: 0;            /* REMOVED margin-bottom to let the container gap work */
}
  
  
/* ==========================================================================
   TABLET BREAKPOINT
   ========================================================================== */
@media (max-width: 991px) {
    .main-layout-container {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   MOBILE BREAKPOINT (Consolidated & Streamlined)
   ========================================================================== */
@media (max-width: 768px) {
    

    /* --- Global Layout & Structural Resets --- */
    .desktop-search {
        display: none !important;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .global-header {
        display: flex;
        flex-direction: column;
    }
    
    .header-container {
        width: 100%;
        order: 1;
    }

    /* --- Hero Section Mobile Tuning --- */
    .hero-section {
        padding: 40px 16px; 
    }

    .hero-content {
        padding: 24px 20px; 
    }

    .hero-content h1 {
        font-size: 28px; 
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 15px; 
        margin-bottom: 20px;
    }
    
    .hero-content .trending-tags {
        gap: 8px; 
    }

    /* --- Header Action Elements & Persistent Links --- */
    .header-actions {
        display: flex !important;
        margin-left: auto;
        margin-right: 15px;
        position: static;
    }

    .header-persistent-links a {
        font-size: 13px;
    }

    /* Converts the CTA button to style as a flat navigation dropdown line item */
    .header-cta-button {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
        background: #ffffff !important; 
        color: var(--text-main) !important;
        box-shadow: none !important;
        padding: 12px 20px !important;
        border-radius: 0 !important;
        font-weight: 600 !important;
        font-size: 15px !important;
        text-align: left !important;
        border-top: 1px solid var(--border-clr);
        border-bottom: 1px solid var(--border-clr);
        order: 99; 
    }
    
    .header-cta-button:hover {
        color: var(--primary-clr) !important;
    }

    /* --- Main Header Mobile Navigation Dropdown --- */
    #mainNavigationBar {
        display: none;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 75px;
        left: 0;
        z-index: 999;
        order: 2;
    }

    #mainNavigationBar.nav-open {
        display: flex !important;
        flex-direction: column;
    }

    #mainNavigationBar.nav-open .nav-links-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0;
    }

    .nav-item {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-clr);
    }
    
 

    /* --- Category Accordion Component (Perfect Structural Safety) --- */
    .category-accordion-container {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .category-accordion-toggle {
        display: flex !important; /* Forces active render state on mobile sizes */
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 16px;
        background: #f8f9fa;
        color: #333;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        text-align: left;
    }

/* The links drawer container */
    .category-nav-wrapper {
        display: none !important; 
        flex-direction: column !important;
        width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #ddd !important;
        border-top: none !important;
        border-radius: 0 0 4px 4px !important;
        box-sizing: border-box !important;
        padding: 10px !important;
        margin-bottom: 0px !important; /* Reset this to 0 so the container block dictates baseline spacing */
    }
    
    /* When active, switch display style back safely to show the links */
    .category-nav-wrapper.active {
        display: flex !important; /* Overrides the closed state when toggled */
    }

    .category-nav-wrapper .category-nav-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 10px 12px !important;
        margin: 4px 0 !important;
        text-align: left;
        font-size: 14px !important;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .category-nav-wrapper .category-nav-btn:last-child {
        border-bottom: none;
    }
    
    
/* 1. Hide the original desktop button structure so it doesn't float around break layouts */
    .header-persistent-links .header-cta-button {
        display: none !important;
    }

    /* 2. By default, hide our new mobile link line item when the menu is shut */
    .mobile-only-cta {
        display: none !important;
    }

    /* 3. When the hamburger menu is clicked open, show the real link beautifully */
    #mainNavigationBar.nav-open .mobile-only-cta {
        display: block !important;
        background: #f8fafc !important; /* Soft distinct background tint for visibility */
        color: var(--primary-clr) !important; /* Highlights it in branding blue */
        font-weight: 700 !important;
        border-top: 2px solid var(--border-clr);
    }
}

/* Base Desktop Safety Protection: Keep the mobile button hidden when screens are wide */
@media (min-width: 769px) {
    .mobile-only-cta {
        display: none !important;
    }
 
    
}  
  
    
    

    
    
    
    
    
    



