/* Styling the existing Google Translate button */
.translate_button.ai-style-change-1 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d1173b, #b01431);
  border: 1.5px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.3s ease;
  opacity: 0.85;
  cursor: pointer;
}

.translate_button.ai-style-change-1:hover {
  opacity: 1;
  transform: scale(1.05);
}

.translate_button.ai-style-change-1.active {
  opacity: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

/* Style existing language list */
.translate_feature .language_list-wrap {
  background: #000000;
  border: 1.5px solid #D4AF37;
  border-radius: 8px;
  padding: 10px;
  min-width: 165px;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

/* Style language items */
.translate_feature .language_item {
  transition: background 0.2s;
}

.translate_feature .language_item:hover {
  background: rgba(255, 215, 0, 0.1);
}

.translate_feature .lang-select {
  color: #ffffff;
  text-decoration: none;
}

/* Make overlay dark */
.translate_feature .translation-overlay-close {
  background: rgba(0, 0, 0, 0.3);
}

/* Animation for language list */
.translate_feature .language_list-wrap {
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.translate_feature .language_list-wrap.visible {
  transform: translateY(0);
}

/**
 * BWMA Enhancement - Part 1: CSS Variables
 * 
 * This snippet defines the color variables and base styling
 * for the Black Welsh Music Awards website.
 */

/* CSS Variables for consistent styling */
:root {
  /* Colors */
  --bwma-gold: #DAA520;
  --bwma-gold-light: #f4d88a;
  --bwma-gold-dark: #b28a1b;
  --bwma-red: #C41E3A;
  --bwma-red-light: #e13653;
  --bwma-red-dark: #9c1830;
  --bwma-green: #17A43B;
  --bwma-black: #101010;
  --bwma-dark-gray: #1a1a1a;
  --bwma-light-gray: #f5f5f5;
  --bwma-text: #ffffff;
  --bwma-text-muted: #999999;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-subtle: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 8px 20px rgba(0, 0, 0, 0.2);
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  
  /* Glows */
  --gold-glow: 0 0 15px rgba(218, 165, 32, 0.5);
  --red-glow: 0 0 15px rgba(196, 30, 58, 0.5);
}

/* Custom scrollbar for better visual continuity */
::-webkit-scrollbar {
  width: 12px;
  background-color: var(--bwma-black);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--bwma-gold), var(--bwma-red));
  border-radius: 6px;
  border: 3px solid var(--bwma-black);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--bwma-gold-light), var(--bwma-red-light));
}

/* Improved selection styling */
::selection {
  background-color: var(--bwma-gold);
  color: var(--bwma-black);
  text-shadow: none;
}


/**
 * BWMA Enhancement - Part 2: Typography
 * 
 * This snippet improves typography and text styling
 * for better readability and visual hierarchy.
 */

/* Improved body styling for better readability */
body {
  color: var(--bwma-text);
  transition: background-color var(--transition-medium);
}

/* Enhanced typography for better readability */
p, li, td, th, input, textarea, select, button {
  max-width: 75ch; /* Optimal reading length */
  line-height: 1.6;
}

/* Improved heading styles with subtle text shadows for better contrast */
h1, h2, h3, h4, h5, h6 {
  text-shadow: var(--text-shadow);
  margin-bottom: 0.8em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem); /* Reduced from 5.5rem for better hierarchy */
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

/* Enhanced link styling for better visibility */
a {
  color: var(--bwma-red);
  transition: all var(--transition-fast);
  text-decoration: none;
  position: relative;
}

a:hover, a:focus {
  color: var(--bwma-gold);
}

a:focus {
  outline: 2px solid var(--bwma-gold);
  outline-offset: 2px;
}

/* Add subtle underline animation for links */
a:not(.w-btn):not(.no-underline):after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--bwma-gold);
  transition: width var(--transition-medium);
}

a:not(.w-btn):not(.no-underline):hover:after,
a:not(.w-btn):not(.no-underline):focus:after {
  width: 100%;
}

