/**
 * TCN Navigation - That's Coffee Navigation System
 *
 * Breakpoints:
 * - Desktop: >1024px (volle Navigation mit Hover-Dropdowns)
 * - Tablet: 769px - 1024px (kompakte horizontale Navigation)
 * - Mobile: <=768px (Hamburger-Menü als Overlay)
 * - Small Mobile: <=380px (extra kompakt)
 */

/* ============================================
   CSS VARIABLES (Light + Dark Mode)
   ============================================ */
:root {
  --tcn-bg: rgba(255,255,255,0.92);
  --tcn-bg-solid: #ffffff;
  --tcn-text: #1a1a1a;
  --tcn-text-muted: #666;
  --tcn-border: rgba(0,0,0,0.08);
  --tcn-hover-bg: rgba(255,107,53,0.06);
  --tcn-shadow: 0 4px 24px rgba(0,0,0,0.08);
  --tcn-dropdown-bg: rgba(255,255,255,0.98);
  --tcn-dropdown-shadow: 0 20px 50px rgba(0,0,0,0.12);
  --tcn-accent: #FF6B35;
  --tcn-accent-hover: #E55A2B;
  --tcn-accent-light: #FF8C42;
  --tcn-accent-glow: rgba(255,107,53,0.25);
  --tcn-ease: cubic-bezier(0.16,1,0.3,1);
}

[data-theme="dark"] {
  --tcn-bg: rgba(18,18,18,0.94);
  --tcn-bg-solid: #121212;
  --tcn-text: #f5f5f5;
  --tcn-text-muted: #888;
  --tcn-border: rgba(255,255,255,0.08);
  --tcn-hover-bg: rgba(255,107,53,0.1);
  --tcn-shadow: 0 4px 24px rgba(0,0,0,0.3);
  --tcn-dropdown-bg: rgba(22,22,22,0.98);
  --tcn-dropdown-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tcn-bg: rgba(18,18,18,0.94);
    --tcn-bg-solid: #121212;
    --tcn-text: #f5f5f5;
    --tcn-text-muted: #888;
    --tcn-border: rgba(255,255,255,0.08);
    --tcn-hover-bg: rgba(255,107,53,0.1);
    --tcn-shadow: 0 4px 24px rgba(0,0,0,0.3);
    --tcn-dropdown-bg: rgba(22,22,22,0.98);
    --tcn-dropdown-shadow: 0 20px 50px rgba(0,0,0,0.4);
  }
}

/* ============================================
   RESET & BASE
   ============================================ */
.tcn *,
.tcn *::before,
.tcn *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.tcn button {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.tcn ul,
.tcn ul li {
  list-style: none;
}

.tcn a {
  text-decoration: none;
  outline: none;
}

/* Body Padding für Fixed Nav */
body {
  padding-top: 88px;
}

@media (max-width: 1024px) {
  body {
    padding-top: 76px;
  }
}

/* ============================================
   DESKTOP - NAV CONTAINER (>1024px)
   ============================================ */
nav.tcn {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  padding: 14px 20px;
  transition: padding 0.5s var(--tcn-ease);
  background: transparent;
}

nav.tcn.scrolled {
  padding: 8px 20px;
}

.tcn .tcn-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 24px;
  background: var(--tcn-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--tcn-border);
  border-radius: 16px;
  box-shadow: var(--tcn-shadow);
  transition: all 0.5s var(--tcn-ease);
}

nav.tcn.scrolled .tcn-inner {
  height: 54px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ============================================
   LOGO (mit Theme-Switch)
   ============================================ */
.tcn .tcn-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.tcn .tcn-logo img {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.4s var(--tcn-ease);
}

.tcn .tcn-logo-light {
  display: block;
}

.tcn .tcn-logo-dark {
  display: none;
}

[data-theme="dark"] .tcn .tcn-logo-light {
  display: none;
}

[data-theme="dark"] .tcn .tcn-logo-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tcn .tcn-logo-light {
    display: none;
  }
  :root:not([data-theme="light"]) .tcn .tcn-logo-dark {
    display: block;
  }
}

nav.tcn.scrolled .tcn-logo img {
  height: 38px;
}

.tcn .tcn-logo:hover img {
  transform: scale(1.04);
}

/* ============================================
   DESKTOP - MENU (>1024px)
   ============================================ */
.tcn ul.tcn-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tcn li.tcn-item {
  position: relative;
}

