/* FONT IMPORTS - MUST BE FIRST */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');

/* CSS VARIABLES & ROOT SETTINGS */
:root {
    /* ========================================
       BRAND COLORS
       ======================================== */
    --rapsodo-black: #000000;
    --rapsodo-white: #ffffff;
    --rapsodo-dark-gray: #2c2c2c;
    --rapsodo-medium-gray: #666666;
    --rapsodo-light-gray: #e5e5e5;
    --rapsodo-background: #f8f8f8;
    --rapsodo-red: #ed1c24;
    --rapsodo-green: #00a859;
    --rapsodo-blue: #0066cc;
    --rapsodo-orange: #ff6900;
    
    /* ========================================
       SEMANTIC COLORS
       ======================================== */
    --text-primary: #2c2c2c;
    --text-secondary: #666666;
    --text-light: #999999;
    --button-primary-bg: #000000;
    --button-primary-text: #ffffff;
    --button-primary-hover: #333333;
    --button-secondary-bg: #ffffff;
    --button-secondary-text: #000000;
    --button-secondary-border: #000000;
    --button-secondary-hover: #f8f8f8;
    
    /* ========================================
       TYPOGRAPHY SCALE
       Based on 16px base (1rem)
       ======================================== */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 2rem;        /* 32px */
    --font-size-4xl: 2.5rem;      /* 40px */
    
    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* ========================================
       SPACING SCALE
       4px base unit
       ======================================== */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    
    /* ========================================
       CONTAINER WIDTHS
       ======================================== */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1440px;
    
    /* ========================================
       BORDER RADIUS
       ======================================== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* ========================================
       SHADOWS
       ======================================== */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-dropdown: 0 4px 20px rgba(0, 0, 0, 0.15);
    
    /* ========================================
       TRANSITIONS
       ======================================== */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

html {
    font-size: 100% !important; /* Standardized to 16px base */
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* BASE STYLES */
body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: var(--font-weight-normal);
    color: var(--text-primary);
    background-color: var(--rapsodo-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: var(--line-height-relaxed);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: var(--font-weight-bold) !important;
    font-style: italic !important;
    color: var(--rapsodo-black);
    margin: 0 0 var(--space-4);
    line-height: var(--line-height-tight);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    font-family: 'Barlow', sans-serif;
    font-weight: var(--font-weight-normal);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

a {
    color: var(--rapsodo-black);
    text-decoration: none;
    transition: var(--transition-normal);
    font-weight: var(--font-weight-medium);
}

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

/* LAYOUT */
.container {
    max-width: var(--container-xl) !important;
    margin: 0 auto !important;
    padding: 0 var(--space-5) !important;
}

.section {
    padding: var(--space-12) 0;
}

/* HEADER - Sticky */
body > .header, header.header {
    width: 100% !important;
    max-width: none !important;
    background-color: var(--rapsodo-black) !important;
    padding: 0 !important;
    margin: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: var(--shadow-header) !important;
}

.header .container {
    max-width: var(--container-2xl) !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: var(--space-6) var(--space-10) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.header .logo {
    flex-shrink: 0 !important;
    margin-right: var(--space-16) !important;
}

.header .logo a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.header .logo img {
    height: 55px !important;
    width: auto !important;
    display: block !important;
}

.logo-text {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    font-style: italic !important;
    color: var(--rapsodo-white) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* NAVIGATION */
.nav-wrapper-desktop {
    display: flex !important;
    align-items: center !important;
    gap: 40px;
    flex-grow: 1;
}

.sport-nav {
    display: flex;
    justify-content: center;
    margin-right: auto;
    flex-grow: 1;
}

.sport-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-12);
}

.sport-nav-item {
    position: relative;
}

.sport-nav-link, button.sport-nav-link {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: var(--font-weight-bold) !important;
    font-style: italic !important;
    font-size: var(--font-size-2xl);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: var(--line-height-tight);
    color: var(--rapsodo-white) !important;
    padding: var(--space-3) var(--space-4);
    position: relative;
    transition: var(--transition-normal);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.sport-nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--rapsodo-red);
    transition: width 0.3s ease;
}

.sport-nav-link:hover {
    color: var(--rapsodo-red);
}

.sport-nav-link:hover::after,
.sport-nav-link.active::after {
    width: 100%;
}

.sport-nav-link.active {
    color: #FF4500;
}

/* USER NAVIGATION */
.user-nav {
    display: flex !important;
    align-items: center !important;
    margin-left: auto;
    flex-shrink: 0;
}

.user-nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Header nav links - only direct children, not dropdown menu items */
.user-nav-list > li > a,
.user-nav-list > li > button,
.nav-item a {
    font-family: 'Barlow', sans-serif;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    color: var(--rapsodo-white) !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-normal);
    white-space: nowrap;
    padding: var(--space-3) var(--space-5);
}

.user-nav-list > li > a:hover {
    color: var(--rapsodo-red);
}

/* User Profile Dropdown Menu */
.user-nav .dropdown-menu,
.user-info .dropdown-menu {
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-dropdown) !important;
    padding: var(--space-2) 0 !important;
    min-width: 220px;
}

.user-nav .dropdown-menu a,
.user-nav .dropdown-menu [role="menuitem"],
.user-info .dropdown-menu a,
.user-info .dropdown-menu [role="menuitem"] {
    font-family: 'Barlow', sans-serif !important;
    font-weight: var(--font-weight-medium) !important;
    font-size: var(--font-size-sm) !important;
    color: var(--rapsodo-black) !important;
    background: transparent !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-3) var(--space-5) !important;
    display: block;
    text-decoration: none !important;
    transition: var(--transition-fast);
}

.user-nav .dropdown-menu a:hover,
.user-nav .dropdown-menu a:focus,
.user-nav .dropdown-menu [role="menuitem"]:hover,
.user-nav .dropdown-menu [role="menuitem"]:focus,
.user-info .dropdown-menu a:hover,
.user-info .dropdown-menu a:focus,
.user-info .dropdown-menu [role="menuitem"]:hover,
.user-info .dropdown-menu [role="menuitem"]:focus {
    background: #f5f5f5 !important;
    color: var(--rapsodo-red) !important;
}

.user-nav .dropdown-menu [role="separator"],
.user-info .dropdown-menu [role="separator"],
.user-nav .dropdown-menu .separator,
.user-info .dropdown-menu .separator {
    border-bottom: 1px solid #eee;
    margin: 8px 0;
}

/* Dropdown toggle button styling */
.user-info .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    background: transparent !important;
}

.user-info .dropdown-toggle span {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: var(--rapsodo-white);
}

/* MOBILE NAVIGATION */
.mobile-nav-toggle {
    display: none !important;
    background: none !important;
    border: none !important;
    color: var(--rapsodo-white) !important;
    font-size: 1.8rem !important;
    cursor: pointer !important;
    padding: 10px !important;
    margin-left: auto !important;
}