/* Text with gold gradient utility class */
.text-gold-gradient {
  background: linear-gradient(90deg, var(--bwma-gold), var(--bwma-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Text with red gradient utility class */
.text-red-gradient {
  background: linear-gradient(90deg, var(--bwma-red), var(--bwma-red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Improved contrast for text */
.high-contrast {
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

/* Fix for WPBakery Page Builder centered text */
.wpb_text_column p,
.wpb_content_element p,
.vc_column_text p,
.vc_custom_heading,
.vc_custom_heading + p,
[data-vc-full-width] p {
  max-width: none !important;
}

/* Ensure text-align center works properly */
p[style*="text-align: center"],
.text-align-center,
.wpb_text_column.wpb_content_element p[style*="text-align: center"],
.vc_column_text[style*="text-align: center"] p {
  text-align: center !important;
  width: 100% !important;
}



/**
 * BWMA Enhancement - Part 3: Header Styling
 * 
 * This snippet enhances the header with professional styling,
 * subtle animations, and improved visual hierarchy.
 */

/* Enhanced header styling */
.l-header {
  position: relative;
  z-index: 99;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-medium);
}

/* Top bar enhancements */
.l-header .l-subheader.at_top {
  background: linear-gradient(90deg, var(--bwma-gold), var(--bwma-black));
  position: relative;
  overflow: hidden;
}

/* Add subtle animated shimmer effect to top bar */
.l-header .l-subheader.at_top:before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-25deg);
  animation: shimmer 6s infinite;
}

@keyframes shimmer {
  0% { left: -150%; }
  100% { left: 150%; }
}

/* Middle header enhancements */
.l-header .l-subheader.at_middle {
  background: linear-gradient(135deg, var(--bwma-black) 0%, var(--bwma-dark-gray) 100%);
  border-bottom: 3px solid var(--bwma-red);
  position: relative;
}

/* Add subtle gold accent line above the red border */
.l-header .l-subheader.at_middle:after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--bwma-gold);
  opacity: 0.5;
}

/* Logo enhancements */
.l-header .w-image-h img {
  transition: transform var(--transition-medium);
}

.l-header.sticky .w-image-h img {
  transform: scale(0.9);
}

/* Logo hover effect */
.l-header .w-image-h:hover img {
  filter: drop-shadow(0 0 5px var(--bwma-gold));
}

/* Sticky header enhancements */
.l-header.sticky {
  box-shadow: var(--shadow-strong);
}

.l-header.sticky .l-subheader.at_middle {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(16, 16, 16, 0.95) 100%);
  backdrop-filter: blur(10px);
}

/* Fix for gold accent line appearing above logo */
.l-header .l-subheader.at_middle:after {
  z-index: 0; /* Lower z-index to ensure it stays behind other elements */
  bottom: 0; /* Position exactly at bottom */
}

/* Ensure logo stays above the line */
.l-header .w-image {
  position: relative;
  z-index: 2; /* Higher z-index to stay above the line */
}

/* Ensure menu stays above the line too */
.l-header .w-nav {
  position: relative;
  z-index: 2; /* Higher z-index to stay above the line */
}



/**
 * BWMA Enhancement - Part 4: Navigation Menu
 * 
 * This snippet enhances the navigation menu with professional styling,
 * hover effects, and improved visual hierarchy.
 */

/* Menu styling enhancements */
.l-header .w-nav-list {
  transition: all var(--transition-medium);
}

.l-header .w-nav-item {
  transition: transform var(--transition-fast);
}

.l-header .w-nav-item:hover {
  transform: translateY(-2px);
}

.l-header .w-nav-anchor {
  position: relative;
  transition: all var(--transition-fast);
  border-radius: 5px;
}

/* Menu item hover effect */
.l-header .w-nav-item:not(.current-menu-item) .w-nav-anchor:hover {
  background: linear-gradient(90deg, var(--bwma-gold), var(--bwma-black));
  color: var(--bwma-light-gray);
}

/* Active menu item styling */
.l-header .w-nav-item.current-menu-item .w-nav-anchor {
  background: linear-gradient(90deg, var(--bwma-gold), var(--bwma-black));
  color: var(--bwma-light-gray);
  box-shadow: var(--shadow-subtle);
}

/* Dropdown menu enhancements */
.l-header .w-nav-list.level_2 {
  background-color: var(--bwma-dark-gray);
  border: 1px solid var(--bwma-gold);
  border-radius: 5px;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
}

.l-header .w-nav-list.level_2 .w-nav-anchor {
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.l-header .w-nav-list.level_2 .w-nav-anchor:hover {
  border-left: 3px solid var(--bwma-gold);
  background: linear-gradient(90deg, var(--bwma-red-dark), var(--bwma-gold));
  padding-left: 1.5rem;
}

/* Social icons enhancements */
.l-header .w-socials-item {
  transition: transform var(--transition-medium);
}

.l-header .w-socials-item:hover {
  transform: translateY(-3px) scale(1.1);
}

.l-header .w-socials-item-link {
  position: relative;
  overflow: hidden;
}

/* Social icons hover effect */
.l-header .w-socials-item-link:after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.l-header .w-socials-item-link:hover:after {
  opacity: 1;
  transform: scale(1);
}

/* Mobile menu styling */
@media (max-width: 1024px) {
  .l-header .w-nav-control {
    background-color: rgba(26, 26, 26, 0.5);
    border-radius: 5px;
    padding: 0.5rem;
    transition: background-color var(--transition-fast);
  }
  
  .l-header .w-nav-control:hover {
    background-color: var(--bwma-gold-dark);
  }
  
  .w-nav-list.level_1.opened {
    background: linear-gradient(135deg, var(--bwma-black) 0%, var(--bwma-dark-gray) 100%);
    border-left: 3px solid var(--bwma-gold);
  }
  
  .w-nav-close {
    background-color: var(--bwma-gold);
    color: var(--bwma-black);
  }
}


/**
 * BWMA Enhancement - Part 5: Buttons & CTAs
 * 
 * This snippet enhances buttons and call-to-action elements
 * with professional styling, hover effects, and animations.
 */

/* Base button styling */
.w-btn, button, input[type="button"], input[type="submit"] {
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Main button hover effect */
.w-btn:hover, button:hover, 
input[type="button"]:hover, input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Gradient button enhancements */
.w-btn.style_2 {
  background: linear-gradient(90deg, var(--bwma-gold) 0%, var(--bwma-black) 100%);
  position: relative;
  overflow: hidden;
}

/* Add shine effect to gradient button */
.w-btn.style_2:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255,255,255,0.2) 50%,
    transparent 70%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s;
}

.w-btn.style_2:hover:before {
  transform: rotate(45deg) translateX(100%);
}

/* Call to action button */
.w-btn.cta, .w-btn.main-cta {
  background: linear-gradient(90deg, var(--bwma-red) 0%, var(--bwma-gold) 100%);
  color: var(--bwma-light-gray);
  border: none;
  box-shadow: var(--gold-glow);
  transform-origin: center;
}

.w-btn.cta:hover, .w-btn.main-cta:hover {
  background: linear-gradient(90deg, var(--bwma-gold) 0%, var(--bwma-red) 100%);
  box-shadow: var(--red-glow);
  transform: translateY(-3px) scale(1.05);
}

/* Back to top button styling */
.w-toplink {
  background-color: var(--bwma-gold);
  color: var(--bwma-black);
  border-radius: 50%;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-medium);
}