.tcn a.tcn-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--tcn-text);
  border-radius: 10px;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.tcn a.tcn-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--tcn-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--tcn-ease);
  border-radius: 1px;
}

.tcn a.tcn-link:hover::after,
.tcn li.tcn-item.active a.tcn-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.tcn a.tcn-link:hover {
  color: var(--tcn-accent);
}

.tcn .tcn-arrow {
  width: 10px;
  height: 10px;
  fill: currentColor;
  opacity: 0.5;
  transition: transform 0.4s var(--tcn-ease), opacity 0.3s ease;
}

.tcn li.tcn-item.has-dropdown:hover .tcn-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* ============================================
   DESKTOP - DROPDOWN
   ============================================ */
.tcn .tcn-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  padding: 8px;
  background: var(--tcn-dropdown-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--tcn-border);
  border-radius: 16px;
  box-shadow: var(--tcn-dropdown-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s var(--tcn-ease);
  z-index: 100;
}

.tcn .tcn-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.tcn .tcn-dropdown > * {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--tcn-ease);
}

.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown > * {
  opacity: 1;
  transform: translateY(0);
}

.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown > *:nth-child(1) { transition-delay: 0.05s; }
.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown > *:nth-child(2) { transition-delay: 0.08s; }
.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown > *:nth-child(3) { transition-delay: 0.11s; }
.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown > *:nth-child(4) { transition-delay: 0.14s; }
.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown > *:nth-child(5) { transition-delay: 0.17s; }
.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown > *:nth-child(6) { transition-delay: 0.20s; }
.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown > *:nth-child(7) { transition-delay: 0.23s; }
.tcn li.tcn-item.has-dropdown:hover > .tcn-dropdown > *:nth-child(8) { transition-delay: 0.26s; }

.tcn .tcn-dd-label {
  display: block;
  padding: 10px 12px 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--tcn-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.tcn a.tcn-dd-link {
  display: block;
  padding: 11px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--tcn-text);
  border-radius: 10px;
  transition: all 0.25s var(--tcn-ease);
  position: relative;
  overflow: hidden;
}

.tcn a.tcn-dd-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--tcn-hover-bg);
  transform: translateX(-100%);
  transition: transform 0.35s var(--tcn-ease);
  border-radius: 10px;
  z-index: -1;
}

.tcn a.tcn-dd-link:hover::before {
  transform: translateX(0);
}

.tcn a.tcn-dd-link:hover {
  color: var(--tcn-accent);
  transform: translateX(4px);
}

.tcn .tcn-dd-divider {
  height: 1px;
  margin: 6px 12px;
  background: var(--tcn-border);
}

/* Kleine Dropdowns (Events, Über uns) */
.tcn .tcn-dropdown.tcn-dropdown-small {
  min-width: 220px;
}

/* Quiz Highlight */
.tcn a.tcn-dd-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 4px 4px;
  padding: 13px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--tcn-accent) 0%, var(--tcn-accent-light) 100%);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--tcn-ease);
}

.tcn a.tcn-dd-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.tcn a.tcn-dd-highlight:hover::before {
  left: 100%;
}

.tcn a.tcn-dd-highlight:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px var(--tcn-accent-glow);
}

.tcn .tcn-quiz-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ============================================
   ACTIONS (Theme + CTA)
   ============================================ */
.tcn .tcn-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Theme Toggle */
.tcn button.tcn-theme-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tcn-hover-bg);
  border: 1px solid var(--tcn-border);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--tcn-ease);
}

.tcn button.tcn-theme-btn:hover {
  background: var(--tcn-accent);
  border-color: var(--tcn-accent);
}

.tcn button.tcn-theme-btn:hover .tcn-icon {
  stroke: #fff;
}

.tcn .tcn-icon {
  width: 20px;
  height: 20px;
  stroke: var(--tcn-text);
  stroke-width: 2;
  fill: none;
  transition: all 0.4s var(--tcn-ease);
  position: absolute;
}

.tcn .tcn-icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.tcn .tcn-icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .tcn .tcn-icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .tcn .tcn-icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tcn .tcn-icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
  }
  :root:not([data-theme="light"]) .tcn .tcn-icon-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