.mobile-nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 300px !important;
    height: 100vh !important;
    background-color: var(--rapsodo-black) !important;
    padding: 20px !important;
    transition: right 0.3s ease !important;
    z-index: 2000 !important;
    overflow-y: auto !important;
}

.mobile-nav.open {
    right: 0 !important;
}

.mobile-nav-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    background: none !important;
    border: none !important;
    color: var(--rapsodo-white) !important;
    font-size: 2rem !important;
    cursor: pointer !important;
}

.mobile-nav .sport-nav-list,
.mobile-nav .user-nav-list {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
    padding: 20px 0 !important;
}

.mobile-nav-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: none !important;
    z-index: 1999 !important;
}

.mobile-nav-overlay.active {
    display: block !important;
}

/* HERO SECTIONS */
.hero {
    background-position: center;
    background-size: cover;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px;
}

.hero-home {
    /* Background image is set via Zendesk theme settings (homepage_background_image) in style.css */
    /* Only set fallback color if no image is configured */
    background-color: #1a1a1a;
    min-height: 550px;
    padding: 5rem 0;
}

.hero-home .hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* SEARCH */
.search-hero {
    position: relative;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.search-hero .search {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    border: 2px solid #444;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.search-hero .search:focus {
    outline: none;
    border-color: var(--rapsodo-red);
    background: rgba(255, 255, 255, 0.15);
}

.search-icon-hero {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rapsodo-red);
    pointer-events: none;
}

.search-ai-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.search-ai-text p {
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Search Submit Button */
.search-hero .search input[type="submit"],
.hero .search input[type="submit"] {
    background-color: var(--rapsodo-red) !important;
    color: var(--rapsodo-white) !important;
    border: none !important;
    border-radius: 0 30px 30px 0 !important;
    padding: 0 2rem !important;
    margin: 0 !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    min-width: 110px !important;
    height: auto !important;
    min-height: 100% !important;
    align-self: stretch !important;
    transition: background-color 0.3s ease !important;
    flex-shrink: 0;
    box-sizing: border-box !important;
}

.search-hero .search input[type="submit"]:hover,
.hero .search input[type="submit"]:hover {
    background-color: #cc1a1f !important;
}

/* Ensure the search form in hero displays correctly */
.search-hero .search,
.hero .search {
    display: flex !important;
    align-items: stretch !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-hero .search input[type="search"],
.hero .search input[type="search"] {
    flex: 1 1 auto;
    padding: 1rem 1rem 1rem 3rem !important;
    border-radius: 30px 0 0 30px !important;
    background: transparent !important;
    color: #333 !important;
    border: none !important;
    min-height: 54px;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.search-hero .search input[type="search"]::placeholder,
.hero .search input[type="search"]::placeholder {
    color: #666;
}

/* ========================================
   INSTANT SEARCH DROPDOWN STYLING
   Comprehensive styling for Zendesk search autocomplete
   ======================================== */

/* Container - targeting all possible Zendesk dropdown classes */
.searchbox-suggestions,
[class*="searchbox-suggestion"],
[class*="search-autocomplete"],
[class*="instant-search"],
.search-hero ~ [class*="suggestion"],
.hero [class*="suggestion"],
.search [class*="suggestion"],
div[class*="suggestion"][role="listbox"],
div[class*="autocomplete"] {
    background: var(--rapsodo-white) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
    z-index: 9999 !important;
}

/* Header styling (e.g., "Featured articles") */
.searchbox-suggestions > *:first-child:not(ul):not(ol),
[class*="suggestion"] > header,
[class*="suggestion"] > h3,
[class*="suggestion"] > h4,
[class*="suggestion"] > div:first-child:not([class*="item"]),
[class*="autocomplete"] > *:first-child:not(ul):not(ol) {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--rapsodo-black) !important;
    padding: 18px 20px 12px !important;
    margin: 0 !important;
    background: #f8f8f8 !important;
    border-bottom: 2px solid var(--rapsodo-red) !important;
}

/* Suggestions list */
.searchbox-suggestions ul,
.searchbox-suggestions ol,
[class*="suggestion"] ul,
[class*="suggestion"] ol,
[class*="autocomplete"] ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--rapsodo-white) !important;
}

.searchbox-suggestions li,
[class*="suggestion"] li,
[class*="autocomplete"] li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #eee !important;
}

.searchbox-suggestions li:last-child,
[class*="suggestion"] li:last-child,
[class*="autocomplete"] li:last-child {
    border-bottom: none !important;
}

/* Individual suggestion links */
.searchbox-suggestions a,
.searchbox-suggestions [class*="item"],
[class*="suggestion"] a,
[class*="suggestion"] [class*="item"],
[class*="autocomplete"] a {
    display: block !important;
    padding: 16px 20px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-left: 4px solid transparent !important;
    background: var(--rapsodo-white) !important;
    color: var(--rapsodo-black) !important;
}

.searchbox-suggestions a:hover,
.searchbox-suggestions a:focus,
.searchbox-suggestions [class*="item"]:hover,
[class*="suggestion"] a:hover,
[class*="suggestion"] a:focus,
[class*="autocomplete"] a:hover {
    background: rgba(255, 69, 0, 0.05) !important;
    border-left-color: var(--rapsodo-red) !important;
    outline: none !important;
}

/* Suggestion title - the article name */
.searchbox-suggestions a,
.searchbox-suggestions a > *:first-child,
[class*="suggestion"] a,
[class*="suggestion"] a > *:first-child,
[class*="autocomplete"] a > *:first-child {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--rapsodo-black) !important;
    line-height: 1.4 !important;
}

/* Suggestion breadcrumb/meta - smaller text below title */
.searchbox-suggestions small,
.searchbox-suggestions a small,
.searchbox-suggestions a > *:last-child:not(:first-child),
.searchbox-suggestions [class*="breadcrumb"],
.searchbox-suggestions [class*="meta"],
.searchbox-suggestions [class*="path"],
[class*="suggestion"] small,
[class*="suggestion"] [class*="breadcrumb"],
[class*="suggestion"] [class*="meta"],
[class*="suggestion"] [class*="path"],
[class*="autocomplete"] small {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.8rem !important;
    color: #888 !important;
    display: block !important;
    line-height: 1.3 !important;
    margin-top: 6px !important;
}

/* Footer / View all link */
.searchbox-suggestions > *:last-child:not(ul):not(ol):not(li),
[class*="suggestion"] > footer,
[class*="suggestion"] > *:last-child[class*="footer"],
[class*="suggestion"] > *:last-child[class*="view-all"] {
    background: #f0f0f0 !important;
    border-top: 1px solid #ddd !important;
    padding: 14px 20px !important;
    text-align: center !important;
}

/* Ensure proper positioning */
.search-hero,
.hero .search,
.search-hero .search,
.search-full {
    position: relative !important;
}