.w-toplink.active {
  opacity: 1;
  transform: translateY(0);
}

.w-toplink:hover {
  background-color: var(--bwma-red);
  transform: translateY(-5px);
}

/* Mobile responsive buttons */
@media (max-width: 768px) {
  /* Full-width buttons on mobile */
  .w-btn-wrapper {
    width: 100%;
  }
  
  .w-btn {
    width: 100%;
    text-align: center;
  }
}


/**
 * BWMA Enhancement - Part 6: Content Sections
 * 
 * This snippet enhances content sections with professional styling,
 * visual hierarchy improvements, and awards ceremony aesthetics.
 */

/* Section styling for better visual hierarchy */
.l-section {
  padding: 4rem 0;
  position: relative;
}

/* Featured sections with gold accent */
.l-section.featured {
  border-left: 5px solid var(--bwma-gold);
  padding-left: 2rem;
  margin-left: -2rem;
}

/* Awards section styling */
.l-section.awards {
  background: linear-gradient(135deg, var(--bwma-black) 0%, var(--bwma-dark-gray) 100%);
  border-top: 1px solid var(--bwma-gold);
  border-bottom: 1px solid var(--bwma-gold);
}

/* Card styling for award categories */
.w-grid-item, .award-card {
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bwma-dark-gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.w-grid-item:hover, .award-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong), 0 0 20px rgba(218, 165, 32, 0.2);
  border-color: var(--bwma-gold);
}

/* Award title styling */
.award-title, .w-grid-item-title {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.award-title:after, .w-grid-item-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--bwma-gold), var(--bwma-red));
  transition: width var(--transition-medium);
}

.award-card:hover .award-title:after,
.w-grid-item:hover .w-grid-item-title:after {
  width: 100px;
}

/* Gold border accent utility classes */
.gold-border-left {
  border-left: 3px solid var(--bwma-gold);
  padding-left: 1rem;
}

.gold-border-bottom {
  border-bottom: 3px solid var(--bwma-gold);
  padding-bottom: 0.5rem;
}

/* Red border accent utility class */
.red-border-left {
  border-left: 3px solid var(--bwma-red);
  padding-left: 1rem;
}

/* Adjust spacing for mobile */
@media (max-width: 768px) {
  .l-section {
    padding: 2rem 0;
  }
}

