/* Header — bettingguides.co.uk — Navy with background image */
.header { position: sticky; top: 0; z-index: 100; background: #1B2D4F; transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2); }
.header .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; max-width: 1140px; margin: 0 auto; }
.header .logo { display: flex; align-items: center; text-decoration: none; }
.header .logo img { height: 30px; width: auto; }
/* Mobile nav */
.header .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #ffffff; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); padding: 0; z-index: 200; max-height: 80vh; overflow-y: auto; }
.header .nav.active { display: block; }
.header .nav .nav-list { list-style: none; padding: 0; margin: 0; }
.header .nav .dropdown-menu { list-style: none; padding-left: 0; margin: 0; }
.header .nav .nav-list li { border-bottom: 1px solid #f0f0ed; }
.header .nav .nav-list li:last-child { border-bottom: none; }
.header .nav .nav-list a { display: block; padding: 14px 24px; color: #2c2c2c; font-size: 15px; font-weight: 500; transition: background 0.15s, color 0.15s; }
.header .nav .nav-list a:hover { background: #f5f0e6; color: #1B2D4F; }
.header .nav .nav-list .active-link { color: #1B2D4F; font-weight: 700; }
/* Dropdown */
.header .nav .has-dropdown .dropdown-trigger { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.header .nav .has-dropdown .dropdown-arrow { width: 8px; height: 8px; border-right: 2px solid #999999; border-bottom: 2px solid #999999; transform: rotate(45deg); transition: transform 0.2s; margin-right: 4px; }
.header .nav .has-dropdown.open .dropdown-arrow { transform: rotate(-135deg); }
.header .nav .dropdown-menu { display: none; background: #f9f9f7; }
.header .nav .has-dropdown.open .dropdown-menu { display: block; }
.header .nav .dropdown-menu a { padding-left: 40px; font-size: 14px; color: #555555; }
.header .nav .dropdown-menu a:hover { color: #1B2D4F; }
/* Hamburger */
.header .hamburger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 26px; height: 26px; cursor: pointer; z-index: 201; }
.header .hamburger .line { width: 26px; height: 2px; background: #ffffff; border-radius: 1px; transition: transform 0.3s, opacity 0.3s; }
.header .hamburger.active .line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header .hamburger.active .line:nth-child(2) { opacity: 0; }
.header .hamburger.active .line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* Desktop */
@media (min-width: 1024px) {
  .header .header-inner { height: 68px; }
  .header .hamburger { display: none; }
  .header .nav { display: flex; position: static; background: transparent; box-shadow: none; padding: 0; z-index: auto; max-height: none; overflow: visible; }
  .header .nav .nav-list { display: flex; align-items: center; gap: 2px; }
  .header .nav .nav-list li { border-bottom: none; }
  .header .nav .nav-list a { padding: 8px 14px; font-size: 13px; color: rgba(255, 255, 255, 0.75); font-weight: 500; border-radius: 4px; white-space: nowrap; }
  .header .nav .nav-list a:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
  .header .nav .nav-list .active-link { color: #E8A838; font-weight: 600; }
  .header .nav .has-dropdown { position: relative; }
  .header .nav .has-dropdown .dropdown-arrow { width: 6px; height: 6px; border-color: rgba(255, 255, 255, 0.5); margin-left: 4px; margin-right: 0; }
  .header .nav .dropdown-menu { position: absolute; top: 100%; right: 0; min-width: 220px; background: #ffffff; border-radius: 0 0 8px 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); padding: 8px 0; }
  .header .nav .dropdown-menu a { color: #2c2c2c; font-size: 13px; padding: 10px 20px; border-radius: 0; }
  .header .nav .dropdown-menu a:hover { background: #f5f0e6; color: #1B2D4F; }
}