/* Override any blue link colors from Zendesk default */
.searchbox-suggestions a,
.searchbox-suggestions a:link,
.searchbox-suggestions a:visited,
[class*="suggestion"] a,
[class*="suggestion"] a:link,
[class*="suggestion"] a:visited,
[class*="autocomplete"] a,
[class*="autocomplete"] a:link,
[class*="autocomplete"] a:visited {
    color: var(--rapsodo-black) !important;
}

.searchbox-suggestions a:hover,
[class*="suggestion"] a:hover,
[class*="autocomplete"] a:hover {
    color: var(--rapsodo-red) !important;
}

/* ========================================
   SEARCH RESULTS PAGE STYLING
   Applies Acumin font and increased sizing
   ======================================== */

/* Main results heading - "X results for 'query'" */
.search-results-subheading {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rapsodo-black);
    margin-bottom: 1.5rem;
}

/* Article titles in search results */
.search-result-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.4rem !important;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.search-result-title a {
    color: var(--rapsodo-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.search-result-title a:hover {
    color: var(--rapsodo-red);
}

/* Sidebar headings - "Type", "Category" */
.search-results-sidebar .sidenav-title,
.search-results-sidebar .collapsible-sidebar-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.25rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rapsodo-black);
    margin-bottom: 0.75rem;
}

/* Filter items - "All types", "Articles" */
.search-results-sidebar .sidenav-item {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

.search-results-sidebar .sidenav-item.current {
    font-weight: 600;
    color: var(--rapsodo-black);
}

.search-results-sidebar .filter-name {
    font-size: 1rem;
}

.search-results-sidebar .doc-count {
    font-size: 0.9rem;
    color: #666;
}

/* Breadcrumbs/category path in results */
.search-result-breadcrumbs {
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-breadcrumbs a {
    color: var(--rapsodo-red);
    font-weight: 600;
}

.search-result-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Meta data - author, date */
.search-result-meta-container .meta-data {
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    color: #666;
}

/* Result description/excerpt */
.search-result-description {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* DEVICE CARDS */
.device-selection {
    padding: 4rem 0 5rem;
    background: var(--rapsodo-white);
}

.device-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Golf: up to 5 cards in a row */
body[data-sport="golf"] .device-grid {
    max-width: 1000px;
}

/* Diamond: 3 cards centered */
body[data-sport="diamond"] .device-grid {
    max-width: 800px;
}

.device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-8) var(--space-6);
    background: var(--rapsodo-white);
    border: 2px solid #d0d0d0;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition-normal);
    min-height: 100px;
    min-width: 180px;
    flex: 0 1 auto;
}

/* Text-only device cards (no icons) - larger and more prominent */
.device-card.device-card-text-only {
    min-height: 90px;
    min-width: 200px;
    padding: 30px 40px;
}

.device-card.device-card-text-only .device-title {
    margin-top: 0;
    font-size: 1.4rem;
}

/* Device cards with product images */
.device-card.device-card-with-image {
    min-height: 200px;
    padding: 25px 20px 20px;
    background: var(--rapsodo-white);
}

.device-card-image {
    width: 100%;
    max-width: 180px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.device-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.device-card.device-card-with-image .device-title {
    margin-top: 0;
    font-size: 1.3rem;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--rapsodo-red);
}

.device-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: var(--font-weight-bold) !important;
    font-style: italic !important;
    font-size: var(--font-size-xl);
    color: var(--rapsodo-black);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-4);
    margin-bottom: 0;
}

/* Responsive adjustments for device cards */
@media (max-width: 768px) {
    .device-grid {
        gap: 15px;
    }
    
    .device-card,
    .device-card.device-card-text-only {
        min-width: 140px;
        padding: 25px 20px;
    }
    
    .device-card.device-card-text-only .device-title {
        font-size: 1.2rem;
    }
    
    .device-card.device-card-with-image {
        min-height: 160px;
        padding: 15px;
    }
    
    .device-card-image {
        max-width: 140px;
        height: 100px;
    }
    
    .device-card.device-card-with-image .device-title {
        font-size: 1.1rem;
    }
}

/* INFO BOXES */
.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 50px auto 0;
}

.info-box {
    background: var(--rapsodo-black);
    color: var(--rapsodo-white);
    padding: 35px 25px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-box:hover {
    background: #222;
    transform: translateY(-2px);
}

.info-box-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.info-box-text {
    font-family: 'Barlow', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* FEATURED ARTICLES */
.featured-articles-section {
    background-color: var(--rapsodo-black);
    padding: var(--space-16) 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.featured-articles-section .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-10);
}

@media (max-width: 768px) {
    .featured-articles-section .container {
        padding: 0 20px;
    }
}

.featured-articles-title {
    color: var(--rapsodo-white);
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: var(--font-weight-bold) !important;
    font-style: italic !important;
    font-size: var(--font-size-4xl);
    text-align: center;
    margin-bottom: var(--space-10);
}

/* Desktop: Full-width grid layout */
.featured-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    max-width: 100%;
    margin: 0 auto;
}

/* Force single row on larger screens */
@media (min-width: 1024px) {
    .featured-articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

/* Mobile: Horizontal carousel */
@media (max-width: 768px) {
    .featured-articles-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 16px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .featured-articles-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .featured-articles-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .featured-articles-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }
    
    .featured-articles-grid .article-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
}

.article-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-6);
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
    min-height: 160px;
}

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

.article-card-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: var(--font-weight-bold) !important;
    font-style: italic !important;
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
    color: #000;
    line-height: var(--line-height-tight);
}