/* Mobile Responsiveness Fix */
@media (max-width: 768px) {
  /* Reduce section padding on mobile */
  .l-section {
    padding: 1.5rem 0;
  }
  
  /* Fix card margins/padding on mobile */
  .w-grid-item, 
  .award-card,
  .wpb_column,
  .vc_column_container,
  .vc_column-inner {
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Fix WPBakery row margins on mobile */
  .vc_row,
  .vc_section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  
  /* Ensure content fits within viewport */
  .l-main .l-content {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}



/**
 * BWMA Enhancement - Part 8: Footer Styling
 * 
 * This snippet enhances the footer with professional styling,
 * visual hierarchy improvements, and awards ceremony aesthetics.
 */

/* Footer styling */
.l-footer {
  background: linear-gradient(135deg, var(--bwma-black) 0%, var(--bwma-dark-gray) 100%);
  border-top: 3px solid var(--bwma-red);
  position: relative;
}

/* Add subtle gold accent line below the red border */
.l-footer:before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--bwma-gold);
  opacity: 0.5;
}

/* Footer headings */
.l-footer .widget-title {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: var(--bwma-gold);
}

.l-footer .widget-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--bwma-gold), transparent);
}

/* Footer links */
.l-footer a {
  color: var(--bwma-text);
  transition: all var(--transition-fast);
}

.l-footer a:hover {
  color: var(--bwma-gold);
  padding-left: 5px;
}

/* Footer social icons */
.l-footer .w-socials-item-link {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-medium);
}

.l-footer .w-socials-item-link:hover {
  background-color: var(--bwma-gold);
  color: var(--bwma-black);
  transform: translateY(-3px);
}