/* CTA Button */
.tcn a.tcn-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--tcn-accent), var(--tcn-accent-light), var(--tcn-accent));
  background-size: 200% 200%;
  animation: tcn-gradient 5s ease infinite;
  box-shadow: 0 4px 16px var(--tcn-accent-glow);
  transition: all 0.4s var(--tcn-ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

@keyframes tcn-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tcn a.tcn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.tcn a.tcn-cta:hover::before {
  left: 100%;
}

.tcn a.tcn-cta:hover {
  box-shadow: 0 8px 28px var(--tcn-accent-glow);
}

.tcn .tcn-cta-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ============================================
   MOBILE TOGGLE (Default hidden)
   ============================================ */
.tcn button.tcn-mobile-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.tcn .tcn-burger {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.tcn .tcn-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tcn-text);
  border-radius: 2px;
  transition: all 0.4s var(--tcn-ease);
  transform-origin: center;
}

.tcn button.tcn-mobile-btn.active .tcn-burger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.tcn button.tcn-mobile-btn.active .tcn-burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.tcn button.tcn-mobile-btn.active .tcn-burger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile CTA - Default hidden */
.tcn li.tcn-mobile-cta {
  display: none;
}

/* ============================================
   TABLET (769px - 1024px)
   Kompakte horizontale Navigation
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  nav.tcn {
    padding: 10px 16px;
  }

  .tcn .tcn-inner {
    padding: 0 16px;
    height: 56px;
    gap: 12px;
  }

  .tcn .tcn-logo img {
    height: 36px;
  }

  /* Kleinere Abstände und Schrift */
  .tcn ul.tcn-menu {
    gap: 0;
  }

  .tcn a.tcn-link {
    padding: 8px 10px;
    font-size: 13px;
    gap: 4px;
  }

  .tcn a.tcn-link::after {
    left: 10px;
    right: 10px;
    bottom: 4px;
  }

  .tcn .tcn-arrow {
    width: 8px;
    height: 8px;
  }

  /* Dropdown anpassen */
  .tcn .tcn-dropdown {
    min-width: 240px;
    padding: 6px;
  }

  .tcn a.tcn-dd-link {
    padding: 10px;
    font-size: 13px;
  }

  .tcn .tcn-dd-label {
    padding: 8px 10px 4px;
    font-size: 9px;
  }

  .tcn a.tcn-dd-highlight {
    padding: 11px 12px;
    font-size: 13px;
    margin: 4px 3px 3px;
  }

  /* CTA Button kleiner */
  .tcn a.tcn-cta {
    padding: 9px 14px;
    font-size: 13px;
    gap: 6px;
  }

  .tcn .tcn-cta-icon {
    width: 14px;
    height: 14px;
  }

  /* Theme Button kleiner */
  .tcn button.tcn-theme-btn {
    width: 36px;
    height: 36px;
  }

  .tcn .tcn-icon {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   MOBILE (<=768px)
   Hamburger-Menü, vollflächig
   ============================================ */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  nav.tcn {
    padding: 10px 14px;
  }

  .tcn .tcn-inner {
    padding: 0 14px;
    height: 52px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--tcn-bg-solid);
  }

  .tcn .tcn-logo img {
    height: 36px;
  }

  /* Desktop CTA ausblenden, Hamburger zeigen */
  .tcn a.tcn-cta {
    display: none;
  }

  .tcn button.tcn-mobile-btn {
    display: flex;
  }

  /* Menü als Overlay */
  .tcn ul.tcn-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 14px;
    right: 14px;
    bottom: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    background: var(--tcn-bg-solid);
    border: 1px solid var(--tcn-border);
    border-radius: 20px;
    box-shadow: var(--tcn-dropdown-shadow);
    overflow-y: auto;
    z-index: 999998;
  }

  .tcn ul.tcn-menu.active {
    display: flex;
  }

  /* Menü-Items vertikal, volle Breite */
  .tcn li.tcn-item {
    width: 100%;
    display: block;
    position: relative;
  }

  .tcn a.tcn-link {
    display: flex;
    width: 100%;
    padding: 16px 0;
    font-size: 17px;
    border-radius: 0;
    border-bottom: 1px solid var(--tcn-border);
    white-space: normal;
  }

  .tcn a.tcn-link::after {
    display: none;
  }

  .tcn li.tcn-item.has-dropdown > a.tcn-link {
    justify-content: space-between;
  }

  /* Dropdown als Akkordeon - MOBILE FULL RESET */
  .tcn .tcn-dropdown {
    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 0 16px !important;
    margin: 0 !important;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: max-height 0.4s var(--tcn-ease);
  }

  .tcn .tcn-dropdown::before {
    display: none !important;
    content: none !important;
  }

  .tcn li.tcn-item.has-dropdown.open > .tcn-dropdown {
    max-height: 1000px;
    overflow: visible !important;
  }

  .tcn li.tcn-item.has-dropdown.open > a.tcn-link .tcn-arrow {
    transform: rotate(180deg);
  }

  /* MOBILE: Dropdown-Elemente komplett zurücksetzen */
  .tcn .tcn-dropdown > *,
  .tcn .tcn-dropdown span,
  .tcn .tcn-dropdown a {
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    transition: none !important;
    transition-delay: 0s !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .tcn .tcn-dd-label {
    display: block !important;
    width: 100% !important;
    font-size: 12px !important;
    padding: 14px 0 6px !important;
    padding-left: 0 !important;
    margin: 0 !important;
    color: var(--tcn-accent) !important;
    letter-spacing: 1px;
    text-align: left !important;
    position: static !important;
    transform: none !important;
    text-indent: 0 !important;
  }

  .tcn a.tcn-dd-link {
    display: block !important;
    width: 100% !important;
    padding: 14px 0 !important;
    padding-left: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-size: 16px !important;
    border-bottom: 1px solid var(--tcn-border) !important;
    text-align: left !important;
    position: static !important;
    transform: none !important;
    text-indent: 0 !important;
    color: var(--tcn-text) !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .tcn a.tcn-dd-link::before {
    display: none !important;
    content: none !important;
  }

  .tcn a.tcn-dd-link:hover {
    transform: none !important;
    color: var(--tcn-accent) !important;
  }

  .tcn .tcn-dd-divider {
    margin: 4px 0 !important;
    display: block !important;
    width: 100% !important;
  }

  .tcn a.tcn-dd-highlight {
    display: flex !important;
    margin: 16px 0 !important;
    padding: 14px !important;
    padding-left: 14px !important;
    font-size: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    transform: none !important;
    text-indent: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* Mobile CTA unten */
  .tcn li.tcn-mobile-cta {
    display: block;
    margin-top: auto;
    padding-top: 20px;
  }

  .tcn li.tcn-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tcn-accent), var(--tcn-accent-light));
    box-shadow: 0 6px 20px var(--tcn-accent-glow);
  }
}