.article-card-excerpt {
    font-family: 'Barlow', sans-serif;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    color: #555;
    line-height: var(--line-height-normal);
    margin-bottom: var(--space-4);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Text directly on the black featured articles section background */
.featured-articles-section p,
.featured-articles-section .articles-empty,
.featured-articles-section .articles-empty p {
    color: rgba(255, 255, 255, 0.8);
}

.article-card-link {
    font-family: 'Barlow', sans-serif;
    font-weight: var(--font-weight-semibold);
    color: #FF4500;
    text-decoration: none;
    font-size: var(--font-size-base);
    display: inline-flex;
    align-items: center;
    transition: var(--transition-normal);
}

.article-card-link:hover {
    color: #cc3700;
    transform: translateX(5px);
}

/* ARTICLE PAGES */
.article-header {
    background-color: var(--rapsodo-background);
    padding: var(--space-10) var(--space-8) var(--space-5);
    margin-bottom: var(--space-8);
    margin-left: calc(-1 * var(--space-8));
    margin-right: calc(-1 * var(--space-8));
    border-bottom: 2px solid #e0e0e0;
}

.article-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.article-author {
    font-family: 'Barlow', sans-serif;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.article-body {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    font-size: 1.0625rem;
    padding: 30px 0;
}

.article-list {
    padding: 20px 0;
}

.article-list-item {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* BUTTONS */
button, .button, .btn, [type="submit"] {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.875rem 2rem;
    border-radius: 0;
    border: 2px solid var(--button-primary-bg);
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

button:hover, .button:hover {
    background-color: var(--rapsodo-red);
    border-color: var(--rapsodo-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button-primary, .create-case-btn {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: var(--font-weight-bold) !important;
    font-style: italic !important;
    font-size: var(--font-size-base);
    letter-spacing: 0.02em;
    line-height: var(--line-height-tight);
    text-transform: uppercase;
    background: transparent;
    border: 1px solid #FF4500;
    color: #FF4500;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
}

.button-primary:hover {
    background: #FF4500;
    color: #fff;
}

.sign-in-btn {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid #666;
    color: #fff;
    transition: color 0.3s ease;
}

.sign-in-btn:hover {
    border-color: #FF4500;
    color: #FF4500;
}

/* FORMS */
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], textarea, select {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--rapsodo-light-gray);
    background-color: var(--rapsodo-white);
    color: var(--text-primary);
    border-radius: 0;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--rapsodo-black);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

/* ========================================
   FOOTER - Redesigned Multi-Column Layout
   ======================================== */

/* Site Footer - only apply to the main page footer, not article footers */
.footer,
body > footer,
.container + footer {
    background-color: var(--rapsodo-black);
    color: var(--rapsodo-white);
    font-family: 'Barlow', sans-serif;
    margin-top: 60px;
    padding: 0;
    border-top: none;
}

/* Article Page Footer - Reset styling for article footer elements */
article footer,
.article footer {
    background-color: transparent !important;
    color: var(--rapsodo-black) !important;
    margin-top: 0;
    padding: 0;
}

/* Article Footer Section - share icons area */
.article-footer {
    background: transparent;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.article-share {
    display: flex;
    gap: 10px;
}

/* Article Votes Section - YES/NO feedback */
.article-votes {
    background: #f8f8f8 !important;
    padding: 40px 30px !important;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
    border-top: none !important;
}

.article-votes-question {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.25rem !important;
    color: var(--rapsodo-black) !important;
    text-transform: uppercase;
    margin-bottom: 20px !important;
}

.article-votes-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.article-vote {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 30px;
    border: 2px solid var(--rapsodo-black);
    background: transparent;
    color: var(--rapsodo-black);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-vote:hover {
    background: var(--rapsodo-black);
    color: white;
}

.article-vote.button-primary {
    background: var(--rapsodo-red);
    border-color: var(--rapsodo-red);
    color: white;
}

.article-votes-count {
    color: #666 !important;
    font-size: 0.9rem;
}

/* More Questions Section */
.article-more-questions {
    text-align: center;
    padding: 20px 0;
    color: var(--rapsodo-black) !important;
}

.article-more-questions a {
    color: var(--rapsodo-red);
    font-weight: 600;
}

/* ========================================
   RECENTLY VIEWED & RELATED ARTICLES
   Card-based layout with reduced whitespace
   ======================================== */

.article-relatives {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px 0 !important;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .article-relatives {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Section Titles */
.recent-articles-title,
.related-articles-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.25rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rapsodo-black);
    margin-bottom: 15px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rapsodo-red);
}

/* Article Lists - Grid Layout */
.recent-articles ul,
.related-articles ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Article Cards */
.recent-articles li,
.related-articles li {
    margin: 0 !important;
    padding: 0;
}

.recent-articles li a,
.related-articles li a {
    display: block;
    padding: 15px 18px;
    background: #f8f8f8;
    border-radius: 8px;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--rapsodo-black);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.recent-articles li a:hover,
.related-articles li a:hover {
    background: #fff;
    border-left-color: var(--rapsodo-red);
    color: var(--rapsodo-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

/* Compact the container */
.recent-articles,
.related-articles {
    flex: 1;
    min-width: 0;
    padding-right: 0 !important;
}

/* ========================================
   PAGE HEADER STYLING (All Content Pages)
   Consistent styling for article, section, category pages
   ======================================== */

.page-header {
    padding: 40px 0 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.page-header h1 {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 2.5rem !important;
    color: var(--rapsodo-black) !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 15px !important;
    line-height: 1.1;
}

.page-header-description {
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
}

/* ========================================
   SUB-NAVIGATION BAR STYLING
   Breadcrumbs and search in content pages
   ======================================== */

.sub-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.sub-nav .breadcrumbs {
    margin-bottom: 0;
}

.sub-nav .search-container {
    position: relative;
    min-width: 280px;
}

.sub-nav .search-container .search {
    background: #f5f5f5;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.sub-nav .search-container .search:focus-within {
    background: #fff;
    border-color: var(--rapsodo-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sub-nav .search-container input[type="search"] {
    background: transparent !important;
    border: none !important;
    padding: 12px 15px 12px 40px !important;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
}

.sub-nav .search-icon {
    color: #888;
}

/* ========================================
   SECTION PAGE STYLING
   Article listings within a section
   ======================================== */

.section-container {
    display: flex;
    gap: 40px;
}

.section-content {
    flex: 1;
    max-width: 100%;
}

/* Section List (sub-sections) */
.section-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.section-list-item {
    margin: 0;
}

.section-list-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #f8f8f8;
    border-radius: 12px;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-list-item a:hover {
    background: #fff;
    border-color: var(--rapsodo-red);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.section-list-item a span {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--rapsodo-black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.section-list-item a svg {
    color: var(--rapsodo-red);
    transition: transform 0.3s ease;
}

.section-list-item a:hover svg {
    transform: translateX(5px);
}

/* ========================================
   SECTION PAGE ARTICLE CARD GRID
   Modern card-based article listing
   ======================================== */

.section-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .section-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .section-articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Individual article card */
.section-article-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--rapsodo-white);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 28px 24px;
    min-height: 160px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.section-article-card:hover {
    border-color: var(--rapsodo-red);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Promoted card styling */
.section-article-card.promoted {
    border-color: var(--rapsodo-red);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 69, 0, 0.03) 100%);
}

/* Internal/Members-only card styling */
.section-article-card.internal {
    background: #fafafa;
}

/* Article title */
.section-article-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.4rem;
    line-height: 1.3;
    color: var(--rapsodo-black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 auto 0;
    flex-grow: 1;
}

.section-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-article-title a:hover {
    color: var(--rapsodo-red);
}

/* Read article link */
.section-article-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--rapsodo-red);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 20px;
    transition: all 0.2s ease;
}

.section-article-link:hover {
    color: #cc3700;
    transform: translateX(5px);
}

/* ========================================
   ARTICLE CARD BADGES
   Featured and Members-Only indicators
   ======================================== */

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Featured/Promoted badge */
.promoted-badge {
    background: var(--rapsodo-red);
    color: var(--rapsodo-white);
}

.promoted-badge svg {
    fill: var(--rapsodo-white);
}

/* Internal/Members-only badge */
.internal-badge {
    background: #555;
    color: var(--rapsodo-white);
}

.internal-badge svg {
    fill: var(--rapsodo-white);
}

.internal-badge svg rect {
    fill: var(--rapsodo-white);
}

.internal-badge svg path {
    stroke: #555;
}

/* Adjust card padding when badges are present */
.section-article-card.promoted .section-article-title,
.section-article-card.internal .section-article-title {
    padding-right: 100px;
}

/* When both badges might be present */
.section-article-card.promoted.internal .card-badge.internal-badge {
    top: 50px;
}

/* ========================================
   SECTION PAGE TABS & GROUPS
   ======================================== */

/* Tab Navigation */
.section-tabs {
    display: flex;
    gap: 8px;
    margin: 30px 0 20px 0;
    padding: 0;
    border-bottom: 2px solid #e5e5e5;
    flex-wrap: wrap;
}

.section-tab {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.section-tab:hover {
    color: var(--rapsodo-red);
}

.section-tab.active {
    color: var(--rapsodo-red);
}

.section-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--rapsodo-red);
}

/* Grouped Articles Container */
.section-articles-grouped {
    margin-top: 20px;
}

/* Section Groups */
.section-group {
    display: none;
}

.section-group.active {
    display: block;
}

.section-group-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.5rem;
    color: var(--rapsodo-black);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
}

.section-group-empty {
    color: #888;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
    border-radius: 8px;
    margin: 20px 0;
}

/* Live Search Input */
.search-container-live {
    position: relative;
}

.section-live-search {
    width: 100%;
    max-width: 300px;
    padding: 10px 12px 10px 36px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: var(--rapsodo-white);
}

.section-live-search:focus {
    outline: none;
    border-color: var(--rapsodo-red);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

.search-container-live .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .section-tabs {
        gap: 4px;
    }
    
    .section-tab {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    .section-live-search {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .section-tabs {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }
    
    .section-tab {
        border-bottom: 1px solid #e5e5e5;
        text-align: left;
    }
    
    .section-tab.active::after {
        width: 4px;
        height: auto;
        top: 0;
        bottom: 0;
        left: 0;
        right: auto;
    }
}

/* Article List Styling (shared between section and category pages) */
.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list-item {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.article-list-item:hover {
    padding-left: 10px;
    border-bottom-color: var(--rapsodo-red);
}

.article-list-item:last-child {
    border-bottom: none;
}

.article-list-item .icon-star {
    color: var(--rapsodo-red);
    flex-shrink: 0;
}

.article-list-item .icon-lock {
    color: #888;
    flex-shrink: 0;
}

.article-list-link {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--rapsodo-black);
    text-decoration: none;
    transition: color 0.2s ease;
    flex: 1;
}

.article-list-link:hover {
    color: var(--rapsodo-red);
}

/* Promoted articles styling */
.article-list-item.article-promoted {
    background: linear-gradient(90deg, rgba(255, 69, 0, 0.05) 0%, transparent 100%);
    padding-left: 15px;
    margin-left: -15px;
    margin-right: -15px;
    padding-right: 15px;
    border-radius: 8px;
}

.article-list-item.article-promoted .article-list-link {
    font-weight: 600;
}

/* Empty state */
.section-empty,
.category-empty {
    font-family: 'Barlow', sans-serif;
    color: #888;
    font-style: normal;
    padding: 40px;
    text-align: center;
    background: #f8f8f8;
    border-radius: 12px;
}

/* ========================================
   CATEGORY PAGE STYLING
   Section listings within a category
   ======================================== */

.category-container {
    display: flex;
    gap: 40px;
}

.category-content {
    flex: 1;
    max-width: 100%;
}

/* Section Tree - Sections within a category */
.section-tree {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

@media (max-width: 900px) {
    .section-tree {
        grid-template-columns: 1fr;
    }
}

.section-tree .section {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.section-tree .section:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.section-tree-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.4rem !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 20px !important;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--rapsodo-red);
}

.section-tree-title a {
    color: var(--rapsodo-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-tree-title a:hover {
    color: var(--rapsodo-red);
}

.section-tree .article-list {
    margin-bottom: 15px;
}

.section-tree .article-list-item {
    padding: 12px 0;
}

.see-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--rapsodo-red);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 0;
    transition: all 0.2s ease;
}

.see-all-articles:hover {
    color: #cc3700;
    transform: translateX(5px);
}

.see-all-articles::after {
    content: '→';
    font-size: 1.1em;
}

/* ========================================
   ARTICLE SIDEBAR IMPROVEMENTS
   Better visual hierarchy for article navigation
   ======================================== */

.article-sidebar {
    flex: 0 0 260px;
    min-width: 0;
    margin-right: 40px;
}

@media (max-width: 1024px) {
    .article-sidebar {
        flex: 0 0 100%;
        order: -1;
        margin-bottom: 30px;
    }
}

.collapsible-sidebar {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.collapsible-sidebar-title,
.sidenav-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rapsodo-black);
    padding: 20px;
    margin: 0;
    background: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

.collapsible-sidebar-body {
    padding: 10px 0;
}

.collapsible-sidebar-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.collapsible-sidebar-body li {
    margin: 0;
}

.sidenav-item {
    display: block;
    padding: 12px 20px;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--rapsodo-black);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.sidenav-item:hover {
    background: #fff;
    border-left-color: var(--rapsodo-red);
    color: var(--rapsodo-red);
}

.sidenav-item.current-article,
.sidenav-item.current {
    background: #fff;
    border-left-color: var(--rapsodo-red);
    color: var(--rapsodo-red);
    font-weight: 600;
}

.article-sidebar-item {
    display: block;
    padding: 12px 20px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--rapsodo-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-top: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.article-sidebar-item:hover {
    background: var(--rapsodo-red);
    color: #fff;
}

/* ========================================
   QUICK ANSWER / GENERATIVE AI STYLING
   Subtle card design with red accent border
   ======================================== */

/* Main container - selectors for Zendesk's generative answers */
.generative-answers,
[class*="generative-answer"],
[class*="GenerativeAnswer"],
[class*="quick-answer"],
[class*="QuickAnswer"],
[class*="ai-answer"],
[data-test*="generative"] {
    background: #fafafa !important;
    border-radius: 12px !important;
    padding: 28px 32px !important;
    margin-bottom: 32px !important;
    border: none !important;
    border-left: 4px solid var(--rapsodo-red) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    position: relative;
}

/* Hide empty generative answers container */
.generative-answers:empty,
[class*="generative-answer"]:empty,
[class*="GenerativeAnswer"]:empty {
    display: none !important;
}

/* Only style first-child div if it actually has content (not the heading) */
.search-results-column > div:first-child:not(.search-results-subheading):not(:empty) {
    background: #fafafa !important;
    border-radius: 12px !important;
    padding: 28px 32px !important;
    margin-bottom: 32px !important;
    border: none !important;
    border-left: 4px solid var(--rapsodo-red) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    position: relative;
}

/* "Quick answer" header */
.generative-answers h2,
.generative-answers h3,
.generative-answers [class*="title"],
.generative-answers [class*="Title"],
.generative-answers [class*="header"],
.generative-answers [class*="Header"],
[class*="generative-answer"] h2,
[class*="generative-answer"] h3,
[class*="GenerativeAnswer"] h2,
[class*="GenerativeAnswer"] h3,
[class*="quick-answer"] h2,
[class*="quick-answer"] h3,
[class*="QuickAnswer"] h2,
[class*="QuickAnswer"] h3 {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    color: var(--rapsodo-black) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    font-size: 1.1rem !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Body text / answer content */
.generative-answers p,
.generative-answers [class*="content"],
.generative-answers [class*="Content"],
.generative-answers [class*="body"],
.generative-answers [class*="Body"],
[class*="generative-answer"] p,
[class*="GenerativeAnswer"] p,
[class*="quick-answer"] p,
[class*="QuickAnswer"] p {
    font-family: 'Barlow', sans-serif !important;
    color: #333 !important;
    line-height: 1.7 !important;
    font-size: 1rem !important;
}

/* Bulleted lists in the answer */
.generative-answers ul,
.generative-answers ol,
[class*="generative-answer"] ul,
[class*="generative-answer"] ol,
[class*="GenerativeAnswer"] ul,
[class*="GenerativeAnswer"] ol {
    font-family: 'Barlow', sans-serif !important;
    color: #333 !important;
    line-height: 1.8 !important;
    padding-left: 20px !important;
    margin: 12px 0 !important;
}

.generative-answers li,
[class*="generative-answer"] li,
[class*="GenerativeAnswer"] li {
    margin-bottom: 8px !important;
}

.generative-answers li strong,
[class*="generative-answer"] li strong {
    font-weight: 600 !important;
    color: var(--rapsodo-black) !important;
}

/* Links in the answer */
.generative-answers a,
[class*="generative-answer"] a,
[class*="GenerativeAnswer"] a,
[class*="quick-answer"] a,
[class*="QuickAnswer"] a {
    color: var(--rapsodo-red) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.generative-answers a:hover,
[class*="generative-answer"] a:hover,
[class*="GenerativeAnswer"] a:hover {
    color: #cc3700 !important;
    text-decoration: underline !important;
}

/* "AI suggestion based on" section */
.generative-answers [class*="source"],
.generative-answers [class*="Source"],
.generative-answers [class*="suggestion"],
.generative-answers [class*="Suggestion"],
.generative-answers [class*="citation"],
.generative-answers [class*="Citation"],
[class*="generative-answer"] [class*="source"],
[class*="GenerativeAnswer"] [class*="source"] {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 600 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    color: #666 !important;
    letter-spacing: 0.03em !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e0e0e0 !important;
}

/* Sparkle/AI icon - make it red */
.generative-answers svg,
.generative-answers [class*="icon"],
[class*="generative-answer"] svg,
[class*="GenerativeAnswer"] svg {
    color: var(--rapsodo-red) !important;
    fill: var(--rapsodo-red) !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

/* Thumbs up/down feedback buttons */
.generative-answers button,
.generative-answers [class*="feedback"],
.generative-answers [class*="Feedback"],
.generative-answers [class*="vote"],
.generative-answers [class*="Vote"],
[class*="generative-answer"] button,
[class*="GenerativeAnswer"] button {
    background: transparent !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin-right: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: #666 !important;
}

.generative-answers button:hover,
.generative-answers [class*="feedback"]:hover,
[class*="generative-answer"] button:hover,
[class*="GenerativeAnswer"] button:hover {
    background: rgba(255, 69, 0, 0.08) !important;
    border-color: var(--rapsodo-red) !important;
    color: var(--rapsodo-red) !important;
}

/* Document icon next to source article */
.generative-answers [class*="article"] svg,
.generative-answers [class*="Article"] svg,
[class*="generative-answer"] [class*="article"] svg {
    color: #888 !important;
    fill: none !important;
    stroke: currentColor !important;
    width: 14px !important;
    height: 14px !important;
}

/* ========================================
   SEARCH RESULTS SIDEBAR IMPROVEMENTS
   ======================================== */

.search-results-sidebar {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 24px;
    min-width: 220px;
}

/* Filter section titles - "SOURCE", etc. */
.search-results-sidebar .sidenav-title,
.search-results-sidebar .collapsible-sidebar-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rapsodo-black);
    padding: 0 0 12px 0;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--rapsodo-red);
}

/* Filter items container */
.search-results-sidebar .filters-in-section {
    margin-bottom: 24px;
}

.search-results-sidebar .filters-in-section:last-child {
    margin-bottom: 0;
}

/* Individual filter items */
.search-results-sidebar .sidenav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.search-results-sidebar .sidenav-item:hover {
    background: #fff;
    border-left-color: rgba(255, 69, 0, 0.3);
}

/* Currently selected filter */
.search-results-sidebar .sidenav-item.current {
    background: #fff;
    border-left-color: var(--rapsodo-red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-results-sidebar .sidenav-item.current .filter-name {
    font-weight: 700;
    color: var(--rapsodo-black);
}

/* Filter name text */
.search-results-sidebar .filter-name {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
    flex: 1;
}

/* Document count badge */
.search-results-sidebar .doc-count {
    font-family: 'Barlow', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
}

.search-results-sidebar .sidenav-item.current .doc-count {
    background: rgba(255, 69, 0, 0.1);
    color: var(--rapsodo-red);
}

/* "Show more" button */
.search-results-sidebar .see-all-filters {
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rapsodo-red);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.search-results-sidebar .see-all-filters:hover {
    color: #cc3700;
    text-decoration: underline;
}

/* ========================================
   SUBSCRIBE/FOLLOW BUTTON STYLING
   ======================================== */

.section-subscribe,
.article-subscribe {
    margin-top: 15px;
}

.section-subscribe button,
.article-subscribe button,
.subscribe-button {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    background: transparent !important;
    border: 2px solid var(--rapsodo-red) !important;
    color: var(--rapsodo-red) !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.section-subscribe button:hover,
.article-subscribe button:hover,
.subscribe-button:hover {
    background: var(--rapsodo-red) !important;
    color: #fff !important;
}

.footer-container {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-10);
}

/* Main Footer Content - Multi-Column Grid */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-16);
    padding: var(--space-16) 0 var(--space-12);
}

/* Brand Column */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-logo-text {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-size: 2.5rem;
    font-weight: 700 !important;
    font-style: italic !important;
    color: var(--rapsodo-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.footer-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Social Media Links */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--rapsodo-white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--rapsodo-red);
    color: var(--rapsodo-white);
    transform: translateY(-3px);
}

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

/* Footer Columns */
.footer-column {
    min-width: 0;
}

.footer-heading {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: var(--font-weight-bold) !important;
    font-style: italic !important;
    font-size: var(--font-size-xl);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: var(--line-height-tight);
    color: var(--rapsodo-white);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--rapsodo-red);
    display: inline-block;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--rapsodo-white);
    transform: translateX(5px);
}

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Language Selector in Footer */
.footer-language-selector {
    position: relative;
}

.footer-language-selector .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 8px 14px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-language-selector .dropdown-toggle:hover {
    border-color: var(--rapsodo-white);
    color: var(--rapsodo-white);
}

.footer-language-selector .globe-icon {
    opacity: 0.7;
}

.footer-language-selector .dropdown-chevron-icon {
    margin-left: 4px;
    opacity: 0.7;
}

.footer-language-selector .dropdown-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--rapsodo-black);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 8px 0;
    min-width: 150px;
    display: none;
    margin-bottom: 5px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.footer-language-selector .dropdown:hover .dropdown-menu,
.footer-language-selector .dropdown-toggle:focus + .dropdown-menu {
    display: block;
}

.footer-language-selector .dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-language-selector .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--rapsodo-white);
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
        max-width: none;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-heading {
        display: block;
        border-bottom: none;
        position: relative;
    }
    
    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: var(--rapsodo-red);
    }
    
    .footer-links a:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 0 35px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-logo-text {
        font-size: 2rem;
    }
    
    .footer-tagline {
        font-size: 0.95rem;
    }
    
    .footer-heading {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .footer-social {
        gap: 12px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* END FOOTER */

/* UTILITY CLASSES */
.text-uppercase { text-transform: uppercase !important; }
.text-bold { font-weight: 700 !important; }
.font-acumin { 
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
}
.font-barlow { font-family: 'Barlow', sans-serif !important; }

.visibility-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* BLOCKS */
.blocks-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: -15px;
    padding: 0;
    list-style: none;
}

.blocks-item {
    flex: 0 1 calc(33.333% - 30px);
    margin: 15px;
    background-color: var(--rapsodo-white);
    border: 2px solid var(--rapsodo-black);
    border-radius: 0;
    transition: all 0.3s ease;
    min-height: 150px;
}

.blocks-item:hover {
    background-color: var(--rapsodo-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blocks-item:hover .blocks-item-title,
.blocks-item:hover .blocks-item-description {
    color: var(--rapsodo-white);
}

.blocks-item-link {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blocks-item-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--rapsodo-black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.blocks-item-description {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* BREADCRUMBS */
.breadcrumbs {
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.breadcrumbs li {
    display: inline;
    margin-right: 0.5rem;
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-secondary);
}

.breadcrumbs li:last-child::after {
    content: '';
}

.breadcrumbs a {
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--rapsodo-red);
}

/* VIDEO CAROUSEL */
.featured-videos {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.featured-videos-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.video-carousel {
    position: relative;
    max-width: var(--container-xl);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.video-carousel-wrapper {
    flex: 1;
    overflow: hidden;
}

.video-carousel-track {
    display: flex;
    gap: var(--space-8);
    transition: transform var(--transition-slow);
}

.video-carousel-card {
    flex: 0 0 calc(50% - 15px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

.video-carousel-card:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.08);
}

/* Base carousel button styles - overridden by more specific styles in Video Carousel section */

/* GET IN TOUCH */
.get-in-touch {
    padding: var(--space-20) 0;
    background: #f8f8f8;
}

.get-in-touch-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #000;
}

.contact-options {
    display: flex;
    gap: 40px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-option {
    flex: 1;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Get In Touch CTA Button */
.get-in-touch .container {
    text-align: center;
}

.get-in-touch-subtitle {
    font-family: 'Acumin Variable', 'Barlow', sans-serif;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.get-in-touch-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--rapsodo-red) !important;
    color: var(--rapsodo-white) !important;
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    padding: 18px 40px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.get-in-touch-cta:hover {
    background: #e63e00 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
    color: var(--rapsodo-white) !important;
}

.get-in-touch-cta svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sparkle-pulse {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.95); }
}

@keyframes slideIn {
    from { right: -100%; }
    to { right: 0; }
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {
    .blocks-item { flex: 0 1 calc(50% - 30px); }
    .header .container { padding: 20px 30px !important; }
    .sport-nav-list { gap: 30px !important; }
    .sport-nav-link { font-size: 1.3rem !important; }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    
    .hero { min-height: 300px; }
    .nav-wrapper-desktop, .user-nav { display: none !important; }
    .mobile-nav-toggle { display: block !important; }
    
    .header .container { 
        padding: 15px 20px !important; 
    }
    
    .header .logo { margin-right: 0 !important; }
    .header .logo img { height: 45px !important; }
    .logo-text { font-size: 1.8rem !important; }
    
    body[data-sport="golf"] .device-grid,
    body[data-sport="diamond"] .device-grid { 
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-articles-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px;
    }
    
    .blocks-item { 
        flex: 0 1 100%; 
        margin: 15px 0; 
    }
    
    .video-carousel-card { flex: 0 0 100%; }
    
    .contact-options {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .info-boxes {
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* RESPONSIVE - SMALL MOBILE */
@media (max-width: 480px) {
    body[data-sport="golf"] .device-grid,
    body[data-sport="diamond"] .device-grid { 
        grid-template-columns: 1fr !important; 
    }
    
    .device-card { min-height: 150px !important; }
    
    .header .container { padding: 12px 15px !important; }
    .header .logo img { height: 40px !important; }
    .logo-text { font-size: 1.5rem !important; }
    
    .mobile-nav { width: 85% !important; }
}

/* SPORT-SPECIFIC VISIBILITY */
body[data-sport="golf"] .sport-content.diamond-only,
body[data-sport="diamond"] .sport-content.golf-only {
    display: none;
}

/* ========================================
   EMPTY STATE STYLING
   ======================================== */

/* Empty State Styling for grids and content areas */
.device-grid-empty,
.articles-empty,
.articles-error,
.videos-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f8f8;
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.device-grid-empty p,
.articles-empty p,
.articles-error p,
.videos-empty p {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* ========================================
   ACUMIN FONT APPLICATION (CONSOLIDATED)
   Single authoritative section for all Acumin font styling
   Pattern: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif
   with font-weight: 700 and font-style: italic
   ======================================== */

/* Primary Headings - Article pages, sections, page headers */
.article-page h1,
.article-page h2,
.article-page h3,
.article-page h4,
.article-page h5,
.article-page h6,
.hero h1,
.page-header h1,
.section-title,
.section-header,
section > h2:first-child {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
}

/* Card and Block Titles */
.blocks-item-title,
.blocks-item h3,
.block-title,
.device-card-title,
.device-card h3,
.article-card h3,
.article-card-title,
.video-card-title,
.video-item h3,
[class*="card-title"],
[class*="card"] h3,
[class*="card"] h4,
.card-header {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
}

/* Section Titles */
.featured-articles-title,
.featured-articles-section h2,
.featured-videos-title,
.featured-article-title,
.video-tutorials-title,
.video-section h2,
.get-in-touch-title,
.popular-topics h2,
.popular-topics-title,
.quick-links h2,
.quick-links-title,
.topic-card-title,
.status-notes h2,
.status-notes h3,
.release-notes-title,
.release-card-title,
.update-title,
.faq-section h2,
.faq-title,
.faq-question,
.faq-item h3 {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
}

/* Navigation and UI Elements */
.sport-nav-link,
.sport-nav button,
.nav-title,
.category-title,
.section-tree-title,
.info-box h3,
.callout-title,
.alert-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
}

/* Article List and Sidebar Items */
.article-list-item-title,
.article-title,
.section-tree .title,
.sidenav-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
}

/* END ACUMIN FONT APPLICATION */

/* ========================================
   VIDEO CAROUSEL SECTION
   YouTube embed carousel with 16:9 aspect ratio
   ======================================== */

/* Video Section Container */
.featured-videos {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 80px 0;
    margin-top: 60px;
}

.featured-videos-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--rapsodo-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video Carousel Container */
.video-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.video-carousel-wrapper {
    overflow: hidden;
    margin: 0 auto;
}

.video-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

/* Video Card Styling - 3 cards visible at a time */
.video-card {
    flex: 0 0 calc(33.333% - 20px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* 16:9 Aspect Ratio Container for Videos */
.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Lazy-loaded Video Thumbnail with Play Button */
.video-embed.video-lazy {
    cursor: pointer;
}

.video-embed .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-embed .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-embed .video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-embed .video-play-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.video-embed .video-play-btn svg {
    display: block;
    width: 68px;
    height: 48px;
}

.video-embed .video-play-btn .video-play-bg {
    transition: fill 0.2s ease, fill-opacity 0.2s ease;
}

.video-embed .video-play-btn:hover .video-play-bg {
    fill: #ff0000;
    fill-opacity: 1;
}

/* Article Quick Actions Bar */
.article-quick-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    background: var(--rapsodo-background, #f8f8f8);
    border-radius: 6px;
    font-size: 0.875rem;
}

.article-last-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary, #666);
}

.article-last-updated svg {
    flex-shrink: 0;
}

.article-last-updated time {
    font-weight: 500;
    color: var(--text-primary, #2c2c2c);
}

.article-copy-link-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid var(--rapsodo-light-gray, #e5e5e5);
    border-radius: 4px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary, #2c2c2c);
    cursor: pointer;
    transition: all 0.2s ease;
}

.article-copy-link-btn:hover {
    background: var(--rapsodo-black, #000);
    color: white;
    border-color: var(--rapsodo-black, #000);
}

.article-copy-link-btn:hover svg {
    stroke: white;
}

.article-copy-link-btn .copy-link-copied {
    display: none;
    color: var(--rapsodo-green, #00a859);
}

.article-copy-link-btn.copied .copy-link-text {
    display: none;
}

.article-copy-link-btn.copied .copy-link-copied {
    display: inline;
}

.article-copy-link-btn.copied {
    background: rgba(0, 168, 89, 0.1);
    border-color: var(--rapsodo-green, #00a859);
    color: var(--rapsodo-green, #00a859);
}

@media (max-width: 480px) {
    .article-quick-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .article-copy-link-btn {
        justify-content: center;
    }
}

/* Video Title and Description */
.video-card .video-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 1.3rem;
    color: var(--rapsodo-black);
    padding: 20px 20px 10px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-card .video-description {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #666;
    padding: 0 20px 20px;
    line-height: 1.5;
    margin: 0;
}

/* Carousel Navigation Buttons - Traditional Arrow Style */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    color: var(--rapsodo-black);
    padding: 0;
}

.carousel-prev:hover:not(:disabled),
.carousel-next:hover:not(:disabled) {
    color: var(--rapsodo-red);
    transform: translateY(-50%) scale(1.15);
}

.carousel-prev:disabled,
.carousel-next:disabled {
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.4;
}

.carousel-prev {
    left: 5px;
}

.carousel-next {
    right: 5px;
}

.carousel-prev svg,
.carousel-next svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    /* Show 2 videos on medium screens */
    .video-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .video-carousel {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .featured-videos {
        padding: 60px 20px;
    }
    
    .featured-videos-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .video-carousel {
        padding: 0 45px;
    }
    
    .video-carousel-track {
        gap: 20px;
    }
    
    /* Show 1 video on mobile */
    .video-card {
        flex: 0 0 100%;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
    }
    
    .carousel-prev svg,
    .carousel-next svg {
        width: 28px;
        height: 28px;
    }
    
    .carousel-prev {
        left: 2px;
    }
    
    .carousel-next {
        right: 2px;
    }
    
    .video-card .video-title {
        font-size: 1.1rem;
        padding: 15px 15px 8px;
    }
    
    .video-card .video-description {
        font-size: 0.9rem;
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .video-carousel {
        padding: 0 35px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 36px;
        height: 36px;
    }
    
    .carousel-prev {
        left: -5px;
    }
    
    .carousel-next {
        right: -5px;
    }
}

/* END VIDEO CAROUSEL SECTION */

/* ========================================
   Product-Specific Pages (Device Pages)
   MLM2PRO blueprint styles
   ======================================== */

/* Product Hero */
.product-hero {
    background: linear-gradient(135deg, #2a2a2a 0%, #000000 100%);
    padding: 3rem 0 0;
    position: relative;
}

.product-hero-title {
    font-family: 'Acumin Pro ExtraCond', 'Acumin Variable', 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-style: italic !important;
    font-size: 3rem;
    text-transform: uppercase;
    color: var(--rapsodo-white);
    text-align: center;
    margin-bottom: 2rem;
}

/* Product Tabs */
.product-tabs {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid #444;
}

.tabs-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.tab-item {
    flex: 0 0 auto;
}

.tab-link {
    display: block;
    padding: 1rem 1.5rem;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ccc;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.tab-item.active .tab-link,
.tab-link:hover,
.tab-link:focus {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.tab-item.active .tab-link {
    border-bottom-color: var(--rapsodo-red);
}

/* Product Breadcrumbs */
.product-breadcrumbs {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.product-breadcrumbs li {
    font-family: 'Barlow', sans-serif;
    font-size: 0.875rem;
}

.product-breadcrumbs li::after {
    content: '/';
    margin: 0 0.75rem;
    color: #999;
}

.product-breadcrumbs li:last-child::after {
    content: '';
}

.product-breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.product-breadcrumbs a:hover {
    color: var(--rapsodo-red);
}

/* Product Content */
.product-container {
    padding: 3rem 20px;
}

.content-section {
    margin-bottom: 3rem;
}

.content-title {
    font-family: 'Acumin Variable', 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--rapsodo-black);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.device-articles-grid .articles-loading,
.device-articles-grid .articles-empty,
.device-articles-grid .articles-error {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .product-hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.25rem;
    }
    .tab-link {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }
    .product-container {
        padding: 2rem 16px;
    }
}