/**
 * BWMA Enhancement - Part 9: Animations & Effects
 * 
 * This snippet adds professional animations and effects
 * to enhance the awards ceremony aesthetic.
 */

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

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Staggered fade in for children */
.stagger-fade-in > * {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

.stagger-fade-in > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-fade-in > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-fade-in > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-fade-in > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-fade-in > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-fade-in > *:nth-child(6) { animation-delay: 0.6s; }

/* Pulse animation for attention */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Shimmer effect for awards */
@keyframes shimmerBg {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.award-winner {
  background: linear-gradient(90deg, 
    var(--bwma-dark-gray) 0%, 
    var(--bwma-dark-gray) 35%, 
    rgba(218, 165, 32, 0.3) 50%, 
    var(--bwma-dark-gray) 65%, 
    var(--bwma-dark-gray) 100%);
  background-size: 200% 100%;
  animation: shimmerBg 3s infinite;
}

/* Glow effects */
.gold-glow {
  box-shadow: var(--gold-glow);
}

.red-glow {
  box-shadow: var(--red-glow);
}

/* Smooth page transitions */
* {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Mobile-specific fixes for news grid */
@media (max-width: 768px) {
  /* Fix grid layout on mobile */
  .w-grid-list {
    display: flex;
    flex-direction: column;
    gap: 15px !important;
    margin: 0 !important;
  }
  
  /* Fix individual grid items */
  .w-grid-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Fix content padding inside grid items */
  .w-grid-item .vwrapper,
  .w-grid-item .hwrapper {
    padding: 0.8rem !important;
  }
  
  /* Fix title spacing */
  .w-grid-item .post_title {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    font-size: 1.3rem !important;
  }
  
  /* Fix media coverage tag */
  .w-grid-item .post_taxonomy {
    display: inline-block !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Fix read more alignment */
  .w-grid-item .text {
    text-align: right !important;
    display: block !important;
    margin-top: 0.5rem !important;
  }
  
  /* Fix overall section spacing */
  .l-section {
    padding: 1rem 0 !important;
  }
  
  /* Fix container padding */
  .l-content .vc_column-inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Fix row margins */
  .vc_row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/**
 * BWMA Unified Mega Menu CSS
 * 
 * This CSS combines your existing dark brown gradient styling with enhanced
 * UX, accessibility, and mobile responsiveness improvements.
 */

/* ===== EXISTING STYLING (PRESERVED) ===== */
/* Dark brown gradient background for specific menu items */
.menu-item-9679 .iconpos_top,
.menu-item-9694 .iconpos_top {
  color: white;
  background: linear-gradient(178deg, #403311, #151106);
  padding: 135px 20px 20px 20px;
  border-radius: 8px;
}

/* Text styling for dropdown menu items */
ul.w-nav-list.level_2 p {
  font-size: 13px;
  line-height: 22px;
  color: white !important;
}

ul.w-nav-list.level_2 h6 {
  color: white;
}

/* Margin for left-positioned icons */
.menu-item-9679 .iconpos_left,
.menu-item-9694 .iconpos_left {
  margin-top: 20px;
}

/* Custom background class */
.us_custom_80b72a13 {
  background: linear-gradient(178deg, #403311, #151106) !important;
}

/* Hover effect */
#sfdg:hover {
  background-color: #2e2712;
}

/* ===== ENHANCED STYLING (NEW) ===== */

/* Improved Visual Hierarchy */
.l-header .menu-item .us_text h6 {
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
  transition: color 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Subtle text shadow for depth */
}

/* Enhanced hover effects for menu items */
.l-header .menu-item .us_vwrapper:hover {
  transform: translateY(-3px);
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow on hover */
}

/* Consistent styling for all menu descriptions */
.l-header .menu-item .vc_column_text {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  opacity: 0.9;
  max-width: 250px; /* Prevent overly wide text blocks */
}

/* Gold accent for menu items on hover */
.l-header .menu-item .us_vwrapper:hover h6 {
  color: var(--bwma-gold, #DAA520) !important;
}

/* Improved separator styling */
.l-header .menu-item .us_separator {
  background: linear-gradient(90deg, transparent, var(--bwma-gold, #DAA520), transparent);
  height: 1px;
  opacity: 0.5;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Better focus states for keyboard navigation */
.l-header .menu-item a:focus,
.l-header .menu-item .us_vwrapper:focus-within {
  outline: 2px solid var(--bwma-gold, #DAA520) !important;
  outline-offset: 2px !important;
}

/* Improved text contrast */
.l-header .menu-item .vc_column_text {
  color: #e0e0e0 !important; /* Lighter gray for better contrast */
}

/* ===== ANIMATION & TRANSITIONS ===== */

/* Smooth dropdown animation */
.w-nav-list.level_2 {
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: top center;
}

.w-nav-item:hover > .w-nav-list.level_2 {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Icon hover effects */
.l-header .menu-item .w-nav-icon,
.l-header .menu-item i {
  transition: transform 0.3s ease;
}

.l-header .menu-item:hover .w-nav-icon,
.l-header .menu-item:hover i {
  transform: scale(1.1);
  color: var(--bwma-gold, #DAA520) !important;
}

/* ===== MOBILE OPTIMIZATIONS ===== */

@media (max-width: 768px) {
  /* Stack columns on mobile */
  .l-header .menu-item .vc_row {
    flex-direction: column !important;
  }
  
  /* Adjust spacing for mobile */
  .l-header .menu-item .us_vwrapper {
    margin-bottom: 15px !important;
    height: auto !important;
    min-height: 100px !important;
    padding: 15px !important; /* Reduced padding on mobile */
  }
  
  /* Ensure text is readable on mobile */
  .l-header .menu-item .vc_column_text {
    font-size: 0.85rem !important;
  }
  
  /* Adjust top padding for mobile */
  .menu-item-9679 .iconpos_top,
  .menu-item-9694 .iconpos_top {
    padding: 80px 15px 15px 15px; /* Reduced padding on mobile */
  }
}

/* ===== BRAND CONSISTENCY ENHANCEMENTS ===== */

/* Apply consistent dark brown gradient to all mega menu sections */
.l-header .menu-item .us_vwrapper {
  transition: all 0.3s ease;
}

/* Add subtle gold border to menu items */
.l-header .menu-item .us_vwrapper {
  border: 1px solid rgba(218, 165, 32, 0.1); /* Very subtle gold border */
  overflow: hidden; /* Ensure border radius is applied properly */
}

/* Add subtle gold accent line at bottom of menu */
.w-nav-list.level_2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bwma-gold, #DAA520), transparent);
  opacity: 0.3;
}

/* ===== ABOUT BWMA SECTION ENHANCEMENT ===== */

/* Enhanced styling for the main About BWMA section */
.l-header .menu-item .us_vwrapper[link*="/about/"] {
  background: linear-gradient(180deg, rgba(196,30,58,0.69) 0%, rgba(0,0,0,0.75) 100%) !important;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

/* Add subtle animated pattern to About section */
.l-header .menu-item .us_vwrapper[link*="/about/"]:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1" fill="%23DAA520" opacity="0.3"/></svg>');
  opacity: 0.1;
  pointer-events: none;
}

/* Add subtle gold shine effect on hover */
.l-header .menu-item .us_vwrapper[link*="/about/"]:hover:after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle, rgba(218,165,32,0.2) 0%, rgba(0,0,0,0) 70%);
  opacity: 0;
  animation: shine 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.2; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.2); }
}