/* ============================================
   SMALL MOBILE (<=380px)
   Extra kompakt
   ============================================ */
@media (max-width: 380px) {
  body {
    padding-top: 64px;
  }

  nav.tcn {
    padding: 8px 10px;
  }

  .tcn .tcn-inner {
    padding: 0 10px;
    height: 48px;
  }

  .tcn .tcn-logo img {
    height: 32px;
  }

  .tcn button.tcn-theme-btn {
    width: 34px;
    height: 34px;
  }

  .tcn .tcn-icon {
    width: 16px;
    height: 16px;
  }

  .tcn ul.tcn-menu {
    top: 64px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 16px;
  }

  .tcn a.tcn-link {
    padding: 14px 0;
    font-size: 16px;
  }

  .tcn a.tcn-dd-link {
    padding: 12px 0;
    font-size: 15px;
  }
}

/* ============================================
   MOBILE DROPDOWN FIX - FINAL OVERRIDE
   Garantiert keine abgeschnittenen Texte
   ============================================ */
@media screen and (max-width: 768px) {
  /* Reset all transforms and positioning */
  nav.tcn .tcn-item.has-dropdown .tcn-dropdown,
  nav.tcn .tcn-dropdown.tcn-dropdown-small,
  .tcn .tcn-dropdown {
    position: static !important;
    transform: none !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  /* All dropdown children - no transforms, no clipping */
  nav.tcn .tcn-dropdown span.tcn-dd-label,
  nav.tcn .tcn-dropdown a.tcn-dd-link,
  nav.tcn .tcn-dropdown a.tcn-dd-highlight,
  .tcn .tcn-dd-label,
  .tcn .tcn-dd-link,
  .tcn .tcn-dd-highlight {
    position: static !important;
    transform: none !important;
    left: 0 !important;
    right: auto !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    overflow: visible !important;
    clip: auto !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
  }

  /* Ensure highlight button has proper padding */
  nav.tcn .tcn-dropdown a.tcn-dd-highlight,
  .tcn a.tcn-dd-highlight {
    display: flex !important;
    padding: 14px !important;
  }
}
